CN206542344U - A kind of motor driver and electric machine control system - Google Patents

A kind of motor driver and electric machine control system Download PDF

Info

Publication number
CN206542344U
CN206542344U CN201720200854.3U CN201720200854U CN206542344U CN 206542344 U CN206542344 U CN 206542344U CN 201720200854 U CN201720200854 U CN 201720200854U CN 206542344 U CN206542344 U CN 206542344U
Authority
CN
China
Prior art keywords
input
output end
circuit
door
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
Application number
CN201720200854.3U
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201720200854.3U priority Critical patent/CN206542344U/en
Application granted granted Critical
Publication of CN206542344U publication Critical patent/CN206542344U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model discloses a kind of motor driver, including microcontroller, enable and directional control circuit, external PWM signal input and switching circuit, six arm full bridge driving circuits and serial communication circuit;Also disclose a kind of electric machine control system, including motor, host computer and described motor driver.A kind of motor driver of the utility model and electric machine control system, the drive control to brushless thoughts motor is realized by microcontroller, enable and directional control circuit and six arm full bridge driving circuits, in addition, by increasing external PWM signal input and switching circuit and serial communication circuit, realize the outside host computer of the switching and connection of external PWM signal and internal pwm signal, and then motor driver of the present utility model can also realize the drive control to brushed DC motor, the compatibility and scalability of motor driver are enhanced.The utility model can be widely applied to Motor Control Field as a kind of motor driver and electric machine control system.

Description

