CN105207351A - Smart electric meter information broadcasting method - Google Patents

Smart electric meter information broadcasting method Download PDF

Info

Publication number
CN105207351A
CN105207351A CN201510521101.8A CN201510521101A CN105207351A CN 105207351 A CN105207351 A CN 105207351A CN 201510521101 A CN201510521101 A CN 201510521101A CN 105207351 A CN105207351 A CN 105207351A
Authority
CN
China
Prior art keywords
electric meter
frame
information
intelligent electric
address
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.)
Granted
Application number
CN201510521101.8A
Other languages
Chinese (zh)
Other versions
CN105207351B (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.)
Wuhan Zhongwang Electric Power Equipment Engineering Co Ltd
Original Assignee
Wuhan Zhongwang Electric Power Equipment Engineering 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 Wuhan Zhongwang Electric Power Equipment Engineering Co Ltd filed Critical Wuhan Zhongwang Electric Power Equipment Engineering Co Ltd
Priority to CN201510521101.8A priority Critical patent/CN105207351B/en
Publication of CN105207351A publication Critical patent/CN105207351A/en
Application granted granted Critical
Publication of CN105207351B publication Critical patent/CN105207351B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a smart electric meter information broadcasting method comprising the steps that information frames are established according to user addresses and data information to be broadcasted, and the information frames include address characters, control characters and data characters; a power grid host transmits the information frames in a broadcasting mode; a smart electric meter receives the information frames and compares the address characters in the information frames; the control characters of the information frames are read after the address characters of the information frames and the preset address characters of the smart electric meter are met through confirmation; and after the smart electric meter identifies the digital display instruction of the control characters, the data information in the data characters is read according to the preset mapping table and the data information is digitally displayed. The objective of the smart electric meter information broadcasting method is that a method of smart communication of the power grid host with the smart electric meter is established on the hardware basis of communication of the smart electric meter and the power grid host; and then broadcasting of the smart electric meter can be performed by the power grid host through the method, and the broadcasted data information can be digitally displayed on the liquid crystal displayer arranged at the surface of the smart meter so that viewing is facilitated for users.

Description

Intelligent electric meter is carried out to the method for information broadcasting
Technical field
The present invention relates to the intelligent electric meter communications field, particularly relate to a kind of method of intelligent electric meter being carried out to information broadcasting.
Background technology
Intelligent electric meter is the intelligent terminal in smart electric grid system, no longer belongs to traditional electric energy meter already.
Intelligent electric meter outside the function of measuring based on traditional electric energy meter basic electricity amount, in order to the use adapting to intelligent grid and new forms of energy has the intelligentized function such as data communication function, anti-stealing electricity function of two-way multiple rate function of measuring, user side controlling functions, plurality of data transmission modes further.
For the data communication function of intelligent electric meter, mostly existing intelligent electric meter is with state's electricity 645 standards (DL/T645-1997 People's Republic of China (PRC) power industry standard) for standard and electrical network main frame carry out communication.
In general, intelligent electric meter is only that preselected time section transferred to electrical network main frame with the power information such as electrical gradient and power consumption uniaxially; Electrical network main frame is adjusted by intrinsic computing formula after receiving above-mentioned electricity consumption data; After accounting draws corresponding expense, notify user by network operation personnel by note or other modes.
But user learns that mostly the mode of its electricity cost is note or paper document, comparatively inaccessible; And the emergency notice that national grid mechanism issues, such as power off notifying, wait and also cannot be passed to user fast and accurately.
Summary of the invention
The object of the invention is to overcome or slow down at least above-mentioned shortcoming, a kind of method of intelligent electric meter being carried out to information broadcasting be provided hereby, comprise the following steps:
(1) with station address to be broadcast and data message, set up information frame, information frame comprises address character, command character and data symbols;
(2) electrical network main frame, sends information frame in a broadcast mode;
(3) intelligent electric meter receives information frame and address character in comparison information frame;
(4) after the address character of comformed information frame conforms to the address character that intelligent electric meter is preset, the command character of information frame is read;
(5), after the digital display instruction of intelligent electric meter identification command character, data message in data symbols is read and digital display data message according to the mapping table preset.
Preferably,
In (1), the information frame of foundation also comprises preposition starting character;
In (2), the address character of intelligent electric meter comparison information frame after identifying preposition starting character.
Further, in (1), the information frame of foundation also comprises rearmounted starting character;
In (4), after the address character preset at the address character of comformed information frame and intelligent electric meter conforms to, the rearmounted starting character of first identifying information frame, then read command character.
Further,
In (5) after normal digital display data message, normal response frame set up by intelligent instrument, and is back to electrical network main frame;
Abnormal digital display data message in (5), exception response frame set up by intelligent instrument, and is back to electrical network main frame.
Further, set up information frame based on DL-T645-2007 communication protocol, described information frame comprises successively:
Preposition start-of-frame, definite value is 68H,
Address field, variables A 0 ~ A5,
Rearmounted start-of-frame, definite value is 68H,
Control code, variable C,
Data length field, variables L,
Data field, variable N1 ~ Nm,
Check code, CS,
End mark, definite value 16H;
Electrical network main frame is by RS-485 bus sending information frame extremely each intelligent electric meter;
Intelligent electric meter described arbitrarily receives described information frame, and after identification definite value is the preposition start-of-frame of 68H, whether the 6 bit address codes that the A0 ~ A5 in compare address territory is prepared in advance with intelligent electric meter are consistent;
After the A0 ~ A5 determining intelligent electric meter 6 bit address codes prepared in advance and address field is consistent respectively, identification definite value is the rearmounted start-of-frame of 68H;
After identification definite value is the rearmounted start-of-frame of 68H, the function command that the variable C inquiring about control code in control code menu prepared in advance represents;
After determining that the variable C of control code represents digital display instruction, read the variables L of data length field, to determine data length;
The data message digital display that the variable N1 ~ Nm of data field comprises is read according to mapping table prepared in advance.
Further,
A., in (7), after the normal digital display data message of intelligent electric meter, set up ammeter box normal response frame and be back to electrical network main frame;
B., in (7), after the abnormal digital display data message of intelligent electric meter, set up ammeter box exception response frame and be back to electrical network main frame;
Digital display after electrical network main frame identification normal response frame or exception response frame.
Further, when the variable C of described control code represents digital display instruction, definite value 04H is set as.
The present invention is intended to, on the hardware foundation based on intelligent electric meter and electrical network host communication, set up electrical network main frame carries out intelligent communication method to intelligent electric meter; By method of the present invention, electrical network main frame can be broadcasted intelligent electric meter by said method, and the data message of digital display broadcast in the liquid crystal display of intelligent surface, be convenient to user and check.
Accompanying drawing explanation
Describe these and other aspect of the present invention in further detail now with reference to appended accompanying drawing, it is depicted as currently preferred embodiment of the present invention.Wherein:
Fig. 1 is the flow chart of the present embodiment to the method that intelligent electric meter is broadcasted;
Fig. 2 is the framework map of information frame in the present embodiment;
Fig. 3 is the flat expanded view of byte of each several part in Fig. 2;
Fig. 4 is the framework map of control code in Fig. 3.
Embodiment
Below in conjunction with the drawings and specific embodiments, illustrate the present invention further, these embodiments should be understood only be not used in for illustration of the present invention and limit the scope of the invention, after having read the present invention, the amendment of those skilled in the art to the various equivalent form of value of the present invention has all fallen within the application's claims limited range.
The present embodiment is intended to the hardware architecture utilizing existing intelligent electric meter and electrical network host communication, sets up a kind of method broadcasted intelligent electric meter.
The intelligent instrument of China's most area is all using DL-T645-2007 communication protocol and supplementary agreement thereof as standard implementation; So, the present embodiment is to meet the hardware architecture of the intelligent electric meter of DL-T645-2007 communication protocol and supplementary agreement thereof and electrical network main frame exemplarily property.
Particularly, the method broadcasted intelligent electric meter of the present embodiment is as shown in Figure 1:
Step one: as shown in Figure 2, form based on the host request frame of DL-T645-2007 communication protocol foundation sets up information frame, information frame by left-to-right be preposition start-of-frame D0, address field D1, rearmounted start-of-frame D2, control code D3, data length field D4, data field D5, check code D6 and end mark D7 successively, every part forms by one or more byte.
Composition graphs 3 and following explanation, representation manners frame each several part:
Preposition start-of-frame D0, the beginning of identification information frame, its value is 68H=01101000B;
It is A0 ~ A5 respectively that address field D1, address field D1 are made up of 6 bytes, and every byte is 2 binary-coded decimals, and the address field D1 of 12 bit lengths is in order to represent the identity identification information such as ammeter box numbering, user number, device number of user;
Rearmounted start-of-frame D2, represent that intelligent electric meter and electrical network main frame are shaken hands successfully, start the instruction identifying control code, its value is also 68H=01101000B;
Control code D3, variable is C, and variable C comprises 8 characters and D0 ~ D7 (as shown in Figure 4, this frame of D7 is information frame or acknowledgement frame, D6 represents that what return is normal response frame or exception response frame in intelligence vindication, D5 represents with or without subsequent data frame, D4 ~ D0: digital display and answering code);
Data length field D4, variable is that L represents data length;
Data field D5, comprises variable N1 ~ Nm, is formed by data message by GB2312 coding;
Check code D6, variable is CS;
End mark D7, the end of identification information frame, its value be 16H=00010110B,
Step 2: electrical network main frame is by RS-485 bus sending information frame extremely each intelligent electric meter.
Step 3: arbitrary intelligent electric meter receives information frame, and after identification definite value is the preposition start-of-frame D0 of 68H, whether the 6 bit address codes that the A0 ~ A5 of compare address territory D1 is prepared in advance with intelligent electric meter are consistent.
Step 4: after the A0 ~ A5 determining intelligent electric meter 6 bit address codes prepared in advance and address field D1 is consistent respectively, identification definite value is the rearmounted start-of-frame D2 of 68H.
Step 5: after identification definite value is the rearmounted start-of-frame D2 of 68H, whether the variable C of inquiry control code D3 is 04H (the present embodiment setting 04H is the digital display instruction of information frame).
Step 6: after determining that the variable C of control code D3 represents digital display instruction, reads the variables L of data length field D4, to determine data length.
Step 7: the data message that variable N1 ~ Nm that the process chip of intelligent electric meter reads data field D5 according to the mapping table of typing in advance comprises digital display.
It is worth mentioning that, because intelligent electric meter needs by the variable N1 ~ Nm in the D5 of decoded data territory, digital display Chinese subtitle, then electrical network main frame is when setting up information frame, and the variable N1 ~ Nm of data field D5 preferably adopts the coded system of GB2312.
Step 8:
A., in step 7, after the normal digital display data message of intelligent electric meter, set up ammeter box normal response frame and be back to electrical network main frame.The normal response frame of the present embodiment and the difference of information frame are, the variable C of its control code D3 is 84H, and data length is 00H..
B., in step 7, after the abnormal digital display data message of intelligent electric meter, set up ammeter box exception response frame and be back to electrical network main frame.The exception response frame of the present embodiment and the difference of information frame are, the variable C of its control code D3 is C4H, and data length is 01H..
Step 9: electrical network main frame feeds back its result after the Frame returned is normal response frame or exception response frame, preferably its result of digital display being identified by control code D3.
In addition, the present embodiment is when the variables L of data length is greater than 50, and electrical network main frame is by sending multiple information frame, and intelligent electric meter passes through the data message fragment of splicing entrained by multiple information frame, with the data message that digital display is complete.
Specifically needing the data field D5 end of non-end of transmission to add character, hexadecimal B4FDD0F8, add the character representing that data message is complete at the data field D5 end of end of transmission, hexadecimal CDEAB1CF.
In addition, adding by electrical network main frame the start bit 0 being convenient to identify when information frame sends in the front end of preposition start frame, at end mark D7 end interpolation even parity bit P and position of rest 1, be convenient to intelligent electric meter identification.

