CN104735172B - A kind of stipulations conversion method of intelligent electricity consumption information acquisition terminal - Google Patents

A kind of stipulations conversion method of intelligent electricity consumption information acquisition terminal Download PDF

Info

Publication number
CN104735172B
CN104735172B CN201310703717.8A CN201310703717A CN104735172B CN 104735172 B CN104735172 B CN 104735172B CN 201310703717 A CN201310703717 A CN 201310703717A CN 104735172 B CN104735172 B CN 104735172B
Authority
CN
China
Prior art keywords
hdlc
obis
read
ammeter
mapping table
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
CN201310703717.8A
Other languages
Chinese (zh)
Other versions
CN104735172A (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.)
E-SUN TECHNOLOGY Co Ltd
Original Assignee
E-SUN 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 E-SUN TECHNOLOGY Co Ltd filed Critical E-SUN TECHNOLOGY Co Ltd
Priority to CN201310703717.8A priority Critical patent/CN104735172B/en
Publication of CN104735172A publication Critical patent/CN104735172A/en
Application granted granted Critical
Publication of CN104735172B publication Critical patent/CN104735172B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The present invention relates to a kind of stipulations conversion method of intelligent electricity consumption information acquisition terminal, electric meter address is read from ammeter information database;If the mapping table for meeting the OBIS HDLC of read electric meter address is present, OBIS HDLC mapping table is called in;According to the mapping relations in OBIS HDLC mapping table, the HDLC plots corresponding to OBIS are found out;HDLC plots according to finding out read and preserve expectation information.The invention provides unique identification code of all data of measuring equipment, do not include measured value singly, and include the arbitrary value of measuring apparatus configuration and the information of other characteristics, and then take the method unrelated with manufacturer to carry out unique mark all data item for carrying out manual or automatic collection by local or distant place data exchange, realize the interoperability between the equipment of manufacturer and system.

Description

