Design of an Airborne Radio Station Detection Controller Based on ARM

Publisher:BlissfulHeartLatest update time:2010-09-14 Source: 电子设计工程 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Airborne radios are responsible for air-to-air and ground-to-air communications. To ensure the performance of the radio, they need to be inspected regularly. The detectors based on single-chip microcomputers have the problems of slow measurement speed and poor scalability; while the detectors based on PXI instruments or VXI instruments have the disadvantages of high power consumption, large size, and high price. In order to solve the above problems, the use of ARM processors to implement radio detection controllers has become an important development direction. ARM is a high-performance, low-power RISC structure processor. Due to its excellent performance, it is widely used in industrial control , wireless communication, imaging and security, network applications, etc. The use of ARM-based radio detection controllers has the advantages of strong portability, good scalability, and strong anti-interference ability.

1 Hardware Design

Good hardware design is the key to solving the problems of radio detectors based on single-chip microcomputers, PXI, VXI and other systems. In order to realize the modular design of the hardware structure, the hardware is mainly divided into two parts: the main controller circuit and the conditioning circuit. In order to design a detector with high performance, low power consumption, good scalability and low cost, the selection of the main controller is crucial. In order to meet the scalability design of the detector, the main controller must have network functions, USB storage, serial communication, SPI communication, I2C communication, analog-to-digital conversion and other functional modules. In order to meet the requirements of human-computer interaction design, it must also have necessary frequency preset circuits, display circuits, etc. Only ARM processors can complete controllers with so many functions and controllers that meet the performance of high performance and low power consumption. According to the electrical characteristics of a certain radio station, the communication between the main controller and the radio station must also undergo necessary level conversion. In addition, the response signal output by the radio station cannot be sent directly to the main controller. Necessary circuit designs such as voltage divider networks and impedance matching must also be performed, which requires conditioning circuits. The main controller circuit and the conditioning circuit cooperate to complete the detection of the radio station. According to the test requirements of the radio station

The overall structure of the designed hardware is shown in Figure 1.

Overall hardware structure

1.1 Main Controller

The main control is the core of the radio detection controller, responsible for important tasks such as information collection, storage, network functions and communication with the radio. The quality of the main control directly determines the system performance. After comparison, Philips' LPC2388 was selected as the main controller of the radio. This device is a processor based on the ARM7TDMI-S core and has rich peripherals such as Ethernet controller, USB controller, I2C, serial interface, etc., which can meet the needs of the detector.

1.2 Storage Circuit

In order to meet the requirements of scalability and storable test results, the detection controller must save the results of each measurement of a certain type of radio. This requires that the main controller and the radio integrated tester can communicate. A certain radio integrated tester has a serial communication method for external communication. When measuring, the communication control interface can be connected to the serial port line of the radio integration, so that the test results can be read into the control system. If you want to store this information, the memory must be erasable. In order to save the valuable general I/O port of the controller, CAT24WC64 with I2C communication storage function is selected as E2PROM. This device is responsible for saving the radio performance test results. It can save up to 50 radio test results. If it exceeds 50 times, the system automatically erases the original stored test results and then stores them again. When you need to view the system radio test results, you can use 3 methods to achieve it: 1) Insert the USB storage device into the USB storage interface circuit, the system will automatically identify the device, and then select the storage test result button to save the test results to the USB storage device: 2) Connect to the computer through the network interface, and then read the test results by remote control: 3) Use serial communication to read the information into the computer.

1.3 USB storage interface circuit

The USB interface circuit is the window for completing the communication with the USB storage device. The LPC2388 has a controller compatible with the USB2.0 protocol, which provides convenience for the USB interface design. To meet the system reliability, a 33 Ω resistor is connected in series on the D+ and D- lines respectively, and a 1.5 kΩ pull-up resistor is added to the D+. To indicate that the USB storage device is connected, an indicator light is added to the Ul_UPLED pin. When the USB storage device is connected, the indicator light is on.

1.4 Network interface circuit

To meet the needs of remote control, the detection controller should have a network control interface. LPC2388 has a 10/100 Mb/s Ethernet communication rate. To ensure reliable transmission, it is implemented by integrating a 16 KB-byte Ethernet controller dedicated SDRAM, using a high-speed AHB bus to communicate between the Ethernet controller and the ARM7 core, and using a dedicated DMA for data transmission. The Ethernet controller used inside the processor uses the RMII interface, and the Ethernet communication function can be realized by communicating with the peripheral circuit PHY chip DM9161A.

1.5 Frequency forming circuit

If the radio detector wants to fully detect the radio performance, it should detect the radio performance at multiple frequency points. This requires the detector to be able to output a control code with variable frequency. The formation of the frequency control code requires a frequency forming circuit. The frequency forming circuit is to send the pulse to the main controller through pulse shaping and counting, and finally buffering. The pulse forming circuit is realized by a self-reset switch, the shaping circuit uses MAX708 counting and the buffer circuit is realized by 54HCl90 and 54LVC245 respectively. In order to save the precious I/O port resources of the processor, it is realized by using an analog bus, and the formation of the frequency code is controlled by latching and decoding circuits.

1.6 Display and keyboard circuit

The display circuit is a window for human-computer interaction, which directly displays the current status of the detector and the radio station detection results. When the detected radio station cannot meet the performance requirements, the error result is directly displayed; the keyboard circuit completes the input of some functions of the detector. In order to ensure the reliability of the display results of the detector, the display circuit of the detector uses a LED digital tube display with strong anti-interference performance. The driver of the LED digital tube is ZLG7290. ZLG7290 uses three-line serial code to interact with the ARM processor for information. Its dynamic display function reduces system power consumption. In addition to driving the display digital tube, ZLG7290 also realizes some inputs of radio station detection through its keyboard interface. Its circuit diagram is shown in Figure 2.

Circuit Diagram

1.7 Other circuits

For a system to work reliably, it must have a series of circuits such as crystal oscillators, watchdogs, and power supplies to provide the clock and monitoring circuits necessary for the system to work. The crystal oscillator circuit provides the necessary clock signal. When an abnormality occurs during program operation, the watchdog circuit provides a reset signal to the microcontroller, increasing the robustness of the system: the power supply circuit is the power supply for the entire system, and a DC/DC switching power supply with high conversion efficiency is used to power the system design according to function, that is, the control circuit power supply and the conditioning circuit are independently powered: increasing the system's anti-interference ability.

1.8 Conditioning Circuit

The working state and working sequence of the detection controller are completed by the main controller. However, this is only one aspect of the normal operation of the detection controller. Another important aspect is the conditioning circuit, which is mainly composed of relay array, voltage divider network, analog switch, level conversion and other parts. The signal output by the controller cannot be directly added to the radio. There are two main reasons: 1) The serial port data output by the detection controller is a single-ended output, while the signal required by the radio is a differential signal; 2) The signal level and format of the controller output are completely correct. In order to ensure the anti-interference of the system, a buffer is generally added to the output end of the controller and the input end of the radio to increase the isolation between the system modules. All control information of the detection controller panel is sent to the radio through the serial port after being processed by the processor, while the radio requires a differential signal. DSl6F95 is used to realize the conversion of the signal level mode. In addition to testing the performance of the transceiver, the detection controller can also test the performance of the control box. In addition, the control can also be used to control the transceiver, thereby simulating the control box on the machine to control the transceiver. The control box control and the detection controller itself cannot be sent to the radio at the same time, which requires a relay array to complete the conversion between the detector and the control box. In addition, in order to monitor the working voltage of the radio station, the detector must display the working voltage in time, and the working radio 27V and internal transceiver control voltage must also be displayed. These voltages need to be divided by the voltage divider network and then sent to the CNC analog switch. The controller monitors each voltage in turn.

2 Software Architecture Design

The radio detection controller is a typical embedded control system, and the quality of its performance design is directly related to whether the system can work reliably. Embedded software design is quite different from ordinary PC software. Due to the complex control relationship of the detector, coupled with factors such as network interface, USB storage driver, interrupt time control, timer design, serial communication, etc., the requirements for software architecture are high, and the coordination of software and hardware detection must be considered. In addition, the software must also meet the design of testability, portability, robustness, etc., and multiple factors must be considered comprehensively. The software flow of the radio detection controller is shown in Figure 3. After the system is powered on, it is initialized and configured, and then the measurement control mode is selected. If it is remote control, the network connection is started, and the computer is used to control the detection controller to work, and the transceiver performance test is entered. The test results are stored in the remote computer through the network; if it is a manual test, it is determined whether the measurement mode is measurement and control, external control or measurement and control. If it is internal control, the transceiver is controlled by the detection controller, and the main performance of the transceiver is measured with the cooperation of the radio comprehensive tester. The results can be saved by reading the test results of the radio comprehensive tester. When saving the results, if the USB storage device exists, the results are stored in it, otherwise, they are stored in the internal erasable E2PROM; if it is measurement and control, the detection controller measures the control box status and saves the results; if it is external control, the transceiver performance is measured under the control of the control box, and the detection controller also saves the test results by reading the radio comprehensive tester results.

Software architecture design

3 Conclusion

The radio station detection controller based on ARM has flexible hardware design and good software architecture design, which realizes the seamless combination of software and hardware platform, has high performance, low power consumption, good portability and scalability, and realizes the detection and control of radio stations. Through the network interface, remote control can be realized, and the measurement results can be read in real time: by adding a USB storage interface, the measurement data can be directly saved in the case of manual testing, which greatly improves the processing speed of test results and has broad economic and military benefits.

Reference address:Design of an Airborne Radio Station Detection Controller Based on ARM

Previous article:Design of GPS positioning system based on MAX3100 and OLED
Next article:Design of small program-controlled switch based on CM8870

Recommended ReadingLatest update time:2024-11-16 16:54

Easy entry and practice of ARM7 microcontroller
ARM7 is a member of the ARM (Advanced RISC Machines) family of 32-bit general-purpose microprocessors. It has relatively low power consumption and good cost-performance ratio. It is based on the (reduced instruction set) RISC structure. The instruction set and related decoding mechanism are relatively simple compared
[Microcontroller]
Easy entry and practice of ARM7 microcontroller
Simple data acquisition solution based on ARM
0 Introduction   In computer measurement, control and signal processing, data acquisition plays a vital role. Data acquisition is an important means of obtaining data. It is the process of automatically collecting information from analog or digital units under test such as sensors or other devices under test. The use
[Analog Electronics]
Simple data acquisition solution based on ARM
The difference between B instruction and BL instruction in ARM
In the ARM processor, the execution of the program is mainly controlled by 3 situations: 1. The program is executed in a pipeline manner. The value of PC is the address of the next instruction, that is, the PC is offset by one word for each instruction executed. 2. The program execution is controlled by jump instructi
[Microcontroller]
Quickly learn Arm (7) -- 14 user interface functions provided by the uC/OS-II tiny kernel
This series of articles basically records my learning process. I am usually very busy, and I try to learn the most in the shortest time. Sometimes because I am too busy, many learning processes are interrupted, and then it takes a while to continue again. Learning methods are very important for us to master knowledge.
[Microcontroller]
Aliases of R0~R15 registers in ARM registers
Aliases of registers in ARM By default, these registers are just called r0, r1, ..., r14, etc., but APCS gives them different aliases. Using the assembler preprocessor features, you can define names such as R0, but it is best to learn to use APCS names when you modify code written by others. In general, during program
[Microcontroller]
Fast Math Arm (17) --uC/OS-II Task Management Block TCB
I originally expected to learn Arm7 quickly, but after reading it, I found that it was not of the same order of magnitude as C51. If you really want to learn it well, you still need to study a lot of things. I went around in circles and then turned to learning uC/OS-II. You can't learn something step by step according
[Microcontroller]
The difference between arm cross compiler gnueabi, none-eabi, arm-eabi, gnueabihf
Naming convention The naming convention for the cross-compilation toolchain is: arch arch – architecture, such as ARM, MIPS vendor – toolchain provider os – target operating system eabi – Embedded Application Binary Interface Notice When there is no vendor, use none instead; When there is no OS support, use
[Microcontroller]
Application of ARM-based frequency measurement with equal precision in unit speed measurement and control
The frequency of the power system reflects the balance between the active power generated by the generator set and the active power required by the load. High-precision and high-reliability frequency measurement plays a vital role in the stable operation of the entire power system. During the start-up and shutdown p
[Test Measurement]
Application of ARM-based frequency measurement with equal precision in unit speed measurement and control
Latest Security Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号