WO2016155409A1 - Control method, apparatus and system for pulse width modulation of direct current brushless electrical motor - Google Patents

Control method, apparatus and system for pulse width modulation of direct current brushless electrical motor Download PDF

Info

Publication number
WO2016155409A1
WO2016155409A1 PCT/CN2016/071721 CN2016071721W WO2016155409A1 WO 2016155409 A1 WO2016155409 A1 WO 2016155409A1 CN 2016071721 W CN2016071721 W CN 2016071721W WO 2016155409 A1 WO2016155409 A1 WO 2016155409A1
Authority
WO
WIPO (PCT)
Prior art keywords
precision
pwm
accuracy
control
duty value
Prior art date
Application number
PCT/CN2016/071721
Other languages
French (fr)
Chinese (zh)
Inventor
张卫新
林建辉
Original Assignee
英特格灵芯片(天津)有限公司
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 英特格灵芯片(天津)有限公司 filed Critical 英特格灵芯片(天津)有限公司
Priority to JP2016526944A priority Critical patent/JP6301466B2/en
Publication of WO2016155409A1 publication Critical patent/WO2016155409A1/en

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
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/06Arrangements for speed regulation of a single motor wherein the motor speed is measured and compared with a given physical value so as to adjust the motor speed
    • 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
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/10Arrangements for controlling torque ripple, e.g. providing reduced torque ripple

Definitions

  • the invention relates to the field of DC brushless motor control, in particular to a control method, device and system for pulse width modulation of a DC brushless motor.
  • DC brushless motors have the advantages of high efficiency, low noise, reliable operation, etc. In recent years, they have been widely used and developed rapidly. In the brushless DC motor control, speed open loop control or speed/torque closed loop control is usually used. Both of these control methods need to use a Pulse Width Modulation (PWM) unit to control the power module. Performance puts higher requirements, such as the duty cycle of the PWM unit (corresponding to the PWM modulation frequency), especially the accuracy of the PWM unit (the minimum time resolution of the PWM unit determines the accuracy of the PWM unit). In the high-performance solution, the high-speed Micro Controller Unit (MCU) and the Digital Signal Processor (DSP) can easily meet the performance requirements of the PWM unit, but this is often accompanied by high system cost.
  • PWM Pulse Width Modulation
  • the PWM unit In the low-cost solution, the PWM unit is forced to adopt lower precision when operating at a higher PWM modulation frequency due to limitations such as an Application Specific Integrated Circuit (ASIC)/microcontroller operating frequency. Lower PWM accuracy results in a significant speed step effect under open loop control, while steady state speed error fluctuations are greater under closed loop control. Therefore, how to improve system performance on the basis of lower performance PWM units in a low-cost solution has become an urgent problem to be solved.
  • ASIC Application Specific Integrated Circuit
  • the object of the present invention is to provide a control method, device and system for pulse width modulation of a DC brushless motor, which improve system performance and weaken on the basis of maintaining the original low performance PWM unit of the system.
  • the speed step effect under open loop control reduces the steady state speed error of closed loop control.
  • the present invention provides a method for controlling pulse width modulation of a brushless DC motor, the method comprising:
  • the precision expansion mode of the PWM signal including the precision extension period and the precision extended output sequence
  • the output sequence is expanded according to the precision, the low-precision PWM signal is modulated, and the control signal is output.
  • obtaining the PWM high-precision duty ratio value specifically includes: acquiring the PWM high-precision duty ratio value according to the running state data of the DC brushless motor.
  • the step of determining the precision expansion mode of the PWM signal according to the PWM high-precision duty value comprises: comparing the PWM high-precision duty value with the previous PWM high-precision duty value to obtain a difference;
  • the accuracy spread mode of the PWM signal is determined when the difference is less than a predetermined threshold.
  • the precision expansion period and the precision extended output sequence are selected according to the electromechanical parameters of the motor system
  • the accuracy of each sequence item of the precision extended output sequence is less than or equal to the precision of the low precision PWM signal.
  • control signal is used to control the turn-on and turn-off time of one or more sets of power switch tubes of the plurality of sets of power switch tubes.
  • the present invention provides a driving device for a brushless DC motor, the device comprising:
  • control module for acquiring a PWM high precision duty cycle value
  • the precision expansion module is configured to determine a precision expansion mode of the PWM signal according to the PWM high-precision duty value, and the precision expansion mode includes an accuracy extension period and an accuracy extension output sequence;
  • a modulation module is configured to modulate the low-precision PWM signal and output the control signal according to the precision extended output sequence during the precision expansion period.
  • control module is specifically configured to: obtain a PWM high-precision duty value according to the operating state data of the DC brushless motor.
  • the precision expansion module is specifically configured to compare the PWM high-precision duty value with the previous PWM high-precision duty value to obtain a difference;
  • the accuracy spread mode of the PWM signal is determined when the difference is less than a predetermined threshold.
  • the present invention provides a driving system for a brushless DC motor, the system comprising:
  • the power control module includes a plurality of sets of power switch tubes for receiving control signals from the modulation module, and controlling the turn-on and turn-off times of the one or more sets of power switch tubes of the plurality of sets of power switch tubes according to the control signals.
  • the DC brushless motor driving device is further configured to control turn-on and turn-off of one or more sets of power switch tubes of the plurality of sets of power switch tubes according to a position signal of a rotor of the DC brushless motor.
  • the control method for the pulse width modulation of the DC brushless motor obtaineds the difference by comparing the high precision duty value of the current PWM with the previous PWM high precision duty value, and determines the accuracy expansion when the difference is less than the predetermined threshold. mode.
  • the low-precision PWM signal is modulated by the precision extended output sequence in the precision extended mode.
  • FIG. 1 is a schematic flow chart of a method for controlling pulse width modulation of a DC brushless motor according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a driving device of a DC brushless motor according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a driving system of a DC brushless motor according to an embodiment of the present invention.
  • FIG. 1 is a control method for pulse width modulation of a DC brushless motor according to an embodiment of the present invention Schematic diagram of the process. As shown in FIG. 1 , the embodiment of the present invention specifically includes the following steps:
  • step 101 a PWM high precision duty ratio value is obtained.
  • the PWM high-precision duty value is obtained according to the operating state data of the DC brushless motor.
  • the operating state data includes the rotor angular speed or torque current of the DC brushless motor in the closed loop control system, or the data directly set by the externally in the open loop control system. According to these operating state data, through a certain control algorithm calculation, the PWM high-precision duty value can be obtained.
  • the PWM high-precision duty value is obtained by the rotor angular velocity of the brushless DC motor.
  • Step 102 Determine a precision expansion mode of the PWM signal according to the PWM high precision duty ratio value.
  • the current PWM high-precision duty value is recorded, and the current PWM high-precision duty value is compared with the previous PWM high-precision duty value, and the difference is calculated and recorded.
  • the precision expansion mode of the PWM signal is determined according to the current PWM high-precision duty value, wherein the precision expansion mode includes the precision expansion period and Precision extends the output sequence.
  • the precision extended period and the precision extended output sequence can be optimized according to the electromechanical parameters of the motor system; the accuracy of each sequence item of the precision extended output sequence is less than or equal to the precision of the low precision PWM signal.
  • Step 103 In the precision expansion period, the output sequence is expanded according to the precision, the low-precision PWM signal is modulated, and the control signal is output.
  • each precision extended output sequence is sequentially executed for modulating the low-precision PWM signal, and the time for executing each precision extended output sequence is the duty cycle time of the low-precision PWM signal.
  • the execution is repeated until a new PWM high precision duty cycle value is obtained and then compared to the previous PWM high precision duty cycle.
  • modulating the low-precision PWM signal outputting a control signal corresponding to the precision extended output sequence for controlling the turn-on and turn-off times of one or more sets of power switch tubes in the plurality of sets of power switch tubes, thereby making each power
  • the switching tube has a duty ratio value corresponding to the duty ratio value of the precision extended output sequence in the PWM unit duty cycle.
  • the precision extended output sequence is no longer determined according to the high precision duty value, and the precision extended output sequence is executed, thereby outputting a control signal to control the conduction of the power switch.
  • On and off times this usually occurs during high-speed PWM duty cycle values that vary rapidly). Instead, the current PWM high-precision duty cycle value is converted to the nearest PWM low-precision duty cycle value in the system, and according to the low-precision duty cycle value, a corresponding control signal is output for controlling multiple sets of power. Turning on and off time of one or more sets of power switch tubes in the switch tube, so that each power switch tube has a duty ratio value and a duty ratio value of the low-precision PWM signal in a PWM unit duty cycle correspond.
  • the PWM high-precision duty cycle value can be obtained by calculating the rotor angular velocity of the brushless DC motor through a certain control algorithm.
  • the current duty value obtained is 257/512 (50.19%)
  • the previous PWM duty value is 255/512 (49.80%)
  • the precision of the low-precision PWM duty value is 6-bit precision.
  • the current PWM duty cycle value is recorded and the current PWM duty cycle value is compared to the previous PWM duty cycle value with a difference of 0.39% and the set threshold is 1%. Therefore, the difference is less than the set threshold, and the precision expansion mode of the PWM signal can be determined according to the current PWM duty value 257/512 (50.19%).
  • a suitable precision expansion period is selected.
  • the duty cycle of the eight low-precision PWM signals is selected as an accuracy extension period, and the precision extended output sequence can also be based on the electromechanical parameters of the motor system. Optimize the selection of modulation mode generation.
  • the precision extended output sequence obtained by single-bit modulation is: ⁇ 32/64, 32/64, 32/64, 32/64, 32/64, 32/64, 32/64, (32+1)/64 ⁇
  • the precision extended output sequence obtained by the multi-bit modulation method is: ⁇ 32/64, 32/64, 32/64, (32-1)/64, 32/64, 32/64, 32/64, (32+2) ) / 64 ⁇ , and the precision of each sequence item of the precision extended output sequence is equal to or less than the precision of the low precision PWM signal.
  • each sequence of precision extended outputs is sequentially executed for modulating the low-precision PWM signal, and the time for executing each of the precision extended output sequences is the duty cycle time of the low-precision PWM signal. After executing all the precision extended output sequences, repeat the execution process until the new PWM high precision duty cycle is obtained, and then the previous PWM high precision The duty cycle is compared.
  • the switching tube After modulating the low-precision PWM signal, outputting a control signal corresponding to the precision extended output sequence for controlling the turn-on and turn-off times of one or more sets of power switch tubes in the plurality of sets of power switch tubes, thereby making each power
  • the switching tube has a one-to-one correspondence with the duty ratio of the precision extended output sequence during the duty cycle of the PWM unit.
  • the previous PWM high-precision duty value is 248/512 (48.44%)
  • the current PWM duty value 257/512 (50.19%) is recorded, and the current PWM duty value is compared with the previous one.
  • the PWM duty cycle values are compared with a difference of 1.75% and a set threshold of 1%. It can be seen that the difference is greater than the set threshold, so the precision extended output sequence is no longer determined according to the high precision duty value 257/512 (50.19%), and the precision extended output sequence is executed, thereby outputting the control signal to control Turn-on and turn-off time of the power switch.
  • the current PWM high-precision duty cycle value of 257/512 (50.19%) is converted to the nearest PWM low-precision duty cycle value in the system.
  • the closest duty cycle value in the system is 32/64 (50%).
  • the power switch tube has a duty ratio value corresponding to the duty ratio value of the low-precision PWM signal in the PWM unit duty cycle.
  • the control method for the pulse width modulation of the DC brushless motor obtained by the embodiment of the present invention obtains the difference by comparing the duty value of the current PWM with the previous PWM duty value, and determines the precision expansion mode when the difference is less than a predetermined threshold.
  • the low-precision PWM signal is modulated by the precision extended output sequence in the precision extended mode.
  • the 2 is a driving device of a DC brushless motor according to an embodiment of the present invention; the device is used to implement a control method for a pulse width modulation of a DC brushless motor provided by the above embodiments.
  • the device comprises: a control module 201, an accuracy expansion module 202, and a modulation module 203.
  • the control module 201 is configured to acquire a PWM high precision duty value.
  • the accuracy expansion module 202 is configured to determine a precision expansion mode of the PWM signal according to the PWM high precision duty value. Specifically: PWM The high-precision duty value is compared with the previous PWM high-precision duty value to obtain a difference. When the difference is less than a predetermined threshold, the precision expansion mode of the PWM signal is determined.
  • the precision extension mode includes a precision extension period and an accuracy extension output sequence.
  • the modulation module 203 is configured to, according to the precision extended output sequence, modulate the low-precision PWM signal and output the control signal during the precision extension period.
  • the control module 201 acquires a PWM high-precision duty value according to the operating state data of the DC brushless motor, wherein the operating state data specifically includes: a rotor angular velocity or a torque current of the DC brushless motor in the closed-loop control system, or is on Externally set data is used directly in the ring control system.
  • the DC brushless motor driving device acquires a PWM high-precision duty value through a control module, and obtains an accuracy expansion mode according to the duty value; the modulation module uses the precision in the precision expansion mode to expand the output sequence to a low
  • the precision PWM signal is modulated.
  • FIG. 3 is a driving system of a brushless DC motor according to an embodiment of the present invention.
  • the system includes a power control module 204 in addition to the driving device described above.
  • the power control module 204 includes a plurality of sets of power switch tubes for receiving control signals from the modulation mode 203, and controlling turn-on and turn-off of one or more sets of power switch tubes of the plurality of sets of power switch tubes according to the control signals time.
  • the driving device is further configured to control the turning on and off of one or more sets of the power switching tubes of the plurality of sets of power switching tubes according to the position signals of the rotors of the DC brushless motor.
  • the control module 201 calculates the PWM high-precision duty cycle value according to the rotor angular velocity of the brushless DC motor through a certain control algorithm.
  • the current duty ratio obtained by the control module 201 is 257/512 (50.19%)
  • the previous PWM duty value is 255/512 (49.80%)
  • the precision of the low-precision PWM duty value is 6-bit precision.
  • the accuracy expansion module 202 records the current PWM duty cycle value and compares the current PWM duty cycle value to the previous PWM duty cycle value with a difference of 0.39% and a set threshold of 1%. Therefore, the difference is less than a predetermined threshold and can be based on the current PWM duty value of 257/512 (50.19%). Determine the precision expansion mode of the PWM signal.
  • the precision expansion module 202 selects a suitable precision expansion period according to the electromechanical parameter optimization of the motor system. For example, in this embodiment, the duty cycle of the eight low-precision PWM signals is selected as an accuracy extension period, and the precision extended output sequence can also be based on the motor. The electromechanical parameters of the system are optimized and the modulation mode is generated.
  • the precision extended output sequence obtained by single-bit modulation is: ⁇ 32/64, 32/64, 32/64, 32/64, 32/64, 32/64, 32/64, (32+1)/64 ⁇
  • the precision extended output sequence obtained by multi-bit modulation is: ⁇ 32/64, 32/64, 32/64, (32-1)/64, 32/64, 32/64, 32/64, (32+2) ) /64 ⁇ .
  • the accuracy of each sequence item of the precision extended output sequence is equal to or less than the precision of the low precision PWM signal.
  • the modulation module 203 sequentially performs a sequence of each precision extended output for modulating the low precision PWM signal, and the time for executing each of the precision extended output sequences is the duty cycle time of the low precision PWM signal. After the modulation module 203 executes all the precision extended output sequences, the execution process is repeated until a new PWM high precision duty value is obtained, and then compared with the previous PWM high precision duty value. After modulating the low-precision PWM signal, the modulation module 203 is further configured to output a control signal corresponding to the precision extended output sequence.
  • the power control module 204 receives the control signal sent by the modulation module 203, and controls the turn-on and turn-off times of one or more sets of power switch tubes in the plurality of sets of power switch tubes according to the control signal, thereby causing each power switch During the PWM unit duty cycle, the duty cycle value corresponds to the duty cycle value of the precision extended output sequence.
  • the driving device is further configured to control the turning on and off of one or more sets of the power switching tubes of the plurality of sets of power switching tubes according to the position signals of the rotors of the DC brushless motor.
  • the accuracy expansion module 202 records the current PWM duty value 257/512 (50.19%) and the current PWM duty.
  • the ratio is compared to the previous PWM duty cycle value with a difference of 1.75% and a predetermined threshold of 1%. Therefore, the difference is greater than the predetermined threshold, so the accuracy expansion module 203 no longer determines the precision extended output sequence according to the high precision duty value 257/512 (50.19%).
  • the modulation module 203 also does not need to perform a precision extended output sequence, thereby outputting a control signal to control the on and off times of the power switch.
  • the current PWM high-precision duty cycle value 257/512 (50.19%) is converted to the nearest PWM low-precision duty cycle value in the system by using a conversion device inside the modulation module 203, such as the closest duty cycle in the system.
  • the ratio is 32/64 (50%)
  • the modulation module 203 outputs a control signal corresponding thereto according to the low-precision duty value
  • the power control module 204 controls one or more groups of the plurality of power switch tubes.
  • the turn-on and turn-off time of the power switch tube is such that each power switch tube has a duty ratio value corresponding to the duty ratio value of the low-precision PWM signal in the PWM unit duty cycle.
  • the driving system of the brushless DC motor obtained by the invention obtains the PWM high-precision duty value by using the control module in the driving device; and obtains the precision expansion mode according to the duty value; the modulation module uses the precision extended output in the precision expansion mode
  • the sequence modulates the low-precision PWM signal, and outputs a control signal for controlling the power switch tube, and the power control module controls the turn-on and turn-off time of the power switch tube.
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.

