CN206673860U - A kind of control system for permanent-magnet synchronous motor based on STM32 - Google Patents

A kind of control system for permanent-magnet synchronous motor based on STM32 Download PDF

Info

Publication number
CN206673860U
CN206673860U CN201720233532.9U CN201720233532U CN206673860U CN 206673860 U CN206673860 U CN 206673860U CN 201720233532 U CN201720233532 U CN 201720233532U CN 206673860 U CN206673860 U CN 206673860U
Authority
CN
China
Prior art keywords
module
stm32
rotating speed
synchronous motor
permanent
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
CN201720233532.9U
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.)
West Anhui University
Original Assignee
West Anhui University
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 West Anhui University filed Critical West Anhui University
Priority to CN201720233532.9U priority Critical patent/CN206673860U/en
Application granted granted Critical
Publication of CN206673860U publication Critical patent/CN206673860U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Ac Motors In General (AREA)

Abstract

It the utility model is related to a kind of control system for permanent-magnet synchronous motor based on STM32, it includes STM32 core controllers, CAN, 485 communication modules, keyboard input module, LCD MODULE, drive circuit module, inverter circuit module, current detection module, Rotating speed measring module and direct current supply module, it is characterised in that:The STM32 core controllers are for the processing to whole system data, motor operation control and status monitoring, offer correspondence with foreign country data-interface and real-time display, current detection module is used for the detection of phase current during to motor operation, Rotating speed measring module is used for the detection to the real-time rotating speed of motor, direct current supply module is respectively operating voltage corresponding to STM32 core controllers, inverter circuit module, current detection module and Rotating speed measring module provide, and the utility model has the characteristics of control accuracy is high, strong antijamming capability and cost are low.

Description