A kind of stipulations conversion method of intelligent electricity consumption information acquisition terminal
Technical field
The present invention relates to field of electric power automation, the stipulations conversion of specifically a kind of intelligent electricity consumption information acquisition terminal Method.
Background technology
Intelligent power technology covers high speed real-time Communication for Power, intelligent electric meter, intelligent acquisition, two-way interactive and demander's response etc. Many technologies, it is Computer Applied Technology, modern communication technology, advanced measurement technology, control theory and graph visualization Etc. the technological cluster of subject crossing.Intelligent electricity consumption information acquisition terminal is that each information gathering point power information is acquired, from And data management, data double-way transmission and forwarding or the equipment for performing control command are realized, abbreviation acquisition terminal.Intelligent power Information acquisition terminal mainly gathers the information data in ammeter, but at present the DLMS stipulations of some domestic manufacturer's ammeters pass through it is short When name register reads ammeter information, cause register position different because the model of ammeter is different, and expectation can not be read Information, this patent mainly solves the problems, such as stipulations conversion, so that information is read.
1)Tao Peng Zhang Yingqi Niu Chunxia;The research and application of intelligent electric energy meter and intelligent terminal communication protocol test platform [J];Hebei power technology;The S1 phases in 2009;
2)It is rich that Han Yong height can give birth to Liu Liu Gus;Power information acquisition system master station software design [journal article];Computer With modernizing 2012 (8);
3)Su Li;Towards the information-based conceptual design [journal article] of intelligent power;Modern computer the second half of the month version 2011 (20);
4)Open the yellow glad Bing Zhi rocs Li Qiu tinkling of pieces of jade Li Chen dragons of;Power information acquisition system [the phase in intelligent grid construction Print paper];2012 (1) of information communication;
The content of the invention
In view of the shortcomings of the prior art, the present invention provides a kind of intelligent electricity consumption information acquisition terminal in gathered data process In between different vendor stipulations conversion method.
The used to achieve the above object technical scheme of the present invention is:
A kind of stipulations conversion method of intelligent electricity consumption information acquisition terminal, from ammeter information database with reading ammeter Location;
If the mapping table for meeting the OBIS-HDLC of read electric meter address is present, OBIS-HDLC mapping is called in Table;
According to the mapping relations in OBIS-HDLC mapping table, the HDLC plots corresponding to OBIS are found out;
HDLC plots according to finding out read and preserve expectation information.
If the mapping table for meeting the OBIS-HDLC of read electric meter address is not present, according to the spy in DLMS stipulations Different command id maps configuration structure to read the OBIS-HDLC of whole ammeter;
According to mapping configuration structure generation OBIS-HDLC correspondence mappings table, and it is saved in ammeter information database.
The special command is the parameter-type byte that function code is FA08 in DLMS stipulations messages.
Actual information register address is by HDLC plots and offset address 0X08H groups in the mapping table of the OBIS-HDLC Into.
The invention has the advantages that and advantage:
OBIS provides unique identification code of all data of measuring equipment, does not include measured value singly, and including The arbitrary value of measuring apparatus configuration and the information of other characteristics, and then pedestrian is entered by local or distant place data exchange to all The data item of work or automatic data collection takes the method unrelated with manufacturer to carry out unique mark, realizes the equipment and system of manufacturer Between interoperability.
Brief description of the drawings
Fig. 1 is flow chart of the method for the present invention;
Fig. 2 is the OBIS structure charts of the present invention;
Fig. 3 is the HDLC structure charts of the present invention.
Embodiment
Below in conjunction with the accompanying drawings and embodiment the present invention is described in further detail.
It is as shown in Figure 1 flow chart of the method for the present invention.
1st, electric meter address is read
It is DLMS that data acquisition program recalls first piece of communication protocol from ammeter information database by ammeter numeric order Ammeter parameter, recall table address parameter, i.e., the unique identifier to be communicated with ammeter therefrom.
2nd, judge that the OBIS-HDLC of table mapping table whether there is
Check in database and whether have entitled OBISXXXXXXXX (XXXXXXXX is actual table address, such as OBIS96379158, therein 96379158 be table address) OBIS-HDLC tables of data, this table structure is that have two fields, First character section is HDLC fields, and the inside stores HDLC decimal address, and second field is OBIS fields, and the inside stores OBIS logical name address, first character section is corresponded with second field, do not repeated.
3rd, the FA08 special commands mark in DLMS stipulations is matched somebody with somebody to read out the OBIS-HDLC of whole ammeter mapping Put structure.
If it is sent to the parameter-type byte in the DLMS stipulations messages of ammeter(Two bytes)For " FA08 " when, ammeter The systematic parameter structure table of whole ammeter can be returned to, these parameters include including how many parameter, parameter number in this table According to type what is, what unit is, what HDLC (short name) is, OBIS(Logical name)What is, there is several subparameters, sub- ginseng What etc. several offset address be, just has HDLC plots and OBIS addresses that we are concerned about inside these parameters, and be one by one It is corresponding.Program can parse all HDLC plots and OBIS addresses from message, give over to standby.
4th, according to mapping configuration structure generation OBIS-HDLC correspondence mappings table, and it is saved in database
An entitled OBISXXXXXXXX tables of data is created in database, is parsed all in ammeter returned packet HDLC plots and OBIS addresses out is inserted into tables of data according to man-to-man relation, forms a complete corresponding relation Tables of data.
Form similar following mapping table
HDLC plots(The decimal system) OBIS is identified
16 0000F00D00FF
232 0000F00000FF
336 0000F00FFFFF
Table 1
Actual information register address=HDLC plots+0X08H
5th, OBIS-HDLC mapping tables are called in
OBISXXXXXXXX tables of data having had, creating is called in into internal memory from database, waits and being looked into With.
6th, the mapping relations in mapping table, the HDLC addresses corresponding to OBIS are found out
In the ammeter of DLMS stipulations, each data volume that can be read, such as active positive total electricity, idle forward direction Total electricity, active power, power factor, A phase currents, B phase voltages etc., there is a unique OBIS code corresponding thereto, and And be constant, if I will read the value of positive active total electricity, OBIS codes are " 1-1:1.8.0 ", hexadecimal representation is " 0101010800FF ", program find " 0101010800FF " in the OBIS fields of OBISXXXXXXXX tables of data, then HDLC corresponding with this code value, in same record value is read, this value is the HDLC short name bases required for me Location is worth.
7th, according to the HDLC short names address found out, desired information is read
According to the HDLC short name base values found out, the register-bit that can calculate access data is set to program:HDLC Plot+0X08H, the value after this is calculated, which is added in DLMS stipulations, issues ammeter in address information byte, what ammeter returned It is exactly numerical value that we want, corresponding with OBIS types.
8th, the information read out is preserved
Program requires the numerical value that reads out after being parsed from message according to conversion, stores to pre-establishing In ammeter table floors tables of data.
9th, it is switched to next piece of ammeter
It is DLMS that data acquisition program recalls second piece of communication protocol from ammeter information database by ammeter numeric order Ammeter parameter, recall table address parameter, i.e., the unique identifier to be communicated with ammeter therefrom.
DLMS stipulations are ammeter Object -Oriented Model and unified Data Identification, and it is sealed ammeter model and data Dress such as protocol data unit (pdu), then presses word or byte transmission data by communication channel.It the standards define two kinds of connections Object, it is reference (addressing) mode of " short name " and " logical name " respectively.OBIS identifying systems are the bases of COSEM logical names, In order to distinguish the different examples of same interface class, their logical name must be different.OBIS identification codes employ the knot of layering Structure, six groups of A to F identification marking is shared, all data of measuring equipment can be identified.
If Fig. 2 is the OBIS structure charts of the present invention.
The expression meaning of the value of A groups:The data that energy or other media types measured by representing either are abstracted.
B groups represent the channel number of measurement, there is the mark (collector) during multiple measurement inputs, defeated with the measurement for distinguishing different Enter source.The definition of this group is independently of A groups.
C groups represent the meaning of specific data or abstract data, such as electric current, voltage, power, temperature.The value phase of C groups and A groups Close.
D groups represent to pass through different specific algorithms, the result or type of specific measurement amount.Algorithm above can produce Electricity and requirement, or other Specific amounts.
E groups represent the further processing and classification to the amount of group D marks by group A.
F groups mark defines the data storage according to the different charge cycle.F groups can also do other class indications.
If Fig. 3 is the HDLC structure charts of the present invention.
Order in HDLC is transmitted by frame in a unified format.HDLC complete frame is by attribute field(F), address field (A), control field(C), information field(I), Frame Check Sequence fields(FCS)Deng composition.
Information frame is used to transmit effective information or data, usual abbreviation I frames.I frames are marked so that control word first is " 0 " Will.N in the control field of information frame(S)Frame number is sent for depositing, so that sender need not wait to be confirmed and continuously send out Send multiframe.N(R)For depositing the sequence number of the next expection of the recipient frame to be received, N(R)=5, that is, represent recipient's next frame No. 5 frames are received, in other words, each frame before No. 5 frames receives.N(S)And N(R)Be 3 binary codings, can value 0~ 7。
OBIS provides unique identification code of all data of measuring equipment, does not include measured value singly, and including The arbitrary value of measuring apparatus configuration and the information of other characteristics.Its object is to pass through local or distant place data exchange to all The data item for carrying out manual or automatic collection takes the method unrelated with manufacturer to carry out unique mark, the equipment for realizing manufacturer Interoperability between system.
Patent of the present invention when reading electric energy meter data by the particular command in ammeter stipulations by whole table for the first time OBIS and HDLC counter structure is read out, and forms mapping table, is then named according to constant OBIS to search corresponding HDLC Register address, go to read the corresponding data in ammeter according still further to this register address.It can thus accomplish, whatsoever type Number ammeter by DLMS can accurately read data come.
Embodiment:
A groups:In theory 0 to 15;The application of corresponding ammeter, mainly 0 and 1;0 represents arbitrary value;1 represents electric energy metrical.
B groups:In theory 0 to 255;The application of corresponding Charles Rangel ammeter, mainly 0 and 1,2;0- represents channel-less area Point;1- passages 1 (this meter amount);2- passages 2 (pulse input metering);3- passages 3 (pulse input metering).
C groups:0 to 255;Closely related with A groups, A groups are arbitrary value when being 0.
0 General value
1 It is total positive active
2 It is total reversely active
3 It is total positive idle
4 It is total reversely idle
5 One quadrant is idle
6 Two quadrant is idle
7 Three quadrants are idle
8 Four-quadrant is idle
Table 2
130 Total idle-I+II+III+IV
131 Total idle I+II-III-IC
132 Total idle I+IV
133 Total idle I+III
……
Table 3
Table 4
Table 5
The number of harmonic wave is represented using F groups, the integration period number of load curve is represented using F groups.
Read mapping structure example (selected parts)
Send->7EA011032154873BE6E600050102FA08189E7E
Receive<-7EA85B210374BC2CE6E7000C010001820132020410001012271611030906000 0F00D00FF
HDLC plots OBIS is indicated
02041000E8122712110709060000F00000FF
0204100150122760110409060000F00FFFFF
02041001B81200031100090601010D0500FF
81327E
Send->7EA00703217113C57E
Receive<-7EA85121037600D3
02041002381200031100090601010D0000FF
02041002B81200041100090600007F000000
02041003301200041100090600007F000000
0204100410120003110009060000616100FF
C2EA7E
Form following mapping table
HDLC plots(The decimal system) OBIS is identified
16 0000F00D00FF
232 0000F00000FF
336 0000F00FFFFF
Table 1
Actual information register address=HDLC plots+0X08H.

