CN108986443A - A kind of pair of ladder valuation gas meter, flow meter remotely readjusted prices, data collection system and method - Google Patents

A kind of pair of ladder valuation gas meter, flow meter remotely readjusted prices, data collection system and method Download PDF

Info

Publication number
CN108986443A
CN108986443A CN201810919823.2A CN201810919823A CN108986443A CN 108986443 A CN108986443 A CN 108986443A CN 201810919823 A CN201810919823 A CN 201810919823A CN 108986443 A CN108986443 A CN 108986443A
Authority
CN
China
Prior art keywords
data
price
flow meter
price adjustment
gas meter
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.)
Withdrawn
Application number
CN201810919823.2A
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.)
BEIJING SPACEFLIGHT TUOPU HIGH TECHNOLOGY Co Ltd
Original Assignee
BEIJING SPACEFLIGHT TUOPU HIGH TECHNOLOGY 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 BEIJING SPACEFLIGHT TUOPU HIGH TECHNOLOGY Co Ltd filed Critical BEIJING SPACEFLIGHT TUOPU HIGH TECHNOLOGY Co Ltd
Priority to CN201810919823.2A priority Critical patent/CN108986443A/en
Publication of CN108986443A publication Critical patent/CN108986443A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention patent disclose a kind of pair of ladder valuation gas meter, flow meter remotely readjusted prices, data collection system and method, it include: CPU board card, intrinsic safety type data collecting plate card, power wire broadband carrier communication board, backboard, collector cabinet, LCD display and touch controlled key board, 4G communication unit, battery, charge/discharge unit, explosion-proof cabinet and the acquisition of a whole set of data and price adjustment method.The present invention can safely operate in each gas user scene, connect and acquire simultaneously monitoring, metering, valuation data and the equipment working state of multi-step ladder valuation gas meter, flow meter, data are uploaded to long-distance metering center in real time and receive the price adjustment and configuration order of measurement centre, so that the relevant staff of gas company can carry out the acquisition of centralized measure data and long-range price adjustment in ladder valuation gas meter, flow meter of the long-distance metering center to each user scene, to which timeliness, the accuracy, safety readjusted prices to a large number of users be effectively ensured, and save cost of labor.

Description

