| With the rapid development of domestic automobile, metallurgy, petrochemical,construction and other industries, driven by growth in consumption of Oil Product. Inorder to improve the automation level of oil products measurement, Many Oil Storageusing batch controller combined with quality flowmeter on-line quantitative loading,which promotes the study of the batch controller. Now, Batch controller mainly adoptssingle-chip microcomputer and programmable logic controller for inspection and control offlow。with a microcontroller as the core of the batch controller’s interface not friendly,simple function, and insufficiency of network; with programmable logic controller as thecore of the batch controller is expensive, not suitable for small Oil Storage. In view of this,the paper develops a superior performance and lower prices batch controller to solve theexisting problems of the traditional batch controller, which can improve the Oil Storageautomation level of on-line quantitative loading.In this paper,Based on a study of batch controller at home and abroad, put forwarda kind of multi-processor coordination work completed multi-channel batch controllerScheme,witch price is better than single chip microcomputer and programmable logiccontrollers。The scheme based on embedded Linux system,abandoned the traditionalindustrial computer, use the ARM processor which is widely used in the industrial fields asthe core of the controller, and use the upper and lower hierarchical scheme achievesmulti-channel technology. Firstly, the paper gives the general design scheme of the system,according to the demand of batch controller technology, use the upper and lowerhierarchical scheme design, selection EPCM8960industrial control board as the maincontroller, which achieve human-computer interaction, network communication, datamanagement, network printing; use MSP430microcontroller as the core components ofthe lower channel controller, which complete Flow Collection,Temperature Collection,valve control.Then, the paper describes the hardware design of batch controller based onfunctional requirements, detailed description of the device selection and the design of eachfunction module. Then, according to the requirements of the software design of embeddedLinux system, research and constructed the embedded Linux software developmentenvironment.a detailed description of the construction of embedded software developmentplatform based on Qt/Embedded, introduces the compilation and use MySQL databasesystem applied in the embedded Linux platform. Finally, according to the functional requirements, described the software design of each function module, and a detailedanalysis, and some of the details,but also according to the communication requirements ofthe upper and lower layers, a communication protocol for the controller design based onCAN bus.In this paper,the Batch controller based on embedded Linux design has multi-channelcontrol,interface clear and beautiful, simplicity of operator etc. Experimental results haveshown that this controller can meet the design requirements, with good stability, highreliability, low power consumption, low cost, it has a good popularization value andapplication prospect in market. |