The interference sources in the DSP-based digital image processing system mainly include noise caused by the basic properties of light and electricity, noise generated by the mechanical movement of electrical appliances, atmospheric noise caused by lightning discharge, atmospheric noise caused by the movement of sunspots, thermal noise caused by the heating of electronic components such as resistors , grid interference caused by 50Hz power frequency power grid, ignition system interference caused by automobile ignition device, radio frequency interference caused by wireless communication system, and interference caused by some malicious human factors. Among all the interference sources, high-frequency pulse noise is the most harmful to the digital signal processing system.
The interference sources mentioned above are all electromagnetic interference (EMI). The principle of electromagnetics tells us that as long as there is current , a magnetic field will be generated, and as long as there is voltage , an electric field will be generated. The amount of magnetic field and electric field generated over time is the root cause of electromagnetic interference. The concept of electromagnetic interference is shown in Figure 1.
The interference channels of the DSP-based digital image processing system mainly include power lines, input / output lines, ground lines, electromagnetic induction, electrostatic induction, circuit common impedance, power supply anomalies, etc. The proportion of various interference channels in this system is shown in Table 1.
2. Anti-interference measures
Based on the analysis of the system itself, interference sources and interference paths, the anti-interference measures of this system are mainly: ① Improve the electromagnetic compatibility of the system itself; ② Isolate the interference source; ③ Cut off the interference path and other three solutions . Based on this, this paper proposes some hardware anti-interference technologies and software anti-interference technologies suitable for this system.
2.1 Electromagnetic compatibility
Electromagnetic compatibility refers to the fact that when the power, electronic, communication equipment or its system is in working state at the place where it is set, it will not affect its surroundings, nor will it be affected by the electromagnetic environment around it, and will not cause malfunctions and performance degradation, and obtain its working capacity as designed. In other words, the equipment or system does not generate electromagnetic interference to the outside world, and its normal working ability is not affected by the electromagnetic interference in the environment.
2.2 Hardware anti-interference technology
Hardware anti-interference has the characteristics of high efficiency, which can keep most interference out. Hardware anti-interference technology is the first choice in design. It can effectively suppress interference
sources and block interference channels. As long as the relevant parameters are reasonably arranged and selected, appropriate hardware anti-interference measures can suppress most interference in the video communication system. Common hardware anti-interference technical measures include: filtering (passive filtering and active filtering) technology, decoupling technology, isolation technology and grounding technology.
Since high-frequency pulse noise is the most harmful to this system, in order to improve the anti-interference performance of the system, the following measures can be taken in the system:
(1) Increase the anti-interference ability of the bus. Use a bus structure in the form of a three-state gate and connect a pull-up resistor to the bus to make the bus at a stable high level in an instant to avoid the bus being suspended. The bus must be buffered.
(2) Improve the anti-interference ability of the system control signal. There are usually control lines such as RESET and STB in the system. When the transmission distance between the CPU and its controller is far and the control line impedance is high, it is easy to be interfered by pulse noise. A 20pF capacitor can be connected in parallel to the input end of the controlled device , and a 0.01μF capacitor can be connected in parallel to the control signal line such as RESET. Adding a buffer to the control line to lower the impedance of the control line also helps to suppress interference.
(3) Suppress the cross-mode interference of digital signals. This type of cross-mode interference is caused by adjacent signal lines during signal transmission, and mostly occurs on parallel conductors on printed circuit boards. The strength of cross-mode interference is related to the coupling impedance between two adjacent signal lines and the impedance of the signal itself. Therefore, in this system, the following should be done: the length of the signal line should be shortened as much as possible; when transmitting multiple level signals, the level signals with similar leading and trailing edge times should be grouped together for transmission; a larger ground area should be arranged on the back of the double-sided printed circuit board to absorb and shield the high-frequency pulse noise generated by the components. (4) Use electromagnetic interference filters (EMI Filters) to eliminate power supply interference. With the emergence and widespread popularity of electronic equipment, computers and household appliances, power grid interference is becoming increasingly serious and has become a public nuisance. In particular, transient electromagnetic interference has a high voltage amplitude (several hundred volts to thousands of volts), a fast rise rate, a short duration, and strong randomness, which can easily cause serious interference to digital circuits and even damage equipment. Electromagnetic interference filters, also known as power supply noise filters (PNFs), can effectively suppress power grid noise, improve the anti-interference ability of equipment and the reliability of the system. The application of electromagnetic interference filters in the system is shown in Figure 2.
(5) Use the hardware watchdog function to improve the system's anti-interference ability. The watchdog circuit composed of the dedicated chip MAX692 is shown in Figure 3. The system uses few peripheral components. MAX692 is a microsystem monitoring circuit chip with functions such as backup battery switching, power-off detection, and watchdog monitoring. Among them, WDI is the watchdog detection input terminal, which is connected to a dedicated I/O port or a bus port of the DSP. It is the reset signal output terminal, which is connected to the reset terminal of the DSP. The WDI timing cycle of MAX692 is 1.6s, and the reset pulse width is 200ms. If WDI remains high or low for more than the "watchdog" timing cycle (1.6s), a negative pulse with a width of 200ms (minimum 140ms) will occur at the terminal to reset the DSP.
[page]
2.3 Software Anti-interference Technology
Software can also be used to improve the anti-interference ability of DSP digital image processing system. There are mainly: ① Use digital filters to filter out interference; ② Use software watchdog, multiple sampling technology, timed refresh output port and other technologies to suppress interference. The following mainly introduces the application of digital filters in this system.
The processing process of digital filter (DF) on image signal is shown in Figure 4. The image signal first passes through the sampling/holding circuit (S/H), sent to the analog/digital converter (ADC) to convert into digital quantity, and then the interference signal is filtered out by the digital filter, and finally the voice signal output is obtained through the digital/analog converter (DAC).
According to the different mathematical models used, digital filters can be divided into two categories: one is a recursive filter, which is characterized by the fact that the output of the filter is not only related to the input signal, but also to the past output value; the other is a non-recursive filter (such as first-order and second-order low-pass filters), which is characterized by the fact that the output of the filter is only related to the input signal, but not to the past output value. A recursive filter is used in this system.
The software design methods of digital filters include: program judgment filtering method (limited filtering method), median filtering method, arithmetic average filtering method, recursive average filtering method, pulse interference prevention average filtering method, first-order lag filtering method and other 6 methods. According to the needs, this system selects the median filtering method.
Assume that the input signal of the digital filter is a one-dimensional sequence l, 2, ..., n, and the window length (number of points) is m (m is an odd number). Median filtering is performed on it, which means extracting m numbers iv, ..., i-1, i, i+1, ..., i+v from the input sequence (where f2 is the window center value, v= (m-1)/2), and then sorting these m points according to their numerical values, and taking the number with the center point as the filter output. It can be expressed as: yi=Med{iv, ..., i, ..., i+v} i∈N, v= (m-1)/2
3. Conclusion
Experiments have proved that the above anti-interference method can fully suppress interference from outside the system and the system itself in the digital image processing system based on DSP, and can effectively improve the anti-interference ability and reliability of the system.
Previous article:FPGA Integrated Advanced Design Methodology
Next article:FFT algorithm analysis and design based on embedded system
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- 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!
- 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
- There are 10 digital tubes on a digital tube display board, which uses 1 74HC00D, 2 74HC04D and 10 74HC164D
- GigaDevice GD32VF103C-START Development Board Introduction
- 135 classic design examples of Verilog
- [Perf-V Evaluation] On-chip Temperature Collection
- 100 Practical Tips for FPGA Design Experts (English Original).zip
- Huawei_Analog Circuit Design Volume 1
- Recruiting ADC/DAC application engineers, working location: Hangzhou
- EEWORLD University Hall----New Raspberry Pi 4: Can it replace your PC?
- SHT31 Review + Preliminary Understanding of Evaluation Board
- [Red Envelope Ask] Linux kernel outputs garbled code after entering the serial console