Claims (7)

1. intelligent electric meter is carried out to a method for information broadcasting, it is characterized in that comprising the following steps:
(1) with station address to be broadcast and data message, set up information frame, information frame comprises address character, command character and data symbols;
(2) electrical network main frame, sends information frame in a broadcast mode;
(3) intelligent electric meter receives information frame and address character in comparison information frame;
(4) after the address character of comformed information frame conforms to the address character that intelligent electric meter is preset, the command character of information frame is read;
(5), after the digital display instruction of intelligent electric meter identification command character, data message in data symbols is read and digital display data message according to the mapping table preset.
2. method of intelligent electric meter being carried out to information broadcasting according to claim 1, is characterized in that,
In (1), the information frame of foundation also comprises preposition starting character;
In (2), the address character of intelligent electric meter comparison information frame after identifying preposition starting character.
3. method of intelligent electric meter being carried out to information broadcasting according to claim 2, is characterized in that:
In (1), the information frame of foundation also comprises rearmounted starting character;
In (4), after the address character preset at the address character of comformed information frame and intelligent electric meter conforms to, the rearmounted starting character of first identifying information frame, then read command character.
4. method of intelligent electric meter being carried out to information broadcasting according to claim 3, is characterized in that:
A., in (5) after normal digital display data message, normal response frame set up by intelligent instrument, and is back to electrical network main frame;
B. abnormal digital display data message in (5), exception response frame set up by intelligent instrument, and is back to electrical network main frame.
5. method of intelligent electric meter being carried out to information broadcasting according to claim 4, is characterized in that:
(1) set up information frame based on DL-T645-2007 communication protocol, described information frame comprises successively:
Preposition start-of-frame, definite value is 68H,
Address field, variables A 0 ~ A5,
Rearmounted start-of-frame, definite value is 68H,
Control code, variable C,
Data length field, variables L,
Data field, variable N1 ~ Nm,
Check code, CS,
End mark, definite value 16H;
(2) electrical network main frame is by RS-485 bus sending information frame extremely each intelligent electric meter;
(3) described arbitrarily intelligent electric meter receives described information frame, and after identification definite value is the preposition start-of-frame of 68H, whether the 6 bit address codes that the A0 ~ A5 in compare address territory is prepared in advance with intelligent electric meter are consistent;
(4) after the A0 ~ A5 determining intelligent electric meter 6 bit address codes prepared in advance and address field is consistent respectively, identification definite value is the rearmounted start-of-frame of 68H;
(5) after identification definite value is the rearmounted start-of-frame of 68H, the function command that the variable C inquiring about control code in control code menu prepared in advance represents;
(6) after determining that the variable C of control code represents digital display instruction, the variables L of data length field is read, to determine data length;
(7) read according to mapping table prepared in advance the data message digital display that the variable N1 ~ Nm of data field comprises.
6. method of intelligent electric meter being carried out to information broadcasting according to claim 5, is characterized in that:
A., in (7), after the normal digital display data message of intelligent electric meter, set up ammeter box normal response frame and be back to electrical network main frame;
B., in (7), after the abnormal digital display data message of intelligent electric meter, set up ammeter box exception response frame and be back to electrical network main frame;
(8) digital display after electrical network main frame identification normal response frame or exception response frame.
7. method of intelligent electric meter being carried out to information broadcasting according to claim 6, is characterized in that:
When the variable C of described control code represents digital display instruction, be set as definite value 04H.
CN201510521101.8A 2015-08-21 2015-08-21 The method that intelligent electric meter is broadcasted into row information Active CN105207351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510521101.8A CN105207351B (en) 2015-08-21 2015-08-21 The method that intelligent electric meter is broadcasted into row information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510521101.8A CN105207351B (en) 2015-08-21 2015-08-21 The method that intelligent electric meter is broadcasted into row information

