Experimental Methods for Effects of Electromagnetic Pulse Irradiation
The experimental method of the radiation effect of electromagnetic pulses on electronic systems is, simply put, to place the electronic system under test in the electromagnetic pulse radiation field, accept the irradiation of the electromagnetic pulse, and study the interference and damage of the system under test under the irradiation of the electromagnetic pulse.
The experimental configuration is shown in Figure 1. It mainly consists of a Gigahertz transverse electromagnetic wave transmission chamber (GTEM Cell), a Marx generator, a control console, and a test system. The Marx generator is used to generate high voltage and cooperate with the GTEM chamber to generate a uniform electromagnetic field in the GTEM chamber. The control console mainly consists of an oscilloscope, an optical receiver, and a Marx control panel. The optical receiver and the electric field sensor form an analog optical fiber field measurement system, which is mainly used to convert the radiated electromagnetic field into a voltage signal; the oscilloscope is used to display the electric field waveform; the Marx control panel is used to control the charge and discharge operation of the Marx generator and the adjustment of the steepening gap.
Fault Reproduction Principle
The concept of fault reproduction
Computer systems under the influence of electromagnetic pulses may experience hardware damage, increased data collection errors, memory data changes, program jumps, restarts, and crashes. These fault phenomena are the sum of a large number of different computers that are disturbed in different environments and at different times. If you take out any computer for an experiment, only a few fault phenomena will occur. Since these computers do not have automatic detection functions, some faults cannot be observed even if they occur.
If the fault phenomenon is not fully observed, it is impossible to find out the law and cause of the fault, let alone conduct research on protection technology. Therefore, it is necessary to design a computer system specifically for electromagnetic pulse effect experiments, which has the following functions:
Automatically detect and display faults in the system itself;
Failures are most likely to occur during interference;
· Maximize the types of failures;
·With fault reproduction function.
Fault recurrence means taking certain technical measures to make the fault recur. You can make any kind of fault appear if you want, and make it appear as many times as you want. This is completely different from the design idea of taking effective measures to resist interference in general circuits.
Conditions for reproducing the fault
Fault reproduction is not fault simulation using computer software, but the real reproduction of the fault. To reproduce the fault, in addition to the amplitude of the radiation field being strong enough, the system under test must also have the necessary hardware circuit and software environment. The software environment refers to the program that controls the working of the functional circuit when the interference occurs, that is, time alignment. For example, if you want to examine the impact of electromagnetic pulses on the conversion accuracy of the A/D conversion circuit, you must first have an ADC, and secondly, ensure that the ADC is working when irradiated.
Technical means to achieve fault reproduction
The requirements for radiation field strength and hardware circuits are relatively easy to achieve, but the difficulty lies in ensuring time alignment. Of course, the reproduction of some faults has very loose requirements for time alignment, such as freezing and restarting, which may occur when the computer is running almost any program.
The solution to this difficulty is to adopt program modularization and loop waiting technology. Program modularization makes each fault (effect) correspond to a program module. If you want to see a certain fault, run the corresponding program module; if you want the fault to appear multiple times, repeat the effect experiment. Loop waiting technology is to let the computer always run a certain section or a certain sentence of the program, which can greatly increase the probability of successful interference and make the fault most likely to occur.
System composition and working principle
Hardware Composition
This system uses 51 series single-chip microcomputer. In order to study the effect of program memory, 8031 without internal EPROM is selected as the central processor, and the program is solidified in the external program memory. Here, the convenient E2PROM (2864 or 28C64) is used. Since 8031 contains CTC and SIO, no external CTC and SIO are required. In order to enable the system to reproduce as many fault phenomena as possible, the peripheral chips used include: external data memory (6264) and ADC (AD0809). In addition, a 4-bit digital tube is added for information display, and the display data is saved by 4 latches (74LS373). The above hardware circuit not only completes certain functions but also is the test object. The system composition is shown in Figure 2.
Program execution flow
The system software consists of 8 program modules: a program module that instructs the microcontroller to restart; a program module that checks the operation of the CTC; a program module that checks the serial communication function; a program module that determines whether the content of the external RAM has changed and whether there are reading and writing errors; a program module that determines whether the content of the internal RAM has changed; a program module that checks whether the conversion error of the A/D conversion circuit has increased; a program module that determines whether the external interrupt foot is mistakenly triggered; and a program module that displays whether the content of the E2PROM has been rewritten.
The working process of the system is the running process of the above 8 program modules, which are executed sequentially under the control of the execution switch K. Figure 3 shows a flow chart. Almost every effect experiment corresponds to a program module. Since the hardware damage failure has little to do with the software operation and the failure phenomenon is obvious, there is no need to set up a special program module. The re-shoulder effect experiment can work on any program module except the program module that instructs the microcontroller to restart. The freeze effect experiment can work on any program module. Since the failure phenomenon is obvious, there is no need to detect the program. The specific implementation of fault reproduction and detection Different fault phenomena have different reproduction and detection methods. Due to limited space, only three implementation methods of fault reproduction and detection are given.
External RAM Effect
This part of the experiment includes three parts: first, check whether the external RAM content is overwritten when no read or write operations are performed; second, check whether there are errors in the read operation; and third, check whether there are errors in the write operation.
In the first part of the experiment, the RAM content is rewritten because the RAM chip is disturbed. You only need to compile a detection program. First, write the same data ("AA") to the 0000H~1FFFH unit of the RAM, and then wait for the execution switch K to be pressed. During the waiting period, perform the impact test. After the impact is completed, read the RAM content and determine whether it has changed.
The second and third parts of the experiment check whether the RAM read and write operations are wrong due to interference. Let the interference pulse with a duration of only microseconds interfere with the read and write instructions with an execution time of only a few microseconds. The probability of this event is almost zero. For the case where the interference source can work in a repetitive working mode, it can be made to work in a repetitive working mode, which is undoubtedly a good idea. However, since the repetition frequency of the repetitive working mode cannot be made very high, the maximum can only reach about 1kHz, so its effect is not obvious. The most effective method is to let the program repeatedly execute a read or write instruction. Although there are several instructions between the two reads or writes to determine whether the read or written data is correct, the time interval between the two reads or writes is only in the order of tens of microseconds, which is equivalent to letting the read and write instructions wait for electromagnetic pulses to interfere, thereby greatly increasing the probability of interference.
At the beginning of the second and third parts of the program compilation, in order to make it more representative, all the units of the RAM are read or written, that is, the 0000H~1FFFH units of the RAM are cleared to 0 first, and then the program is cyclically read from these units, or the data "AA" is cyclically written to these units, and the read or written data is checked in real time to see if it is correct. In the experiment, it was found that the number of errors in the second and third parts of the experiment was more than the number of errors in the first part of the experiment. Despite the adoption of the above-mentioned loop waiting technology, the possibility of a certain instruction being interfered is still very small. After many experiments, the answer was not found. Later, when the reading experiment displayed an error message, the contents of each RAM unit were checked. It was found that each time the contents of a part of the RAM units were wrong, and the read operation error could not cause the RAM content to change. Therefore, it was not or not all read and write operations that were wrong, but because the RAM content was rewritten, it was mistakenly judged as a read or write error. The solution to this problem is to make the read and write operations only for a fixed RAM unit. Since the probability of a unit being rewritten is 1/2 of the probability of all units being rewritten, this greatly reduces the probability of false alarms. [page]
Serial port SIO effect
The serial port SIO effect experiment is mainly to see whether the serial port communication is wrong. To observe this fault phenomenon, the single-chip microcomputer must run the serial port communication program. Since the 51-type single-chip microcomputer has only one serial port, at least two serial ports are required to make it communicate, which requires at least two sets of single-chip microcomputer systems, which will complicate the equipment and experiments. After carefully studying the working principle of the serial port, I finally found a solution to simulate serial port communication with only one single-chip microcomputer: short-circuit the TXD and RXD of the CPU, and directly send the data sent by the TXD end to the RXD for reception, so that the single-chip microcomputer works in a self-transmitting and self-receiving state, and whether the communication is normal is determined by checking whether the received and sent data are equal. Of course, the circular waiting technology still needs to be used to make the communication cycle. When it runs normally, a pulse signal is generated at the P1.1 port to light up the red LED. If the communication is abnormal, the digital tube will display an error message and turn off the LED.
Timer CTC effect
In order to reproduce the CTC working error, you can add an instruction to allow CTC interruption in the main program, so that when the program is running, CTC is always working and waiting for electromagnetic pulses to interfere. The timer uses the CPU internal timer 0, and the working mode is mode 1. Write the interrupt subroutine of CTC0, cooperate with the software counter R0, generate a square wave signal at the P1.1 port, and drive the LED to flash. The main program waits for K to press the instruction, and performs interference experiments during the waiting period. If the LED flashes abnormally, it means that the CTC is not working properly. The following is the interrupt subroutine of timer 0:
Experimental Results
Before designing the single-chip system, a single-chip minimum application system was used for effect experiments, and only the freeze phenomenon was observed. After using the system for effect experiments, various fault phenomena were observed, such as hardware damage, increased A/D conversion error, memory data change, program jump, freeze, CTC work error, serial communication error, and rewriting of program memory E2PROM content. Through a large number of repeated experiments, the thresholds of various faults were measured and the causes of the faults were analyzed.
Figure 4 is the normal signal on the serial port RXD pin and the interference waveform when the communication is wrong, recorded by the oscilloscope. Figure 4 shows that there is a strong interference signal on RXD, and the low level is widened by 3 to 4 times. According to the experimental data and the working principle of the serial port, there are two reasons for the communication error: 1. Interference causes the SIO circuit to work incorrectly, such as the change of the content of the serial port control register SCON, the change of the content of the send or receive SBUF, etc., which may cause the received data to be inconsistent with the sent data, thus causing communication errors; 2. The interference signal on the RXD line causes confusion in the serial data, thus causing errors in the received data.
Previous article:The difference between bus-type MCU and non-bus MCU
Next article:Addressing methods used to access various parts of the microcontroller
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
- Today's live broadcast: Battery management chip solution design and precautions
- [Repost] 7 PCB layout principles, good PCB design depends on it
- How to choose electromagnetic relay
- It’s terrible. Two manufacturers in the PCB industry are engaged in a price war. Did you get any benefits yesterday?
- Partial Discharge in Switching Power Supplies
- Crazy Shell AI open source drone interruption (key detection)
- How does GaN meet the challenges brought by 5G?
- PCB
- (Help) [New version of Zhongke Bluexun AB32VG1 RISC-V development board] - 6: "COM is closed"
- embOS-Ultra: High-resolution system