CN204696967U - Dual chip brshless DC motor driving control system - Google Patents

Dual chip brshless DC motor driving control system Download PDF

Info

Publication number
CN204696967U
CN204696967U CN201520352367.XU CN201520352367U CN204696967U CN 204696967 U CN204696967 U CN 204696967U CN 201520352367 U CN201520352367 U CN 201520352367U CN 204696967 U CN204696967 U CN 204696967U
Authority
CN
China
Prior art keywords
control
value
motor
microprocessor
speed
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
CN201520352367.XU
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.)
Ocean University of China
Original Assignee
Ocean University of China
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 Ocean University of China filed Critical Ocean University of China
Priority to CN201520352367.XU priority Critical patent/CN204696967U/en
Application granted granted Critical
Publication of CN204696967U publication Critical patent/CN204696967U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

本实用新型涉及一种双芯片无刷直流电机驱动控制系统。该系统采用ARM和CPLD联合控制,本控制系统的力矩、速度和位置的给定值来自上位机,电机状态的反馈值根据电机内的三相霍尔传感器的反馈值计算得出。ARM与上位机相连,接收上位机发送的给定值并根据上位机的指令进行力矩控制、速度控制或位置控制;CPLD接收三相霍尔器的反馈信号,进行位置和速度的计算,将计算值传递到ARM,ARM结合计算值和给定值进行控制运算,并发送控制字。CPLD接收ARM的控制字并解析为控制指令,通过电机的驱动电路控制电机运转。该系统不需用速度和位置传感器,简化了系统结构,可实现转矩、转速和位置的高精度控制。

The utility model relates to a double-chip brushless DC motor drive control system. The system adopts joint control of ARM and CPLD. The given values of torque, speed and position of the control system come from the upper computer, and the feedback value of the motor state is calculated according to the feedback value of the three-phase Hall sensor in the motor. The ARM is connected to the host computer, receives the given value sent by the host computer and performs torque control, speed control or position control according to the instructions of the host computer; CPLD receives the feedback signal of the three-phase Hall device, calculates the position and speed, and calculates The value is passed to the ARM, and the ARM combines the calculated value with the given value for control operations and sends the control word. CPLD receives the control word of ARM and parses it into a control instruction, and controls the operation of the motor through the drive circuit of the motor. The system does not need speed and position sensors, simplifies the system structure, and can realize high-precision control of torque, speed and position.

Description

双芯片无刷直流电机驱动控制系统Dual chip brushless DC motor drive control system

技术领域technical field

本实用新型属于伺服控制技术领域,涉及一种采用双芯片联合对无刷电机进行控制的驱动控制系统。The utility model belongs to the technical field of servo control, and relates to a drive control system that adopts double-chip combination to control a brushless motor.

背景技术Background technique

无刷直流电机由永磁材料制造的转子、带有线圈绕组的定子和位置传感器组成。它具备直流电机优越的调速性能的同时,又取消了碳刷、滑环结构所带来的各类问题。还具有结构简单、效率高、运行可靠等优点。A brushless DC motor consists of a rotor made of permanent magnet material, a stator with coil windings and a position sensor. While it has the superior speed regulation performance of DC motors, it also eliminates various problems caused by carbon brushes and slip ring structures. It also has the advantages of simple structure, high efficiency and reliable operation.

无刷直流电机的调速方式通常通过开环PWM调制来实现,通过外部给定占空比来实现转速的变化,但这种调速方式适用于对调速要求不高的场合,无法满足较高的调速性能要求,也无法实现对转矩转速的高精度控制。同时,传统的单片机控制系统、专用电机控制系统和DSP控制系统,在实现故障保护时,实现的故障保护电路,响应延时长,降低了系统的安全性。The speed regulation method of the brushless DC motor is usually realized by open-loop PWM modulation, and the change of the speed is realized through the external given duty ratio, but this speed regulation method is suitable for occasions that do not require high speed regulation, and cannot meet the requirements of relatively high speed. High speed regulation performance requirements, it is impossible to achieve high precision control of torque speed. At the same time, the traditional single-chip control system, special motor control system and DSP control system, when implementing fault protection, the fault protection circuit realized has a long response delay, which reduces the safety of the system.

