【正文】
關(guān)鍵詞:嵌入式系統(tǒng),先進(jìn)的RISC機(jī)器(ARM),監(jiān)控系統(tǒng),硬件電路,軟件設(shè)計(jì)。和創(chuàng)新的市場(chǎng)需求,高質(zhì)量的產(chǎn)品,積極的競(jìng)爭(zhēng)在全球范圍內(nèi),通過高度優(yōu)化的生產(chǎn)工藝,提高生產(chǎn)力,環(huán)境/社會(huì)的壓力是由制造業(yè)所面臨的挑戰(zhàn)今天的[2]。 the second parameter is the sockaddr pointer type and save the address and port information, the third parameter is generally sizeof (struct sockaddr). If the call is successful, it can monitor service requests in the port.CONCLUSIONSIn this paper, we first analysis the embedded system theory,the design principle of remote monitoring system ,then using integrated embedded technology to propose embedded tank car monitoring system framework. Second, we use and Windows NT4 as the development environment and C language as the development tools to achieve the embedded tank car monitoring system based on are two parts: hardware circuit design, we use S3C2410X[6] as the ARM9 embedded microprocessor core, design the network interface and data acquisition hardware circuit, including 8channel analog input channels and 16 digital I / O channel based on QT2410. Another part of software design, we plete the embedded Linux operation and development on S3C2410X, and in the Linux environment to develop the device drivers of CS8900A, AD7892 and digital I / O, as well as socket programming under Linux to achieve network munication. Through a bination of embedded Internet technology, the traditional monitoring technologies and digital video technology .we directly connect the sensor and the monitoring equipment to achieve remote management and realtime data transmission, so realize the resources and information.REFERENCES[1]Fei Xie, Guowu Yang , Xiaoyu Song, Componentbased hardware/softwarecoverifcation for building trustworthy embedded systems, The Journal of Systems and Software,2007, 80,pp: 643–654[2]Carlos Eduardo Pereira , Luigi Carro, Distributed realtime embedded systems: Recent advances, future trends and their impact on manufacturing plant control, Annual Reviews in Control ,2007,31,pp: 81–92[3]Mehrabi,., Ulsoy, A. G., Koren, Y. Recon?gurable manufacturing systems: Key to future manufacturing. Journal of Intelligent Manufacturing,2000,11(4),pp: 403–419.[4]Van Brussel, H., Wyns, J., Valckenaers, P., Bongaerts, L., amp。, parameter type is SOCK_STREAM, and finally the protocol set to 0. If call is successful then Socket ()will return a system descriptor, else return 1.When the socket successfully created, it should associate the socket with the machine, Function prototype int bind (int sockfd, struct sockaddr * my_addr, int addrlen)。 Digital I / O process module, namely, achieve 16bit digital input / output control and TCP oriented network munication module, achieve data input / output and control interface to the highlevel network protocol and plete S3C2410 embedded microprocessor municate with the outside world.A. AD7892 continuous data acquisitionWe bine AD7892 [9] and S3C2410X interface circuit and use the continuous acquisition mode and interrupt mode to read the conversion data, AD7892 woks in the greatest sampling frequency and read the conversion results in ISR .B. Digital I / O process modul74LS244 [13] plete 16bit digital input, 74LS273 [13]plete 16digit output, although they have different physical address, but the former only read, while the latter only write, so they may be abstract into the same device driver development.While read and write I / O devices, it respectively need use ioremap function to mapping 74LS244 and 74LS273 physical address, and respectively use copy_to_user function in the kernel space and copy_from_user function in user space data to transmit data . C. TCPoriented network munication moduleLinux system achieve network programming through socket, it uses client / server munication mechanism so that the client and server through socket plete network connectivity and data munications.Socket has three main parameters: the goal munication IP addresses, Transport Protocol and port number. Through bination three parameters, we can distinguish the munication between the different applications process or networks connected, so achieve the concurrent data transmission services. In this system, we use stream sockets to achieve network munication.To socket programming, first call socket function to initialize and create a socket, function prototype is int socket (int domain, int type, int protocol)。s analog input pin to be used directly, so we design the mon data acquisition circuit based on external bus interface EBI of QT2410, the main function modules include levelshifting circuit, translation Code logic cells, 8channel analog input channels and 16 digital I / O channel.B. Ethernet interface circuitThe system adds a RJ45 Ethernet interface circuit during the design process to achieve icroprocessor municate with the outside world which by using the highspeed Ethernet transmission medium, In this system, its main role is to connect to PC network interface, download the piled Linux kernel image in PC and mount the root file system by NFS way.CS8900A chip [8] integrates a plete ISA bus interface, onchip RAM, 10BASET send / accept filters etc, it dose not need to add any additional devices. In this system,CS8900A chip ISA bus interface directly connect to the microprocessor S3C2410 support 8bit, 16bit, 32bit microprocessor, it can work in the I / O or Memory mode, the chip has a 4KB capacity PacketPage structure RAM, it includes a variety of control , status, mand register, as well as the chip to send, transfer cache.C. Data Acquisition CircuitInternal S3C2410X,it integrated 8channel 10bit ADC, the maximum conversion rate of 500 kSPS, support onchip sampleandhold function, conversion data can be read by interrupting or polling mode, the analog input range of 0 ~.As a result of QT2410 development chip do not provide ADC39。 from the behind scene monitoring to the advanced remote monitoring: from someone on duty to monitor the now unmanned. Digital, networkbased, largescale monitoring system wil