Application of ARM and Linux embedded systems in underground coal mines

Publisher:彭勇Latest update time:2011-06-02 Keywords:ARM Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1 System hardware structure design

(1) System structure

The system consists of an embedded controller, a remote monitoring station, a front-end data collector and corresponding splitters. The front-end sensors include temperature, pressure and gas concentration collectors. The system structure is shown in Figure 1.


(2) System hardware design

The core of the system hardware design is the embedded controller, and its hardware structure is shown in Figure 2.

1) ARM-S3C2410 chip. ARM processor is a 10-bit processor chip based on ARM core produced by different chip manufacturers through authorization by ARM (Advanced RISC Machines). S3C2440 is a powerful and low-power ARM9 embedded CPU launched by Samsung. Its main features are:

a. 200 MHz ARM920T core, supporting JTAG emulation debugging.

b. External memory control (SDRAM control and chip select logic), divided into 8 banks, each bank can access 128M space.

C. On-chip 4 KB SRAM can be used as NAND Flash system boot.

d. LCD controller (supports up to 4K color STN and 256K color T), 1-channel LCD dedicated DMA, etc. This high degree of integration not only facilitates the hardware design of the system, but also improves the stability and reliability of the system?[page]

2) Main features of system environment Linux

a. It adopts modular design and the source code is completely open. Anyone can modify it as needed and release it under the GUN protocol.

b. It has powerful network functions and can provide various network services.

c. It has rich software resources. Almost all Unix application software can be ported to the Linux platform.

d. Support multiple architectures, such as ARM, SPARC, X86, etc.

(3) System working principle

The main part of the temperature collector is the temperature sensor PH100TMPA, which has precise resolution and high accuracy; the pressure collector uses the GD-307 of Shaanxi Hongxiang Technology Development Co., Ltd., which can automatically convert the top plate pressure of the working face into a standard electrical signal and transmit it to related equipment; the gas concentration collector uses the Italian OGGI explosion-proof gas sensor, which has high sensitivity and can measure various gases such as O/NH,/CO/H:S. The hardware part of the splitter is the single-chip microcomputer AT89S52 and the serial level interface chip MAX483, which are mainly used for data transmission and control signal addressing. The remote control station is a PC and its required supporting devices.

The embedded controller is connected to the remote control station through Ethernet based on TCP/IP protocol, and connected to the splitter using RS485 fieldbus. The front-end collectors are distributed at various monitoring points in the mine, responsible for collecting pressure, temperature and underground gas concentration data in real time, and then transmitting the collected data to the embedded controller through the RS485 fieldbus via the splitter. The disperser receives the control signal of the embedded controller, switches the corresponding detection point, and uploads the data collected by the front-end sensor to the embedded controller. The embedded controller is responsible for receiving the data uploaded by each front-end sensor, processing the data in real time, and then sending the processed results to the remote monitoring station via Ethernet for further analysis by technicians.

2 Software Design

(1) System operating environment

The system operating environment mainly consists of the embedded controller motherboard startup program BootLoader, Linux kernel, root file system cramfs, initialization process, device driver, etc. It provides low-level services for applications. The device driver enables the embedded operating system to access and control peripheral devices so that these devices can work under the system. The device drivers in this system include CS8900A network card driver and other communication interface drivers, which are responsible for completing the low-level work of system communication.

(2) Application Design

The application mainly runs on the embedded controller, responsible for sending, receiving and processing data, and controlling the corresponding peripherals. Its flow chart is shown in Figure 3.

[page]

The embedded control application uses a watchdog process and an instruction execution process. The watchdog process is responsible for monitoring the RS485 bus port, network port and data transmission. After the embedded controller application is initialized, the watchdog process runs. On the one hand, it monitors the service request of the remote monitoring station. When the service request command arrives, it first parses the command, determines the execution object of the command, and then hands it over to the execution process for execution. On the other hand, it receives the data sent by the splitter, reads the received data for standardized processing, and determines whether the conditions of the mine are within the normal range. If so, the processed results are sent to the remote monitoring station for further processing. Otherwise, an emergency interrupt signal is sent to trigger the alarm to take corresponding measures.

Linux serial port application development, UART is serial communication, operations include data sending, data receiving, interrupt, baud rate, modes include loopback, infrared, automatic flow control. Arm and serial port communication configuration: ① Save the original serial port configuration; ② Activate local connection and receive enable; ③ Set input and output baud rate; ④ Use mask to set data bit; ⑤ Set parity bit; ⑥ Set stop bit; ⑦ Set minimum character and waiting time.

3 Conclusion

This system uses embedded Internet technology to achieve online real-time detection of temperature, humidity and gas concentration in the mine, and can detect the conditions in the mine at any time, which is very helpful in preventing accidents in the mine. The system has stable operation, high reliability and strong anti-interference ability, and has achieved the expected design purpose.

Keywords:ARM Reference address:Application of ARM and Linux embedded systems in underground coal mines

Previous article:Design of intelligent vehicle-mounted system based on ARM9
Next article:Design of instrument control system using ARM+Linux

Recommended ReadingLatest update time:2024-11-16 21:47

Transplantation of Linux-2.6.14 kernel on S3C2410
 Since the 2.4 kernel does not support 2410, it is more complicated to port it, so we directly use the 2.6 version. 1. Preparation     Download and decompress the cross-compilation tool. The 2.6 kernel compilation needs the 3.4.1 version (arm-linux-gcc-3.4.1) ftp://ftp.handhelds.org/projects/toolchain/arm-linux-gcc-3.
[Microcontroller]
ARM Getting Started Learning Guide
    First, let’s talk about the development of ARM     The situation can be described as very promising. Opening the websites of various companies, we can see that embedded systems occupy most of the engineering positions in recruitment.     Broadly speaking, there are only a few types of embedded systems: tradition
[Microcontroller]
Building a powerful software ecosystem, Arm empowers infrastructure innovation
“Software is eating the world” , software is changing the world, and in order to adapt to the new environment of multiple microprocessors, software itself also needs to change. From data centers to cars and factories, everything is being redesigned to a software-defined model. At the same time, the trend of "dedicat
[Embedded]
Building a powerful software ecosystem, Arm empowers infrastructure innovation
Design and implementation of handheld multimedia system based on ARM LinuxQT
introduction As people's living standards improve, the consumption structure has undergone tremendous changes, and the proportion of consumer spending on entertainment in total spending is constantly expanding. Handheld multimedia systems can meet people's needs for audition and portability, and can also realize som
[Microcontroller]
Design and implementation of handheld multimedia system based on ARM LinuxQT
Arm Linux kernel startup start_kernel
After understanding the assembly before kernel startup, let's take a look at the formal C language startup code, that is, our start_kernel function. start_kernel is quite large, and each function called in it is enough to give us a headache. I will only briefly describe the functions here, so that we can have a more in
[Microcontroller]
Qualcomm announces next-generation Arm processor to be developed by former Apple employees in 2023
Qualcomm is looking to seriously beef up its PC processors, announcing plans last night for a next-generation Arm-based processor that is "designed to set the performance benchmark for Windows PCs" and will be able to go head to head with Apple's M-series processors.    Qualcomm Chief Technology Officer Dr. James Thom
[Semiconductor design/manufacturing]
Qualcomm announces next-generation Arm processor to be developed by former Apple employees in 2023
Design of remote debugging module for embedded devices based on ARM & Linux
0 Introduction At present, most industrial equipment has dedicated debugging interface and debugging software. This method can effectively solve the problem of on-site debugging and maintenance and upgrading of the system, but it also has some disadvantages. First, relying on dedicated debugging software, as the prod
[Microcontroller]
Design of remote debugging module for embedded devices based on ARM & Linux
Learn ARM development (6)
Last time, I talked about learning ARM assembly. OK, let's start now. My boot program is modified from UBOOT1.1.2. You can download the source code of UBOOT. Maybe you will ask where to download it? I don't need to answer this question. Just use GOOGLE and search for u-boot. You can find it. Since this boo
[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号