A kind of pair of ladder valuation gas meter, flow meter remotely readjusted prices, data collection system and method
Technical field
The invention patent relates to industrial data collection fields, and in particular to a kind of pair of ladder valuation gas meter, flow meter is remotely adjusted Valence, data collection system and method.
Background technique
In order to save, effective use natural gas, China has formulated and has put into effect the system and political affairs of natural gas " ladder gas price " Plan, and clearly to carry out in China, it is common to use the gas meter, flow meter for having ladder valuation functions carries out user and prestores the amount of money With ladder charging, have become the inexorable trend of gas metering and sale.It needs to develop a kind of pair of ladder valuation combustion gas as a result, The system and method that table is remotely readjusted prices, data acquire, are collected by muti-piece gas meter, flow meter of the device to user scene Middle data acquire, and data are uploaded to the long-distance metering center of gas company in real time.Long-distance metering center can readjust prices ladder Instruction and data is given user scene each gas meter, flow meter, without live artificial price adjustment, is effectively protected by described device real time down Timeliness, the accuracy, safety readjusted prices to a large number of users are demonstrate,proved, and saves cost of labor.
Summary of the invention
The invention patent be designed to provide it is a kind of to ladder valuation gas meter, flow meter is remotely readjusted prices, data acquisition is System and method safely operate in each gas user scene by described device, while connecting and acquiring the valuation combustion of multi-step ladder Data, are uploaded to long-distance metering center in real time and receive meter by monitoring, metering, valuation data and the equipment working state of gas meter The price adjustment and configuration order at amount center.
To achieve the goals above, the technical scheme is that
A kind of pair of ladder valuation gas meter, flow meter remotely readjusted prices, data collection system, including setting shows in each gas user The price adjustment of field and data acquisition device and the prepositive communication computer that gas company long-distance metering center is set, wherein the price adjustment It include: the CPU board card installed in collector cabinet, intrinsic safety type data collecting plate card, broadband over power line with data acquisition device Carrier communication board, backboard, collector cabinet are mounted in explosion-proof cabinet, are equipped with LCD display and touch-control in explosion-proof cabinet Key board, 4G communication unit, assigned on backboard intrinsic safety type data collecting plate card, power wire broadband carrier communication board and CPU board card, power wire broadband carrier communication board pass through the third party system of 220VAC power line and setting at the scene with electric power The mode of line bandwidth carrier carries out data communication, and CPU board card connects 4G communication unit and passes through mobile communications network and long-distance metering The prepositive communication computer at center carries out TCP/IP communication.
Scheme is further: the backboard uses the 2 × 16P connector and CPU board card, 1 to 3 piece of intrinsic safety type of DIN41612 Data collecting plate card, power wire broadband carrier communication board carry out plug type connection, and the CPU board card is same by spi bus When with intrinsic safety type data collecting plate card, power wire broadband carrier communication board carry out data communication.
Scheme is further: the intrinsic safety type data collecting plate card includes 2 data acquisition interfaces, each acquisition interface packet 1 RS485 communication interface and 1 DC power supply interface are included, intrinsic safety type data collecting plate card passes through four-wire system mode and live combustion gas Table is attached, and is carried out RS485 serial communication with it and is carried out 5~24VDC power supply to it, is each acquisition interface on board 2 LED light are configured, be respectively used to display RS485 interface transmits/receives state.
Scheme is further: the power wire broadband carrier communication board includes 2 bandwidth carrier communication interfaces, using giving The 220VAC power line of acquisition device power supply connects live third party system, is carried out therewith by way of power wire broadband carrier Data communication is realized that third party system acquires the data of described device, and can be set by 8 toggle switch on CPU board card Set the communication site of described device.
Scheme is further: the front of the explosion-proof cabinet has a tempered glass transparent window, LCD display and touching Control key board is mounted in window, and touch controlled key realizes that magnetic induction contacts by tongue tube, and body side is equipped with wire inlet/outlet hole, The outlet hole of upside 1 is used to draw the antenna connecting line of 4G communication unit, and the outlet hole of downside 1 is for introducing 220VAC power supply electricity Source line, each 4 outlet holes of left and right side are then used to draw live gas meter, flow meter, third party system connecting line.
A kind of pair of ladder valuation gas meter, flow meter remotely readjusted prices, collecting method, is a kind of number based on the system According to acquisition method, which is characterized in that the process of the method is as follows:
(1) after price adjustment and data acquisition device are switched on, 4G communication unit automatically accesses mobile communications network, with long-distance metering The prepositive communication computer at center passes through 2 TCP ports simultaneously and establishes long connection, and the first TCP port is adopted for the price adjustment and data Acquisition means acquire data to long-distance metering central transmission, and the second TCP port receives remote for the price adjustment and data acquisition device Journey measurement centre remotely readjusts prices, parameter configuration and mutually reads data;
(2) price adjustment and data acquisition device acquire the monitoring of each gas meter, flow meter by intrinsic safety type data collecting plate card in real time Data, and real-time detection price adjustment and data acquisition device oneself state data, are placed on the machine by defined address field for the two and post In storage, while being periodically deposited into local memory;
(3) price adjustment and data acquisition device are by the real time data in native registers, the history in local memory Data are packaged into data frame according to communication protocol, by Socket transmission mode, are uploaded to the communication at long-distance metering center in real time Front end processor;
(4) price adjustment, the time service, parameter setting instruction issued for long-distance metering center, the price adjustment and data acquisition dress It sets reception and the data frame is passed through into target gas meter, flow meter, and the feedback that gas meter, flow meter is replied according to the target site in data frame Data frame passes through long-distance metering center, reads instruction for the parameter that long-distance metering center issues, the price adjustment and data are adopted Acquisition means pass through target gas meter, flow meter in the same way, and gas meter, flow meter reply reply data frame is transmitted to long-distance metering center;
(5) after the prepositive communication computer at long-distance metering center receives data frame, data parsing is carried out according to communication protocol, it will The every acquisition data parsed carry out integrated data by the man-machine interface on work station and show and long-range price adjustment application;
(6) real time data in native registers is packaged by the price adjustment and data acquisition device according to communication protocol Data frame, by power wire broadband carrier communication link, real-time Transmission to live third party system, for its use.
Scheme is further: the price adjustment data that long-distance metering center issues are by " price value+verification calculating parameter+check code " Composition, the time service data issued are made of " time value+verification calculating parameter+check code ", and the parameter setting data issued is by " setting Definite value+verification calculating parameter+check code " composition, live gas meter, flow meter can use the " price value/time value/parameter in data frame The check code that setting value " and " verification calculating parameter " calculate in check code and data frame carries out numeric ratio pair, if unanimously, Then readjust prices/time service/parameter setting is legal, it can execute, if it is inconsistent, content is illegally distorted, refuses to execute.
Scheme is further: long-distance metering center issues the price value in price adjustment data, is acquired by the price adjustment and data Device is forwarded and is written in the price adjustment price setting data area of target gas meter, flow meter CPU card, in addition to price setting data area, gas meter, flow meter CPU card also has currently strike price data field, last price adjustment price data area, can pass through the tune by measurement centre Price, last price adjustment price and the residual amount that valence and data acquisition device currently execute gas meter, flow meter are acquired, To be connected for confirming whether this price adjustment succeeds, handles the metering data between this price adjustment and last price adjustment.
Scheme is further: the tune of target gas meter, flow meter is written by the price adjustment and data acquisition device for long-distance metering center Valence price data, including price version number, price type, the enabling time of price data, price data, each price adjustment data There is a unique price version number, the new price version number numerical value for readjusting prices data is greater than the price being carrying out before price adjustment The version number of data.
Scheme is further: the price type in the price adjustment price data can identify " by unit price valuation " or " by gas Measure ladder valuation " or " temporally ladder valuation ", the enabling time of price data is then used for the arrival of gas meter, flow meter Local clock should When the moment, enable by newly-installed price data, if enabling time before the time for receiving price adjustment data frame, combustion gas Table is immediately performed new price data after receiving price adjustment data frame, includes " conventional unit price " in price data, " presses tolerance ladder Price ", " temporally progressive price ", conventional unit price are a single price values, include each ladder section by tolerance progressive price Tolerance limit value and price value, temporally progressive price includes period and the price value in each stage.
The beneficial effects of the present invention are: the present invention can effectively realize that gas company valuates to the ladder for installing each user scene Gas meter, flow meter is remotely readjusted prices, data acquire, parameter setting.The price adjustment and data acquisition device have explosion-proof and communication capacity By force, functional cards flexible combination, safe, intelligent feature;The method flexibly, it is reliable, convenient for application, open and scalability It is good.
The present invention will be described in detail with reference to the accompanying drawings and examples.
Detailed description of the invention
Fig. 1 is system structure diagram of the invention;
Fig. 2 is that method of the invention executes block diagram;
Fig. 3 is system communication connection schematic diagram of the invention.
Specific embodiment
Embodiment 1:
A kind of pair of ladder valuation gas meter, flow meter remotely readjusted prices, data collection system, as shown in Figure 1, described includes being arranged In the price adjustment at each gas user scene and data acquisition device and the prepositive communication computer that gas company long-distance metering center is arranged in 14, wherein the price adjustment and data acquisition device include: that the CPU board card 1 installed in collector cabinet 7, intrinsic safety type data are adopted Collect board 2~4, power wire broadband carrier communication board 5, backboard 6;Collector cabinet 7 is mounted in explosion-proof cabinet 12, blasting-proof machine LCD display and touch controlled key board 8,4G communication unit 9, battery 10, charge/discharge unit 11 are also equipped in case.
Wherein: the ladder valuation gas meter, flow meter 20 is installed and operates in user and measure on the supply air line at scene, wherein in advance It deposits the amount of money and measured, valuate and deducted fees with gas with " progressive price " scheme;Described device has explosion-proof performance (explosion-proof mark It is essential safety+flame proof for II BT6 of Exd [ia], explosion-proof mode), each gas user metering scene is installed and operated in, is connected simultaneously Connect and acquire multi-step ladder valuation gas meter, flow meter 20 monitoring, metering, valuation and status data and be sent to it price adjustment, configuration refer to It enables;
Collector in described device is led to by CPU board card 1, intrinsic safety type data collecting plate card 2~4, power wire broadband carrier Believe that board 5, backboard 6, collector cabinet 7 form;
The backboard 6, for assigning CPU board card 1 and intrinsic safety type data collecting plate card 2~4 and power wire broadband carrier logical Believe board 5, and powers for it;
The intrinsic safety type data collecting plate card 2~4, for ladder valuation combustion gas to be connected and acquired in a manner of essential safety Table 20;
The power wire broadband carrier communication board 5 utilizes the 220VAC electric power powered to the pressure regulation and acquisition device Line connects live third party system, carries out data communication therewith by way of power wire broadband carrier;
The CPU board card 1, intrinsic safety type number are fixed and protected to the collector cabinet 7 for serving as the shell of collector According to analog input card 2~4, power wire broadband carrier communication board 5, backboard 6;
The CPU board card 1 connects each intrinsic safety type data collecting plate card 2~4, controls its data transmit-receive and realizes continuous data Acquisition, price adjustment and storage;Power wire broadband carrier communication board 5 is connected, it is controlled with live third party system 15 and carries out data Communication;LCD display and touch controlled key board 8 are connected, display data are sent and receives button operation instruction;Connect 4G communication unit Member 9 realizes that the data between the prepositive communication computer at long-distance metering center 14 are transmitted by mobile communications network 13, carries out TCP/IP Communication;Battery charging and discharging unit 11 is connected, realizes the detection to power supply state (220VAC power supply/battery is powered);
The LCD display and touch controlled key board 8, for described device the machine display acquisition data, control screen behaviour Work, running parameter setting etc.;
The 4G communication unit 9 is used for wireless access mobile communications network 13, establishes communication link with long-distance metering center 14 It connects, the acquisition data of described device is uploaded to measurement centre 14 in real time and the instruction issued sends described device to;
The battery 10, for being powered for described device in the case where the power supply of no 220VAC alternating current 16;
The charge/discharge unit 11, the charge and discharge management for the battery 10;
The explosion-proof cabinet 12 is packed into for serving as the shell of described device and the fixed collector 1~7, LCD is aobvious Display screen and touch controlled key board 8,4G communication unit 9, battery 10, charge/discharge unit 11.
In embodiment: the CPU board card 1 includes: processor, data storage, toggle switch, battery charging detection electricity Road, the interface with the interface of the interface of LCD display and touch controlled key board 8 and 4G communication unit 9 and backboard 6;Described Peace type data collecting plate card 2~4 includes: asynchronism transceiver, RS485 transceiver, isolated power supply, essential safety power supply circuit, sheet Matter safe communications circuit, the interface with the interface of live gas meter, flow meter 20 and backboard 6;The processor is arm processor;It is described Data storage is flash storage;The communication that the 4G communication unit 9 is led to using 4G the whole network, it is also backward compatible 3G/GPRS/CDMA communication mode;Toggle switch on the CPU board card 1 is 8;The ladder valuation gas meter, flow meter 20 passes through Its CPU card control device is realized valuation, charging, is supplemented with money.
In embodiment: by taking described device assembles 3 pieces of intrinsic safety type data collecting plate cards 2~4 as an example, passing through multi-channel data acquisition It connects simultaneously to interface " a bite is to a table " and concurrently acquires 6 live gas meter, flow meters 201~206.
In embodiment: described device is connected by power wire broadband carrier communication board 5 and live third party system 15 It connects and communicates, realize that third party system 15 acquires the data of described device, and 8 toggle switch on CPU board card 1 can be passed through The site of described device is set.
In embodiment: the backboard can connect 1 piece of CPU board card 1 and muti-piece intrinsic safety type data collecting plate card 2~4, electricity simultaneously Power line bandwidth carrier communication card 5 realizes that CPU board card 1, muti-piece intrinsic safety type data are adopted using 2 × 16P connector of DIN41612 Collect the plug type connection of board 2~4, power wire broadband carrier communication board 5 on backboard 6;CPU board card 1 passes through spi bus Data communication is carried out with multiple intrinsic safety type data collecting plate cards 2~4, power wire broadband carrier communication board 5 simultaneously.
In embodiment: each intrinsic safety type data collecting plate card 2~4, power wire broadband carrier communication board 5 include 2 A data acquisition interface, each acquisition interface include 1 RS485 communication interface (two-wire system) and 1 DC power supply interface (two wires System), by four-wire system mode with scene gas meter, flow meter 201~206 be attached, with its carry out RS485 serial communication and to its into 5~24VDC of row (voltage is adjustable) power supply;The RS485 communication interface, DC power supply interface are all essential safeties, and meet The regulation of GB3836 standard;It is that each acquisition interface configures 2 LED light on the intrinsic safety type data collecting plate card, is respectively used to Display RS485 interface transmits/receives state, bright when having data to transmit/receive, and does not go out then.
In embodiment: the CPU board card 1 by the LCD screen on 8 parallel ports and LCD display and touch controlled key board 8 into Row data communication is communicated by RS232 serial ports with GRPS/CDMA communication unit 9.
In embodiment: the touch controlled key on the LCD display and touch controlled key board 8 realizes magnetic induction by tongue tube Contact.
In embodiment: 9 accessing mobile communication network 13 of 4G communication unit and after getting IP address can be used as TCP Server opens simultaneously multiple TCP ports and connection is established at long-distance metering center 14.
In embodiment: the explosion-proof cabinet 12 is flame proof, meets the regulation of GB3836 standard.The front of cabinet has one A tempered glass transparent window, LCD display and touch controlled key board 8 are mounted in window, to realize LCD display in case It is visual and magnetic induction touch controlled key to operate.Explosion-proof case box 12 side 4 direction is equipped with wire inlet/outlet hole, upside 1 outlet hole is used to draw the antenna connecting line of 4G communication unit 9, and the outlet hole of downside 1 is for introducing 220VAC power supply Line, each 4 outlet holes of left and right side are then used to draw live gas meter, flow meter 201~206,15 connecting line of third party system.
In embodiment: the collector cabinet 7 is CPU board card 1, intrinsic safety type data collecting plate card 2~4, broadband over power line Carrier communication board 5 is provided with panel, be on panel each interface, indicator light, there are positions for toggle switch so as to wiring, check and Operation.
Embodiment 2:
A kind of pair of ladder valuation gas meter, flow meter remotely readjusted prices, collecting method, is based on system described in embodiment 1 A kind of remotely price adjustment and collecting method, therefore, the content in embodiment 1 also should be depending on doing the present embodiment content.
In long-range price adjustment and data acquisition, the price adjustment of 1 system of embodiment and data acquisition device are from each live gas meter, flow meter The data acquired in 201~206 include: gas supply and status real time monitor data, gas meter, flow meter CPU card control parameter, gas meter, flow meter work Parameter, gas meter, flow meter product export parameter;To live gas meter, flow meter 201~206 setting data include: price adjustment data, time service data, Parameter setting, site modification.
The gas supply and status real time monitor data specifically include that integrated flux, instantaneous flow, gaseous-pressure, combustion gas temperature The state of valve, pressure sensor, temperature sensor, volume correction instrument, battery dump energy etc. in degree and gas meter, flow meter;
The gas meter, flow meter CPU card control parameter specifically includes that gas meter, flow meter user number, location number, key version number, supplements letter with money Breath, price adjustment information etc.;
The gas meter, flow meter running parameter specifically includes that every gas supply parameter alarm limits, every gas componant Mole percent Content, integrated flux sampling period, integrated flux settlement time, every instrument coefficient etc.;
The gas meter, flow meter factory parameter specifically includes that the identification number (ID) of gas meter, flow meter, specifications and models;
The price adjustment data specifically include that in price adjustment type, price enabling time, price version number and progressive price Each section of ladder amount, price value;
The time service data specifically include that the time numerical value (date Hour Minute Second) for wanting time service to target gas meter, flow meter;
The parameter setting specifically includes that the parameter value that be arranged in target gas meter, flow meter;
The site modification, which specifically includes that, will be arranged to the new site value of target gas meter, flow meter.
The machine monitoring data of described device include: with the communication connection status of each live gas meter, flow meter 201~206 (it is normal/ Interrupt), power supply state (220VAC power supply/battery power supply).
The long-range price adjustment and collecting method mainly include following below scheme:
(1) after described device booting, 4G communication unit automatically accesses mobile communications network, the communication with long-distance metering center Front end processor passes through 2 TCP ports simultaneously and establishes long connection, and the first TCP port is used for described device to long-distance metering central transmission Data are acquired, the second TCP port is remote for described device Bidirectional transparent transmission (between long-distance metering center and each live gas meter, flow meter) Journey price adjustment, parameter configuration and reading data;
(2) described device acquires the monitoring data of each gas meter, flow meter by intrinsic safety type data collecting plate card in real time, and examines in real time Device oneself state data are surveyed, the two is placed in native registers by defined address field, while being periodically deposited into this In machine memory;
(3) described device is by the real time data in native registers, the historical data in local memory, according to communication rule It is about packaged into data frame, by Socket transmission mode, is uploaded to the prepositive communication computer at long-distance metering center in real time;
(4) price adjustment, the time service, parameter setting instruction issued for long-distance metering center, described device receive and according to numbers The data frame is passed through into target gas meter, flow meter according to the target site in frame, and the feedback data frame that gas meter, flow meter is replied is passed through far Journey measurement centre reads instruction for the parameter that long-distance metering center issues, and described device passes through target in the same way Gas meter, flow meter, and gas meter, flow meter reply reply data frame is transmitted to long-distance metering center;
(5) after the prepositive communication computer at long-distance metering center receives data frame, data parsing is carried out according to communication protocol, it will The every acquisition data parsed carry out integrated data by the man-machine interface on work station and show and long-range price adjustment application;
(6) real time data in native registers is packaged into data frame according to communication protocol, passes through electric power by described device Line width band carrier communication link, real-time Transmission to live third party system, for its use.
It is the further implementation procedure explanation to the method below:
The implementation procedure (as shown in Figure 2) of collecting method includes six key steps of S1~S6:
Step S1 establishes TCP long connection after described device booting with long-distance metering center 14 automatically.
Step S2, described device acquire the monitoring data of each live gas meter, flow meter 201~206, real-time detection the machine shape in real time The two is placed in native registers by defined address field, and is periodically deposited into local memory by state data.
Step S3, described device by the real time data in register described in step S2, the historical data in memory, on Reach long-distance metering center 14.
Step S4 reads the CPU card control parameter of each live gas meter, flow meter 201~206 for long-distance metering center 14, work is joined The communication data of number, factory parameter, described device carry out real-time transparent transmission.
Step S5 readjusts prices for long-distance metering center 14 to each live gas meter, flow meter 201~206, time service, parameter setting Communication data, described device carries out real-time transparent transmission.
Real time data in register described in step S2 is uploaded to live third party system by step S6, described device 15。
Each price adjustment of embodiment and acquisition step are described in detail below:
As shown in figure 3, in step sl, long-distance metering center 100 can establish TCP long with more described devices simultaneously and connect It connects, described device is used as TCP Client as TCP server, long-distance metering center 100.The present embodiment is with long-distance metering center For 100 (as TCP Clients) connect 2 acquisition devices (as TCP server) simultaneously, measurement centre is same with described device 2 TCP connection ports Shi Jianli (being TCP5001, TCP5002 respectively) carry out data frame transmitting-receiving by Socket.
In step S2~S6, the format of readings frame, reply data frame when poll is as shown in table 1-1, table 1-2.
Table 1-1 readings frame format
Table 1-2 reply data frame format
In step S3~S6, price adjustment, time service, setting when write several data frames, confirm data frame format such as table
Shown in 2-1, table 2-2.
Table 2-1 writes several data frame formats
Table 2-2 confirms data frame format
Wherein, " site " in several data frames is write described in readings frame, table 2-1 described in table 1-1, is the station of recipient Location;" site " in confirmation data frame described in reply data frame, table 2-2 described in table 1-2 is the site of sender.Default condition Under, the site of described device and each collected object is defined as shown in table 3-1.
The site of table 3-1 described device and each collected object defines
The site at described device and long-distance metering center is defined as shown in table 3-2.
The site at table 3-2 described device and long-distance metering center defines
Table 1-1, table 1-2, table 2-1, " function code " definition described in table 2-2 are as shown in table 4.
The definition of 4 function code of table
Table 1-1, table 1-2, table 2-1, " register address section " definition described in table 2-2 are as shown in table 5.In readings frame In, expression is read storage position of the data in recipient's register;In writing several data frames, expression will be write data into pair Position in square register, other side reply confirmation data frame in register address section content with write the complete phase of several data frames Together, indicate that other side is successfully written into the native registers address fragment position.
Register address section definition in 5 data frame of table
Serial number Title Numerical value length
1 Originating register address 2 bytes
2 Register number 2 bytes
Table 1-1, table 1-2, table 2-1, " data field length and content " definition described in table 2-2 are as shown in table 6.
6 data field length of table and content-defined
Serial number Title Numerical value length
1 Data field length 2 bytes
2 Data zone content 0~1017 byte
Table 1-1, table 1-2, table 2-1, the height byte order in data frame described in table 2-2 are as shown in table 7.
7 height byte order of table
In step S2~S6, (each register stores 2 to native registers of the acquisition data in each live gas meter, flow meter The data of byte) address field definition as shown in table 8-1, table 8-2, table 8-3, table 8-4, table 8-5, table 8-6, wherein CPU card parameter In the price adjustment data being written into, running parameter, time service, modification site register be not only writable but also can be read;Other deposits Device is read-only.
Table 8-1 gas supply and status real time monitor data register (read-only) address field
Table 8-2 CPU card control parameter register (part is writeable) location section
Table 8-3 running parameter register (readable writeable) address field
Table 8-4 factory parameter register (read-only) address field
Table 8-5 time service register (readable writeable) address field
Table 8-6 modifies site register (readable writeable) address field
In step S2~S3, (each register stores 2 bytes to the native registers of acquisition data in said device Data) address field define as shown in table 9-1, table 9-2.The register of table 9-1 be it is read-only, be used for long-distance metering central data institute State the real-time and historical data table in device.The register of table 9-2 be it is readable writeable, for long-distance metering center, the dress is set It sets and how long acquires a gas meter, flow meter data while acquiring how many gas meter, flow meter data, and read historical data every time Gas meter, flow meter is allowed to empty the how many historical datas being read afterwards.
Embodiment is by taking described device connects simultaneously and acquires 6 gas meter, flow meters as an example.
Table 9-1 described device data register (read-only) address field
Table 9-2 described device data register (is written into) address field
It is defined below in conjunction with format, the register address of data frame, to the data in embodiment in price adjustment and acquisition method Content frame is illustrated.
In step s 2, the data instance for the gas meter, flow meter for being 1 with polling mode acquisition site.The reading that described device is sent out Number data frame is as shown in table 11-1.
Table 10-1 readings frame
Gas meter, flow meter reply data frame is as shown in table 10-2.
Table 10-2 reply data frame
In step S31, long-distance metering center carries out data acquisition to each described device in a manner of poll, is sent to institute The readings frame of device is stated as shown in table 11-1.
Table 11-1 readings frame
In step s 32, it if the historical data in the round-robin queue of described device memory block has 2 or more, replys Data frame is as shown in table 11-2.
Table 11-2 reply data frame (including 2 historical datas)
In step s 32, if the historical data in the round-robin queue of described device memory block only has 1, reply data Frame is as shown in table 11-3.
Table 11-3 reply data frame (including 1 historical data)
In step s 32, if reply data frame is such as without historical data in the round-robin queue of described device memory block Shown in table 11-4.
Table 11-4 reply data frame (including 0 historical data)
In step S33, if long-distance metering center has received 2 historical datas, it is sent to described device really Data frame is recognized as shown in table 11-5, after described device receives the acknowledgement frame, i.e., 2 newest history is emptied from round-robin queue Data.
Table 11-5 writes several data frames (emptying 2 historical datas)
In step S33, if long-distance metering center has received 1 historical data, it is sent to described device really Data frame is recognized as shown in table 11-6, after described device receives the acknowledgement frame, i.e., 1 newest history is emptied from round-robin queue Data.
Table 11-6 writes several data frames (emptying 2 historical datas)
In step S33, if long-distance metering center has received only real time data without historical data, institute is not given It states device and sends confirmation data frame.
In step s 4, the gas meter, flow meter data instance that site is 1 is read by described device with long-distance metering center.
In step S41, the readings frame of described device transparent transmission measurement centre is as shown in table 12-1.
Table 12-1 readings frame
The reply data frame of transparent transmission gas meter, flow meter is as shown in table 12-2.
Table 12-2 reply data frame
In step S42, the readings frame of described device transparent transmission measurement centre is as shown in table 12-3.
Table 12-3 readings frame
The reply data frame of transparent transmission gas meter, flow meter is as shown in table 12-4.
Table 12-4 reply data frame
In step S43, the readings frame of described device transparent transmission measurement centre is as shown in table 12-5.
Table 12-5 readings frame
The reply data frame of transparent transmission gas meter, flow meter is as shown in table 12-6.
Table 12-6 reply data frame
In step s 5, data instance is write to the gas meter, flow meter that site is 1 by described device with long-distance metering center.
In step s 51, several data frames are write by described device transparent transmission measurement centre, as shown in the table 13-1.
Table 13-1 writes several data frames (price adjustment)
The confirmation data frame of transparent transmission gas meter, flow meter is as shown in table 13-2.
Table 13-2 confirms data frame (price adjustment)
In step S52, several data frames are write by described device transparent transmission measurement centre, as shown in table 13-3.
Table 13-3 writes several data frames (time service)
The confirmation data frame of transparent transmission gas meter, flow meter is as shown in table 13-4.
Table 13-4 confirms data frame (time service)
In step S53, several data frames are write by described device transparent transmission measurement centre, as shown in table 13-5.
Table 13-5 writes several data frames (parameter setting)
The confirmation data frame of transparent transmission gas meter, flow meter is as shown in table 13-6.
Table 13-6 confirms data frame (parameter setting)
In step S54, for the site of gas meter, flow meter is modified as 7, writing for described device transparent transmission measurement centre is several According to frame, as shown in table 13-7.
Table 13-7 writes several data frames (modification site)
The confirmation data frame (site has been modified to 7) of transparent transmission gas meter, flow meter is as shown in table 13-8.
Table 13-8 confirms data frame (modification site)
In step s 6, (by the dress for site of the described device to live third party system has been arranged to 2 Set toggle switch on CPU board card), while the data instance of 6 gas meter, flow meters of collection site.
In step S62, live third party system carries out data acquisition to each described device in a manner of poll, is sent to The readings frame of described device is as shown in table 14-1.
Table 14-1 readings frame
The reply data frame of described device is as shown in table 14-2.
Table 14-2 reply data frame
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is signal Property, it is not considered as limiting the invention, those skilled in the art are not departing from the principle of the present invention and objective In the case where can make changes, modifications, alterations, and variations to the above described embodiments within the scope of the invention.The scope of the present invention By appended claims and its equivalent limit.

