Design of Remote Network Monitoring System of Launching Station Based on ARM Processor

The development tool of EM9260 series products based on ARM9 is the famous embedded development tool EVC, a professional embedded development software similar to VC development environment. Its programming style is almost the same as VC programming. When developing online debugging, you only need to use a The network cable can be connected to the target device. This is different from the debugging of the single-chip device. It is very convenient to remove the processor chip and use the emulator to debug. The whole system has the advantages of convenient program transplantation, simple management and maintenance of program type library and so on.

Author: Qin Youjian

1.Overview

Guangxi Radio and Television Information Network Co., Ltd. has developed a set of remote network monitoring and management system for wireless transmitters in accordance with the design idea of ​​”some people stay behind, no one on duty”, and conduct remote centralized monitoring and management of 16 remote radio and television wireless transmitter stations in Guangxi. The original monitoring system adopts the monitoring mode of the lower computer and the upper computer. The lower computer adopts the single-chip microcomputer system with an 8-bit single-chip microcomputer as the processing core. This system has the shortcomings of low integration, many peripheral expansion circuits, low system frequency, and slow real-time response. At the same time, the interaction between the single-chip microcomputer and the computer requires a lot of dedicated software and hardware. Transmitters of different manufacturers and even transmitters of different categories and power levels of the same manufacturer correspond to different programs, which increases the number of system spare parts, and can only go to the On the launch pad site, this is very cumbersome for various transmitter acquisition controllers with program diversity, which brings great inconvenience to maintenance and management. With the development of large-scale integrated circuits and embedded technology, the field of automatic control is developing in the direction of high integration, high speed, fast response, and easy maintenance and management. Because of this, ARM9 has entered the field of industrial automation control with its highly integrated software and hardware system, good portability and cost-effectiveness, and we have applied the embedded ARM9 system to the wireless transmitter station, especially the intelligent monitoring system of the high mountain station. It not only further improves the accuracy and stability of the transmitter control system of the launch pad, but also solves the problem of difficult program update. When updating the program, replacing the backup device, or adding a new device for programming, just plug the device into the network cable and connect it to the internal LAN of the monitoring system, and you can program and update the software anywhere on the LAN. After the system is improved, the maintenance and upgrade of the lower computer, the upper computer and the acquisition controller have become extremely convenient and simple, which further reduces the management and operation and maintenance costs of the launch pad.

2.System components

ARM (Advanced RISC Machines), the original meaning of the company name, now generally refers to a class of microprocessors, a technology, and refers to microprocessors using ARM technology intellectual property (IP) cores. It is an advanced reduced instruction system microprocessor with high performance, low cost and low energy consumption. It supports multi-tasking operating system, that is to say, a complete operating system can be transplanted on an ARM chip, which can complete the basic functions similar to that of a personal computer operating system. Its core CPU adopts the ARM chip of AT91SAM9260. The genuine WinCE5.0 real-time multitasking operating system and related underlying peripheral drivers are pre-installed by the manufacturer, so that when developing applications based on this module, there is no need to deeply understand the internal structure, registers, buses, etc. of the processor chip, but only with the help of The API library functions provided by the manufacturer can complete the relevant functions, which greatly saves the development cycle of the software. We have designed the analog A/D conversion circuit, switch input and output and four strings 13 through the peripheral circuit, and the four serial ports can choose RS232, RS485 and RS422 for on-site communication through jumpers.

Windows CE has the characteristics of modularization, structure, application program connection based on Win32 and independent of processor. Although its operation interface is derived from Windows 95/98, Windows CE is a new platform for information equipment based on WlN32 API redevelopment. , is an operating system platform for various communication, entertainment and mobile computing devices. WinCE5.0 was launched in May 2004. Microsoft announced that WinCE5.0 expanded the open source code and opened 2.5 million lines of source code programs as an evaluation suite. In addition to being 100% compatible with Windows CE, it also strengthened many functions. The structure diagram of ARM chip and peripheral circuit is shown in Figure 1.

Design of Remote Network Monitoring System of Launching Station Based on ARM Processor

The development tool of EM9260 series products based on ARM9 is the famous embedded development tool EVC, a professional embedded development software similar to VC development environment. Its programming style is almost the same as VC programming. When developing online debugging, you only need to use a The network cable can be connected to the target device. This is different from the debugging of the single-chip device. It is very convenient to remove the processor chip and use the emulator to debug. The whole system has the advantages of convenient program transplantation, simple management and maintenance of program type library and so on.

3.1 Program transplantation

After the software development is completed, the program needs to be transplanted, that is, the first programming of the chip program similar to our single-chip device. Carrying out program transplantation is actually a file copying process, which needs to copy or store at least 6 files in total, which are userinfo. txt, dbginfo. 1xt, Onboot. ini, ComNet. ini, Onboot. exe, ComNet. exe. Among them CornNet. exe is the application executable file that the device works normally, it can be any name, but the corresponding . The name of the Ini suffix should also be consistent with it, and the corresponding name under the[run]key value in Onboot.ini must also be consistent with it. When the device is powered on and enters the operating system, there is a file in the root directory of the system. The folder named “Nandflash” is where all the above 6 files need to be stored. It is the flash disk of the system. When the device is powered off, only the files stored in this file will not be lost, and the files stored in other locations will not be lost. will be lost (see Figure 2).

Design of Remote Network Monitoring System of Launching Station Based on ARM Processor

The above 7 files except ComNet New. In addition to exe, userinfo.txt stores the IP address of the device, which can be modified, corresponding to bginfo. txt also stores the device IP address information, it must be with userinfo. The internal IP address of txt is the same, and there is also the IP address of the remote debugging host, which can also be modified, but it is not recommended to make changes. Onboot.exe is a boot application, ComNet.exe. exe is the final running application, we use this name for the transmitter acquisition controller program. Onboot. ini configures instructions for the bootloader, including information about the applications it boots to run. ComNet. The ini contains all the parameter configurations of the device, including important information such as open serial port, device lD, transmitter model selection, manual automatic and fault shutdown status, and automatic power on and off schedule. The steps of updating the software for the newly developed product are: on the basis of the original 6 files, first need to copy or replace the two files ComNet_New. exe, Onboot. ini, the former is the update file, and the file name of the update file is uniformly specified to be prefixed with _New after the name of the original file, and Onboot. The ini file is a new key value under the group name[update]in the original file: 0 = update file name, original file name; then power off and restart the device or reset and restart the remote control device to complete the update of the device program.

3.2 Program Type Libraries

In order to effectively avoid many collector programs due to the variety of transmitters, we have established a transmitter program type library. After collecting and constructing all transmitters, all programs are built into a library, which can be achieved by simple settings. Interoperability of transmitter collectors. When a new transmitter is added, only the acquisition program of this transmitter needs to be added to the system.

4.Software function

The software is mainly divided into two parts: the lower computer software and the server software. The hardware structure of the lower computer adopts embedded ARM, and the software of the lower computer adopts win. The dows CE system can carry out online program update through the remote host computer. Simple operation and convenient management. We can embed the settings webpage just like on the computer to facilitate non-professionals to change the settings. Embedded web pages can set the parameters of each communication port, equipment parameters, backup machine, automatic switch machine, etc.

5.Transmitter acquisition monitoring system

The transmitter acquisition controller adopts advanced embedded ARM9 as the core unit. It not only has transmitter parameter acquisition, master/standby switching control, timing switch, and remote switch, but also provides transmitter program type library and online program upgrade. Such functions greatly reduce the types of spare parts and facilitate equipment maintenance. One collector can complete a set of programs, including the collection and monitoring of parameters of the active and standby transmitters, active and standby exciters, and the control of faulty standby machines. The upper computer software adopts the B/S structure, which has the characteristics of convenient upgrade and maintenance, and simple expansion of the client computer. Through the host computer, functions such as real-time dynamic Display of parameters of each link, abnormal parameter alarm, remote control switch of the transmitter, etc. can be completed, and functions such as automatic switch on and off of the transmitter and time setting of the standby machine can be set. The specific implementation functions of the transmitter embedded ARM9 collector are as follows:

1) The working mode of the main and standby transmitters is adopted, that is, there is no clear subordinate relationship between the main and standby transmitters. With the working conditions of the transmitters, the main and standby relationships of the transmitters also change, which greatly improves the The operating life of the transmitter.

2) The working time period of machine A and machine B can be defined separately

3) The high voltage state of machine A and machine B is the interlock condition for automatic switching on and off of each other.

4) The antenna position is a necessary condition for booting

5) The high-voltage state locking antenna gate of machine A and machine B automatically switches and drives

6) The power threshold and delay time of shutdown can be preset

7) The acquisition controller determines whether it needs to be shut down according to the transmit power of the currently working transmitter.

8) Shutdown process: shut down and block the host, switch the antenna, turn on the standby machine

The structure diagram is shown in Figure 3.

Design of Remote Network Monitoring System of Launching Station Based on ARM Processor

6.concluding remarks

The monitoring system uses the ARM processor to replace the single-chip microcomputer, which not only greatly improves the system performance, but also has obvious advantages in the remote upgrade, maintenance and management. When the Ethernet connected to the monitoring system of the launch station is interrupted, the webpage embedded in the ARM9 can satisfy the automatic control of the equipment in the station and the emergency setting and maintenance, so as not to cause the paralysis of the whole monitoring system and improve the safety of broadcast. reliability, and greatly reduce the cost of launch pad management and operation and maintenance.

The Links:   M150XN05-V1 MMG75S170B

Scroll to top