Abstract

A control method, apparatus and system for pulse width modulation of a direct current brushless electrical motor. The method comprises: acquiring a pulse width modulation (PWM) high-accuracy duty ratio value (101); determining an accuracy extension mode of a PWM signal according to the PWM high-accuracy duty ratio value, wherein the accuracy extension mode comprises an accuracy extension period and an accuracy extension output sequence (102); and within the accuracy extension period, modulating a low-accuracy PWM signal according to the accuracy extension output sequence and outputting a control signal (103). The control method can weaken a speed staircase effect under open-loop control, and reduce a steady state speed error of closed-loop control.

Description

一种直流无刷电机脉冲宽度调制的控制方法、装置和系统Method, device and system for controlling pulse width modulation of DC brushless motor 技术领域Technical field
本发明涉及直流无刷电机控制领域,尤其涉及一种直流无刷电机脉冲宽度调制的控制方法、装置和系统。The invention relates to the field of DC brushless motor control, in particular to a control method, device and system for pulse width modulation of a DC brushless motor.
背景技术Background technique
直流无刷电机具有效率高、噪声低、运行可靠等优点,近年来应用日益广泛,发展迅速。在直流无刷电机控制中通常使用速度开环控制或者速度/转矩闭环控制,这两种控制方式都需要使用脉冲宽度调制(Pulse Width Modulation,简称PWM)单元来控制功率模块,对PWM单元的性能提出了较高要求,例如PWM单元的工作周期(对应PWM调制频率),特别是PWM单元的精度(PWM单元的最小时间分辨力决定了PWM单元的精度)。在高性能方案中高速微控制单元(Micro Controller Unit,简称MCU)和数字信号处理器(Digital Signal Processor,简称DSP)可以轻易满足对PWM单元的性能要求,但这常常伴随着高的系统成本。在低成本方案中,由于受限于专用集成电路(Application Specific Integrated Circuit,简称ASIC)/微控制器工作频率等限制因素,PWM单元工作在较高PWM调制频率时被迫采用较低的精度。较低的PWM精度在开环控制下会导致明显的速度阶梯效应,而在闭环控制下则会导致稳态速度误差波动较大。因此在低成本方案中如何在较低性能PWM单元基础上尽量提高系统性能成为亟待解决的问题。DC brushless motors have the advantages of high efficiency, low noise, reliable operation, etc. In recent years, they have been widely used and developed rapidly. In the brushless DC motor control, speed open loop control or speed/torque closed loop control is usually used. Both of these control methods need to use a Pulse Width Modulation (PWM) unit to control the power module. Performance puts higher requirements, such as the duty cycle of the PWM unit (corresponding to the PWM modulation frequency), especially the accuracy of the PWM unit (the minimum time resolution of the PWM unit determines the accuracy of the PWM unit). In the high-performance solution, the high-speed Micro Controller Unit (MCU) and the Digital Signal Processor (DSP) can easily meet the performance requirements of the PWM unit, but this is often accompanied by high system cost. In the low-cost solution, the PWM unit is forced to adopt lower precision when operating at a higher PWM modulation frequency due to limitations such as an Application Specific Integrated Circuit (ASIC)/microcontroller operating frequency. Lower PWM accuracy results in a significant speed step effect under open loop control, while steady state speed error fluctuations are greater under closed loop control. Therefore, how to improve system performance on the basis of lower performance PWM units in a low-cost solution has become an urgent problem to be solved.
发明内容Summary of the invention
本发明的目的,在于提供一种直流无刷电机脉冲宽度调制的控制方法、装置和系统,在保持系统原有较低性能PWM单元基础上提高系统性能,削弱 开环控制下的速度阶梯效应,降低闭环控制的稳态速度误差。The object of the present invention is to provide a control method, device and system for pulse width modulation of a DC brushless motor, which improve system performance and weaken on the basis of maintaining the original low performance PWM unit of the system. The speed step effect under open loop control reduces the steady state speed error of closed loop control.
第一方面,本发明提供了一种直流无刷电机脉冲宽度调制的控制方法,所述方法包括:In a first aspect, the present invention provides a method for controlling pulse width modulation of a brushless DC motor, the method comprising:
获取PWM脉冲宽度调制高精度占空比值;Obtaining a PWM pulse width modulation high precision duty value;
根据PWM高精度占空比值,确定PWM信号的精度扩展模式,精度扩展模式包括精度扩展周期以及精度扩展输出序列;Determining the precision expansion mode of the PWM signal according to the PWM high-precision duty value, the precision expansion mode including the precision extension period and the precision extended output sequence;
在精度扩展周期内,根据精度扩展输出序列,调制低精度PWM信号,并且输出控制信号。During the precision expansion period, the output sequence is expanded according to the precision, the low-precision PWM signal is modulated, and the control signal is output.
优选的,获取PWM高精度占空比值具体包括:根据直流无刷电机的运行状态数据获取PWM高精度占空比值。Preferably, obtaining the PWM high-precision duty ratio value specifically includes: acquiring the PWM high-precision duty ratio value according to the running state data of the DC brushless motor.
优选的,根据PWM高精度占空比值,确定PWM信号的精度扩展模式步骤具体包括:将PWM高精度占空比值与前一次PWM高精度占空比值进行比较,获取差值;Preferably, the step of determining the precision expansion mode of the PWM signal according to the PWM high-precision duty value comprises: comparing the PWM high-precision duty value with the previous PWM high-precision duty value to obtain a difference;
当差值小于预定阈值时,确定PWM信号的精度扩展模式。The accuracy spread mode of the PWM signal is determined when the difference is less than a predetermined threshold.
优选的,精度扩展周期以及精度扩展输出序列可根据电机系统的机电参数优化选取;Preferably, the precision expansion period and the precision extended output sequence are selected according to the electromechanical parameters of the motor system;
并且,精度扩展输出序列的每一序列项精度都要小于或等于低精度PWM信号的精度。Moreover, the accuracy of each sequence item of the precision extended output sequence is less than or equal to the precision of the low precision PWM signal.
优选的,控制信号用于控制多组功率开关管中的一组或多组功率开关管的导通和关断的时间。Preferably, the control signal is used to control the turn-on and turn-off time of one or more sets of power switch tubes of the plurality of sets of power switch tubes.
第二方面,本发明提供了一种直流无刷电机的驱动装置,所述装置包括:In a second aspect, the present invention provides a driving device for a brushless DC motor, the device comprising:
控制模块,用于获取PWM高精度占空比值;a control module for acquiring a PWM high precision duty cycle value;
精度扩展模块,用于根据PWM高精度占空比值,确定PWM信号的精度扩展模式,精度扩展模式包括精度扩展周期以及精度扩展输出序列;The precision expansion module is configured to determine a precision expansion mode of the PWM signal according to the PWM high-precision duty value, and the precision expansion mode includes an accuracy extension period and an accuracy extension output sequence;
调制模块,用于在精度扩展周期内,根据精度扩展输出序列,调制低精度PWM信号,并且输出控制信号。 A modulation module is configured to modulate the low-precision PWM signal and output the control signal according to the precision extended output sequence during the precision expansion period.
优选的,控制模块具体用于:根据直流无刷电机的运行状态数据获取PWM高精度占空比值。Preferably, the control module is specifically configured to: obtain a PWM high-precision duty value according to the operating state data of the DC brushless motor.
优选的,精度扩展模块具体用于,将PWM高精度占空比值与前一次PWM高精度占空比值进行比较,获取差值;Preferably, the precision expansion module is specifically configured to compare the PWM high-precision duty value with the previous PWM high-precision duty value to obtain a difference;
当差值小于预定阈值时,确定PWM信号的精度扩展模式。The accuracy spread mode of the PWM signal is determined when the difference is less than a predetermined threshold.
第三方面,本发明提供了一种直流无刷电机的驱动系统,所述系统包括:In a third aspect, the present invention provides a driving system for a brushless DC motor, the system comprising:
如上述直流无刷电机的驱动装置和功率控制模块;Such as the above DC brushless motor drive device and power control module;
功率控制模块包括多组功率开关管,用于接收调制模块发出的控制信号,并且根据控制信号控制多组功率开关管中的一组或多组功率开关管的导通和关断的时间。The power control module includes a plurality of sets of power switch tubes for receiving control signals from the modulation module, and controlling the turn-on and turn-off times of the one or more sets of power switch tubes of the plurality of sets of power switch tubes according to the control signals.
优选的,上述直流无刷电机驱动装置还用于,根据直流无刷电机的转子的位置信号控制多组功率开关管中的一组或多组功率开关管的导通和关断。Preferably, the DC brushless motor driving device is further configured to control turn-on and turn-off of one or more sets of power switch tubes of the plurality of sets of power switch tubes according to a position signal of a rotor of the DC brushless motor.
本发明提供的直流无刷电机脉冲宽度调制的控制方法,通过比较当前PWM的高精度占空比值与前一次PWM高精度占空比值,获取差值,当差值小于预定阈值时,确定精度扩展模式。并利用精度扩展模式中的精度扩展输出序列对低精度PWM信号进行调制。从而削弱开环控制下的速度阶梯效应,降低闭环控制的稳态速度误差波动范围,提高了系统性能。The control method for the pulse width modulation of the DC brushless motor provided by the invention obtains the difference by comparing the high precision duty value of the current PWM with the previous PWM high precision duty value, and determines the accuracy expansion when the difference is less than the predetermined threshold. mode. The low-precision PWM signal is modulated by the precision extended output sequence in the precision extended mode. Thereby, the speed step effect under the open loop control is weakened, the steady-state speed error fluctuation range of the closed-loop control is reduced, and the system performance is improved.
附图说明DRAWINGS
图1为本发明实施例提供的一种直流无刷电机脉冲宽度调制的控制方法流程示意图;1 is a schematic flow chart of a method for controlling pulse width modulation of a DC brushless motor according to an embodiment of the present invention;
图2为本发明实施例提供的一种直流无刷电机的驱动装置的结构示意图;2 is a schematic structural diagram of a driving device of a DC brushless motor according to an embodiment of the present invention;
图3为本发明实施例提供的一种直流无刷电机的驱动系统的结构示意图。FIG. 3 is a schematic structural diagram of a driving system of a DC brushless motor according to an embodiment of the present invention.
具体实施方式detailed description
下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solution of the present invention will be further described in detail below through the accompanying drawings and embodiments.
图1为本发明实施例提供的一种直流无刷电机脉冲宽度调制的控制方法 流程示意图。如图1所示,本发明实施例具体包括以下步骤:1 is a control method for pulse width modulation of a DC brushless motor according to an embodiment of the present invention Schematic diagram of the process. As shown in FIG. 1 , the embodiment of the present invention specifically includes the following steps:
步骤101,获取PWM高精度占空比值。In step 101, a PWM high precision duty ratio value is obtained.
具体的,根据直流无刷电机的运行状态数据获取PWM高精度占空比值。其中,运行状态数据包括闭环控制系统中的直流无刷电机的转子角速度或者转矩电流,或者开环控制系统中的直接通过外部设定的数据。根据这些运行状态数据通过一定的控制算法计算,可以获取PWM高精度占空比值。Specifically, the PWM high-precision duty value is obtained according to the operating state data of the DC brushless motor. The operating state data includes the rotor angular speed or torque current of the DC brushless motor in the closed loop control system, or the data directly set by the externally in the open loop control system. According to these operating state data, through a certain control algorithm calculation, the PWM high-precision duty value can be obtained.
优选的,本实施例中通过直流无刷电机的转子角速度获取PWM高精度占空比值。Preferably, in the embodiment, the PWM high-precision duty value is obtained by the rotor angular velocity of the brushless DC motor.
步骤102,根据PWM高精度占空比值,确定PWM信号的精度扩展模式。Step 102: Determine a precision expansion mode of the PWM signal according to the PWM high precision duty ratio value.
具体的,记录当前的PWM高精度占空比值,并将当前的PWM高精度占空比值与前一次的PWM高精度占空比值进行比较,计算并记录差值。当差值小于某一预定阈值时(该阈值是根据实际情况来预定的),则根据当前的PWM高精度占空比值,确定PWM信号的精度扩展模式,其中,精度扩展模式包括精度扩展周期以及精度扩展输出序列。并且,精度扩展周期和精度扩展输出序列可根据电机系统的机电参数优化选取;精度扩展输出序列的每一序列项精度都要小于或者等于低精度PWM信号的精度。Specifically, the current PWM high-precision duty value is recorded, and the current PWM high-precision duty value is compared with the previous PWM high-precision duty value, and the difference is calculated and recorded. When the difference is less than a predetermined threshold (the threshold is predetermined according to the actual situation), the precision expansion mode of the PWM signal is determined according to the current PWM high-precision duty value, wherein the precision expansion mode includes the precision expansion period and Precision extends the output sequence. Moreover, the precision extended period and the precision extended output sequence can be optimized according to the electromechanical parameters of the motor system; the accuracy of each sequence item of the precision extended output sequence is less than or equal to the precision of the low precision PWM signal.
步骤103,在精度扩展周期内,根据精度扩展输出序列,调制低精度PWM信号,并且输出控制信号。Step 103: In the precision expansion period, the output sequence is expanded according to the precision, the low-precision PWM signal is modulated, and the control signal is output.
具体的,在精度扩展周期内,依次执行每一个精度扩展输出序列,用于调制低精度PWM信号,执行每一个精度扩展输出序列的时间为低精度PWM信号的工作周期时间。当执行完所有的精度扩展输出序列后,重复该执行过程,直到获取新的PWM高精度占空比值后,再与前一次的PWM高精度占空比进行比较。调制低精度PWM信号后,输出与精度扩展输出序列相对应的控制信号,用于控制多组功率开关管中的一组或多组功率开关管的导通和关断时间,从而使得每一个功率开关管在PWM单元工作周期内,其占空比值与精度扩展输出序列的占空比值一一对应。 Specifically, in the precision expansion period, each precision extended output sequence is sequentially executed for modulating the low-precision PWM signal, and the time for executing each precision extended output sequence is the duty cycle time of the low-precision PWM signal. After all of the precision extended output sequences have been executed, the execution is repeated until a new PWM high precision duty cycle value is obtained and then compared to the previous PWM high precision duty cycle. After modulating the low-precision PWM signal, outputting a control signal corresponding to the precision extended output sequence for controlling the turn-on and turn-off times of one or more sets of power switch tubes in the plurality of sets of power switch tubes, thereby making each power The switching tube has a duty ratio value corresponding to the duty ratio value of the precision extended output sequence in the PWM unit duty cycle.
需要说明的是,当差值大于某一预定阈值时,则不再根据高精度占空比值来确定精度扩展输出序列,并执行该精度扩展输出序列,从而输出控制信号来控制功率开关管的导通和关断时间(这通常发生在高精度PWM占空比值发生快速大幅变化过程中)。而是将当前的PWM高精度占空比值转换为系统中与其最接近的PWM低精度占空比值,并且根据该低精度占空比值,输出与之相对应的控制信号,用于控制多组功率开关管中的一组或多组功率开关管的导通和关断时间,从而使得每一个功率开关管在PWM单元工作周期内,其占空比值与该低精度PWM信号的占空比值一一对应。It should be noted that when the difference is greater than a predetermined threshold, the precision extended output sequence is no longer determined according to the high precision duty value, and the precision extended output sequence is executed, thereby outputting a control signal to control the conduction of the power switch. On and off times (this usually occurs during high-speed PWM duty cycle values that vary rapidly). Instead, the current PWM high-precision duty cycle value is converted to the nearest PWM low-precision duty cycle value in the system, and according to the low-precision duty cycle value, a corresponding control signal is output for controlling multiple sets of power. Turning on and off time of one or more sets of power switch tubes in the switch tube, so that each power switch tube has a duty ratio value and a duty ratio value of the low-precision PWM signal in a PWM unit duty cycle correspond.
在一个具体的例子中,根据直流无刷电机的转子角速度通过一定的控制算法计算,可以获取PWM高精度占空比值。例如获取的当前的占空比值为257/512(50.19%),前一次的PWM占空比值为255/512(49.80%),低精度PWM占空比值的精度为6比特精度。记录当前的PWM占空比值,并且将当前的PWM占空比值与前一次的PWM占空比值进行比较,其差值为0.39%,而设定的阈值为1%。所以,该差值小于设定的阈值,可以根据当前的PWM占空比值257/512(50.19%),确定PWM信号的精度扩展模式。In a specific example, the PWM high-precision duty cycle value can be obtained by calculating the rotor angular velocity of the brushless DC motor through a certain control algorithm. For example, the current duty value obtained is 257/512 (50.19%), the previous PWM duty value is 255/512 (49.80%), and the precision of the low-precision PWM duty value is 6-bit precision. The current PWM duty cycle value is recorded and the current PWM duty cycle value is compared to the previous PWM duty cycle value with a difference of 0.39% and the set threshold is 1%. Therefore, the difference is less than the set threshold, and the precision expansion mode of the PWM signal can be determined according to the current PWM duty value 257/512 (50.19%).
根据电机系统的机电参数优化选择一个合适的精度扩展周期,例如本实施例中选择将8个低精度PWM信号的工作周期作为一个精度扩展周期,其精度扩展输出序列同样可以根据电机系统的机电参数优化选择调制方式生成。例如单比特调制方式获取的精度扩展输出序列为:{32/64,32/64,32/64,32/64,32/64,32/64,32/64,(32+1)/64},多比特调制方式获取的精度扩展输出序列为:{32/64,32/64,32/64,(32-1)/64,32/64,32/64,32/64,(32+2)/64},并且,精度扩展输出序列的每一序列项的精度都要等于或者小于低精度PWM信号的精度。在精度扩展周期内,依次执行每一个精度扩展输出的序列,用于调制低精度PWM信号,执行每一个精度扩展输出序列的时间为低精度PWM信号的工作周期时间。当执行完所有的精度扩展输出序列后,重复该执行过程,直到获取新的PWM高精度占空比后,再与前一次的PWM高精度 占空比进行比较。调制低精度PWM信号后,输出与精度扩展输出序列相对应的控制信号,用于控制多组功率开关管中的一组或多组功率开关管的导通和关断时间,从而使得每一个功率开关管在PWM单元工作周期内,占空比值与精度扩展输出序列的占空比值一一对应。According to the electromechanical parameter optimization of the motor system, a suitable precision expansion period is selected. For example, in this embodiment, the duty cycle of the eight low-precision PWM signals is selected as an accuracy extension period, and the precision extended output sequence can also be based on the electromechanical parameters of the motor system. Optimize the selection of modulation mode generation. For example, the precision extended output sequence obtained by single-bit modulation is: {32/64, 32/64, 32/64, 32/64, 32/64, 32/64, 32/64, (32+1)/64} The precision extended output sequence obtained by the multi-bit modulation method is: {32/64, 32/64, 32/64, (32-1)/64, 32/64, 32/64, 32/64, (32+2) ) / 64}, and the precision of each sequence item of the precision extended output sequence is equal to or less than the precision of the low precision PWM signal. During the precision expansion period, each sequence of precision extended outputs is sequentially executed for modulating the low-precision PWM signal, and the time for executing each of the precision extended output sequences is the duty cycle time of the low-precision PWM signal. After executing all the precision extended output sequences, repeat the execution process until the new PWM high precision duty cycle is obtained, and then the previous PWM high precision The duty cycle is compared. After modulating the low-precision PWM signal, outputting a control signal corresponding to the precision extended output sequence for controlling the turn-on and turn-off times of one or more sets of power switch tubes in the plurality of sets of power switch tubes, thereby making each power The switching tube has a one-to-one correspondence with the duty ratio of the precision extended output sequence during the duty cycle of the PWM unit.
需要说明的是,若前一次的PWM高精度占空比值为248/512(48.44%),记录当前的PWM占空比值257/512(50.19%),并且将当前的PWM占空比值与前一次的PWM占空比值进行比较,其差值为1.75%,而设定的阈值为1%。由此可知,该差值大于设定的阈值,所以不再根据高精度占空比值257/512(50.19%)来确定精度扩展输出序列,并执行该精度扩展输出序列,从而输出控制信号来控制功率开关管的导通和关断时间。而是将当前的PWM高精度占空比值257/512(50.19%)转换为系统中与其最接近的PWM低精度占空比值,例如系统中与其最接近的占空比值为32/64(50%),则根据该低精度占空比值,输出与之相对应的控制信号,用于控制多组功率开关管中的一组或多组功率开关管的导通和关断时间,从而使得每一个功率开关管在PWM单元工作周期内,其占空比值与该低精度PWM信号的占空比值一一对应。It should be noted that if the previous PWM high-precision duty value is 248/512 (48.44%), the current PWM duty value 257/512 (50.19%) is recorded, and the current PWM duty value is compared with the previous one. The PWM duty cycle values are compared with a difference of 1.75% and a set threshold of 1%. It can be seen that the difference is greater than the set threshold, so the precision extended output sequence is no longer determined according to the high precision duty value 257/512 (50.19%), and the precision extended output sequence is executed, thereby outputting the control signal to control Turn-on and turn-off time of the power switch. Instead, the current PWM high-precision duty cycle value of 257/512 (50.19%) is converted to the nearest PWM low-precision duty cycle value in the system. For example, the closest duty cycle value in the system is 32/64 (50%). And outputting a control signal corresponding thereto according to the low-precision duty value for controlling the turn-on and turn-off times of one or more sets of power switch tubes in the plurality of sets of power switch tubes, thereby causing each The power switch tube has a duty ratio value corresponding to the duty ratio value of the low-precision PWM signal in the PWM unit duty cycle.
本发明实施例提供的直流无刷电机脉冲宽度调制的控制方法,通过比较当前PWM的占空比值与前一次PWM占空比值,获取差值,当差值小于预定阈值时,确定精度扩展模式,利用精度扩展模式中的精度扩展输出序列对低精度PWM信号进行调制。从而实现对直流无刷电机的PWM精度控制,削弱开环控制下的速度阶梯效应,降低闭环控制的稳态速度误差波动范围,提高了系统性能。The control method for the pulse width modulation of the DC brushless motor provided by the embodiment of the present invention obtains the difference by comparing the duty value of the current PWM with the previous PWM duty value, and determines the precision expansion mode when the difference is less than a predetermined threshold. The low-precision PWM signal is modulated by the precision extended output sequence in the precision extended mode. Thereby, the PWM precision control of the DC brushless motor is realized, the speed step effect under the open loop control is weakened, the steady-state speed error fluctuation range of the closed loop control is reduced, and the system performance is improved.
图2为本发明实施例提供的一种直流无刷电机的驱动装置;该装置用于实现上述实施例提供的直流无刷电机脉冲宽度调制的控制方法。该装置包括:控制模块201、精度扩展模块202、调制模块203。2 is a driving device of a DC brushless motor according to an embodiment of the present invention; the device is used to implement a control method for a pulse width modulation of a DC brushless motor provided by the above embodiments. The device comprises: a control module 201, an accuracy expansion module 202, and a modulation module 203.
控制模块201用于获取PWM高精度占空比值。精度扩展模块202用于根据PWM高精度占空比值,确定PWM信号的精度扩展模式。具体为:将PWM 高精度占空比值与前一次PWM高精度占空比值进行比较,获取差值,当差值小于某一预定阈值时,确定PWM信号的精度扩展模式。精度扩展模式包括精度扩展周期以及精度扩展输出序列。调制模块203,用于在精度扩展周期内,根据精度扩展输出序列,调制低精度PWM信号,并且输出控制信号。The control module 201 is configured to acquire a PWM high precision duty value. The accuracy expansion module 202 is configured to determine a precision expansion mode of the PWM signal according to the PWM high precision duty value. Specifically: PWM The high-precision duty value is compared with the previous PWM high-precision duty value to obtain a difference. When the difference is less than a predetermined threshold, the precision expansion mode of the PWM signal is determined. The precision extension mode includes a precision extension period and an accuracy extension output sequence. The modulation module 203 is configured to, according to the precision extended output sequence, modulate the low-precision PWM signal and output the control signal during the precision extension period.
优选的,控制模块201根据直流无刷电机的运行状态数据获取PWM高精度占空比值,其中运行状态数据具体包括:闭环控制系统中的直流无刷电机的转子角速度或者转矩电流,或者在开环控制系统中直接使用外部设定的数据。Preferably, the control module 201 acquires a PWM high-precision duty value according to the operating state data of the DC brushless motor, wherein the operating state data specifically includes: a rotor angular velocity or a torque current of the DC brushless motor in the closed-loop control system, or is on Externally set data is used directly in the ring control system.
本发明实施例提供的直流无刷电机驱动装置,通过控制模块获取PWM高精度占空比值,并且根据该占空比值,获取精度扩展模式;调制模块利用精度扩展模式中的精度扩展输出序列对低精度PWM信号进行调制。从而削弱开环控制下的速度阶梯效应,降低闭环控制的稳态速度误差波动范围。The DC brushless motor driving device provided by the embodiment of the present invention acquires a PWM high-precision duty value through a control module, and obtains an accuracy expansion mode according to the duty value; the modulation module uses the precision in the precision expansion mode to expand the output sequence to a low The precision PWM signal is modulated. Thereby, the speed step effect under the open loop control is weakened, and the steady-state speed error fluctuation range of the closed loop control is reduced.
图3为本发明实施例提供的一种直流无刷电机的驱动系统,该系统除了包括了上述所介绍的驱动装置以外,还包括功率控制模块204。FIG. 3 is a driving system of a brushless DC motor according to an embodiment of the present invention. The system includes a power control module 204 in addition to the driving device described above.
功率控制模块204,包括多组功率开关管,用于接收调制模203发出的控制信号,并且根据控制信号,控制多组功率开关管中的一组或多组功率开关管的导通和关断的时间。The power control module 204 includes a plurality of sets of power switch tubes for receiving control signals from the modulation mode 203, and controlling turn-on and turn-off of one or more sets of power switch tubes of the plurality of sets of power switch tubes according to the control signals time.
此外,驱动装置还用于根据直流无刷电机的转子的位置信号控制多组功率开关管中的一组或多组功率开关管的导通和关断。In addition, the driving device is further configured to control the turning on and off of one or more sets of the power switching tubes of the plurality of sets of power switching tubes according to the position signals of the rotors of the DC brushless motor.
在一个具体的例子中,控制模块201根据直流无刷电机的转子角速度通过一定的控制算法计算,可以获取PWM高精度占空比值。例如控制模块201获取的当前的占空比值为257/512(50.19%),前一次的PWM占空比值为255/512(49.80%),低精度PWM占空比值的精度为6比特精度。精度扩展模块202记录当前的PWM占空比值,并且将当前的PWM占空比值与前一次的PWM占空比值进行比较,其差值为0.39%,而设定的阈值为1%。所以,该差值小于预定的阈值,可以根据当前的PWM占空比值257/512(50.19%), 确定PWM信号的精度扩展模式。In a specific example, the control module 201 calculates the PWM high-precision duty cycle value according to the rotor angular velocity of the brushless DC motor through a certain control algorithm. For example, the current duty ratio obtained by the control module 201 is 257/512 (50.19%), the previous PWM duty value is 255/512 (49.80%), and the precision of the low-precision PWM duty value is 6-bit precision. The accuracy expansion module 202 records the current PWM duty cycle value and compares the current PWM duty cycle value to the previous PWM duty cycle value with a difference of 0.39% and a set threshold of 1%. Therefore, the difference is less than a predetermined threshold and can be based on the current PWM duty value of 257/512 (50.19%). Determine the precision expansion mode of the PWM signal.
精度扩展模块202根据电机系统的机电参数优化选择一个合适的精度扩展周期,例如本实施例中选择将8个低精度PWM信号的工作周期作为一个精度扩展周期,其精度扩展输出序列同样可以根据电机系统的机电参数优化选择调制方式生成。例如单比特调制方式获取的精度扩展输出序列为:{32/64,32/64,32/64,32/64,32/64,32/64,32/64,(32+1)/64};多比特调制方式获取的精度扩展输出序列为:{32/64,32/64,32/64,(32-1)/64,32/64,32/64,32/64,(32+2)/64}。并且,精度扩展输出序列的每一序列项的精度都要等于或者小于低精度PWM信号的精度。在精度扩展周期内,调制模块203依次执行每一个精度扩展输出的序列,用于调制低精度PWM信号,执行每一个精度扩展输出序列的时间为低精度PWM信号的工作周期时间。当调制模块203执行完所有的精度扩展输出序列后,重复该执行过程,直到获取新的PWM高精度占空比值后,再与前一次的PWM高精度占空比值进行比较。调制低精度PWM信号后,调制模块203还用于输出与精度扩展输出序列相对应的控制信号。The precision expansion module 202 selects a suitable precision expansion period according to the electromechanical parameter optimization of the motor system. For example, in this embodiment, the duty cycle of the eight low-precision PWM signals is selected as an accuracy extension period, and the precision extended output sequence can also be based on the motor. The electromechanical parameters of the system are optimized and the modulation mode is generated. For example, the precision extended output sequence obtained by single-bit modulation is: {32/64, 32/64, 32/64, 32/64, 32/64, 32/64, 32/64, (32+1)/64} The precision extended output sequence obtained by multi-bit modulation is: {32/64, 32/64, 32/64, (32-1)/64, 32/64, 32/64, 32/64, (32+2) ) /64}. Moreover, the accuracy of each sequence item of the precision extended output sequence is equal to or less than the precision of the low precision PWM signal. During the precision extension period, the modulation module 203 sequentially performs a sequence of each precision extended output for modulating the low precision PWM signal, and the time for executing each of the precision extended output sequences is the duty cycle time of the low precision PWM signal. After the modulation module 203 executes all the precision extended output sequences, the execution process is repeated until a new PWM high precision duty value is obtained, and then compared with the previous PWM high precision duty value. After modulating the low-precision PWM signal, the modulation module 203 is further configured to output a control signal corresponding to the precision extended output sequence.
功率控制模块204,接收调制模块203发出的控制信号,并且根据该控制信号,控制多组功率开关管中的一组或多组功率开关管的导通和关断时间,从而使得每一个功率开关管在PWM单元工作周期内,占空比值与精度扩展输出序列的占空比值一一对应。此外,驱动装置还用于,根据直流无刷电机的转子的位置信号控制多组功率开关管中的一组或多组功率开关管的导通和关断。The power control module 204 receives the control signal sent by the modulation module 203, and controls the turn-on and turn-off times of one or more sets of power switch tubes in the plurality of sets of power switch tubes according to the control signal, thereby causing each power switch During the PWM unit duty cycle, the duty cycle value corresponds to the duty cycle value of the precision extended output sequence. In addition, the driving device is further configured to control the turning on and off of one or more sets of the power switching tubes of the plurality of sets of power switching tubes according to the position signals of the rotors of the DC brushless motor.
需要说明的是,若前一次的PWM高精度占空比值为248/512(48.44%),精度扩展模块202记录当前的PWM占空比值257/512(50.19%),并且将当前的PWM占空比值与前一次的PWM占空比值进行比较,其差值为1.75%,而预定的阈值为1%。由此可知,该差值大于预定的阈值,所以精度扩展模块203不再根据高精度占空比值257/512(50.19%)来确定精度扩展输出序列,进而, 调制模块203也无需执行精度扩展输出序列,从而输出控制信号来控制功率开关管的导通和关断时间。而是利用调制模块203内部的转换装置将当前的PWM高精度占空比值257/512(50.19%)转换为系统中与其最接近的PWM低精度占空比值,例如系统中与其最接近的占空比值为32/64(50%),则调制模块203根据该低精度占空比值,输出与之相对应的控制信号,用于功率控制模块204控制多组功率开关管中的一组或多组功率开关管的导通和关断时间,从而使得每一个功率开关管在PWM单元工作周期内,其占空比值与该低精度PWM信号的占空比值一一对应。It should be noted that if the previous PWM high-precision duty value is 248/512 (48.44%), the accuracy expansion module 202 records the current PWM duty value 257/512 (50.19%) and the current PWM duty. The ratio is compared to the previous PWM duty cycle value with a difference of 1.75% and a predetermined threshold of 1%. Therefore, the difference is greater than the predetermined threshold, so the accuracy expansion module 203 no longer determines the precision extended output sequence according to the high precision duty value 257/512 (50.19%). The modulation module 203 also does not need to perform a precision extended output sequence, thereby outputting a control signal to control the on and off times of the power switch. Rather, the current PWM high-precision duty cycle value 257/512 (50.19%) is converted to the nearest PWM low-precision duty cycle value in the system by using a conversion device inside the modulation module 203, such as the closest duty cycle in the system. The ratio is 32/64 (50%), and the modulation module 203 outputs a control signal corresponding thereto according to the low-precision duty value, and the power control module 204 controls one or more groups of the plurality of power switch tubes. The turn-on and turn-off time of the power switch tube is such that each power switch tube has a duty ratio value corresponding to the duty ratio value of the low-precision PWM signal in the PWM unit duty cycle.
本发明提供的直流无刷电机的驱动系统,利用驱动装置中的控制模块获取PWM高精度占空比值;并且根据该占空比值,获取精度扩展模式;调制模块利用精度扩展模式中的精度扩展输出序列对低精度PWM信号进行调制,并且输出控制功率开关管的控制信号,利用功率控制模块控制功率开关管的导通和关断的时间。从而,削弱开环控制下的速度阶梯效应,降低闭环控制的稳态速度误差波动范围,提高了系统性能。The driving system of the brushless DC motor provided by the invention obtains the PWM high-precision duty value by using the control module in the driving device; and obtains the precision expansion mode according to the duty value; the modulation module uses the precision extended output in the precision expansion mode The sequence modulates the low-precision PWM signal, and outputs a control signal for controlling the power switch tube, and the power control module controls the turn-on and turn-off time of the power switch tube. Thereby, the speed step effect under the open loop control is weakened, the steady-state speed error fluctuation range of the closed loop control is reduced, and the system performance is improved.
专业人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。A person skilled in the art should further appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
结合本文中所公开的实施例描述的方法或算法的步骤可以用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。 The steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. The software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The specific embodiments of the present invention have been described in detail with reference to the preferred embodiments of the present invention. All modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (10)

  1. 一种直流无刷电机脉冲宽度调制的控制方法,其特征在于,所述方法包括:A method for controlling pulse width modulation of a DC brushless motor, characterized in that the method comprises:
    获取PWM脉冲宽度调制高精度占空比值;Obtaining a PWM pulse width modulation high precision duty value;
    根据所述PWM高精度占空比值,确定PWM信号的精度扩展模式,所述精度扩展模式包括精度扩展周期以及精度扩展输出序列;Determining, according to the PWM high-precision duty value, a precision extended mode of the PWM signal, where the precision extended mode includes a precision extended period and an accuracy extended output sequence;
    在所述精度扩展周期内,根据所述精度扩展输出序列,调制低精度PWM信号,并且输出控制信号。During the precision expansion period, the output sequence is expanded according to the precision, the low-precision PWM signal is modulated, and the control signal is output.
  2. 根据权利要求1所述的方法,其特征在于,所述获取PWM高精度占空比值具体包括:根据直流无刷电机的运行状态数据获取PWM高精度占空比值。The method according to claim 1, wherein the obtaining the PWM high-precision duty value comprises: acquiring the PWM high-precision duty value according to the operating state data of the DC brushless motor.
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述PWM高精度占空比值,确定PWM信号的精度扩展模式步骤具体包括:将所述PWM高精度占空比值与前一次PWM高精度占空比值进行比较,获取差值;The method according to claim 1, wherein the determining the precision expansion mode of the PWM signal according to the PWM high-precision duty value comprises: the PWM high-precision duty value and the previous PWM high The precision duty cycle values are compared to obtain a difference value;
    当所述差值小于预定阈值时,确定所述PWM信号的精度扩展模式。The precision expansion mode of the PWM signal is determined when the difference is less than a predetermined threshold.
  4. 根据权利要求1所述的方法,其特征在于,所述精度扩展周期以及精度扩展输出序列可根据电机系统的机电参数优化选取;The method according to claim 1, wherein the precision extension period and the precision extension output sequence are optimized according to electromechanical parameters of the motor system;
    并且,所述精度扩展输出序列的每一序列项精度都要小于或等于所述低精度PWM信号的精度。Moreover, each sequence item precision of the precision extended output sequence is less than or equal to the precision of the low precision PWM signal.
  5. 根据权利要求1所述的方法,其特征在于,所述控制信号用于控制多组功率开关管中的一组或多组功率开关管的导通和关断的时间。The method of claim 1 wherein said control signal is used to control the turn-on and turn-off times of one or more sets of power switch tubes of the plurality of sets of power switch tubes.
  6. 一种直流无刷电机的驱动装置,其特征在于,所述装置包括:A driving device for a brushless DC motor, characterized in that the device comprises:
    控制模块,用于获取PWM高精度占空比值;a control module for acquiring a PWM high precision duty cycle value;
    精度扩展模块,用于根据所述PWM高精度占空比值,确定PWM信号的精度扩展模式,所述精度扩展模式包括精度扩展周期以及精度扩展输出序列;And an accuracy expansion module, configured to determine, according to the PWM high-precision duty value, an accuracy expansion mode of the PWM signal, where the precision expansion mode includes an accuracy extension period and an accuracy extension output sequence;
    调制模块,用于在所述精度扩展周期内,根据所述精度扩展输出序列, 调制低精度PWM信号,并且输出控制信号。a modulation module, configured to expand the output sequence according to the precision during the precision extension period, The low precision PWM signal is modulated and the control signal is output.
  7. 根据权利要求6所述的装置,其特征在于,所述控制模块具体用于:根据直流无刷电机的运行状态数据获取PWM高精度占空比值。The device according to claim 6, wherein the control module is specifically configured to: acquire a PWM high precision duty value according to operating state data of the brushless DC motor.
  8. 根据权利要求6所述的装置,其特征在于,所述精度扩展模块具体用于,将PWM高精度占空比值与前一次PWM高精度占空比值进行比较,获取差值;The device according to claim 6, wherein the precision expansion module is specifically configured to compare a PWM high precision duty value with a previous PWM high precision duty value to obtain a difference;
    当所述差值小于预定阈值时,确定所述PWM信号的精度扩展模式。The precision expansion mode of the PWM signal is determined when the difference is less than a predetermined threshold.
  9. 一种直流无刷电机的驱动系统,其特征在于,包括如权利要求6所述的驱动装置和功率控制模块;A driving system for a brushless DC motor, comprising: the driving device and the power control module according to claim 6;
    所述功率控制模块包括多组功率开关管,用于接收调制模块发出的控制信号,并且根据所述控制信号控制所述多组功率开关管中的一组或多组功率开关管的导通和关断的时间。The power control module includes a plurality of sets of power switch tubes for receiving control signals from the modulation module, and controlling conduction and conduction of one or more sets of power switch tubes of the plurality of sets of power switch tubes according to the control signals The time of shutdown.
  10. 根据权利要求9所述的系统,其特征在于,所述驱动装置还用于,根据直流无刷电机的转子的位置信号控制所述多组功率开关管中的一组或多组功率开关管的导通和关断。 The system according to claim 9, wherein the driving device is further configured to control one or more sets of the power switch tubes of the plurality of sets of power switch tubes according to a position signal of a rotor of the brushless DC motor Turn on and off.