Claims (10)

1. a kind of pair of ladder valuation gas meter, flow meter is remotely readjusted prices, data collection system, including setting is at each gas user scene Price adjustment and data acquisition device and the prepositive communication computer at gas company long-distance metering center is set, which is characterized in that it is described Price adjustment and data acquisition device include: the CPU board card installed in collector cabinet, intrinsic safety type data collecting plate card, power line Bandwidth carrier communication card, backboard, collector cabinet are mounted in explosion-proof cabinet, be equipped in explosion-proof cabinet LCD display and Touch controlled key board, 4G communication unit assign intrinsic safety type data collecting plate card, power wire broadband carrier communication board on backboard With CPU board card, power wire broadband carrier communication board passes through the third party system of 220VAC power line and setting at the scene with electricity The mode of power line bandwidth carrier carries out data communication, and CPU board card connects 4G communication unit and passes through mobile communications network and long-range meter The prepositive communication computer at amount center carries out TCP/IP communication.
2. it is according to claim 1 remotely readjusted prices to ladder valuation gas meter, flow meter, data collection system, feature exists In the backboard uses the 2 × 16P connector and CPU board card, 1 to 3 piece of intrinsic safety type data collecting plate card, electric power of DIN41612 Line width band carrier communication board carries out plug type connection, and the CPU board card is acquired with intrinsic safety type data simultaneously by spi bus Board, power wire broadband carrier communication board carry out data communication.
3. it is according to claim 1 remotely readjusted prices to ladder valuation gas meter, flow meter, data collection system, feature exists In the intrinsic safety type data collecting plate card includes 2 data acquisition interfaces, and each acquisition interface includes 1 RS485 communication interface With 1 DC power supply interface, intrinsic safety type data collecting plate card is attached by four-wire system mode and live gas meter, flow meter, is carried out with it RS485 serial communication simultaneously carries out 5~24VDC power supply to it, is that each acquisition interface configures 2 LED light on board, uses respectively State is transmitted/received in display RS485 interface.
4. it is according to claim 1 remotely readjusted prices to ladder valuation gas meter, flow meter, data collection system, feature exists In the power wire broadband carrier communication board includes 2 bandwidth carrier communication interfaces, utilizes what is powered to acquisition device 220VAC power line connects live third party system, carries out data communication therewith by way of power wire broadband carrier, realizes Third party system acquires the data of described device, and the logical of described device can be arranged by 8 toggle switch on CPU board card Believe site.
5. it is according to claim 1 remotely readjusted prices to ladder valuation gas meter, flow meter, data collection system, feature exists In the front of the explosion-proof cabinet has a tempered glass transparent window, and LCD display and touch controlled key board are mounted on window In mouthful, touch controlled key realizes that magnetic induction contacts by tongue tube, and body side is equipped with wire inlet/outlet hole, and the outlet hole of upside 1 is used for The antenna connecting line of 4G communication unit is drawn, the outlet hole of downside 1 is for introducing 220VAC power supply line, and left and right side each 4 Outlet hole is then used to draw live gas meter, flow meter, third party system connecting line.
It is based on system described in claim 1 6. a kind of pair of ladder valuation gas meter, flow meter is remotely readjusted prices, collecting method A kind of collecting method, which is characterized in that the process of the method is as follows:
(1) after price adjustment and data acquisition device are switched on, 4G communication unit automatically accesses mobile communications network, with long-distance metering center Prepositive communication computer pass through 2 TCP ports simultaneously and establish long connection, the first TCP port is for the price adjustment and data acquisition dress It sets to long-distance metering central transmission and acquires data, the second TCP port receives based on remotely by the price adjustment and data acquisition device It measures center remote price adjustment, parameter configuration and mutually reads data;
(2) price adjustment and data acquisition device acquire the monitoring number of each gas meter, flow meter by intrinsic safety type data collecting plate card in real time According to, and real-time detection price adjustment and data acquisition device oneself state data, the two is placed on the machine deposit by defined address field In device, while being periodically deposited into local memory;
(3) price adjustment and data acquisition device be by the real time data in native registers, the historical data in local memory, It is packaged into data frame according to communication protocol, by Socket transmission mode, the communication for being uploaded to long-distance metering center in real time is preposition Machine;
(4) price adjustment, the time service, parameter setting instruction issued for long-distance metering center, the price adjustment and data acquisition device connect It receives and the data frame is passed through into target gas meter, flow meter, and the feedback data that gas meter, flow meter is replied according to the target site in data frame Frame passes through long-distance metering center, reads instruction, the price adjustment and data acquisition dress for the parameter that long-distance metering center issues It sets and passes through target gas meter, flow meter in the same way, and gas meter, flow meter reply reply data frame is transmitted to long-distance metering center;
(5) after the prepositive communication computer at long-distance metering center receives data frame, data parsing is carried out according to communication protocol, will be parsed Every acquisition data out carry out integrated data by the man-machine interface on work station and show and long-range price adjustment application;
(6) real time data in native registers is packaged into data according to communication protocol by the price adjustment and data acquisition device Frame, by power wire broadband carrier communication link, real-time Transmission to live third party system, for its use.
7. according to the method described in claim 6, it is characterized in that, the price adjustment data that issue of long-distance metering center by " price value+ Verify calculating parameter+check code " it forms, the time service data issued are made of " time value+verification calculating parameter+check code ", under The parameter setting data of hair is made of " setting value+verification calculating parameter+check code ", and live gas meter, flow meter can use in data frame " price value/time value/pre-set parameter " and " verification calculating parameter " calculate the check code in check code and data frame into Line number value compares, if unanimously, readjust prices/time service/parameter setting is legal, it can execute, if it is inconsistent, content is illegal It distorts, refuse to execute.
8. according to the method described in claim 6, it is characterized in that, long-distance metering center issue price adjustment data in price value, It is forwarded and is written in the price adjustment price setting data area of target gas meter, flow meter CPU card by the price adjustment and data acquisition device, remove valence Lattice are arranged outside data field, and gas meter, flow meter CPU card also has currently strike price data field, last price adjustment price data area, The price currently executed with data acquisition device to gas meter, flow meter of readjusting prices, last price adjustment valence can be passed through by measurement centre Lattice and residual amount are acquired, for confirming whether this price adjustment succeeds, handling between this price adjustment and last price adjustment Metering data linking.
9. according to the method described in claim 6, it is characterized in that, long-distance metering center passes through the price adjustment and data acquisition dress The price adjustment price data for setting write-in target gas meter, flow meter, including price version number, price type, the enabling time of price data, valence Lattice data, each price adjustment data have a unique price version number, and the price version number numerical value of new data of readjusting prices is big The version number for the price data being carrying out before price adjustment.
10. according to the method described in claim 9, it is characterized in that, the price type in the price adjustment price data can identify " by unit price valuation " " valuating by tolerance ladder " or " temporally ladder valuation ", the enabling time of price data are then used It when gas meter, flow meter Local clock reaches the moment, enables by newly-installed price data, if enabling time is receiving price adjustment Before the time of data frame, then gas meter, flow meter is immediately performed new price data after receiving price adjustment data frame, wraps in price data " conventional unit price ", " by tolerance progressive price ", " temporally progressive price " are included, conventional unit price is a single price value, by gas Amount progressive price includes the tolerance limit value and price value of each ladder section, and temporally progressive price includes period and the valence in each stage Lattice value.
CN201810919823.2A 2018-08-14 2018-08-14 A kind of pair of ladder valuation gas meter, flow meter remotely readjusted prices, data collection system and method Withdrawn CN108986443A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810919823.2A CN108986443A (en) 2018-08-14 2018-08-14 A kind of pair of ladder valuation gas meter, flow meter remotely readjusted prices, data collection system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810919823.2A CN108986443A (en) 2018-08-14 2018-08-14 A kind of pair of ladder valuation gas meter, flow meter remotely readjusted prices, data collection system and method