A kind of motor driver and electric machine control system
Technical field
The utility model is related to Motor Control Field, especially a kind of motor driver and electric machine control system.
Background technology
Brshless DC motor (BLDC):Brshless DC motor is made up of motor body and driver, is a kind of typical Electromechanical integrated product.In structure, brushless electric machine and brush motor have similarity, also there is rotor and stator, only and have The structure of brush motor is opposite;The rotor of brush motor is coil windings, is connected with power output shaft, and stator is permanent magnetic steel;Nothing The rotor of brush motor is permanent magnetic steel, is connected together with shell with output shaft, and stator is winding coil, eliminates brush motor For the commutating brush of checker electromagnetic field, therefore referred to as brushless electric machine(Brushless motor), because no brush is It is commutated, so needing external circuit to realize commutation;Change brushless electric machine access the sense of current This move Commutate.
BLDC is that brshless DC motor has that dynamic response is quick, high efficiency, longevity compared with traditional brushed DC motor Life, the range of speeds are high, the advantage that speed torque characteristic is good and running noise is small, thus brshless DC motor household electrical appliance, The industries such as automobile, Aero-Space, medical treatment are quickly popularized.However, different with brush motor, the commutation of BLDC motors is with electricity Submode control, rotate BLDC motors, it is necessary in a certain order to coil electricity, therefore to occur in that various BLDC motor drivers.BLDC motors are broadly divided into two types, thoughts type and noninductive type, and thoughts are that motor internal has Hall Sensor, it is possible to achieve the collection of motor position, tells when drive circuit commutates as position signalling, noninductive type motor internal There is no Hall sensor, it is necessary to drive circuit by detecting that motor runs at high speed after induced electromotive force realize position signalling Collection.At present, most of BLDC motor drivers add the scheme of the arm full bridge driving circuit of metal-oxide-semiconductor six using High Performance SCM To realize the driving of BLDC motors, the control of motor speed is realized by adjusting PWM duty cycle.
However, existing BLDC motor drivers are often just in BLDC motors, it is impossible to directly drive DC brush electricity Machine, scalability is bad;Its PWM frequency and dutycycle are often provided by internal drive, and governor circuit can not be controlled directly, spirit Poor activity;Interface is numerous, the problems such as portable bad.
Utility model content
In order to solve the above-mentioned technical problem, the purpose of this utility model is to provide a kind of compatible control direct current generator and nothing The motor driver of brush motor, correspondingly, also provides a kind of electric machine control system.
The technical scheme that the utility model is used is:A kind of motor driver, including microcontroller, enable and direction are controlled Circuit processed, external PWM signal input and switching circuit, six arm full bridge driving circuits and serial communication circuit, the microcontroller Output end be connected with the input of six arm full bridge driving circuits, the enable and the output end and microcontroller of directional control circuit The input connection of device, the external PWM signal input is used to input external PWM signal with switching circuit and pwm signal switches, The microcontroller is connected with external PWM signal input with switching circuit, and the external PWM signal input is defeated with switching circuit Go out end to be connected with the input of six arm full bridge driving circuits, the serial communication circuit is connected with microcontroller.
Further, the motor driver also includes current detection circuit, the output of the six arms full bridge driving circuit End is connected with the input of current detection circuit, and the output end of the current detection circuit and the input of microcontroller are connected.
Further, the motor driver also includes state instruction circuit for lamp, the output end and shape of the microcontroller The input connection of state indicator light circuit.
Further, the microcontroller includes microprocessor and its peripheral circuit, and the microprocessor includes STM8S105 series microprocessors.
Further, the enable includes enabling control interface and direction controlling interface with directional control circuit, described to make Output end, the output end of direction controlling interface of energy control interface are connected with the input of microcontroller respectively, described to enable control The output end of interface processed, the output end of direction controlling interface are grounded by a pull down resistor respectively.
Further, the six arms full bridge driving circuit includes the half-bridge driven of three half-bridges and the single half-bridge of correspondence control Chip, each half-bridge includes upper metal-oxide-semiconductor, lower metal-oxide-semiconductor, upper Schottky diode and lower Schottky diode, the micro-control The output end of device processed, external PWM signal input are connected with the input of half-bridge driven chip respectively with the output end of switching circuit, The output end of the half-bridge driven chip is connected with the grid and source electrode of upper metal-oxide-semiconductor, the grid of lower metal-oxide-semiconductor and drain electrode respectively, institute State the drain electrode connection of the source electrode and lower metal-oxide-semiconductor of metal-oxide-semiconductor, the drain electrode connection power supply of the upper metal-oxide-semiconductor, the upper pole of Schottky two Pipe is reversely accessed between drain electrode and the source electrode of upper metal-oxide-semiconductor, the drain electrode of the lower metal-oxide-semiconductor of the reverse access of the lower Schottky diode and source Between pole, the source ground of the lower metal-oxide-semiconductor.
Further, the serial communication circuit includes MAX3221 chips and its peripheral circuit.
Further, external PWM signal input and switching circuit include external PWM signal input interface, first with Door, second with door, the 3rd with door and the 4th and door, the output end of the external PWM signal input interface respectively with microcontroller Input, first be connected with the first input end of door, the output end of the external PWM signal input interface passes through a pull-up electricity Resistance is connected with power supply, described first with the output end of door respectively with second with the first input end of door, the 3rd with it is the first of door defeated Enter end, the 4th be connected with the first input end of door, the output end of the microcontroller respectively with first and door the second input, Second is connected with the second input of door, the 3rd with the second input of door, the 4th with the second input of door, described second with The output end of door, the 3rd are connected with the output end of door, the 4th with the output end of door with the input of six arm full bridge driving circuits.
Another technical scheme that the utility model is used is:A kind of electric machine control system, including motor, host computer and institute The motor driver stated, the output end of six arm full bridge driving circuits of the motor driver and the input of motor are connected, institute The input for stating the output end of motor and the microcontroller of motor driver is connected, the serial ports of the host computer and motor driver Telecommunication circuit is connected.
Further, the motor includes brushed DC motor or brushless thoughts direct current generator.
The beneficial effects of the utility model are:A kind of motor driver in the utility model, by microcontroller, enable with Directional control circuit and six arm full bridge driving circuits can realize the drive control to brushless thoughts motor, in addition, outer by increase The input of portion pwm signal and switching circuit and serial communication circuit, realize external PWM signal and internal pwm signal switching and The outside host computer of connection, and then motor driver of the present utility model can also realize the drive control to brushed DC motor, Enhance the compatibility and scalability of motor driver.A kind of electric machine control system in the utility model, including it is motor, upper Machine and described motor driver, are realized by host computer and the motor control pattern of microcontroller are switched over, realize direct current There is the control of brush and brushless thoughts motor, improve the scalability of electric machine control system.
Brief description of the drawings
Embodiment of the present utility model is described further below in conjunction with the accompanying drawings:
Fig. 1 is a kind of structured flowchart of motor driver in the utility model;
Fig. 2 is an a kind of specific embodiment circuit diagram of microcontroller of motor driver in the utility model;
Fig. 3 is an a kind of specific embodiment circuit diagram of serial communication circuit of motor driver in the utility model;
Fig. 4 is an a kind of specific embodiment circuit of six arm full bridge driving circuits of motor driver in the utility model Figure;
Fig. 5 is an a kind of specific reality of the external PWM signal input with switching circuit of motor driver in the utility model Apply a circuit diagram;
Fig. 6 is an a kind of specific embodiment circuit diagram of motor driver in the utility model;
Fig. 7 is a kind of structured flowchart of electric machine control system in the utility model.
Embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.
A kind of motor driver, with reference to Fig. 1, Fig. 1 is a kind of structured flowchart of motor driver in the utility model, including Microcontroller, enable and directional control circuit, external PWM signal input and switching circuit, six arm full bridge driving circuits and serial ports Telecommunication circuit, the output end of microcontroller is connected with the input of six arm full bridge driving circuits, is enabled and directional control circuit Output end and microcontroller input connection, external PWM signal input with switching circuit be used for input external PWM signal and Pwm signal switches, and microcontroller is connected with external PWM signal input with switching circuit, external PWM signal input and switching circuit Output end be connected with the input of six arm full bridge driving circuits, serial communication circuit is connected with microcontroller.
Motor driver of the present utility model, is driven by microcontroller, enable and directional control circuit and six arm full-bridges Circuit realiration is to the drive control of brushless thoughts motor, in addition, by increasing external PWM signal input and switching circuit and serial ports Telecommunication circuit, realizes the outside host computer of the switching and connection of external PWM signal and internal pwm signal, and then the utility model Motor driver can also realize the drive control to brushed DC motor, enhance motor driver compatibility and can expand Malleability.
Further, with reference to Fig. 2, Fig. 2 is an a kind of specific reality of microcontroller of motor driver in the utility model A circuit diagram is applied, microcontroller includes microprocessor, power filtering capacitor, reset circuit and crystal oscillating circuit, and microprocessor includes STM8S105 series microprocessors, specifically, use the microprocessor of STM8S105K4T6 models, resistance R16 in the present embodiment 5V dc sources and ground are connect respectively with electric capacity C18, and 1 pin of its public termination microprocessor is drawn high to ensure chip just Often work.2,3 pin of electric capacity C26, C27 and 16M crystal oscillator XTAL composition oscillating circuit access chips provide stable clock for it. Electric capacity C15 one end is grounded, the pin of other end access chip 5, is the decoupling voltage stabilizing of its core voltage.Electric capacity C17 and power access end 6,7 Pin is in parallel, is used as electric capacity of voltage regulation.8 pin of chip are defined as ADC sampling inputs, carry out current sample;11st, 12 pin are defined as floating Sky input, is connected with enabling with directional control circuit, carries out outside direction with enabling signal detection;14th, 15,16 pin are defined as outer Portion's interrupt mode, is used for the hall signal or encoder encoded signal for detecting that motor is passed back with motor connection;17 pin are defined as outer Portion's interrupt mode, is connected with external PWM signal input with switching circuit, for detecting external PWM signal;18 pin are defined as PWM Output mode, is connected with external PWM signal input with switching circuit, the pwm signal for exporting inside;19 ~ 24 pin are defined as Recommending output mode pattern, is connected with six arm full bridge driving circuits, for exporting the control signal to six arm full-bridge circuits.30th, 31 pin It is connected respectively with serial communication circuit corresponding end and is communicated with outside.
Further, referring to figs. 2 and 3 Fig. 2 is an a kind of tool of the microcontroller of motor driver in the utility model Body embodiment circuit diagram, Fig. 3 is a kind of specific embodiment electricity of serial communication circuit of motor driver in the utility model Lu Tu, serial communication circuit includes MAX3221 chips and its peripheral circuit.This circuit is used as communication core using MAX3221 chips Piece, is responsible for completing the RS232 level conversions of the TTL communication levels and host computer or master controller of microprocessor such as single-chip microcomputer.Its In, it is connected by TXD and RXD pins with host computer, serial communication circuit passes through UART_TX and UART_RX pins and microcontroller The 30 and 31 pin connection of device, can then carry out data transmission, microcontroller is sent out host computer between host computer and microcontroller What is sent is mainly supplemental characteristic, and data are mainly:(brushless electric machine is also for motor present speed, metal-oxide-semiconductor electric current, current drive pattern Be brush motor, internal PWM or external PWM signal) etc. parameter.The predominantly control life that host computer is sent to microcontroller Order, predominantly:The desired speed of motor speed, desired motor drive mode, whether storage into ROM memory so as under Secondary start automatic running arrange parameter etc..Thus, by serial communication circuit, the drive of PC control microcontroller switch motor Dynamic model formula, motor driver can realize the control to brush direct current motor.
As the further improvement of technical scheme, with reference to Fig. 4, Fig. 4 is six of a kind of motor driver in the utility model One specific embodiment circuit diagram of arm full bridge driving circuit, six arm full bridge driving circuits include three half-bridges(A phases half-bridge, B phases half Bridge and C phase half-bridges)With the half-bridge driven chip of the single half-bridge of correspondence control(U1、U2、U3), the structure of each half-bridge is identical, with A Exemplified by phase half-bridge, half-bridge includes upper metal-oxide-semiconductor Q1, lower metal-oxide-semiconductor Q2, upper Schottky diode D3 and lower Schottky diode D4, micro- The output end of controller(U1_SD、U2_SD、U3_SD), external PWM signal input and the output end of switching circuit(A、B、C)Point Not with the input of half-bridge driven chip(IN、/SD)Connection, control signal is distinguished for A, B, C, U1_SD, U2_SD, U3_SD The IN ends and/SD ends of each half-bridge driver are controlled, the wherein height of IN ends level controls the break-make of metal-oxide-semiconductor above and below in half-bridge, It is upper MOS conductings for high level, is that low level is lower metal-oxide-semiconductor conducting, level height in/SD ends controls the enable of half bridge chip, high Chip is enabled during level, MOS break-makes are enabled chip by IN controls during low level, metal-oxide-semiconductor is simultaneously turned off up and down.Half-bridge driven core The output end of piece is connected with upper metal-oxide-semiconductor Q1 grid and source electrode, lower metal-oxide-semiconductor Q2 grid and drain electrode respectively, upper metal-oxide-semiconductor Q1 source Pole and lower metal-oxide-semiconductor Q2 drain electrode connection, upper metal-oxide-semiconductor Q1 drain electrode connection power supply, upper Schottky diode D3 reversely access upper MOS Between pipe Q1 drain electrode and source electrode, lower Schottky diode D4 is reversely accessed between lower metal-oxide-semiconductor Q2 drain electrode and source electrode, lower MOS Pipe Q2 source ground;Lower Schottky diode D3 positive pole is connected as output end BLDC_A with the one of motor, e.g., in addition The output end of two-phase half-bridge(BLDC_B、BLDC_C)It is connected respectively with the residue two of motor, in six arm full bridge driving circuits, electricity Hall sensor in machine is directly connected by Hall_A, Hall_B, Hall_C pin in Fig. 4 with microcontroller, with direct current without It is brushed with exemplified by electrification machine, is driven by BLDC_A, BLDC_B, BLDC_C, Hall_A, Hall_B, Hall_C output pin and motor Dynamic device connection;And for brush direct current motor, can directly pass through any two-way half-bridge in circuit(BLDC_A、BLDC_B、 BLDC_C)It is connected with six arm full bridge driving circuits of motor driver.
Six arm full bridge driving circuits are constituted using half-bridge driven chip combination metal-oxide-semiconductor, with response quickly, with internal circuit The advantage of isolation, meanwhile, it is incorporated to Schottky diode between the drain electrode, source electrode in metal-oxide-semiconductor and passes through reverse current to increase metal-oxide-semiconductor Ability, prevent motor coil self-induction produce inverse electromotive force burn metal-oxide-semiconductor, wherein, half-bridge driven chip uses IR2104 The half-bridge driven chip of model.
As the further improvement of technical scheme, with reference to Fig. 1 and Fig. 4, Fig. 1 is a kind of motor driver in the utility model Structured flowchart, Fig. 4 be a kind of six arm full bridge driving circuits of motor driver in the utility model a specific embodiment electricity Lu Tu, motor driver also includes current detection circuit, the output ends of six arm full bridge driving circuits and current detection circuit it is defeated Enter end connection, the output end of current detection circuit and the input of microcontroller are connected.As shown in figure 4, all metal-oxide-semiconductor ground connection End is finally all pooled to one end and snakelike cabling is carried out on circuit, and this is to suitably increase the resistance of wire, then pass through RC filter circuits(Electric capacity C16 and resistance R15)Sampling is filtered to collecting end, is located in a subtle way eventually through POWAR_ADC terminations Manage the ADC sampling ends of device(8 pin), that detects metal-oxide-semiconductor passes through electric current.Current detection circuit can not only protect metal-oxide-semiconductor in electric current Control signal is turned off in time when excessive, as startup self-detection, to detect whether metal-oxide-semiconductor is intact, the anti-of electric current loop is also used as Feedback signal is to motor closed-loop control.
As the further improvement of technical scheme, with reference to Fig. 5 and Fig. 6, Fig. 5 is a kind of motor driver in the utility model External PWM signal input and a specific embodiment circuit diagram of switching circuit, Fig. 6 is a kind of motor driving in the utility model One specific embodiment circuit diagram of device, external PWM signal input includes external PWM signal input interface PWM_ with switching circuit IN, first and door U4A, second and door U4B, the 3rd and door U4C and the 4th and door U4D, external PWM signal input interface PWM_IN Output end input respectively with microcontroller(17 pin), first be connected with door U4A first input end, external PWM signal Input interface PWM_IN output end is connected by a pull-up resistor R9 with power supply, first with door U4A output end respectively with the Two are connected with door U4B first input end, the 3rd with door U4C first input end, the 4th with door U4D first input end, micro- The output end of controller(PWM_OUT、m_A、m_B、m_C)Respectively with first with door U4A the second input, second with door U4B The second input, the 3rd be connected with door U4C the second input, the 4th with door U4D the second input, second with door U4B Output end(A), the 3rd with door U4C output end(B), the 4th and door U4D output end(C)With six arm full bridge driving circuits Input(IN pin)Connection.
External PWM signal input interface PWM_IN gives tacit consent to high level by pull-up resistor R9, while and microprocessor It is STM8S105K4T6 17 pin, in parallel with door D pins 1, internal pwm signal from 18 pin be PWM_OUT accesses first and door U4A Second input, when using internal pwm signal, internal pwm signal is exported by microprocessor, due to pull-up resistor, External PWM signal input interface PWM_IN is high level all the time, then first internal pwm signal is exported with door U4A, with second and door After U4B, the 3rd are connected with door U4C, the 4th with door U4D, the signal of its output end final output is also believed for inside PWM control Number.When there is external PWM signal access, microprocessor can detect trailing edge edge signal, and triggering is interrupted, and interrupts service function In, internal pwm signal can be closed, while internal PWM output pins are put into height, now first just switches with door U4A output end For external PWM signal.To avoid first, high level time is long burns circuit simultaneously with the inputs of door U4A two, works as microprocessor Device is can't detect in 10ms after the trailing edge of external PWM signal, the pwm signal that microprocessor is set before exporting automatically, Remaining 3 cooperatively control the break-makes of six arm full-bridge circuits with door and first with door U4A, it is ensured that motor is normally run, rise every From with protection microprocessor, strengthen fan-out capability effect.Except using with door come in addition to realizing that pwm signal switches, can be with Realized using NAND gate.
Being inputted using external PWM signal can realize that internal pwm signal and the automatic of external PWM signal cut with switching circuit Change, convenient actual control, when using different motors, it is desirable to PWM frequency may be different, convenient external PWM signal control It can be switched fast.
As the further improvement of technical scheme, with reference to Fig. 6, Fig. 6 is one of a kind of motor driver in the utility model Specific embodiment circuit diagram, enable includes enabling control interface EN and direction controlling interface Dir with directional control circuit, enables control Interface EN processed output end, direction controlling interface Dir output end are connected use with the input (PB4, PB5) of microcontroller respectively Signal and direction signal are enabled in input, output end, the direction controlling interface Dir output end for enabling control interface EN are led to respectively Cross a pull down resistor(R11、R12)Ground connection.The default signal for enabling signal and direction signal is low level, when microprocessor detection To when enabling signal for high level, six arm full bridge driving circuits are enabled, controlled motor is rotated according to direction signal level, side When to signal being low level, motor is rotates counterclockwise, and when direction signal is high level, motor is rotated clockwise.
As the further improvement of technical scheme, referring to figs. 2 and 6 Fig. 2 is a kind of motor driver in the utility model Microcontroller a specific embodiment circuit diagram, Fig. 6 is an a kind of specific embodiment of motor driver in the utility model Circuit diagram, motor driver also includes state instruction circuit for lamp, the output end of microcontroller and the input of state instruction circuit for lamp End connection.As shown in Fig. 2 the 27 of microprocessor, 28,29 pin be defined as open-drain output pattern, for state of a control indicator lamp electricity Road;State instruction circuit for lamp realized using LED, LED1, LED2 and LED3 in such as Fig. 6, when fault, Ke Yili The metal-oxide-semiconductor of damage is quickly positioned with signal lamp.
In the utility model, microprocessor control LED has following action respectively:Start all flashes 2s;Metal-oxide-semiconductor failure When, 4s is first all flashed, correspondence flicker is carried out further according to the specific half-bridge detected, is damaged when detecting A phase half-bridges metal-oxide-semiconductor When, LED1 flickers, LED2, LED3 extinguish, and when detecting the damage of B phase half-bridges metal-oxide-semiconductor, LED2 flickers, LED1, LED3 extinguish, When detecting the damage of C phase half-bridges metal-oxide-semiconductor, LED3 flickers, LED1, LED2 extinguish;During normal operation, LED1 represents motor side To, light up as counterclockwise, extinguish for clockwise;LED2 represents pwm signal source, lights up as external PWM signal, puts out Go out for internal pwm signal;LED3 brightness is qualitative to represent motor speed, and brightness is higher, and rotating speed is faster.
With reference to Fig. 6, Fig. 6 is an a kind of specific embodiment circuit diagram of motor driver in the utility model, with brushless electricity Exemplified by machine, brushless electric machine passes through BLDC_A, BLDC_B, BLDC_C, Hall_A, Hall_B, Hall_C port and motor driver After connection, system electrification, microprocessor is first detected successively by current detection circuit to each metal-oxide-semiconductor, when metal-oxide-semiconductor is damaged When, electric current can be detected and become big, at this moment microprocessor closes all metal-oxide-semiconductors and controls all LED flicker alarms, if MOS is just Often and detect enable signal, then microprocessor control six arm full bridge driving circuits driving brushless electric machine according to direction initialization turn It is dynamic, and commutated by the hall signal fed back, rotating speed is determined by the interval of commutation signal, electric current is carried out to motor It is now automatic control state with speed feedback control, when detecting external PWM signal input, microprocessor is automatically cut off Internal pwm signal, only carries out commutation control, is now manual state of a control.Meanwhile, driver of the present invention can realize minimum 3 Signal wire(PWM_IN、Dir、EN)It can be achieved to enable BLDC motors, rotating speed, the complete control in direction enormously simplify pair The control difficulty of BLDC motors.
A kind of electric machine control system, with reference to Fig. 7, Fig. 7 is a kind of structured flowchart of electric machine control system in the utility model, Including motor, host computer and described motor driver, the output end and motor of six arm full bridge driving circuits of motor driver Input connection, the input of the output end of motor and the microcontroller of motor driver connects, and host computer drives with motor The serial communication circuit connection of device.Further, motor includes brushed DC motor or brushless thoughts direct current generator.
A kind of electric machine control system in the utility model, including motor, host computer and described motor driver, by upper Position machine is realized to be switched over to the motor control pattern of microcontroller, is realized the control of DC brush and brushless thoughts motor, is carried The scalability of high electric machine control system.The present invention can be realized by between host computer or controller and motor driver Communicate with realizing the switching between BLDC motors and brush direct current motor;There is PWM to automatically generate pattern and outside PWM mode, enter Row automatic detection, when there is external PWM signal, internal pwm signal stops output, believes when can't detect outside PWM in 100ms Number when, internal automatic output pwm signal.Communication interface and peripheral control unit or upper that microprocessor passes through serial communication circuit Machine is communicated, the parameter such as feedback motor speed, electric current and direction, is constituted closed-loop control, is improved motor control precision.Meanwhile, Peripheral control unit or host computer can also change motor speed, direction or switch to control by this interface and microprocessor communication Make other motor modes, such as brush motor control model.
Above is preferable implementation of the present utility model is illustrated, but the invention is not limited to the reality Example is applied, those skilled in the art can also make a variety of equivalent variations on the premise of without prejudice to the utility model spirit Or replace, these equivalent deformations or replacement are all contained in the application claim limited range.

