CN101714845B - Drive circuit of brushless DC motor - Google Patents

Drive circuit of brushless DC motor Download PDF

Info

Publication number
CN101714845B
CN101714845B CN2009103117800A CN200910311780A CN101714845B CN 101714845 B CN101714845 B CN 101714845B CN 2009103117800 A CN2009103117800 A CN 2009103117800A CN 200910311780 A CN200910311780 A CN 200910311780A CN 101714845 B CN101714845 B CN 101714845B
Authority
CN
China
Prior art keywords
circuit
power supply
motor
comparator
sampling
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.)
Expired - Fee Related
Application number
CN2009103117800A
Other languages
Chinese (zh)
Other versions
CN101714845A (en
Inventor
杨龙兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haian Shenling Electrical Appliance Manufacturing Co Ltd
Jiangsu University of Technology
Original Assignee
Jiangsu University of Technology
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 Jiangsu University of Technology filed Critical Jiangsu University of Technology
Priority to CN2009103117800A priority Critical patent/CN101714845B/en
Publication of CN101714845A publication Critical patent/CN101714845A/en
Application granted granted Critical
Publication of CN101714845B publication Critical patent/CN101714845B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Inverter Devices (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

本发明涉及一种能有效降低开关管的开关损耗且使用寿命较长的无刷直流电机的驱动电路,其包括:单片机和三组用于分别与无刷直流电机中的三组电机线圈的两端相连的电源电路;单片机根据各电源电路中的直流取样和分压取样回路测得的直流取样信号和电压分压取样信号控制各电源电路中的所述PWM信号产生电路输出的PWM信号的占空比,以调整各电源电路中的变压器次级回路中的电流和电压;同时,单片机根据来自所述各霍尔传感器的霍尔信号分别控制所述三个与门控制输出端输出相应的电平,以分别控制各电源电路中的所述LC谐振回路的振荡状态,从而使三组电源电路生成适于驱动三相直流无刷电机的三相电源。

Figure 200910311780

The invention relates to a driving circuit of a brushless DC motor which can effectively reduce the switching loss of a switch tube and has a long service life, which comprises: a single chip microcomputer and three groups of two motor coils respectively used for connecting with the three groups of motor coils in the brushless DC motor The power supply circuit connected to the end; the single-chip microcomputer controls the PWM signal output of the PWM signal generation circuit in each power supply circuit according to the DC sampling signal and the voltage division sampling signal measured by the DC sampling and voltage division sampling loop in each power supply circuit. Duty ratio to adjust the current and voltage in the secondary loop of the transformer in each power supply circuit; at the same time, the single-chip microcomputer controls the three AND gate control output terminals to output corresponding voltages according to the Hall signals from the Hall sensors. level, so as to respectively control the oscillation state of the LC resonant circuits in each power supply circuit, so that the three sets of power supply circuits can generate three-phase power suitable for driving a three-phase brushless DC motor.

Figure 200910311780

Description

无刷直流电机的驱动电路Drive circuit for brushless DC motor

技术领域technical field

本发明涉及一种无刷直流电机的驱动电路。The invention relates to a driving circuit of a brushless direct current motor.

背景技术Background technique

三相直流无刷电机的驱动器包括电源部及控制部,电源部提供三相电源给电机,控制部则依需求转换输入电源频率。The driver of the three-phase brushless DC motor includes a power supply part and a control part. The power supply part provides three-phase power to the motor, and the control part converts the input power frequency according to the demand.

电源部的直流电压由换流器转成3相电压来驱动电机。换流器一般由6个功率晶体管(Q1~Q6)分为上臂(Q1、Q3、Q5)/下臂(Q2、Q4、Q6)连接电机作为控制流经电机线圈的开关。控制部则提供PWM(脉冲宽度调制)决定功率晶体管开关频度及换流器换相的时机。直流无刷电机在使用过程中,当负载变动时速度可以稳定于设定值,电机内部装有能感应磁场的霍尔传感器,做为速度之闭回路控制,同时也做为相序控制的依据。The DC voltage of the power supply is converted into 3-phase voltage by the inverter to drive the motor. The inverter is generally divided into upper arm (Q1, Q3, Q5)/lower arm (Q2, Q4, Q6) by 6 power transistors (Q1~Q6) connected to the motor as a switch to control the flow through the motor coil. The control part provides PWM (pulse width modulation) to determine the switching frequency of the power transistor and the timing of the commutation of the inverter. During the use of the brushless DC motor, the speed can be stabilized at the set value when the load changes. The Hall sensor that can sense the magnetic field is installed inside the motor, which is used as a closed-loop control of the speed and also as a basis for phase sequence control. .

当电机转子转动到霍尔传感器感应出另一组信号的位置时,控制部又再开启下一组功率晶体管,如此循环电机就可以同一方向继续转动,直到控制部决定要电机转子停止,则关闭功率晶体管(或只开下臂功率晶体管);要电机转子反向,则功率晶体管开启顺序相反。当电机转动起来,控制部会再根据驱动器设定的速度控制命令与霍尔传感器信号变化的速度加以比对(或由软件运算)再来决定由下一组开关导通,以及导通时间长短。速度不够则开长,速度过头则减短,此部份工作就由PWM来完成。When the motor rotor rotates to the position where the Hall sensor senses another set of signals, the control part turns on the next set of power transistors, so that the cycle motor can continue to rotate in the same direction, until the control part decides to stop the motor rotor, it turns off The power transistor (or only turn on the lower arm power transistor); if the motor rotor is to be reversed, the power transistor is turned on in the opposite order. When the motor starts to rotate, the control part will compare the speed control command set by the driver with the speed of the signal change of the Hall sensor (or calculate by software) to determine the conduction of the next group of switches and the conduction time. If the speed is not enough, it will be long, and if the speed is too high, it will be shortened. This part of the work is done by PWM.

上述现有技术的不足之处在于:所述功率晶体管即VMOS开关管的通断直接由控制器输出的PWM矩形波控制,从而使VMOS开关管在开启或关闭时的开启电压或关闭电压往往较高,导致开关损耗并使开关管发热严重,不仅浪费了电能,且能影响其开关特性和使用寿命,进而影响了整个驱动电路的使用寿命。The disadvantage of the above-mentioned prior art is that: the on-off of the power transistor, that is, the VMOS switch tube, is directly controlled by the PWM rectangular wave output by the controller, so that the turn-on voltage or the turn-off voltage of the VMOS switch tube when it is turned on or off is often relatively low. High, resulting in switching loss and severe heating of the switch tube, which not only wastes electric energy, but also affects its switching characteristics and service life, which in turn affects the service life of the entire drive circuit.

发明内容Contents of the invention

本发明要解决的技术问题是提供一种能有效降低开关管的开关损耗、使用寿命较长的无刷直流电机的驱动电路。The technical problem to be solved by the present invention is to provide a driving circuit of a brushless DC motor which can effectively reduce the switching loss of the switching tube and has a long service life.

为解决上述技术问题,本发明的无刷直流电机的驱动电路包括:单片机IC4和三组用于分别与无刷直流电机中的三组电机线圈的两端相连的电源电路;各电源电路包括:由直流电源1,开关管VMOS和变压器T构成的脉冲变压电路2,由变压器T的初级线圈及与其并联的谐振电容C3构成的LC谐振回路,用于在LC谐振回路的谐振时控制所述开关管VMOS同频率开闭的同步控制电路5,设于所述变压器T次级的整流电路、直流取样和分压取样回路3,以及设于所述变压器T次级的波形整流滤波电路4;所述整流电路的输出端即为电源电路的用于连接电机线圈的输出端;同步控制电路5包括:PWM信号产生电路和与门电路IC5;所述单片机IC4具有:用于三个分别与无刷直流电机中的三个霍尔传感器相连的霍尔信号输入端、三个分别与三组电源电路中的所述直流取样和分压取样回路3的取样电压输出端相连的取样电压检测端A/D0、A/D1和A/D2、以及三个分别与所述三组电源电路中的PWM信号产生电路的PWM脉宽控制输入端相连的PWM脉宽控制输出端端D/A0、D/A1和D/A2;PWM信号产生电路的PWM信号输出端与所述与门电路IC5的第一输入端相连,单片机IC4还具有分别与三组电源电路中的所述与门电路IC5的第二输入端相连的三个与门控制输出端P1.0、P1.1和P1.2,与门电路IC5的输出端与开关管VMOS的栅极相连;PWM信号产生电路与所述LC谐振回路并联,以产生与LC谐振回路的振荡频率相同的PWM信号;该PWM信号控制开关管VMOS反复在所述LC谐振回路的振荡波形中的正弦波的正半波上升沿的零电压时刻开启,并在该正半波下降沿的零电压时刻关闭。In order to solve the problems of the technologies described above, the drive circuit of the brushless DC motor of the present invention includes: a single-chip microcomputer IC4 and three groups of power circuits that are respectively connected to the two ends of the three groups of motor coils in the brushless DC motor; each power circuit includes: A pulse transformation circuit 2 composed of a DC power supply 1, a switching tube VMOS and a transformer T, and an LC resonant circuit composed of a primary coil of the transformer T and a resonant capacitor C3 connected in parallel with it, are used to control the resonant circuit of the LC resonant circuit. A synchronous control circuit 5 for switching the switching tube VMOS on and off at the same frequency, a rectification circuit, a DC sampling and a voltage division sampling circuit 3 located at the secondary side of the transformer T, and a waveform rectification filter circuit 4 located at the secondary side of the transformer T; The output end of described rectification circuit is the output end that is used to connect motor coil of power supply circuit; Synchronous control circuit 5 comprises: PWM signal generating circuit and AND gate circuit IC5; Described single-chip microcomputer IC4 has: for three respectively and no The Hall signal input terminals connected to the three Hall sensors in the brushed DC motor, and the three sampling voltage detection terminals A connected to the sampling voltage output terminals of the DC sampling and voltage-dividing sampling circuits 3 in the three groups of power circuits respectively / D0, A/D1 and A/D2, and three PWM pulse width control output terminals D/A0, D/ A1 and D/A2; the PWM signal output terminal of the PWM signal generating circuit is connected with the first input terminal of the AND gate circuit IC5, and the single-chip microcomputer IC4 also has the second gate circuit IC5 respectively connected with the three groups of power supply circuits. The three AND gates connected to the input terminals control the output terminals P1.0, P1.1 and P1.2, and the output terminal of the AND gate circuit IC5 is connected to the gate of the switching tube VMOS; the PWM signal generating circuit is connected in parallel with the LC resonance circuit , to generate the same PWM signal as the oscillating frequency of the LC resonant tank; the PWM signal controls the switching tube VMOS to repeatedly turn on at the zero voltage moment of the positive half-wave rising edge of the sine wave in the oscillating waveform of the LC resonant tank, and at The zero voltage moment of the falling edge of the positive half-wave is turned off.

单片机IC4根据各电源电路中的所述直流取样和分压取样回路3测得的直流取样信号和电压分压取样信号控制各电源电路中的所述PWM信号产生电路输出的PWM信号的占空比,以调整各电源电路中的变压器T1、T2和T3次级回路中的电流和电压;同时,单片机IC4根据来自所述各霍尔传感器的霍尔信号分别控制所述三个与门控制输出端P1.0、P1.1和P1.2输出相应的电平,以分别控制各电源电路中的所述LC谐振回路的振荡状态,从而使三组电源电路生成适于驱动三相直流无刷电机的三相电源。Single-chip microcomputer IC4 controls the duty ratio of the PWM signal output by the PWM signal generating circuit in each power supply circuit according to the DC sampling signal and the voltage division sampling signal measured by the DC sampling and voltage division sampling loop 3 in each power supply circuit , to adjust the current and voltage in the secondary circuits of the transformers T1, T2 and T3 in each power supply circuit; meanwhile, the single-chip microcomputer IC4 controls the three AND gate control output terminals respectively according to the Hall signals from the Hall sensors P1.0, P1.1, and P1.2 output corresponding levels to respectively control the oscillation state of the LC resonant circuit in each power supply circuit, so that the three sets of power supply circuits generate of three-phase power.

进一步,第一比较器IC1的两输入端的电平随所述LC谐振回路的振荡而同频率变化,并不停地开关所述开关管VMOS(开关频率与LC谐振回路的振荡频率相同),以使调整变压器T的次级回路产生正常的驱动电压。Further, the levels of the two input ends of the first comparator IC1 change with the frequency of the oscillation of the LC resonance circuit, and constantly switch the switching tube VMOS (the switching frequency is the same as the oscillation frequency of the LC resonance circuit), so as to Make the secondary circuit of the adjustment transformer T generate a normal driving voltage.

本发明具有积极的效果:(1)本发明的同步控制电路,将LC谐振回路的谐振电压波形的正半波取出,以分别在正半波上升沿和下降沿的零电压时刻开闭开关管,从而使开关管工作在接近零电压开启或关闭状态,大大减少了开关管的开关损耗和发热,节约了电能,且确保了其开关特性和使用寿命;(2)本发明的PWM信号产生电路包括锯齿波产生电路,与PWM脉宽控制端D/A输出的模拟量比较后产生PWM波形,该波形经过与门电路驱动VMOS开关管给LC谐振回路提供能量;(3)本发明的直流取样和分压取样回路的分压值经过单片机采样后作为编程控制PWM脉宽控制端输出模拟量、改变第二比较器输出PWM占空比的依据;同时直流取样和分压取样回路通过第一电阻取样电流大小,经过运放放大后供单片机的模数转换端口采集,以编程控制PWM脉宽控制端的输出模拟量,并通过改变第二比较器输出的PWM信号的占空比来改变电流大小。The present invention has positive effects: (1) the synchronous control circuit of the present invention takes out the positive half wave of the resonant voltage waveform of the LC resonant circuit, to open and close the switching tube at the zero voltage moment of the positive half wave rising edge and falling edge respectively , so that the switching tube works in a close to zero voltage on or off state, greatly reducing the switching loss and heating of the switching tube, saving electric energy, and ensuring its switching characteristics and service life; (2) PWM signal generating circuit of the present invention Including a sawtooth wave generation circuit, compared with the analog output of the PWM pulse width control terminal D/A, the PWM waveform is generated, and the waveform drives the VMOS switch tube to provide energy to the LC resonant circuit through an AND gate circuit; (3) DC sampling of the present invention The divided voltage value of the sampling circuit and the divided voltage sampling circuit is sampled by the microcontroller as the basis for programming the PWM pulse width control terminal to output the analog quantity and changing the duty cycle of the second comparator output PWM; at the same time, the DC sampling and the divided voltage sampling circuit pass through the first resistor The magnitude of the sampling current is amplified by the operational amplifier and then collected by the analog-to-digital conversion port of the single-chip microcomputer to program the output analog quantity of the PWM pulse width control terminal, and the current magnitude is changed by changing the duty cycle of the PWM signal output by the second comparator.

附图说明Description of drawings

图1为实施例中的无刷直流电机的驱动电路的结构框图;Fig. 1 is the block diagram of the drive circuit of the brushless DC motor in the embodiment;

图2为实施例中的无刷直流电机的驱动电路中单片机和一组电源电路的电路结构原理图;Fig. 2 is the schematic diagram of the circuit structure of a single-chip microcomputer and a group of power supply circuits in the drive circuit of the brushless DC motor in the embodiment;

图3为实施例中的无刷直流电机的驱动电路的局部电路结构原理图;Fig. 3 is the schematic diagram of the partial circuit structure of the drive circuit of the brushless DC motor in the embodiment;

图4为实施例中的无刷直流电机的三组电机线圈的结构示意图;Fig. 4 is the structural representation of three groups of motor coils of the brushless DC motor in the embodiment;

图5为实施例中的单片机工作时的程序框图;Fig. 5 is the program block diagram when the single-chip microcomputer in the embodiment works;

图6为实施例中的单片机的与门控制输出端P1.0输出的电压波形、相应电源电路中的PWM信号产生电路输出的PWM信号的电压波形和开关管栅极的电压波形的关系图;Fig. 6 is the relationship diagram of the voltage waveform output by the AND gate control output terminal P1.0 of the single-chip microcomputer in the embodiment, the voltage waveform of the PWM signal output by the PWM signal generating circuit in the corresponding power supply circuit, and the voltage waveform of the switching tube grid;

图7为实施例中的同一电源电路中开关管栅极的电压波形和开关管漏极的电压波形的关系图。FIG. 7 is a relationship diagram between the voltage waveform of the gate of the switching tube and the voltage waveform of the drain of the switching tube in the same power supply circuit in the embodiment.

具体实施方式Detailed ways

见图1-7,本发明的无刷直流电机的驱动电路包括:单片机IC4和三组用于分别与无刷直流电机中的三组电机线圈(包括:第一组电机线圈X1-X2,第二组电机线圈X3-X4、第三组电机线圈X5-X6,见图4)的两端相连的电源电路。See Fig. 1-7, the driving circuit of the brushless DC motor of the present invention comprises: single-chip microcomputer IC4 and three groups are used for respectively with three groups of motor coils in the brushless DC motor (comprising: the first group of motor coils X1-X2, the second group of motor coils The two sets of motor coils X3-X4, the third set of motor coils X5-X6, see the power circuit connected to both ends of Fig. 4).

各电源电路包括:由直流电源1,开关管VMOS和变压器T构成的脉冲变压电路2,由变压器T的初级线圈及与其并联的谐振电容C3构成的LC谐振回路,用于在LC谐振回路的谐振时控制所述开关管VMOS同频率开闭的同步控制电路5,设于所述变压器T次级的整流电路、直流取样和分压取样回路3,以及设于所述变压器T次级的波形整流滤波电路4;所述整流电路的输出端即为电源电路的用于连接电机线圈的输出端。所述整流电路为二极管D1构成的半波整流电路,也可采用全波整流电路。Each power supply circuit includes: a pulse transformation circuit 2 composed of a DC power supply 1, a switching tube VMOS and a transformer T, and an LC resonant circuit composed of the primary coil of the transformer T and a resonant capacitor C3 connected in parallel with it, which is used in the LC resonant circuit. The synchronous control circuit 5 that controls the switching tube VMOS to switch on and off at the same frequency during resonance, the rectification circuit, DC sampling and voltage dividing sampling circuit 3 located at the secondary side of the transformer T, and the waveform located at the secondary side of the transformer T Rectification and filtering circuit 4; the output end of the rectification circuit is the output end of the power circuit for connecting the motor coil. The rectification circuit is a half-wave rectification circuit composed of diode D1, and a full-wave rectification circuit may also be used.

同步控制电路5包括:PWM信号产生电路和与门电路IC5。The synchronous control circuit 5 includes: a PWM signal generation circuit and an AND gate circuit IC5.

所述单片机IC4具有:用于三个分别与无刷直流电机中的三个霍尔传感器相连的霍尔信号输入端,三个分别与三组电源电路中的所述直流取样和分压取样回路3的取样电压输出端相连的取样电压检测端A/D0、A/D1和A/D2,用于获取各电源电路中的所述直流取样和分压取样回路3测得的直流取样信号的直流取样信号输入端D/A3、D/A4和D/A5,以及三个分别与所述三组电源电路中的PWM信号产生电路的PWM脉宽控制输入端相连的PWM脉宽控制输出端端D/A0、D/A1和D/A2。The single-chip microcomputer IC4 has: three Hall signal input terminals connected respectively with three Hall sensors in the brushless DC motor, three respectively connected with the DC sampling and voltage-dividing sampling circuits in the three groups of power circuits The sampling voltage detection terminals A/D0, A/D1 and A/D2 connected to the sampling voltage output terminal of 3 are used to obtain the direct current of the direct current sampling signal measured by the direct current sampling and voltage division sampling loop 3 in each power supply circuit Sampling signal input terminals D/A3, D/A4 and D/A5, and three PWM pulse width control output terminals D connected to the PWM pulse width control input terminals of the PWM signal generating circuits in the three groups of power circuits respectively /A0, D/A1, and D/A2.

PWM信号产生电路的PWM信号输出端与所述与门电路IC5的第一输入端相连,单片机IC4还具有分别与三组电源电路中的所述与门电路IC5的第二输入端相连的三个与门控制输出端P1.0、P1.1和P1.2,与门电路IC5的输出端与开关管VMOS的栅极相连。The PWM signal output end of the PWM signal generating circuit is connected with the first input end of the said AND gate circuit IC5, and the single-chip microcomputer IC4 also has three links to each other with the second input end of the described AND gate circuit IC5 in the three groups of power supply circuits respectively. The AND gate controls the output terminals P1.0, P1.1 and P1.2, and the output terminal of the AND gate circuit IC5 is connected to the gate of the switching tube VMOS.

PWM信号产生电路与所述LC谐振回路并联,以产生与LC谐振回路的振荡频率相同的PWM信号;该PWM信号控制开关管VMOS反复在所述LC谐振回路的振荡波形中的正弦波的正半波上升沿的零电压时刻开启,并在该正半波下降沿的零电压时刻关闭。The PWM signal generating circuit is connected in parallel with the LC resonant tank to generate a PWM signal with the same oscillation frequency as the LC resonant tank; the PWM signal controls the switching tube VMOS to repeat the positive half of the sine wave in the oscillating waveform of the LC resonant tank It is turned on at the zero voltage moment of the rising edge of the wave and turned off at the zero voltage moment of the falling edge of the positive half wave.

单片机IC4根据各电源电路中的所述直流取样和分压取样回路3测得的直流取样信号和电压分压取样信号控制各电源电路中的所述PWM信号产生电路输出的PWM信号的占空比,以调整各电源电路中的变压器T1、T2和T3次级回路中的电流和电压;同时,单片机IC4根据来自所述各霍尔传感器的霍尔信号分别控制所述三个与门控制输出端P1.0、P1.1和P1.2输出相应的电平,以分别控制各电源电路中的所述LC谐振回路的振荡状态,从而使三组电源电路生成适于驱动三相直流无刷电机的三相电源。Single-chip microcomputer IC4 controls the duty ratio of the PWM signal output by the PWM signal generating circuit in each power supply circuit according to the DC sampling signal and the voltage division sampling signal measured by the DC sampling and voltage division sampling loop 3 in each power supply circuit , to adjust the current and voltage in the secondary circuits of the transformers T1, T2 and T3 in each power supply circuit; meanwhile, the single-chip microcomputer IC4 controls the three AND gate control output terminals respectively according to the Hall signals from the Hall sensors P1.0, P1.1, and P1.2 output corresponding levels to respectively control the oscillation state of the LC resonant circuit in each power supply circuit, so that the three sets of power supply circuits generate of three-phase power.

所述PWM信号产生电路包括:由第二电容C2、第二二极管D2、第九电阻R9和第一比较器IC1构成的锯齿波发生电路、以及输出端与所述与门电路IC5的第一输入端相连的第二比较器IC2;第一比较器IC1的两个输入端分别通过第一分压电路和第二分压电路并联于谐振电容C3两端,第二二极管D2的阴极与直流电源VCC相连,第二二极管D2的阳极接第二比较器IC2的反向输入端,第一比较器IC1的输出端串接第二电容C2后接第二比较器IC2的反向输入端,第九电阻R9与第二二极管D2并联,第二比较器IC2的同向输入端与所述单片机IC4的PWM脉宽控制端D/A相连;第二比较器IC2的输出端即为PWM信号产生电路的PWM信号输出端。The PWM signal generation circuit includes: a sawtooth wave generation circuit composed of a second capacitor C2, a second diode D2, a ninth resistor R9, and a first comparator IC1, and a first connection between the output terminal and the AND gate circuit IC5. The second comparator IC2 connected to one input terminal; the two input terminals of the first comparator IC1 are respectively connected in parallel to both ends of the resonant capacitor C3 through the first voltage divider circuit and the second voltage divider circuit, and the cathode of the second diode D2 It is connected to the DC power supply VCC, the anode of the second diode D2 is connected to the inverting input terminal of the second comparator IC2, the output terminal of the first comparator IC1 is connected in series with the second capacitor C2 and then connected to the inverting terminal of the second comparator IC2 The input terminal, the ninth resistor R9 is connected in parallel with the second diode D2, and the same direction input terminal of the second comparator IC2 is connected with the PWM pulse width control terminal D/A of the single-chip microcomputer IC4; the output terminal of the second comparator IC2 It is the PWM signal output terminal of the PWM signal generating circuit.

各电源电路还包括与所述单片机IC4的一个与门控制输出端(以端口P1.0为例)相连的第十四电阻R14,第十四电阻R14的另一端接第三二极管D3的阴极,第三二极管D3的阳极与所述与门电路IC5的第二输入端相连,且与门电路IC5的第二输入端与所述直流电源VCC相连;第三二极管D3的阴极经第六电容C6与第一比较器IC1的反向输入端相连。Each power supply circuit also includes a fourteenth resistor R14 connected to an AND gate control output terminal (taking port P1.0 as an example) of the single-chip microcomputer IC4, and the other end of the fourteenth resistor R14 is connected to the third diode D3. The cathode, the anode of the third diode D3 is connected with the second input terminal of the AND gate circuit IC5, and the second input terminal of the AND gate circuit IC5 is connected with the DC power supply VCC; the cathode of the third diode D3 It is connected to the inverting input terminal of the first comparator IC1 through the sixth capacitor C6.

见图2,当第一组电源电路上电时,所述单片机IC4的与该组电源电路相连的与门控制输出端P1.0产生一个电平由低到高的脉冲,经过第十四电阻R14和第六电容C6后产生一个高电平脉冲,使得第一比较器IC1的反向输入端的电位抬高,从而使第二比较器IC2的反向输入端的电位降低,并低于所述单片机IC4的与该组电源电路相连的PWM脉宽控制端D/A0的电位,使第二比较器IC2输出高电平,此时所述与门控制输出端P1.0呈高电平,使所述与门电路IC5驱动开关管VMOS打开,使LC谐振回路开始振荡。As shown in Figure 2, when the first group of power circuits is powered on, the AND gate control output terminal P1.0 of the single-chip microcomputer IC4 connected to the group of power circuits generates a pulse from low to high, and passes through the fourteenth resistor After R14 and the sixth capacitor C6, a high-level pulse is generated, so that the potential of the inverting input terminal of the first comparator IC1 is raised, thereby reducing the potential of the inverting input terminal of the second comparator IC2, and is lower than that of the microcontroller The potential of the PWM pulse width control terminal D/A0 connected to the group of power supply circuits of IC4 makes the second comparator IC2 output a high level. At this time, the AND gate control output terminal P1.0 is high level, so that all The AND gate circuit IC5 drives the switching tube VMOS to turn on, so that the LC resonant circuit starts to oscillate.

第一比较器IC1的两输入端的电平随所述LC谐振回路的振荡而同频率变化,并不停地开关所述开关管VMOS,以使调整变压器T的次级回路产生正常的驱动电压。The level of the two input terminals of the first comparator IC1 changes with the frequency of the oscillation of the LC resonant circuit, and keeps switching the switching tube VMOS, so that the secondary circuit of the adjustment transformer T generates a normal driving voltage.

其他实施方式中,所述开关管可使用IGBT等元件。In other implementation manners, the switch tube may use components such as IGBTs.

Claims (3)

1.一种无刷直流电机的驱动电路,其特征在于包括:单片机(IC4)和三组用于分别与无刷直流电机中的三组电机线圈的两端相连的电源电路;1. A drive circuit for a brushless DC motor, characterized in that it comprises: a single-chip microcomputer (IC4) and three groups of power circuits that are used to be connected to the two ends of the three groups of motor coils in the brushless DC motor respectively; 各电源电路包括:由直流电源(1),开关管(VMOS)和变压器(T)构成的脉冲变压电路(2),由变压器(T)的初级线圈及与其并联的谐振电容(C3)构成的LC谐振回路,用于在LC谐振回路的谐振时控制所述开关管(VMOS)同频率开闭的同步控制电路(5),设于所述变压器(T)次级的整流电路、直流取样和分压取样回路(3),以及设于所述变压器(T)次级的波形整流滤波电路(4);所述整流电路的输出端即为电源电路的用于连接电机线圈的输出端;Each power supply circuit includes: a pulse transformation circuit (2) composed of a DC power supply (1), a switching tube (VMOS) and a transformer (T), which is composed of the primary coil of the transformer (T) and the resonant capacitor (C3) connected in parallel with it The LC resonant circuit is used to control the synchronous control circuit (5) of the switching tube (VMOS) switching on and off at the same frequency when the LC resonant circuit resonates, and the rectifier circuit and DC sampling set on the secondary side of the transformer (T) and a voltage dividing sampling circuit (3), and a waveform rectification and filtering circuit (4) arranged on the secondary side of the transformer (T); the output end of the rectification circuit is the output end of the power circuit for connecting the motor coil; 同步控制电路(5)包括:PWM信号产生电路和与门电路(IC5);The synchronous control circuit (5) includes: a PWM signal generating circuit and an AND gate circuit (IC5); 所述单片机(IC4)具有:用于三个分别与无刷直流电机中的三个霍尔传感器相连的霍尔信号输入端、三个分别与三组电源电路中的所述直流取样和分压取样回路(3)的取样电压输出端相连的取样电压检测端(A/D0、A/D1和A/D2)、以及三个分别与所述三组电源电路中的PWM信号产生电路的PWM脉宽控制输入端相连的PWM脉宽控制输出端(D/A0、D/A1和D/A2); The single-chip microcomputer (IC4) has: three Hall signal input terminals respectively connected to the three Hall sensors in the brushless DC motor, three respectively connected to the DC sampling and voltage dividing in the three groups of power circuits The sampling voltage detection terminals (A/D0, A/D1 and A/D2) connected to the sampling voltage output terminals of the sampling circuit (3), and three PWM pulses respectively connected to the PWM signal generating circuits in the three groups of power supply circuits PWM pulse width control output terminals (D/A0, D/A1 and D/A2) connected to the wide control input terminals; PWM信号产生电路的PWM信号输出端与所述与门电路(IC5)的第一输入端相连,单片机(IC4)还具有分别与三组电源电路中的所述与门电路(IC5)的第二输入端相连的三个与门控制输出端(P1.0、P1.1和P1.2),与门电路(IC5)的输出端与开关管(VMOS)的栅极相连;The PWM signal output terminal of the PWM signal generating circuit is connected to the first input terminal of the AND gate circuit (IC5), and the single-chip microcomputer (IC4) also has a second terminal connected to the AND gate circuit (IC5) in the three groups of power supply circuits respectively. The three AND gate control output terminals (P1.0, P1.1 and P1.2) connected to the input terminals, and the output terminal of the AND gate circuit (IC5) are connected to the gate of the switching tube (VMOS); PWM信号产生电路与所述LC谐振回路并联,以产生与LC谐振回路的振荡频率相同的PWM信号;该PWM信号控制开关管(VMOS)反复在所述LC谐振回路的振荡波形中的正弦波的正半波上升沿的零电压时刻开启,并在该正半波下降沿的零电压时刻关闭;The PWM signal generating circuit is connected in parallel with the LC resonant tank to generate a PWM signal with the same oscillation frequency as the LC resonant tank; the PWM signal controls the switching tube (VMOS) to repeat the sine wave in the oscillating waveform of the LC resonant tank Turn on at the zero voltage moment of the rising edge of the positive half wave, and turn off at the zero voltage moment of the falling edge of the positive half wave; 单片机(IC4)根据各电源电路中的所述直流取样和分压取样回路(3)测得的直流取样信号和电压分压取样信号控制各电源电路中的所述PWM信号产生电路输出的PWM信号的占空比,以调整各电源电路中的变压器(T1、T2和T3)次级回路中的电流和电压;The single-chip microcomputer (IC4) controls the PWM signal output by the PWM signal generation circuit in each power supply circuit according to the DC sampling signal and voltage division sampling signal measured by the DC sampling and voltage division sampling circuit (3) in each power supply circuit to adjust the current and voltage in the secondary loop of the transformers (T1, T2 and T3) in each power supply circuit; 同时,单片机(IC4)根据来自所述各霍尔传感器的霍尔信号分别控制所述三个与门控制输出端(P1.0、P1.1和P1.2)按序输出相应的电平,以分别控制各电源电路中的所述LC谐振回路的振荡状态,从而使三组电源电路生成适于驱动三相直流无刷电机的三相电源;At the same time, the single-chip microcomputer (IC4) respectively controls the three AND gate control output terminals (P1.0, P1.1 and P1.2) to output corresponding levels in sequence according to the Hall signals from the Hall sensors. To respectively control the oscillating states of the LC resonant circuits in each power supply circuit, so that the three sets of power supply circuits generate a three-phase power supply suitable for driving a three-phase brushless DC motor; 所述PWM信号产生电路包括:由第二电容(C2)、第二二极管(D2)、第九电阻(R9)和第一比较器(IC1)构成的锯齿波发生电路、以及输出端与所述与门电路(IC5)的第一输入端相连的第二比较器(IC2);第一比较器(IC1)的两个输入端分别通过第一分压电路和第二分压电路并联于谐振电容(C3)两端,第二二极管(D2)的阴极与直流电源(VCC)相连,第二二极管(D2)的阳极接第二比较器(IC2)的反向输入端,第一比较器(IC1)的输出端串接第二电容(C2)后接第二比较器(IC2)的反向输入端,第九电阻(R9)与第二二极管(D2)并联,第二比较器(IC2)的同向输入端与所述单片机(IC4)的PWM脉宽控制端(D/A)相连;第二比较器(IC2)的输出端即为PWM信号产生电路的PWM信号输出端;The PWM signal generating circuit includes: a sawtooth wave generating circuit composed of a second capacitor (C2), a second diode (D2), a ninth resistor (R9) and a first comparator (IC1), and an output terminal and The second comparator (IC2) connected to the first input terminal of the AND gate circuit (IC5); the two input terminals of the first comparator (IC1) are connected in parallel through the first voltage divider circuit and the second voltage divider circuit respectively Both ends of the resonant capacitor (C3), the cathode of the second diode (D2) is connected to the DC power supply (VCC), the anode of the second diode (D2) is connected to the inverting input terminal of the second comparator (IC2), The output terminal of the first comparator (IC1) is connected in series with the second capacitor (C2) and then connected to the inverting input terminal of the second comparator (IC2), and the ninth resistor (R9) is connected in parallel with the second diode (D2), The non-inverting input terminal of the second comparator (IC2) is connected to the PWM pulse width control terminal (D/A) of the microcontroller (IC4); the output terminal of the second comparator (IC2) is the PWM signal output; 各电源电路还包括与所述单片机(IC4)的一个与门控制输出端(P1.0)相连的第十四电阻(R14),第十四电阻(R14)的另一端接第三二极管(D3)的阴极,第三二极管(D3)的阳极与所述与门电路(IC5)的第二输入端相连,且与门电路(IC5)的第二输入端与所述直流电源(VCC)相连;第三二极管(D3)的阴极经第六电容(C6)与第一比较器(IC1)的反向输入端相连。Each power supply circuit also includes a fourteenth resistor (R14) connected to an AND gate control output terminal (P1.0) of the microcontroller (IC4), and the other end of the fourteenth resistor (R14) is connected to the third diode (D3) cathode, the anode of the third diode (D3) is connected to the second input terminal of the AND gate circuit (IC5), and the second input terminal of the AND gate circuit (IC5) is connected to the DC power supply ( VCC) is connected; the cathode of the third diode (D3) is connected with the inverting input terminal of the first comparator (IC1) through the sixth capacitor (C6). 2.根据权利要求1所述的无刷直流电机的驱动电路,其特征在于:当一组电源电路上电时,所述单片机(IC4)的与该组电源电路相连的与门控制输出端(P1.0)产生一个电平由低到高的脉冲,经过第十四电阻(R14)和第六电容(C6)后产生一个高电平脉冲,使得第一比较器(IC1)的反向输入端的电位抬高,从而使第二比较器(IC2)的反向输入端的电位降低,并低于所述单片机(IC4)的与该组电源电路相连的PWM脉宽控制端(D/A0)的电位,使第二比较器(IC2)输出高电平,此时所述与门控制输出端(P1.0)呈高电平,使所述与门电路(IC5)驱动开关管(VMOS)打开,使LC谐振回路开始振荡。2. The driving circuit of brushless DC motor according to claim 1, characterized in that: when a group of power circuits is powered on, the AND gate control output terminal ( P1.0) generates a pulse from low to high, and generates a high-level pulse after passing through the fourteenth resistor (R14) and the sixth capacitor (C6), making the reverse input of the first comparator (IC1) The potential of the terminal increases, so that the potential of the inverting input terminal of the second comparator (IC2) decreases, and is lower than that of the PWM pulse width control terminal (D/A0) of the microcontroller (IC4) connected to the power supply circuit of the group. Potential, so that the second comparator (IC2) outputs a high level, at this time the AND gate control output terminal (P1.0) is at a high level, so that the AND gate circuit (IC5) drives the switching tube (VMOS) to open , so that the LC resonant tank starts to oscillate. 3.根据权利要求1或2所述的无刷直流电机的驱动电路,其特征在于:第一比较器(IC1)的两输入端的电平随所述LC谐振回路的振荡而同频率变化,并不停地开关所述开关管(VMOS),以使调整变压器(T)的次级回路产生正常的驱动电压。3. The brushless DC motor drive circuit according to claim 1 or 2, characterized in that: the levels of the two input terminals of the first comparator (IC1) change with the same frequency as the oscillation of the LC resonant circuit, and The switching tube (VMOS) is constantly switched on and off, so that the secondary circuit of the adjustment transformer (T) can generate a normal driving voltage.
CN2009103117800A 2009-12-18 2009-12-18 Drive circuit of brushless DC motor Expired - Fee Related CN101714845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009103117800A CN101714845B (en) 2009-12-18 2009-12-18 Drive circuit of brushless DC motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009103117800A CN101714845B (en) 2009-12-18 2009-12-18 Drive circuit of brushless DC motor

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN2011100295413A Division CN102075129B (en) 2009-12-18 2009-12-18 Driving circuit for brushless direct current motor

Publications (2)

Publication Number Publication Date
CN101714845A CN101714845A (en) 2010-05-26
CN101714845B true CN101714845B (en) 2011-09-28

Family

ID=42418169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009103117800A Expired - Fee Related CN101714845B (en) 2009-12-18 2009-12-18 Drive circuit of brushless DC motor

Country Status (1)

Country Link
CN (1) CN101714845B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025305B (en) * 2010-12-07 2012-09-26 南京邮电大学 Hall phase sequence detecting method and device of brushless direct-current motor
CN108347159B (en) * 2018-03-07 2023-10-27 深圳市博为光电股份有限公司 Wireless driving power supply

Also Published As

Publication number Publication date
CN101714845A (en) 2010-05-26

Similar Documents

Publication Publication Date Title
CN102916593B (en) Power converter circuit
CN103283133B (en) For the method and apparatus that controlled resonant converter controls
CN100517542C (en) Permanent Magnet Mechanism Controller Based on Pulse Width Modulation Technology
CN102832826A (en) Control circuit, conversion system and control method for power converter
CN101892998A (en) Direct-current frequency conversion electric fan
CN101651421B (en) Power supply driving circuit
CN204669256U (en) Based on the motor servo control system of industrial flat bed sewing machine
CN101494424B (en) Control method for tri-level inverter
CN108400730A (en) A kind of square-wave motor control system and use its square-wave motor
CN111313728A (en) Buck-boost drive circuit, method, air conditioner, and computer-readable storage medium
CN104113215A (en) DC-DC converter and control method thereof
CN100380797C (en) Semiconductor apparatus for controlling a switching power supply
CN101714845B (en) Drive circuit of brushless DC motor
JP2016537942A (en) Drive circuit for brushless motor having AC / AC boost converter
CN101453182A (en) Motor uni-current sensor controlling method and apparatus based on four switch inversion bridge
CN104022672B (en) Self adaptation adjustable delay circuit for Sofe Switch ZVT changer
CN101316076B (en) Output current control method of inverter
CN202150804U (en) AC adjustable special-purpose power supply for electric power measuring
CN102075129B (en) Driving circuit for brushless direct current motor
JP4735013B2 (en) Power converter
CN201753692U (en) Direct current (DC) frequency conversion electric fan
TWI305699B (en) A power inverter for a solar energy photovoltaic system
CN210745044U (en) SRM direct instantaneous torque control system based on novel multi-level power circuit
JP6161834B2 (en) Auxiliary power supply for electric cars
JP5823248B2 (en) AC / DC inverter device and control method of AC / DC inverter device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: SHENLING ELECTRIC MANUFACTURING CO., LTD., HAIAN

Free format text: FORMER OWNER: JIANGSU TECHNOLOGY NORMAL COLLEGE

Effective date: 20130821

Owner name: JIANGSU UNIVERSITY OF TECHNOLOGY

Effective date: 20130821

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 213001 CHANGZHOU, JIANGSU PROVINCE TO: 226600 NANTONG, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20130821

Address after: 226600 Haian, Jiangsu province Haian Zhenhai Road, No. 88, South Road, No.

Patentee after: Haian Shenling Electrical Appliance Manufacturing Co., Ltd.

Patentee after: Jiangsu University of Technology

Address before: 213001 Changzhou Province in the Clock Tower District, Jiangsu, Wu Road, No. 1801

Patentee before: Jiangsu Teachers University of Technology

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110928

Termination date: 20181218

CF01 Termination of patent right due to non-payment of annual fee