CN103092141A - Network remote monitoring system of oil tank group - Google Patents

Network remote monitoring system of oil tank group Download PDF

Info

Publication number
CN103092141A
CN103092141A CN2011103387417A CN201110338741A CN103092141A CN 103092141 A CN103092141 A CN 103092141A CN 2011103387417 A CN2011103387417 A CN 2011103387417A CN 201110338741 A CN201110338741 A CN 201110338741A CN 103092141 A CN103092141 A CN 103092141A
Authority
CN
China
Prior art keywords
network
oil tank
tank group
data
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011103387417A
Other languages
Chinese (zh)
Inventor
朱海宾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN2011103387417A priority Critical patent/CN103092141A/en
Publication of CN103092141A publication Critical patent/CN103092141A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses a network remote monitoring system of an oil tank group. The network remote monitoring system of the oil tank group comprises a web client module, an upper computer module, a controller area network (CAN) intelligent input/output (I/O) interface module and a transmitter, wherein the web client module is communicated with an upper computer through the Internet, the upper computer is communicated with the CAN intelligent I/O interface module through a CAN bus intelligent adapter card, the CAN intelligent I/O interface module transmits data information to the transmitter, and the transmitter executes corresponding orders. The network remoter monitoring system of the oil tank group has the advantages of combining web technology and site busting technology, enabling site equipment to switch in the network by means of the site bussing technology, realizing complete fusion of a control network and the Internet, achieving remote network control and management of the oil tank group and having a certain advancement and superiority.

Description

