A kind of PG motor speed regulating method based on air-conditioning, governing system and air-conditioning
Technical field
The present invention relates to air-conditioning technical field, particularly relate to a kind of PG motor speed regulating method based on air-conditioning, governing system and air-conditioning.
Background technology
Existing PG electric machine speed regulation mode many employings pid algorithm, according to fluctuation of speed situation adjustment copped wave value, adjustment amount mostly is fixed value.Wherein PG motor refers to that the rotating speed of motor is controlled by the silicon controlled angle of flow.Instead of to be controlled by relay.There are three groups of different windings its inside of common electric machine, respectively corresponding high, medium and low rotating speed.By controlling different relays, come to corresponding winding power, thus reach the object of adjustment wind speed, and PG motor only has one group of winding, is to realize the conversion of rotating speed by the supply power voltage of SCR control motor.Pid algorithm refers to and carry out in the ratio of deviation, integration and differentiation the algorithm that controls in process control.Because PG motor uses 220V alternating current, belong to sinusoidal waveform, crest place voltage is the highest, and when zero point, voltage is minimum.Fixing adjustment amount can regulate deficiency when near zero point, and it is excessive to regulate near crest place, finally shows as motor speed shakiness, thus for using the electrical equipment of PG motor to bring safety problem, even there will be noise abnormal.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
In view of the deficiencies in the prior art, the object of the invention is to provide a kind of PG motor speed regulating method based on air-conditioning, governing system and air-conditioning, and the PG motor speed being intended to solve in prior art in air-conditioning is unstable, occurs that noise is abnormal, the flimsy defect of motor.
Technical scheme of the present invention is as follows:
Based on a PG motor speed regulating method for air-conditioning, wherein, method comprises;
In advance corresponding for the alternating voltage of PG motor sine wave period is equally divided into 2C part, every part is equally divided into N number of interval by area, and by the coordinate figure in voltage in N number of interval and corresponding cycle stored in array list, wherein C get 1 or 2, N be natural number;
Obtain the current rotating speed of PG motor, contrast with the rotating speed of target preset, calculate the rotating speed difference of current rotating speed and rotating speed of target;
Obtain corresponding coordinate figure according to the current rotating speed of PG motor, according to rotating speed difference, obtain the regulated quantity of coordinate figure, the voltage data current rotating speed to PG motor corresponding according to the coordinate figure after adjustment adjusts.
The described PG motor speed regulating method based on air-conditioning, wherein, describedly in advance corresponding for the alternating voltage of PG motor sine wave period is equally divided into 2C part, every part is equally divided into N number of interval by area, and is specifically comprised stored in array list with the coordinate figure in corresponding cycle by voltage in N number of interval:
Obtain the voltage oscillogram that cycle corresponding to the alternating voltage of PG motor is 0 ~ 2 π in advance, and voltage oscillogram is equally divided into 2C part by the cycle, wherein C gets 1 or 2, and when C gets 1, every part of corresponding scope is respectively: 0 ~ π, π ~ 2 π; When C gets 2, every part of corresponding scope is respectively: 0 ~ pi/2, pi/2 ~ π, π ~ 3 pi/2s, 3 pi/2 ~ 2 π;
Every part of corresponding waveform homalographic is divided into N number of interval, and by the coordinate figure in voltage in N number of interval and corresponding cycle stored in array list, wherein N is natural number.
The described PG motor speed regulating method based on air-conditioning, wherein, the described coordinate figure obtaining correspondence according to the current rotating speed of PG motor, according to rotating speed difference, obtain the regulated quantity of coordinate figure, the voltage data current rotating speed to PG motor corresponding according to the coordinate figure after adjustment adjusts and specifically comprises:
The current copped wave value needing in daemon software program to adjust is obtained according to current rotating speed;
First voltage corresponding with searching current copped wave value in the corresponding relation of voltage according to the copped wave value prestored, obtains the first corresponding transverse axis coordinate figure according to the first voltage;
Chopper regulation amount is obtained according to rotating speed difference, the second voltage that the copped wave value that prestores is corresponding with searching chopper regulation amount in the corresponding relation of voltage is searched according to chopper regulation amount, corresponding transverse axis coordinate figure regulated quantity is obtained according to voltage, obtain the second transverse axis coordinate figure after regulating according to transverse axis coordinate regulated quantity and the first transverse axis coordinate figure, according to the second transverse axis coordinate figure after regulating, PG motor speed is regulated.
The described PG motor speed regulating method based on air-conditioning, wherein, describedly obtains the second transverse axis coordinate figure after regulating according to transverse axis coordinate regulated quantity and the first transverse axis coordinate figure and specifically comprises:
Judge the current rotating speed of PG motor and the size of rotating speed of target preset;
If the current rotating speed of PG motor is greater than the rotating speed of target preset, then the second transverse axis coordinate figure after the first transverse axis coordinate figure being adjustment to right translation transverse axis coordinate regulated quantity;
If the current rotating speed of PG motor is less than the rotating speed of target preset, then the second transverse axis coordinate figure after the first transverse axis coordinate figure being adjustment to left transverse axis coordinate regulated quantity.
Based on a PG motor speed regulation system for air-conditioning, wherein, system comprises:
Divide module in advance, for in advance corresponding for the alternating voltage of PG motor sine wave period being equally divided into 2C part, every part is equally divided into N number of interval by area, and by the coordinate figure in voltage in N number of interval and corresponding cycle stored in array list, wherein C get 1 or 2, N be natural number;
Obtain and computing module, for obtaining the current rotating speed of PG motor, contrasting with the rotating speed of target preset, calculating the rotating speed difference of current rotating speed and rotating speed of target;
Adjustment of rotational speed module, for obtaining corresponding coordinate figure according to the current rotating speed of PG motor, according to rotating speed difference, obtains the regulated quantity of coordinate figure, and the voltage data current rotating speed to PG motor corresponding according to the coordinate figure after adjustment adjusts.
The described PG motor speed regulation system based on air-conditioning, wherein, the described module that divides in advance specifically comprises:
First division unit, the cycle that the alternating voltage for obtaining PG motor is in advance corresponding is the voltage oscillogram of 0 ~ 2 π, and voltage oscillogram is equally divided into 2C part by the cycle, and wherein C gets 1 or 2, and when C gets 1, every part of corresponding scope is respectively: 0 ~ π, π ~ 2 π; When C gets 2, every part of corresponding scope is respectively: 0 ~ pi/2, pi/2 ~ π, π ~ 3 pi/2s, 3 pi/2 ~ 2 π;
Second division unit, for every part of corresponding waveform homalographic is divided into N number of interval, and by the coordinate figure in voltage in N number of interval and corresponding cycle stored in array list, wherein N is natural number.
The described PG motor speed regulation system based on air-conditioning, wherein, described adjustment of rotational speed module specifically comprises:
Computing unit, for obtaining the current copped wave value needing in daemon software program to adjust according to current rotating speed;
Coordinate figure acquiring unit, for first voltage corresponding with searching current copped wave value in the corresponding relation of voltage according to the copped wave value prestored, obtains the first corresponding transverse axis coordinate figure according to the first voltage;
Regulon, for obtaining chopper regulation amount according to rotating speed difference, the second voltage that the copped wave value that prestores is corresponding with searching chopper regulation amount in the corresponding relation of voltage is searched according to chopper regulation amount, corresponding transverse axis coordinate figure regulated quantity is obtained according to voltage, obtain the second transverse axis coordinate figure after regulating according to transverse axis coordinate regulated quantity and the first transverse axis coordinate figure, according to the second transverse axis coordinate figure after regulating, PG motor speed is regulated.
The described PG motor speed regulation system based on air-conditioning, wherein, also comprises in described regulon:
Judging unit, for judging the current rotating speed of PG motor and the size of rotating speed of target preset;
First translation unit, if be greater than for the current rotating speed of PG motor the rotating speed of target preset, then the second transverse axis coordinate figure after the first transverse axis coordinate figure being adjustment to right translation transverse axis coordinate regulated quantity;
Second translation unit, if be less than for the current rotating speed of PG motor the rotating speed of target preset, then the second transverse axis coordinate figure after the first transverse axis coordinate figure being adjustment to left transverse axis coordinate regulated quantity.
A kind of air-conditioning, wherein, comprises the PG motor speed regulation system based on air-conditioning as above described in any one.
The invention provides a kind of PG motor speed regulating method based on air-conditioning, governing system and air-conditioning; the adjusting velocity by voltage modes such as employing of the present invention; rotational speed regulation is more stable, reduces the probability that noise exception because the fluctuation of speed causes or property abnormality occur, extends the useful life of PG motor.
Accompanying drawing explanation
Fig. 1 is the flow chart of the preferred embodiment of a kind of PG motor speed regulating method based on air-conditioning in the present invention;
Fig. 2 is the interval division schematic diagram of the voltage oscillogram of the one-period that the alternating voltage of the PG motor of the embody rule embodiment of a kind of PG motor speed regulating method based on air-conditioning in the present invention is corresponding;
Fig. 3 is the design sketch to the adjustment of PG motor speed in prior art;
Fig. 4 is the design sketch to the adjustment of PG motor speed of the embody rule embodiment of a kind of PG motor speed regulating method based on air-conditioning in the present invention;
Fig. 5 is be a kind of transverse axis coordinate figure of embody rule embodiment calculation flow chart of a kind of PG motor speed regulating method based on air-conditioning in the present invention;
Fig. 6 is the flow chart of the PG motor speed regulating method of the embody rule embodiment of a kind of PG motor speed regulating method based on air-conditioning in the present invention;
Fig. 7 is the functional schematic block diagram of the preferred embodiment of a kind of PG motor speed regulation system based on air-conditioning of the present invention;
Fig. 8 is the hardware elementary diagram of the specific embodiment of a kind of PG motor speed regulation system based on air-conditioning of the present invention.
Embodiment
For making object of the present invention, technical scheme and effect clearly, clearly, the present invention is described in more detail below.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Present invention also offers a kind of flow chart of preferred embodiment of the PG motor speed regulating method based on air-conditioning, as shown in Figure 1, wherein, method comprises:
Step S100, in advance corresponding for the alternating voltage of PG motor sine wave period is equally divided into 2C part, every part is equally divided into N number of interval by area, and by the coordinate figure in voltage in N number of interval and corresponding cycle stored in array list.
Particularly, the 220V alternating current that existing air-conditioned PG motor uses, belong to sinusoidal waveform, crest place voltage is the highest, and when zero point, voltage is minimum.Simultaneously sine wave has symmetry, and the centrosymmetric image that sine wave is is symmetrical centre with (k π, 0), symmetry axis is (k π+pi/2), and wherein k is integer.The embodiment of the present invention, only analyzes for a sine wave period.A sine wave period is equally divided into 2C part by the cycle, every part by being equally divided into N number of interval, wherein C get 1 or 2, N be natural number.C is preferably 2.And by origin coordinates in interval each in N number of interval and the respective value of voltage stored in an array list.
During concrete enforcement, described step S100 specifically comprises:
Step S101, obtain the voltage oscillogram that cycle corresponding to the alternating voltage of PG motor is 0 ~ 2 π in advance, and voltage oscillogram is equally divided into 2C part by the cycle, wherein C gets 1 or 2, and when C gets 1, every part of corresponding scope is respectively: 0 ~ π, π ~ 2 π; When C gets 2, every part of corresponding scope is respectively: 0 ~ pi/2, pi/2 ~ π, π ~ 3 pi/2s, 3 pi/2 ~ 2 π;
Step S102, every part of corresponding waveform homalographic is divided into N number of interval, and by the coordinate figure in voltage in N number of interval and corresponding cycle stored in array list.
During concrete enforcement, be illustrated in figure 2 the interval division schematic diagram of the voltage oscillogram of one-period corresponding to the alternating voltage of the PG motor of the embody rule embodiment of a kind of PG motor speed regulating method based on air-conditioning in the present invention, wherein, abscissa is the cycle of voltage, ordinate is alternating current voltage, wherein the positive and negative semiaxis of voltage only represents that the direction of voltage is different, is not positive and negative.Preferential, when C is 2, be equally divided into 4 parts by voltage oscillogram in figure, every part of corresponding cycle is respectively 0 ~ pi/2, pi/2 ~ π, π ~ 3 pi/2s, 3 pi/2 ~ 2 π, are divided into N number of interval by the waveform homalographic of correspondence, and by the coordinate figure in voltage in N number of interval and corresponding cycle stored in array list.Array list can be designated as in array figure the division schematic diagram only gived between 0 ~ pi/2, other interval omissions.
Step S200, the current rotating speed of acquisition PG motor, contrast with the rotating speed of target preset, calculate the rotating speed difference of current rotating speed and rotating speed of target.
During concrete enforcement, in PG motor Background control program, preset the rotating speed of target M0 that PG motor runs, when the PG motor of air-conditioning runs, obtain the current rotating speed M1 of PG motor, and compare with motor rotating speed of target M0, draw rotating speed difference △ M=|M1-M0|.
Step S300, the coordinate figure corresponding according to the acquisition of PG motor current rotating speed, according to rotating speed difference, obtain the regulated quantity of coordinate figure, the voltage data current rotating speed to PG motor corresponding according to the coordinate figure after adjustment adjusts.
During concrete enforcement, according to the adjusted value of software program corresponding to the current rotating speed of PG motor, and according to the corresponding relation of the adjusted value prestored with voltage, thus obtain coordinate figure corresponding to current rotating speed, according to rotating speed difference, obtain the regulated quantity of coordinate figure, current coordinate figure is adjusted, obtain the adjusted value variable quantity in software program corresponding to the voltage data after adjustment, thus the current rotating speed of PG motor is adjusted.
Particularly, described step S300 specifically comprises:
Step S301, obtain the current copped wave value needing in daemon software program to adjust according to current rotating speed;
Step S302, first voltage corresponding with searching current copped wave value in the corresponding relation of voltage according to the copped wave value prestored, obtain the first corresponding transverse axis coordinate figure according to the first voltage;
Step S303, obtain chopper regulation amount according to rotating speed difference, the second voltage that the copped wave value that prestores is corresponding with searching chopper regulation amount in the corresponding relation of voltage is searched according to chopper regulation amount, corresponding transverse axis coordinate figure regulated quantity is obtained according to voltage, obtain the second transverse axis coordinate figure after regulating according to transverse axis coordinate regulated quantity and the first transverse axis coordinate figure, according to the second transverse axis coordinate figure after regulating, PG motor speed is regulated.
During concrete enforcement, in the present invention, the adjustment of the rotating speed of PG motor is finally adjusted by the parameter value of in daemon software program, and this parameter value is called copped wave value.After the rotating speed of current PG motor being detected, obtain the current copped wave value needing in daemon software to adjust, and the corresponding relation of copped wave value and PG voltage prestores.When after acquisition copped wave value, search the first voltage that current copped wave value is corresponding, in data group, obtain the first transverse axis coordinate figure corresponding to the first voltage according to the first voltage.Chopper regulation amount is obtained according to rotating speed difference, the second voltage that the copped wave value that prestores is corresponding with searching chopper regulation amount in the corresponding relation of voltage is searched according to chopper regulation amount, corresponding transverse axis coordinate figure regulated quantity is obtained according to voltage, obtain the second transverse axis coordinate figure after regulating according to transverse axis coordinate regulated quantity and the first transverse axis coordinate figure, according to the second transverse axis coordinate figure after regulating, PG motor speed is regulated.
Wherein obtain the second transverse axis coordinate figure after regulating according to transverse axis coordinate regulated quantity and the first transverse axis coordinate figure in step S303 specifically to comprise:
Step S331, judge the current rotating speed of PG motor and the size of rotating speed of target preset;
If the current rotating speed of step S332 PG motor is greater than the rotating speed of target preset, then the second transverse axis coordinate figure after the first transverse axis coordinate figure being adjustment to right translation transverse axis coordinate regulated quantity;
If the current rotating speed of step S333 PG motor is greater than the rotating speed of target preset, then the second transverse axis coordinate figure after the first transverse axis coordinate figure being adjustment to left transverse axis coordinate regulated quantity.
During concrete enforcement, according to current rotating speed M1, determine current copped wave value T; Again according to T value, determine the x-axis coordinate figure x1 that current copped wave value is corresponding; According to rotating speed difference △ M, determine regulated quantity △ T, then determine x coordinate regulated quantity △ x according to △ T; If M1 is greater than M0, the x coordinate figure x2=x1+ △ x of up-to-date copped wave value; If M1 is less than or equal to M0, the x coordinate figure x2=x1-△ x of up-to-date copped wave value; According to up-to-date copped wave value x2, motor is regulated.
Particularly; as the design sketch that Fig. 3 is to the adjustment of PG motor speed in prior art; Fig. 4 is the design sketch to the adjustment of PG motor speed of embody rule embodiment of the present invention; adjustment mode rotational speed regulation of the present invention is more stable; speed of a motor vehicle fluctuation range is little, reduces the probability that noise exception because the fluctuation of speed causes or property abnormality occur.
Further, Fig. 5 is be a kind of transverse axis coordinate figure of embody rule embodiment calculation flow chart of a kind of PG motor speed regulating method based on air-conditioning in the present invention, and method comprises:
Step S10, beginning;
Step S11, establishment array, embody the x-axis coordinate figure in each interval;
Step S12, calculating crest value coordinate, be set to pi/2;
Step S13, judge whether current copped wave value interval is less than pi/2, if so, then perform step S14, if not, then perform step S15;
Step S14, call array, use corresponding x-axis coordinate figure;
Step S15, according to the actual requirements with known array, calculate x-axis coordinate figure, its value x=π-a, wherein a is take pi/2 as the array coordinate of symmetry axis;
Step S16, current coordinate figure is converted to copped wave value;
Step S17, end.
Present invention also offers a kind of flow chart of PG motor speed regulating method of embody rule embodiment of the PG motor speed regulating method based on air-conditioning, as shown in Figure 6, method comprises:
Step S20, beginning;
Step S21, setting motor rotating speed of target drive motors run;
Step S22, the current tachometer value of motor detected;
Step S23, judge that whether current tachometer value is higher than set point, if so, then perform step S24, if not, then perform step S25;
Step S24, current tachometer value-set point;
Step S241, determine current copped wave value T;
Step S242, determine the x-axis coordinate figure x1 that current copped wave value is corresponding;
Step S243, according to difference size determination regulated quantity △ T;
Step S244, determine x coordinate regulated quantity △ x according to △ T;
Step S245, the coordinate figure obtaining up-to-date copped wave value are x1-△ x, determine up-to-date copped wave value;
Step S25, set point-current tachometer value;
Step S251, determine current copped wave value T;
Step S252, determine the x-axis coordinate figure x1 that current copped wave value is corresponding;
Step S253, according to difference size determination regulated quantity △ T;
Step S254, determine x coordinate regulated quantity △ x according to △ T;
Step S255, the coordinate figure obtaining up-to-date copped wave value are x1+ △ x, determine up-to-date copped wave value;
Step S26, motor to be regulated;
Step S27, end.
Present invention also offers a kind of functional schematic block diagram of preferred embodiment of the PG motor speed regulation system based on air-conditioning, as shown in Figure 7, wherein, system comprises:
Divide module 100 in advance, for in advance corresponding for the alternating voltage of PG motor sine wave period being equally divided into 2C part, every part is equally divided into N number of interval by area, and by the coordinate figure in voltage in N number of interval and corresponding cycle stored in array list, wherein C get 1 or 2, N be natural number; Concrete as above described in embodiment of the method.
Obtain and computing module 200, for obtaining the current rotating speed of PG motor, contrasting with the rotating speed of target preset, calculating the rotating speed difference of current rotating speed and rotating speed of target; Concrete as above described in embodiment of the method.
Adjustment of rotational speed module 300, for obtaining corresponding coordinate figure according to the current rotating speed of PG motor, according to rotating speed difference, obtains the regulated quantity of coordinate figure, and the voltage data current rotating speed to PG motor corresponding according to the coordinate figure after adjustment adjusts; Concrete as above described in embodiment of the method.
The described PG motor speed regulation system based on air-conditioning, wherein, the described module that divides in advance specifically comprises:
First division unit, the cycle that the alternating voltage for obtaining PG motor is in advance corresponding is 0 ~ 2
voltage oscillogram, and voltage oscillogram is equally divided into 2C part by the cycle, and wherein C gets 1 or 2, and when C gets 1, every part of corresponding scope is respectively: 0 ~ π, π ~ 2 π; When C gets 2, every part of corresponding scope is respectively: 0 ~ pi/2, pi/2 ~ π, π ~ 3 pi/2s, 3 pi/2 ~ 2 π; Concrete as above described in embodiment of the method.
Second division unit, for every part of corresponding waveform homalographic is divided into N number of interval, and by the coordinate figure in voltage in N number of interval and corresponding cycle stored in array list, wherein N is natural number; Concrete as above described in embodiment of the method.
The described PG motor speed regulation system based on air-conditioning, wherein, described adjustment of rotational speed module specifically comprises:
Computing unit, for obtaining the current copped wave value needing in daemon software program to adjust according to current rotating speed; Concrete as above described in embodiment of the method.
Coordinate figure acquiring unit, for first voltage corresponding with searching current copped wave value in the corresponding relation of voltage according to the copped wave value prestored, obtains the first corresponding transverse axis coordinate figure according to the first voltage; Concrete as above described in embodiment of the method.
Regulon, for obtaining chopper regulation amount according to rotating speed difference, the second voltage that the copped wave value that prestores is corresponding with searching chopper regulation amount in the corresponding relation of voltage is searched according to chopper regulation amount, corresponding transverse axis coordinate figure regulated quantity is obtained according to voltage, obtain the second transverse axis coordinate figure after regulating according to transverse axis coordinate regulated quantity and the first transverse axis coordinate figure, according to the second transverse axis coordinate figure after regulating, PG motor speed is regulated; Concrete as above described in embodiment of the method.
The described PG motor speed regulation system based on air-conditioning, wherein, also comprises in described regulon:
Judging unit, for judging the current rotating speed of PG motor and the size of rotating speed of target preset; Concrete as above described in embodiment of the method.
First translation unit, if be greater than for the current rotating speed of PG motor the rotating speed of target preset, then the second transverse axis coordinate figure after the first transverse axis coordinate figure being adjustment to right translation transverse axis coordinate regulated quantity; Concrete as above described in embodiment of the method.
Second translation unit, if be less than for the current rotating speed of PG motor the rotating speed of target preset, then the second transverse axis coordinate figure after the first transverse axis coordinate figure being adjustment to left transverse axis coordinate regulated quantity; Concrete as above described in embodiment of the method.
Additionally provide a kind of hardware elementary diagram of specific embodiment of the PG motor speed regulation system based on air-conditioning in the present invention, as shown in Figure 8, be used on the air-conditioning of band PG motor; The zero crossing of forceful electric power is detected, for adjusting the copped wave reference point of motor speed by hardware zero crossing circuitry; Control motor by hardware circuit for controlling motor to run; The current rotating speed of motor is detected by hardware motor speed testing circuit; By the current tach signal of MCU process and the chopping signal needing control, realize closed-loop control.
Present invention also offers a kind of air-conditioning, comprise the PG motor speed regulation system based on air-conditioning above described in any one.
In sum, the invention provides a kind of PG motor speed regulating method based on air-conditioning, governing system and air-conditioning, method comprises: in advance corresponding for the rotating speed of PG motor sine wave period is equally divided into 2C part, every part is equally divided into N number of interval by area, and by N number of interval medium speed with corresponding coordinate figure stored in array list, wherein C get 1 or 2, N be natural number; Detect the current rotating speed of PG motor, contrast with the rotating speed of target preset, obtain the rotating speed difference of current rotating speed and rotating speed of target; Data query table, determines the coordinate figure that current rotating speed is corresponding, according to rotating speed difference, obtains the regulated quantity of current rotating speed, adjusts according to the current rotating speed of regulated quantity to PG motor.The adjusting velocity by voltage modes such as employing of the present invention, rotational speed regulation is more stable, reduces the probability that noise exception because the fluctuation of speed causes or property abnormality occur, extends the useful life of PG motor.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.