Summary of the invention
In place of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of PG motor runing adjustment method and regulation system, it is intended to solve existing PG motor control algorithms and cannot adapt to different loads, after changing load, need to redefine regulated quantity, the problem wasted time and energy.
In order to achieve the above object, this invention takes techniques below scheme:
A kind of PG motor runing adjustment method, wherein, described method includes:
Gather the current rotating speed of PG motor and obtain the rotating speed of target preset;
Calculate the first difference between described current rotating speed and rotating speed of target;
According to described first difference and the operation trend of PG motor, determine the regulation parameter in the current adjustment cycle;
Perform and store the regulation parameter in the current adjustment cycle;
The operation trend of described PG motor includes deviateing rotating speed of target and two kinds of operation trends of approaching rotating speed of target;Described operation trend calculates obtain according to the upper one regulation parameter adjusting the cycle and the current regulation parameter adjusting the cycle.
Described PG motor runing adjustment method, wherein, described regulation parameter includes: regulated quantity and regulation direction;
Described regulation direction includes improving rotating speed, reducing rotating speed and keep rotating speed three kinds regulation direction.
Described PG motor runing adjustment method, wherein, described collection PG motor current rotating speed and obtain preset rotating speed of target step after, described method also includes:
Judge the regulation direction in a current rotating speed adjustment cycle upper higher than rotating speed of target reading;
Read in the upper adjustment cycle, PG motor speed and the first difference of rotating speed of target;
Calculate the difference between the first difference between current rotating speed and the rotating speed of target in two adjacent adjustment cycles as the second difference;
Adjusting first difference in cycle, the regulated quantity in a upper adjustment cycle and regulation direction according to described upper one, the first difference and the current adjustment cycle in current adjustment cycle judge the operation trend of PG motor with upper one the second difference adjusting the cycle.
Described PG motor runing adjustment method, wherein, described method also includes:
When upper one adjusts first difference in cycle less than or equal to current the first difference adjusting the cycle, it is judged that the operation trend of described PG motor is deviation rotating speed of target;
When upper one adjusts first difference in cycle more than current the first difference adjusting the cycle, it is judged that the operation trend of described PG motor is approaching rotating speed of target.
Described PG motor runing adjustment method, wherein, described according to described difference and the operation trend of PG motor, determine that the step of the regulation parameter in the current adjustment cycle specifically includes:
When operation trend is for deviation rotating speed of target, again based on current the first difference adjusting the cycle, obtain regulated quantity according to the regulation direction calculating that upper adjusts the cycle.
Described PG motor runing adjustment method, wherein, described according to described difference and the operation trend of PG motor, determine that the step of the regulation parameter in the current adjustment cycle specifically includes:
When operation trend is approaching rotating speed of target, if upper one operation trend adjusting the cycle is deviation rotating speed of target, maintain regulated quantity constant in the current adjustment cycle.
Described PG motor runing adjustment method, wherein, described according to described difference and the operation trend of PG motor, determine that the step of the regulation parameter in the current adjustment cycle specifically includes:
When operation trend is approaching rotating speed of target, if upper one operation trend adjusting the cycle is approaching rotating speed of target, adjusts second difference in cycle according to the current adjustment cycle with upper one and motor is adjusted back or reduces regulated quantity.
A kind of PG motor runing adjustment system, wherein, described system includes:
Rotating speed acquisition module, for gathering the current rotating speed of PG motor and obtaining the rotating speed of target preset;
Rotating speed computing module, for calculating the first difference between described current rotating speed and rotating speed of target;
Regulation parameter calculating module, for according to described first difference and the operation trend of PG motor, determines the regulation parameter in the current adjustment cycle;
Output module, for performing and storing the regulation parameter in the current adjustment cycle;
Wherein, the operation trend of described PG motor includes deviateing rotating speed of target and two kinds of operation trends of approaching rotating speed of target;Described operation trend calculates obtain according to the upper one regulation parameter adjusting the cycle and the current regulation parameter adjusting the cycle.
Described PG motor runing adjustment system, wherein, described regulation parameter includes: regulated quantity and regulation direction;
Described regulation direction includes improving rotating speed, reducing rotating speed and keep rotating speed three kinds regulation direction.
Described PG motor runing adjustment system, wherein, described system also includes:
Rotating speed trend computing module, the difference between the first difference between current rotating speed and the rotating speed of target calculating two adjacent adjustment cycles is as the second difference;
Described rotating speed acquisition module is additionally operable to, it is judged that the regulation direction in a current rotating speed adjustment cycle upper higher than rotating speed of target reading;
Described regulation parameter calculating module is additionally operable to, and reads in the upper adjustment cycle, PG motor speed and the first difference of rotating speed of target;
And adjusting first difference in cycle, the regulated quantity in a upper adjustment cycle and regulation direction according to described upper one, the first difference and the current adjustment cycle in current adjustment cycle judge the operation trend of PG motor with upper one the second difference adjusting the cycle.
Described PG motor runing adjustment system, wherein, described rotating speed trend computing module specifically for:
When upper one adjusts first difference in cycle less than or equal to current the first difference adjusting the cycle, it is judged that the operation trend of described PG motor is deviation rotating speed of target;
When upper one adjusts first difference in cycle more than current the first difference adjusting the cycle, it is judged that the operation trend of described PG motor is approaching rotating speed of target.
Described PG motor runing adjustment system, wherein, described regulation parameter calculating module specifically for:
When operation trend is for deviation rotating speed of target, again based on current the first difference adjusting the cycle, obtain regulated quantity according to the regulation direction calculating that upper adjusts the cycle.
Described PG motor runing adjustment system, wherein, described regulation parameter calculating module specifically for:
When operation trend is approaching rotating speed of target, if upper one operation trend adjusting the cycle is deviation rotating speed of target, maintain regulated quantity constant in the current adjustment cycle.
Described PG motor runing adjustment system, wherein, described regulation parameter calculating module specifically for:
When operation trend is approaching rotating speed of target, if upper one operation trend adjusting the cycle is approaching rotating speed of target, adjusts second difference in cycle according to the current adjustment cycle with upper one and motor is adjusted back or reduces regulated quantity.
Beneficial effect: a kind of PG motor runing adjustment method that the present invention provides and regulation system, motor operation trend is divided into different situations, different situations is needed to enter different regulations, adaptive function is realized according to the adjustment parameter that upper adjusts the cycle, change after loading also without re-starting regulation, rotating speed can not only be solved and because load change, the problem of instability occurs, and the suitability is strong, substantially need not retest parameter after changing load, there is good versatility.
Detailed description of the invention
The present invention provides a kind of PG motor runing adjustment method and regulation system.For making the purpose of the present invention, technical scheme and effect clearer, clear and definite, the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As it is shown in figure 1, a kind of PG motor runing adjustment method being embodied as the present invention.The rotating speed that described PG motor refers to motor is controlled by the silicon controlled angle of flow rather than is controlled by relay.In motor runing adjustment, it is to use periodic adjustment strategy, that is the difference between predetermined refresh time, rotating speed and the rotating speed of target of detection PG motor, thus be adjusted.Thus, regulation process is made up of a series of adjustment actions repeated, and is described below as a example by an adjustment cycle.
Described method comprises the steps:
The rotating speed of target Tspeed that S100, the current rotating speed Cspeed gathering PG motor and acquisition are preset.
S200, the first difference DELTA S calculated between described current rotating speed Cspeed and rotating speed of target Tspeed, which represent the trend of change.That is, the first difference DELTA S=current rotating speed Cspeed-rotating speed of target Tspeed.
S300, according to described first difference and the operation trend of PG motor, determine regulation parameter M in the current adjustment cycle.
After the operation trend of described PG motor refers to the last adjustment of distance, the variation tendency of the difference between current PG motor speed and rotating speed of target.Difference between the two is to accelerate the states such as expansion/reduction that expand/reduce or slow down.It can include deviateing rotating speed of target and two kinds of operation trends of approaching rotating speed of target.Described operation trend is to calculate obtain according to the upper one regulation parameter adjusting the cycle and the current regulation parameter adjusting the cycle, it is judged that belong to any operation trend.Concrete, when upper one adjusts first difference in cycle less than or equal to current the first difference adjusting the cycle, it is judged that the operation trend of (thinking) described PG motor is deviation rotating speed of target;When upper one adjusts first difference in cycle more than current the first difference adjusting the cycle, it is judged that the operation trend of (thinking) described PG motor is approaching rotating speed of target.
Above-mentioned regulative mode is the self study based on the above one adjustment parameter adjusting the cycle, adaptive process.It predicts rotation speed change in advance according to rotation speed change trend and adjustment state, it is adjusted in advance, have employed readjustment and on the basis of original regulated quantity, be amplified the control method reduced, rather than being adjusted by rotating speed difference attachment coefficient simply, it is to avoid rotating speed accumulative overshoot condition of regulated quantity in change procedure.
S400, perform and store the regulation parameter in the current adjustment cycle.Adjust the cycle subsequently into the next one, repeat above-mentioned steps to realize the stable operation of PG motor.
Concrete, described regulation parameter may include that regulated quantity and regulation direction.Described regulation direction D includes improving rotating speed Up, reducing rotating speed Down and keep rotating speed Keep tri-kinds to regulate direction.Described regulated quantity refers to the degree of regulation, for scalar, does not has direction.
The above-mentioned setting that regulation direction and regulated quantity re-use the input parameter as regulated quantity, breaches the most simple restriction of the input parameter for regulating with rotating speed difference and adjustment factor, has good adaptability and versatility.
In a particular embodiment of the present invention, after step sloo, described method can also comprise the steps:
First, it is determined that whether current rotating speed is higher than rotating speed of target, when current rotating speed is higher than rotating speed of target, described first difference is forward, and when current rotating speed is less than rotating speed of target, described first difference is reverse;
Then, the upper one regulation direction adjusting the cycle is read.Further, read in the upper adjustment cycle, PG motor speed and the first difference Old Δ S of rotating speed of target.
Finally, calculate the difference between the first difference between current rotating speed and the rotating speed of target in two adjacent adjustment cycles as the second difference DELTA Δ S, which represent pace of change trend (i.e. Δ Δ S=| Old Δ S-Δ S |)
Adjusting first difference in cycle, the regulated quantity in a upper adjustment cycle and regulation direction according to described upper one, the first difference and the current adjustment cycle in current adjustment cycle judge the operation trend of PG motor with upper one the second difference adjusting the cycle.In other words, the first difference Old Δ S in an above-mentioned upper cycle, the second difference DELTA Δ S(or upper one adjust the second difference old Δ Δ S in cycle), the parameters such as upper one regulated quantity adjusting the cycle and regulation direction are used to judge the operation trend of PG motor, adjustment parameter is determined, it is achieved self-adaptative adjustment for the current adjustment cycle.
Such as, in the case of deviation rotating speed of target (i.e. Δ S > Old Δ S), can be again using rotating speed difference DELTA S as with reference to being adjusted, regulated quantity M determines according to the upper one regulation direction D adjusting the cycle.That is, when operation trend is for deviation rotating speed of target, again based on current the first difference adjusting the cycle, regulated quantity is obtained according to the regulation direction calculating that upper adjusts the cycle.
When described regulation direction D is for keeping Keep, then there is regulated quantity M=(Δ S > > j)+n (us).
When described regulation direction D is for improving rotating speed Up or reducing rotating speed Down, then there is regulated quantity M=(Δ S < < m)+n (us).
Wherein, us is regulated quantity unit, is determined according to practical situation, and j, n, m are the regulation parameter during regulation, is adjusted adjustment algorithm according to actual operation and motor conditions for technical staff.Wherein, the value of j is between 1-7, and the value of n is between 0-9, and the value of m is between 1-5.
And within this adjustment cycle, when operation trend is approaching rotating speed of target (i.e. Δ S < Old Δ S), if upper one adjusts the situation that the cycle is also approaching rotating speed of target, then can adjust the second difference Old Δ Δ S in cycle according to current the second difference DELTA Δ S adjusting the cycle with upper one and regulated quantity is adjusted back or reduces regulated quantity.
When operation trend is approaching rotating speed of target, if upper one operation trend adjusting the cycle is deviation rotating speed of target, then within this adjustment cycle (currently adjusting the cycle), maintain regulated quantity constant.
In motor actual moving process, may there is following rotation speed change situation, according to above-mentioned control method, the regulative mode for corresponding actual speed situation of change is respectively as follows:
Current rotating speed approaches rotating speed of target (that is, operation trend is approaching rotating speed of target), and velocity of approch is accelerated, but when rotating speed of target also has, reduces regulated quantity.
And currently rotating speed approaches rotating speed of target, and velocity of approch is accelerated, and when basically reaching rotating speed of target, reversely regulates, it is to avoid cross punching.
Current rotating speed approaches rotating speed of target, but velocity of approch is relatively slow, uses less regulated quantity to adjust to rotating speed of target when rotating speed of target also has.
Current rotating speed approaches rotating speed of target, and velocity of approch is stable, from rotating speed of target farther out time, improve the regulated quantity unit of several times.
Current rotating speed approaches rotating speed of target, and velocity of approch is stable, and time close to rotating speed of target, regulated quantity keeps constant.
Current offspeed rotating speed of target, and deviation speed accelerates, from rotating speed of target farther out time, strengthen regulated quantity, double to adjust.
Current offspeed rotating speed of target, and deviation speed quickening, strengthen regulated quantity time close to rotating speed of target.
Current offspeed rotating speed of target, deviation is relatively slow, from rotating speed of target farther out time strengthen regulated quantity.
Current offspeed rotating speed of target, and be that deviation strengthens regulated quantity suddenly.
Current offspeed rotating speed of target, and be that persistently deviation strengthens regulated quantity.
Current rotating speed maintains near rotating speed of target, maintains rotating speed, does not adjusts (Keep).
Current rotating speed, when rotating speed of target remotely maintains, strengthens regulated quantity, doubles to adjust.
As shown in Figures 2 and 3, for the PG motor runing adjustment method of the present invention flow chart of actual motion example in the case of load change.
A1, judge that current rotating speed, whether less than rotating speed of target, if so, performs step A2, if it is not, perform step B1 as shown in Figure 3.
A2, determine whether approaching rotating speed of target.If being carried out step A3, if it is not, perform step A4.
A3, judge whether rotation speed change is accelerated and rotating speed difference is whether more than predetermined threshold value, if two conditions are the most satisfied, performs step A5.If rotation speed change is slack-off, perform step A6.
A4, the first difference making regulated quantity M=currently adjust the cycle are moved to the left the unit regulated quantity (i.e. m+2us) of predefined parameter amount and twice.
A5, making regulated quantity M drop n-fold lower on the basis of upper one regulated quantity adjusting the cycle and plus a unit regulated quantity, direction is reduction rotating speed (Down).
A6, judge that rotating speed difference, whether more than predetermined threshold value, if so, performs step A7, performs step A8 if not.
A7, making regulated quantity M drop n-fold lower on the basis of upper one regulated quantity adjusting the cycle and plus a unit regulated quantity, direction is raising rotating speed (Up).
A8, holding do not adjust (Keep).
Wherein, the value of described predetermined threshold value k is between 5-30;The value of m is between 1-5, and the value of n is between 1-5.
B1, determine whether approaching rotating speed of target.If being carried out step B2, if it is not, perform step B3.
B2, judge whether rotation speed change is accelerated and rotating speed difference is whether more than predetermined threshold value, if two conditions are the most satisfied, performs step B4.If rotation speed change is slack-off, perform step B5.
B3, it is adjusted to rotating speed of target greatly.
B4, reduce rotating speed in advance.
B5, judge that rotating speed difference, whether more than predetermined threshold value k2, if so, performs step B6, performs step B7 if not.
B6, little it is adjusted to rotating speed of target.
B7, holding do not adjust (Keep).
Wherein, described predetermined threshold value k2 parameter value is between 530.
As shown in Figure 4, present invention also offers a kind of PG motor runing adjustment system.Described system includes:
Rotating speed acquisition module 100, for gathering the current rotating speed of PG motor and obtaining the rotating speed of target preset.
Rotating speed computing module 200, for calculating the first difference between described current rotating speed and rotating speed of target.
Regulation parameter calculating module 500, for according to described first difference and the operation trend of PG motor, determines the regulation parameter in the current adjustment cycle.
Output module 400, for performing and storing the regulation parameter in the current adjustment cycle.The operation trend of described PG motor includes deviateing rotating speed of target and two kinds of operation trends of approaching rotating speed of target;Described operation trend calculates obtain according to the upper one regulation parameter adjusting the cycle and the current regulation parameter adjusting the cycle.Wherein, described regulation parameter includes: regulated quantity and regulation direction, and described regulation direction includes improving rotating speed, reducing rotating speed and keep rotating speed three kinds regulation direction.
Concrete, as it is shown in figure 1, described system also includes: rotating speed trend computing module 300, the difference between the first difference between current rotating speed and the rotating speed of target calculating two adjacent adjustment cycles is as the second difference.That is, the difference between first difference in cycle is adjusted for calculating current the first difference adjusting the cycle and upper as the second difference.
Described rotating speed acquisition module 100 is additionally operable to, it is judged that the regulation direction in a current rotating speed adjustment cycle upper higher than rotating speed of target reading;Described regulation parameter calculating module 500 is additionally operable to, and reads in the upper adjustment cycle, PG motor speed and the first difference of rotating speed of target;And the first difference, the regulated quantity in a upper adjustment cycle and the regulation direction and first difference in current adjustment cycle, currently adjustment cycle according to a described upper adjustment cycle judges the operation trend of PG motor with upper one the second difference adjusting the cycle.
Further, described rotating speed trend computing module 300 specifically for:
When upper one adjusts first difference in cycle less than or equal to current the first difference adjusting the cycle, it is judged that the operation trend of described PG motor is deviation rotating speed of target;
When upper one adjusts first difference in cycle more than current the first difference adjusting the cycle, it is judged that the operation trend of described PG motor is approaching rotating speed of target.
Further, described regulation parameter calculating module 500 specifically for:
When operation trend is for deviation rotating speed of target, again based on current the first difference adjusting the cycle, obtain regulated quantity according to the regulation direction calculating that upper adjusts the cycle;
When operation trend is approaching rotating speed of target, if upper one operation trend adjusting the cycle is deviation rotating speed of target, maintain regulated quantity constant in the current adjustment cycle;
When operation trend is approaching rotating speed of target, if upper one operation trend adjusting the cycle is approaching rotating speed of target, adjusts second difference in cycle according to the current adjustment cycle with upper one and motor is adjusted back or reduces regulated quantity.
The present invention still further provides a kind of air conditioning unit.The described air conditioning unit PG motor runing adjustment system included described in example performed as described above, applies PG motor runing adjustment method as above to regulate described air conditioning unit PG motor, thus realizes the stable operation near rotating speed of target of PG motor.Owing to described air conditioning unit control method elaborates the most, do not repeat them here.
In sum, the regulated quantity using control method of the present invention to obtain is relevant with last regulation direction and last regulated quantity.Therefore, rotational speed regulation can accomplish to be automatically adjusted, then can the steady rotating speed of velocity modulation soon.And without repartitioning housing size, module can be general, it is not necessary to change according to load and change regulated quantity, effectively raise the precision that PG motor controls, decrease because changing load and the value of regulated quantity to be changed every time.
It is bigger that this control method not only efficiently solves PG motor speed deviation, the problem of fluctuation of service, and regulation scheme highly versatile, be suitable for load change, greatly reduce and need to retest the workload of parameter because of load change, have a good application prospect.
It is understood that for those of ordinary skills, can be according to technical scheme and present inventive concept in addition equivalent or change, and all these change or replace the protection domain that all should belong to appended claims of the invention.