Publications (1)

Publication Number Publication Date
CN108986443A true CN108986443A (en) 2018-12-11

Family

ID=64552585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810919823.2A Withdrawn CN108986443A (en) 2018-08-14 2018-08-14 A kind of pair of ladder valuation gas meter, flow meter remotely readjusted prices, data collection system and method

Country Status (1)

Country Link
CN (1) CN108986443A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112863054A (en) * 2021-01-27 2021-05-28 成都中科慧源科技有限公司 Method for implementing prepayment by using central charging as main meter end auxiliary charging

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984866A (en) * 2012-12-17 2013-03-20 湖南师范大学 Intelligent power module for LED lamps, based on electric carrier waves with address control
CN105606130A (en) * 2015-10-30 2016-05-25 成都秦川科技发展有限公司 Stepped pricing system of intelligent IoT (Internet of Things) combustion gas meters
CN107038852A (en) * 2017-04-07 2017-08-11 北京讯腾智慧科技股份有限公司 The system and method for wireless remote concentrated collection and configuration gas meter, flow meter data
CN206442642U (en) * 2017-02-21 2017-08-25 北京航天拓扑高科技有限责任公司 It is a kind of to be easy to board to plug and fixed industrial data collection device cabinet
CN206442392U (en) * 2017-02-21 2017-08-25 北京航天拓扑高科技有限责任公司 A kind of intrinsic safety type RS485 communications and supplying power for outside data collecting plate card
JP2017181216A (en) * 2016-03-29 2017-10-05 岩谷産業株式会社 Adjusted hydrogen gas dispenser
CN107884020A (en) * 2017-10-23 2018-04-06 苏州燃气集团有限责任公司 A kind of low-power consumption gauge table and its system using NB IoT frameworks
CN207587164U (en) * 2017-11-13 2018-07-06 福建师范大学 A kind of solar energy central hot water engineering wireless data acquisition system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984866A (en) * 2012-12-17 2013-03-20 湖南师范大学 Intelligent power module for LED lamps, based on electric carrier waves with address control
CN105606130A (en) * 2015-10-30 2016-05-25 成都秦川科技发展有限公司 Stepped pricing system of intelligent IoT (Internet of Things) combustion gas meters
JP2017181216A (en) * 2016-03-29 2017-10-05 岩谷産業株式会社 Adjusted hydrogen gas dispenser
CN206442642U (en) * 2017-02-21 2017-08-25 北京航天拓扑高科技有限责任公司 It is a kind of to be easy to board to plug and fixed industrial data collection device cabinet
CN206442392U (en) * 2017-02-21 2017-08-25 北京航天拓扑高科技有限责任公司 A kind of intrinsic safety type RS485 communications and supplying power for outside data collecting plate card
CN107038852A (en) * 2017-04-07 2017-08-11 北京讯腾智慧科技股份有限公司 The system and method for wireless remote concentrated collection and configuration gas meter, flow meter data
CN107884020A (en) * 2017-10-23 2018-04-06 苏州燃气集团有限责任公司 A kind of low-power consumption gauge table and its system using NB IoT frameworks
CN207587164U (en) * 2017-11-13 2018-07-06 福建师范大学 A kind of solar energy central hot water engineering wireless data acquisition system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
史翔: "阶梯计价型天然气计量表的通信接口及***应用", 《中国新通信》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112863054A (en) * 2021-01-27 2021-05-28 成都中科慧源科技有限公司 Method for implementing prepayment by using central charging as main meter end auxiliary charging