A kind of control system for permanent-magnet synchronous motor based on STM32
Technical field
It the utility model is related to electric and electronic technical field, and in particular to a kind of permagnetic synchronous motor control based on STM32 System processed.
Background technology
With the swift and violent hair of power electronics, microelectronics, sensing technology, motor control theory and Control Technique of Microcomputer Exhibition, the especially successful application of Advanced Control Strategies, the research and application of AC servo, have achieved great progress, Have been equipped with the good technical performances such as wide speed regulating range, high steady speed precision, fast dynamic response and four quadrant running.Exchange is watched Dress system is divided by the type of its drive motor used, mainly there is two major classes:PMSM AC Servo Systems With inductive asynchronous motor AC servo.Wherein, PMSM AC Servo Systems possess very excellent Low-speed performance, and weak magnetic High-speed Control can be realized, the speed adjustable range of system has been widened, has adapted to wanting for high performance servo driving Ask.And with the reduction increased substantially with price of permanent magnetic material performance, its answering in industrial production automation field With will be more and more extensive, turn into the main flow of AC servo at present.In recent years, the country has also begun to permanent magnet synchronous servo system The research of system, has had made great progress in terms of theoretical and experimental study, but still has many deficiencies, no matter is gone back from reliability It is in stability, the control of permagnetic synchronous motor is still a problem.
With developing rapidly for science and technology, the species of all kinds of high performance controllers for motor control and function are also increasingly Abundant, arithmetic speed there has also been qualitative leap, such as the STM32F407 series that ST Microelectronics (ST) produces supports floating-point The motor specific chip of computing, the real time motor control algolithm of function admirable can be realized completely, and it is soft to write perfect monitoring Part.
The content of the invention
The purpose of this utility model is to provide a kind of control system for permanent-magnet synchronous motor based on STM32, passes through installation Detection module is detected in real time to motor operating state in real time, and combines the design parameter of motor, is permagnetic synchronous motor Reasonable, efficient and stable control is provided.
To reach above-mentioned purpose, technical scheme is used by the utility model:
A kind of control system for permanent-magnet synchronous motor based on STM32, including STM32 core controllers, CAN, 485 communication modules, keyboard input module, LCD MODULE, drive circuit module, inverter circuit module, current detection module, Rotating speed measring module and direct current supply module, it is characterised in that:The STM32 core controllers communicate mould with CAN respectively Block, 485 communication modules, keyboard input module, LCD MODULE, drive circuit module, current detection module and rotating speed module It is connected, for the processing to whole system data, motor operation control and status monitoring, provides correspondence with foreign country data-interface and reality When show, the Rotating speed measring module is connected with STM32 core controllers and permagnetic synchronous motor respectively, in real time detect electricity Machine rotating speed, direct current supply module connect STM32 core controllers, drive circuit module, inverter circuit module, current detecting respectively Module and Rotating speed measring module, it is respectively that it provides corresponding operating voltage.
A kind of described control system for permanent-magnet synchronous motor based on STM32, it is characterised in that:The STM32 cores control The concrete model of device processed is STM32F407ZET6.
A kind of described control system for permanent-magnet synchronous motor based on STM32, it is characterised in that:The current detection module From the model HCPL7800 of chip.
A kind of described control system for permanent-magnet synchronous motor based on STM32, it is characterised in that:The Rotating speed measring module The photoelectric encoder model DS26C32AT of selection.
A kind of described control system for permanent-magnet synchronous motor based on STM32, it is characterised in that:The drive circuit module The MOSFET driving chips of selection are IR2103.
A kind of described control system for permanent-magnet synchronous motor based on STM32, it is characterised in that:The direct current supply module The voltage stabilizing chip that corresponding 15V, 12V, 5V, 3.3V voltage output uses be respectively LM7815, LM7812, LM7805 and AMS1084。
Compared with prior art, the utility model has the advantage of:The utility model is using ST companies STM32F407ZET6 dedicated machine controllers, the control accuracy and stability of permagnetic synchronous motor can be greatly improved;With adopting Control system by the use of DSP or DSP+FPGA as master controller is compared, can substantially reduce control system for permanent-magnet synchronous motor into This;Meanwhile the system uses inner ring as the double-closed-loop control that electric current loop, outer shroud are der Geschwindigkeitkreis, and by Fuzzy Adaptive PID Control Algorithm is added among control system, it is possible to increase the stability and robustness of system, has preferably application and promotion prospect.
Brief description of the drawings
Fig. 1 is general structure schematic diagram of the present utility model.
Fig. 2 is current detection circuit schematic diagram of the present utility model.
Embodiment
Preferred embodiment of the present utility model is described in detail below in conjunction with accompanying drawing, it is still, described herein excellent Select embodiment to be merely to illustrate and explain the utility model, be not used to limit the utility model.
The general structure schematic diagram of the present embodiment system is as shown in Figure 1, there is provided a kind of permanent magnet synchronous electric based on STM32 Machine control system, including STM32 core controllers, CAN, 485 communication modules, keyboard input module, liquid crystal display Module, drive circuit module, inverter circuit module, current detection module, Rotating speed measring module and direct current supply module.Direct current Supplier of the power supply module as whole system power supply, respectively STM32 core controllers and current detection module, Rotating speed measring Module, inverter circuit module, drive circuit module provide 3.3V, 5V, 12V, 15V operating voltage, STM32 core controllers The control to inverter circuit module is realized after control signal is amplified by drive circuit module, so as to form inversion, by 12V's DC inverter is the alternating current that motor rotation needs, and current detection module is used in real time to the electricity of inverter circuit module output end Stream is detected, and provides real-time current for electric machine control system current inner loop, Rotating speed measring module is realized by rotating speed coder Detection to the real-time rotating speed of motor, so as to for rotating speed outer shroud provide instantaneous value, by the synergic adjustment of rotating speed inner ring and outer rings, most Motor high speed, the operation of high stability are realized eventually.System provides 485 communication modules and CAN, respectively host computer Communication and external device communication provide interface.Meanwhile system also provides execute-in-place, there is provided the liquid crystal display of running status, it is real The function such as alarm and the input of control targe scene.
The current detection circuit schematic diagram of the present embodiment system as shown in Fig. 2 be from A phases therein among embodiment Example, CSENA are the voltage obtained by A phase current sampling resistance samplings, and the suppression of common mode disturbances is realized by common mode inductance, As R1, R2, R3 realize the conversion of voltage jointly, the circuit is converted to the negative value of the voltage of three-phase current on the occasion of and passing through The amplifying circuit that R4 and R5 is formed realizes the amplification of the voltage of circuit.Circuit according to designed by this paper, output voltage VIAWith it is defeated Enter voltage VCSENABetween relation be shown below:
It can be seen from above formula, when it is zero that three-phase, which gives electric current, VCSENAGiven voltage is zero, now output voltage VIAProtect The state for 1.6V is held, when three-phase current is given as negative value, output voltage VIAAlso it will remain between 0-1.6V, ensure DSP The voltage signal collected be on the occasion of.
In summary, a kind of control system for permanent-magnet synchronous motor based on STM32 of the utility model above-described embodiment, tool There are the advantage that conventional dedicated chip forms Permanent Magnet Synchronous Motor Controller, i.e., special motor control mechanism, user-programmable, expansion Exhibition ability is strong, powerful, while the shortcomings that overcome them again each, as peripheral hardware and holder are integrated in chip, can save Save the number of component in the area of printed circuit board (PCB), reduction system, improve the ability and whole system of CPU processing datas Reliability, secondly STM32F407 series monolithic excellent performances, stability and the control for greatly improving whole control system are smart Degree, market prospects are vast.
Finally it should be noted that:Embodiment in described above is only preferred embodiment of the present utility model, not For limiting the utility model, for those skilled in the art, the utility model structural principle is not being departed from Under the premise of, some improvement and retouching can also be made, these are improved also should be regarded as the scope of protection of the utility model with retouching.

Claims (6)

