CN212210878U - Brushless motor interface circuit - Google Patents
Brushless motor interface circuit Download PDFInfo
- Publication number
- CN212210878U CN212210878U CN202020536565.2U CN202020536565U CN212210878U CN 212210878 U CN212210878 U CN 212210878U CN 202020536565 U CN202020536565 U CN 202020536565U CN 212210878 U CN212210878 U CN 212210878U
- Authority
- CN
- China
- Prior art keywords
- field effect
- microcontroller
- effect transistor
- brushless motor
- motor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 230000005669 field effect Effects 0.000 claims abstract description 28
- 238000012544 monitoring process Methods 0.000 claims abstract description 12
- 238000000034 method Methods 0.000 claims description 2
- 230000033001 locomotion Effects 0.000 abstract description 10
- 238000001514 detection method Methods 0.000 abstract 1
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 1
Images
Landscapes
- Control Of Motors That Do Not Use Commutators (AREA)
Abstract
The utility model discloses a brushless motor interface circuit, including microcontroller, motor monitoring interface, field effect transistor Q1, Q2 and Q3, be provided with positive negative pole of power, direction control, speed control and rotation angle pulse on the motor monitoring interface, microcontroller's first output port connects on Q1's grid, and Q1's drain electrode forms the direction control wiring; the gate of a second output port Q3 of the microcontroller, the drain of Q3 forming a speed control connection; the gate of the fet Q2 forms a rotary angle pulse connection through resistor R3. The utility model discloses a brushless motor interface circuit has both realized corotation, upset and speed regulation control to brushless motor, has realized the detection to its turned angle again, and the counter counts the pulse number to combine the motor rotation direction to fix a position motion, solved current simple technical problem who relies on pulse count can't confirm the motion position.
Description
Technical Field
The utility model relates to a brushless motor interface circuit, more specifically the theory that says so especially relates to a brushless motor interface circuit of pulse number under distinguishable motor corotation and pulse number under the reversal.
Background
Compared with a direct current brush motor, the brushless motor has the advantages of long service life, easiness in speed regulation, low noise and the like, but a driving circuit needs to be added. For low power brushless motors, the drive circuit and the motor are often implemented together for ease of application. The brushless motor has five connections: the power supply comprises a power supply anode, a power supply cathode, a direction control input, a speed control input and a pulse output; the pulse number output on the pulse output line is in direct proportion to the rotation angle of the motor, so that the pulse number can be used for positioning a movement mechanism driven by the motor. However, the motor may be rotated in the forward direction or in the reverse direction, and the number of pulses is increased in both the forward rotation and the reverse rotation. It is necessary to distinguish the number of forward rotation pulses from the number of reverse rotation pulses.
Disclosure of Invention
The utility model discloses an overcome above-mentioned technical problem's shortcoming, provide a brushless motor interface circuit.
The utility model discloses a brushless motor interface circuit, including microcontroller, motor monitoring interface, field effect transistor Q1, field effect transistor Q2 and field effect transistor Q3, be provided with on the motor monitoring interface with DC brushless motor's five wiring plug-in connections's power positive pole, power negative pole, direction control, speed control and rotation angle pulse wiring, the power positive pole and the power negative pole on the motor monitoring interface connect respectively in power positive and power ground; the method is characterized in that: a first output port of the microcontroller is connected to the gate of a field effect transistor Q1 through a resistor R1, the gate of Q1 is grounded through a resistor R2, the source of Q1 is grounded, and the drain of Q1 forms a direction control wiring; a second output port of the microcontroller is connected with the grid electrode of the field effect transistor Q3 through a resistor R5, the second output port of the microcontroller outputs a PWM signal, the grid electrode of Q3 is grounded through a resistor R6, the source electrode of Q3 is grounded, and the drain electrode of Q3 forms a speed control wiring; the grid of the field effect transistor Q2 forms a rotation angle pulse connection through a resistor R3, the grid of Q2 is grounded through a resistor R4, the source of Q2 is grounded, and the drain of Q2 is connected with the input end of a counter of the microcontroller.
The utility model discloses a brushless motor interface circuit, microcontroller adopts the singlechip chip that the model is MSP430F5439, and the P5.4 port and TB0.1 port of MSP430F5439 chip form first output and second output respectively, and TA0CLK port is connected with field effect transistor Q2's drain electrode; and the Q1, the Q2 and the Q3 adopt N-channel field effect transistors with the model of AO 3416.
The utility model has the advantages that: in the interface circuit of the brushless motor of the utility model, two output ports of the microcontroller form high-low level output and PWM signal output through the field effect transistors Q1 and Q3 respectively, to form direction control and speed control signals for controlling the brushless motor, the rotation angle pulse terminal on the motor monitoring interface is connected to the input port of the counter of the microcontroller through the field effect transistor Q2, after level conversion through the field effect transistors Q1, Q2 and Q3, a power supply positive electrode, a power supply negative electrode, a direction control input, a speed control input and a rotation angle pulse interface for controlling and detecting the brushless motor are formed, the forward rotation, the overturn and the speed regulation control of the brushless motor are realized, the rotation angle is also detected, a counter counts the pulse number, and the movement mechanism is positioned by combining the rotation direction of the motor, so that the technical problem that the position of the movement mechanism cannot be determined by only relying on pulse counting in the prior art is solved.
Drawings
Fig. 1 is a schematic circuit diagram of the interface circuit of the brushless motor according to the present invention.
In the figure: 1 microcontroller, 2 brushless motor, 3 motor monitoring interface, 4 field effect transistor Q1, 5 field effect transistor Q2, 6 field effect transistor Q3.
Detailed Description
The present invention will be further explained with reference to the accompanying drawings and examples.
As shown in fig. 1, the circuit schematic diagram of the interface circuit of the brushless electric machine of the present invention is provided, which is composed of microcontroller 1, motor monitoring interface 3, field effect transistor Q1, field effect transistor Q2, field effect transistor Q3, brushless electric machine 2 is a dc brushless electric machine, microcontroller 1 has the functions of signal acquisition, data operation and control output, and it can adopt a single chip microcomputer. J1 is shown as a motor monitoring interface 3 for connecting a brushless motor 2, the brushless motor 2 having 5 connections: 1 power positive electrode, 2 power negative electrode, 3 direction Control (CW), 4 rotation angle pulse (FG), and 5 speed control (PWM). U1 is a single chip microcomputer, and its model is MSP430F 5438. The P5.4 pin of U1 controls the motor rotation direction, the TA0CLK pin is the pulse input of TA0 counter for receiving the brushless motor rotation angle pulse, the TB0.1 pin is a PWM signal output of TB0 timer for controlling the motor speed. The motor power supply is DC24V, the input and output signals are DC5V, the singlechip power supply is DC3.3V, so level conversion is needed, and Q1-Q3 and R1-R6 are used for level conversion.
The P5.4 port of the microcontroller 1 is connected to the gate of the fet Q1 via a resistor R1, the gate of Q1 is connected to ground via a resistor R2, the source of Q1 is connected to ground, and the drain of Q1 forms a direction control connection; the TB0.1 port of the microcontroller 1 is connected with the grid electrode of a field effect transistor Q3 through a resistor R5, a second output port of the microcontroller outputs a PWM signal, the grid electrode of Q3 is grounded through a resistor R6, the source electrode of Q3 is grounded, and the drain electrode of Q3 forms a speed control wiring; the grid of the field effect transistor Q2 forms a rotation angle pulse connection through a resistor R3, the grid of Q2 is grounded through a resistor R4, the source of Q2 is grounded, and the drain of Q2 is connected with the input end TA0CLK of the counter of the microcontroller.
The specific embodiment of the present invention will be described with reference to the circuit shown in fig. 1. When the singlechip is programmed, an integer variable representation position is defined and can be named as location; defining a variable to represent direction, which can be named direction; defining an integer variable to store the position of the motor at commutation, which variable may be named LR; the count value of the singlechip counter is represented by number. In practice, a switch is often used that indicates the zero position, and when this switch is active, LR and number are cleared as follows: LR =0 and number = 0. The position at any time can be calculated using the following two equations: forward direction: location = LR + number, reverse: location = LR-number. When the motor steering is changed, calculating a position value, storing the position value in LR, and resetting a counter, wherein the steps are as follows:
a) defining a variable, defining a position variable of a motion mechanism driven by the brushless motor as location, defining a direction variable, indicating that the brushless motor rotates forwards when the direction =0, and indicating that the brushless motor rotates backwards when the direction = 1; defining a variable LR for storing a position of the brushless motor during commutation; the displacement value of the moving mechanism into which the count value of the counter is converted is defined as number.
b) Zero point clearing is carried out, when the reversing mechanism works each time, the movement mechanism is driven to move to a zero point position, the zero point switch is effective at the moment, and variables corresponding to the reversing position and the count value are cleared, namely LR =0 and number = 0;
c) if the direction variable direction =0 is judged, the brushless motor moves in the forward direction before commutation, and at the moment, if the position information of the movement mechanism needs to be acquired, the position information is acquired through a formula location = LR + number;
if the motor is to be switched from the forward direction to the reverse direction, the following operations are performed: location = LR + number, LR = location, number = 0; the direction control output is a reverse rotation signal to control the brushless motor to rotate reversely;
d) if the direction variable direction =1 is judged, the brushless motor is in reverse motion before commutation, and at the moment, if the position information of the motion mechanism needs to be acquired, the position information is acquired through a formula location = LR-number;
if the motor is to be switched from reverse to forward, the following operations are performed: location = LR-number, LR = location, number = 0; and the direction control output is made to be a forward rotation signal to control the brushless motor to rotate forward.
Claims (2)
1. A brushless motor interface circuit comprises a microcontroller (1), a motor monitoring interface (3), a field effect transistor Q1 (4), a field effect transistor Q2 (5) and a field effect transistor Q3 (6), wherein a power supply anode, a power supply cathode, a direction control, a speed control and a rotation angle pulse connection which are connected with five connection wires of a direct current brushless motor (2) in a plugging and pulling mode are arranged on the motor monitoring interface, and the power supply anode and the power supply cathode on the motor monitoring interface are respectively connected to a power supply anode and a power supply ground; the method is characterized in that: a first output port of the microcontroller is connected to the gate of a field effect transistor Q1 through a resistor R1, the gate of Q1 is grounded through a resistor R2, the source of Q1 is grounded, and the drain of Q1 forms a direction control wiring; a second output port of the microcontroller is connected with the grid electrode of the field effect transistor Q3 through a resistor R5, the second output port of the microcontroller outputs a PWM signal, the grid electrode of Q3 is grounded through a resistor R6, the source electrode of Q3 is grounded, and the drain electrode of Q3 forms a speed control wiring; the grid of the field effect transistor Q2 forms a rotation angle pulse connection through a resistor R3, the grid of Q2 is grounded through a resistor R4, the source of Q2 is grounded, and the drain of Q2 is connected with the input end of a counter of the microcontroller.
2. The brushless motor interface circuit of claim 1, wherein: the microcontroller (1) adopts a single chip microcomputer chip with the model of MSP430F5439, a P5.4 port and a TB0.1 port of the MSP430F5439 chip respectively form a first output end and a second output end, and a TA0CLK port is connected with a drain electrode of a field effect transistor Q2; and the Q1, the Q2 and the Q3 adopt N-channel field effect transistors with the model of AO 3416.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202020536565.2U CN212210878U (en) | 2020-04-13 | 2020-04-13 | Brushless motor interface circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202020536565.2U CN212210878U (en) | 2020-04-13 | 2020-04-13 | Brushless motor interface circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN212210878U true CN212210878U (en) | 2020-12-22 |
Family
ID=73834023
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202020536565.2U Expired - Fee Related CN212210878U (en) | 2020-04-13 | 2020-04-13 | Brushless motor interface circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN212210878U (en) |
-
2020
- 2020-04-13 CN CN202020536565.2U patent/CN212210878U/en not_active Expired - Fee Related
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9647585B2 (en) | Brushless direct-current motor and control for power tool | |
US8115427B2 (en) | Methods, systems, and devices for a motor control system | |
CN104660121A (en) | Braking apparatus for electric power tool | |
JP2013075349A (en) | Electric power tool | |
CN1710801A (en) | Power-consumption control system of small armature electric induction permanent magnet brush-less DC motor | |
CN107701782A (en) | A kind of valve positioner of hall signal using brushless electric machine | |
CN104218857A (en) | Air conditioner and method and system for controlling starting of outdoor fans of air conditioner | |
CN212210878U (en) | Brushless motor interface circuit | |
CN102820842A (en) | Motor driving device and lockout protection and standby control circuit for same | |
WO2018082496A1 (en) | Electric tool and control method therefor | |
CN209805709U (en) | closed-loop control system for driving direct current motor to rotate through single chip microcomputer | |
CN108448950B (en) | Method and system for controlling electric door based on double brushless motors | |
CN211230442U (en) | Motor type pulser driver | |
CN108762163B (en) | Motion control system of mobile robot based on QT human-computer interaction interface and motor servo system | |
CN113103880A (en) | Multi-level controller | |
CN211239727U (en) | Motor control circuit and electric robot | |
CN109981004B (en) | Brushless torque motor starts drive circuit | |
CN1787355A (en) | Monolithic apparatus PWM Controller for brushless DC motor of sensor-free electrical vehicle | |
CN101546977B (en) | Control device and driving method | |
CN106856385A (en) | A kind of brushless electric machine electronic phase change method based on CPLD | |
CN213213359U (en) | Bidirectional drive circuit of direct current brush motor | |
CN114257144B (en) | Motor controller | |
CN202586845U (en) | Dust suction motor controller based on SPLD | |
CN103441636B (en) | A kind of brshless DC motor | |
CN214900698U (en) | Direct current brushless motor reversing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201222 |