Claims (5)

  1. A kind of 1. stipulations conversion method of intelligent electricity consumption information acquisition terminal, it is characterised in that:
    Electric meter address is read from ammeter information database;
    If the mapping table for meeting the OBIS-HDLC of read electric meter address is present, OBIS-HDLC mapping table is called in;
    According to the mapping relations in OBIS-HDLC mapping table, the HDLC plots corresponding to OBIS are found out;
    HDLC plots according to finding out read and preserve expectation information;
    The mapping table of the OBIS-HDLC is that an entitled OBISXXXXXXXX tables of data is created in database, will be all The HDLC plots and OBIS addresses parsed in ammeter returned packet is inserted into tables of data according to man-to-man relation, shape Into a complete corresponding relation data table.
  2. 2. the stipulations conversion method of intelligent electricity consumption information acquisition terminal according to claim 1, it is characterised in that:
    If the mapping table for meeting the OBIS-HDLC of read electric meter address is not present, the special life in DLMS stipulations Order mark maps configuration structure to read the OBIS-HDLC of whole ammeter;
    According to mapping configuration structure generation OBIS-HDLC correspondence mappings table, and it is saved in ammeter information database.
  3. 3. the stipulations conversion method of intelligent electricity consumption information acquisition terminal according to claim 2, it is characterised in that:The spy Different order is the parameter-type byte that function code is FA08 in DLMS stipulations messages.
  4. 4. the stipulations conversion method of intelligent electricity consumption information acquisition terminal according to claim 1 or 2, it is characterised in that:Institute Actual information register address in OBIS-HDLC mapping table is stated to be made up of HDLC plots and offset address 0X08H.
  5. 5. the stipulations conversion method of intelligent electricity consumption information acquisition terminal according to claim 1, it is characterised in that:First It is secondary to be read the OBIS of whole table and HDLC counter structure by the particular command in ammeter stipulations when reading electric energy meter data Come, form mapping table, then named according to constant OBIS come HDLC register address corresponding to searching, according still further to this register Address is gone to read the corresponding data in ammeter.
