A brushless DC motor control circuit and method based on position sensor
By adopting the H-PWM_L-PWM modulation method based on position sensor and overcurrent protection and fault counting functions in the brushless DC motor control circuit, the problems of poor reliability, large volume, high cost and large loss of the brushless DC motor phase commutation control circuit in the prior art are solved, and the motor control effect with high reliability, low cost and low loss is achieved.
Patent Information
- Application Number
- CN202110552853.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-20
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2041-05-20
AI Technical Summary
The existing brushless DC motor phase-commutation control circuits have problems such as poor reliability, large volume, high cost, switching losses and motor losses.
The brushless DC motor control circuit based on position sensor is adopted, including position sensor, commutation control logic circuit, driving circuit and power main circuit. The commutation control of the motor is realized through H-PWM_L-PWM modulation, and an overcurrent protection circuit, a fault counting and latch circuit are added to the circuit to improve the reliability of the system.
The high reliability, low cost and small size commutation control of the motor is realized, reducing switching losses and motor losses, and improving the safety and stability of the system through overcurrent protection and fault counting functions.
Smart Images

Figure CN115395832B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of brushless DC motor commutation, and in particular to a brushless DC motor control circuit and method based on a position sensor. Background Art
[0002] At present, there are mainly two methods for the control circuit of brushless DC motor based on position sensor. The first method is a method of jointly implementing a position sensor, a bridge drive circuit and a processor chip. The processor chip collects the signal of the position sensor and outputs a control signal to control the bridge drive circuit to realize the phase change of the motor according to the phase change control algorithm. The advantage of this method is mature technology and simple control algorithm, but the disadvantage is that due to the need for processor chips and peripheral circuits, the circuit is complex, large in size, and high in cost, which is limited when used in low-cost applications; the second method is a method without position sensors, which uses processor chips, control algorithms and detection circuits to jointly realize the phase change of the motor. The advantage of this method is that the position sensor is omitted and the motor leads are reduced, but the disadvantage is that the detection circuit and control algorithm are relatively complex, and the processor chip and control algorithm need to be combined, resulting in high cost, reduced reliability, and large switching loss and motor loss.
[0003] In addition, the prior art lacks a brushless DC motor control method for the H-PWM_L-PWM modulation method, which limits the use scenarios of brushless DC motor control. Summary of the invention
[0004] In view of the above analysis, an embodiment of the present invention aims to provide a brushless DC motor control circuit and method based on a position sensor, so as to solve the problems of poor reliability, large size, high cost, large switching loss and motor loss of the existing motor commutation control circuit.
[0005] The present invention discloses a brushless DC motor control circuit based on a position sensor, comprising:
[0006] Position sensor, used to collect the position Hall signal output by the brushless DC motor;
[0007] A commutation control logic circuit is used to receive and process the direction control signal, the PWM signal and the position Hall signal, and generate a commutation control logic signal adapted to the H-PWM_L-PWM modulation mode;
[0008] A driving circuit, used for amplifying the commutation control logic signal to obtain a driving signal;
[0009] The power main circuit is used to perform the H-PWM_L-PWM modulation process based on the driving signal, generate a brushless DC motor input control signal, and use the brushless DC motor input control signal to drive the brushless DC motor to work.
[0010] On the basis of the above scheme, the present invention also makes the following improvements:
[0011] Furthermore, the corresponding relationship between the position Hall signals HA, HB, HC and the direction control signal DIR and the commutation control logic signals S1-S6 is:
[0012] If HA, HB, HC, and DIR are "1011" or "0100", the waveforms of signals S1 and S6 are PWM signals, and signals S2, S3, S4, and S5 are low levels;
[0013] If HA, HB, HC, and DIR are "1001" or "0110", the waveforms of signals S1 and S2 are PWM signals, and signals S3, S4, S5, and S6 are all low levels;
[0014] If HA, HB, HC, and DIR are "1101" or "0010", the waveforms of signals S2 and S3 are PWM signals, and signals S1, S4, S5, and S6 are all low levels;
[0015] If HA, HB, HC, and DIR are "0101" or "1010", the waveforms of signals S3 and S4 are PWM signals, and signals S1, S2, S5, and S6 are all low levels;
[0016] If HA, HB, HC, and DIR are "0111" or "1000", the waveforms of signals S4 and S5 are PWM signals, and signals S1, S2, S3, and S6 are all low levels;
[0017] If HA, HB, HC, and DIR are "0011" or "1100", the waveforms of signals S5 and S6 are PWM signals, and signals S1, S2, S3, and S4 are all low levels;
[0018] When DIR is 1, the motor rotates forward, and when DIR is 0, the motor rotates reversely.
[0019] Further, the signals S1, S3, and S5 are respectively used to control the opening or closing of the power tubes VT1, VT3, and VT5 in the upper bridge arm of the power main circuit; the signals S2, S4, and S6 are respectively used to control the opening or closing of the power tubes VT4, VT6, and VT2 in the lower bridge arm of the power main circuit; in the power main circuit, VT1 and VT4 are on one bridge arm, VT3 and VT6 are on one bridge arm, and VT5 and VT2 are on one bridge arm.
[0020] Further, if the waveforms of S1 and S6 are PWM signals, and the signals S2, S3, S4, and S5 are all low levels, then the input control signal UA of the A-phase brushless DC motor is an alternating transformation between DC+ / 2 and 0, and the alternating transformation between DC+ / 2 and 0 is: when the PWM signal is at a high level, it is DC+ / 2, and when the PWM signal is at a low level, it is 0; the input control signal UB of the B-phase brushless DC motor is an alternating transformation between 0 and DC+ / 2, and the alternating transformation between 0 and DC+ / 2 is: when the PWM signal is at a high level, it is 0, and when the PWM signal is at a low level, it is DC+ / 2; the input control signal UC of the C-phase brushless DC motor is a linear decrease from DC+ / 2 to -DC+ / 2;
[0021] If the waveforms of signals S1 and S2 are PWM signals, and signals S3, S4, S5, and S6 are all low levels, then UA is an alternating change between DC+ / 2 and 0; UC is an alternating change between 0 and DC+ / 2; and UB is a linear increase from -DC+ / 2 to DC+ / 2.
[0022] If the waveforms of signals S3 and S2 are PWM signals, and signals S1, S4, S5, and S6 are all low levels, then UB is an alternating change between DC+ / 2 and 0, UC is an alternating change between 0 and DC+ / 2, and UA is a linear decrease from DC+ / 2 to -DC+ / 2;
[0023] If the waveforms of signals S3 and S4 are PWM signals, and signals S1, S2, S5, and S6 are all low levels, then UB is an alternating change between DC+ / 2 and 0, UA is an alternating change between 0 and DC+ / 2, and UC is a linear increase from -DC+ / 2 to DC+ / 2;
[0024] If the waveforms of signals S5 and S4 are PWM signals, and signals S1, S2, S3, and S6 are all low levels, then UC is an alternating change between DC+ / 2 and 0, UA is an alternating change between 0 and DC+ / 2, and UB is a linear decrease from DC+ / 2 to -DC+ / 2;
[0025] If the waveforms of signals S5 and S6 are PWM signals, and signals S1, S2, S3, and S4 are all low levels, then UC is an alternating change between DC+ / 2 and 0, UB is an alternating change between 0 and DC+ / 2, and UA is a linear increase from -DC+ / 2 to DC+ / 2.
[0026] Furthermore, the commutation control circuit also includes an overcurrent protection circuit.
[0027] When the overcurrent protection circuit receives the overcurrent signal output by the power main circuit, the overcurrent protection signal output by the overcurrent protection circuit is a low level; otherwise, the output overcurrent protection signal is a high level;
[0028] The overcurrent protection signal is input to the commutation control logic circuit. When the overcurrent protection signal is at a low level, the commutation control logic signals S2, S4 and S6 are pulled down.
[0029] Furthermore, the commutation control circuit further includes a fault counting and latching circuit,
[0030] The fault counting and latching control circuit receives the overcurrent protection signal, and each time the overcurrent protection signal is detected to switch from a high level to a low level, the count value stored in the fault counting and latching circuit is increased by 1;
[0031] When the count value does not reach the set count threshold, the first locking signal output by the fault counting and latching circuit is latched as a low level, and the second locking signal is latched as a high level;
[0032] When the count value reaches the set count threshold, the first locking signal output by the fault counting and latching circuit is latched as a high level, and the second locking signal is latched as a low level;
[0033] The first locking signal is input to the driving circuit, and when the first latch signal is at a high level, the driving signal is simultaneously locked to a low level;
[0034] The second locking signal is input to the phase switching control logic circuit. When the second locking signal is at a low level, the phase switching control logic signals S2, S4 and S6 are pulled low.
[0035] Further, the initial value of the count value is zero;
[0036] When the fault counting and latching circuit receives a reset signal, the count value is reset.
[0037] Furthermore, the commutation control logic circuit includes: S1-S6 control logic modules and a logic NOT module, each of which is composed of an AND gate and an OR gate; the logic NOT module includes NOT gates 1-4, which are used to perform logic NOT operations on HA, HB, HC and DIR respectively and then output signals HA1, HB1, HC1 and DIR1; wherein:
[0038] The S1 control logic module includes AND gates 1-6 and OR gate 1; the two input ends of AND gate 1 receive signals HA and HB1 respectively, and the two input ends of AND gate 2 receive signals DIR and PWM respectively; the two input ends of AND gate 3 are connected to the output ends of AND gate 1 and AND gate 2 respectively; the two input ends of AND gate 4 receive signals HA1 and HB respectively, and the two input ends of AND gate 5 receive signals DIR1 and PWM respectively; the two input ends of AND gate 6 are connected to the output ends of AND gate 4 and AND gate 5 respectively; the two input ends of OR gate 1 are connected to the output ends of AND gate 3 and AND gate 6 respectively, and the output end of OR gate 1 outputs signal S1;
[0039] The S3 control logic module includes AND gates 7-12 and an OR gate 2; the two input ends of the AND gate 7 receive signals HB and HC1 respectively, and the two input ends of the AND gate 8 receive signals DIR and PWM respectively; the two input ends of the AND gate 9 are connected to the output ends of the AND gate 7 and the AND gate 8 respectively; the two input ends of the AND gate 10 receive signals HB1 and HC respectively, and the two input ends of the AND gate 11 receive signals DIR1 and PWM respectively; the two input ends of the AND gate 12 are connected to the output ends of the AND gate 10 and the AND gate 11 respectively; the two input ends of the OR gate 2 are connected to the output ends of the AND gate 9 and the AND gate 12 respectively, and the output end of the OR gate 2 outputs a signal S3;
[0040] The S5 control logic module includes AND gates 13-18 and an OR gate 3; the two input ends of the AND gate 13 receive signals HC and HA1 respectively, and the two input ends of the AND gate 14 receive signals DIR and PWM respectively; the two input ends of the AND gate 15 are connected to the output ends of the AND gates 13 and 14 respectively; the two input ends of the AND gate 16 receive signals HC1 and HA respectively, and the two input ends of the AND gate 17 receive signals DIR1 and PWM respectively; the two input ends of the AND gate 18 are connected to the output ends of the AND gate 16 and the AND gate 17 respectively; the two input ends of the OR gate 3 are connected to the output ends of the AND gate 15 and the AND gate 18 respectively, and the output end of the OR gate 3 outputs a signal S5;
[0041] The S2 control logic module includes AND gates 19-26 and an OR gate 4; the two input ends of the AND gate 19 receive signals HC and HA1 respectively, and the two input ends of the AND gate 20 receive signals DIR1 and ST respectively; the two input ends of the AND gate 21 are connected to the output ends of the AND gate 19 and the AND gate 20 respectively; the two input ends of the AND gate 22 are connected to the output end of the AND gate 21 and the PWM signal respectively; the two input ends of the AND gate 23 receive signals HC1 and HA respectively, and the two input ends of the AND gate 24 receive signals DIR and ST respectively; the two input ends of the AND gate 25 are connected to the output ends of the AND gate 23 and the AND gate 24 respectively; the two input ends of the AND gate 26 are connected to the output end of the AND gate 25 and the PWM signal respectively; the two input ends of the OR gate 4 are connected to the output ends of the AND gate 22 and the AND gate 26 respectively, and the output end of the OR gate 4 outputs the signal S2;
[0042] The S4 control logic module includes AND gates 27-34 and an OR gate 5; the two input ends of the AND gate 27 receive signals HA and HB1 respectively, and the two input ends of the AND gate 28 receive signals DIR1 and ST respectively; the two input ends of the AND gate 29 are connected to the output ends of the AND gate 27 and the AND gate 28 respectively; the two input ends of the AND gate 30 are connected to the output end of the AND gate 29 and the PWM signal respectively; the two input ends of the AND gate 31 receive signals HA1 and HB respectively, and the two input ends of the AND gate 32 receive signals DIR and ST respectively; the two input ends of the AND gate 33 are connected to the output ends of the AND gate 31 and the AND gate 32 respectively; the two input ends of the AND gate 34 are connected to the output end of the AND gate 33 and the PWM signal respectively; the two input ends of the OR gate 5 are connected to the output ends of the AND gate 30 and the AND gate 34 respectively, and the output end of the OR gate 5 outputs the signal S4;
[0043] The S6 control logic module includes AND gates 35-42 and OR gate 6; the two input ends of AND gate 35 receive signals HB and HC1 respectively, and the two input ends of AND gate 36 receive signals DIR1 and ST respectively; the two input ends of AND gate 37 are connected to the output ends of AND gate 35 and AND gate 36 respectively; the two input ends of AND gate 38 are connected to the output end of AND gate 37 and the PWM signal respectively; the two input ends of AND gate 39 receive signals HB1 and HC respectively, and the two input ends of AND gate 40 receive signals DIR and ST respectively; the two input ends of AND gate 41 are connected to the output ends of AND gate 39 and AND gate 40 respectively; the two input ends of AND gate 42 are connected to the output end of AND gate 41 and the PWM signal respectively; the two input ends of OR gate 6 are connected to the output ends of AND gate 38 and AND gate 42 respectively, and the output end of OR gate 6 outputs signal S6;
[0044] If the position sensor-based brushless DC motor control circuit includes an overcurrent protection circuit and a fault counting and latching circuit, the signal ST is obtained by performing an AND logic operation on the second latch signal and the overcurrent protection signal; otherwise, the signal ST is 1.
[0045] Furthermore, the driving circuit includes three IR2110 driving chips, each IR2110 driving chip is used to drive the upper and lower power tubes of the same bridge arm in the power main circuit;
[0046] If the position sensor-based brushless DC motor control circuit includes an overcurrent protection circuit and a fault counting and latching circuit, the SD pin of each IR2110 driver chip is connected to a low level; otherwise, the SD pin of each IR2110 driver chip is controlled by the first locking signal.
[0047] On the other hand, the present invention also discloses a brushless DC motor control method based on a position sensor, comprising:
[0048] The position sensor is used to collect the position Hall signal output by the brushless DC motor;
[0049] Receive and process the direction control signal, the PWM signal and the position Hall signal, and generate a commutation control logic signal adapted to the H-PWM_L-PWM modulation mode;
[0050] amplifying the commutation control logic signal to obtain a driving signal;
[0051] Performing an H-PWM_L-PWM modulation process based on the driving signal to generate a brushless DC motor input control signal;
[0052] The brushless DC motor is driven to operate based on the brushless DC motor input control signal.
[0053] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:
[0054] The brushless DC motor commutation control circuit based on position sensor provided by the present invention adopts commutation control logic circuit, and can realize commutation control of brushless DC motor only through one PWM signal and one square control signal, which can meet the commutation control requirements when the power main circuit control mode is H-PWM_L-PWM modulation mode, and is conducive to reducing switching loss and motor loss. The circuit has the advantages of high reliability, small size, low cost, etc.
[0055] In addition, the overcurrent protection circuit is used to protect against single instantaneous overcurrent faults and can automatically recover. The overcurrent tolerance times are set by the fault counting and latching circuit, which can achieve continuous protection against overcurrent tolerance times exceeding the limit. After the fault is eliminated, the fault protection can be cleared through the fault clearing signal. No special controller chip is required, which simplifies the control system and improves system reliability.
[0056] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] The drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.
[0058] Figure 1 The brushless DC motor control circuit based on the position sensor in Embodiment 1 of the present invention;
[0059] Figure 2 The phase-change control logic circuit in Embodiment 1 of the present invention;
[0060] Figure 3 The driving circuit in Embodiment 1 of the present invention;
[0061] Figure 4 The main power circuit in Embodiment 1 of the present invention;
[0062] Figure 5 The brushless DC motor control circuit with overcurrent protection and based on a position sensor in Embodiment 2 of the present invention;
[0063] Figure 6 The commutation control logic circuit with overcurrent protection in Embodiment 2 of the present invention;
[0064] Figure 7 The overcurrent protection circuit in Embodiment 2 of the present invention;
[0065] Figure 8 The fault counting and latching circuit in Embodiment 2 of the present invention;
[0066] Fig. 9 The driving circuit in Embodiment 2 of the present invention;
[0067] Fig.10 This is a flow chart of a brushless DC motor control method based on a position sensor in Example 3 of the present invention. DETAILED DESCRIPTION
[0068] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.
[0069] Example 1
[0070] A specific embodiment 1 of the present invention discloses a brushless DC motor control circuit based on a position sensor, the structural diagram of which is shown in FIG. Figure 1 As shown, it includes: a position sensor, which is used to collect the position Hall signal output by the brushless DC motor; a commutation control logic circuit, which is used to receive and process the direction control signal, the PWM signal and the position Hall signal, and generate a commutation control logic signal adapted to the H-PWM_L-PWM modulation mode; a drive circuit, which is used to amplify the commutation control logic signal to obtain a drive signal; the power main circuit, which is used to perform the H-PWM_L-PWM modulation process based on the drive signal, generate a brushless DC motor input control signal, and use the brushless DC motor input control signal to drive the brushless DC motor to work.
[0071] Compared with the prior art, the brushless DC motor control circuit based on the position sensor provided in this embodiment is designed to cooperate with the PWM modulation mode of the power main circuit. At this time, the modulation mode of the power main circuit is H-PWM_L-PWM. The commutation control of the brushless DC motor can be achieved through only one PWM signal and one direction control signal. It has the advantages of simple circuit structure, high reliability, and small size. It is also beneficial to reduce switching loss and motor loss.
[0072] It should be noted that the direction control signal in this embodiment is used to indicate whether the brushless DC motor rotates forward or reversely. In this embodiment, when the motor is controlled to rotate forward, the direction control signal DIR is set to a high level; when the motor is controlled to rotate reversely, the direction control signal DIR is set to a low level; in addition, the PWM signal in this embodiment is used to adjust the speed of the brushless DC motor. Optionally, the frequency of the PWM signal can be set to 5k~20kz, and the duty cycle d of the PWM signal ranges from 0 to 1. The motor speed regulation can be achieved by changing the duty cycle of the PWM signal: the larger the duty cycle, the higher the corresponding motor speed; the smaller the duty cycle, the smaller the corresponding motor speed; a duty cycle of 1 corresponds to the highest adjustable speed, and a duty cycle of 0 corresponds to the lowest adjustable speed (i.e., 0 speed).
[0073] like Figure 1 As shown, the position Hall signal output by the brushless DC motor through the position sensor includes the A-phase position Hall signal HA, the B-phase position Hall signal HB, and the C-phase position Hall signal HC; the position Hall signals HA, HB, HC and the direction control signal DIR perform a negation logic operation (implemented by the phase change control logic circuit, refer to Figure 2) and the corresponding signals are represented as HA1, HB1, HC1, and DIR1 respectively; the commutation control logic circuit processes the signals HA, HB, HC, DIR, HA1, HB1, HC1, DIR1 and PWM signals, and outputs commutation logic signals S1-S6; wherein, the signals S1, S3, and S5 are respectively the commutation control logic signals of the power tubes VT1, VT3, and VT5 in the upper bridge arm of the control power main circuit; the signals S2, S4, and S6 are respectively the commutation control logic signals of the power tubes VT4, VT6, and VT2 in the lower bridge arm of the control power main circuit; in the power main circuit, VT1 and VT4 are on the same bridge arm, and the connection point of VT1 and VT4 outputs the signal UA; VT3 and VT6 are on the same bridge arm, and the connection point of VT3 and VT6 outputs the signal UB; VT5 and VT2 are on the same bridge arm, and the connection point of VT5 and VT2 outputs the signal UC. After being driven by the driving circuit, the signals S1-S6 output driving signals G1-G6, wherein the signal S1 drives the amplified output signal G1, the signal S2 drives the amplified output signal G2, the signal S3 drives the amplified output signal G3, the signal S4 drives the amplified output signal G4, the signal S5 drives the amplified output signal G5, and the signal S6 drives the amplified output signal G6. The power main circuit adjusts the opening or closing of the power tubes VT1-VT6 according to the driving signals G1-G6, and outputs the brushless DC motor input control signals UA, UB, UC, and uses UA, UB, UC to control the rotation of the brushless DC motor. Specifically, the signals G1, G2, G3, G4, G5, and G6 realize PWM chopping control. Therefore, when the power main circuit control mode adopts the H-PWM_L-PWM mode, it is beneficial to reduce the switching loss and motor loss.
[0074] When the motor rotates one circle, the position Hall signals HA, HB, and HC will have six states, namely "101", "100", "110", "010", "011", and "001". When DIR is 1, the motor rotates forward, and when it is 0, the motor rotates reversely. Assuming that the duty cycle of the PWM signal is d (the range of duty cycle d is 0 to 1), then when the PWM modulation mode is H-PWM_L-PWM mode, the corresponding relationship between the position Hall signals HA, HB, HC and the direction control signal DIR in the commutation control logic circuit and the commutation control logic signals S1-S6 is:
[0075] If HA, HB, HC, and DIR are "1011" (i.e., the states of HA, HB, and HC are 1, 0, 1, and 1, respectively) or "0100", then signals S1 and S6 are PWM signals with a waveform of a duty cycle of d, and signals S2, S3, S4, and S5 are low levels; after passing through the drive circuit, the waveforms of G1 and G6 are PWM signals with a duty cycle of d, and G2, G3, G4, and G5 are all low levels. When passing through the power main circuit, VT1 of the power main circuit is modulated by the G1 signal and is in an alternating on-off action (when G1 is 1, VT1 is on, and when G1 is 0, VT1 is off). At the same time, VT6 is also modulated by the G6 signal and is in an alternating on-off action. VT2, VT3, VT4, and VT5 of the power main circuit are all turned off. At this time, the A-phase brushless DC motor input control signal UA of the power main circuit is an alternating conversion between DC+ / 2 and 0, and the alternating conversion between DC+ / 2 and 0 is: when the PWM signal is at a high level, it is DC+ / 2, and when the PWM signal is at a low level, it is 0; the B-phase brushless DC motor input control signal UB is an alternating conversion between 0 and DC+ / 2, and the alternating conversion between 0 and DC+ / 2 is: when the PWM signal is at a high level, it is 0, and when the PWM signal is at a low level, it is DC+ / 2; the C-phase brushless DC motor input control signal UC is a linear decrease from DC+ / 2 to -DC+ / 2;
[0076] If HA, HB, HC, DIR are "1001" or "0110", the waveforms of signals S1 and S2 are PWM signals with a waveform of duty cycle d, and signals S3, S4, S5, and S6 are all low levels; after passing through the drive circuit, the waveforms of G1 and G2 are PWM signals with a duty cycle d, and G3, G4, G5, and G6 are all low levels. When passing through the power main circuit, VT1 of the power main circuit is modulated by the G1 signal and is in an alternating on-off action (when G1 is 1, VT1 is on, and when G1 is 0, VT1 is off), and VT2 of the power main circuit is modulated by the G2 signal and is also in an alternating on-off action, and VT3, VT4, VT5, and VT6 of the power main circuit are all off. At this time, UA of the power main circuit is an alternating conversion between DC+ / 2 and 0; UC is an alternating conversion between 0 and DC+ / 2; UB is a linear increase from -DC+ / 2 to DC+ / 2;
[0077] If HA, HB, HC, DIR are "1101" or "0010", the waveforms of signals S2 and S3 are PWM signals with a duty cycle of d, and signals S1, S4, S5, and S6 are all low levels; after passing through the drive circuit, the waveforms of G2 and G3 are PWM signals with a duty cycle of d, and G1, G4, G5, and G6 are all low levels. When passing through the power main circuit, VT3 of the power main circuit is modulated by the G3 signal and is in an alternating on-off action (when G3 is 1, VT3 is on, and when G3 is 0, VT3 is off), and VT2 is modulated by the G2 signal and is also in an alternating on-off action; VT1, VT4, VT5, and VT6 of the power main circuit are all off, at this time, UB of the power main circuit is an alternating conversion between DC+ / 2 and 0, UC is an alternating conversion between 0 and DC+ / 2, and UA is a linear decrease from DC+ / 2 to -DC+ / 2;
[0078] If HA, HB, HC, DIR are "0101" or "1010", the waveforms of signals S3 and S4 are PWM signals, and signals S1, S2, S5, and S6 are all low levels; after passing through the driving circuit, the waveforms of G3 and G4 are PWM signals with a duty cycle of d, and G1, G2, G5, and G6 are all low levels. When passing through the power main circuit, VT3 of the power main circuit is modulated by the G3 signal and is in an alternating on-off action (when G3 is 1, VT3 is on, and when G3 is 0, VT3 is off), and VT4 of the power main circuit is modulated by the G4 signal and is also in an alternating on-off action, and VT1, VT2, VT5, and VT6 of the power main circuit are all off. At this time, UB of the power main circuit is an alternating conversion between DC+ / 2 and 0, UA is an alternating conversion between 0 and DC+ / 2, and UC is a linear increase from -DC+ / 2 to DC+ / 2;
[0079] If HA, HB, HC, DIR are "0111" or "1000", the waveforms of signals S4 and S5 are PWM signals, and signals S1, S2, S3, and S6 are all low levels; after passing through the driving circuit, the waveforms of G4 and G5 are PWM signals with a duty cycle of d, and G1, G2, G3, and G6 are all low levels. When passing through the power main circuit, VT5 of the power main circuit is modulated by the G5 signal and is in an alternating on-off action (when G5 is 1, VT5 is on, and when G5 is 0, VT5 is off), VT4 of the power main circuit is modulated by the G4 signal and is in an alternating on-off action, and VT1, VT2, VT3, and VT6 of the power main circuit are all off. At this time, UC of the power main circuit is an alternating conversion between DC+ / 2 and 0, UA is an alternating conversion between 0 and DC+ / 2, and UB is a linear decrease from DC+ / 2 to -DC+ / 2;
[0080] If HA, HB, HC, DIR are "0011" or "1100", the waveforms of signals S5 and S6 are PWM signals, and signals S1, S2, S3, and S4 are all low levels; after passing through the driving circuit, the waveforms of G5 and G6 are PWM signals with a duty cycle of d, and G1, G2, G3, and G4 are all low levels. When passing through the power main circuit, VT5 of the power main circuit is modulated by the G5 signal and is in an alternating on-off action (when G5 is 1, VT5 is on, and when G5 is 0, VT5 is off), and VT6 of the power main circuit is modulated by the G6 signal and is in an alternating on-off action, and VT1, VT2, VT3, and VT4 of the power main circuit are all off. At this time, UC of the power main circuit is an alternating conversion between DC+ / 2 and 0, UB is an alternating conversion between 0 and DC+ / 2, and UA is a linear increase from -DC+ / 2 to DC+ / 2;
[0081] Preferably, the commutation control logic circuit is as follows Figure 2As shown, it includes: S1-S6 control logic modules and logic NOT modules, each of which is composed of AND gates and OR gates; the logic NOT module includes NOT gates 1-4, which are used to perform logic NOT operations on HA, HB, HC and DIR respectively and then output signals HA1, HB1, HC1 and DIR1; wherein: the S1 control logic module includes AND gates 1-6 and OR gate 1; the two input ends of AND gate 1 receive signals HA and HB1 respectively, and the two input ends of AND gate 2 receive signals DIR and PWM signals respectively; the two input ends of AND gate 3 are connected to the output ends of AND gate 1 and AND gate 2 respectively; the two input ends of AND gate 4 receive signals HA1 and HB respectively, and the two input ends of AND gate 5 receive signals DIR1 and PWM signals respectively. M signal; the two input ends of AND gate 6 are respectively connected to the output ends of AND gate 4 and AND gate 5; the two input ends of OR gate 1 are respectively connected to the output ends of AND gate 3 and AND gate 6, and the output end of OR gate 1 outputs signal S1; S3 control logic module includes AND gates 7-12 and OR gate 2; the two input ends of AND gate 7 receive signals HB and HC1 respectively, and the two input ends of AND gate 8 receive signals DIR and PWM signal respectively; the two input ends of AND gate 9 are respectively connected to the output ends of AND gate 7 and AND gate 8; the two input ends of AND gate 10 receive signals HB1 and HC respectively, and the two input ends of AND gate 11 receive signals DIR1 and PWM signal respectively; the two input ends of AND gate 12 are respectively connected to the output ends of AND gate 10 and AND gate 11; OR gate 2 The two input ends are respectively connected to the output ends of AND gate 9 and AND gate 12, and the output end of OR gate 2 outputs signal S3; S5 control logic module includes AND gates 13-18 and OR gate 3; the two input ends of AND gate 13 receive signals HC and HA1 respectively, and the two input ends of AND gate 14 receive signals DIR and PWM signals respectively; the two input ends of AND gate 15 are respectively connected to the output ends of AND gate 13 and AND gate 14; the two input ends of AND gate 16 receive signals HC1 and HA respectively, and the two input ends of AND gate 17 receive signals DIR1 and PWM signals respectively; the two input ends of AND gate 18 are respectively connected to the output ends of AND gate 16 and AND gate 17; the two input ends of OR gate 3 are respectively connected to the output ends of AND gate 15 and AND gate 18, OR gate 3 The output end of the AND gate outputs a signal S5; the S2 control logic module includes AND gates 19-26 and an OR gate 4; the two input ends of the AND gate 19 receive signals HC and HA1 respectively, and the two input ends of the AND gate 20 receive signals DIR1 and ST respectively; the two input ends of the AND gate 21 are connected to the output ends of the AND gate 19 and the AND gate 20 respectively; the two input ends of the AND gate 22 are connected to the output end of the AND gate 21 and the PWM signal respectively; the two input ends of the AND gate 23 receive signals HC1 and HA respectively, and the two input ends of the AND gate 24 receive signals DIR and ST respectively; the two input ends of the AND gate 25 are connected to the output ends of the AND gate 23 and the AND gate 24 respectively; the two input ends of the AND gate 26 are connected to the output end of the AND gate 25 and the PWM signal respectively;The two input ends of the OR gate 4 are respectively connected to the output ends of the AND gate 22 and the AND gate 26, and the output end of the OR gate 4 outputs the signal S2; the S4 control logic module includes AND gates 27-34 and an OR gate 5; the two input ends of the AND gate 27 receive the signals HA and HB1 respectively, and the two input ends of the AND gate 28 receive the signals DIR1 and ST respectively; the two input ends of the AND gate 29 are respectively connected to the output ends of the AND gate 27 and the AND gate 28; the two input ends of the AND gate 30 are respectively connected to the output end of the AND gate 29 and the PWM signal; the two input ends of the AND gate 31 receive the signals HA1 and HB respectively, and the two input ends of the AND gate 32 receive the signals DIR and ST respectively; the two input ends of the AND gate 33 are respectively connected to the output ends of the AND gate 31 and the AND gate 32; the two input ends of the AND gate 34 are respectively connected to the output end of the AND gate 33 and the PWM signal; the two input ends of the OR gate 5 are respectively connected to the AND gate 30 and the AND gate The output end of AND gate 34, the output end of OR gate 5 outputs signal S4; S6 control logic module includes AND gates 35-42 and OR gate 6; the two input ends of AND gate 35 receive signals HB and HC1 respectively, and the two input ends of AND gate 36 receive signals DIR1 and ST respectively; the two input ends of AND gate 37 are connected to the output ends of AND gate 35 and AND gate 36 respectively; the two input ends of AND gate 38 are connected to the output end of AND gate 37 and the PWM signal respectively; the two input ends of AND gate 39 receive signals HB1 and HC respectively, and the two input ends of AND gate 40 receive signals DIR and ST respectively; the two input ends of AND gate 41 are connected to the output ends of AND gate 39 and AND gate 40 respectively; the two input ends of AND gate 42 are connected to the output end of AND gate 41 and the PWM signal respectively; the two input ends of OR gate 6 are connected to the output ends of AND gate 38 and AND gate 42 respectively, and the output end of OR gate 6 outputs signal S6. At this time, signal ST takes 1. ;
[0082] Drive circuit such as Figure 3 As shown, it includes three IR2110 driver chips, each of which is used to drive the upper and lower power tubes of the same bridge arm in the power main circuit; after power-on, the SD pin of each IR2110 driver chip is connected to a low level. Figure 4 shown.
[0083] Example 2
[0084] A specific embodiment 2 of the present invention improves the brushless DC motor control circuit based on the position sensor in embodiment 1, adds an overcurrent protection circuit and a fault counting and latching circuit, and forms a Figure 5 The brushless DC motor control circuit shown in the figure is based on a position sensor and has overcurrent protection, so as to realize overcurrent protection during the commutation control process.
[0085] An overcurrent protection circuit, when the overcurrent protection circuit receives the overcurrent signal output by the power main circuit, the overcurrent protection signal output by the overcurrent protection circuit is a low level; otherwise, the output overcurrent protection signal is a high level; the overcurrent protection signal is input to the phase-changing control logic circuit, and when the overcurrent protection signal is a low level, the phase-changing control logic signals S2, S4 and S6 are pulled down.
[0086] The fault counting and latching control circuit receives the overcurrent protection signal, and each time the overcurrent protection signal is detected to switch from a high level to a low level, the count value stored in the fault counting and latching circuit is increased by 1; when the count value does not reach the set count threshold, the first locking signal output by the fault counting and latching circuit is latched as a low level, and the second locking signal is latched as a high level; when the count value reaches the set count threshold, the first locking signal output by the fault counting and latching circuit is latched as a high level, and the second locking signal is latched as a low level; the first locking signal is input to the driving circuit, and when the first latching signal is a high level, the driving signal is simultaneously locked to a low level; the second locking signal is input to the phase-changing control logic circuit, and when the second locking signal is a low level, the phase-changing control logic signals S2, S4 and S6 are pulled down. Preferably, the initial value of the count value is zero; when the fault counting and latching circuit receives a reset signal, the count value is reset.
[0087] The overcurrent protection circuit is used to protect against single instantaneous overcurrent faults and can automatically recover. The overcurrent tolerance times are set by the fault counting and latching circuit, which can realize continuous protection when the overcurrent tolerance times exceed the limit. After the fault is eliminated, the fault protection can be cleared through the fault clearing signal. No special controller chip is required, which simplifies the control system and improves system reliability.
[0088] like Figure 5 As shown, the overcurrent protection circuit receives the overcurrent signal OV1 output by the power main circuit. After the above judgment, the overcurrent protection circuit outputs the overcurrent protection signal OV2, and simultaneously inputs the signal OV2 to the phase-changing control logic circuit and the fault counting and latching circuit. After the above processing, the fault counting and latching circuit outputs the first locking signal Lock1 to the driving circuit and the second latching signal Lock2 to the phase-changing control logic circuit. The fault counting and latching circuit also receives a clearing signal Clear for clearing the count value.
[0089] At this time, the signal ST in the commutation control logic circuit is obtained by performing an AND operation on the second latch signal Lock2 and the overcurrent protection signal OV2. At this time, the commutation control logic circuit is as follows: Figure 6 shown.
[0090] For example, the overcurrent protection circuit is as follows: Figure 7As shown: the overcurrent protection circuit is composed of resistors R1-R5 and an NPN transistor K1; wherein, one end of the resistor R2 is connected to one end of the resistor R4, one end of the resistor R3 is connected to one end of the resistor R5, the other end of the resistor R2 is connected to the other end of the resistor R3 and receives the signal OV1, the other end of the resistor R4 is connected to the other end of the resistor R5 and is grounded; one end of the resistor R2 is also connected to one end of the resistor R3 and one end of the resistor R1, one end of the resistor R1 is connected to the base of the NPN transistor K1, the emitter of the transistor K1 is grounded, the collector of the transistor K1 is connected to the positive electrode of the power supply after passing through the resistor R5, and at the same time, the collector of the transistor K1 outputs the overcurrent protection signal OV2.
[0091] Exemplarily, the fault counting and latch control circuit is as follows Figure 8 As shown; it consists of two 74LS161, 74LS151, a NOT gate, a resistor R30, a resistor R31, a transistor K2, a selection switch and three pull-up resistors. Among them, the D0-D3 terminals, CEP terminals and DET terminals of the two 74LS161s are all connected to the positive pole of the power supply (such as 5V), the MR terminals of the two 74LS161s are connected, and the PE terminals of the two 74LS161s are connected. The CP terminal of one 74LS161 receives the overcurrent protection signal OV2, Q0-Q3 correspond to D0-D3 in 74LS151 respectively, the TC terminal is connected to the CP terminal of the other 74LS161, and Q0-Q3 of the other 74LS161 corresponds to D4-D7 in 74LS151 respectively. The OUT terminal of 74LS151 outputs the signal Lock1, and the signal Lock1 is reversed to output the signal Lock2. Lock2 is connected to the PE terminals of the two 74LS161s; A, B, and C of 74LS151 are respectively connected to the three ports of the selection switch and one end of the pull-up resistor, and the other end of the pull-up resistor is connected to the positive pole of the power supply. The MR terminals of the two 74LS161s are connected to the collector of the transistor K2, and the collector is also connected to the positive power supply via the resistor R30. The emitter of the transistor K2 is grounded, and the base of the transistor K2 is connected to one end of the resistor R31. The other end of the resistor R31 receives the Clear signal. The circuit latches the count value threshold to the 74LS151 by selecting the open, and receives the signal of OV2 switching from high level to low level through the two 74LS161s. Each time it is received, the count value recorded in the two 74LS161s is increased by 1; when the count value recorded by the two 74LS161s is the same as the count value threshold latched in the 74LS151, the first lock signal Lock1 is latched as a high level and the second lock signal Lock2 is latched as a low level. The count value in the 74LS161 can also be cleared by the Clear signal.
[0092] At this time, the driving circuit includes three IR2110 driving chips, each of which is used to drive the upper and lower power tubes of the same bridge arm in the power main circuit; the SD pin of each IR2110 driving chip is controlled by the first locking signal Lock1, and the circuit diagram is as shown in FIG. Fig. 9 shown.
[0093] In the above-mentioned brushless DC motor control circuit based on position sensor and with overcurrent protection, during the operation of the motor, if an instantaneous overcurrent occurs, the overcurrent protection circuit output signal OV2 will be low level, OV2 passes through the commutation control logic circuit, and pulls down the drive signals S4, S6, and S2 at the same time, thereby pulling down the lower bridge arm drive signals G4, G6, and G2 of the power main circuit, blocking the lower bridge arm to ensure the safety of the power main circuit. After the lower bridge arm is blocked, the current of the power main circuit will decrease, and the overcurrent protection circuit output signal OV2 will gradually become high level. OV2 passes through the commutation control logic circuit, and releases the drive signals S4, S6, and S2 from the forced low state at the same time, thereby restoring the lower bridge arm drive signals G4, G6, and G2 of the power main circuit to normal. At this point, the power main circuit completes an overcurrent protection and recovery. The output signal OV2 of the overcurrent protection circuit is simultaneously input to the fault counting and latching circuit. Each time an overcurrent occurs, the fault counting and latching circuit count values will increase. When the count value reaches the set value, the lock signal Lock2 output by the fault counting and latching circuit will be constantly latched as a low level, and the signals S4, S6, and S2 output by the commutation control logic circuit will be pulled down at the same time, thereby pulling down the lower bridge arm drive signals G4, G6, and G2 of the power main circuit, blocking the lower bridge arm. At the same time, the lock signal Lock1 output by the fault counting and latching circuit will be constantly latched as a high level, and the SD end of the drive circuit will be pulled up, and the drive signals G1~G6 will be blocked at the same time as a low level, and the upper and lower bridge arms will be blocked at the same time. Lock1 and Lock2 realize the double insurance of overcurrent protection, ensuring reliable protection of the power main circuit. After troubleshooting, the fault can be cleared by changing the Clear signal from high to low.
[0094] Example 3
[0095] This embodiment discloses a brushless DC motor control method based on a position sensor, the flow chart is as follows: Fig.10 As shown, the following steps are included:
[0096] Step S1: using a position sensor to collect a position Hall signal output by a brushless DC motor;
[0097] Step S2: receiving and processing the direction control signal, the PWM signal and the position Hall signal, and generating a commutation control logic signal adapted to the H-PWM_L-PWM modulation mode;
[0098] Step S3: amplifying the commutation control logic signal to obtain a driving signal;
[0099] Step S4: performing an H-PWM_L-PWM modulation process based on the driving signal to generate a brushless DC motor input control signal;
[0100] Step S5: driving the brushless DC motor to operate based on the brushless DC motor input control signal.
[0101] The specific implementation process of the embodiment of the present invention may refer to the above-mentioned method embodiment. For example, a commutation control logic signal is generated based on a commutation control logic circuit, the drive signal is generated based on a drive circuit, and a brushless DC motor input control signal is generated based on a power main circuit. This embodiment will not be repeated here.
[0102] Since the principle of this embodiment is the same as that of the above circuit embodiment, the system also has the corresponding technical effects of the above method embodiment.
[0103] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0104] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A brushless DC motor control circuit based on a position sensor, characterized in that: include: Position sensor, used to collect the position Hall signal output by the brushless DC motor; A commutation control logic circuit is used to receive and process the direction control signal, the PWM signal and the position Hall signal, and generate a commutation control logic signal adapted to the H-PWM_L-PWM modulation mode; A driving circuit, used for amplifying the commutation control logic signal to obtain a driving signal; A power main circuit, used for performing an H-PWM_L-PWM modulation process based on the driving signal, generating a brushless DC motor input control signal, and using the brushless DC motor input control signal to drive the brushless DC motor to work; The commutation control logic circuit includes: S1-S6 control logic modules and a logic NOT module, each of which is composed of an AND gate and an OR gate; the logic NOT module includes NOT gates 1-4, which are used to perform logic NOT operations on HA, HB, HC and DIR respectively and then output signals HA1, HB1, HC1 and DIR1; wherein: The S1 control logic module includes AND gates 1-6 and OR gate 1; the two input ends of AND gate 1 receive signals HA and HB1 respectively, and the two input ends of AND gate 2 receive signals DIR and PWM respectively; the two input ends of AND gate 3 are connected to the output ends of AND gate 1 and AND gate 2 respectively; the two input ends of AND gate 4 receive signals HA1 and HB respectively, and the two input ends of AND gate 5 receive signals DIR1 and PWM respectively; the two input ends of AND gate 6 are connected to the output ends of AND gate 4 and AND gate 5 respectively; the two input ends of OR gate 1 are connected to the output ends of AND gate 3 and AND gate 6 respectively, and the output end of OR gate 1 outputs signal S1; The S3 control logic module includes AND gates 7-12 and an OR gate 2; the two input ends of the AND gate 7 receive signals HB and HC1 respectively, and the two input ends of the AND gate 8 receive signals DIR and PWM respectively; the two input ends of the AND gate 9 are connected to the output ends of the AND gate 7 and the AND gate 8 respectively; the two input ends of the AND gate 10 receive signals HB1 and HC respectively, and the two input ends of the AND gate 11 receive signals DIR1 and PWM respectively; the two input ends of the AND gate 12 are connected to the output ends of the AND gate 10 and the AND gate 11 respectively; the two input ends of the OR gate 2 are connected to the output ends of the AND gate 9 and the AND gate 12 respectively, and the output end of the OR gate 2 outputs a signal S3; The S5 control logic module includes AND gates 13-18 and an OR gate 3; the two input ends of the AND gate 13 receive signals HC and HA1 respectively, and the two input ends of the AND gate 14 receive signals DIR and PWM respectively; the two input ends of the AND gate 15 are connected to the output ends of the AND gates 13 and 14 respectively; the two input ends of the AND gate 16 receive signals HC1 and HA respectively, and the two input ends of the AND gate 17 receive signals DIR1 and PWM respectively; the two input ends of the AND gate 18 are connected to the output ends of the AND gate 16 and the AND gate 17 respectively; the two input ends of the OR gate 3 are connected to the output ends of the AND gate 15 and the AND gate 18 respectively, and the output end of the OR gate 3 outputs a signal S5; The S2 control logic module includes AND gates 19-26 and an OR gate 4; the two input ends of the AND gate 19 receive signals HC and HA1 respectively, and the two input ends of the AND gate 20 receive signals DIR1 and ST respectively; the two input ends of the AND gate 21 are connected to the output ends of the AND gate 19 and the AND gate 20 respectively; the two input ends of the AND gate 22 are connected to the output end of the AND gate 21 and the PWM signal respectively; the two input ends of the AND gate 23 receive signals HC1 and HA respectively, and the two input ends of the AND gate 24 receive signals DIR and ST respectively; the two input ends of the AND gate 25 are connected to the output ends of the AND gate 23 and the AND gate 24 respectively; the two input ends of the AND gate 26 are connected to the output end of the AND gate 25 and the PWM signal respectively; the two input ends of the OR gate 4 are connected to the output ends of the AND gate 22 and the AND gate 26 respectively, and the output end of the OR gate 4 outputs the signal S2; The S4 control logic module includes AND gates 27-34 and an OR gate 5; the two input ends of the AND gate 27 receive signals HA and HB1 respectively, and the two input ends of the AND gate 28 receive signals DIR1 and ST respectively; the two input ends of the AND gate 29 are connected to the output ends of the AND gate 27 and the AND gate 28 respectively; the two input ends of the AND gate 30 are connected to the output end of the AND gate 29 and the PWM signal respectively; the two input ends of the AND gate 31 receive signals HA1 and HB respectively, and the two input ends of the AND gate 32 receive signals DIR and ST respectively; the two input ends of the AND gate 33 are connected to the output ends of the AND gate 31 and the AND gate 32 respectively; the two input ends of the AND gate 34 are connected to the output end of the AND gate 33 and the PWM signal respectively; the two input ends of the OR gate 5 are connected to the output ends of the AND gate 30 and the AND gate 34 respectively, and the output end of the OR gate 5 outputs the signal S4; The S6 control logic module includes AND gates 35-42 and OR gate 6; the two input ends of AND gate 35 receive signals HB and HC1 respectively, and the two input ends of AND gate 36 receive signals DIR1 and ST respectively; the two input ends of AND gate 37 are connected to the output ends of AND gate 35 and AND gate 36 respectively; the two input ends of AND gate 38 are connected to the output end of AND gate 37 and the PWM signal respectively; the two input ends of AND gate 39 receive signals HB1 and HC respectively, and the two input ends of AND gate 40 receive signals DIR and ST respectively; the two input ends of AND gate 41 are connected to the output ends of AND gate 39 and AND gate 40 respectively; the two input ends of AND gate 42 are connected to the output end of AND gate 41 and the PWM signal respectively; the two input ends of OR gate 6 are connected to the output ends of AND gate 38 and AND gate 42 respectively, and the output end of OR gate 6 outputs signal S6; If the position sensor-based brushless DC motor control circuit includes an overcurrent protection circuit and a fault counting and latching circuit, the signal ST is obtained by performing an AND logic operation on the second latch signal and the overcurrent protection signal; otherwise, the signal ST is 1.
2. The brushless DC motor control circuit based on position sensor according to claim 1, characterized in that: The corresponding relationship between the position Hall signals HA, HB, HC and the direction control signal DIR and the commutation control logic signals S1-S6 is: If HA, HB, HC, and DIR are "1011" or "0100", the waveforms of signals S1 and S6 are PWM signals, and signals S2, S3, S4, and S5 are low levels; If HA, HB, HC, and DIR are "1001" or "0110", the waveforms of signals S1 and S2 are PWM signals, and signals S3, S4, S5, and S6 are all low levels; If HA, HB, HC, and DIR are "1101" or "0010", the waveforms of signals S2 and S3 are PWM signals, and signals S1, S4, S5, and S6 are all low levels; If HA, HB, HC, and DIR are "0101" or "1010", the waveforms of signals S3 and S4 are PWM signals, and signals S1, S2, S5, and S6 are all low levels; If HA, HB, HC, and DIR are "0111" or "1000", the waveforms of signals S4 and S5 are PWM signals, and signals S1, S2, S3, and S6 are all low levels; If HA, HB, HC, and DIR are "0011" or "1100", the waveforms of signals S5 and S6 are PWM signals, and signals S1, S2, S3, and S4 are all low levels; When DIR is 1, the motor rotates forward, and when DIR is 0, the motor rotates reversely.
3. The brushless DC motor control circuit based on position sensor according to claim 2, characterized in that: The signals S1, S3, and S5 are respectively used to control the opening or closing of the power tubes VT1, VT3, and VT5 in the upper bridge arm of the power main circuit; the signals S2, S4, and S6 are respectively used to control the opening or closing of the power tubes VT4, VT6, and VT2 in the lower bridge arm of the power main circuit; in the power main circuit, VT1 and VT4 are on one bridge arm, VT3 and VT6 are on one bridge arm, and VT5 and VT2 are on one bridge arm.
4. The brushless DC motor control circuit based on position sensor according to claim 3, characterized in that: If the waveforms of S1 and S6 are PWM signals, and the signals S2, S3, S4, and S5 are all low levels, then the input control signal UA of the A-phase brushless DC motor is an alternating conversion between DC+ / 2 and 0, and the alternating conversion between DC+ / 2 and 0 is: when the PWM signal is at a high level, it is DC+ / 2, and when the PWM signal is at a low level, it is 0; the input control signal UB of the B-phase brushless DC motor is an alternating conversion between 0 and DC+ / 2, and the alternating conversion between 0 and DC+ / 2 is: when the PWM signal is at a high level, it is 0, and when the PWM signal is at a low level, it is DC+ / 2; the input control signal UC of the C-phase brushless DC motor is a linear decrease from DC+ / 2 to -DC+ / 2; If the waveforms of signals S1 and S2 are PWM signals, and signals S3, S4, S5, and S6 are all low levels, then UA is an alternating change between DC+ / 2 and 0; UC is an alternating change between 0 and DC+ / 2; and UB is a linear increase from -DC+ / 2 to DC+ / 2. If the waveforms of signals S3 and S2 are PWM signals, and signals S1, S4, S5, and S6 are all low levels, then UB is an alternating change between DC+ / 2 and 0, UC is an alternating change between 0 and DC+ / 2, and UA is a linear decrease from DC+ / 2 to -DC+ / 2; If the waveforms of signals S3 and S4 are PWM signals, and signals S1, S2, S5, and S6 are all low levels, then UB is an alternating change between DC+ / 2 and 0, UA is an alternating change between 0 and DC+ / 2, and UC is a linear increase from -DC+ / 2 to DC+ / 2; If the waveforms of signals S5 and S4 are PWM signals, and signals S1, S2, S3, and S6 are all low levels, then UC is an alternating change between DC+ / 2 and 0, UA is an alternating change between 0 and DC+ / 2, and UB is a linear decrease from DC+ / 2 to -DC+ / 2; If the waveforms of signals S5 and S6 are PWM signals, and signals S1, S2, S3, and S4 are all low levels, then UC is an alternating change between DC+ / 2 and 0, UB is an alternating change between 0 and DC+ / 2, and UA is a linear increase from -DC+ / 2 to DC+ / 2.
5. The brushless DC motor control circuit based on position sensor according to claim 4, characterized in that: The commutation control logic circuit also includes an overcurrent protection circuit. When the overcurrent protection circuit receives the overcurrent signal output by the power main circuit, the overcurrent protection signal output by the overcurrent protection circuit is a low level; otherwise, the output overcurrent protection signal is a high level; The overcurrent protection signal is input to the commutation control logic circuit. When the overcurrent protection signal is at a low level, the commutation control logic signals S2, S4 and S6 are pulled down.
6. The brushless DC motor control circuit based on position sensor according to claim 5, characterized in that: The commutation control logic circuit also includes a fault counting and latching circuit, The fault counting and latching control circuit receives the overcurrent protection signal, and each time the overcurrent protection signal is detected to switch from a high level to a low level, the count value stored in the fault counting and latching circuit is increased by 1; When the count value does not reach the set count threshold, the first locking signal output by the fault counting and latching circuit is latched as a low level, and the second locking signal is latched as a high level; When the count value reaches the set count threshold, the first locking signal output by the fault counting and latching circuit is latched as a high level, and the second locking signal is latched as a low level; The first locking signal is input to the driving circuit, and when the first locking signal is at a high level, the driving signal is simultaneously locked to a low level; The second locking signal is input to the phase switching control logic circuit. When the second locking signal is at a low level, the phase switching control logic signals S2, S4 and S6 are pulled low.
7. The brushless DC motor control circuit based on position sensor according to claim 6, characterized in that: The initial value of the count value is zero; When the fault counting and latching circuit receives a reset signal, the count value is reset.
8. The brushless DC motor control circuit based on a position sensor according to claim 6 or 7, characterized in that: The driving circuit includes three IR2110 driving chips, each of which is used to drive the upper and lower power tubes of the same bridge arm in the power main circuit; If the position sensor-based brushless DC motor control circuit includes an overcurrent protection circuit and a fault counting and latching circuit, the SD pin of each IR2110 driver chip is connected to a low level; otherwise, the SD pin of each IR2110 driver chip is controlled by the first locking signal.
9. A brushless DC motor control method based on a position sensor, characterized in that: The control method is implemented based on the brushless DC motor control circuit based on the position sensor according to any one of claims 1 to 8, and the control method comprises: The position sensor is used to collect the position Hall signal output by the brushless DC motor; Receive and process the direction control signal, the PWM signal and the position Hall signal, and generate a commutation control logic signal adapted to the H-PWM_L-PWM modulation mode; amplifying the commutation control logic signal to obtain a driving signal; Performing an H-PWM_L-PWM modulation process based on the driving signal to generate a brushless DC motor input control signal; The brushless DC motor is driven to operate based on the brushless DC motor input control signal.
Citation Information
Patent Citations
Three-phase brushless direct-current motor drive and control circuit based on CPLD
CN107070316A
A bidirectional control circuit of a brushless DC motor
CN109150024A