In the process of engineering control, the real-time and precise adjustment of the magnetorheological damper controller has a great impact on the performance of the damper.
From the design principle, MRFD controllers are mainly divided into voltage source controllers and current source controllers. According
to the analysis of the equivalent circuit diagram of the excitation coil, the current source responds faster than the voltage source.
Therefore, the design of MPFD controllers almost always adopts the current source control method.
Reference address:Design of Magnetorheological Controller Based on C8051F
The performance indicators of the MRFD controller are: the linear relationship between the control current and the damping force of the magnetorheological damper, which requires the control current to be continuously adjustable with high linearity and small relative error; the real-time performance of vibration control requires the controller to respond quickly; when used for on-site measurement and control, it requires a friendly human-machine interface and seamless connection with external measurement and control systems; when used for independent control, it can provide built-in control algorithms for various disciplines, etc.
This paper presents a design method of a magnetorheological damper controller based on C8051F310 MCU.
Control system design
The overall hardware block diagram of the magnetorheological control system is shown in Figure 1.
The magnetorheological control system is mainly composed of 8051F310 processor, execution module, manual input and output module, external control system interface module, etc.
The functions of each part are as follows:
8051F310 processor: uses A/D to sample various parameters, accepts control commands from inside and outside, and outputs them to the execution system through PWM conversion
Execution module: Use the PWM signal from the 8051F310 processor to control the drive damper
The manual input and output module is connected to the 8051F310 processor through the keyboard and display
External control system interface module: connected in series with external PC control system through a dedicated interface
Hardware Circuit
The programmable counter (PCA0) of C8051F310 consists of a dedicated 16-bit counter/timer and 5 16-bit capture/compare modules.
Set the working mode of the capture/compare module to 8-bit PWM, and output the PWM pulse to the MOS tube power drive unit to control the current value of the magnetorheological damper. The current
passing through the damper is sampled and amplified, and then sent to the A/D unit of C8051F310. After A/D conversion, the current is filtered by software and sent to the display unit AXG12864 LED.
The error value obtained by comparing the current value with the set current value is adjusted by a special algorithm.
The pulse width of PWM forms a closed-loop control system for the current of the magnetorheological damper.
The keyboard control circuit uses a 4×4 numeric keyboard and uses an external interrupt to read the keyboard value, thereby decoding the pressed key value, so that the magnetorheological damper control current value can be manually set and the pressed key value is transmitted to the display unit AXG12864LED
The AXG12864 display module has 128 columns and 64 rows. It uses a row driver with 64 rows of outputs and two column driver controllers. Each column driver has 64 outputs. The row
driver has nothing to do with the MCU. As long as the power is provided, it can generate drive signals and synchronization signals. The external signals of the module are only related to the column driver. The column driver has a
built-in 64×64-bit display memory. The RAM is divided into 8 pages, with 8 rows per page. The display status of each pixel on the display corresponds to the data of each bit of the display memory. The data of the display memory is directly used as the driving signal for the graphic display. It is displayed as "1" and not displayed as "0".
Figure 2 is the logic circuit interface block diagram of the AXG12864 display module itself
Use the UART0 unit of C8051F310 to communicate with the host computer (PC)
It is an asynchronous full-duplex serial port. Here we set it to 8-bit UART mode and convert it to RS232 level through the MAX232 conversion chip, so that it can complete the communication function with the COM port of the PC
Use VB programming on the PC to operate the COM port by calling the MSCOMM control, so as to realize the control of the magnetorheological damper and read the current state value of the magnetorheological damper in real time
The circuit diagram of each button of the magnetorheological damper control system is shown in Figure 3.
Software Design
The software system design adopts the interrupt vector method. The interrupts used include A/D sampling interrupt, PWM interrupt, asynchronous serial port interrupt, keyboard interrupt, display interrupt and fault interrupt.
The priority order from high to low is fault interrupt, PWM interrupt, A/D sampling interrupt, keyboard interrupt, asynchronous serial port interrupt, display interrupt.
See Figure 4 for some program flowcharts.
Conclusion
Figure 5 is a prototype of the magnetorheological damper controller, which has been tested on a test bench with the controlled magnetorheological damper being the RD-1005 series, and has played a good control role.
Previous article:Design of program-controlled power supply based on C8051F040
Next article:Design of SD card main controller based on C8051F020
- Popular Resources
- Popular amplifiers
Latest Microcontroller Articles
He Limin Column
Microcontroller and Embedded Systems Bible
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
MoreSelected Circuit Diagrams
MorePopular Articles
- 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
MoreDaily News
- 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!
- 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
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
Guess you like
- Chip manual calculation problem
- Business cards that can run Linux
- UC3843 BUCk Buck Circuit Implementation
- [RVB2601 Creative Application Development] Online MP3 Music Playback
- What will happen if you input a non-existent time into the real-time clock DS1302?
- Borrowing a power bank for 99 yuan a day is really a rip-off? Have you ever used a shared power bank?
- KiCad 5.1.7 was officially released on September 30th
- C2000 Real-time Control MCU Application in Electric Vehicles
- Qorvo's Zhou Ting: Towards an ideal ultra-broadband provider
- I still don't understand the problem of using PNP npn as a switch. 8050 is used as a switch and it keeps turning on and off.