A kind of Remoter Supervision System with Fieldbus for Oil Tanks
Technical field
The present invention relates to a kind of supervisory system, relate in particular to a kind of Remoter Supervision System with Fieldbus for Oil Tanks, belong to CAN bussing technique field.
Background technology
Existing all types of storage tank are tens thousand of in fields such as China's oil, chemical industry, military affairs, the energy, and along with the development of economy, its quantity also is lasting ascendant trend.Wherein, most of oil tank is metering manually, and efficient is low, and error is large, has restricted the raising of oil tanks automatic management level.Management automation: by the man-machine system that people and computer technology facilities and administration control object form, core is management information system.Management automation adopts many computing machines and intelligent terminal to consist of computer lan, uses the method for systems engineering, realizes the target of optimum control and Optimal Management.The brainwork of the fast processing of bulk information and repeatability is completed by computing machine, and the analysis of result, judgement, decision-making etc. are completed by the people, forms the scientific management system of people, machine combination.The professional management automations such as the human, financial, and material resources of factory or public institution, production, office are the integrated technologys take information processing as core, relate to the subjects such as robot calculator, communication system and control.The general employing has the computing machine of high speed processing bulk information ability and the localized network that various terminal forms by many.Modern times have been developed decision support system (DSS) (DSS) on the basis of management information system, for senior management staff's decision-making provides alternative scheme.The importance that robotization is new technological revolution that affects on society.The research of automatic technology, application and popularization will exert far reaching influence to modes such as the mankind's production, lives.Automation of Manufacturing Process and office automation can greatly improve social production rate and work efficiency, energy savings and raw materials consumption guarantee product quality, improve working conditions, improvement of production process and management system are accelerated the change of the social industrial structure and the process of social informatization.
Summary of the invention
The present invention provides a kind of Remoter Supervision System with Fieldbus for Oil Tanks for solving the problems of the technologies described above, and by upper function, each storage tank is carried out long-range real-time measurement and control.
The present invention for achieving the above object, adopt following technical scheme: a kind of Remoter Supervision System with Fieldbus for Oil Tanks, comprise Web client module, upper computer module, CAN intelligence I/O interface module, transmitter, described Web client module is communicated by letter with host computer by the internet, host computer communicates by CAN bus intelligent adapter and CAN intelligence I/O interface module, and described CAN intelligence I/O interface module sends data message to transmitter and carries out determined by fate accordingly.
The invention has the beneficial effects as follows: the system in the present invention, adopt the method that designs Fieldbus Intelligent I/O, this intelligence I/O as the intelligent contact on fieldbus, is connected into fieldbus with conventional transmitter and actuator, have very high cost performance.
Description of drawings
Fig. 1 is the system architecture schematic diagram;
Fig. 2 is CAN intelligent node hardware circuit principle block diagram;
Fig. 3 is based on WebSnap software application structure figure.
Embodiment
Describe below in conjunction with the technical scheme implementation method of accompanying drawing to invention: in Fig. 1, a kind of Remoter Supervision System with Fieldbus for Oil Tanks, comprise Web client module, upper computer module, CAN intelligence I/O interface module, transmitter, described Web client module is communicated by letter with host computer by the internet, host computer communicates by CAN bus intelligent adapter and CAN intelligence I/O interface module, and described CAN intelligence I/O interface module sends data message to transmitter and carries out determined by fate accordingly.Main function of system is: need and can measure in real time and control each storage tank.The parameter that need gather each oil tank has: the interface of oil product (liquid level), temperature (3 of the upper, middle and lower when any interface of oil product temperature value in tank), the import of oil pump and the main shaft temperature of top hole pressure and oil pump; The parameter that need control and regulate each oil tank has: the intake pressure of oil pump, the top hole pressure of oil pump.The monitoring management that energy is concentrated by host computer (IPC).Can carry out remote monitoring and administration by Internet
The bottom of system adopts the CAN bus network to complete on-the-spot TT﹠C task.CAN is the abbreviation of controller local area network (Controller Area Network, CAN), be by research and development and produce automobile electronics and the German BOSCH company that claims and developed, and finally become international standard (ISO118? 8).It is one of most widely used fieldbus in the world.In North America and West Europe, the CAN bus protocol has become the STD bus of Computer Controlled System for Vehicle and built-in industrial control area net(CAN), and has the J1939 agreement that aims at high capacity waggon and the design of heavy industry motor vehicles and machines take CAN as underlying protocol.In recent years, the high reliability that it has and good error detection capability come into one's own, and are widely used in that Computer Controlled System for Vehicle and environment temperature are abominable, electromagnetic radiation is strong and vibrates large industrial environment.Monitoring equipment is responsible for whole CAN bus is carried out monitor management according to the back-end data handling procedure; Database is responsible for storing the data that gather and the control data that send to system and the intermediate data that directly produces carrying out various calculating from the bottom control system, and historical data is stored and filed.
Web server be one based on the hypertext Distributed Information System of Internet.For the remote measuring and controlling system of client/server architecture, the remote client need to pass through Internet/Intranet access services device end.Nowadays, mainly contain two kinds of access modules, i.e. B/S and C/S model.The top layer of native system adopts client/server B/S (Browser/Server) communication mode based on browser.
Mainly complete by the RS-485 network with transmission for the collection of oil tank parameter at present, a little less than its error detection, error correction, location of mistake ability, without the bus detachment function.And CAN (CONtrollerArea Network) is a kind of widely used fieldbus, it take the ISO/OSI model as the basis, have complete software support system, can solve the problems such as total line traffic control, collision detection, link maintenance, allow many main memories to exist.Be suitable for hot plug, at a high speed, EDC error detection and correction ability, good EMC characteristic.The CAN controller works in multiple host pattern, each node in network all can be competed to bus without the mode of the bit-by-bit arbitration of damage structure according to bus access right of priority (depending on message identifier) employing and send data, and the CAN compromise annulment station address coding, and replace, communication data is encoded, this can make different nodes receive simultaneously identical data, these characteristics make the data communication between each node of network that the CAN bus consists of real-time, and easily consist of redundancy structure, improve the reliability of system and the dirigibility of system.And utilize RS-485 can only consist of the primary and secondary structure system, and communication mode also can only carry out in the mode of main website poll, and real-time, the reliability of system are relatively poor; Concerning a large-scale liquid storage tank group, consist of Fieldbus Based control system, the transmitter of its testing process variable and relevant actuator must be the instrument with field-bus interface, its expense is very high.This paper adopts the method for design Fieldbus Intelligent I/O, and this intelligence I/O as the intelligent contact on fieldbus, is connected into fieldbus with conventional transmitter and actuator, has very high cost performance.
As shown in Figure 2, be its main hardware structure, node is reception and the sending station of information on network, and the design adopts the intelligent node that is made of independently communication control chip and interface microcontroller.CAN Bus Intelligent Node hardware design comprises: A/D and D/A conversion portion, house dog hardware circuit, CAN bus communication interface.
The import/export pressure of the oil level of oil tank, oil temperature and oil pump and the main shaft temperature of oil pump are measured by transmitter, its output signal is sent into single-chip microcomputer through multiplexed, A/D converter, and output is controlled the information of each oil pump and its import of adjusting and top hole pressure and sent to topworks by single-chip microcomputer through D/A converter.
The Software for Design key of CAN Bus Intelligent Node is CAN bus communication interface program, its major function is to process gathering the data process of coming in, send to the Web server end by Interruption, simultaneously by the receive interruption reception ﹠ disposal from the data query of server end, order and control command are set.The high-performance of CAN and reliability are admitted, and are widely used in the aspects such as industrial automation, boats and ships, Medical Devices, commercial unit.Fieldbus is one of focus of nowadays automatic art development, is described as the LAN (Local Area Network) of automatic field.Its dcs that appears as realizes that real-time between each node, data communication reliably provides strong technical support.
Command code is mainly reflected on the ID identifier, is that standard frame format sends the CAN information frame due to what adopt, and therefore, the ID identifier is 11.Its structure is as follows: ID0~ID5 represents large-scale liquid storage tank group tank number, is " 1 " number tank as " 000000 "; ID6~ID8 represents large-scale liquid storage tank group's controlled volume; ID9~ID10 represents command word, and for order is set, " 11 " are control command as " 10 ".
Program mainly comprises initialize routine, received processing program and transmission processing program.Its Focal point and difficult point is the initialization of SJA1000, comprises the setting of working method, the setting that accepts filter, receives the arranging etc. of setting, the setting of baud rate parameter and OIER of mask register (AMR) and reception code register (ACR).
The transmitting-receiving of These field control modules data is a large amount of, also that real-time needs, but the control on remote machine is just supervision and the adjustment of routine usually, do not need too high real-time, also unimpeded for network simultaneously, it is too high that synchrodata refresh rate on host computer and remote machine needn't be established, disposable transmission after a plurality of data that generally can be set to sample.
The middle layer is a sandwich construction, is responsible for mainly that data read, the functions such as data retransmission, data processing, management and monitoring, is comprised of gateway, database and the WEB server of CAN bus.
Monitoring unit is comprised of the industrial computer that contains the CAN adapter (host computer) and back-end data handling procedure.Host computer communicates by CAN bus intelligent adapter PCI-5110 and CAN bus.This program adopts C++Builder to write, and powerful human-computer interaction function is arranged, the handled easily librarian use.
Database adopts Microsoft SQL Server 7.0, the control data of being responsible for data that storage gathers from the bottom control system, sending to system and the intermediate data that directly produces carrying out various calculating, and historical data is stored and filed, realize the management function of control program, tank battery essential information and monitor message etc.It comprises of that month database, historical data base, system parameter data storehouse and tank volume table database.After surpassing official hour, data in of that month database will automatically dump in historical data base.
WebSnap is the up-to-date WebApplication exploitation framework of C++Builder 6.0, use WebSnap do not resemble WebService like that needs be familiar with socket Socket, and also need not understand the service that application program will provide or use before writing server or client applications, can carry out the WEB rapid application develop.WebSnap is having powerful function aspect the application program of development data storehouse, and its ADO database connect control has the function that connects well various databases.
WebSnap has following characteristics: support CGI (Common Gateway Interface) Web server application program, support to process, provide the caching technology of Web module in order to quickly to the user message brand-new field that responded, supported exploitation substitution that crossover-platform WebSnap uses B/S, really accomplished the zero-configuration client configuration to the multithreading of client requests.
As shown in Figure 3, be the system software application structure, the major function in middle layer is: the data message from bottom is read, decomposes (parsing), calculation process (comprising the data library storage), and response is from the client requests on upper strata, after being processed, this requirement analysis forwards corresponding information to bottom, to reach the monitoring and controlling to bottom.
Database be resolved, be stored into to the control program module of CAN adapter will from the data of CAN adapter, and the information of coming from the Web server application passes be processed and sent corresponding data to the CAN adapter; The Web server application program module: be responsible for the overall scheduling of system, receive client-requested and response, it taking on to client's control command pass down and to the processing of uploading data information; The windows messaging processing module has been set up the Web server application program and based on a kind of communication mechanism of the control program of CAN adapter.
Wherein, the Web server application programming makes the key component of whole system Software for Design.In WebSnap, can create the Web server application program of five kinds of types, they are ISAPI and NASPI type, be independent of the CGI type of operating system, be independent of WinCGI type, Apache type and the Web server application program debugger type of operating system.For the purpose of facilitating the debugging server application program, we have adopted Web server application program debugger type.
Possessed the ability that embeds script due to WebSnap, so we adopt Dreamweaver to make the html page file and it is integrated into as template in the Web server application program of C++Builder, consisting of a perfect server site.The WebSnap application program is connected mainly by ADO component technology and SQL with database.Embed the ADOConnection assembly on the Main form of WebSnap application program, make WebSnap application program and database always keep logic to be connected [6].
Data flow in system can be divided into upstream data and downlink data substantially.Upstream data be exactly data upload from collection in worksite to server, downlink data is exactly that server receives under command request from client browser and passes to corresponding field apparatus.
When the remote client enters when controlling homepage by identity (the user name and password) checking, the selection task, as " closing the fluid reservoir inlet valve No. 1 ", click on submission button is just server receives control command request from client browser like this.Client browser has been passed to Web server to the URL content in address field, URL second portion server name (192.168.1.238:1024) decoding is connected with Web server, the Web server application program is resolved URL the 4th partial pathname (Command) by WebDispatcher, chooses [PathInfo] property value action item identical with Command from its action item list.This action item triggers its corresponding page animation device PageCommand.If do not find the action item of coupling, WebDispatcher will call the action item of acquiescence.The attribute of PageCommand [HTMLFile] mark corresponding html file address, and its event attribute [OnHTMLTag] mark PageCommandHTMLTag.When closing No. 1 fluid reservoir inlet valve event when being triggered, page animation device PageCommand begins to construct html page, when finding transparent bookmark<#IsIn inlet valve〉when (in the html file code), alternative with the replacement text in corresponding analytical function PageCommandHTMLTag.Meanwhile, our self-defined windows messaging (closing inlet valve No. 1) and send it in analytical function PageCommandHTMLTag, when intercepting and capturing this message based on the control program of CAN adapter, be compiled into the structure member ID that command code " 1101100000 " is packaged into CAN information frame array and send to the CAN adapter closing No. 1 inlet valve.Through CAN adapter (converting the data layout that the CAN agreement can be identified to) when passing to the CAN bus, code and mask off code are distinguished by inspection, are received by CAN Bus Intelligent Node 1, show to control to liking No. 1 large-scale liquid storage tank.
The principle of upstream data and downlink data flow process is basic identical.Gather the data of coming from on-the-spot liquid storage tank battery controlled volume, after processing, each CAN Bus Intelligent Node regularly is dealt on the CAN bus, enter PC through the CAN adapter, control program module based on the CAN adapter extracts decomposition to the member id identifier in CAN information frame array (VCI_CAN_OBJ structure type), and the tank that respectively decomposition is obtained number and other controlled volume are deposited in database.