传统的无刷直流电机的闭环速度控制和闭环位置控制系统,需要利用编码器作为传感器对电机的速度和位置进行检测,在使用时提高了系统的生产成本。The closed-loop speed control and closed-loop position control system of the traditional brushless DC motor needs to use the encoder as a sensor to detect the speed and position of the motor, which increases the production cost of the system when used.

实用新型内容Utility model content

本实用新型的目的在于提供一种可实现快速、精准调速的无刷直流电机驱动控制系统。The purpose of the utility model is to provide a brushless DC motor drive control system that can realize fast and precise speed regulation.

本实用新型的技术方案是:双芯片无刷直流电机驱动控制系统,包括上位机、驱动电路、电压电流检测与比较电路和控制系统,无刷直流电机内置三相霍尔传感器,所述驱动电路为三相全桥电路,所述控制系统包括相互连接的逻辑处理器、微处理器,以及与逻辑处理器相连的驱动电路;The technical scheme of the utility model is: a dual-chip brushless DC motor drive control system, including a host computer, a drive circuit, a voltage and current detection and comparison circuit and a control system, a brushless DC motor with a built-in three-phase Hall sensor, and the drive circuit It is a three-phase full-bridge circuit, and the control system includes a logic processor connected to each other, a microprocessor, and a drive circuit connected to the logic processor;

逻辑处理器包括计算单元、保护单元、驱动控制单元和通信单元,其中,计算单元接收三相霍尔传感器的反馈信号,并进行位置运算和速度运算;通信单元用于与微处理器的通信;The logic processor includes a calculation unit, a protection unit, a drive control unit and a communication unit, wherein the calculation unit receives the feedback signal of the three-phase Hall sensor, and performs position calculation and speed calculation; the communication unit is used for communication with the microprocessor;

上位机与微处理器相连,上位机传递控制给定值信号到微处理器,并控制微处理器的控制模式;The upper computer is connected with the microprocessor, and the upper computer transmits the control given value signal to the microprocessor, and controls the control mode of the microprocessor;

微处理器接收来自逻辑处理器的位置和速度计算值,结合上位机的给定值,采用PID算法计算出速度、位置和力矩的控制值,并将控制值反馈到逻辑处理器的驱动控制单元,逻辑处理器通过驱动电路与驱动电路相连,驱动电路接收驱动控制单元给定的控制信号,通过驱动电路控制无刷直流电机工作;The microprocessor receives the position and speed calculation values from the logic processor, combined with the given value of the host computer, uses the PID algorithm to calculate the control values of speed, position and torque, and feeds back the control values to the drive control unit of the logic processor , the logic processor is connected to the drive circuit through the drive circuit, the drive circuit receives the control signal given by the drive control unit, and controls the operation of the brushless DC motor through the drive circuit;

所述电压电流检测与比较电路包括电流检测与比较电路和电压检测与比较电路,二者分别将采集的电流值和电压值反馈到微处理器的ADC采集端,同时将电流比较值和电压比较值传递到逻辑处理器,保护单元进行过压与过流的判断。The voltage and current detection and comparison circuit includes a current detection and comparison circuit and a voltage detection and comparison circuit, both of which respectively feed back the collected current value and voltage value to the ADC acquisition terminal of the microprocessor, and simultaneously compare the current comparison value with the voltage comparison The value is passed to the logic processor, and the protection unit performs overvoltage and overcurrent judgments.

优选的是:逻辑处理器采用CPLD芯片,微处理器采用ARM芯片,二者通过SPI总线通信。Preferably, the logic processor adopts a CPLD chip, the microprocessor adopts an ARM chip, and the two communicate through the SPI bus.

本实用新型的有益效果是:The beneficial effects of the utility model are:

(1)本实用新型提供了一种双芯片无刷电机驱动系统。ARM+CPLD双芯片联合实现转矩、转速、位置的高精度控制,同时利用了CPLD芯片的快速响应优点,实现了电机过压、过流故障的快速保护;(1) The utility model provides a dual-chip brushless motor drive system. ARM+CPLD dual-chip combination realizes high-precision control of torque, speed, and position, and at the same time utilizes the advantages of fast response of CPLD chips to realize fast protection of motor overvoltage and overcurrent faults;