PCT/CN2016/071721 2015-04-02 2016-01-22 Control method, apparatus and system for pulse width modulation of direct current brushless electrical motor WO2016155409A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016526944A JP6301466B2 (en) 2015-04-02 2016-01-22 DC brushless motor, apparatus and method for controlling pulse width modulation of a system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510154217.2A CN104767431B (en) 2015-04-02 2015-04-02 A kind of control method, the device and system of the modulation of DC brushless motor pulse width
CN201510154217.2 2015-04-02

Publications (1)

Publication Number Publication Date
WO2016155409A1 true WO2016155409A1 (en) 2016-10-06

Family

ID=53649097

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/071721 WO2016155409A1 (en) 2015-04-02 2016-01-22 Control method, apparatus and system for pulse width modulation of direct current brushless electrical motor

Country Status (3)

Country Link
JP (1) JP6301466B2 (en)
CN (1) CN104767431B (en)
WO (1) WO2016155409A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113017885A (en) * 2018-07-03 2021-06-25 深圳素士科技股份有限公司 Tooth irrigator and computer-readable storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767431B (en) * 2015-04-02 2018-08-28 上海晶丰明源半导体股份有限公司 A kind of control method, the device and system of the modulation of DC brushless motor pulse width
CN106226605B (en) * 2016-07-20 2019-08-13 中国航空工业集团公司航空动力控制系统研究所 A kind of PWM self-sensing method
CN112054741B (en) * 2020-08-06 2022-06-03 深圳市杉川机器人有限公司 Motor control method and device, terminal equipment and storage medium
WO2022141206A1 (en) * 2020-12-30 2022-07-07 华为技术有限公司 Digital signal modulation method and apparatus, switched-mode power supply control method, and switched-mode power supply

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011130611A (en) * 2009-12-18 2011-06-30 Univ Of Tsukuba Drive control apparatus for brushless dc motor
CN103430444A (en) * 2011-08-24 2013-12-04 松下电器产业株式会社 Motor driving apparatus and brushless motor
US20140354207A1 (en) * 2011-10-05 2014-12-04 Renesas Electronics Corporation Pwm output apparatus and motor driving apparatus
CN104767431A (en) * 2015-04-02 2015-07-08 英特格灵芯片(天津)有限公司 Control method, device and system for direct current brushless motor pulse width modulation
CN204517709U (en) * 2015-04-02 2015-07-29 英特格灵芯片(天津)有限公司 A kind of drive unit of DC brushless motor and drive system thereof

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0715969A (en) * 1993-06-28 1995-01-17 Sanyo Electric Co Ltd Controlling method of inverter
DE19541832A1 (en) * 1995-11-10 1997-05-15 Thomson Brandt Gmbh Motor control for electronically commutating direct current motors to compensate for torque drops
JPH10327594A (en) * 1997-05-23 1998-12-08 Canon Inc Motor controller
JP3090200B2 (en) * 1997-11-14 2000-09-18 日本電気株式会社 Pulse width modulator
JP2001178143A (en) * 1999-12-21 2001-06-29 Fujitsu Ltd Method and apparatus for driving motor
JP2006048563A (en) * 2004-08-09 2006-02-16 Hanshin Electric Co Ltd Voltage controller by fixed cycle distributed control
US20080283118A1 (en) * 2007-05-17 2008-11-20 Larankelo, Inc. Photovoltaic ac inverter mount and interconnect
CN102714476B (en) * 2009-12-15 2015-08-19 阿塞里克股份有限公司 For the control card of brshless DC motor
JP2012239301A (en) * 2011-05-11 2012-12-06 Aisin Seiki Co Ltd Motor controller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011130611A (en) * 2009-12-18 2011-06-30 Univ Of Tsukuba Drive control apparatus for brushless dc motor
CN103430444A (en) * 2011-08-24 2013-12-04 松下电器产业株式会社 Motor driving apparatus and brushless motor
US20140354207A1 (en) * 2011-10-05 2014-12-04 Renesas Electronics Corporation Pwm output apparatus and motor driving apparatus
CN104767431A (en) * 2015-04-02 2015-07-08 英特格灵芯片(天津)有限公司 Control method, device and system for direct current brushless motor pulse width modulation
CN204517709U (en) * 2015-04-02 2015-07-29 英特格灵芯片(天津)有限公司 A kind of drive unit of DC brushless motor and drive system thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113017885A (en) * 2018-07-03 2021-06-25 深圳素士科技股份有限公司 Tooth irrigator and computer-readable storage medium
CN113057754A (en) * 2018-07-03 2021-07-02 深圳素士科技股份有限公司 Output control method and system of tooth flushing device
CN113057754B (en) * 2018-07-03 2022-08-12 深圳素士科技股份有限公司 Output control method and system of tooth flushing device

