CN113541569B - Motor drive device, method, air conditioner, and computer-readable storage medium - Google Patents
Motor drive device, method, air conditioner, and computer-readable storage medium Download PDFInfo
- Publication number
- CN113541569B CN113541569B CN202110767225.XA CN202110767225A CN113541569B CN 113541569 B CN113541569 B CN 113541569B CN 202110767225 A CN202110767225 A CN 202110767225A CN 113541569 B CN113541569 B CN 113541569B
- Authority
- CN
- China
- Prior art keywords
- phase
- switch
- carrier
- carrier wave
- motor
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000001514 detection method Methods 0.000 claims abstract description 31
- 230000008859 change Effects 0.000 claims abstract description 27
- 230000009471 action Effects 0.000 claims description 24
- 238000004590 computer program Methods 0.000 claims description 11
- 230000003111 delayed effect Effects 0.000 claims description 11
- 239000000969 carrier Substances 0.000 claims description 7
- 230000008569 process Effects 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 10
- 238000007781 pre-processing Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 5
- 239000003990 capacitor Substances 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000009499 grossing Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000006641 stabilisation Effects 0.000 description 2
- 238000011105 stabilization Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P27/00—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
- H02P27/04—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
- H02P27/06—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using DC to AC converters or inverters
- H02P27/08—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using DC to AC converters or inverters with pulse width modulation
- H02P27/085—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using DC to AC converters or inverters with pulse width modulation wherein the PWM mode is adapted on the running conditions of the motor, e.g. the switching frequency
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/88—Electrical aspects, e.g. circuits
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Inverter Devices (AREA)
Abstract
Description
技术领域technical field
本发明涉及开关电源领域,具体而言,涉及电机驱动装置、方法、空调及计算机可读存储介质。The present invention relates to the field of switching power supplies, and in particular, to a motor driving device, a method, an air conditioner, and a computer-readable storage medium.
背景技术Background technique
一直以来,由于电机驱动装置内设置的转换器和逆变器在做开关动作时产生的电压或电流的急剧变化,有电容流向接地的高频漏电流产生,且会在开关电源的输入和输出端产生很强的传导干扰,漏电流和传导干扰有时会成为空调中设备故障或误判的原因。In the past, due to the rapid changes in voltage or current generated by the converter and inverter installed in the motor drive device during switching operations, high-frequency leakage current from the capacitor to the ground is generated, and the input and output of the switching power supply are generated. The terminal produces strong conduction interference, and leakage current and conduction interference sometimes become the cause of equipment failure or misjudgment in the air conditioner.
日本专利特开平10-094244公开了一种共模干扰消除器,采用星形连接电容器检测电压型PWM逆变器的半导体元件在开关操作期间产生的共模电压,通过开关功率半导体元件进行功率转换,控制电压源由上述检测到的共模电压产生与共模电压大小相同、极性相反的电压,共模变压器将该控制电压源产生的电压叠加在逆变器的输出端从而抵消共模电压,采用该设置需要追加设置较为复杂的回路,成本较高。Japanese Patent Laid-Open No. 10-094244 discloses a common-mode interference canceller, which uses a star-connected capacitor to detect the common-mode voltage generated by the semiconductor elements of the voltage-type PWM inverter during switching operations, and performs power conversion by switching the power semiconductor elements. , the control voltage source generates a voltage with the same magnitude and opposite polarity as the common-mode voltage from the detected common-mode voltage, and the common-mode transformer superimposes the voltage generated by the control voltage source on the output end of the inverter to offset the common-mode voltage, Adopting this setting requires additionally setting up a more complicated loop, and the cost is high.
日本专利特开平9-233837公开了一种逆变器驱动负载的逆变装置、防漏电装置及防漏电方法,所述逆变装置设置有与主体负荷的泄漏阻抗等价的阻抗,给该阻抗提供电压的开关部,驱动开关部的驱动部,开关部使用主体转换器的输出端作为电源,通过开关单元,将由逆变器的开关动作产生的各相的对地间电压和逆相位的电压施加到与负荷泄漏阻抗等价的等价阻抗上,消除了由电力转换设备的开关动作产生的漏电流,采用该设置需要追加设置等价阻抗、开关部、驱动部等元器件,对回路的成本影响也较大。Japanese Patent Laid-Open No. 9-233837 discloses an inverter device, an anti-leakage device and an anti-leakage method for an inverter to drive a load. The inverter device is provided with an impedance equivalent to the leakage impedance of the main load. The switch unit that supplies the voltage, the drive unit that drives the switch unit, the switch unit uses the output terminal of the main converter as a power source, and through the switch unit, the voltage between the ground and the reverse phase of each phase generated by the switching operation of the inverter is converted. It is applied to the equivalent impedance equivalent to the load leakage impedance, and the leakage current generated by the switching operation of the power conversion equipment is eliminated. With this setting, it is necessary to add components such as the equivalent impedance, the switching part, and the driving part. The cost impact is also greater.
另外,在电机驱动装置内的逆变器通常由并联有环流二极管的开关元件构成,由上桥臂侧的开关元件和下桥臂侧的开关元件构成的串联电路分三相,这些串联回路中的上桥臂和下桥臂的相互连接点连接到负荷,由于上桥臂和下桥臂的开关元件串联连接,如果两个开关元件在短时间内同时接通,将会发生短路而破坏开关元件,因此,在电机驱动过程中设置了死区时间,以便在各开关元件接通时发生延迟,在该情况下,当相电流为正极性时,连接到电源负侧的二极管导通,在死区时间内,逆变器的输出电压变为负极性,输出电压为正极性的时间变短,因而导致输出电压存在偏差。In addition, the inverter in the motor drive device is usually composed of a switching element connected in parallel with a circulating diode, and the series circuit composed of the switching element on the upper arm side and the switching element on the lower arm side is divided into three phases. The mutual connection point of the upper arm and the lower arm is connected to the load. Since the switching elements of the upper arm and the lower arm are connected in series, if the two switching elements are turned on at the same time in a short period of time, a short circuit will occur and the switch will be destroyed. elements, therefore, a dead time is provided during motor drive so that a delay occurs when each switching element is turned on, in which case the diode connected to the negative side of the power supply conducts when the phase current is of positive polarity, at During the dead time, the output voltage of the inverter becomes negative, and the time when the output voltage is positive becomes shorter, resulting in a deviation of the output voltage.
日本专利特开平3-117369公开了一种逆变器电压控制装置,包括将逆变器的输出电压和PWM控制电压进行比较,修正PWM控制信号以补偿逆变器桥的无效时间的无效时间补偿回路,用于负荷电流补偿的电路,该负荷电流补偿电路检测逆变器的输出电流,并修正PWM控制信号,以补偿由负荷电流引起的主电路的电压下降,在该方案中,虽然可以补偿由逆变器的死区时间引起的电流失真,但由于输出电压的脉冲定时没有同步,伴随开关的干扰发生很大,不能降低来自逆变器的干扰或漏电流。Japanese Patent Laid-Open No. 3-117369 discloses an inverter voltage control device, including an inactive time compensation that compares the output voltage of the inverter with a PWM control voltage, and corrects the PWM control signal to compensate for the inactive time of the inverter bridge The loop, a circuit for load current compensation, the load current compensation circuit detects the output current of the inverter and corrects the PWM control signal to compensate for the voltage drop of the main circuit caused by the load current. In this scheme, although it can be compensated The current is distorted by the dead time of the inverter, but because the pulse timing of the output voltage is not synchronized, the interference accompanying the switch occurs greatly, and the interference or leakage current from the inverter cannot be reduced.
有鉴于此,特提出本发明。In view of this, the present invention is proposed.
发明内容SUMMARY OF THE INVENTION
本发明解决的问题是,现有技术中,为了解决电机驱动时的传导干扰或漏电流,需要额外设置回路,成本增加,以及电机驱动中死区时间的设置会导致输出电压存在偏差。The problem solved by the present invention is that, in the prior art, in order to solve the conduction interference or leakage current when the motor is driven, an additional loop needs to be set up, which increases the cost, and the setting of the dead time in the motor drive will lead to deviation of the output voltage.
为解决上述问题,本发明提供一种电机驱动装置,一种电机驱动装置,用于驱动电机,所述电机为三相电机,其特征在于,包括前级处理电路及三相逆变器电路,所述前级处理电路用于将电源输出的交流电后输入三相逆变器电路,所述三相逆变器电路包括上桥臂电源线及下桥臂电源线,以及在上桥臂电源线及下桥臂电源线之间,按各相串联方式连接的上桥臂开关元件和下桥臂开关元件,各相的上桥臂开关元件与下桥臂开关元件的连接点连接电机,还包括控制装置,所述控制装置用于控制各相的上桥臂开关元件和下桥臂开关元件的开关定时,用所述电机一相相电压的变化抵消另一相的相电压变化导致的传导干扰和漏电流。In order to solve the above problems, the present invention provides a motor drive device, a motor drive device for driving a motor, and the motor is a three-phase motor, which is characterized in that it includes a pre-processing circuit and a three-phase inverter circuit, The pre-processing circuit is used to input the AC power output by the power supply into the three-phase inverter circuit, and the three-phase inverter circuit includes the power supply line of the upper bridge arm and the power supply line of the lower bridge arm, and the power supply line of the upper bridge arm. and the lower bridge arm power line, the upper bridge arm switch element and the lower bridge arm switch element connected in series in each phase, the connection point between the upper bridge arm switch element and the lower bridge arm switch element of each phase is connected to the motor, and also includes A control device, the control device is used to control the switching timing of the upper arm switching element and the lower arm switching element of each phase, and use the variation of the phase voltage of one phase of the motor to offset the conduction disturbance caused by the variation of the phase voltage of the other phase and leakage current.
所述电机一相相电压的变化抵消另一相的相电压变化导致的传导干扰和漏电流具体是指,在一个载波周期Tc内,至少有一个时刻,不同的两相之间的上桥臂开关元件或下桥臂开关元件同时进行相反的开关动作,相反的开关动作是指,上桥臂或者下桥臂中,一相的开关元件打开,另一相的开关元件关闭,该技术方案可以显著地降低开关元件在开关过程中产生的传导干扰和电机的漏电流,该技术方案与电流的方向无关,仅与所述上桥臂开关元件和下桥臂开关元件的开关定时有关。The variation of the phase-to-phase voltage of one phase of the motor offsets the conducted interference and leakage current caused by the variation of the phase-to-phase voltage of the other phase. The switching element or the switching element of the lower bridge arm performs opposite switching actions at the same time. The opposite switching action means that in the upper bridge arm or the lower bridge arm, the switching element of one phase is turned on, and the switching element of the other phase is turned off. This technical solution can The conduction interference and the leakage current of the motor generated by the switching element during the switching process are significantly reduced. The technical solution has nothing to do with the direction of the current, but is only related to the switching timing of the upper-side switching element and the lower-side switching element.
进一步的,在所述下桥臂电源线和所述前级处理电路之间设置有电流检测装置,所述电流检测装置用于检测各相输出的电流,所述控制装置根据所述电流检测装置检测到的电流方向,控制各相的上桥臂开关元件和下桥臂开关元件的脉冲宽度及时间,补偿因各相的上桥臂开关元件和/或下桥臂开关元件的死区时间而产生的电压偏移。Further, a current detection device is provided between the power line of the lower arm and the pre-processing circuit, the current detection device is used to detect the current output by each phase, and the control device is based on the current detection device. The detected current direction controls the pulse width and time of the upper and lower arm switching elements of each phase, and compensates for the delay caused by the dead time of the upper and/or lower arm switching elements of each phase. resulting voltage offset.
通过调整所述各相的上桥臂开关元件和下桥臂开关元件的脉冲宽度及时间,改变各相电流流向不同时的电压输出情况,当电流方向为负时,在死区时间的输出电压为高电压侧的电压,当电流方向为正时,在死区时间的输出电压为低电压侧的电压,各相的输出的平均电压并不会根据电流方向的变化而有所变化,即该设置对于因死区时间而产生的电压偏移进行补偿,消除了现有技术中死区时间导致的电流失真。By adjusting the pulse width and time of the upper arm switching element and the lower arm switching element of each phase, the voltage output of each phase when the current flows in different directions is changed. When the current direction is negative, the output voltage in the dead time is the voltage on the high-voltage side. When the current direction is positive, the output voltage at the dead time is the voltage on the low-voltage side, and the average output voltage of each phase does not change according to the current direction. The setting compensates for voltage offset due to dead time, eliminating current distortion caused by dead time in the prior art.
进一步的,所述控制装置包括:Further, the control device includes:
三相输出电压指令生成模块,用于生成三相电压指令;所述三相电压指令包括U相电压指令、V相电压指令和W相电压指令;a three-phase output voltage command generation module, configured to generate a three-phase voltage command; the three-phase voltage command includes a U-phase voltage command, a V-phase voltage command and a W-phase voltage command;
电流方向检测模块,用于根据所述电流检测装置检测到的电流判断电流的流向,并将电流流向判断结果输入载波选择模块;a current direction detection module for judging the current flow direction according to the current detected by the current detection device, and inputting the current flow direction judgment result into the carrier selection module;
锯波生成模块,用于生成若干组锯形载波,若干组所述锯波为脉冲输出的载波;a saw wave generation module, used to generate several groups of saw waves, and the several groups of the saw waves are the carriers of pulse output;
载波选择模块,用于根据电流方向检测模块的判断结果从锯波生成模块输出的若干组锯波中选择输入各相的载波;The carrier selection module is used to select and input the carrier of each phase from several groups of saw waves output by the saw wave generation module according to the judgment result of the current direction detection module;
比较器模块,用于比较三相电压指令和载波,并根据比较结果输出开关元件的驱动脉冲;The comparator module is used to compare the three-phase voltage command and the carrier wave, and output the driving pulse of the switching element according to the comparison result;
开关元件驱动模块,用于根据比较器模块输出的驱动脉冲驱动控制开关元件的打开或关闭。The switching element driving module is used for driving and controlling the switching element to be turned on or off according to the driving pulse output by the comparator module.
通过上述设置可以实现在同一时刻、同一桥臂中两相之间的开关元件做相反的动作,相互抵消开关动作时产生的传导干扰和漏电流,将整体的传导干扰和漏电流降低了一半左右,起到了显著的效果,同时还可以实现对于因死区时间而产生的电压偏移进行补偿,消除了现有技术中死区时间导致的电流失真,无论电机中流动的电流的方向如何,都能够输出不受各相的上下桥臂的开关产生的死区时间影响的输出电压。Through the above settings, the switching elements between the two phases in the same bridge arm can perform opposite actions at the same time, cancel each other out the conduction interference and leakage current generated during the switching action, and reduce the overall conduction interference and leakage current by about half , has a significant effect, and can also compensate for the voltage offset caused by the dead time, eliminating the current distortion caused by the dead time in the prior art, regardless of the direction of the current flowing in the motor. It is possible to output an output voltage that is not affected by the dead time caused by the switching of the upper and lower arms of each phase.
本发明还公开了一种电机驱动方法,用于驱动电机,所述电机为三相电机,其特征在于,所述驱动方法包括:控制电机各相的上桥臂开关元件和下桥臂开关元件的开关定时,在一个载波周期Tc内,至少有一个时刻,电机中不同的两相之间的上桥臂开关元件或下桥臂开关元件同时进行相反的开关动作。The invention also discloses a motor driving method for driving the motor, wherein the motor is a three-phase motor, and is characterized in that the driving method comprises: controlling an upper arm switch element and a lower arm switch element of each phase of the motor The switching timing of , in one carrier cycle Tc, at least one moment, the upper arm switching element or the lower arm switching element between different two phases in the motor simultaneously perform opposite switching actions.
该技术方案可以显著地降低开关元件在开关过程中产生的传导干扰和电机的漏电流。The technical solution can significantly reduce the conduction interference generated by the switching element during the switching process and the leakage current of the motor.
进一步的,检测电机各相电流方向,根据电流方向控制各相的上桥臂开关元件和下桥臂开关元件的脉冲宽度及时间,补偿因各相的上桥臂开关元件和/或下桥臂开关元件的死区时间而产生的电压偏移。Further, detect the current direction of each phase of the motor, control the pulse width and time of the upper arm switching element and the lower arm switching element of each phase according to the current direction, and compensate for the upper arm switching element and/or lower arm switching element of each phase. Voltage offset due to dead time of switching elements.
通过调整所述各相的上桥臂开关元件和下桥臂开关元件的脉冲宽度及时间,改变各相电流流向不同时的电压输出情况,当U相、V相电流方向均为负时,在死区时间的输出电压为高电压侧的电压,当U相、V相电流方向均为正时,在死区时间的输出电压为低电压侧的电压,各相的输出的平均电压并不会根据电流方向的变化而有所变化,即该设置对于因死区时间而产生的电压偏移进行补偿,消除了现有技术中死区时间导致的电流失真。By adjusting the pulse width and time of the upper arm switching element and the lower arm switching element of each phase, the voltage output when each phase current flows in different directions is changed. When the U-phase and V-phase current directions are both negative, the The output voltage at the dead time is the voltage on the high voltage side. When the U-phase and V-phase current directions are both positive, the output voltage at the dead time is the voltage on the low voltage side, and the average output voltage of each phase does not change. It varies according to the change of the current direction, that is, the setting compensates for the voltage offset caused by the dead time, which eliminates the current distortion caused by the dead time in the prior art.
进一步的,根据载波的变化控制各相的上桥臂开关元件和下桥臂开关元件的开关定时,或,根据电流方向选择各相的上桥臂开关元件和下桥臂开关元件驱动脉冲所需的载波,并根据载波控制各相的上桥臂开关元件和下桥臂开关元件脉冲宽度及时间。Further, control the switching timing of the upper arm switching element and the lower arm switching element of each phase according to the change of the carrier wave, or select the driving pulse required for the upper arm switching element and the lower arm switching element of each phase according to the current direction. and control the pulse width and time of the upper bridge arm switching element and the lower bridge arm switching element of each phase according to the carrier wave.
根据载波控制开关定时和/或脉冲宽度简单有效,对成本的影响有限。Controlling switch timing and/or pulse width based on the carrier is simple and effective with limited impact on cost.
进一步的,所述载波为锯形载波,包括:Further, the carrier is a saw-shaped carrier, including:
第1载波,所述第1载波为在一个载波周期Tc相对于时间具有正倾斜的锯齿波;the first carrier wave, the first carrier wave is a sawtooth wave with a positive slope with respect to time in one carrier cycle Tc;
第2载波,所述第2载波为在一个载波周期Tc相对于时间具有负倾斜的锯齿波;a second carrier wave, the second carrier wave is a sawtooth wave having a negative slope with respect to time in one carrier cycle Tc;
第3载波,所述第3载波是相对于第1载波将时间提前了死区时间的锯齿波;a third carrier, the third carrier is a sawtooth wave whose time is advanced by the dead time relative to the first carrier;
第4载波,所述第4载波是相对于第2载波将时间提前了死区时间的锯齿波;the fourth carrier, the fourth carrier is a sawtooth wave whose time is advanced by the dead time relative to the second carrier;
第5载波,所述第5载波是相对于第1载波将时间延迟了死区时间的锯齿波;a fifth carrier, the fifth carrier is a sawtooth wave whose time is delayed by the dead time relative to the first carrier;
第6载波,所述第6载波是相对于第2载波将时间延迟了死区时间的锯齿波。The sixth carrier is a sawtooth wave whose time is delayed by the dead time with respect to the second carrier.
通过多个载波的变化,可以控制电机各相的脉冲宽度和/或开关定时,可以有效地降低开关元件进行开关动作时的传导干扰和漏电流,也可以降低死区时间产生的输出电压偏差,消除电流失真。Through the change of multiple carriers, the pulse width and/or switching timing of each phase of the motor can be controlled, which can effectively reduce the conduction interference and leakage current when the switching element performs switching operations, and can also reduce the output voltage deviation caused by dead time. Eliminate current distortion.
进一步的,所述电机包括U相、V相、W相,U相、V相、W相上桥臂依次设置第一开关、第三开关、第五开关,下桥臂依次设置第二开关、第四开关、第六开关,选择第6载波作为第一开关的驱动脉冲载波、第2载波作为第二开关的驱动脉冲载波;选择第3载波作为第三开关的驱动脉冲载波、第1载波作为第四开关的驱动脉冲载波。Further, the motor includes U-phase, V-phase, and W-phase. The upper bridge arms of U-phase, V-phase and W-phase are sequentially provided with a first switch, a third switch, and a fifth switch, and the lower bridge arms are sequentially provided with a second switch, The fourth switch and the sixth switch select the sixth carrier as the driving pulse carrier of the first switch, and the second carrier as the driving pulse carrier of the second switch; select the third carrier as the driving pulse carrier of the third switch, and the first carrier as the driving pulse carrier of the third switch. The driving pulse carrier of the fourth switch.
该设置实现了在同一时刻、同一桥臂中两相之间的开关元件做相反的开关动作,相互抵消了开关动作时产生的传导干扰和漏电流。The setting realizes that the switching elements between the two phases in the same bridge arm perform opposite switching actions at the same time, and mutually cancel the conduction interference and leakage current generated during the switching action.
进一步的,所述电机包括U相、V相、W相,U相、V相、W相上桥臂依次设置第一开关、第三开关、第五开关,下桥臂依次设置第二开关、第四开关、第六开关,当U相、V相电流方向均为正时,选择第2载波作为第一开关的驱动脉冲载波、第4载波作为第二开关的驱动脉冲载波,选择第1载波作为第三开关的驱动脉冲载波、第5载波作为第四开关的驱动脉冲载波;当U相、V相电流方向均为负时,选择第6载波作为第一开关的驱动脉冲载波、第2载波作为第二开关的驱动脉冲载波,选择第3载波作为第三开关的驱动脉冲载波、第1载波作为第四开关的驱动脉冲载波。Further, the motor includes U-phase, V-phase, and W-phase. The upper bridge arms of U-phase, V-phase and W-phase are sequentially provided with a first switch, a third switch, and a fifth switch, and the lower bridge arms are sequentially provided with a second switch, The fourth switch and the sixth switch, when the U-phase and V-phase current directions are both positive, select the second carrier as the driving pulse carrier of the first switch, the fourth carrier as the driving pulse carrier of the second switch, and select the first carrier As the driving pulse carrier of the third switch, the fifth carrier is used as the driving pulse carrier of the fourth switch; when the U-phase and V-phase current directions are both negative, the sixth carrier is selected as the driving pulse carrier and the second carrier of the first switch. As the driving pulse carrier of the second switch, the third carrier is selected as the driving pulse carrier of the third switch, and the first carrier is selected as the driving pulse carrier of the fourth switch.
该设置对于因死区时间而产生的电压偏移进行补偿,消除了现有技术中死区时间导致的电流失真。This setting compensates for the voltage offset due to dead time, eliminating the current distortion caused by dead time in the prior art.
本发明还公开了一种空调,包括存储有计算机程序的计算机可读存储介质和处理器,所述计算机程序被所述处理器读取并运行时,实现如上所述的电机驱动方法。The present invention also discloses an air conditioner, comprising a computer-readable storage medium storing a computer program and a processor, and when the computer program is read and run by the processor, the above-mentioned motor driving method is implemented.
所述空调与上述电机驱动方法相对于现有技术所具有的优势相同,在此不再赘述。The air conditioner and the above-mentioned motor driving method have the same advantages over the prior art, which will not be repeated here.
本发明还公开了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器读取并运行时,实现如上所述的电机驱动方法。The present invention also discloses a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is read and executed by a processor, the above-mentioned motor driving method is implemented.
相对于现有技术,本发明所述的电机驱动装置、方法、空调及计算机可读存储介质具有以下优势:Compared with the prior art, the motor drive device, method, air conditioner and computer-readable storage medium of the present invention have the following advantages:
本发明通过在驱动回路中设置电流检测装置,根据电流检测装置检测到的电流方向,变更各相的上下桥臂开关元件的开关定时,使用一相相电压的变化降低另一相开关过程产生的传导干扰及漏电流,另外,根据电流检测装置检测到的电流方向,变更各相的上下桥臂开关元件的开关定时以及脉冲宽度,可以有效地补偿死区时间引起的电压偏移,消除电流失真,本发明提供的电机驱动装置结构简单,仅需增设电流检测装置即可,在降低了消除传导干扰和漏电流成本的同时,消除了死区时间带来的电压偏移及电流失真本发明结构简单,对现有逆变器电路的变动较小,仅增加了电流检测及载波选择模块,对成本影响较小。In the present invention, a current detection device is arranged in the driving circuit, and according to the current direction detected by the current detection device, the switching timing of the upper and lower bridge arm switching elements of each phase is changed, and the change of the phase voltage of one phase is used to reduce the voltage generated by the switching process of the other phase. Conduction interference and leakage current, in addition, according to the current direction detected by the current detection device, the switching timing and pulse width of the upper and lower bridge arm switching elements of each phase can be changed, which can effectively compensate for the voltage offset caused by dead time and eliminate current distortion. The motor drive device provided by the present invention has a simple structure, and only needs to add a current detection device, which not only reduces the cost of eliminating conduction interference and leakage current, but also eliminates the voltage offset and current distortion caused by dead time. The structure of the present invention Simple, the change to the existing inverter circuit is small, only the current detection and carrier selection modules are added, and the impact on the cost is small.
附图说明Description of drawings
图1为本发明实施例所述的电机驱动装置的结构示意图;FIG. 1 is a schematic structural diagram of a motor drive device according to an embodiment of the present invention;
图2为现有技术中电机驱动装置逆变电路上下桥臂开关元件的开关控制装置的结构示意图;2 is a schematic structural diagram of a switch control device for switching elements of upper and lower bridge arms of an inverter circuit of a motor drive device in the prior art;
图3为现有技术中电机驱动装置逆变电路上下桥臂开关元件的开关时序图;3 is a switching sequence diagram of the switching elements of the upper and lower bridge arms of the inverter circuit of the motor drive device in the prior art;
图4为现有技术中电机驱动装置U相、V相的端子电压相对于电流方向的推移时序图;FIG. 4 is a timing chart of the transition of the terminal voltage of the U-phase and the V-phase of the motor drive device with respect to the current direction in the prior art;
图5为本发明中控制电机驱动装置逆变器回路上下桥臂开关元件的开关控制装置的结构示意图;5 is a schematic structural diagram of the switch control device for controlling the switch elements of the upper and lower bridge arms of the inverter circuit of the motor drive device according to the present invention;
图6为本发明中电机驱动装置逆变电路上下桥臂开关元件的开关时序图;6 is a switching sequence diagram of the switching elements of the upper and lower bridge arms of the inverter circuit of the motor drive device in the present invention;
图7为现有技术中的电机驱动装置的三相开关波形和传导干扰、漏电流检测结果的波形示意图;7 is a schematic diagram of the waveforms of the three-phase switching waveform and the conduction interference and leakage current detection results of the motor drive device in the prior art;
图8为本发明中的电机驱动装置的三相开关波形和传导干扰、漏电流的检测结果的波形示意图;8 is a schematic diagram of waveforms of three-phase switching waveforms and detection results of conduction interference and leakage current of the motor drive device of the present invention;
图9为本发明中U相电流为负、V相电流为负时,电机驱动装置逆变电路上下桥臂开关元件的开关时序图;9 is a switching timing diagram of the switching elements of the upper and lower bridge arms of the inverter circuit of the motor drive device when the U-phase current is negative and the V-phase current is negative in the present invention;
图10为本发明中U相电流为正、V相电流为正时,电机驱动装置逆变电路上下桥臂开关元件的开关时序图。10 is a switching timing diagram of the switching elements of the upper and lower bridge arms of the inverter circuit of the motor drive device when the U-phase current is positive and the V-phase current is positive in the present invention.
附图标记说明:Description of reference numbers:
1-交流电源;2-整流回路;3-平滑电容;4a-第一开关;4b-第一回流二极管;5a-第二开关;5b-第二回流二极管;6a-第三开关;6b-第三回流二极管;7a-第四开关;7b-第四回流二极管;8a-第五开关;8b-第五回流二极管;9a-第六开关;9b-第六回流二极管;10-电机;11-控制装置;12-电流检测装置;20-三角载波生成模块;21-三相电压指令生成模块;22a-第一比较器;22b-第二比较器;22c-第三比较器;22d-第四比较器;22e-第五比较器;22f-第六比较器;23a-第一驱动器;23b-第二驱动器;23c-第三驱动器;23d-第四驱动器;23e-第五驱动器;23f-第六驱动器;30-锯波生成模块;31-载波选择模块;32-电流方向检测模块;33-三相输出电压指令生成模块;34a-第七比较器;34b-第八比较器;34c-第九比较器;34d-第十比较器;34e-第十一比较器;34f-第十二比较器;35a-第七驱动器;35b-第八驱动器;35c-第九驱动器;35d-第十驱动器;35e-第十一驱动器;35f-第十二驱动器。1-AC power supply; 2-rectification loop; 3-smoothing capacitor; 4a-first switch; 4b-first return diode; 5a-second switch; 5b-second return diode; 6a-third switch; 6b-th Three return diodes; 7a-fourth switch; 7b-fourth return diode; 8a-fifth switch; 8b-fifth return diode; 9a-sixth switch; 9b-sixth return diode; 10-motor; 11-control device; 12-current detection device; 20-triangle carrier generation module; 21-three-phase voltage command generation module; 22a-first comparator; 22b-second comparator; 22c-third comparator; 22d-fourth comparison 22e-fifth comparator; 22f-sixth comparator; 23a-first driver; 23b-second driver; 23c-third driver; 23d-fourth driver; 23e-fifth driver; 23f-sixth Driver; 30-saw wave generation module; 31-carrier selection module; 32-current direction detection module; 33-three-phase output voltage command generation module; 34a-seventh comparator; 34b-eighth comparator; 34c-ninth comparator; 34d-tenth comparator; 34e-eleventh comparator; 34f-twelfth comparator; 35a-seventh driver; 35b-eighth driver; 35c-ninth driver; 35d-tenth driver; 35e - eleventh drive; 35f - twelfth drive.
具体实施方式Detailed ways
为使本发明目的、技术方案和优点更加清楚,下面将结合附图及实施例,对本发明进行进一步详细说明。应当理解,所描述的实施例是本发明一部分实施例,而不是全部的实施例。此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the described embodiments are some, but not all, of the embodiments of the present invention. The specific embodiments described herein are only used to explain the present invention, and are not intended to limit the present invention. It should be noted that the embodiments of the present invention and the features of the embodiments may be combined with each other under the condition of no conflict.
现有技术中,三相逆变电路上下桥臂开关元件包括第一开关4a及与其并联设置的第一回流二极管4b、第二开关5a及与其并联设置的第二回流二极管5b、第三开关6a及与其并联设置的第三回流二极管6b、第四开关7a及与其并联设置的第四回流二极管7b、第五开关8a及与其并联设置的第五回流二极管8b、第六开关9a及与其并联设置的第六回流二极管9b;其中,所述第一开关4a、第一回流二极管4b、第三开关6a、第三回流二极管6b、第五开关8a、第五回流二极管8b构成上桥臂开关元件,第二开关5a、第二回流二极管5b、第四开关7a、第四回流二极管7b、第六开关9a、第六回流二极管9b构成下桥臂开关元件,所述第一开关4a、第二开关5a的串联连接点与电机10的U相连接,所述第三开关6a、第四开关7a的串联连接点与电机10的V相连接,所述第五开关8a、第六开关9a的串联连接点与电机10的W相连接,逆变电路中上下桥臂开关元件的控制装置结构如图2所示,包括:In the prior art, the switching elements of the upper and lower arms of the three-phase inverter circuit include a
三相电压指令生成模块21,用于生成三相交流电压指令;所述三相电压指令包括U相电压指令、V相电压指令和W相电压指令;The three-phase voltage
三角载波生成模块20,用于生成三角波,所述三角波为脉冲输出的载波;A triangular
比较器模块,用于比较三相电压指令和载波,并根据比较结果输出开关元件的驱动脉冲;The comparator module is used to compare the three-phase voltage command and the carrier wave, and output the driving pulse of the switching element according to the comparison result;
开关元件驱动模块,用于根据比较器模块输出的驱动脉冲驱动控制开关元件的打开或关闭;The switching element driving module is used to drive and control the opening or closing of the switching element according to the driving pulse output by the comparator module;
其中,所述比较器模块包括第一比较器22a、第二比较器22b、第三比较器22c、第四比较器22d、第五比较器22e、第六比较器22f;开关元件驱动模块包括第一驱动器23a、第二驱动器23b、第三驱动器23c、第四驱动器23d、第五驱动器23e、第六驱动器23f;所述第一比较器22a、第一驱动器23a、第一开关4a依次连接;第二比较器22b、第二驱动器23b、第二开关5a依次连接,第三比较器22c、第三驱动器23c、第三开关6a依次连接;第四比较器22d、第四驱动器23d、第四开关7a依次连接;第五比较器22e、第五驱动器23e、第五开关8a依次连接;第六比较器22f、第六驱动器23f、第六开关9a依次连接;The comparator module includes a
为了降低逆变电路中开关元件打开或关闭时产生的泄露电流及传导干扰,所述三角载波生成模块20生成相对应的两种载波,分别为第I载波和第II载波,所述第II载波相对于第I载波提前了死区时间,如图2所示,所述第I载波连接下桥臂开关元件对应的比较器的正极,所述第II载波连接上桥臂相关开关元件对应的比较器的负极,所述三相电压指令生成模块21分别连接上桥臂相关开关元件对应的比较器的正极,以及下桥臂开关元件对应的比较器的负极,并据此可以获得图3所示的现有技术中电机驱动装置逆变电路上下桥臂开关元件的开关时序图,图3上半部分表示的是PWM调制中载波和输出电压指令值的时间推移变化情况,下半部分表示与三相交流对应的第一开关4a~9a的开关时间,应当理解的,第一开关4a~9a表示包括第一开关4a、第二开关5a、第三开关6a、第四开关7a、第五开关8a、第六开关9a在内的开关,后续以此类推。In order to reduce the leakage current and conduction interference generated when the switching element in the inverter circuit is turned on or off, the triangular
从图3中可以看出,对于U相的电压指令,对应的第一开关4a、5a根据U相电压指令与第I载波、第II载波的比较器的比较结果,在时刻t3~t6期间第二开关5a导通,与此相对,通过驱动器进行开关控制,使得第一开关4a以设置有用于避免同时导通的死区时间的脉冲宽度接通。同样,对于V相的输出电压,对应的第三开关6a、第四开关7a根据V相电压指令和第I载波、第II载波的比较器的比较结果,在时刻t4~t5之间第四开关7a接通,与此相对,通过驱动器进行开关控制,使得第三开关6a以设置有用于避免同时导通的死区时间的脉冲宽度导通;W相在该区间被固定为电压0,三相交流以U相和V相的电压差成为驱动电机10的交流电压,用于驱动电机10。It can be seen from FIG. 3 that, for the U-phase voltage command, the corresponding
图4上半部分是与图3下半部分对应的第一开关4a~第六开关9a的开关时间,图4的下半部分表示各相电流方向对应的输出电压的变化情况,其中,电流从逆变器电路向电机10方向流动时电流方向为正,电流从电机10向逆变器电路流动时电流方向为负,各相输出电压在图1中直流部的正侧电压(设为+Vdc)和负侧电压(设为0)之间变化,从图4中可以看出,在死区时间区间中,在各相电流为正时,输出为负侧电压0,各相电流为负时,输出为正侧电压+Vdc,以U向的输出电压为例,在电流为正时,在t1~t8期间输出电压为0,但是在电流为负时,在t3~t6期间的输出电压为0,因此,死区时间的设置导致各相的输出的平均电压根据电流方向的变化而有所变化,导致输出电压在死区时间出现偏移,电机10无法施加所需的电压,产生电流偏移,导致电流失真。The upper part of FIG. 4 is the switching time of the
图7上半部分为现有技术中U、V、W三相上桥臂开关元件的开关状态波形,图7下半部分为现有技术中通过LISN(Line Impedance Stabilization Network,线路阻抗稳定网络)检测到的开关元件开关过程中产生的传导干扰以及电机的漏电流。The upper part of Fig. 7 is the switching state waveform of the U, V, W three-phase upper arm switching elements in the prior art, and the lower part of Fig. 7 is the prior art through LISN (Line Impedance Stabilization Network, line impedance stabilization network) Conducted disturbances detected during switching of switching elements and leakage currents of the motor.
下面结合附图具体描述本发明实施例的电机驱动装置、方法、空调及计算机可读存储介质。The motor driving apparatus, method, air conditioner, and computer-readable storage medium according to the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
实施例1Example 1
本实施例提供一种电机驱动装置,用于驱动电机10,所述电机10为三相电机,如图1所示,包括前级处理电路及三相逆变器电路,所述前级处理电路用于将电源输出的交流电后输入三相逆变器电路,所述三相逆变器电路包括上桥臂电源线及下桥臂电源线,以及在上桥臂电源线及下桥臂电源线之间,按各相串联方式连接的上桥臂开关元件和下桥臂开关元件,各相的上桥臂开关元件与下桥臂开关元件的连接点连接电机10,还包括控制装置11,所述控制装置11用于控制各相的上桥臂开关元件和下桥臂开关元件的开关定时,用所述电机10一相相电压的变化抵消另一相的相电压变化导致的传导干扰和漏电流。具体在本实施例中,所述前级处理电路包括交流电源1、整流回路2、平滑电容3,用于将所述交流电源1输出的交流电暂时转化成平滑的直流电,所述上桥臂开关元件、下桥臂开关元件的结构及连接方式与现有技术中相同,在此不再赘述。所述电机10一相相电压的变化抵消另一相的相电压变化导致的传导干扰和漏电流具体是指,在一个载波周期Tc内,至少有一个时刻,不同的两相之间的上桥臂开关元件或下桥臂开关元件同时进行相反的开关动作,相反的开关动作是指,上桥臂或者下桥臂中,一相的开关元件打开,另一相的开关元件关闭,具体如图6所示,在t10时刻,U相下桥臂的第二开关5a打开,V相下桥臂的第四开关7a关闭,通过两相之间同步的打开、关闭的操作,降低了开关元件在开关时产生的共模干扰以及电机10的漏电流,其检测结果见图8,相对于图7,本实施例提供的技术方案可以显著地降低开关元件在开关过程中产生的传导干扰和电机10的漏电流,该技术方案与电流的方向无关,仅与所述上桥臂开关元件和下桥臂开关元件的开关定时有关。The present embodiment provides a motor driving device for driving a
较佳的,在所述下桥臂电源线和所述前级处理电路之间设置有电流检测装置12,所述电流检测装置12用于检测各相输出的电流,所述控制装置11根据所述电流检测装置12检测到的电流方向,控制各相的上桥臂开关元件和下桥臂开关元件的脉冲宽度及时间,补偿因各相的上桥臂开关元件和/或下桥臂开关元件的死区时间而产生的电压偏移。具体如图9、图10所示,通过调整所述各相的上桥臂开关元件和下桥臂开关元件的脉冲宽度及时间,改变各相电流流向不同时的电压输出情况,当电流方向为负时,在死区时间的输出电压为高电压侧的电压,当电流方向为正时,在死区时间的输出电压为低电压侧的电压,各相的输出的平均电压并不会根据电流方向的变化而有所变化,即该设置对于因死区时间而产生的电压偏移进行补偿,消除了现有技术中死区时间导致的电流失真。Preferably, a
具体的,所述控制装置11包括:Specifically, the
三相输出电压指令生成模块33,用于生成三相电压指令;所述三相电压指令包括U相电压指令、V相电压指令和W相电压指令;The three-phase output voltage
电流方向检测模块32,用于根据所述电流检测装置12检测到的电流判断电流的流向,并将电流流向判断结果输入载波选择模块31;The current
锯波生成模块30,用于生成若干组锯波,若干组所述锯波为脉冲输出的载波;The saw
载波选择模块31,用于根据电流方向检测模块32的判断结果从锯波生成模块30输出的若干组锯波中选择输入各相的载波;The
比较器模块,用于比较三相电压指令和载波,并根据比较结果输出开关元件的驱动脉冲;The comparator module is used to compare the three-phase voltage command and the carrier wave, and output the driving pulse of the switching element according to the comparison result;
开关元件驱动模块,用于根据比较器模块输出的驱动脉冲驱动控制开关元件的打开或关闭。The switching element driving module is used for driving and controlling the switching element to be turned on or off according to the driving pulse output by the comparator module.
具体在本实施例中,所述比较器模块包括第七比较器34a、第八比较器34b、第九比较器34c、第十比较器34d、第十一比较器34e、第十二比较器34f;所述开关元件驱动模块包括第七驱动器35a、第八驱动器35b、第九驱动器35c、第十驱动器35d、第十一驱动器35e、第十二驱动器35f;所述第七比较器34a、第七驱动器35a、第一开关4a依次连接;第八比较器34b、第八驱动器35b、第二开关5a依次连接,第九比较器34c、第九驱动器35c、第三开关6a依次连接;第十比较器34d、第十驱动器35d、第四开关7a依次连接;第十一比较器34e、第十一驱动器35e、第五开关8a依次连接;第十二比较器34f、第十二驱动器35f、第六开关9a依次连接;Specifically in this embodiment, the comparator module includes a
在其中的一些实施例中,所述锯波生成模块30用于生成6组载波,分别为:In some of the embodiments, the saw
第1载波,所述第1载波为在一个载波周期Tc相对于时间具有正倾斜的锯齿波;the first carrier wave, the first carrier wave is a sawtooth wave with a positive slope with respect to time in one carrier cycle Tc;
第2载波,所述第2载波为在一个载波周期Tc相对于时间具有负倾斜的锯齿波;a second carrier wave, the second carrier wave is a sawtooth wave having a negative slope with respect to time in one carrier cycle Tc;
第3载波,所述第3载波是相对于第1载波将时间提前了死区时间的锯齿波;a third carrier, the third carrier is a sawtooth wave whose time is advanced by the dead time relative to the first carrier;
第4载波,所述第4载波是相对于第2载波将时间提前了死区时间的锯齿波;the fourth carrier, the fourth carrier is a sawtooth wave whose time is advanced by the dead time relative to the second carrier;
第5载波,所述第5载波是相对于第1载波将时间延迟了死区时间的锯齿波;a fifth carrier, the fifth carrier is a sawtooth wave whose time is delayed by the dead time relative to the first carrier;
第6载波,所述第6载波是相对于第2载波将时间延迟了死区时间的锯齿波;a sixth carrier, the sixth carrier is a sawtooth wave whose time is delayed by the dead time relative to the second carrier;
具体如图6所示,通过所述载波选择模块31选择第6载波、第2载波与U相电压指令结合生成第一开关4a、第二开关5a的驱动脉冲,选择第3载波、第1载波与V相电压指令结合生成第三开关6a、第四开关7a的驱动脉冲,从图6中可以看出,U相中,在t0~t1期间,第二开关5a接通,在延迟了死区时间之后,第一开关4a在t2~t4期间接通,之后又延迟死区时间,在t10时刻,第二开关5a接通;V相中同样存在多个死区时间,在t10时刻,第四开关7a关闭,在同一时刻、同一桥臂中两相之间的开关元件做相反的动作,相互抵消了开关动作时产生的传导干扰和漏电流,具体检测结果见图8,对比图7可以看出,U相和V相在同一时刻的相反的开关动作,将整体的传导干扰和漏电流降低了一半左右,起到了显著的效果,需要说明的时,达成该效果与电流方向无关,应当理解的是,本发明中使用的载波波形并不仅限于上述6种载波,也可以使用其他的载波波形,以能够实现一相的相电压变化与另一相的相电压变化同时相反发生即可。Specifically, as shown in FIG. 6 , the
在另一个实施例中,当U相电流方向为正时,选择第2载波、第4载波与U相电压指令结合生成第一开关4a、第二开关5a的驱动脉冲,当U相电流方向为负时,选择第6载波、第2载波与U相电压指令结合生成第一开关4a、第二开关5a的驱动脉冲;当V相电流方向为正时,选择第1载波、第5载波与V相电压指令结合生成第三开关6a、第四开关7a的驱动脉冲,当V相电流方向为负时,选择第3载波、第1载波与V相电压指令结合生成第三开关6a、第四开关7a的驱动脉冲,在此情况下,对应输出电压情况如图9、图10所示,可以看出,在当U相、V相电流方向均为负时,在死区时间的输出电压为高电压侧的电压,当U相、V相电流方向均为正时,在死区时间的输出电压为低电压侧的电压,各相的输出的平均电压并不会根据电流方向的变化而有所变化,即该设置对于因死区时间而产生的电压偏移进行补偿,消除了现有技术中死区时间导致的电流失真,可以看出,无论电机10中流动的电流的方向如何,都能够输出不受各相的上下桥臂的开关产生的死区时间影响的输出电压,同时,在t10时刻同样发生了上桥臂开关元件或者下桥臂开关元件执行反向开关操作的情况,有效地降低了开关动作产生的传输干扰和漏电流。In another embodiment, when the U-phase current direction is positive, the second carrier, the fourth carrier and the U-phase voltage command are selected to generate driving pulses for the
通过上述结构,本发明的电机驱动装置能够以简单的结构降低传导干扰及漏电流,并且,能够补偿死区时间引起的电压偏移,在电机10驱动时不会发生电流偏移。With the above structure, the motor driving device of the present invention can reduce conduction disturbance and leakage current with a simple structure, and can compensate for voltage offset caused by dead time, so that no current offset occurs when the
实施例2Example 2
本实施例公开了一种电机驱动方法,所述电机驱动方法采用如实施例1中所述的电机驱动装置。This embodiment discloses a motor driving method, and the motor driving method adopts the motor driving device described in
所述电机驱动方法用于驱动电机10,所述电机10为三相电机,所述驱动方法包括:控制电机10各相的上桥臂开关元件和下桥臂开关元件的开关定时,在一个载波周期Tc内,至少有一个时刻,电机10中不同的两相之间的上桥臂开关元件或下桥臂开关元件同时进行相反的开关动作,相反的开关动作是指,上桥臂或者下桥臂中,一相的开关元件打开,另一相的开关元件关闭,用电机10一相相电压的变化抵消另一相的相电压变化导致的传导干扰和漏电流,具体如图6所示,在t10时刻,U相下桥臂的第二开关5a打开,V相下桥臂的第四开关7a关闭,通过两相之间同步的打开、关闭的操作,降低了开关元件在开关时产生的共模干扰以及电机10的漏电流,其检测结果见图8,相对于图7,本实施例提供的技术方案可以显著地降低开关元件在开关过程中产生的传导干扰和电机10的漏电流,该技术方案与电流的方向无关,仅与所述上桥臂开关元件和下桥臂开关元件的开关定时有关。The motor driving method is used to drive the
作为一个较佳的实施例,所述驱动方法还包括:检测电机10各相电流方向,根据电流方向控制各相的上桥臂开关元件和下桥臂开关元件的脉冲宽度及时间,补偿因各相的上桥臂开关元件和/或下桥臂开关元件的死区时间而产生的电压偏移。具体如图9、图10所示,通过调整所述各相的上桥臂开关元件和下桥臂开关元件的脉冲宽度及时间,改变各相电流流向不同时的电压输出情况,当U相、V相电流方向均为负时,在死区时间的输出电压为高电压侧的电压,当U相、V相电流方向均为正时,在死区时间的输出电压为低电压侧的电压,各相的输出的平均电压并不会根据电流方向的变化而有所变化,即该设置对于因死区时间而产生的电压偏移进行补偿,消除了现有技术中死区时间导致的电流失真。As a preferred embodiment, the driving method further includes: detecting the current direction of each phase of the
具体的,在本实施例中,根据载波的变化控制各相的上桥臂开关元件和下桥臂开关元件的开关定时,或,根据电流方向选择各相的上桥臂开关元件和下桥臂开关元件驱动脉冲所需的载波,并根据载波控制各相的上桥臂开关元件和下桥臂开关元件脉冲宽度及时间。根据载波控制开关定时和/或脉冲宽度简单有效,对成本的影响有限。Specifically, in this embodiment, the switching timings of the upper arm switching element and the lower arm switching element of each phase are controlled according to the change of the carrier wave, or the upper arm switching element and the lower arm switching element of each phase are selected according to the current direction The switching element drives the carrier required by the pulse, and controls the pulse width and time of the upper and lower switching elements of each phase according to the carrier. Controlling switch timing and/or pulse width based on the carrier is simple and effective, with limited impact on cost.
作为本发明的一个实施例,所述载波为锯形载波,包括:As an embodiment of the present invention, the carrier wave is a saw-shaped carrier wave, including:
第1载波,所述第1载波为在一个载波周期Tc相对于时间具有正倾斜的锯齿波;the first carrier wave, the first carrier wave is a sawtooth wave with a positive slope with respect to time in one carrier cycle Tc;
第2载波,所述第2载波为在一个载波周期Tc相对于时间具有负倾斜的锯齿波;a second carrier wave, the second carrier wave is a sawtooth wave having a negative slope with respect to time in one carrier cycle Tc;
第3载波,所述第3载波是相对于第1载波将时间提前了死区时间的锯齿波;a third carrier, the third carrier is a sawtooth wave whose time is advanced by the dead time relative to the first carrier;
第4载波,所述第4载波是相对于第2载波将时间提前了死区时间的锯齿波;the fourth carrier, the fourth carrier is a sawtooth wave whose time is advanced by the dead time relative to the second carrier;
第5载波,所述第5载波是相对于第1载波将时间延迟了死区时间的锯齿波;a fifth carrier, the fifth carrier is a sawtooth wave whose time is delayed by the dead time relative to the first carrier;
第6载波,所述第6载波是相对于第2载波将时间延迟了死区时间的锯齿波。The sixth carrier is a sawtooth wave whose time is delayed by the dead time with respect to the second carrier.
在本实施例中,作为控制开关的PWM驱动脉冲的载波,使用周期为Tc、振幅为Vc的锯齿形波,通过与输出的三相电压的比较,决定第一开关4a~第六开关9a的开关时间,通过多个载波的变化,可以控制电机10各相的脉冲宽度和/或开关定时,可以有效地降低开关元件进行开关动作时的传导干扰和漏电流,也可以降低死区时间产生的输出电压偏差,消除电流失真。In the present embodiment, a sawtooth wave having a period of Tc and an amplitude of Vc is used as the carrier of the PWM drive pulse for controlling the switches, and the voltages of the first to
在一个具体的实施例中,所述电机10包括U相、V相、W相,U相、V相、W相上桥臂依次设置第一开关4a、第三开关6a、第五开关8a,下桥臂依次设置第二开关5a、第四开关7a、第六开关9a,选择第6载波作为第一开关4a的驱动脉冲载波、第2载波作为第二开关5a的驱动脉冲载波;选择第3载波作为第三开关6a的驱动脉冲载波、第1载波作为第四开关7a的驱动脉冲载波;从图6中可以看出,U相中,在t0~t1期间,第二开关5a接通,在延迟了死区时间之后,第一开关4a在t2~t4期间接通,之后又延迟死区时间,在t10时刻,第二开关5a接通;V相中同样存在多个死区时间,在t10时刻,第四开关7a关闭,在同一时刻、同一桥臂中两相之间的开关元件做相反的动作,相互抵消了开关动作时产生的传导干扰和漏电流,由于W相在此过程中输出电压始终为0,在此不做具体限定。具体检测结果见图8,对比图7可以看出,U相和V相在同一时刻的相反的开关动作,将整体的传导干扰和漏电流降低了一半左右,起到了显著的效果,需要说明的时,达成该效果与电流方向无关。In a specific embodiment, the
在另一个实施例中,所述电机10包括U相、V相、W相,U相、V相、W相上桥臂依次设置第一开关4a、第三开关6a、第五开关8a,下桥臂依次设置第二开关5a、第四开关7a、第六开关9a,当U相、V相电流方向均为正时,选择第2载波作为第一开关4a的驱动脉冲载波、第4载波作为第二开关5a的驱动脉冲载波,选择第1载波作为第三开关6a的驱动脉冲载波、第5载波作为第四开关7a的驱动脉冲载波;当U相、V相电流方向均为负时,选择第6载波作为第一开关4a的驱动脉冲载波、第2载波作为第二开关5a的驱动脉冲载波,选择第3载波作为第三开关6a的驱动脉冲载波、第1载波作为第四开关7a的驱动脉冲载波;在此情况下,对应输出电压情况如图9、图10所示,可以看出,在当U相、V相电流方向均为负时,在死区时间的输出电压为高电压侧的电压,当U相、V相电流方向均为正时,在死区时间的输出电压为低电压侧的电压,各相的输出的平均电压并不会根据电流方向的变化而有所变化,即该设置对于因死区时间而产生的电压偏移进行补偿,消除了现有技术中死区时间导致的电流失真,由于W相在此过程中输出电压始终为0,在此不做具体限定。可以看出,无论电机10中流动的电流的方向如何,都能够输出不受各相的上下桥臂的开关产生的死区时间影响的输出电压,同时,在t10时刻同样发生了上桥臂开关元件或者下桥臂开关元件执行反向开关操作的情况,有效地降低了开关动作产生的传输干扰和漏电流。In another embodiment, the
在本实施例中,其中一种可选的载波的选择方案如表1、表2所示,In this embodiment, the selection scheme of one of the optional carriers is shown in Table 1 and Table 2,
表1 U相开关元件驱动脉冲载波选择表Table 1 U-phase switching element drive pulse carrier selection table
表2 V相开关元件驱动脉冲载波选择表Table 2 V-phase switching element drive pulse carrier selection table
从图10中可以看出,当U相、V相电流方向为正时,在上桥臂和下桥臂开关元件切换的死区时间,输出电压为低电压侧的电压,当U相、V相电流方向为负时,在上桥臂和下桥臂开关元件切换的死区时间,输出电压为高电压侧的电压,同时,在图9、图10的t0、t10时刻,U相和V相的开关执行互相相反的开关动作,有效地降低了开关过程中产生的传导干扰和漏电流。It can be seen from Figure 10 that when the U-phase and V-phase current directions are positive, the output voltage is the voltage on the low-voltage side during the dead time of switching between the upper and lower arms of the switching elements. When the direction of the phase current is negative, the output voltage is the voltage of the high voltage side during the dead time of switching between the upper and lower arms of the switching element. The switches of the phases perform opposite switching actions, which effectively reduces the conduction interference and leakage current generated during the switching process.
实施例3Example 3
本实施例公开了一种空调,所述空调包括实施例2所述的电机驱动装置。This embodiment discloses an air conditioner, and the air conditioner includes the motor driving device described in
对于本实施例公开的空调而言,包括存储有计算机程序的计算机可读存储介质和处理器,所述计算机程序被所述处理器读取并运行时,实现如实施例2所述的电机驱动方法。The air conditioner disclosed in this embodiment includes a computer-readable storage medium storing a computer program and a processor, and when the computer program is read and executed by the processor, the motor drive as described in
所述空调与实施例1所述的电机驱动方法相对于现有技术所具有的优势相同,在此不再赘述。The air conditioner and the motor driving method described in
实施例4Example 4
本实施例公开了一种计算机可读存储介质所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器读取并运行时,实现如实施例2所述的电机驱动方法。This embodiment discloses a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is read and executed by a processor, the motor driving method described in
虽然本发明披露如上,但本发明并非限定于此。在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示意性实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。任何本领域技术人员,在不脱离本发明的精神和范围内,均可作各种更动与修改,因此本发明的保护范围应当以权利要求所限定的范围为准。Although the present invention is disclosed above, the present invention is not limited thereto. In the description of this specification, reference to the terms "one embodiment," "some embodiments," "exemplary embodiment," "example," "specific example," or "some examples", etc., is meant to incorporate the embodiments A particular feature, structure, material, or characteristic described by an example or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be based on the scope defined by the claims.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110767225.XA CN113541569B (en) | 2021-07-07 | 2021-07-07 | Motor drive device, method, air conditioner, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110767225.XA CN113541569B (en) | 2021-07-07 | 2021-07-07 | Motor drive device, method, air conditioner, and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113541569A CN113541569A (en) | 2021-10-22 |
CN113541569B true CN113541569B (en) | 2022-05-06 |
Family
ID=78126993
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110767225.XA Active CN113541569B (en) | 2021-07-07 | 2021-07-07 | Motor drive device, method, air conditioner, and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113541569B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114992768B (en) * | 2022-05-20 | 2023-08-04 | 宁波奥克斯电气股份有限公司 | A PWM modulation method and its device, air conditioner, and readable storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5093452B2 (en) * | 2007-03-07 | 2012-12-12 | 学校法人同志社 | Common mode leakage current suppression circuit applied to power conversion equipment |
CN105897098A (en) * | 2016-06-14 | 2016-08-24 | 苏州微控智芯半导体科技有限公司 | Elimination method for dead zone effect in motor FOC (field-oriented control) control operational method |
CN212622774U (en) * | 2020-07-03 | 2021-02-26 | 国网四川省电力公司电力科学研究院 | Three-phase two-element combined transformer for preventing leakage current and phase-to-phase electromagnetic interference |
-
2021
- 2021-07-07 CN CN202110767225.XA patent/CN113541569B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN113541569A (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8107267B2 (en) | Systems and methods for common-mode voltage reduction in fully regenerative AC drives | |
CN108880311B (en) | Clamping modulation method and device of multi-level inverter and inverter | |
US8929111B2 (en) | System and method for common-mode elimination in a multi-level converter | |
US11205952B2 (en) | Methods and systems for controlling current source rectifiers | |
JP4626722B1 (en) | Power converter and control method thereof | |
WO2013035781A1 (en) | Power conversion device | |
JP6107860B2 (en) | Inverter control device | |
WO2013035782A1 (en) | Power conversion device | |
WO2013035783A1 (en) | Power conversion device | |
CN113541569B (en) | Motor drive device, method, air conditioner, and computer-readable storage medium | |
JP4556108B2 (en) | Control device for power converter | |
KR101915991B1 (en) | Power transforming apparatus and air conditioner including the same | |
JP7192889B2 (en) | Power conversion device and its control method | |
US20240178739A1 (en) | Control apparatus for an arcp inverter | |
JP2012182874A (en) | Motor control device | |
JP2018148757A (en) | Active filter | |
JP7361222B2 (en) | open winding motor drive | |
JP7051600B2 (en) | Multi-stage transducer control device | |
EP4482005A1 (en) | Arrangement for current sharing of parallel-connected converters | |
JP3246584B2 (en) | AC / DC converter | |
CN115868109B (en) | Open winding motor drive | |
JPH07308069A (en) | Boosting type three-phase full-wave rectifier and control method thereof | |
JPH09322543A (en) | Control method and control circuit of step-up three-phase full-wave rectifier | |
JP2019193411A (en) | Three-phase power factor improving circuit, control method, and control circuit | |
JP2018023175A (en) | Control device for current source power converter |
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 | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 315191 No. 1166 Mingguang North Road, Jiangshan Town, Ningbo, Zhejiang, Yinzhou District Patentee after: NINGBO AUX ELECTRIC Co.,Ltd. Country or region after: China Patentee after: AUX AIR CONDITIONING LIMITED BY SHARE Ltd. Address before: No. 1166 Mingguang North Road, Jiangshan Town, Ningbo, Zhejiang, Yinzhou District Patentee before: NINGBO AUX ELECTRIC Co.,Ltd. Country or region before: China Patentee before: AUX AIR CONDITIONING LIMITED BY SHARE Ltd. |