Brushless motor driving design based on software switching motor mode
By using software to switch motor mode and specific chip combinations in brushless DC motor drivers, the problems of large size, poor control effect and difficult control of brushless DC motor drivers are solved, and efficient and accurate motor control and low noise are achieved. Effect.
Patent Information
- Application Number
- CN202411397464.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-10
AI Technical Summary
The existing brushless DC motor drivers have problems such as large size, poor control effect, poor stability and inability to effectively control at low speeds.
A brushless motor driving system based on software switching motor mode was designed, using GD32F103C8T6 chip as the main control module, FD6288 chip as the motor driving module, GW5026 and MT3608 chips are used for DCDC circuits, and communication with hardware through the PuTTY serial port to realize current, Switching and controlling speed and position modes.
It realizes precise control at low speeds, enhances the motor's response speed and adjustment capabilities, solves the smoothness of forward and reverse switching at high speeds, and realizes brake control through energy recovery, reducing noise and power consumption.
Smart Images

Figure FT_1 
Figure FT_2
Abstract
Description
Technical Field
[0001] The invention patent belongs to the field of automatic control, and in particular relates to the design of brushless motor drive based on software switching motor mode. Background Art
[0002] At present, brushless DC motors are increasingly widely used, such as drones, gimbals, robotic arms, highly integrated servo motors, bionic robots, etc. Brushless DC motors have disadvantages such as large friction, high heat generation, and low efficiency. Brushless DC motors can effectively solve the above disadvantages by replacing mechanical steering with electronic devices. In view of the problems of large size, unsatisfactory control effect, and poor stability of current brushless DC motor drivers, a brushless motor driver based on software switching motor mode is designed, which makes the brushless DC motor control system have the characteristics of fast response speed, strong adjustment ability, and high control accuracy. Summary of the invention
[0003] The object of the present invention is to provide a brushless motor drive based on software switching motor mode to solve the problems raised in the above background technology.
[0004] To achieve the above object, the present invention provides the following technical solution: a brushless motor drive design based on software switching motor mode, including a brushless motor drive board, a motor part, a software design part and a host computer part. The brushless motor drive board includes a main control module, a power supply module, a half-bridge module, a current sampling module, a motor drive module, a temperature acquisition module, a voltage acquisition module, a DCDC circuit module, and a display module. The DCDC circuit module includes two DCDC buck circuits and one DCDC boost circuit.
[0005] As a further solution of the present invention, the main control module adopts GD32F103C8T6 as a controller. Compared with the existing STM32F1 series chips, the GDF1 series has a higher main frequency and the code runs faster. And its core voltage is 1.2V, and the STM32 core voltage is 1.8V. The core voltage of GD is lower than that of STM32, so the GD chip has lower power consumption when running. The power supply module adopts 12V-40V power supply, and the power supply voltage can work normally only when it is higher than 12V. The motor drive module adopts FD6288 chip, which integrates three independent half-bridge gate drive integrated circuit chips, can work at a voltage of up to +250V, and can also prevent input noise interference. The DCDC circuit module adopts GW5026 chip to reduce 40V to 5V circuit, adopts SPX3819M5 chip to reduce 5V to 3.3V, and adopts MT3608 chip to boost 5V to 12V.
[0006] As a further solution of the present invention, the host computer part communicates with the hardware circuit through the PuTTY serial port, and normal communication is performed by selecting the correct serial port number and setting the baud rate to 115200. After entering the command terminal window, clicking the Enter key on the keyboard will display a normal status information, indicating that the communication is normal and the next step can be performed, otherwise it is necessary to check whether the serial port wiring and the port number are normal. Then you can click the S key on the keyboard to enter the configuration mode. After entering the configuration mode, the terminal will display the configuration parameter name and current value. You can enter the configuration you want to modify and keep the relevant configuration. After the configuration is completed, click the Esc key on the keyboard to return to the main menu. Under the main menu, click the m key on the keyboard to enter the MOTOR working state, which can realize the switching of the three modes of the motor, current mode, speed mode, and position mode. In the working state, click the Q or W key on the keyboard to send motion control instructions to the driver, and the real-time motion state of the motor will also be displayed on the OLED screen. If you want to exit the MOTOR state, please click the Esc key on the keyboard to return to the main menu. In any working mode, click the Esc key on the keyboard to return to the main menu, and then click the U key on the keyboard to complete the save. Through software design, instructions can be sent to control the switching and operation of the three modes, thereby efficiently and accurately controlling the rotation of the brushless motor.
[0007] Compared with the prior art, the beneficial effects of the present invention are: the brushless motor drive based on software-based switching of the motor mode can achieve control at low speed, solving the problem that the brushless electric regulator can only control the motor to work at high speed and cannot be controlled at low speed. And through the use of algorithms, three closed-loop controls of current, speed and position can be achieved, and the forward and reverse switching at high speed is very smooth. Braking control can also be performed in the form of energy recovery, and the final motor drive effect has less noise. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 Provide a circuit structure diagram of a brushless motor drive design board based on software switching motor mode;
[0009] Figure 2 Provides a flow chart of the brushless motor drive design board based on software switching motor mode. DETAILED DESCRIPTION
[0010] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0011] See also Figure 1 and Figure 2In the implementation process of the present invention, the brushless motor drive design based on software switching motor mode includes a brushless motor drive board, a motor part, a software design part and a host computer part. The brushless motor drive board includes a main control module, a power supply module, a half-bridge module, a current sampling module, a motor drive module, a temperature acquisition module, a voltage acquisition module, a DCDC circuit module, and a display module. The DCDC circuit module includes two DCDC step-down circuits and a DCDC boost circuit. The main control module uses GD32F103C8T6 as a controller. Compared with the existing STM32F1 series chips, the GDF1 series has a higher main frequency and the code runs faster. And its core voltage is 1.2V, and the STM32 core voltage is 1.8V. The core voltage of GD is lower than that of STM32, so the GD chip has lower power consumption when running. The power supply module uses 12V-40V power supply, and the power supply voltage can only work normally if it is higher than 12V. The motor drive module uses the FD6288 chip, which integrates three independent half-bridge gate drive integrated circuit chips, can operate at a voltage of up to +250V, and can also prevent input noise interference. The DCDC circuit module uses the GW5026 chip to reduce 40V to 5V circuit, the SPX3819M5 chip to reduce 5V to 3.3V, and the MT3608 chip to boost 5V to 12V.
[0012] The host computer part communicates with the hardware structure through the serial port, sends instructions to control the switching and operation of the three modes of current, speed, and position, and efficiently and accurately controls the rotation of the brushless motor. The specific operation process of the present invention is: control the rotation of the motor through serial port communication. If the communication is normal, click the S key on the keyboard to enter the configuration mode. After the configuration is completed, return to the main menu and press the U key to save the parameters. In the main menu, click the m key on the keyboard to enter the MOTOR working state. At this time, click the Q or W key on the keyboard to send motion control instructions to the driver. If you want to exit the motor control mode, you need to click the Esc key on the keyboard to return to the main menu, and press the U key to complete the save.
Claims
1. Design of brushless motor drive based on software switching motor mode, characterized by: It includes a hardware circuit part and a software design part. The hardware circuit part includes a brushless motor drive board and a motor part. The brushless motor drive board includes a main control module, a power supply module, a half-bridge module, a current sampling module, a motor drive module, a temperature acquisition module, a voltage acquisition module, a DCDC circuit module, and a display module. The DCDC circuit module includes two DCDC step-down circuits and one DCDC step-up circuit. The motor part fixes the radial magnet on the end of the motor rotating shaft through an adapter, and the brushless motor drive board is fixed to the top of the motor housing through four copper pillars. The software part includes software writing and design and a host computer part, which sends relevant instructions through a serial port connection to control the motor to switch the motor mode. The brushless motor drive design based on software switching motor mode according to claim 1 is characterized in that: The main control module uses GD32F103C8T6 as the controller. Compared with the existing STM32F1 series chips, the GDF1 series has a higher main frequency and the code runs faster. The power supply module uses 12V-40V power supply, and the power supply voltage can only work normally if it is higher than 12V. The motor drive module uses FD6288 chip. The DCDC circuit module includes a 40V to 5V drop circuit, a 5V to 3.3V drop circuit and a 5V to 12V boost circuit. The brushless motor drive design based on software switching motor mode according to claim 1 is characterized in that: The host computer part is connected to the hardware structure through the serial interface connection software, and sends instructions to control the start-up and operation of the brushless motor. The brushless motor drive design based on software switching motor mode according to claim 1 is characterized in that: The software part designs different operating modes and sensitive switching of the motor, and detects the voltage and temperature of the driver board in real time to better monitor the operating status of the driver board.