Also Published As

Publication number Publication date
JP2017514429A (en) 2017-06-01
JP6301466B2 (en) 2018-03-28
CN104767431B (en) 2018-08-28
CN104767431A (en) 2015-07-08

Similar Documents

Publication Publication Date Title
WO2016155409A1 (en) Control method, apparatus and system for pulse width modulation of direct current brushless electrical motor
Xia et al. Model predictive control method of torque ripple reduction for BLDC motor
JP5023788B2 (en) Control device and control method for power conversion device
US7243006B2 (en) Predictive control system and method
US8624532B2 (en) System and method for synchronizing sinusoidal drive to permanent magnet motor without distorting drive voltage
US9431951B2 (en) Direct torque control motor controller with transient current limiter
US9444384B2 (en) Direct torque control motor controller with transient current limiter
US20190181783A1 (en) Semiconductor device, motor driving system, and motor control program
US9407189B2 (en) Direct torque control motor controller with torque ripple reduction
CN108400739B (en) Self-adaptive low-noise soft switching circuit of single-phase motor
JP2012157212A (en) Inverter device
JP6579195B2 (en) Power control method and power control apparatus
JP2003209976A (en) Pwm inverter and its current detecting method
US9685892B2 (en) Brushless motor control device and diagnostic processing method for same
CN204517709U (en) A kind of drive unit of DC brushless motor and drive system thereof
JP2020048360A (en) Motor control device, motor system, and inverter control method
US10886868B2 (en) Motor control apparatus, control method thereof, and program
JP4908129B2 (en) Current control method and drive control apparatus using the method
TWI683525B (en) Motor driving circuit and motor driving method
JP2020162230A (en) Motor controller, motor system and motor control method
JP2016226084A (en) Control device for switched reluctance motor
CN116902228B (en) Flywheel system, driving control method thereof, electronic equipment and storage medium
JP4604636B2 (en) Power conversion control device
JP2002238282A (en) Lock protection circuit of brushless motor
CN116131693A (en) Phase current reconstruction method for double permanent magnet motor of five-bridge arm inverter

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016526944

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16771164

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16771164

Country of ref document: EP

Kind code of ref document: A1