Publications (2)

Publication Number Publication Date
CN105207351A true CN105207351A (en) 2015-12-30
CN105207351B CN105207351B (en) 2018-07-17

Family

ID=54954856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510521101.8A Active CN105207351B (en) 2015-08-21 2015-08-21 The method that intelligent electric meter is broadcasted into row information

Country Status (1)

Country Link
CN (1) CN105207351B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113437998A (en) * 2021-06-24 2021-09-24 国网北京市电力公司 Operation and maintenance debugging method and system, nonvolatile storage medium and processor
CN114165895A (en) * 2021-11-18 2022-03-11 青岛海信日立空调系统有限公司 Central air conditioner and energy consumption obtaining method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140161114A1 (en) * 2012-12-06 2014-06-12 Elster Solutions, Llc Phase detection in mesh network smart grid system
CN204389672U (en) * 2014-11-24 2015-06-10 国网辽宁省电力有限公司营口供电公司 Intelligent electric meter serial ports DL/T645 communication protocol on-line quick detection device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140161114A1 (en) * 2012-12-06 2014-06-12 Elster Solutions, Llc Phase detection in mesh network smart grid system
CN204389672U (en) * 2014-11-24 2015-06-10 国网辽宁省电力有限公司营口供电公司 Intelligent electric meter serial ports DL/T645 communication protocol on-line quick detection device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
唐衡: "基于DL/T645-2007通信规约报文的分析", 《科技纵横》 *
扶小飞: "ATT7022B的多功能电子式电能表的研究与设计", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113437998A (en) * 2021-06-24 2021-09-24 国网北京市电力公司 Operation and maintenance debugging method and system, nonvolatile storage medium and processor
CN114165895A (en) * 2021-11-18 2022-03-11 青岛海信日立空调系统有限公司 Central air conditioner and energy consumption obtaining method thereof