Claims (1)

1. Remoter Supervision System with Fieldbus for Oil Tanks, it is characterized in that, comprise Web client module, upper computer module, CAN intelligence I/O interface module, transmitter, described Web client module is communicated by letter with host computer by the internet, host computer communicates by CAN bus intelligent adapter and CAN intelligence I/O interface module, and described CAN intelligence I/O interface module sends data message to transmitter and carries out determined by fate accordingly.
CN2011103387417A 2011-11-01 2011-11-01 Network remote monitoring system of oil tank group Pending CN103092141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103387417A CN103092141A (en) 2011-11-01 2011-11-01 Network remote monitoring system of oil tank group

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103387417A CN103092141A (en) 2011-11-01 2011-11-01 Network remote monitoring system of oil tank group

Publications (1)

Publication Number Publication Date
CN103092141A true CN103092141A (en) 2013-05-08

Family

ID=48204844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103387417A Pending CN103092141A (en) 2011-11-01 2011-11-01 Network remote monitoring system of oil tank group

Country Status (1)

Country Link
CN (1) CN103092141A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155012A (en) * 2015-05-11 2016-11-23 宁夏巨能机器人系统有限公司 The data processing equipment of a kind of automated production wire system and processing method thereof
CN107314796A (en) * 2017-06-05 2017-11-03 南通阳鸿石化储运有限公司 Tank gauging system
CN111158333A (en) * 2020-02-26 2020-05-15 深圳思畅机器人系统有限公司 Flexible tank control system for oil field construction site
CN114358666A (en) * 2022-03-21 2022-04-15 成都奕阳现代科技有限公司 Quality control method for industrial production process of Sichuan vegetables

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155012A (en) * 2015-05-11 2016-11-23 宁夏巨能机器人系统有限公司 The data processing equipment of a kind of automated production wire system and processing method thereof
CN107314796A (en) * 2017-06-05 2017-11-03 南通阳鸿石化储运有限公司 Tank gauging system
CN111158333A (en) * 2020-02-26 2020-05-15 深圳思畅机器人系统有限公司 Flexible tank control system for oil field construction site
CN114358666A (en) * 2022-03-21 2022-04-15 成都奕阳现代科技有限公司 Quality control method for industrial production process of Sichuan vegetables