CN201310703717.8A 2013-12-18 2013-12-18 A kind of stipulations conversion method of intelligent electricity consumption information acquisition terminal Active CN104735172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310703717.8A CN104735172B (en) 2013-12-18 2013-12-18 A kind of stipulations conversion method of intelligent electricity consumption information acquisition terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310703717.8A CN104735172B (en) 2013-12-18 2013-12-18 A kind of stipulations conversion method of intelligent electricity consumption information acquisition terminal

Publications (2)

Publication Number Publication Date
CN104735172A CN104735172A (en) 2015-06-24
CN104735172B true CN104735172B (en) 2018-01-16

Family

ID=53458598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310703717.8A Active CN104735172B (en) 2013-12-18 2013-12-18 A kind of stipulations conversion method of intelligent electricity consumption information acquisition terminal

Country Status (1)

Country Link
CN (1) CN104735172B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653616B (en) * 2015-12-25 2020-06-09 长沙威胜信息技术有限公司 Communication protocol conversion method of power system master station
CN105827546B (en) * 2016-03-14 2019-01-04 积成电子股份有限公司 A kind of method of power information acquisition system communication packet storage
CN108647238B (en) * 2018-03-30 2021-11-30 宁波三星医疗电气股份有限公司 Data interaction method
CN113032373B (en) * 2021-05-26 2021-08-17 杭州炬华科技股份有限公司 Data management method and related device based on load channel dynamic column

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102269779A (en) * 2011-06-22 2011-12-07 哈尔滨电工仪表研究所 Voltage fluctuation recording device based on DLMS (distribution line message specification)/COSEM (companion specification for energy metering)
CN202133711U (en) * 2011-06-22 2012-02-01 哈尔滨电工仪表研究所 Voltage fluctuation recording apparatus based on DLMS/COSEM
KR101294319B1 (en) * 2012-08-16 2013-08-08 엘에스산전 주식회사 Remote inspection system and communication method of the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102269779A (en) * 2011-06-22 2011-12-07 哈尔滨电工仪表研究所 Voltage fluctuation recording device based on DLMS (distribution line message specification)/COSEM (companion specification for energy metering)
CN202133711U (en) * 2011-06-22 2012-02-01 哈尔滨电工仪表研究所 Voltage fluctuation recording apparatus based on DLMS/COSEM
KR101294319B1 (en) * 2012-08-16 2013-08-08 엘에스산전 주식회사 Remote inspection system and communication method of the same