Also Published As

Publication number Publication date
CN105207351B (en) 2018-07-17

Similar Documents

Publication Publication Date Title
CN106104293B (en) Method for automatically mapping smart sockets and electronic devices connected to the smart sockets in a home gateway and apparatus for the same
CN102663094A (en) IEC61970CIM model checking method
US20160014177A1 (en) Cim/e and cim/g-based graphics-model-integrated apparatus and method for distribution network
CN106933616A (en) Remote upgrade method based on bandwidth carrier
CN103440264A (en) Method and system for implementing electric power field operation form
CN106100703A (en) The electric-power metering Site Detection bluetooth data means of communication
CN101435832B (en) Method for reading three-charge rate and four-charge rate electrical energy meter of low voltage carrier wave meter reading collection terminal
CN109257367A (en) A kind of data communication protocol and implementation method for industrial internet-of-things terminal
CN105207351A (en) Smart electric meter information broadcasting method
CN101834769B (en) Two-way communication switching method of HBS (High Byte Strobe) bus communication protocol and RS-485 bus communication protocol
CN104320443A (en) Electronic shelf tag and wireless social network based information push method and system
CN110825416A (en) Remote batch upgrading method for firmware of remote terminal unit
CN109218994A (en) Equivalent device Bluetooth communication method and device based on gateway
CN205281479U (en) Intelligent substation's SCD file inspection device
CN105407500B (en) The display methods and device of a kind of intelligent terminal and its satellite signal quality
CN104376512A (en) Power grid dispatching equipment starting scheme automatic ticket forming method based on network token issuing
CN201742433U (en) Electronic displaying system
CN104283890B (en) A kind of improved method for the mapping of IEC61850 report services data communications
CN212516568U (en) Cloud exhibition room system based on smart Internet of things
CN203097334U (en) Novel bus shelter
CN102005115A (en) Infrared meter reading method
CN206481417U (en) Intelligent interconnection management system
CN111581311A (en) Data processing method and device, readable storage medium and electronic equipment
CN105022596A (en) Off-line integrated intelligent photograph printing device and photograph printing method thereof
CN203588278U (en) Personal ID identification equipment

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