CN103454999B - The long distance control system of tobacco sheet production line and method for supervising - Google Patents

The long distance control system of tobacco sheet production line and method for supervising Download PDF

Info

Publication number
CN103454999B
CN103454999B CN201310374206.6A CN201310374206A CN103454999B CN 103454999 B CN103454999 B CN 103454999B CN 201310374206 A CN201310374206 A CN 201310374206A CN 103454999 B CN103454999 B CN 103454999B
Authority
CN
China
Prior art keywords
data
gprs
module
heating plant
compressed air
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.)
Active
Application number
CN201310374206.6A
Other languages
Chinese (zh)
Other versions
CN103454999A (en
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.)
SHANDONG RUIBOSI TOBACCO CO Ltd
Original Assignee
SHANDONG RUIBOSI TOBACCO CO Ltd
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 SHANDONG RUIBOSI TOBACCO CO Ltd filed Critical SHANDONG RUIBOSI TOBACCO CO Ltd
Priority to CN201310374206.6A priority Critical patent/CN103454999B/en
Publication of CN103454999A publication Critical patent/CN103454999A/en
Application granted granted Critical
Publication of CN103454999B publication Critical patent/CN103454999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

  • Selective Calling Equipment (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses long distance control system and the method for supervising of tobacco sheet production line, described system mainly comprises data monitoring layer, data transfer layer and data collection layer; Described data monitoring layer and data transfer layer two-way communication, described data transfer layer and data collection layer two-way communication; Described data monitoring layer comprises server, and described server is connected with warning device, printer and ups power respectively; Described data transfer layer comprises GPRS primary module, described GPRS primary module and compressed air station GPRS from module and heating plant GPRS from module two-way communication, described GPRS primary module also with described server two-way communication; Described data collection layer comprises AD data acquisition unit and serial acquisition device and current sensor, pressure transducer, temperature sensor, flow integrator.The present invention has the advantages such as maintenance cost is low, reliability is high, expense is reasonable.

Description

The long distance control system of tobacco sheet production line and method for supervising
Technical field
The present invention relates to long distance control system and the method for supervising of tobacco sheet production line.
Background technology
Along with the development of modern network technology, mobile communication technology, control technology is with universal, efficiently monitor and forecast remote site in real time, becomes the trend of current industrial rig-site utilization.And in order to overcome geographic position dispersion, what wiring cost was high waits restriction, increasing supervisory system adopts GPRS wireless communication technology, Site Detection point that is unattended to some, dispersion carries out real-time data acquisition, grasp on-the-spot situation in time, and data are uploaded to central control room by GPRS network carry out remote detection and centralized control.Native system adopts this technology, and has carried out concrete hardware and software engineering design exploitation.In order to realize the communication of Surveillance center and substation, system have employed the stipulations based on Modbus communication protocol and develops corresponding coding and decoding program.Surveillance center adopts VB6.0 to write data transmit-receive server program, and the man-machine interface of close friend, in real time each station data of monitoring and the file record to data.
For geographic position relative distribution and remote, need again the industrial production system monitored, if arrange that cable realizes remote monitoring by erection crane span structure or cable ditch, on the one hand due to distant and dispersion, wiring cost is higher, and the cable laid may be subject to the interference of other surrounding environment.Make full use of GPRS net wide coverage, high reliability, based on the Long-Distance Monitoring System About of GPRS, overcome the restriction that geographic position disperses, wiring cost is high, there is the advantages such as maintenance cost is low, reliability is high, expense is reasonable, be conducive to carrying out real-time data acquisition and centralized control to the Site Detection point of unmanned, dispersion.
Summary of the invention
Object of the present invention is exactly that provide a kind of long distance control system and method for supervising of tobacco sheet production line, it has the advantages such as maintenance cost is low, reliability is high, expense is reasonable in order to solve the problem.
To achieve these goals, the present invention adopts following technical scheme:
The long distance control system of tobacco sheet production line, comprising:
Data collection layer, the inquiry instruction being responsible for issuing according to data monitoring layer gathers flux cumulating value, force value, the temperature correlation data of the Air Pressure Station of tobacco sheet production line, current data and heating plant, and data are uploaded to data monitoring layer by data transfer layer;
Data transfer layer, is responsible for the data that collected by data collection layer and is transferred to data monitoring layer, simultaneously to the inquiry command of the data monitoring layer received to data collection layer;
Data monitoring layer, is responsible for the data that reception data transfer layer transmits, and then adopts data collision disposal route to carry out clash handle to data, and monitors data result, prints or report to the police, issue inquiry instruction to data collection layer.
Described data monitoring layer comprises server, and described server is connected with warning device, printer and ups power respectively;
Described server is used for the Distant supervision and control being realized system by system display interface, and the WEB that simultaneously can realize data shares, and facilitates managerial personnel to realize telemanagement, data query;
Described ups power provides stable electric energy for server, prevents accident power-off on the impact of system and server;
Described printer for print statistics daily sheet, the moon form;
Described warning device comprises alarm lamp, stereo set and mobile phone, and described mobile phone is sent on the mobile phone of responsible official on duty by SMS.
Described data transfer layer comprises GPRS primary module, the compressed air station GPRS of described GPRS primary module and tobacco sheet production line from the heating plant GPRS of module and tobacco sheet production line from module two-way communication, described GPRS primary module also with described server two-way communication.
Described GPRS primary module for receive server data inquiry instruction after, inquiry instruction is sent to the compressed air station of tobacco sheet production line and heating plant GPRS from module by GPRS network; Receive the monitor data that the compressed air station of tobacco sheet production line and heating plant GPRS transmit from module, and send the data of reception to server by RS232 and carry out processing and storing;
Described compressed air station GPRS is from module when the address that the inquiry instruction and this instruction that are received the transmission of GPRS primary module by GPRS network are corresponding is the address of compressed air station module, and compressed air station GPRS is transferred to GPRS primary module the pressure signal of the compressed air station water pump electric current, total current and the air compressor delivery air that store in data storage areas by GPRS network from module;
Described heating plant GPRS is used for when the address that the inquiry instruction and this instruction that are received the transmission of GPRS primary module by GPRS network are corresponding is the address of heating plant module from module, and heating plant GPRS is transferred to GPRS primary module the flux cumulating value of the heating plant hot gas stored in data storage areas, temperature and pressure by GPRS network from module.
Described data collection layer comprises AD data acquisition unit and serial acquisition device, described AD data acquisition unit and compressed air station GPRS are from module two-way communication, described serial acquisition device and heating plant GPRS are from module two-way communication, described AD data acquisition unit also gathers the simulating signal of some current sensors, pressure transducer, described serial acquisition device gathers flow integrator information, and described flow integrator receives the information from flowmeter, pressure transducer, temperature sensor;
The 4-20mA analog signals that described AD data acquisition unit is used for current sensor and pressure transducer to transmit is converted to digital quantity signal, then single-chip microcomputer converts data to MODBUS agreement RTU form, export to compressed air station GPRS from module by RS485, by data temporary storage at compressed air station GPRS from the buffer zone of module;
Described serial acquisition device for auditing flow integrator and heating plant GPRS from the communication data between module, and converts data to the MODBUS agreement RTU form of standard, is then transferred to heating plant GPRS from module by RS485; This audits process does not affect flow integrator and heating plant GPRS from the communication between module.
Described current sensor, by the size of current of mutual inductance principle induction line, adopts two-wire system connection to export, the current signal of 4-20mA;
Described pressure transducer, for the pressure of the pressure and heating plant gas pipe line hot gas that detect air compressor output squeezing air, adopts two-wire system connection, exports the current signal of 4-20mA;
Described temperature sensor, for detecting the hot air temperature value from cogeneration plant's conveying, adopts two-wire system connection, exports 4-20mA current signal.
Described flowmeter, for detecting from the hot gas of cogeneration plant's conveying by the instantaneous delivery of pipeline, adopts two-wire system connection, exports the current signal of 4-20mA to flow integrator;
Described flow integrator is used for gathering from the flowmeter instantaneous delivery of gas pipe line collection, temperature sensing actuator temperature, pressure transducer pressure signal, and instantaneous delivery added up the flux cumulating value as pipeline according to certain algorithm, and flux cumulating value, force value, temperature information are transferred to heating plant GPRS from module.
The method for supervising of the long distance control system of described tobacco sheet production line, mainly comprises the steps:
Step (1): start; Data monitoring layer adopts the first data collision disposal route to send inquiry instruction respectively to the compressed air station of tobacco sheet production line, heating plant by GPRS primary module;
Step (2): compressed air station, the heating plant GPRS of tobacco sheet production line receive inquiry instruction from module, and send inquiry instruction to data collection layer;
Step (3): data collection layer receives inquiry instruction, confirm errorless after send to compressed air station, heating plant GPRS from module with MODBUS protocol format the data of collection;
Step (4): the data acquisition layer data received is transferred to GPRS primary module by GPRS network from module by compressed air station, the heating plant GPRS of tobacco sheet production line;
Step (5): the data received send to data monitoring layer to carry out the second data collision process and Data Format Transform, storage showing by GPRS primary module; Terminate.
The concrete steps of described step (1) are as follows:
Step (1-1): start; Communications parameter is arranged, and described parameter comprises baud rate or PORT COM;
Step (1-2): judge whether PORT COM is opened, if just enter step (1-3); Be exactly that serial communication is invalid if not, return step (1-2);
Step (1-3): timer adds 0.5 second; Judge that whether timer is by 5 seconds, if just enter step (1-4), just enter step (1-5) if not;
Step (1-4): judge that whether timer is by 10 seconds, returns step (1-3) if reset with regard to timer; Just enter step (1-6) if not;
Step (1-5): arrange reception 25 bytes, produces OnComm event, sends data inquiry instruction to compressed air station GPRS from module; Compressed air station inquiry instruction is determined whether according to website number; If so, compressed air station sends compressed air station data to GPRS primary module; Just return step (1-3) if not;
Step (1-6): reception 51 bytes are set and produce OnComm event, data inquiry instruction is sent to heating plant GPRS from module, heating plant inquiry instruction is determined whether according to website number, if, heating plant sends heating plant data to GPRS primary module and terminates, and just returns step (1-3) if not.
The concrete steps of described step (5) are:
Step (5-1): GPRS primary module receives compressed air station and heating plant data;
Step (5-2): GPRS primary module receives data and puts into buffer zone;
Step (5-3): judge whether the data the first two byte received is markup character, if just enter step (5-4); If not just by the rejection of data of buffer zone, emptying buffer, and enter step (5-2);
Step (5-4): receive whether data station period is compressed air station, if just enter step (5-5); Just enter step (5-6) if not;
Step (5-5): judge whether the byte length receiving data is 12, if just data are extracted and translates data formats, be stored in database, and enter step (5-7), if not just by the rejection of data of buffer zone, emptying buffer enters step (5-2);
Step (5-6): judge to receive whether data station period is heating plant, if just enter step (5-8), if not, just by the rejection of data of buffer zone, emptying buffer also returns step (5-2);
Step (5-7): judge whether receive data exceeds early warning range, if just remind monitor staff's compressed air station data exception by warning lamp, stereo set and SMS, enter step (5-10), if not, just directly enter step (5-10);
Step (5-8): judge whether the byte length receiving data is 40, if data are just extracted and translates data formats by data monitoring layer, be stored in database, enter step (5-9), if not just by the rejection of data of buffer zone, emptying buffer; Return step (5-2);
Step (5-9): judge that whether receive data exceeds early warning range, if just remind monitor staff's compressed air station data exception by pilot lamp, stereo set and SMS, enters step (5-10); If not, just directly step (5-10) is entered;
Step (5-10): calling data storehouse heating plant and compressed air station data are presented at server, terminates.
Beneficial effect of the present invention:
1 overcomes the restriction that geographic position disperses, wiring cost is high, has the advantages such as maintenance cost is low, reliability is high, expense is reasonable, is conducive to carrying out real-time data acquisition and centralized control to the Site Detection point of unmanned, dispersion.
2 system real-time onlines, automatically make a copy of the data of tobacco sheet production line compressed air station and heating plant, treated generation order of classes or grades at school, day, the moon compressed air station total current, water pump electric current, the pressure of air compressor output squeezing air and the various form such as flux cumulating value, order of classes or grades at school hot gas use amount, temperature, pressure of heating plant hot gas.
The ruuning situation of 3 pairs of tobacco sheet production line compressed air stations and heating plant carries out Real-Time Monitoring, can sets itself bound, can report to the police timely when the total current of compressed air station, water pump electric current, compressed air pressure and heating plant temperature, pressure and other parameters occur abnormal, can to be given the alarm the tinkle of bells by the alarm device of Surveillance center on the one hand, light warning indicator light; Also alarm signal can be sent on the mobile phone of managerial personnel on the other hand.
4 systems adopt modular design, and transfer rate is fast, and antijamming capability is strong, conveniently realizes the expansion of module simultaneously, are convenient to safeguard.
5 system servers support that WEB shares, and facilitate managerial personnel realize management, inquiry by INTERNET and safeguard.
Accompanying drawing explanation
Fig. 1 is system structural framework figure;
Fig. 2 is entire system process flow diagram;
Fig. 3 is the flow process that process inquiry instruction sends conflict;
Fig. 4 is the flow process that the process of data monitoring layer receives data.
Wherein, 1, warning device, 2, ups power, 3, server, 4, printer, 5, GPRS primary module, 6, compressed air station GPRS is from module, 7, heating plant GPRS from module, 8, AD data acquisition unit, 9, current sensor, 10, pressure transducer, 11, serial acquisition device, 12, flow integrator, 13, flowmeter, 14, temperature sensor.
Embodiment
Below in conjunction with accompanying drawing and embodiment, the invention will be further described.
As shown in Figure 1, the long distance control system of tobacco sheet production line, mainly comprises data monitoring layer, data transfer layer and data collection layer; Described data monitoring layer and data transfer layer two-way communication, described data transfer layer and data collection layer two-way communication;
Described data monitoring layer comprises server 3, and described server 3 is connected with warning device 1, printer 4 and ups power 2 respectively;
Described server is used for the Distant supervision and control being realized system by system display interface, and the WEB that simultaneously can realize data shares, and facilitates managerial personnel to realize telemanagement, data query.
Described ups power 2 provides stable electric energy for server 3, prevents accident power-off on the impact of system and server;
Described printer 4 for print statistics daily sheet, the moon form;
Described warning device 1 comprises alarm lamp, stereo set and mobile phone, and described mobile phone is sent on the mobile phone of responsible official on duty by SMS.
Described data transfer layer comprises GPRS primary module 5, described GPRS primary module 5 and compressed air station GPRS from module 6 and heating plant GPRS from module 7 two-way communication, described GPRS primary module 5 also with the two-way communication of described server 3;
Described GPRS primary module 5 for receive server data inquiry instruction after, inquiry instruction is sent to the compressed air station of tobacco sheet production line and heating plant GPRS from module by GPRS network; Receive the monitor data that the compressed air station of tobacco sheet production line and heating plant GPRS transmit from module, and send the data of reception to server by RS232 and carry out processing and storing.
When described compressed air station GPRS is the address of compressed air station module from module 6 for the address corresponding when the inquiry instruction and this instruction that are received the transmission of GPRS primary module by GPRS network, compressed air station GPRS is transferred to GPRS primary module the pressure signal of the compressed air station water pump electric current, total current and the air compressor delivery air that store in data storage areas by GPRS network from module.
When described heating plant GPRS is the address of heating plant module from module 7 for the address corresponding when the inquiry instruction and this instruction that are received the transmission of GPRS primary module by GPRS network, heating plant GPRS is transferred to GPRS primary module the flux cumulating value of the heating plant hot gas stored in data storage areas, temperature and pressure by GPRS network from module.
Described data collection layer comprises AD data acquisition unit 8 and serial acquisition device 11, described AD data acquisition unit 8 and compressed air station GPRS are from module 6 two-way communication, described serial acquisition device 11 and heating plant GPRS are from module 7 two-way communication, described AD data acquisition unit 8 also gathers the analog signals of some current sensors 9, pressure transducer 10, described serial acquisition device 11 gathers flow integrator 12 information, and described flow integrator 12 receives the information from flowmeter 13, pressure transducer 10, temperature sensor 14.
Described AD data acquisition unit 8 is converted to digital quantity signal for 4-20mA analog signals current sensor and pressure transducer transmitted, then single-chip microcomputer converts data to MODBUS agreement RTU form, export to compressed air station GPRS from module by RS485, by data temporary storage at compressed air station GPRS from the buffer zone of module.
Described serial acquisition device 11 for auditing flow integrator and heating plant GPRS from the communication data between module, and converts data to the MODBUS agreement RTU form of standard, is then transferred to heating plant GPRS from module by RS485.This audits process does not affect flow integrator and heating plant GPRS from the communication between module.
Described current sensor 9, by the size of current of mutual inductance principle induction line, adopts two-wire system connection to export, the current signal of 4-20mA.
Described pressure transducer 10, for the pressure of the pressure and heating plant gas pipe line hot gas that detect air compressor output squeezing air, adopts two-wire system connection, exports the current signal of 4-20mA.
Described flowmeter 13, for detecting from the hot gas of cogeneration plant's conveying by the instantaneous delivery of pipeline, adopts two-wire system connection, exports the current signal of 4-20mA to flow integrator.
Described flow integrator 12 is for gathering from the flowmeter instantaneous delivery of gas pipe line collection, temperature sensing actuator temperature, pressure transducer pressure signal, and instantaneous delivery added up the flux cumulating value as pipeline according to certain algorithm, and by information transmission such as flux cumulating value, force value, temperature to heating plant GPRS from module.
As shown in Figure 2, the method for supervising of the long distance control system of tobacco sheet production line, mainly comprises the steps:
Step (1): start; Data monitoring layer sends inquiry instruction by GPRS primary module 5 to compressed air station, heating plant;
Step (2): compressed air station, heating plant GPRS receive inquiry instruction from module 7, and send inquiry instruction to data collection layer;
Step (3): data collection layer receives inquiry instruction, confirm errorless after send to compressed air station, heating plant GPRS from module with MODBUS protocol format the data of collection;
Step (4): the data acquisition layer data received is transferred to GPRS primary module 5 by GPRS network from module 7 by compressed air station, heating plant GPRS;
Step (5): the data received send to data monitoring layer to carry out processing, storing and show by GPRS primary module 5; Terminate.
As shown in Figure 3, the concrete steps of described step (1) are as follows:
Step (1-1): start; Communications parameter is arranged, and described parameter comprises baud rate or PORT COM;
Step (1-2): judge whether PORT COM is opened, if just enter step (1-3); Be exactly that serial communication is invalid if not, return step (1-2);
Step (1-3): timer adds 0.5 second; Judge that whether timer is by 5 seconds, if just enter step (1-4), just enter step (1-5) if not;
Step (1-4): judge that whether timer is by 10 seconds, returns step (1-3) if reset with regard to timer; Just enter step (1-6) if not;
Step (1-5): arrange reception 25 bytes, produces OnComm event, sends data inquiry instruction to compressed air station GPRS from module; Compressed air station inquiry instruction is determined whether according to website number; If so, compressed air station sends compressed air station data to GPRS primary module 5; Just return step (1-3) if not;
Step (1-6): reception 51 bytes are set and produce OnComm event, data inquiry instruction is sent to heating plant GPRS from module, heating plant inquiry instruction is determined whether according to website number, if, heating plant sends heating plant data to GPRS primary module 5 and terminates, and just returns step (1-3) if not.
As shown in Figure 4, the concrete steps of described step (5) are:
Step (5-1): GPRS primary module 5 receives compressed air station and heating plant data;
Step (5-2): GPRS primary module 5 receives data and puts into buffer zone;
Step (5-3): judge whether the data the first two byte received is markup character, if just enter step (5-4); If not just by the rejection of data of buffer zone, emptying buffer, and enter step (5-2);
Step (5-4): receive whether data station period is compressed air station, if just enter step (5-5); Just enter step (5-6) if not;
Step (5-5): judge whether the byte length receiving data is 12, if just data are extracted and translates data formats, be stored in database, and enter step (5-7), if not just by the rejection of data of buffer zone, emptying buffer enters step (5-2);
Step (5-6): judge to receive whether data station period is heating plant, if just enter step (5-8), if not, just by the rejection of data of buffer zone, emptying buffer also returns step (5-2);
Step (5-7): judge whether receive data exceeds early warning range, if just remind monitor staff's compressed air station data exception by warning lamp, stereo set and SMS, enter step (5-10), if not, just directly enter step (5-10);
Step (5-8): judge whether the byte length receiving data is 40, if data are just extracted and translates data formats by data monitoring layer, be stored in database, enter step (5-9), if not just by the rejection of data of buffer zone, emptying buffer; Return step (5-2);
Step (5-9): judge that whether receive data exceeds early warning range, if just remind monitor staff's compressed air station data exception by pilot lamp, stereo set and SMS, enters step (5-10); If not, just directly step (5-10) is entered;
Step (5-10): calling data storehouse heating plant and compressed air station data are presented at server picture, terminates.
This system mainly divides three layers, is respectively data monitoring layer, data transfer layer and data collection layer, and its system architecture diagram as shown in Figure 1.Each interlayer equipment interface follows RS-485 standard, carries out serial communication by MODBUSRTU communications protocol.
Data monitoring layer: in systems in which as main website, select server 3 for data monitoring device, and be connected with printer 4 and warning device 1, ups power 2 provides stable electric energy for server 3, prevents accident power-off on the impact of system and main frame; Printer 4 for print statistics daily sheet, the moon form etc.; Warning device 1 comprises alarm lamp, stereo set and mobile phone, and the mobile phone that described mobile phone is sent to responsible official on duty by SMS is first-class.Major function sends data request command or data configuration commands by GPRS primary module 5 to slave stations such as heating plant and compressed air station data collection layers, the real-time running data of request msg acquisition layer or the service data of change data collection layer, data are shown in real time, store, history report inquiry, printing etc. so that staff checks real time data in data server 3 and historical data at any time.In addition, server 3 is also connected with the office management system of enterprise, facilitates managerial personnel to manage.
Data transfer layer: main employing GPRS remote terminal, GPRS remote terminal is provided with respectively at the data collection layer of data monitoring layer and compressed air station and heating plant, rely on the wide coverage of China Mobile GSM network resource, the wireless data transmission channel that always online, communication quality high provides a kind of fast and reliable, the real-time packet transmission between primary responsibility data monitoring layer and data collection layer.
Data collection layer: in systems in which as slave station, the order of real-time response data monitoring layer, and the execution result of return command.Compressed air station needs pressurized air real-time pressure three data being gathered the output of the total current in compressed air station loop, the running current of pump motor and air compressor by current sensor 9 and pressure transducer 10 respectively, and carried out data acquisition by AD data acquisition unit 8, analog data is converted to digital quantity signal, be converted to MODBUSRTU communications protocol form again, communicated with data monitoring layer by GPRS module.Heating plant needs real-time traffic, pressure and temperature three amount by flowmeter 13, pressure transducer 10 and temperature sensor 14 difference acquiring heat supply pipeline, receive real-time traffic, pressure and temperature signal by flow integrator 12 simultaneously, integration accumulation computing is carried out to real-time traffic, and real-time online convection cell temperature, pressure compensate, calculate its integrated flux, then by GPRS remote terminal, data are sent to Utilities Electric Co..Meanwhile because on-the-spot flow integrator 12 only has a serial communication mouth, in order to solve the communication conflict of two GPRS module, follow again during the GPRS communication with data monitoring layer and increase a serial acquisition device 11, the TXD end of flow integrator 12 is received by a RXD order wire in parallel, audit the communication data of Thermal Corp's GPRS module and flow integrator 12, serial acquisition device 11 is also stored in internal register after the data audited being converted to the MODBUSRTU communication protocol of standard, just GPRS remote terminal is transferred to by RS485 communication port when data monitoring layer sends inquiry instruction, read for data monitoring layer.
2. system
(1) entire system flow scheme design
In software control system, VB6.0 (MicrosoftVisualBasic6.0) programming software the server 3 of Surveillance center is equipped with, serial data transmitting/receiving program is developed by VB6.0, the uninterrupted poll of 24h every day and the information of collecting from each tracking telemetry and command station, draw friendly man-machine interface, real-time monitoring display is respectively stood data, and carries out file record to data, upon occurrence of an emergency situation, system automatic alarm.
System uses Microsoft company to provide ActiveX control MSComm in VB6.0, develops the program of by serial ports, each website being carried out to real-time data acquisition.This communication control changes object properties, sends message and writes response code for object event, can facilitate serial communication between completing user application program to object, both api function all functions can be realized, make again programming efficiency improve, application function strengthens, and program is simple and clear.
System adopts Modbus communication protocol, Modbus agreement is a request/response protocol, be a kind of application layer Message Protocol, provide the service that function code specifies, this agreement is used for the server/client communication between the equipment of dissimilar bus or network connection.RTU and ASCII two kinds of modes are supported in Modbus communication, by computer settings ASCII or RTU mode, and serial communication parameter (baud rate, verification mode etc.).When configuring each controller, all devices on same Modbus network all must select identical serial ports parameter and transmission mode.
When Software for Design form, usually use Report Designer or third-party product to complete, and exported by ActiveX control.Herein by the control handle of the ole automation technical limit spacing Excel2003 of VB, thus the sequence of operations of direct control Excel2003.
Calling excel control in VB6.0 design process, essence is quoted as an external object by Excel, and Excel object model provides and can carry out the object of modularization manipulation from VB6.0 application program inside with and related methods, attribute and event.
The overall flow of system as shown in Figure 2.
Because the GPRS primary module 5 of data monitoring layer carries out data communication with compressed air station and heating plant two GPRS module simultaneously, after transmission inquiry instruction, due to the time delay of GPRS network, the data of compressed air station and heating plant collection can not be transferred to data monitoring layer in time, data collision may be there is and obliterated data during two GPRS submodule data receivers, in addition due to compressed air station and heating plant to accept byte number different, easily destroy packet after receiving the data of compressed air station and heating plant simultaneously, affect follow-up process.In order to make monitoring data transmission stable and convenient data processing, avoid the loss of data caused in data reception process, we devise a kind of effective scheme, namely when sending inquiry instruction, with 10 seconds for the cycle, in first 5 seconds, send inquiry instruction to compressed air station GPRS module, and the byte number arranging the reception of generation OnComm event is 25, within first 5 seconds, often receive 25 bytes just to set out an OnComm event, and process follow-up data; Within latter 5 seconds, send inquiry instruction to heating plant GPRS module, and arrange that to produce the byte number that OnComm event receives be 51, within so first 5 seconds, often receive 51 bytes and just to set out an OnComm event, and process follow-up data.Flow process as shown in Figure 3.
As shown in Figure 4, for the process of data monitoring layer receives the flow process of data.
By reference to the accompanying drawings the specific embodiment of the present invention is described although above-mentioned; but not limiting the scope of the invention; one of ordinary skill in the art should be understood that; on the basis of technical scheme of the present invention, those skilled in the art do not need to pay various amendment or distortion that creative work can make still within protection scope of the present invention.

Claims (2)

1. the long distance control system of tobacco sheet production line, is characterized in that, comprising:
Data collection layer, the inquiry instruction being responsible for issuing according to data monitoring layer gathers flux cumulating value, force value, the temperature correlation data of the Air Pressure Station of tobacco sheet production line, current data and heating plant, and data are uploaded to data monitoring layer by data transfer layer;
Data transfer layer, is responsible for the data that collected by data collection layer and is transferred to data monitoring layer, simultaneously to the inquiry command of the data monitoring layer received to data collection layer;
Data monitoring layer, is responsible for the data that reception data transfer layer transmits, and then adopts data collision disposal route to carry out clash handle to data, and monitors data result, prints or report to the police, issue inquiry instruction to data collection layer;
Described data monitoring layer comprises server, and described server is connected with warning device, printer and ups power respectively;
Described server is used for the Distant supervision and control being realized system by system display interface, and the WEB that simultaneously can realize data shares, and facilitates managerial personnel to realize telemanagement, data query;
Described ups power provides stable electric energy for server, prevents accident power-off on the impact of system;
Described printer for print statistics daily sheet, the moon form;
Described warning device comprises alarm lamp, stereo set and mobile phone, and described mobile phone is sent on the mobile phone of responsible official on duty by SMS;
Described data transfer layer comprises GPRS primary module, the compressed air station GPRS of described GPRS primary module and tobacco sheet production line from the heating plant GPRS of module and tobacco sheet production line from module two-way communication, described GPRS primary module also with described server two-way communication;
Described GPRS primary module for receive server data inquiry instruction after, inquiry instruction is sent to the compressed air station of tobacco sheet production line and heating plant GPRS from module by GPRS network; Receive the monitor data that the compressed air station of tobacco sheet production line and heating plant GPRS transmit from module, and send the data of reception to server by RS232 and carry out processing and storing;
Described compressed air station GPRS is from module when the address that the inquiry instruction and this instruction that are received the transmission of GPRS primary module by GPRS network are corresponding is the address of compressed air station module, and compressed air station GPRS is transferred to GPRS primary module the pressure signal of the compressed air station water pump electric current, total current and the air compressor delivery air that store in data storage areas by GPRS network from module;
Described heating plant GPRS is used for when the address that the inquiry instruction and this instruction that are received the transmission of GPRS primary module by GPRS network are corresponding is the address of heating plant module from module, and heating plant GPRS is transferred to GPRS primary module the flux cumulating value of the heating plant hot gas stored in data storage areas, temperature and pressure by GPRS network from module;
Described data collection layer comprises AD data acquisition unit and serial acquisition device, described AD data acquisition unit and compressed air station GPRS are from module two-way communication, described serial acquisition device and heating plant GPRS are from module two-way communication, described AD data acquisition unit gathers the analog signals of some current sensors, pressure transducer, described serial acquisition device gathers flow integrator information, and described flow integrator receives the information from flowmeter, pressure transducer, temperature sensor;
The 4-20mA analog signals that described AD data acquisition unit is used for current sensor and pressure transducer to transmit is converted to digital quantity signal, then single-chip microcomputer converts data to MODBUS agreement RTU form, export to compressed air station GPRS from module by RS485, by data temporary storage at compressed air station GPRS from the buffer zone of module;
Described serial acquisition device for auditing flow integrator and heating plant GPRS from the communication data between module, and converts data to the MODBUS agreement RTU form of standard, is then transferred to heating plant GPRS from module by RS485; This audits process does not affect flow integrator and heating plant GPRS from the communication between module;
Described current sensor, by the size of current of mutual inductance principle induction line, adopts two-wire system connection, exports the current signal of 4-20mA;
Described pressure transducer, for the pressure of the pressure and heating plant gas pipe line hot gas that detect air compressor output squeezing air, adopts two-wire system connection, exports the current signal of 4-20mA;
Described temperature sensor, for detecting the hot air temperature value from cogeneration plant's conveying, adopts two-wire system connection, exports 4-20mA current signal;
Described flowmeter, for detecting from the hot gas of cogeneration plant's conveying by the instantaneous delivery of pipeline, adopts two-wire system connection, exports the current signal of 4-20mA to flow integrator;
Described flow integrator is used for gathering from the flowmeter instantaneous delivery of gas pipe line collection, temperature sensing actuator temperature, pressure transducer pressure signal, and instantaneous delivery added up the flux cumulating value as pipeline according to certain algorithm, and flux cumulating value, force value, temperature information are transferred to heating plant GPRS from module.
2., as the method for supervising of the long distance control system of above-mentioned tobacco sheet production line according to claim 1, it is characterized in that, mainly comprise the steps:
Step (1): start; Data monitoring layer adopts the first data collision disposal route to send inquiry instruction respectively to the compressed air station of tobacco sheet production line, heating plant by GPRS primary module; The concrete steps of described step (1) are as follows:
Step (1-1): start; Communications parameter is arranged, and described parameter comprises baud rate or PORT COM;
Step (1-2): judge whether PORT COM is opened, if just enter step (1-3); Be exactly that serial communication is invalid if not, return step (1-2);
Step (1-3): timer adds 0.5 second; Judge that whether timer is by 5 seconds, if just enter step (1-4), just enter step (1-5) if not;
Step (1-4): judge that whether timer is by 10 seconds, returns step (1-3) if reset with regard to timer; Just enter step (1-6) if not;
Step (1-5): arrange reception 25 bytes, produces OnComm event, sends data inquiry instruction to compressed air station GPRS from module; Compressed air station inquiry instruction is determined whether according to website number; If so, compressed air station sends compressed air station data to GPRS primary module; Just return step (1-3) if not;
Step (1-6): reception 51 bytes are set and produce OnComm event, data inquiry instruction is sent to heating plant GPRS from module, heating plant inquiry instruction is determined whether according to website number, if, heating plant sends heating plant data to GPRS primary module and terminates, and just returns step (1-3) if not;
Step (2): compressed air station, the heating plant GPRS of tobacco sheet production line receive inquiry instruction from module, and send inquiry instruction to data collection layer;
Step (3): data collection layer receives inquiry instruction, confirm errorless after send to compressed air station, heating plant GPRS from module with MODBUS protocol format the data of collection;
Step (4): the data acquisition layer data received is transferred to GPRS primary module by GPRS network from module by compressed air station, the heating plant GPRS of tobacco sheet production line;
Step (5): the data received send to data monitoring layer to carry out the second data collision process and Data Format Transform, storage showing by GPRS primary module; Terminate; The concrete steps of described step (5) are:
Step (5-1): GPRS primary module receives compressed air station and heating plant data;
Step (5-2): GPRS primary module receives data and puts into buffer zone;
Step (5-3): judge whether the data the first two byte received is markup character, if just enter step (5-4); If not just by the rejection of data of buffer zone, emptying buffer, and enter step (5-2);
Step (5-4): receive whether data station period is compressed air station, if just enter step (5-5); Just enter step (5-6) if not;
Step (5-5): judge whether the byte length receiving data is 12, if just data are extracted and translates data formats, be stored in database, and enter step (5-7), if not just by the rejection of data of buffer zone, emptying buffer enters step (5-2);
Step (5-6): judge to receive whether data station period is heating plant, if just enter step (5-8), if not, just by the rejection of data of buffer zone, emptying buffer also returns step (5-2);
Step (5-7): judge whether receive data exceeds early warning range, if just remind monitor staff's compressed air station data exception by warning lamp, stereo set and SMS, enter step (5-10), if not, just directly enter step (5-10);
Step (5-8): judge whether the byte length receiving data is 40, if data are just extracted and translates data formats by data monitoring layer, be stored in database, enter step (5-9), if not just by the rejection of data of buffer zone, emptying buffer; Return step (5-2);
Step (5-9): judge that whether receive data exceeds early warning range, if just remind monitor staff's heating plant data exception by pilot lamp, stereo set and SMS, enters step (5-10); If not, just directly step (5-10) is entered;
Step (5-10): calling data storehouse heating plant and compressed air station data are presented at server, terminates.
CN201310374206.6A 2013-08-23 2013-08-23 The long distance control system of tobacco sheet production line and method for supervising Active CN103454999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310374206.6A CN103454999B (en) 2013-08-23 2013-08-23 The long distance control system of tobacco sheet production line and method for supervising

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310374206.6A CN103454999B (en) 2013-08-23 2013-08-23 The long distance control system of tobacco sheet production line and method for supervising

Publications (2)

Publication Number Publication Date
CN103454999A CN103454999A (en) 2013-12-18
CN103454999B true CN103454999B (en) 2016-04-06

Family

ID=49737488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310374206.6A Active CN103454999B (en) 2013-08-23 2013-08-23 The long distance control system of tobacco sheet production line and method for supervising

Country Status (1)

Country Link
CN (1) CN103454999B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105022313A (en) * 2014-05-07 2015-11-04 奚涛 Multipath data acquisition control module
CN104133453B (en) * 2014-07-31 2017-01-18 武钢集团昆明钢铁股份有限公司 Hot-rolled ribbed steel bar data polling wireless transmission system and method thereof
CN106341484B (en) * 2016-09-29 2019-09-13 宁波舜宇智能科技有限公司 Equipment management system and method
CN108319212A (en) * 2018-01-02 2018-07-24 武汉钢铁工程技术集团有限责任公司 Energy information acquisition method applied to cigarette factory and energy information system of cigarette factory
CN109441794A (en) * 2018-11-23 2019-03-08 广州能源检测研究院 One kind being based on internet air compressor machine efficiency on-line detecting system and detection method
CN109671176B (en) * 2018-12-11 2021-08-31 云南昆船设计研究院有限公司 Real-time data acquisition system and method for tobacco equipment inspection system
CN110208805A (en) * 2019-06-13 2019-09-06 南京亚兴为信息技术有限公司 A kind of tramcar obstacle detection method
CN111770059A (en) * 2020-06-01 2020-10-13 南大傲拓科技江苏股份有限公司 System for realizing communication between adaptive serial port communication software and remote GPRS (general packet radio service) equipment
CN113793489A (en) * 2021-08-24 2021-12-14 武汉捷成电力科技有限公司 Automatic monitoring and alarm system for industrial centralized heating remote metering

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508466A (en) * 2011-09-28 2012-06-20 哈尔滨工业大学 System for metering and charging construction heat and carrying out energy-saving monitoring by Internet of Things
CN102830681A (en) * 2012-06-21 2012-12-19 上海擎云物联网有限公司 Remote electric energy consumption data monitoring method and matching device thereof
CN202748664U (en) * 2012-09-25 2013-02-20 中国石油天然气集团公司 Remote oil well monitoring and managing system based on embedded technology and wireless network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508466A (en) * 2011-09-28 2012-06-20 哈尔滨工业大学 System for metering and charging construction heat and carrying out energy-saving monitoring by Internet of Things
CN102830681A (en) * 2012-06-21 2012-12-19 上海擎云物联网有限公司 Remote electric energy consumption data monitoring method and matching device thereof
CN202748664U (en) * 2012-09-25 2013-02-20 中国石油天然气集团公司 Remote oil well monitoring and managing system based on embedded technology and wireless network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于无线通信的密集烤房群远程监控系统;胡凤忠等;《计算机测量与控制》;20111130;第19卷(第11期);第2689-2691页 *
造纸法再造烟叶智能控制系统的设计研究;乔旭兴;《中国优秀硕士学位论文全文数据库 信息科技辑》;20120415(第4期);第I140-473页 *

Also Published As

Publication number Publication date
CN103454999A (en) 2013-12-18

Similar Documents

Publication Publication Date Title
CN103454999B (en) The long distance control system of tobacco sheet production line and method for supervising
CN100385874C (en) Integrative intelligent system of digitization community
CN210608698U (en) Intelligent box transformer substation online monitoring device based on LoRa technology
CN105467961A (en) Equipment operation and maintenance management system applicable to industrial enterprises
CN204883352U (en) Tobacco peculiar smell treatment facility running state remote monitering system
CN102270383A (en) Remote intelligent meter reading system
CN104898579A (en) Oil pumping well data acquisition control system and method based on wireless network
CN206332860U (en) LoRa gateways
CN203336704U (en) Concentrated heating family-based control system of smart mobile terminal
CN203502797U (en) Energy consumption monitor system for large-scale public building
CN107592285A (en) A kind of intelligent communication gateway device and its system
CN206946006U (en) A kind of small-sized weather station integral control system
CN102109394B (en) Multi-building united temperature area method heat metering system based on wireless temperature acquisition
CN105427569A (en) Intelligent meter reading system and meter reading method thereof
CN202268069U (en) Wireless automatic meter reading system
CN206041638U (en) Real -time supervision monitoring device of electric substation
CN202956654U (en) Remote monitoring equipment in sewage treatment operation
CN102096992A (en) OPC communication-based energy consumption monitoring system and building method thereof
CN214315494U (en) Industrial gateway device
CN202870598U (en) Enterprise heat-supply network monitoring system employing industrial wireless WIA technology
CN202617171U (en) Heat supply network remote monitoring system based on wireless sensor network
CN201698571U (en) Wireless fire alarm device
CN204946303U (en) Based on the wireless kilowatt meter reading-out system of novel DTU module
CN108415390A (en) Boiler expansion displacement real time on-line monitoring system and node networking method
CN203502793U (en) Remote monitoring device for tobacco sheet production line

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant