The design uses TI's TMS320F28335 as the processor, and uses driver chips and MOSFETs to drive two brushless DC motors. On the basis of completing the hardware design, according to different control methods designed by the software, the motors can be driven to operate synchronously or according to a certain rule.
1 Dual-motor synchronous control system
The control object is two three-phase brushless DC motors with a rated power of 3kW and a rated speed of 1,500 r/min. They are mainly used in situations where synchronous movement is required to control the synchronous movement of two motors.
The control system of the brushless DC motor is mainly composed of the control part, the drive and inverter circuit part, the rotor position detection and current sampling circuit. Among them, the control part with TMS320F28335 as the core is responsible for control operations, analog sampling and other tasks; the drive circuit amplifies the weak current signal output by the control circuit, and outputs a strong current signal with a certain driving ability to control the switch tube of the inverter circuit, so as to realize the inverter conversion of DC power to the motor and achieve the purpose of controlling the motor; the position detection part detects the motor rotor signal and sends it to the control part for processing; the current sampling part completes the detection of the DC power bus current. The entire system has few peripheral devices, which reduces the design difficulty, and uses high-performance sensor detection to improve the accuracy of the system.
2 Control system hardware design
2.1 System power supply design
Different peripherals of TMS320F28335 require different voltages, the core voltage is 1.8 V, and the I/O voltage is 3.3 V; the power-on sequence also requires that the I/O voltage precedes the core voltage, so it is necessary to design a power supply that meets the control system requirements. TI's TPS767D318 is selected as the power chip to convert the input 5 V voltage into 3.3 V and 1.8 V as the power input of the DSP; while the voltage of the brushless DC motor is 24 V, the corresponding driver chip voltage is +15 V or -15 V, so the DC/DC module is used to convert the 5 V voltage into +15 V or -15 V as the power supply of the driver chip. In this way, the entire system only needs to supply 5 V and 24 V voltage to meet the needs. The peripheral circuit of TPS767D318 is shown in Figure 1.
The DC/DC module is shown in Figure 2.
2.2 Design of driver chip and peripheral circuit
The brushless DC motor uses electronic commutation instead of mechanical commutation of DC motor, and energizes different phases of the motor in a certain pattern to drive the motor to rotate. From the perspective of performance and cost comparison, the more commonly used method is the three-phase star-shaped fully controlled bridge circuit. By obtaining the phase position signals of the Hall sensor of the brushless DC motor itself, the on-off state of each phase of the brushless DC motor at each moment is determined. The DSP chip generates a PWM waveform signal with a certain pattern according to the settings. The driver chip amplifies the PWM signal output by the DSP and outputs a signal with a certain driving capability to control the operation of the switch tube in the inverter circuit. The inverter circuit is composed of a power semiconductor device MOSFET, which outputs the control logic signal required by the motor to drive the motor to rotate. The driver chip IR2136 and the peripheral circuit of the MOSFET tube are shown in Figure 3, where PWM1~6 are waveform signals from the DSP, and A, B, and C are connected to different phases of the motor respectively.
2.3 Design of detection circuit of control system
The PWM signal output by driver chip IR2136 controls the switch circuit to switch on and off in a certain pattern, so that different phases of brushless DC motor are energized at different times. In order to understand the parameters of the motor in real time during operation and ensure that the motor works under normal conditions, the running state of the motor must be detected. The signals that need to be detected are the position signals of each phase, current signals, and voltage signals. The following circuits are designed for various signals that need to be detected. 2.3.1 Position signal detection
There are 3 Hall sensors on the shaft of the brushless DC motor. Each sensor will generate an output signal with a pulse width of 180° to indicate the position of the motor at each moment. The output signals of the 3 sensors have a phase difference of 120°. The position signal of the brushless DC motor is shown in Figure 4. In this way, 6 rising edges or falling edges will be generated in each mechanical rotation, which just corresponds to 6 commutation moments. The CAP function (set to double-edge trigger) of the EV module of
TMS320F28335
is used
to obtain each edge that needs to be commutated, thereby controlling the commutation of the motor. The corresponding function can be realized by connecting the output position signal to the CAP pin port.
2.3.2 Current signal detection
During the operation of the motor, only two phases are energized at a time (one phase is energized in the forward direction and the other phase is energized in the reverse direction). Therefore, only one current needs to be controlled at a time. By placing the resistor between the power supply and the ground, current feedback can be realized and real-time supervision can be performed. The output of the current feedback is filtered and amplified and sent to the ADC port of the DSP for processing. The current is sampled in each PWM cycle and the speed (PWM duty cycle) is controlled. Here, the linear isolation amplifier HCNR200 is selected to process the output waveform. The current signal detection circuit is shown in Figure 5.
2.3.3 Voltage signal detection
During the operation of the motor, the DC bus voltage of the motor needs to be detected to ensure that it is within the rated voltage range of the motor. The overvoltage or undervoltage state of the motor can be understood through the A/D sampling of the DSP. The voltage signal detection circuit is shown in Figure 6.
2.4 Design of other peripheral circuits
In order to enable the entire control system to operate, other peripheral circuits need to be designed, such as the DSP clock circuit, reset circuit, JTAG circuit, RS232 circuit and DSP function port expansion design. Indicator lights need to be added in some important places to facilitate the understanding of the control system operation process. Due to the high-frequency characteristics of the DSP system, electromagnetic compatibility and other issues need to be considered during the design to ensure the normal operation of the entire system.
3 System software design
The final realization of the control task in the control system is completed by software. Therefore, on the basis of completing the hardware design, the software must be designed. The quality of the application program directly determines the quality and efficiency of the entire control system. Motor control is generally a fast process that requires a series of software processing processes to be completed within a certain period of time. For example, the feedback signals of the motor controlled parameters (speed, current, voltage, etc.) are sampled, calculated, judged and processed accordingly. In order to meet the real-time requirements of the system, the control system needs to monitor the input and output with strong real-time performance in an interrupt mode. The software design makes full use of
the interrupt processing capability of
TMS320F28335
to complete tasks such as current sampling, position capture and PWM waveform generation. ADC completes current and voltage sampling, and CAP completes position signal capture and commutation logic determination. The software tasks mainly include the main program and each interrupt subroutine, and its flow is shown in Figure 7.
According to the control platform hardware and software design, after debugging, the motor runs relatively smoothly. The phase voltage of a certain phase during operation is shown in Figure 8.
4 Conclusion
This paper proposes a general dual-motor control platform hardware design scheme, using TI's TMS320F28335 as the main processing chip, and the highly integrated peripheral circuit design makes the circuit simple; the rich peripherals of TMS320F28335 make the system control performance better; because TMS320F28335 has two EV modules with the same function, one controller can control two motors at the same time, saving costs. Based on this control platform, the control system is combined with the actual control strategy to achieve different control functions and methods, and then applied to different occasions.
Previous article:Application of power management chip WM8310 in handheld devices
Next article:Design of high-speed ADC driven by switching power supply
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- Please tell me how this formula is calculated.
- Why are some MCU register addresses 00H and some 0000H? Is there a difference? How many addresses are there from 80H to FFH?
- How can the signal source of Proteus change the phase of the emitted square wave signal?
- New wireless broadband technologies in the 5G era
- Design and implementation of temperature control system based on MSP430
- [Erha Image Recognition Artificial Intelligence Vision Sensor] Evaluation 2: Built-in 7 functions, face recognition and other tests
- 【Xianji HPM6750】Development process using Embedded Studio
- 【TouchGFX Design】Decomposition of the generated project directory structure and recommendation of two C++ introductory books
- consult
- Nuvoton's new development board Chili allows you to complete Linux application development in 40 minutes