Abstract: This paper mainly introduces a small multi-channel active vibration control system with
TMS320F2812
as the control core, discusses the pre-conditioning circuit and the multi-channel D/A conversion circuit implemented by MAX547, and gives the software design process. This system has been successfully applied in actual active vibration control.
Keywords: digital signal processor; active vibration control; MAX547
0 Introduction
In modern ships and spacecraft, low-frequency vibration is a major problem that bothers people. How to quickly eliminate vibration and reduce harm has become a problem that people are more concerned about. The main methods of vibration suppression are passive vibration control and active vibration control. Although passive vibration control does not require external energy and is easy to implement, it has limited control capabilities for low-frequency vibrations and poor adaptability to sudden environments; while active vibration control has greater flexibility and is particularly effective in suppressing low-frequency vibrations, becoming a method that people focus on studying.
This paper designs a multi-channel embedded active vibration control system with TMS320f2812 (hereinafter referred to as F2812) as the core, including sensors, conditioning circuits, D/A conversion circuits, power amplifiers and actuators for low-frequency vibration control of a certain type of structure. The structure is shown in Figure 1. First, the sensor picks up the vibration signal, which is converted and conditioned into a voltage signal of 0 to 3V by a charge amplifier, and then sent to the A/D conversion module inside the DSP for analog-to-digital conversion after filtering and limiting protection. According to the collected vibration signals, DSP runs the control algorithm to output the control quantity, which is converted into force or torque directly acting on the controlled object through the D/A conversion circuit and power amplifier to suppress or eliminate the vibration of the object. In order to reduce the high-frequency noise generated by the D/A conversion step signal, smoothing filtering is added. DSP is connected to the host through the JTAG port and the emulator to compile and load the control algorithm. It communicates with the host serially through the built-in SCI module to transmit vibration signals and control quantities to the host, so as to analyze and evaluate the control process and improve the algorithm.
1 Hardware Design
F2812 is a high-performance chip suitable for automatic control, with a 32-bit fixed-point processor, 150MHz clock frequency, 18K×16-bit SARAM and 128K×16-bit Flash memory, hardware multiplication operation, and fast processing speed; in addition, it has some built-in and interfaces suitable for control systems, such as 16-channel 12-bit A/D converter, external memory parallel interface, SCI serial communication interface and JTAG emulator interface, etc. Therefore, in this system, a charge amplifier with low requirements for cable distributed capacitance is selected as the preamplifier; the actuator can be a piezoelectric device or an electromagnetic actuator. According to the needs of the object, the corresponding power amplifier needs to be configured. F2812 itself does not have a D/A conversion module. This paper uses MAX547 to design and implement the D/A conversion circuit of F2812, which can output 8 analog signals at the same time.
1.1 Charge amplifier
The commonly used charge amplifier is an inverting integrator circuit with DC feedback. To improve the low-frequency characteristics of the circuit, it is necessary to increase the resistance of the DC feedback resistor. For this reason, we use a T-type network to achieve a larger resistance. As shown in Figure 2, Ral7, Ral8 and Ral9 form a T-type network, and the equivalent resistance is:
By adjusting the size of Ral7, Ral8 and Ral9, a larger resistance value can be obtained. However, during the debugging process, we found that as the measurement time increases, the output will still drift to saturation. For this reason, we use a first-order in-phase integral link to extract the DC component of the output and feed it back to one end of Ral9 to form a self-following network, as shown in the left half of Figure 2. When using the integral capacitor, you should choose a capacitor with relatively small leakage current, small temperature drift, and relatively stable performance. The amplifier should select an operational amplifier with high gain, high input impedance, low bias current, and low temperature drift to ensure the performance of the charge amplifier.
1.2 Filter protection circuit
In the actual application of active vibration control, the signal frequency of interest is generally between 0.5 and 200 Hz. In order to filter out low-frequency drift and unnecessary high-frequency signals, this paper designs a bandpass filter consisting of a fifth-order Bessel low-pass and a first-order high-pass. The fifth-order Bessel low-pass is composed of two second-order low-pass and a first-order low-pass. Their parameters are: passband gain 1, cutoff frequency 475 Hz, Q value 0.577; passband gain 1, cutoff frequency 565 Hz, Q value 0.737; passband gain 1, cutoff frequency 530 Hz, and the first and second second-order low-pass are realized by a unit gain KRC circuit.
Before entering the ADC of the DSP, the signal should be adjusted to between 0 and 3 V using an additive proportional circuit. If it is lower than 0 V or exceeds 3 V, there is a risk of damaging the DSP. For this reason, we added a limiting protection circuit, as shown in Figure 3.
1.3 D/A conversion circuit
This paper uses MAX547 as the core device to design and implement the D/A conversion circuit of F2812. MAX547 contains 8 13-bit voltage output D/A converters. Each DAC has an input latch and DAC latch before it, which can be selected separately to perform 8-way D/A conversion. Every two DACs share a reference voltage, and a total of 4 independent external reference voltages are required. The MAX547 interface signal has 3-bit address lines, which address and select 8 channels respectively, 13-bit data lines, and control signals such as chip select/CS, write/WR, asynchronous input/LD and clear/CLR. The control signals are all level triggered. These interface signals are all matched with TTL/CMOS levels, so F2812 can be directly connected to MAX547 without level conversion. MAX547 is powered by ±5V dual power supply, and the output voltage swing is -4.5V~4.5V.
When the write signal /WR and chip select signal /CS of MAX547 are both low, and the address signals A0, A1, and A2 are valid, the input latch of the corresponding channel is turned on and the conversion value is read from the data line. When one of /WR and /CS becomes high, the data is locked into the corresponding input latch. /LD is responsible for switching the DAC latch. When /LD is low, the DAC latch is turned on and the data enters the DAC latch from the input latch. When /LD becomes high, the data is kept in the DAC latch and the DAC performs digital-to-analog conversion. When /LD, /WR, and /CS are all low, the data can be directly transferred to the DAC latch, but /LD should be 50ns later than /WR to reverse the high level. /CLR can set the DAC conversion content to 1000H, so that the analog output is AGND voltage.
F2812 has an external interface (XINTF) that can map five independent external storage spaces, each of which has a chip select signal. The 8 channel addresses of MAX54.7 are allocated to the external storage area 0, and the connection with F2812 through the external interface bus is shown in Figure 4. To start the digital-to-analog conversion of MAX547 internal DACA, DACB, DACC, DACD, DACE, DACF, DACG, and DACH, write the data to be converted to the addresses D9H, B2H, B3H, F4H, F5H, 7EH, and 7FH respectively. For the four independent reference voltages required by MAX547, a precision reference voltage chip REF02 is used in the system to provide the standard voltage, which is buffered by four voltage followers. REF02 outputs a 5V standard voltage, and after conversion, it can output an adjustable standard voltage. The follower uses MAX494. When designing the PCB, in order to reduce the interference of the circuit leads, it is best to connect the input end of the MAX494 op amp directly to the reference voltage input end of the MAX547, as shown in Figure 4. In addition, in order to reduce the high-frequency noise caused by the step wave of the D/A conversion, a low-pass filter is also designed.
1.4 RS232 interface
F2812 has two asynchronous serial interfaces (SCI), each with a transceiver buffer register, a transceiver shift register and a 16-level deep FIFO for receiving and sending. The baud rate of receiving and sending can be programmed, up to 64K. In the system, F2812 needs to communicate with the host through SCI, and the F2812 peripheral interface is 3.3VCMOS color level, and the computer serial port is RS-232 level, so level conversion is required between the two. MAX3232 is a commonly used RS-232 level conversion chip, and the interface circuit is shown in Figure 5.
2 Software Design
The DSP control algorithm consists of two parts: the main program and the interrupt service subroutine. The program flow chart is shown in the figure. In the main program, the system control register, watchdog, system clock, GPIO port, interrupt vector table and some peripherals are initialized, the sampling sequence of ADC, the communication baud rate of SCI and the access timing of the external memory interface are set, and then the timing cycle, counting mode and timing interrupt of the timer are set, and the state of waiting for timing interrupt is entered. The interrupt service subroutine mainly completes the following functions: first, the interrupt is turned off and the calculation variable is initialized; then the input signal of the corresponding channel of ADC is converted by A/D, the sampling value is taken out for preprocessing, the control algorithm is run to calculate the control quantity, and the control quantity is output by writing the channel address of D/A for D/A conversion, and finally the control analog signal is output to drive the actuator to reduce vibration; communicate with the host through SCI, upload the vibration signal and control quantity; finally, the ADC, SCI and timer interrupt are set, and the global interrupt is opened to prepare for the next interrupt service subroutine. After the interrupt service subroutine is completed, it returns to the main program and enters the state of waiting for interrupt, waiting for the next timing interrupt, and so on.
3 Conclusion
The embedded active vibration control system
designed in this paper with
TMS320F2812
as the control core can collect multiple vibration signals at the same time by using the built-in A/D module of F2812, and can output 8 control signals by using the D/A conversion circuit implemented by MAX547, which can realize multi-input and multi-output active vibration control and is close to engineering practice. This system has been successfully used to carry out multi-input and multi-output active vibration control on a ship raft.
Previous article:Implementation of IRIG-B Encoder Based on FPGA
Next article:Refrigerator Refrigeration Compressor Controller Based on dsPIC30F4012
- Popular Resources
- Popular amplifiers
- Molex leverages SAP solutions to drive smart supply chain collaboration
- Pickering Launches New Future-Proof PXIe Single-Slot Controller for High-Performance Test and Measurement Applications
- CGD and Qorvo to jointly revolutionize motor control solutions
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Nidec Intelligent Motion is the first to launch an electric clutch ECU for two-wheeled vehicles
- Bosch and Tsinghua University renew cooperation agreement on artificial intelligence research to jointly promote the development of artificial intelligence in the industrial field
- GigaDevice unveils new MCU products, deeply unlocking industrial application scenarios with diversified products and solutions
- Advantech: Investing in Edge AI Innovation to Drive an Intelligent Future
- CGD and QORVO will revolutionize motor control solutions
- 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
- The role of adding a reverse diode to the be pole of the transistor
- Sub-library: Motion Algorithm Library
- TI radar technology is changing three trends in the in-cockpit sensing market
- Serial port expansion
- HR made inappropriate remarks in the circle of friends, made a public apology, and was fired!
- 【AT-START-F425 Review】No.02 AT32F425 Development Environment Construction
- About the use of AWR1642BOOST development system
- Excellent "Internet of Things" (IoT) video recommendation, it explains it very thoroughly!
- Design of TPS53355 ripple injection circuit
- Latches and Flip-Flops