Claims (10)

1. a kind of motor driver, it is characterised in that defeated including microcontroller, enable and directional control circuit, external PWM signal Enter and driven with switching circuit, six arm full bridge driving circuits and serial communication circuit, the output end of the microcontroller with six arm full-bridges The input connection of dynamic circuit, the enable is connected with the output end of directional control circuit and the input of microcontroller, described External PWM signal input is used to input external PWM signal with switching circuit and pwm signal switches, the microcontroller and outside Pwm signal input is connected with switching circuit, and the external PWM signal input and the output end of switching circuit drive with six arm full-bridges The input connection of circuit, the serial communication circuit is connected with microcontroller.
2. motor driver according to claim 1, it is characterised in that the motor driver also includes current detecting electricity Road, the output end of the six arms full bridge driving circuit and the input of current detection circuit are connected, the current detection circuit The input connection of output end and microcontroller.
3. motor driver according to claim 1, it is characterised in that the motor driver also includes status indicator lamp Circuit, the output end of the microcontroller is connected with the input of state instruction circuit for lamp.
4. the motor driver according to any one of claims 1 to 3, it is characterised in that the microcontroller includes micro- place Device and its peripheral circuit are managed, the microprocessor includes STM8S105 series microprocessors.
5. the motor driver according to any one of claims 1 to 3, it is characterised in that the enable and direction controlling electricity Road includes enabling control interface and direction controlling interface, the output end of the enable control interface, the output of direction controlling interface End is connected with the input of microcontroller respectively, the output end for enabling control interface, the output end of direction controlling interface point It is not grounded by a pull down resistor.
6. motor driver according to claim 5, it is characterised in that the six arms full bridge driving circuit includes three and half The half-bridge driven chip of bridge and the single half-bridge of correspondence control, each half-bridge includes upper metal-oxide-semiconductor, lower metal-oxide-semiconductor, upper Schottky two Pole pipe and lower Schottky diode, output end, external PWM signal input and the output end point of switching circuit of the microcontroller It is not connected with the input of half-bridge driven chip, the output end of half-bridge driven chip grid respectively with upper metal-oxide-semiconductor and source Pole, the grid of lower metal-oxide-semiconductor and drain electrode connection, the drain electrode connection of the source electrode of the upper metal-oxide-semiconductor and lower metal-oxide-semiconductor, the upper metal-oxide-semiconductor Drain electrode connection power supply, the upper Schottky diode is reversely accessed between drain electrode and the source electrode of upper metal-oxide-semiconductor, the lower Schottky two Pole pipe is reversely accessed between drain electrode and the source electrode of lower metal-oxide-semiconductor, the source ground of the lower metal-oxide-semiconductor.
7. motor driver according to claim 6, it is characterised in that the serial communication circuit includes MAX3221 cores Piece and its peripheral circuit.
8. motor driver according to claim 7, it is characterised in that the external PWM signal input and switching circuit Including external PWM signal input interface, first and door, second and door, the 3rd and door and the 4th and door, the external PWM signal The output end of input interface input respectively with microcontroller, first are connected with the first input end of door, the outside PWM letters The output end of number input interface is connected by a pull-up resistor with power supply, described first with the output end of door respectively with second and door First input end, the 3rd be connected with the first input end of door, the 4th with the first input end of door, the output of the microcontroller End respectively with first with the second input of door, second with the second input of door, the 3rd with the second input of door, the 4th with The second input connection of door, described second with the output end of door, the 3rd with the output end of door, the 4th with the output end and six of door The input connection of arm full bridge driving circuit.
9. a kind of electric machine control system, it is characterised in that including the electricity described in motor, host computer and any one of claim 1 to 8 Machine driver, the output end of six arm full bridge driving circuits of the motor driver and the input of motor are connected, the motor Output end and the input of microcontroller of motor driver connect, the serial communication of the host computer and motor driver electricity Road is connected.
10. electric machine control system according to claim 9, it is characterised in that the motor include brushed DC motor or Brushless thoughts direct current generator.
CN201720200854.3U 2017-03-02 2017-03-02 A kind of motor driver and electric machine control system Expired - Fee Related CN206542344U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720200854.3U CN206542344U (en) 2017-03-02 2017-03-02 A kind of motor driver and electric machine control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720200854.3U CN206542344U (en) 2017-03-02 2017-03-02 A kind of motor driver and electric machine control system