Similar Documents

Publication Publication Date Title
CN205428174U (en) Long -range energy consumption data acquisition system
CN103384268B (en) A kind of network embedded integration manufaturing data acquisition terminal
CN103631240A (en) Heat metering information application service management platform on basis of internet of things for heat supply industry
CN102096399A (en) Embedded energy data acquisition unit
CN103092141A (en) Network remote monitoring system of oil tank group
CN103970530A (en) Data acquisition and implementation method based on Intouch configuration technology of OPC interface
CN102621921A (en) Programmer for electric energy meters
CN109654777A (en) A kind of intelligence heat pump tele-control system
CN103401881A (en) Data collection system and method based on intelligent instrument
CN104424714A (en) Intelligent water meter based in Internet of Things and control system thereof
CN110275470A (en) A kind of configurable remote data collection system being applicable in various working
CN112187917A (en) Data acquisition monitoring system and method based on industrial internet
CN103905410A (en) Multi-channel communication protocol converter capable of converting user-defined protocol to Modbus protocol
CN103605326A (en) Real-time on-line energy monitoring and management system and energy management and optimization method
CN2824146Y (en) Automatic integrated power testing system
CN201699739U (en) AT91RM9200-based fieldbus protocol conversion gateway platform
CN202110651U (en) Automatic monitoring device of ground source heat pump system
CN103475728A (en) Orchard ecological environment remote monitoring system based on wireless sensor network
CN202047868U (en) On-line mine dust monitoring system based on OPC (Organic Photoconductor)
CN106354015B (en) Long-range monitoring and the on-line debugging method of Diagonal Recurrent Neural Network control system
CN111624962A (en) Data computer lab distribution equipment management and control system
CN116300656A (en) Internet of things environment monitoring system for transformer and distribution station
Chen Multipoint Ecological Environment Monitoring System with Internet of Things
CN204030729U (en) A kind of distributed power source monitoring system
CN114679691A (en) Edge calculation and bearing capacity testing method and system for intelligent fusion terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
DD01 Delivery of document by public notice

Addressee: Zhu Haibin

Document name: Notification of before Expiration of Request of Examination as to Substance

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130508