Design of an Airborne Radio Station Detection Controller Based on ARM

Publisher:QianfengLatest update time:2018-02-01 Source: eefocusKeywords:ARM Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

     Airborne radio stations are responsible for air-to-air and ground-to-air communications. To ensure the performance of radio stations, they need to be inspected regularly. Detectors based on single-chip microcomputers have problems such as slow measurement speed and poor scalability; while detectors based on PXI instruments or VXI instruments have disadvantages such as 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 communications, 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 radio station, the communication between the main controller and the radio station must also perform necessary level conversion. In addition, the response signal output by the radio station cannot be directly sent to the main controller. It is also necessary to design necessary circuits such as voltage divider networks and impedance matching, which requires conditioning circuits. The main controller circuit and the conditioning circuit cooperate to complete the detection of the radio station. The overall structure of the hardware designed according to the radio test requirements is shown in Figure 1.

     

The overall hardware structure designed according to the radio test requirements

     

    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 12C 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 facilitates the USB interface design. To ensure system reliability, a 33 Ω resistor is connected in series to 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 DM916lA.

    1.5 Frequency Forming Circuit

    In order to fully detect the performance of the radio station, the radio station detector should detect the performance of the radio station 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 through 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, the analog bus is used to realize it, 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 uses 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.

     

show

     

    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, and 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 flow of radio station detection controller 

    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.


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

Previous article:Design of two-phase stepper motor subdivision driver based on ARM microcontroller
Next article:Analysis of Parallelization Methods for Embedded ARM Multi-core Processors

Recommended ReadingLatest update time:2024-11-16 12:02

ARM and Flash ROM
Embedded devices with ARM as the core are products with computers as the core, and they must have memory to store software. The software in the single-chip microcomputer is stored in the ROM memory inside the single-chip microcomputer chip. The ROM capacity of the single-chip microcomputer is very small, generally less
[Microcontroller]
Azure ARM (8) ARM Template - VS Code
  In the previous section, the author introduced how to use Visual Studio to edit ARM Template.   But at some point, Visual Studio is too large to install. This chapter will introduce you to using VS Code to edit Azure Template.      1. Download VS Code: https://code.visualstudio.com/   2. Run VS Code and install the
[Microcontroller]
Azure ARM (8) ARM Template - VS Code
ARM MPCore -- (2)
1. NOP     NOP does not necessarily take up CPU execution time. The CPU may have removed it from the pipeline before executing the instruction.     NOP can be used to fill the subsequent instructions so that they are on the 64-bit boundary. 2. SEV     Send event information to all CPU Cores.   3. WFE (Wait F
[Microcontroller]
Understand ARM interrupt principles and interrupt nesting
ARM has seven modes, we are here to discuss SVC, IRQ and FIQ modes usr (user mode), fiq (fast interrupt mode), irq (interrupt mode), svc (supervisory mode), abt (data access termination mode), sys (system mode), und (undefined instruction abort mode) ① We assume that the ARM core has two interrupt pins (actually inv
[Microcontroller]
Understand ARM interrupt principles and interrupt nesting
Embedded root file system (based on arm)
1 Root File System Embedded systems can contain multiple file systems, the root file system is the first one. When Linux starts, the first thing that must be mounted is the root file system. If the system cannot mount the root file system from the specified device, the system will exit with an error. This article main
[Microcontroller]
Embedded root file system (based on arm)
Nvidia's acquisition of ARM encounters obstacles again: US regulators raise potential objections
Nvidia's acquisition of ARM is facing many obstacles. A few days ago, the British government was expected to order an in-depth investigation into Nvidia's plan to acquire British chip design company ARM for £30 billion due to antitrust and national security concerns. According to the latest report from the Financial T
[Mobile phone portable]
ARM cortex-M3 exception handling analysis
1. The possible states of the processor before entering the exception are: 1.handler 2. Thread, MSP 3. Thread, PSP   2. When an exception occurs: 1. There is a stack push process. When an exception occurs, PSP is used and pushed into PSP. When an exception occurs, MSP is used and pushed into MSP. 2. The value of LR wi
[Microcontroller]
Using qemu to simulate ARM under ubuntu (VI) ------ Driver
The driver is divided into two types: running on Ubuntu and running on the ARM development board. We will test them separately. 1. Source code empty#include  linux init.h="" #include  linux module.h="" static int hello_init(void) { prin
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
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号