CN207410256U - Brushless DC motor control system - Google Patents
Brushless DC motor control system Download PDFInfo
- Publication number
- CN207410256U CN207410256U CN201721355581.6U CN201721355581U CN207410256U CN 207410256 U CN207410256 U CN 207410256U CN 201721355581 U CN201721355581 U CN 201721355581U CN 207410256 U CN207410256 U CN 207410256U
- Authority
- CN
- China
- Prior art keywords
- circuit
- motor
- brushless
- voltage stabilizing
- voltage
- 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.)
- Active
Links
Landscapes
- Control Of Motors That Do Not Use Commutators (AREA)
Abstract
The utility model discloses a kind of brushless DC motor control systems, including brshless DC motor, governor circuit, current detection circuit and rotor-position detection module, the governor circuit connects brshless DC motor by power driving circuit with inverse changing driving circuit, the current detection circuit connects inverse changing driving circuit, the brshless DC motor connects power circuit block with governor circuit, the power circuit block includes the first voltage stabilizing conversion circuit and the second voltage stabilizing conversion circuit, the first voltage stabilizing conversion circuit and the second voltage stabilizing conversion circuit are used to convert different voltage.Of low cost, performance is stablized, and control accuracy is high, and convenient for debugging.
Description
Technical field
The utility model is related to a kind of DC motor control systems, are controlled more particularly to one kind based on STM32 microcontrollers
Brushless DC motor control system.
Background technology
The application of brshless DC motor is very extensive, such as automobile, instrument, industrial industry control, automation and aerospace.
Brushless motor is closely connected with development such as electronic technology, microelectric technique, digital technology, automatic control technology and material science
's.It is directed not only to alternating current-direct current field, further relates to the fields such as electronic, power generation energy conversion and sensing.
With the rapid development of computer technology, Power Electronic Technique, microelectric technique and modern control theory, periphery electricity
The emergence of the special integrated device of circuit component so that X in brushless DC motor control technology has marked improvement.Brushless direct-current
Motor control system just gradually develops to digitlization, intelligent direction.At present, brushless DC motor control system real-time
Difference, control accuracy are low, and inconvenient debugging.
Utility model content
Existing in the prior art in order to solve the problems, such as, the utility model aim is:A kind of brshless DC motor control is provided
System, of low cost, performance is stablized, and control accuracy is high, and convenient for debugging.
The technical solution of the utility model is:
A kind of brushless DC motor control system, including brshless DC motor, governor circuit, current detection circuit and rotor
Position detecting module, the governor circuit connects brshless DC motor by power driving circuit with inverse changing driving circuit, described
Current detection circuit connects inverse changing driving circuit, and the brshless DC motor connects power circuit block with governor circuit, described
Power circuit block includes the first voltage stabilizing conversion circuit and the second voltage stabilizing conversion circuit, the first voltage stabilizing conversion circuit and second
Voltage stabilizing conversion circuit is used to convert different voltage.
Preferably, the governor circuit connects host computer by RS232 buses, and the host computer is brushless for controlling in real time
The rotating of direct current generator and the current rotating speed of monitoring brshless DC motor.
Preferably, supply voltage is converted into 15V, 5V voltage by the first voltage stabilizing conversion circuit, and second voltage stabilizing turns
Circuit is changed for being converted into 3.3V voltages.
Preferably, the different voltages output terminal of the power circuit block is provided with test tie point.
Compared with prior art, the utility model has the advantages that:
The utility model it is of low cost, control accuracy is high, can provide different grades of voltage so that control system performance
Stablize, and the output terminal of different voltages grade sets test tie point, convenient for debugging.
Description of the drawings
The utility model is further described with reference to the accompanying drawings and embodiments:
Fig. 1 is the general principles block diagram of this practicality brushless DC motor control system;
Fig. 2 is 15V power-switching circuit figures;
Fig. 3 is 5V power-switching circuit figures;
Fig. 4 is 3.3V power-switching circuit figures;
Fig. 5 is current sampling circuit figure;
Fig. 6 flow charts in order to control;
Fig. 7 is interruption flow chart;
Fig. 8 is speed control flow chart.
Specific embodiment
To make the objectives, technical solutions and advantages of the present invention clearer, With reference to embodiment
And referring to the drawings, the utility model is further described.It should be understood that these descriptions are merely illustrative, and do not really want
Limit the scope of the utility model.In addition, in the following description, the description to known features and technology is omitted, to avoid not
Necessarily obscure the concept of the utility model.
Embodiment:
As shown in Figure 1, a kind of brushless DC motor control system, including governor circuit, power driving circuit, inversion driving
Circuit, rotor-position detection module current detection module, power circuit block and host computer.The output terminal of governor circuit is direct
Connect the input terminal of power driving circuit module, the output of the input terminal of three-phase inversion driving circuit directly with power driver module
End is connected, the operating of the signal control brshless DC motor of inverse changing driving circuit output.Governor circuit is by STM32 microcontroller conducts
Chip is controlled, governor circuit is communicated by RS-232 buses with host computer, and upper function controls rotating and the prison of motor in real time
The current rotating speed of measured motor.
The sensor of rotor-position detection module uses hall position sensor, by turning for the brshless DC motor detected
Sub- position signal feeds back to governor circuit, then is converted by the A/D inside STM32 microcontrollers, calculates rotating speed, and what is calculated turns
Fast signal is first passed through based on the fuzzy controller for improving particle cluster algorithm, then can be defeated by the PID adjustings of current regulator
Go out 6 road pwm pulse signals, so as to control brshless DC motor.Entire control system is powered by 24V power supplys, then by each steady
Pressure integrated circuit is respectively converted into 15V, 5V and 3.3V operating voltage.Wherein 15V operating voltages supply three-phase inverting circuit,
5V supplies current sampling circuit and other parts circuit, operating voltages of the 3.3V as STM32 main control chips.
Voltage class involved by system has 24V, 15V, 5V, 3.3V.Wherein 24V voltage sources are steady in direct current
Voltage source, predominantly entire control system service voltage;15V operating voltages pass through three terminal regulator by 24V supply voltages
MC7805 is converted to, and operating voltage is provided for IR2110S driving chips;5V operating voltages are 15V voltages by three-terminal voltage-stabilizing
Integrated circuit LM7805 conversions obtain;5V operating voltages are mainly used for providing required electricity for current detecting sampling section circuit
Pressure;3.3V is converted to by ASM1117 voltage stabilizing chips, be mainly used for for STM32 microcontrollers, JTAG chips and
Supply voltage needed for the supply of Hall position detecting circuits.15V power-switching circuits figure is as shown in Fig. 2, 5V voltage conversions are electric
Road is as shown in figure 3,3.3V voltage conversion circuits are as shown in Figure 4.Circuit diagram has tri- test points of 15V, 5V, 3.3V in figure,
This is for convenience of set by debugging circuit board.
Driving chip uses the IR2110S of IR companies research and development, it has the advantages that electromagnetic isolation and light-coupled isolation, while
It is the preferred chip of various motor driving class devices.The design inverse changing driving circuit is using three-phase bridge circuit totally six work(
Rate pipe, since each IR2110S can only drive two power switch pipes, required 3 IR2110S circuit chips could drive inverse
Become circuit and then go the accurate operating of control brshless DC motor.IR2110S has six road signals of five road signals of input and output
Function, not only include bootstrap type circuit suspension inside it, but also be a collection control circuit, level conversion, overcurrent, overvoltage
And under-voltage protection is in the driving chip of one.This saves substantial amounts of work for the design of the entire control system of brshless DC motor
Sequence has made system design simple very much.
Using Hall sensor, Hall sensor plays detection rotor magnetic pole in brshless DC motor for rotor-position detection
And the effect of the device circuitry of commutation information is provided on-off circuit.Due to the brshless DC motor used herein have three-phase around
Group is, it is necessary to which three Hall sensors could complete position detection.The signal that Hall sensor detects is the high speed of 180 ° of pulsewidth
Pulse before the AD conversion of STM32 is fed back to, must carry out light-coupled isolation.The Hall sensor that the design control system uses
External interface has five lines, connects the three-phase windings, power supply and ground wire of brshless DC motor respectively, since output is that collector is opened
Road must also connect pull-up resistor.
One of the key factor for influencing BLDCM control system performances is current sample precision, the height of current sample precision
Very big influence is suffered to entire BLDCM control systems.Current sampling circuit as shown in figure 5, LM358 two busbares and
Several small resistors, such as R1, R2, R3 are sealed between ground wire, it is defeated to calculate electric current by the voltage for detecting above-mentioned resistance both ends
Go out value.Sampling resistor can generate certain voltage by LM358 amplifiers, finally again by the A/D translation interfaces of STM32 come
Complete the sampling of electric current.
Each serial ports to have 3 USART, wherein USART1 be with system frequency point, USART2, USART3 are with crystalline substance
Vibration frequency point.The design BLDCM control systems draw two USART by MAX232, and USART1 is used to imitate in no JLINK
Under conditions of true device, program debugging is downloaded using ISP patterns;USART2 is used for the tachometer value for detecting BLDCM control systems and passes
Host computer is given, the real-time display on host computer.
Main program mainly includes the initialization to each module, the statement and definition of each system Chang Bianliang.Wherein module is initial
Change and mainly include following sections;I/O ports set initialization, A/D transition initializations, interrupt system initialization, system clock
Initialization, PWM generation module initialization and house dog initialization.The statement and definition of system Chang Bianliang includes system operation frequency
Definition, pin definition, sample mode definition.It is separately the request for preventing accidental interruption in initialization procedure, it is initial in each module
It must be impeding shutdown before change.Main program flow chart such as Fig. 6 shows.
Interruption subroutine mainly includes overcurrent protection subprogram, AD interrupts sampling subprogram, timer interrupt sub routine etc..
Wherein, overcurrent protection subprogram is mainly detected the electric current spilling of brushless electric motor rotor;AD interruption subroutines are mainly used to
Detection Hall sensor and current sample feed back to rotating speed and current information;Timer interrupt sub routine mainly completes each week time
The setting of phase.
There are 7 timers, two kinds of advanced timer and general timer can be divided into.Generally using TIM1 and TIM8 as advanced
Timer, remaining is as general timer.TIM1 is mainly used to the six road pwm pulses of output driving BLDCM, TIM1 subprogram masters
Handle the output signal based on the fuzzy-adaptation PID control for improving particle cluster algorithm.The effect of timer interrupt sub routine is mainly caught
External input value is obtained, when control system has signal input, TIM2 will capture signal and enter timer service subprogram, will
The input signal captured is converted into program command.TIM3 is mainly used for capturing the rotor-position letter that Hall sensor detects
Number.
In Fig. 7, scene protection is initially entered, detection I/O mouthfuls of level of capture calculate out position by the hall signal of capture
Signal and rotating speed, the tach signal calculated first passes through the fuzzy controller based on improvement particle cluster algorithm, then passes through electric current
It is exportable 6 road pwm pulse signal that the PID of adjuster, which is adjusted, and restoring scene can be jumped out after interrupting control end of subroutine.
Fig. 8 is speed control schematic diagram, and speed ring is used based on the fuzzy PID control strategy for improving particle cluster algorithm,
Using the velocity deviation e and change rate ec of deviation as input signal, using improving particle cluster algorithm(Quanta particle swarm optimization)It seeks
The excellent on-line automatic adjustment of fuzzy control rule, the good speed signal of last output adjustment.
It should be appreciated that the above-mentioned specific embodiment of the utility model is used only for exemplary illustration or explains this reality
With new principle, without forming the limitation to the utility model.Therefore, in the spirit and scope without departing from the utility model
In the case of any modification, equivalent substitution, improvement and etc. done, should be included within the scope of protection of this utility model.In addition,
The appended claims for the utility model are intended to cover to fall into scope and border or this scope and border
Whole change and modification examples in equivalents.
Claims (4)
1. a kind of brushless DC motor control system, including brshless DC motor, governor circuit, current detection circuit and rotor position
Put detection module, which is characterized in that the governor circuit connects brushless direct-current by power driving circuit with inverse changing driving circuit
Motor, the current detection circuit connect inverse changing driving circuit, and the brshless DC motor connects power circuit with governor circuit
Module, the power circuit block include the first voltage stabilizing conversion circuit and the second voltage stabilizing conversion circuit, the first voltage stabilizing conversion
Circuit and the second voltage stabilizing conversion circuit are used to convert different voltage.
2. brushless DC motor control system according to claim 1, which is characterized in that the governor circuit passes through
RS232 buses connect host computer, and the host computer is for the rotating of control brshless DC motor in real time and monitoring brushless direct-current
The current rotating speed of motor.
3. brushless DC motor control system according to claim 1, which is characterized in that the first voltage stabilizing conversion circuit
Supply voltage is converted into 15V, 5V voltage, the second voltage stabilizing conversion circuit is used to be converted into 3.3V voltages.
4. brushless DC motor control system according to claim 1, which is characterized in that the power circuit block is not
Voltage output end is provided with test tie point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721355581.6U CN207410256U (en) | 2017-10-20 | 2017-10-20 | Brushless DC motor control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721355581.6U CN207410256U (en) | 2017-10-20 | 2017-10-20 | Brushless DC motor control system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN207410256U true CN207410256U (en) | 2018-05-25 |
Family
ID=62320409
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201721355581.6U Active CN207410256U (en) | 2017-10-20 | 2017-10-20 | Brushless DC motor control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN207410256U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109297723A (en) * | 2018-09-30 | 2019-02-01 | 长安大学 | A kind of Electric Vehicles Driving Cycle simulator stand and analogy method |
CN110176878A (en) * | 2019-06-28 | 2019-08-27 | 贵州航天林泉电机有限公司 | A kind of driven by Brush-Less DC motor controller based on STM32 |
-
2017
- 2017-10-20 CN CN201721355581.6U patent/CN207410256U/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109297723A (en) * | 2018-09-30 | 2019-02-01 | 长安大学 | A kind of Electric Vehicles Driving Cycle simulator stand and analogy method |
CN110176878A (en) * | 2019-06-28 | 2019-08-27 | 贵州航天林泉电机有限公司 | A kind of driven by Brush-Less DC motor controller based on STM32 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103248294B (en) | Position-sensor-free DC brushless motor double closed loop speed regulation system control method | |
CN103231798B (en) | A kind of control method utilizing digitalized electric steering engine control device | |
CN100420145C (en) | A low-loss, high reliability integration magnetic levitation flywheel DC brushless motor control system | |
CN203827230U (en) | Non-inductive brushless DC (direct current) motor speed regulator for multi-rotor unmanned aerial vehicle | |
CN104950690B (en) | A kind of inertial-stabilized platform controlling system semi-physical simulation method | |
CN203883718U (en) | MCU-based switch reluctance motor controller | |
Pan et al. | Research on motor rotational speed measurement in regenerative braking system of electric vehicle | |
CN104579044B (en) | A kind of constant moment of force control method of ECM motors | |
CN103916062B (en) | A kind of vector controlled YE based on DSP | |
CN102291065A (en) | Brushless direct current motor control device based on DSP (Digital Signal Processor) | |
CN106533303A (en) | Permanent magnet brushless DC motor driver control method | |
CN207410256U (en) | Brushless DC motor control system | |
CN205566144U (en) | Many motors speed servo drive control structure | |
CN104868815B (en) | A kind of High-reliability Control device and method of asynchronous machine | |
CN107707160A (en) | High-accuracy direct current brushless servo motor driver | |
CN107529684A (en) | A kind of direct current generator intelligent speed-governing system | |
CN106849806A (en) | A kind of controller for electric vehicle and control method | |
CN208836038U (en) | A kind of motor rotation-speed control circuit, motor speed controller and direct current generator | |
CN103248284A (en) | Special driver for linear shaft motor | |
CN203734462U (en) | Intelligent control device for electric vehicle-used motor | |
CN110308690A (en) | Brshless DC motor DSP logic control program design method based on Petri network | |
CN202424606U (en) | Direct current motor controller without speed-measurement sensor | |
CN107888112A (en) | A kind of electric steering engine drive device | |
CN107389969A (en) | A kind of brushless dc tachometer | |
CN208623572U (en) | One kind is from closed-loop motor driver |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |