Use IPC to executive process control and management control in the field of traditionalindustrial control, and after embedded technology, computer technology and integrated circuittechnology are combined into industrial control technology, industrial control is reducing thecost and power consumption, enhanced performance step by step. Embedded equipments areraising with the development of embedded technology, widely applied in many areas such asindustrial control, consumer electronics, automotive electronics. Recently, the ARM serials ofembedded chips are applied in the industrial control area. Although the kind of embeddedsystem is many, but many of them are not open the source code, so the proc ess of systemcutting and system transplanting are not convenient. And Embedded Linux system is opensource code, stable system, excellent memory management, so can be cut for the industrialcontrol with reason.The national green metalising technology and equipments engineering technologyresearch center has been developed a series of coating devices in Lanzhou Jiaotong University,and uses IPC to executive process control and management. On the base of ZDL-2051, applyS3C2440developed by SAMSUNG as hardware heart, and design embedded modules basedon ARM architecture to meet the need of control system. There are lots of inter faces inS3C2440, not only aim at control but also at entertainment and electronic. In the process ofcutting for coating device, around S3C2440design crystal oscillator, reset, memory andpower circuit. In the peripheral circuit, design A/D to collect temperature, voltage, current inthe coating machine, and design serial port and USB to communicate with PLC, vacuumgauge, power regulator and transducer, and human-computer interaction interface circuitconvenient to operate.The software is set up on the base of hardware platform, and includes transplanting ofthe kernel, the mounting of root file system and driver program. Use U-Boot as the bootprogram of the embedded system, analysis the principle and structure of the linux2.6kernel,then cut and configure kernel according to the requirements of the hardware, so the kernel canstart from NAND Flash and mount root file system, and use Busybox to make yaffs root filesystem. And the main function of control system is completed after designing of the kerneland root file system. So the set up of soft platform can support function of hardware.It needs the help of interfaces to run the peripheral equitment, and the driver programsupports the interfaces to work. The last part is to complete the driver program, mainlycommunication module and human-computer interaction interface module program. Thedriver program is written by C language under the Linux operating system, and compiled by arm-linux-gcc. Use module to load and unload the driver in the board, reduce excessivecompile. |