CN108092581B - Phase voltage detection method and device of three-phase inverter circuit, air conditioner and medium - Google Patents

Phase voltage detection method and device of three-phase inverter circuit, air conditioner and medium Download PDF

Info

Publication number
CN108092581B
CN108092581B CN201810032378.8A CN201810032378A CN108092581B CN 108092581 B CN108092581 B CN 108092581B CN 201810032378 A CN201810032378 A CN 201810032378A CN 108092581 B CN108092581 B CN 108092581B
Authority
CN
China
Prior art keywords
phase voltage
phase
load
voltage detection
deviation parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810032378.8A
Other languages
Chinese (zh)
Other versions
CN108092581A (en
Inventor
乔飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Heating and Ventilating Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Heating and Ventilating Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, GD Midea Heating and Ventilating Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201810032378.8A priority Critical patent/CN108092581B/en
Publication of CN108092581A publication Critical patent/CN108092581A/en
Application granted granted Critical
Publication of CN108092581B publication Critical patent/CN108092581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/14Estimation or adaptation of machine parameters, e.g. flux, current or voltage

Abstract

The invention provides a phase voltage detection method and device of a three-phase inverter circuit, an air conditioner and a medium, wherein the method comprises the following steps: when the power-on standby state is detected, a specified pulse width modulation signal is loaded to a three-phase inverter driving circuit, and a no-load phase voltage sampling value of any phase is determined in the loading process; and carrying out low-pass filtering operation on the sampled values of the no-load phase voltage, and determining deviation parameters for calibrating the load phase voltage of each phase. By the technical scheme of the invention, deviation parameters generated by current circuit factors can be effectively removed, the calculation amount is small, the realization is convenient, the detection accuracy of the load phase voltage is further improved, and the integral accurate control of the air conditioner is facilitated.

Description

Phase voltage detection method and device of three-phase inverter circuit, air conditioner and medium
Technical Field
The invention relates to the technical field of motor control, in particular to a phase voltage detection method of a three-phase inverter circuit, a phase voltage detection device of the three-phase inverter circuit, an air conditioner and a computer readable storage medium.
Background
Vector control algorithms are widely adopted in the field of compressor control of air conditioners, and information such as output current and output voltage of a three-phase inverter circuit is required to perform vector conversion and operation.
In the related art, output current is generally sampled and determined by using a hall sensor, a single resistor/double resistor and the like, and detection of output phase voltage is generally performed by using a PWM reconstruction method or a hardware circuit sampling method, which has the following technical defects:
(1) the PWM (Pulse Width Modulation) reconstruction is an indirect mode, the PWM reconstruction is equivalent calculation according to the turn-on time of each phase of IGBT power switch, extra hardware circuit cooperation is not needed, the calculation is simple, but certain delay and deviation exist between the equivalent calculation and the actual output phase voltage, and the accuracy is poor.
(2) The sampling mode of the hardware circuit is adopted, the sampling signal can timely and accurately reflect phase voltage, but components such as an operational amplifier and analog-to-digital conversion sampling in the sampling circuit have errors and offsets, so that the sampled phase voltage has certain offset, and if no offset calibration exists, the accuracy is poor, and the control precision and the effect of the air conditioner are influenced.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art or the related art.
Therefore, an object of the present invention is to provide a phase voltage detection method for a three-phase inverter circuit.
Another object of the present invention is to provide a phase voltage detection apparatus for a three-phase inverter circuit.
It is still another object of the present invention to provide an air conditioner.
It is yet another object of the present invention to provide a computer-readable storage medium.
In order to achieve the above object, a first aspect of the present invention provides a phase voltage detection method for a three-phase inverter circuit, including: when the power-on standby state is detected, a specified pulse width modulation signal is loaded to a three-phase inverter driving circuit, and a no-load phase voltage sampling value of any phase is determined in the loading process; and carrying out low-pass filtering operation on the sampled values of the no-load phase voltage, and determining deviation parameters for calibrating the load phase voltage of each phase.
According to the technical scheme, when the power-on standby state is detected, the specified pulse width modulation signal is loaded to the three-phase inverter driving circuit, the no-load phase voltage sampling value of any phase can be determined in the loading process, the low-pass filtering operation is carried out on the no-load phase voltage sampling value, the deviation parameter used for calibrating the load phase voltage of each phase is determined, the deviation parameter is determined more accurately, the detection accuracy of the load phase voltage is improved, and the control accuracy of the air conditioner is improved.
Specifically, the specified pulse width modulation signal is a carrier signal with a duty ratio of 50%, the carrier frequency can be 5kHz, and the carrier signal is loaded to a three-phase inverter driving circuit, that is, a three-phase bridge driving circuit, and the upper and lower bridge arms of the U-phase, the V-phase and the W-phase are switched on and off according to the specified pulse width modulation signalTaking the AD/a conversion module connected to the phase voltage sampling circuit to output a reading, taking a 12-bit AD/a conversion module with a sampling range of 0-3.3V as an example, the reading result sampled by the AD/a conversion module ranges from 0 to 4096, and the corresponding actual voltage ranges from 0 to UfullThe AD analog-to-digital conversion module samples the reading adc _ resulttA0Determining the no-load phase voltage sampling value U containing the deviation parameter0=adc_resultA0×UfullAnd/4096 when different AD conversion modules are used, corresponding parameters in the above formula are correspondingly changed.
In the above technical solution, preferably, the low-pass filtering the empty-load phase voltage sampling value to determine an offset parameter for calibrating the load phase voltage of each phase includes: determining all no-load phase voltage sampling values of each phase within corresponding preset calibration time; sequentially inputting no-load phase voltage sampling values according to a first preset formula, performing iterative loop calculation to perform low-pass filtering, and determining a final iterative calculation result as a deviation parameter of a corresponding phase, wherein the first preset formula is as follows: bias (n) ═ a × U0(n) + (1-a) xbias (n-1), wherein bias (n) is represented by a deviation parameter calculated by the nth iteration, n is represented by the iteration number, n ≧ 1, a is represented by a preset constant, U0(n) is characterized as the nth unloaded phase voltage sample value.
In the technical scheme, data basis is provided for determining deviation parameters of corresponding phases by determining all no-load phase voltage sampling values of each phase within corresponding preset calibration time, wherein one adc _ resultA A is sampled and read every millisecond within the preset calibration time0The method comprises the steps of determining a plurality of no-load phase voltage sampling values within preset calibration time, sequentially inputting the no-load phase voltage sampling values according to a first preset formula, performing iterative loop calculation to perform low-pass filtering, and determining a final iterative calculation result as a deviation parameter of a corresponding phase, so that the deviation parameter is determined, and the deviation parameter is sequentially determined by the plurality of no-load phase voltage sampling values within the preset calibration time in an iterative manner.
It should be noted that the preset constant a is determined by a cut-off frequency, and the cut-off frequency is correspondingly selected and preset according to the rated frequency range of the motor, for example, the rated maximum frequency of the motor is 450Hz, the cut-off frequency can be selected and preset to be 600Hz, and the relationship between the cut-off frequency fl and the preset constant a is
Figure RE-GDA0001574597320000031
t is a preset sampling period of 1-5 milliseconds.
In any of the above solutions, preferably, the preset calibration time is 3s-5 s.
In the technical scheme, the preset calibration time is 3s-5s, so that on one hand, more no-load phase voltage sampling value data exist, the determination accuracy of the deviation parameter is favorably improved, and on the other hand, the influence on the determination efficiency of the deviation parameter due to the overlong preset calibration time is reduced.
In any one of the above technical solutions, preferably, when the motor is detected to be in the running state, the load phase voltage sampling values of each phase are respectively sampled and determined according to a preset sampling period; and calibrating each corresponding load phase voltage sampling value according to the deviation parameter, and determining the sampling value as a corresponding load phase voltage detection value.
In the technical scheme, when the motor running state is detected, the load phase voltage sampling value of each phase is respectively sampled and determined according to the preset sampling period, then, each corresponding load phase voltage sampling value is calibrated according to the deviation parameter and determined as the corresponding load phase voltage detection value, the deviation parameter generated by the current circuit factor can be effectively removed, the operation amount is small, the realization is convenient, the detection accuracy of the load phase voltage is further improved, and the integral accurate control of the air conditioner is facilitated.
It should be noted that the load phase voltage sampling value is determined when the motor operates stably after a certain period of time.
In any one of the above technical solutions, preferably, calibrating each corresponding load phase voltage sampling value according to the deviation parameter to determine as a corresponding load phase voltage detection value, includes: according to the firstAnd the second preset formula is used for calculating the load phase voltage detection value according to the deviation parameter and the load phase voltage sampling value, and the second preset formula is as follows: vi=Ui-biasi(n) wherein ViCharacterized by the phase voltage detection value of the i-th phase, UiSampled value of the load phase voltage, bias, characterized as the i-th phasei(n) characterized by a deviation parameter calculated for the nth iteration of the ith phase.
In the technical scheme, the load phase voltage detection value is calculated according to the deviation parameter and the load phase voltage sampling value according to a second preset formula, wherein the second preset formula is as follows: vi=Ui-biasiAnd (n), deviation parameters generated by current circuit factors can be effectively removed, the calculation amount is small, the implementation is convenient, the detection accuracy of the load phase voltage is further improved, and the integral accurate control of the air conditioner is facilitated.
It should be noted that the reading of the 12-bit AD analog-to-digital conversion module with the sampling range of 0-3.3V is adc _ resultAiWhile, Ui=adc_resultAi×Ufull/4096。
A second aspect of the present invention provides a phase voltage detection device for a three-phase inverter circuit, including: the loading unit is used for loading a specified pulse width modulation signal to the three-phase inverter driving circuit when the power-on standby state is detected, and determining a no-load phase voltage sampling value of any phase in the loading process; and the determining unit is used for performing low-pass filtering operation on the no-load phase voltage sampling value and determining a deviation parameter for calibrating the load phase voltage of each phase.
According to the technical scheme, when the power-on standby state is detected, the specified pulse width modulation signal is loaded to the three-phase inverter driving circuit, the no-load phase voltage sampling value of any phase can be determined in the loading process, the low-pass filtering operation is carried out on the no-load phase voltage sampling value, the deviation parameter used for calibrating the load phase voltage of each phase is determined, the deviation parameter is determined more accurately, the detection accuracy of the load phase voltage is improved, and the control accuracy of the air conditioner is improved.
Specifically, the specified pulse width modulation signal is a carrier signal with a duty ratio of 50%, the carrier frequency can be 5kHz, and the carrier signal is loaded to a three-phase inverter driving circuit, that is, a three-phase bridge driving circuit, the upper and lower bridge arms of the U-phase, the V-phase and the W-phase are switched on and off according to the specified pulse width modulation signal, so that an AD analog-to-digital conversion module connected with the phase voltage sampling circuit outputs a reading, taking a 12-bit AD analog-to-digital conversion module with a sampling range of 0-3.3V as an example, a reading result sampled by the AD analog-to-digital conversion module ranges from 0 to 4096, and a corresponding actual voltage ranges from 0 to UfullThe AD analog-to-digital conversion module samples the reading adc _ resulttA0Determining the no-load phase voltage sampling value U containing the deviation parameter0=adc_resultA0×UfullAnd/4096 when different AD conversion modules are used, corresponding parameters in the above formula are correspondingly changed.
In the foregoing technical solution, preferably, the determining unit is further configured to: determining all no-load phase voltage sampling values of each phase within corresponding preset calibration time; the determination unit is further configured to: sequentially inputting no-load phase voltage sampling values according to a first preset formula, performing iterative loop calculation to perform low-pass filtering, and determining a final iterative calculation result as a deviation parameter of a corresponding phase, wherein the first preset formula is as follows: bias (n) ═ a × U0(n) + (1-a) xbias (n-1), wherein bias (n) is represented by a deviation parameter calculated by the nth iteration, n is represented by the iteration number, n ≧ 1, a is represented by a preset constant, U0(n) is characterized as the nth unloaded phase voltage sample value.
In the technical scheme, data basis is provided for determining deviation parameters of corresponding phases by determining all no-load phase voltage sampling values of each phase within corresponding preset calibration time, wherein one adc _ resultA A is sampled and read every millisecond within the preset calibration time0Determining a plurality of no-load phase voltage sampling values within preset calibration time, sequentially inputting the no-load phase voltage sampling values according to a first preset formula, performing iterative loop calculation to perform low-pass filtering, and determining the final iterative calculation result as a deviation parameter of a corresponding phase, thereby realizing the determination of the deviation parameter, wherein the deviation parameter is determined by a plurality of no-load phase voltage sampling values within the preset calibration timeThe no-load phase voltage sampling value is determined in an iterative mode in sequence, so that the method is more applicable and more accurate, and is favorable for improving the detection accuracy of the load phase voltage and further improving the control accuracy of the air conditioner.
It should be noted that the preset constant a is determined by a cut-off frequency, and the cut-off frequency is correspondingly selected and preset according to the rated frequency range of the motor, for example, the rated maximum frequency of the motor is 450Hz, the cut-off frequency can be selected and preset to be 600Hz, and the relationship between the cut-off frequency fl and the preset constant a is
Figure RE-GDA0001574597320000051
t is a preset sampling period of 1-5 milliseconds.
In any of the above solutions, preferably, the preset calibration time is 3s-5 s.
In the technical scheme, the preset calibration time is 3s-5s, so that on one hand, more no-load phase voltage sampling value data exist, the determination accuracy of the deviation parameter is favorably improved, and on the other hand, the influence on the determination efficiency of the deviation parameter due to the overlong preset calibration time is reduced.
In any one of the above technical solutions, preferably, the determining unit is further configured to: when the motor running state is detected, respectively sampling and determining a load phase voltage sampling value of each phase according to a preset sampling period; the phase voltage detection device further includes: and the calibration unit is used for calibrating each corresponding load phase voltage sampling value according to the deviation parameter and determining the sampling value as a corresponding load phase voltage detection value.
In the technical scheme, when the motor running state is detected, the load phase voltage sampling value of each phase is respectively sampled and determined according to the preset sampling period, then, each corresponding load phase voltage sampling value is calibrated according to the deviation parameter and determined as the corresponding load phase voltage detection value, the deviation parameter generated by the current circuit factor can be effectively removed, the operation amount is small, the realization is convenient, the detection accuracy of the load phase voltage is further improved, and the integral accurate control of the air conditioner is facilitated.
It should be noted that the load phase voltage sampling value is determined when the motor operates stably after a certain period of time.
In any one of the above technical solutions, preferably, the method further includes: the calculating unit is used for calculating the load phase voltage detection value according to the deviation parameter and the load phase voltage sampling value according to a second preset formula, wherein the second preset formula is as follows: vi=Ui-biasi(n) wherein ViCharacterized by the phase voltage detection value of the i-th phase, UiSampled value of the load phase voltage, bias, characterized as the i-th phasei(n) characterized by a deviation parameter calculated for the nth iteration of the ith phase.
In the technical scheme, the load phase voltage detection value is calculated according to the deviation parameter and the load phase voltage sampling value according to a second preset formula, wherein the second preset formula is as follows: vi=Ui-biasiAnd (n), deviation parameters generated by current circuit factors can be effectively removed, the calculation amount is small, the implementation is convenient, the detection accuracy of the load phase voltage is further improved, and the integral accurate control of the air conditioner is facilitated.
It should be noted that the reading of the 12-bit AD analog-to-digital conversion module with the sampling range of 0-3.3V is adc _ resultAiWhile, Ui=adc_resultAi×Ufull/4096。
A third aspect of the present invention provides an air conditioner, including a processor, configured to implement the steps of the phase voltage detection method for a three-phase inverter circuit according to any one of the methods set forth in the first aspect of the present invention when executing a computer program stored in a memory; and/or a phase voltage detection device including any one of the three-phase inverter circuits set forth in the second aspect of the present invention.
In this technical solution, the air conditioner includes a processor, and the processor is configured to implement the steps of the phase voltage detection method of any one of the three-phase inverter circuits proposed in the technical solution of the first aspect of the present invention and/or the phase voltage detection device including any one of the three-phase inverter circuits proposed in the technical solution of the second aspect of the present invention when executing the computer program stored in the memory, so that all the advantages of the phase voltage detection method of any one of the three-phase inverter circuits proposed in the technical solution of the first aspect of the present invention and/or all the advantages of the phase voltage detection device of any one of the three-phase inverter circuits proposed in the technical solution of the second aspect of the present invention are achieved, and details are not repeated herein.
An aspect of the fourth aspect of the present invention provides a computer-readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the steps of the phase voltage detection method of the three-phase inverter circuit according to any one of the aspects of the first aspect of the present invention.
In this technical solution, a computer readable storage medium stores thereon a computer program, and when the computer program is executed by a processor, the steps of the phase voltage detection method of any one of the three-phase inverter circuits proposed in the technical solution of the first aspect of the present invention are implemented, so that all the beneficial effects of the phase voltage detection method of any one of the three-phase inverter circuits proposed in the technical solution of the first aspect of the present invention are achieved, and details are not repeated herein.
Through the technical scheme, when the air conditioner is detected to be in a power-on standby state, namely before the motor runs, the deviation parameter used for calibrating the load phase voltage of each phase is determined, and when the air conditioner is detected to be in the motor running state, the deviation parameter is subtracted from the load phase voltage sampling value to determine the load phase voltage detection value, so that the deviation parameter generated by current circuit factors can be effectively removed, the operation amount is small, the air conditioner is convenient to implement, the detection accuracy of the load phase voltage is further improved, and the integral accurate control of the air conditioner is facilitated.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 shows a schematic flow diagram of a phase voltage detection method of a three-phase inverter circuit according to an embodiment of the present invention;
fig. 2 shows a schematic block diagram of a phase voltage detection apparatus of a three-phase inverter circuit according to an embodiment of the present invention;
FIG. 3 illustrates a schematic block diagram of an air conditioner according to an embodiment of the present invention;
fig. 4 shows a schematic structural diagram of a three-phase inverter circuit according to an embodiment of the present invention;
FIG. 5 shows a waveform diagram of the three-phase output when the legs of each phase of the three-phase inverter circuit are driven on and off according to a specified PWM signal according to one embodiment of the present invention;
fig. 6 shows a schematic flow chart of a phase voltage detection method of a three-phase inverter circuit according to another embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
Fig. 1 shows a schematic flow diagram of a phase voltage detection method of a three-phase inverter circuit according to an embodiment of the present invention.
As shown in fig. 1, a phase voltage detection method of a three-phase inverter circuit according to an embodiment of the present invention includes:
s102, when the power-on standby state is detected, a specified pulse width modulation signal is loaded to a three-phase inverter driving circuit, and a no-load phase voltage sampling value of any phase is determined in the loading process;
and S104, performing low-pass filtering operation on the empty-load phase voltage sampling value, and determining a deviation parameter for calibrating the load phase voltage of each phase.
In the embodiment, when the power-on standby state is detected, the specified pulse width modulation signal is loaded to the three-phase inverter driving circuit, so that the no-load phase voltage sampling value of any phase can be determined in the loading process, the low-pass filtering operation is performed on the no-load phase voltage sampling value, and the deviation parameter for calibrating the load phase voltage of each phase is determined, so that the determination of the deviation parameter is more accurate, the detection accuracy of the load phase voltage is improved, and the control accuracy of the air conditioner is improved.
Specifically, the specified pulse width modulation signal is a carrier signal with a duty ratio of 50%, the carrier frequency can be 5kHz, and the carrier signal is loaded to a three-phase inverter driving circuit, that is, a three-phase bridge driving circuit, the upper and lower bridge arms of the U-phase, the V-phase and the W-phase are switched on and off according to the specified pulse width modulation signal, so that an AD analog-to-digital conversion module connected with the phase voltage sampling circuit outputs a reading, taking a 12-bit AD analog-to-digital conversion module with a sampling range of 0-3.3V as an example, a reading result sampled by the AD analog-to-digital conversion module ranges from 0 to 4096, and a corresponding actual voltage ranges from 0 to UfullThe AD analog-to-digital conversion module samples the reading adc _ resulttA0Determining the no-load phase voltage sampling value U containing the deviation parameter0=adc_resultA0×UfullAnd/4096 when different AD conversion modules are used, corresponding parameters in the above formula are correspondingly changed.
In the above embodiment, preferably, the low-pass filtering operation is performed on the empty-load phase voltage sampling value, and determining the deviation parameter for calibrating the load phase voltage of each phase includes: determining all no-load phase voltage sampling values of each phase within corresponding preset calibration time; sequentially inputting no-load phase voltage sampling values according to a first preset formula, performing iterative loop calculation to perform low-pass filtering, and determining a final iterative calculation result as a deviation parameter of a corresponding phase, wherein the first preset formula is as follows: bias (n) ═ a × U0(n) + (1-a) xbias (n-1), wherein bias (n) is characterized by a deviation parameter calculated by the nth iteration, n is characterized by the iteration number, and n ≧ 1A is characterized by a predetermined constant, U0(n) is characterized as the nth unloaded phase voltage sample value.
In this embodiment, the determination of the offset parameter for each phase provides a data basis by determining all of the unloaded phase voltage samples for each phase during a corresponding predetermined calibration time, wherein an adc _ resultA is read every millisecond of the sample during the predetermined calibration time0The method comprises the steps of determining a plurality of no-load phase voltage sampling values within preset calibration time, sequentially inputting the no-load phase voltage sampling values according to a first preset formula, performing iterative loop calculation to perform low-pass filtering, and determining a final iterative calculation result as a deviation parameter of a corresponding phase, so that the deviation parameter is determined, and the deviation parameter is sequentially determined by the plurality of no-load phase voltage sampling values within the preset calibration time in an iterative manner.
It should be noted that the preset constant a is determined by a cut-off frequency, and the cut-off frequency is correspondingly selected and preset according to the rated frequency range of the motor, for example, the rated maximum frequency of the motor is 450Hz, the cut-off frequency can be selected and preset to be 600Hz, and the relationship between the cut-off frequency fl and the preset constant a is
Figure RE-GDA0001574597320000091
t is a preset sampling period of 1-5 milliseconds.
In any of the above embodiments, preferably, the preset calibration time is 3s to 5 s.
In the embodiment, the preset calibration time is 3s-5s, so that on one hand, more no-load phase voltage sampling value data exist, the determination accuracy of the deviation parameter is favorably improved, and on the other hand, the influence on the determination efficiency of the deviation parameter due to the overlong preset calibration time is reduced.
In any one of the above embodiments, preferably, when the motor running state is detected, the load phase voltage sampling value of each phase is respectively sampled and determined according to a preset sampling period; and calibrating each corresponding load phase voltage sampling value according to the deviation parameter, and determining the sampling value as a corresponding load phase voltage detection value.
In the embodiment, when the motor is detected to be in the running state, the load phase voltage sampling value of each phase is respectively sampled and determined according to the preset sampling period, then, each corresponding load phase voltage sampling value is calibrated according to the deviation parameter and determined as the corresponding load phase voltage detection value, so that the deviation parameter generated by the current circuit factor can be effectively removed, the calculation amount is small, the realization is convenient, the detection accuracy of the load phase voltage is further improved, and the integral accurate control of the air conditioner is facilitated.
It should be noted that the load phase voltage sampling value is determined when the motor operates stably after a certain period of time.
In any one of the above embodiments, preferably, calibrating each corresponding load phase voltage sampling value according to the deviation parameter to determine as a corresponding load phase voltage detection value includes: according to a second preset formula, calculating a load phase voltage detection value according to the deviation parameter and the load phase voltage sampling value, wherein the second preset formula is as follows: vi=Ui-biasi(n) wherein ViCharacterized by the phase voltage detection value of the i-th phase, UiSampled value of the load phase voltage, bias, characterized as the i-th phasei(n) characterized by a deviation parameter calculated for the nth iteration of the ith phase.
In this embodiment, the load phase voltage detection value is calculated according to the deviation parameter and the load phase voltage sampling value according to a second preset formula, where the second preset formula is: vi=Ui-biasiAnd (n), deviation parameters generated by current circuit factors can be effectively removed, the calculation amount is small, the implementation is convenient, the detection accuracy of the load phase voltage is further improved, and the integral accurate control of the air conditioner is facilitated.
It should be noted that the reading of the 12-bit AD analog-to-digital conversion module with the sampling range of 0-3.3V is adc _ resultAiWhile, Ui=adc_resultAi×Ufull/4096。
Fig. 2 shows a schematic block diagram of a phase voltage detection apparatus 200 of a three-phase inverter circuit according to an embodiment of the present invention.
As shown in fig. 2, a phase voltage detecting apparatus 200 of a three-phase inverter circuit according to an embodiment of the present invention includes: the loading unit 202 is configured to load a specified pulse width modulation signal to the three-phase inverter driving circuit when it is detected that the three-phase inverter driving circuit is in a power-on standby state, and determine an unloaded phase voltage sampling value of any phase in a loading process; the determining unit 204 is configured to perform a low-pass filtering operation on the empty-load phase voltage sampling value, and determine an offset parameter for calibrating the load phase voltage of each phase.
In the embodiment, when the power-on standby state is detected, the specified pulse width modulation signal is loaded to the three-phase inverter driving circuit, so that the no-load phase voltage sampling value of any phase can be determined in the loading process, the low-pass filtering operation is performed on the no-load phase voltage sampling value, and the deviation parameter for calibrating the load phase voltage of each phase is determined, so that the determination of the deviation parameter is more accurate, the detection accuracy of the load phase voltage is improved, and the control accuracy of the air conditioner is improved.
Specifically, the specified pulse width modulation signal is a carrier signal with a duty ratio of 50%, the carrier frequency can be 5kHz, and the carrier signal is loaded to a three-phase inverter driving circuit, that is, a three-phase bridge driving circuit, the upper and lower bridge arms of the U-phase, the V-phase and the W-phase are switched on and off according to the specified pulse width modulation signal, so that an AD analog-to-digital conversion module connected with the phase voltage sampling circuit outputs a reading, taking a 12-bit AD analog-to-digital conversion module with a sampling range of 0-3.3V as an example, a reading result sampled by the AD analog-to-digital conversion module ranges from 0 to 4096, and a corresponding actual voltage ranges from 0 to UfullThe AD analog-to-digital conversion module samples the reading adc _ resulttA0Determining the no-load phase voltage sampling value U containing the deviation parameter0=adc_resultA0×UfullAnd/4096 when different AD conversion modules are used, corresponding parameters in the above formula are correspondingly changed.
In the above embodiment, preferably, the determining unit 204 is further configured to: determining all no-load phase voltage sampling values of each phase within corresponding preset calibration time; the determining unit 204 is further configured to: according to a first predetermined formulaSequentially inputting no-load phase voltage sampling values, performing iterative loop calculation to perform low-pass filtering, and determining a final iterative calculation result as a deviation parameter of a corresponding phase, wherein a first preset formula is as follows: bias (n) ═ a × U0(n) + (1-a) xbias (n-1), wherein bias (n) is represented by a deviation parameter calculated by the nth iteration, n is represented by the iteration number, n ≧ 1, a is represented by a preset constant, U0(n) is characterized as the nth unloaded phase voltage sample value.
In this embodiment, the determination of the offset parameter for each phase provides a data basis by determining all of the unloaded phase voltage samples for each phase during a corresponding predetermined calibration time, wherein an adc _ resultA is read every millisecond of the sample during the predetermined calibration time0The method comprises the steps of determining a plurality of no-load phase voltage sampling values within preset calibration time, sequentially inputting the no-load phase voltage sampling values according to a first preset formula, performing iterative loop calculation to perform low-pass filtering, and determining a final iterative calculation result as a deviation parameter of a corresponding phase, so that the deviation parameter is determined, and the deviation parameter is sequentially determined by the plurality of no-load phase voltage sampling values within the preset calibration time in an iterative manner.
It should be noted that the preset constant a is determined by a cut-off frequency, and the cut-off frequency is correspondingly selected and preset according to the rated frequency range of the motor, for example, the rated maximum frequency of the motor is 450Hz, the cut-off frequency can be selected and preset to be 600Hz, and the relationship between the cut-off frequency fl and the preset constant a is
Figure RE-GDA0001574597320000111
t is a preset sampling period of 1-5 milliseconds.
In any of the above embodiments, preferably, the preset calibration time is 3s to 5 s.
In the embodiment, the preset calibration time is 3s-5s, so that on one hand, more no-load phase voltage sampling value data exist, the determination accuracy of the deviation parameter is favorably improved, and on the other hand, the influence on the determination efficiency of the deviation parameter due to the overlong preset calibration time is reduced.
In any of the above embodiments, preferably, the determining unit 204 is further configured to: when the motor running state is detected, respectively sampling and determining a load phase voltage sampling value of each phase according to a preset sampling period; the phase voltage detection device 200 further includes: and the calibration unit 206 is configured to calibrate each corresponding load phase voltage sampling value according to the deviation parameter, and determine the load phase voltage sampling value as a corresponding load phase voltage detection value.
In the embodiment, when the motor is detected to be in the running state, the load phase voltage sampling value of each phase is respectively sampled and determined according to the preset sampling period, then, each corresponding load phase voltage sampling value is calibrated according to the deviation parameter and determined as the corresponding load phase voltage detection value, so that the deviation parameter generated by the current circuit factor can be effectively removed, the calculation amount is small, the realization is convenient, the detection accuracy of the load phase voltage is further improved, and the integral accurate control of the air conditioner is facilitated.
It should be noted that the load phase voltage sampling value is determined when the motor operates stably after a certain period of time.
In any one of the above embodiments, preferably, the method further includes: the calculating unit 208 is configured to calculate the load phase voltage detection value according to the deviation parameter and the load phase voltage sampling value according to a second preset formula, where the second preset formula is: vi=Ui-biasi(n) wherein ViCharacterized by the phase voltage detection value of the i-th phase, UiSampled value of the load phase voltage, bias, characterized as the i-th phasei(n) characterized by a deviation parameter calculated for the nth iteration of the ith phase.
In this embodiment, the load phase voltage detection value is calculated according to the deviation parameter and the load phase voltage sampling value according to a second preset formula, where the second preset formula is: vi=Ui-biasiAnd (n), deviation parameters generated by current circuit factors can be effectively removed, the calculation amount is small, the implementation is convenient, the detection accuracy of the load phase voltage is further improved, and the integral accurate control of the air conditioner is facilitated.
It should be noted that the reading of the 12-bit AD analog-to-digital conversion module with the sampling range of 0-3.3V is adc _ resultAiWhile, Ui=adc_resultAi×Ufull/4096。
Fig. 3 shows a schematic block diagram of an air conditioner 300 according to an embodiment of the present invention.
As shown in fig. 3, an air conditioner 300 according to an embodiment of the present invention includes the phase voltage detection device 200 of the three-phase inverter circuit according to any one of the embodiments of the present invention.
In this embodiment, the air conditioner 300 includes the phase voltage detection device 200 of the three-phase inverter circuit according to any one of the embodiments of the present invention, so that the air conditioner has all the advantages of the phase voltage detection device 200 of the three-phase inverter circuit according to any one of the embodiments of the present invention, and the description thereof is omitted.
According to the computer readable storage medium of the embodiment of the present invention, a computer program is stored thereon, and when the computer program is executed by a processor, the steps of the phase voltage detection method of the three-phase inverter circuit of any one of the embodiments of the present invention set forth above are realized.
In this embodiment, a computer readable storage medium stores thereon a computer program, and the computer program is executed by a processor to implement the steps of the phase voltage detection method of the three-phase inverter circuit according to any one of the embodiments of the present invention, so that the method has all the advantages of the phase voltage detection method of the three-phase inverter circuit according to any one of the embodiments of the present invention, and will not be described herein again.
Fig. 4 shows a schematic structural diagram of a three-phase inverter circuit according to an embodiment of the present invention;
FIG. 5 shows a waveform diagram of the three-phase output when the legs of each phase of the three-phase inverter circuit are driven on and off according to a specified PWM signal according to one embodiment of the present invention;
fig. 6 shows a schematic flow chart of a phase voltage detection method of a three-phase inverter circuit according to another embodiment of the present invention.
As shown in fig. 4 to 6, a phase voltage detection method of a three-phase inverter circuit according to another embodiment of the present invention includes:
s602, electrifying the system, and starting deviation parameter calibration;
specifically, the three-phase inverter circuit as shown in fig. 4 is powered on, but the motor is not operated,
s602, respectively switching on 50% PWM of duty ratio of upper and lower bridge arms T1/T4, T2/T5 and T3/T6 of three phases;
specifically, as shown in fig. 4, the control chip outputs 50% PWM, that is, a pulse width modulation signal with a duty ratio of 50%, the PWM frequency is a carrier frequency, for example, 5kHz, and drives a three-phase bridge driving circuit 402 of a three-phase inverter circuit, that is, a three-phase inverter driving circuit, where the three-phase bridge driving circuit 402 is composed of power switching tubes, which are respectively T1/T4, T2/T5, and T3/T6, for example, composed of 6 IGBT bipolar transistors or composed of 6 MOSFET metal-oxide semiconductor field effect transistors, or an intelligent power module IPM, and the three-phase voltage sampling circuit 404 is composed of a voltage dividing and filtering circuit, where R1 and R2 constitute a voltage dividing circuit and constitute an RC filtering circuit with C1, as an a-point phase voltage sampling circuit, R3 and R4 constitute a voltage dividing circuit, and constitute an RC filtering circuit with C2, as a B point phase voltage sampling circuit, R5 and R6 form a voltage division circuit, and form an RC filter circuit together with C3, as a C point phase voltage sampling circuit, when an upper bridge arm T1/T4, a T2/T5 and a T3/T6 of three phases are respectively switched on with 50% of PWM duty ratio, a point A, a point B and a point C respectively generate square waves with the amplitude of Vdc and the duty ratio of 50%, as shown in figure 5, the square waves output by the three phases enter an AD module of a control chip through respective phase voltage sampling circuits for sampling,
s606, respectively carrying out AD module sampling U on Va/Vb/Vc0=adc_resultA0×Ufull/4096;
Specifically, the AD module is 12 bits, and the maximum sampling logarithm 212 is 4096, corresponding to the actual voltage Ufull
S608, calculating a deviation parameter through first-order low-pass filtering;
specifically, bias (n) ═ a × U0(n)+(1-a)×bias(n-1),
S610, judging whether the preset calibration time of the deviation parameter is reached or not for 5S;
if the determination at S610 is yes, S612 is performed to calculate a Bias parameter Bias for each phasea(n)、Biasb(n)、Biasc(n);
S614, the motor starts to rotate, and phase voltage detection values are calculated
Va=adc_resultAa×Ufull/4096-Biasa(n)
Vb=adc_resultAb×Ufull/4096-Biasb(n)
Vc=adc_resultAc×Ufull/4096-Biasc(n);
If the determination at S610 is no, S604 is performed.
The technical scheme of the invention is described in detail by combining the drawings, and the invention provides a phase voltage detection method of a three-phase inverter circuit, a phase voltage detection device of the three-phase inverter circuit, an air conditioner and a computer readable storage medium.
The steps in the method of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device of the invention can be merged, divided and deleted according to actual needs.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (CD-ROM), or other Memory, disk, or other Memory, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A phase voltage detection method of a three-phase inverter circuit is characterized by comprising the following steps:
when the power-on standby state is detected, loading a specified pulse width modulation signal to a three-phase inverter driving circuit, and determining a no-load phase voltage sampling value of any phase in the loading process;
carrying out low-pass filtering operation on the no-load phase voltage sampling value, and determining a deviation parameter for calibrating the load phase voltage of each phase;
the low-pass filtering operation is performed on the no-load phase voltage sampling value, and the deviation parameter used for calibrating the load phase voltage of each phase is determined, and the method comprises the following steps:
determining all no-load phase voltage sampling values of each phase within corresponding preset calibration time;
sequentially inputting the no-load phase voltage sampling values according to a first preset formula, performing iterative loop calculation to perform low-pass filtering, determining the final iterative calculation result as the deviation parameter of the corresponding phase,
the first preset formula is as follows: bias (n) ═ a × U0(n)+(1-a)×bias(n-1),
Wherein, the bias (n) is characterized by the deviation parameter calculated by the nth iteration, the n is characterized by the iteration number, n is ≧ 1, the a is characterized by a preset constant, and U is0(n) is characterized as the nth unloaded phase voltage sample value.
2. The phase voltage detection method of a three-phase inverter circuit according to claim 1,
the preset calibration time is 3s-5 s.
3. The phase voltage detection method of the three-phase inverter circuit according to claim 1 or 2, characterized by further comprising:
when the motor running state is detected, respectively sampling and determining a load phase voltage sampling value of each phase according to a preset sampling period;
and calibrating each corresponding load phase voltage sampling value according to the deviation parameter, and determining the load phase voltage sampling value as a corresponding load phase voltage detection value.
4. The method for detecting phase voltage of a three-phase inverter circuit according to claim 3, wherein the calibrating the load phase voltage sampling value corresponding to each phase according to the deviation parameter to determine the load phase voltage sampling value corresponding to each phase comprises:
calculating the load phase voltage detection value according to a second preset formula and the deviation parameter and the load phase voltage sampling value,
the second preset formula is as follows: vi=Ui-biasi(n),
Wherein, the ViThe phase voltage detection value characterized as the i-th phase, the UiThe load phase voltage sample value, the bias, characterized as the ith phasei(n) characterizing the deviation parameter calculated for the nth iteration of the ith phase.
5. A phase voltage detection device of a three-phase inverter circuit, comprising:
the loading unit is used for loading a specified pulse width modulation signal to the three-phase inverter driving circuit when the power-on standby state is detected, and determining an unloaded phase voltage sampling value of any phase in the loading process;
the determining unit is used for performing low-pass filtering operation on the no-load phase voltage sampling value and determining a deviation parameter for calibrating the load phase voltage of each phase;
the determination unit is further configured to: determining all no-load phase voltage sampling values of each phase within corresponding preset calibration time;
the determination unit is further configured to: sequentially inputting the no-load phase voltage sampling values according to a first preset formula, performing iterative loop calculation to perform low-pass filtering, determining the final iterative calculation result as the deviation parameter of the corresponding phase,
the first preset formula is as follows: bias (n) ═ a × U0(n)+(1-a)×bias(n-1),
Wherein, the bias (n) is characterized by the deviation parameter calculated by the nth iteration, the n is characterized by the iteration number, n is ≧ 1, the a is characterized by a preset constant, and U is0(n) is characterized as the nth unloaded phase voltage sample value.
6. The phase voltage detection device of a three-phase inverter circuit according to claim 5,
the preset calibration time is 3s-5 s.
7. The phase voltage detection device of the three-phase inverter circuit according to claim 5 or 6,
the determination unit is further configured to: when the motor running state is detected, respectively sampling and determining a load phase voltage sampling value of each phase according to a preset sampling period;
the phase voltage detection device further includes:
and the calibration unit is used for calibrating each corresponding load phase voltage sampling value according to the deviation parameter and determining the sampling value as a corresponding load phase voltage detection value.
8. The phase voltage detection device of the three-phase inverter circuit according to claim 7, further comprising:
a calculating unit, configured to calculate the load phase voltage detection value according to the deviation parameter and the load phase voltage sampling value according to a second preset formula,
the second preset formula is as follows: vi=Ui-biasi(n),
Wherein, the ViThe phase voltage detection value characterized as the i-th phase, the UiThe load phase voltage sample value, the bias, characterized as the ith phasei(n) characterizing the deviation parameter calculated for the nth iteration of the ith phase.
9. An air conditioner comprising a memory, a processor, and a computer program stored on the memory and executable on the processor,
the processor, when executing the computer program, implementing a phase voltage detection method of a three-phase inverter circuit according to any one of claims 1 to 4;
and/or a phase voltage detection device including the three-phase inverter circuit according to any one of claims 5 to 8.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that,
the computer program, when executed by a processor, implements the steps of a phase voltage detection method of a three-phase inverter circuit according to any one of claims 1 to 4.
CN201810032378.8A 2018-01-12 2018-01-12 Phase voltage detection method and device of three-phase inverter circuit, air conditioner and medium Active CN108092581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810032378.8A CN108092581B (en) 2018-01-12 2018-01-12 Phase voltage detection method and device of three-phase inverter circuit, air conditioner and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810032378.8A CN108092581B (en) 2018-01-12 2018-01-12 Phase voltage detection method and device of three-phase inverter circuit, air conditioner and medium

Publications (2)

Publication Number Publication Date
CN108092581A CN108092581A (en) 2018-05-29
CN108092581B true CN108092581B (en) 2020-06-12

Family

ID=62183204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810032378.8A Active CN108092581B (en) 2018-01-12 2018-01-12 Phase voltage detection method and device of three-phase inverter circuit, air conditioner and medium

Country Status (1)

Country Link
CN (1) CN108092581B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402013A (en) * 2002-09-23 2003-03-12 清华大学 Method for pure electrical measuring no-load potential phasor of synchronous electric generator
CN104362881A (en) * 2014-11-17 2015-02-18 天津电气科学研究院有限公司 Dead-time compensation method based on instantaneous current and refined voltage compensation
CN106788111A (en) * 2016-11-28 2017-05-31 广东美芝制冷设备有限公司 Electric machine control system and its DC bus-bar voltage compensation method, device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5548777B2 (en) * 2010-10-15 2014-07-16 東芝三菱電機産業システム株式会社 Synchronous machine starting device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402013A (en) * 2002-09-23 2003-03-12 清华大学 Method for pure electrical measuring no-load potential phasor of synchronous electric generator
CN104362881A (en) * 2014-11-17 2015-02-18 天津电气科学研究院有限公司 Dead-time compensation method based on instantaneous current and refined voltage compensation
CN106788111A (en) * 2016-11-28 2017-05-31 广东美芝制冷设备有限公司 Electric machine control system and its DC bus-bar voltage compensation method, device

Also Published As

Publication number Publication date
CN108092581A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
RU2663224C1 (en) Method of assessment of the position and structure control device
US7956561B2 (en) Rotor position sensing system of brushless motor
US6081087A (en) Motor control apparatus
US20060197480A1 (en) Apparatus and method for driving the multiphase motor using the magnetic pole position detector
US8947034B2 (en) Methods and systems for controlling an electric motor
JP2007336641A (en) Position sensorless driving device for synchronous motor
US10148256B2 (en) Signal generating circuit, voltage conversion device, and signal generating method
JP2000354380A (en) Motor controller
US8139385B2 (en) Inverter control circuit and control method thereof
US7583039B2 (en) Brushless DC motor control method and brushless DC motor controller
CN113691182B (en) Resistance identification method, system, medium and terminal of permanent magnet synchronous motor
JP4450792B2 (en) Power saving effect display device in inverter device
CN108092581B (en) Phase voltage detection method and device of three-phase inverter circuit, air conditioner and medium
CN109188046B (en) Single-resistor motor current sampling method, motor driving circuit and readable storage medium
US11722087B2 (en) PWM signal measurement device, motor drive control device, PWM signal measurement method, and motor drive control method
US10746631B2 (en) Method and apparatus for estimating parameters of a DC machine by least-squares method
CN109217745B (en) Computing device and processing device
JP2006280140A (en) Inverter simulator and motor simulator
US11658597B1 (en) Single-shunt current measurement
JP2000184732A (en) Inverter device
Senicar et al. Inverter based method for measurement of PMSM machine parameters based on the elimination of power stage characteristics
US20210404478A1 (en) Motor drive control device and fan unit
JP2003348858A (en) Inverter unit
US11527974B2 (en) Method for determining current-dependent inductances of a multi-phase electrical machine and frequency converter
JP4803413B2 (en) AC motor inverter device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant