Application of ARM9 system in intelligent monitoring system of wireless transmitting station

Abstract: This article describes the application of the embedded ARM9 system in the launching station automation system, which mainly realizes the automatic monitoring of the transmitter. Its good online programming function greatly improves the management of the shooting station and reduces the software update. Maintenance costs.
1. Overview Guangxi Radio and Television Information Network Co., Ltd. has developed a set of remote network monitoring and management system for wireless transmitting stations according to the design idea of ​​“someone stays behind, no one on duty”, and conducts remote centralized monitoring and management of 16 remote broadcasting and radio stations in Guangxi . The original monitoring system adopts the monitoring mode of the lower computer and the upper computer. The lower computer adopts a single-chip system with 8-bit single-chip as the processing core. This system has the disadvantages of low integration, many peripheral expansion circuits, low system frequency, and slow real-time response At the same time, a lot of special software and hardware are needed for the interaction between the microcontroller and the computer. Transmitters of different manufacturers or even transmitters of different types and different power levels of the same manufacturer correspond to different programs, which increases the system spare parts. The site of the launching station is very cumbersome for various types of transmitter acquisition controllers with program diversity, which brings great inconvenience to maintenance management. With the development of large-scale integrated circuits and embedded technologies, 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 and control with its highly integrated software and hardware systems and good portability and cost-effectiveness. We use the embedded ARM9 system well for wireless transmitters, especially the intelligent monitoring system of the Alpine station In addition to improving the accuracy and stability of the transmitter control system of the transmitter, it also solves the problem of difficulty in updating the program. When updating a program or replacing a backup device, or writing a new device, you only need to plug the device into an Internet cable and connect it to the internal LAN of the monitoring system, and you can program and update the software in any place 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, further reducing the cost of management and operation and maintenance of the launching station.

2. The system constitutes ARM (Advanced RISC Machines), originally intended as the company name, and now generally refers to a class of microprocessors and a technology that refers to microprocessors that use ARM technology intellectual property (IP) cores. It is an advanced reduced instruction system microprocessor with the characteristics of high performance, low cost and energy saving. Support multi-tasking operating system, which means that 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 uses the ARM chip of AT91SAM9260. The module has been shipped from the factory The genuine WinCE5.0 real-time multitasking operating system and related underlying peripheral drivers are pre-installed by the manufacturer, so that when developing application programs based on this module, it is not necessary to deeply understand the internal structure, registers, buses, etc. of the processor chip, but only The API library functions provided by the manufacturer can complete related functions, which greatly saves the software development cycle. We have designed analog A / D conversion circuits, digital inputs and outputs, and four strings 13 through peripheral circuits. All four serial ports can select RS232, RS485, and RS422 for field communication through jumpers.

Windows CE is modular, structured, based on Win32 application program connection 13 and has nothing to do with the processor. Although its operating interface comes from Windows 95/98, Windows CE is a new type of information equipment platform based on WlN32 API redevelopment , Is an operating system platform for various communications, 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 as an evaluation kit. In addition to being 100% compatible with Windows CE, it also strengthens many functions. ARM chip and peripheral circuit structure diagram shown in Figure 1

The development tool of the EM9260 series products based on ARM9 is the well-known embedded development tool EVC, a professional embedded development software similar to the VC development environment. Its programming style is almost the same as VC programming. When developing online debugging, only one tool is needed. The network cable can be connected to the target device, which 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 and simple management and maintenance of program type library.

3.1 Program transplantation After the software development is completed, the program needs to be transplanted, that is, the chip program similar to our single-chip device for the first time. The program transplantation is actually a file copy process. At least 6 files need to be copied or stored. They are userinfo. txt, dbginfo. 1xt, Onboot. ini, ComNet. ini, Onboot. exe, ComNet. exe. Among them CornNet. exe is an executable file of the application program that the device works normally. It can be any name, but it corresponds. The name of the Ini suffix should also be consistent with it, another ~ l, Onboot. The corresponding name under the [run] key within ini must also be consistent with it. After the device is powered on and enters the operating system, there is a folder named "Nandflash" in the root directory of the system. This is where all the above 6 files need to be stored. It is the flash disk of the system. It is only stored when the device is powered off. Files inside the file will not be lost, and files stored in other locations will be lost (see Figure 2).

Excluding ComNet New in the above 7 files. Outside of exe, userinfo.txt stores the IP address of the device, which can be modified, corresponding to bginfo. txt also stores device IP address information, which must be associated with userinfo. The internal IP address of txt is the same, and the IP address of the remote debugging host can also be modified, but it is not recommended to change it. Onboot.exe is the boot application, ComNet. exe is the final running application, we use this name for the transmitter acquisition controller program. Onboot. ini is the configuration instructions for the boot program, including the information of the application program it will run. ComNet. Ini contains all the parameter settings related to the device, including important information such as open serial port, device ID, transmitter model selection, manual and automatic failure status, and automatic switch-off schedule. The steps to update software for newly developed products are: on the basis of the original 6 files, first need to copy or replace two files ComNet_New. exe, Onboot. ini, where the former is the update file, and the file name of the update file is uniformly specified after the name of the original file with _New not indicated, Onboot. The ini file is a new key value under the group name [update] in the original file. 0 = update the file name, the original file name; then power off and restart the device or remote control device reset and restart to complete the update of the device program.

3.2 Program type library In order to effectively avoid the fact that there are many types of collectors due to the many types of transmitters, we have established a transmitter program type library. After collecting and constructing all transmitters, all programs are built into a library. The setting can achieve the interoperability of the transmitter collector. When a new transmitter is added, only the acquisition program of the 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 be used for online program update through a remote host computer. Simple operation and convenient management. We can embed the settings webpage just like on a computer to facilitate non-professional changes to settings. Embedded web pages can set the parameters of each communication port, device parameters, backup machine, automatic switch machine, etc.

5. Transmitter collection monitoring system The transmitter collection controller uses advanced embedded ARM9 as the core unit. It not only has transmitter parameter collection, master-slave machine switching control, timing switch machine, remote control switch machine, but also provides a transmitter program type library , Online program upgrade and other 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 the parameters of the main and backup transmitters, the main and backup exciters, and the control of the fault backup machine. The software of the host computer adopts B / S architecture. This kind of mechanism has the characteristics of convenient upgrade and maintenance, and simple expansion of the client computer. Through the host computer, it can complete the real-time dynamic display of the parameters of each link, the abnormal parameter alarm, the remote control of the transmitter, and other functions. It can also set the automatic switch of the transmitter and the time setting of the backup machine. The specific functions of the embedded ARM9 collector of the transmitter are as follows:

1) Adopt the working mode of the master and backup transmitters to be the master and slave, that is, there is no clear slave relationship between the master and backup machines, and the different master and backup relationships of the transmitters change with the transmitter's working conditions, greatly improving The working life of the transmitter.

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

3) The high-voltage state of A and B machines is the interlock condition of each other's automatic switching machine

4) Antenna position is a necessary condition for starting

5) Automatic switching drive of the high-voltage locked antenna gate of A and B machines

6) Power threshold and delay time can be preset

7) The acquisition controller determines whether it needs to be backed up based on the monitoring of the transmitter power of the current working transmitter

8) Switching-off process: turn off and block the main unit, switch the antenna, and turn on the backup machine

The structure diagram is shown in Figure 3.

6. Conclusion The monitoring system uses an ARM processor instead of a single-chip computer, which not only greatly improves the system performance, but also has obvious advantages in remote upgrade maintenance management. When the Ethernet connection to the monitoring system of the launching station is interrupted, the web page embedded in the ARM9 can meet the automatic control of the equipment in the station and the emergency setting and maintenance, which will not cause the entire monitoring system to be paralyzed and improve the security Reliability, and greatly reduces the cost of launching station management and operation and maintenance.

Battery Powered Mattress Air Pump

Battery Powered Air Mattress Pump,Battery Operated Air Mattress,Battery Powered Air Mattress,Battery Operated Air Mattress Pump

SHENZHEN SMARTNEWO TECHNOLOGY CO,. LTD , https://www.newopump.com