1. a kind of control system for permanent-magnet synchronous motor based on STM32, including STM32 core controllers, CAN, 485 Communication module, keyboard input module, LCD MODULE, drive circuit module, inverter circuit module, current detection module, turn Fast detection module and direct current supply module, it is characterised in that:The STM32 core controllers respectively with CAN, 485 communication modules, keyboard input module, LCD MODULE, drive circuit module, current detection module and rotating speed module phase Even, for the processing to whole system data, motor operation control and status monitoring, provide correspondence with foreign country data-interface and in real time It has been shown that, the Rotating speed measring module are connected with STM32 core controllers and permagnetic synchronous motor respectively, for detecting motor in real time Rotating speed, direct current supply module connect STM32 core controllers, drive circuit module, inverter circuit module, current detecting mould respectively Block and Rotating speed measring module, it is respectively that it provides corresponding operating voltage.
A kind of 2. control system for permanent-magnet synchronous motor based on STM32 according to claim 1, it is characterised in that:It is described The concrete model of STM32 core controllers is STM32F407ZET6.
A kind of 3. control system for permanent-magnet synchronous motor based on STM32 according to claim 1, it is characterised in that:It is described Current detection module selects the model HCPL7800 of chip.
A kind of 4. control system for permanent-magnet synchronous motor based on STM32 according to claim 1, it is characterised in that:It is described The photoelectric encoder model DS26C32AT that Rotating speed measring module is selected.
A kind of 5. control system for permanent-magnet synchronous motor based on STM32 according to claim 1, it is characterised in that:It is described The MOSFET driving chips that drive circuit module is selected are IR2103.
A kind of 6. control system for permanent-magnet synchronous motor based on STM32 according to claim 1, it is characterised in that:It is described Corresponding to direct current supply module 15V, 12V, 5V, 3.3V voltage output use voltage stabilizing chip be respectively LM7815, LM7812, LM7805 and AMS1084.
CN201720233532.9U 2017-03-11 2017-03-11 A kind of control system for permanent-magnet synchronous motor based on STM32 Expired - Fee Related CN206673860U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720233532.9U CN206673860U (en) 2017-03-11 2017-03-11 A kind of control system for permanent-magnet synchronous motor based on STM32

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720233532.9U CN206673860U (en) 2017-03-11 2017-03-11 A kind of control system for permanent-magnet synchronous motor based on STM32

Publications (1)

Publication Number Publication Date
CN206673860U true CN206673860U (en) 2017-11-24

Family

ID=60377076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720233532.9U Expired - Fee Related CN206673860U (en) 2017-03-11 2017-03-11 A kind of control system for permanent-magnet synchronous motor based on STM32

Country Status (1)

Country Link
CN (1) CN206673860U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111600529A (en) * 2020-05-27 2020-08-28 贵州航天天马机电科技有限公司 Antenna receiving and releasing control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111600529A (en) * 2020-05-27 2020-08-28 贵州航天天马机电科技有限公司 Antenna receiving and releasing control system

Similar Documents

Publication Publication Date Title
CN103246201B (en) The improvement fuzzy model-free adaptive control system of radial hybrid magnetic bearing and method
CN205566144U (en) Many motors speed servo drive control structure
CN104868815B (en) A kind of High-reliability Control device and method of asynchronous machine
CN206673860U (en) A kind of control system for permanent-magnet synchronous motor based on STM32
CN111865167A (en) PMSLM (permanent magnet synchronous motor) position-sensorless vector control method based on sliding-mode observer
CN103401361B (en) Intelligentized motor magnetic coding system and working method thereof
CN103066914A (en) Direct power control system of high power factor induction motor
CN204993012U (en) Directly drive formula plane machine controller
CN206077270U (en) A kind of SCM Based brushless DC motor control system
CN206004562U (en) A kind of sensorless control system of high-voltage permanent magnet synchronous motor
CN206077265U (en) A kind of brushless direct current motor controller based on DSP
CN101697467A (en) Driver of linear motor and driving method thereof
CN108540026A (en) A kind of real-time regulating circuit of permanent magnet synchronous motor drive control based on silicon carbide/gallium nitride MOSFET
CN103023392A (en) Low-voltage frequency converter with rotate speed tracking start
CN104655878A (en) Velocity meter verification system
CN206490610U (en) A kind of motor circuit of use closed-loop pulse width PWM speed regulating controls
CN202663337U (en) Two-phase low-power stepping motor drive controller
CN105429524A (en) FPGA-based brushless direct current motor speed regulating system
CN101388636B (en) Energy-saving inversion controller for digital electricity generating set
CN206117547U (en) Brushless motor drive controller
CN204696969U (en) A kind of control system for permanent-magnet synchronous motor
CN104836486B (en) A kind of brshless DC motor energy-saving control system and control method based on FPGA
CN201113884Y (en) Digital generator set energy-saving inversion controller
CN203261274U (en) Permanent-magnet-synchronous-motor driver based on TMS320F28335
CN205123633U (en) Permanent magnet synchronous motor control device

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: 20171124

Termination date: 20190311

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