Publications (1)

Publication Number Publication Date
CN206542344U true CN206542344U (en) 2017-10-03

Family

ID=59940824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720200854.3U Expired - Fee Related CN206542344U (en) 2017-03-02 2017-03-02 A kind of motor driver and electric machine control system

Country Status (1)

Country Link
CN (1) CN206542344U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109545050A (en) * 2018-11-30 2019-03-29 西南民族大学 Motor experiment case
CN111525869A (en) * 2020-05-20 2020-08-11 浙江工商职业技术学院 DC brush and brushless motor integrated controller
CN113572392A (en) * 2021-07-06 2021-10-29 广东华芯微特集成电路有限公司 Drive circuit and drive chip thereof
CN114543897A (en) * 2022-03-30 2022-05-27 合肥科威尔电源系统股份有限公司 Virtual motor sensor circuit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109545050A (en) * 2018-11-30 2019-03-29 西南民族大学 Motor experiment case
CN111525869A (en) * 2020-05-20 2020-08-11 浙江工商职业技术学院 DC brush and brushless motor integrated controller
CN113572392A (en) * 2021-07-06 2021-10-29 广东华芯微特集成电路有限公司 Drive circuit and drive chip thereof
CN114543897A (en) * 2022-03-30 2022-05-27 合肥科威尔电源系统股份有限公司 Virtual motor sensor circuit
CN114543897B (en) * 2022-03-30 2024-03-26 科威尔技术股份有限公司 Virtual motor sensor circuit

Similar Documents

Publication Publication Date Title
CN206542344U (en) A kind of motor driver and electric machine control system
CN201590796U (en) Driving circuit of single-phase permanent magnet synchronous motor
CN101545497B (en) Automobile engine cooling fan control system based on four-phase double-wire winding brushless DC motor
WO2013134982A1 (en) Electrical appliance control system for achieving high-efficiency control and signal conversion board thereof
CN202833210U (en) Inducted draft fan driven by direct current motor
CN205992869U (en) Brushless motor controller
CN100379139C (en) Excitation circuit and control method for flux switching motor
CN106208832B (en) Permanent-magnet brushless DC electric machine digital governor
CN106171247A (en) The control method of drive system and the control method of electric tool
CN105007007B (en) A kind of control method of two-phase switched reluctance motor controller
CN202187895U (en) Submersible pump control circuit and submersible pump with self-protection function
CN105785844B (en) It is a kind of to isolate speed governing interface circuit and apply its electrical equipment system
CN201039059Y (en) AC/DC brushless DC wind blower
CN205304356U (en) Washing machine power generation system
CN104362909A (en) Brushless direct-current motor controller
CN108103675A (en) Chain sewing machine and its presser foot lifter control method and system
CN201113870Y (en) Brushless dc motor system for blower fan coil pipe
CN206259877U (en) A kind of driver for switching reluctance motor
CN208424124U (en) A kind of DC brushless motor with the hot-swappable protective device of electrification
CN202978798U (en) Electrical appliance in which high-voltage brushless DC motor is driven by three-phase sine wave
CN2683678Y (en) Brushless DC motor driving controller for sewing machine
CN205917489U (en) Washing machine that use switched reluctance motor directly drove
CN207744587U (en) A kind of intelligent super low energy consumption aerator
CN106452271A (en) Switched reluctance motor driver
CN205385333U (en) Energy -saving motor

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171003

Termination date: 20190302

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