Similar Documents

Publication Publication Date Title
CN102496258A (en) Internet of things based intelligent electric energy meter and management system thereof
CN103914919B (en) Gas metering device and gas metering information reporting method
CN102081118B (en) Real-time metering two-way communication intelligent ammeter
WO2012100686A1 (en) Internet of things intelligent gas meter and control system thereof
CN203588377U (en) IC (Integrated Circuit) card intelligent gas meter with GPRS (General Packet Radio Service) remote transmission function
CN101777232B (en) Electronic scale tax monitoring system and method
CN104424714A (en) Intelligent water meter based in Internet of Things and control system thereof
AU2021105436A4 (en) Device and system for power consumption monitoring and management
CN204214498U (en) A kind of combustible gas metering arrangement
CN108986443A (en) A kind of pair of ladder valuation gas meter, flow meter remotely readjusted prices, data collection system and method
CN100501414C (en) Carrier data safety protection method and recording system device of pre-payment meter
CN101777227A (en) Electronic scale tax-controlling weighing display controller and electronic scale tax controller
CN204904026U (en) Environmental protection data acquisition device
CN202268069U (en) Wireless automatic meter reading system
CN108898818A (en) A kind of wireless meter system and its meter register method
CN109145006A (en) A kind of collection copies data analysis management system
CN202331644U (en) Intelligent water meter of Internet of things
CN209132882U (en) A kind of intelligence water utilities management system
CN202615506U (en) Intelligent gas meter for internet of things (IOT)
CN206348837U (en) A kind of intelligent public lavatory management system
CN212850543U (en) Measurement data acquisition gateway
CN201749493U (en) Advertising player passenger flow volume statistical system
CN106706060A (en) Intelligent water meter system and use method
CN209913999U (en) Multi-frequency remote water meter
CN205785392U (en) Radio-type pulsed remote transmitting gas meter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20181211