(2)该系统不使用速度和位置检测传感器,通过逻辑处理器内部逻辑实现速度和位置的精确计算,进而实现电机的速度和位置闭环控制,大大降低了系统成本;(2) The system does not use speed and position detection sensors, and realizes accurate calculation of speed and position through the internal logic of the logic processor, thereby realizing closed-loop control of motor speed and position, which greatly reduces system cost;

(3)定制了一种CPLD片内SPI核,以适应SPI通信时序,实现了ARM与CPLD之间的SPI全双工通信,同时自定义了一种基于SPI总线的全双工通信协议;该SPI核具有很强的可移植性,具有统一的对外接口,可以轻松移植到任何一款CPLD芯片上以实现SPI通信功能。(3) Customized a CPLD on-chip SPI core to adapt to the SPI communication timing, realized the SPI full-duplex communication between ARM and CPLD, and customized a full-duplex communication protocol based on the SPI bus; the The SPI core has strong portability, has a unified external interface, and can be easily transplanted to any CPLD chip to realize the SPI communication function.

附图说明Description of drawings

图1为本实用新型结构示意图。Fig. 1 is the structural representation of the utility model.

图2为具体实施方式控制系统结构示意图。Fig. 2 is a schematic structural diagram of a control system in a specific embodiment.

图3为驱动电路结构示意图。Figure 3 is a schematic diagram of the structure of the driving circuit.

图4电流检测与比较电路。Figure 4 current detection and comparison circuit.

图5电压检测与比较电路。Figure 5 voltage detection and comparison circuit.

具体实施方式Detailed ways

如图1所示,双芯片无刷直流电机驱动控制系统,包括上位机、驱动电路、电压电流检测与比较电路和控制系统,无刷直流电机内置三相霍尔传感器,驱动电路为三相全桥电路。As shown in Figure 1, the dual-chip brushless DC motor drive control system includes a host computer, a drive circuit, a voltage and current detection and comparison circuit, and a control system. The brushless DC motor has a built-in three-phase Hall sensor, and the drive circuit is a three-phase full bridge circuit.

控制系统包括相互连接的逻辑处理器、微处理器,以及与逻辑处理器相连的驱动电路。如图2所示,逻辑处理器采用CPLD芯片,微处理器采用ARM芯片,二者通过SPI总线通信。该系统不采用位置和速度传感器,而是采用无刷直流电机内部霍尔传感器反馈值,进行位置和速度的计算。CPLD接收到三相霍尔传感器反馈信号后,进行位置运算和速度运算,得到无刷直流电机转子的位置值和速度值,此处称为位置和速度的计算值,传递到ARM。The control system includes a logical processor connected to each other, a microprocessor, and a drive circuit connected to the logical processor. As shown in Figure 2, the logic processor uses a CPLD chip, and the microprocessor uses an ARM chip, and the two communicate through the SPI bus. The system does not use position and speed sensors, but uses the feedback value of the Hall sensor inside the brushless DC motor to calculate the position and speed. After receiving the feedback signal from the three-phase Hall sensor, the CPLD performs position calculation and speed calculation to obtain the position value and speed value of the rotor of the brushless DC motor, which is called the calculated value of position and speed here, and transmits it to the ARM.

上位机与ARM相连,控制ARM的工作,用于调控ARM进行速度控制、位置控制或力矩控制。上位机下达控制指令时,将控制给定值传递到ARM内,ARM根据给定值和计算值,根据PID算法,得出速度、位置和力矩的控制值,并将控制值反馈到CPLD。CPLD通过驱动电路与驱动电路相连,驱动电路采用UCC27211MOSFET驱动器,图3为桥路1驱动电路结构示意图,其他两路桥路的驱动电路与该路结构相同,只是PWM调制信号接收端口不同。驱动电路接收的控制值即PWM调制信号,分别来自CPLD的PWMA0-PWMA5端,在CPLD产生的PWM信号控制下,控制场效应管的开关,使电机的三相绕组能按要求的顺序导通,实现定子绕组的正确换向;其次是在CPLD发送的不同PWM占空比控制信号作用下,实现电机的调压调速。The upper computer is connected with the ARM to control the work of the ARM, and is used to regulate the ARM for speed control, position control or torque control. When the upper computer issues a control command, it transmits the control given value to the ARM, and the ARM obtains the control values of speed, position and torque according to the given value and calculated value, according to the PID algorithm, and feeds back the control value to the CPLD. The CPLD is connected to the driving circuit through the driving circuit. The driving circuit adopts UCC27211MOSFET driver. Figure 3 is a schematic diagram of the structure of the driving circuit of bridge 1. The driving circuits of the other two bridges have the same structure as this road, but the PWM modulation signal receiving port is different. The control value received by the drive circuit is the PWM modulation signal, which comes from the PWMA0-PWMA5 terminals of the CPLD respectively. Under the control of the PWM signal generated by the CPLD, the switch of the FET is controlled so that the three-phase windings of the motor can be conducted in the required order. Realize the correct commutation of the stator winding; secondly, realize the voltage regulation and speed regulation of the motor under the action of different PWM duty ratio control signals sent by the CPLD.

电流检测与比较电路和电压检测与比较电路将采集的电流值和电压值反馈到ARM的ADC采集端,同时将电流比较值和电压比较值传递到逻辑处理器,进行过压与过流的判断,当电路发生故障时,逻辑处理器会率先响应,对电机进行快速刹车控制,微处理器紧随其后,下发刹车指令再次控制电机刹车,确保电机的快速故障保护。The current detection and comparison circuit and the voltage detection and comparison circuit feed back the collected current value and voltage value to the ADC acquisition terminal of ARM, and at the same time pass the current comparison value and voltage comparison value to the logic processor to judge overvoltage and overcurrent , when the circuit fails, the logic processor will take the lead in responding and quickly brake the motor, followed by the microprocessor, which will issue a brake command to control the motor brake again to ensure the fast fault protection of the motor.

Claims (2)

1.双芯片无刷直流电机驱动控制系统,包括上位机、驱动电路、电压电流检测与比较电路和控制系统,无刷直流电机内置三相霍尔传感器,所述驱动电路为三相全桥电路,其特征在于:所述控制系统包括相互连接的逻辑处理器、微处理器,以及与逻辑处理器相连的驱动电路;1. Dual-chip brushless DC motor drive control system, including host computer, drive circuit, voltage and current detection and comparison circuit and control system. The brushless DC motor has a built-in three-phase Hall sensor, and the drive circuit is a three-phase full-bridge circuit , characterized in that: the control system includes a logic processor connected to each other, a microprocessor, and a drive circuit connected to the logic processor; 逻辑处理器包括计算单元、保护单元、驱动控制单元和通信单元,其中,计算单元接收三相霍尔传感器的反馈信号,并进行位置运算和速度运算;通信单元用于与微处理器的通信;The logic processor includes a calculation unit, a protection unit, a drive control unit and a communication unit, wherein the calculation unit receives the feedback signal of the three-phase Hall sensor, and performs position calculation and speed calculation; the communication unit is used for communication with the microprocessor; 上位机与微处理器相连,上位机传递控制给定值信号到微处理器,并控制微处理器的控制模式;The upper computer is connected with the microprocessor, and the upper computer transmits the control given value signal to the microprocessor, and controls the control mode of the microprocessor; 微处理器接收来自逻辑处理器的位置和速度计算值,结合上位机的给定值,采用PID算法计算出速度、位置和力矩的控制值,并将控制值反馈到逻辑处理器的驱动控制单元,逻辑处理器通过驱动电路与驱动电路相连,驱动电路接收驱动控制单元给定的控制值,通过驱动电路控制无刷直流电机工作;The microprocessor receives the position and speed calculation values from the logic processor, combined with the given value of the host computer, uses the PID algorithm to calculate the control values of speed, position and torque, and feeds back the control values to the drive control unit of the logic processor , the logic processor is connected to the drive circuit through the drive circuit, the drive circuit receives the control value given by the drive control unit, and controls the operation of the brushless DC motor through the drive circuit; 所述电压电流检测与比较电路包括电流检测与比较电路和电压检测与比较电路,二者分别将采集的电流值和电压值反馈到微处理器的ADC采集端,同时将电流比较值和电压比较值传递到逻辑处理器,保护单元进行过压与过流的判断。The voltage and current detection and comparison circuit includes a current detection and comparison circuit and a voltage detection and comparison circuit, both of which respectively feed back the collected current value and voltage value to the ADC acquisition terminal of the microprocessor, and simultaneously compare the current comparison value with the voltage comparison The value is passed to the logic processor, and the protection unit performs overvoltage and overcurrent judgments. 2.如权利要求1所述的双芯片无刷直流电机驱动控制系统,其特征在于:所述逻辑处理器采用CPLD芯片,微处理器采用ARM芯片,二者通过SPI总线通信。2. The dual-chip brushless DC motor drive control system according to claim 1, characterized in that: the logic processor adopts a CPLD chip, the microprocessor adopts an ARM chip, and the two communicate through the SPI bus.
CN201520352367.XU 2015-05-27 2015-05-27 Dual chip brshless DC motor driving control system Expired - Fee Related CN204696967U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520352367.XU CN204696967U (en) 2015-05-27 2015-05-27 Dual chip brshless DC motor driving control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520352367.XU CN204696967U (en) 2015-05-27 2015-05-27 Dual chip brshless DC motor driving control system