Also Published As

Publication number Publication date
CN104735172A (en) 2015-06-24

Similar Documents

Publication Publication Date Title
CN104735172B (en) A kind of stipulations conversion method of intelligent electricity consumption information acquisition terminal
CN101917067B (en) Method for integrating power equipment state monitoring devices
CN104391499B (en) A kind of simulation electric energy meter and method of testing for AMRS test
CN108364454A (en) A kind of intelligent protocol conversion equipment
CN109101685B (en) Multi-medium energy equipment modeling method suitable for comprehensive energy management and control system
CN105162252B (en) The method of plug and play distribution terminal information realization automatic mapping based on CID files
CN106408207A (en) Modeling method and system for secondary virtual loop of intelligent substation
CN103746783A (en) Extended communication method based on Modbus communication protocol
CN107729939B (en) CIM (common information model) expansion method and device for newly added power grid resources
CN106201645B (en) A kind of data file transition method
CN104217566A (en) Intelligent meter searching method and system for type II collector
CN106790586A (en) A kind of city multiple-energy-source Collect jointly method
CN101882812A (en) Object-oriented implementation method for intelligent electronic device of digital substation
EP2633600A2 (en) Method for short-cyclic data capture for energy monitoring and for system control in the smart metering/smart grid using a piece of distributed, intelligent middleware
CN109150854A (en) Dynamic and configurable communication protocol converting system based on XML file
EP2515482A1 (en) Methods and systems for detecting compatibility issues within an electrical grid control system
CN204720705U (en) The smart jack of application temperature and humidity sensing technology
Jingding et al. Discussion on monitoring scheme of distributed generation and micro-grid system
CN105718656A (en) Association method of primary and secondary system information of intelligent substation
CN110784468B (en) Protocol conversion method and device based on CoAP
CN112822174A (en) Intelligent data acquisition module, data acquisition box and data acquisition method
CN102664957B (en) Information integration method of advanced metering infrastructure
CN208673081U (en) A kind of multiple-energy-source informix access gateway
CN107612884A (en) A kind of power information acquisition system electric energy meter consensus standard conversion method
CN107426634A (en) A kind of evaluating method of centralized meter-reading system communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Bai Ruishuang

Inventor after: Yao Zhizhen

Inventor after: Zhao Jinyang

Inventor after: Wang Dajun

Inventor after: Song Linhai

Inventor before: Wang Dajun

Inventor before: Zhao Jinyang

Inventor before: Song Linhai

Inventor before: Yang Meng