Publications (1)

Publication Number Publication Date
CN204696967U true CN204696967U (en) 2015-10-07

Family

ID=54237216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520352367.XU Expired - Fee Related CN204696967U (en) 2015-05-27 2015-05-27 Dual chip brshless DC motor driving control system

Country Status (1)

Country Link
CN (1) CN204696967U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450100A (en) * 2015-07-03 2016-03-30 浙江海洋学院 Brushless motor driving circuit and control method thereof
CN109062056A (en) * 2018-09-17 2018-12-21 长安大学 A kind of electric bicycle intelligence control system and its control method
CN113258831A (en) * 2021-06-18 2021-08-13 山东用新电子科技有限公司 Speed regulation control device and speed regulation system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450100A (en) * 2015-07-03 2016-03-30 浙江海洋学院 Brushless motor driving circuit and control method thereof
CN105450100B (en) * 2015-07-03 2020-08-18 浙江海洋学院 Brushless motor drive circuit and control method thereof
CN109062056A (en) * 2018-09-17 2018-12-21 长安大学 A kind of electric bicycle intelligence control system and its control method
CN113258831A (en) * 2021-06-18 2021-08-13 山东用新电子科技有限公司 Speed regulation control device and speed regulation system

Similar Documents

Publication Publication Date Title
CN103701367B (en) A kind of control of soft device of brushless DC motor without sensor
CN104852637B (en) Two-chip brushless DC motor drive control system and control method thereof
CN202906819U (en) Downhole brushless direct current motor controller
CN203883718U (en) MCU-based switch reluctance motor controller
CN205304653U (en) Two plane type leads to fan control system based on brushless DC motor
CN203086393U (en) Parallel driving circuit of double brushless direct current motors
CN203675020U (en) Hand dryer brushless motor controller without position sensor
CN102710189A (en) Control method for brushless continuous current dynamo and device thereof
CN204696967U (en) Dual chip brshless DC motor driving control system
CN204156769U (en) A kind of brushless direct current motor controller
CN106849806B (en) Electric vehicle controller and control method
CN209329988U (en) Servo motor braking circuit, servo motor braking system and robot
CN202628572U (en) Elevator room fan system
CN104362909A (en) Brushless direct-current motor controller
CN111669084A (en) A kind of underwater driving method and motor driver of wave glider
CN106856385A (en) A kind of brushless electric machine electronic phase change method based on CPLD
CN101764554A (en) Sine wave control system for dc brushless motor of electric vehicle
CN105227031B (en) A kind of servomotor controller
CN204258678U (en) A kind of high pressure low-speed highly precise Permanent Magnet Synchronous Motor Controller
CN205490279U (en) Weak magnetism control system of servo PMSM of wide range speed control
CN207638592U (en) A Speed Control System of Switched Reluctance Motor
CN212034013U (en) High-rotating-speed brushless motor control circuit based on MP6532 chip
CN107994837A (en) A kind of Switched Reluctance Motor and speed regulating method
CN104038117B (en) Three-phase electromagnetic slowdown type permanent magnet low-speed synchronous machine fast braking circuit
CN203057050U (en) Electromagnetic torque ripple inhibition device for brushless direct current motor

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CB03 Change of inventor or designer information

Inventor after: Li Ming

Inventor after: Wang Jianguo

Inventor after: Zhang Jiaming

Inventor after: Chen Zhen

Inventor after: Zhang Shuai

Inventor before: Li Ming

Inventor before: Wang Jianguo

Inventor before: Zhang Jiaming

COR Change of bibliographic data
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151007

Termination date: 20170527

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