CN102881143B - Method for reading electric energy meter event records in AMI (Advanced Metering Infrastructure) system - Google Patents

Method for reading electric energy meter event records in AMI (Advanced Metering Infrastructure) system Download PDF

Info

Publication number
CN102881143B
CN102881143B CN 201210403636 CN201210403636A CN102881143B CN 102881143 B CN102881143 B CN 102881143B CN 201210403636 CN201210403636 CN 201210403636 CN 201210403636 A CN201210403636 A CN 201210403636A CN 102881143 B CN102881143 B CN 102881143B
Authority
CN
China
Prior art keywords
event
meter
reading
concentrator
master station
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
CN 201210403636
Other languages
Chinese (zh)
Other versions
CN102881143A (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.)
Hangzhou Hexing Electrical Co Ltd
Original Assignee
Hangzhou Hexing Electrical 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 Hangzhou Hexing Electrical Co Ltd filed Critical Hangzhou Hexing Electrical Co Ltd
Priority to CN 201210403636 priority Critical patent/CN102881143B/en
Publication of CN102881143A publication Critical patent/CN102881143A/en
Application granted granted Critical
Publication of CN102881143B publication Critical patent/CN102881143B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

本发明涉及AMI系统中读取电能表事件记录的方法。本发明的目的是提供AMI系统中读取电能表事件记录的方法,提高通讯的成功率。本发明的技术方案:a、主站或集中器定时发起事件状态信息读取帧;b、电表将当前事件状态信息发送给主站或集中器;c、主站或集中器判断事件类型,向电表发起相应事件类型的事件记录读取帧;d、电表将最早发生事件对应的事件记录数据回复给主站或集中器;e、主站或集中器向该电表发起下一次事件记录读取帧,并更新读取时间段;f、将新时间段内最早发生事件对应的事件记录数据回复给主站或集中器,重复步骤e、f;g、主站或集中器发起清除事件状态信息帧。本发明适用于在DLMS协议下,集中器或主站对电表事件记录的读取。

The invention relates to a method for reading event records of electric energy meters in an AMI system. The purpose of the present invention is to provide a method for reading the event record of the electric energy meter in the AMI system, so as to improve the success rate of communication. Technical scheme of the present invention: a, the master station or the concentrator regularly initiates the event state information reading frame; b, the electric meter sends the current event state information to the master station or the concentrator; c, the master station or the concentrator judges the event type, and sends The meter initiates an event record reading frame of the corresponding event type; d. The meter replies the event record data corresponding to the earliest event to the master station or concentrator; e. The master station or concentrator initiates the next event record reading frame to the meter , and update the reading time period; f. Reply the event record data corresponding to the earliest event in the new time period to the master station or concentrator, and repeat steps e and f; g. The master station or concentrator initiates a clear event status information frame . The invention is suitable for reading event records of electric meters by a concentrator or a master station under the DLMS protocol.

Description

AMI系统中读取电能表事件记录的方法The method of reading the event record of the electric energy meter in the AMI system

技术领域 technical field

本发明涉及一种AMI系统中读取电能表事件记录的方法,尤其是在DLMS协议(一种国际电表通信协议)下,集中器或主站对电表事件记录的读取。 The invention relates to a method for reading event records of electric energy meters in an AMI system, especially the reading of event records of electric meters by a concentrator or a master station under the DLMS protocol (an international electric meter communication protocol).

背景技术 Background technique

当前在电能表上使用电力线载波通信或GPRS通信组建AMI(Advanced Metering Infrastructure)系统时,使用国际电表通信协议 DLMS/COSEM(由DLMS和COSEM两部分有机组合而成,前者定义报文规范,后者定义电能表接口模型)与集中器或主站进行通信,严格遵循协议要求下读取事件记录会存在如下几个问题: At present, when using power line carrier communication or GPRS communication on the electric energy meter to form an AMI (Advanced Metering Infrastructure) system, the international electric meter communication protocol DLMS/COSEM (organically composed of two parts, DLMS and COSEM, the former defines the message specification, and the latter Define the interface model of the electric energy meter) to communicate with the concentrator or the master station, and read the event records strictly following the protocol requirements, there will be the following problems:

1、如果表计在某个时间段里发生了多个事件,主站或集中器需要使用数据块的方式把这些数据读取上来,通信过程要求完整连续,只要其中任何一个数据块通信过程中出现异常,那么就需要再次重新完整读取。由于目前使用电力载波通信和GPRS通信,尤其是电力载波通信,在通信过程中出现丢包或其他异常的概率偏高,如果使用数据块的数据读取会较大地降低系统通信效率。 1. If the meter has multiple events in a certain period of time, the master station or concentrator needs to read these data in the form of data blocks, and the communication process must be complete and continuous, as long as any one of the data blocks is in the process of communication If an exception occurs, then you need to read it again completely. Due to the current use of power carrier communication and GPRS communication, especially power carrier communication, there is a high probability of packet loss or other abnormalities during the communication process. If data reading using data blocks is used, the system communication efficiency will be greatly reduced.

2、使用数据块读取数据时数据包通常都比较大,当使用电力载波通信时会降低系统通信成功率,进一步影响到系统通信效率。 2. When using data blocks to read data, the data packets are usually relatively large. When using power carrier communication, the success rate of system communication will be reduced, which will further affect the system communication efficiency.

3、集中器或主站在循环查询电表事件时,目前是逐个事件类去查询,由于电表内存储的事件类型比较多,这样即使是在电表没有事件发生或仅发生很少事件时,也需要占用比较长时间的集中器或主站的查询时间,极大地消耗掉了通信介质的通信利用效率,当使用GPRS通信时还会增加相当大一部分的通信流量。 3. When the concentrator or the master station cyclically inquires about the events of the electric meter, it currently inquires one by one event category. Since there are many types of events stored in the electric meter, even when no event occurs or only a few events occur on the electric meter, it is necessary to The query time of the concentrator or master station that takes a relatively long time greatly consumes the communication utilization efficiency of the communication medium, and when using GPRS communication, it will also increase a considerable part of the communication traffic.

上述问题导致AMI系统的电表事件记录读取的效率低下,严重影响到用户对AMI系统的使用体验,同时占用了相当大通信介质使用时间,后续AMI系统功能的扩展性也受到很大限制。 The above problems lead to the low efficiency of reading the meter event records of the AMI system, seriously affecting the user experience of the AMI system, and taking up a considerable amount of time for the communication medium, and greatly restricting the scalability of subsequent AMI system functions.

发明内容 Contents of the invention

本发明要解决的技术问题是:针对上述存在的问题提供一种AMI系统中读取电能表事件记录的方法,以避免数据包传输过程中数据丢失等异常问题,提高通讯的成功率。 The technical problem to be solved by the present invention is to provide a method for reading the event records of electric energy meters in the AMI system to avoid abnormal problems such as data loss during data packet transmission and improve the success rate of communication.

本发明所采用的技术方案是:AMI系统中读取电能表事件记录的方法,其特征在于步骤如下: The technical scheme adopted in the present invention is: the method for reading electric energy meter event record in the AMI system, it is characterized in that the steps are as follows:

a、主站或集中器定时向电表发起电表当前事件状态信息读取帧; a. The master station or concentrator regularly sends the meter current event status information reading frame to the meter;

b、电表在收到事件状态信息读取帧后,将自身当前事件状态信息作为回复帧发送给主站或集中器; b. After receiving the event state information reading frame, the meter sends its own current event state information as a reply frame to the master station or concentrator;

c、若事件状态信息中有一种或多种类型的事件记录,主站或集中器先判断其事件类型,然后向电表发起相应事件类型的事件记录读取帧,读取某一时间段内的事件记录,该时间段的截止时间为当前时间; c. If there are one or more types of event records in the event status information, the master station or concentrator first judges the event type, and then sends an event record reading frame of the corresponding event type to the meter to read the event records within a certain period of time. Event records, the cut-off time of this time period is the current time;

d、若该时间段内有一条或多条事件记录,电表则将最早发生的那条事件对应的事件记录数据回复给主站或集中器,事件记录数据中包含事件的类型以及事件发生的时间; d. If there are one or more event records within the time period, the meter will reply the event record data corresponding to the earliest event to the master station or concentrator. The event record data includes the type of event and the time when the event occurred ;

e、主站或集中器向该电表发起下一次事件记录读取帧,并更新读取时间段,其起始时间为前次事件发生时间的下一秒; e. The master station or concentrator initiates the next event record reading frame to the meter, and updates the reading time period, and its starting time is the next second of the previous event occurrence time;

f、若新时间段内仍有一条或多条事件记录,电表则将新时间段内最早发生的那条事件对应的事件记录数据回复给主站或集中器,然后依次重复步骤e、f,直到电表回复没有事件记录; f. If there are still one or more event records in the new time period, the meter will reply the event record data corresponding to the earliest event in the new time period to the master station or concentrator, and then repeat steps e and f in turn, There is no event record until the meter replies;

g、主站或集中器向电表发起清除事件状态信息帧,清除电表内已经记录的事件状态信息。 g. The master station or concentrator initiates a clear event status information frame to the meter to clear the event status information already recorded in the meter.

所述事件状态信息共4个字节,其中每一位对应指示一种事件类型,只要某一时刻有事件发生,电表就将事件状态信息中对应该事件类型的位变为1。 The event state information has 4 bytes in total, and each bit corresponds to an event type. As long as an event occurs at a certain moment, the meter will change the bit corresponding to the event type in the event state information to 1.

所述步骤c中,若事件状态信息中没有事件记录,返回步骤a对下一块电表进行操作。 In the step c, if there is no event record in the event status information, return to step a to operate the next electric meter.

所述步骤c中,所述时间段的起始时间为主站或集中器上一次向该电表发起事件状态信息读取帧的时间。 In the step c, the starting time of the time period is the last time when the main station or the concentrator sends an event state information reading frame to the electric meter.

步骤c中,若该电表运行后首次进行事件记录的读取,所述时间段的起始时间为电表开始运行的时间。 In step c, if the event record is read for the first time after the meter is running, the start time of the time period is the time when the meter starts running.

所述步骤c中,若有多种事件类型,主站或集中器将上述时间段内某一类型的事件记录读取完毕后,再依次读取该时间段内其他类型的事件记录。 In the step c, if there are multiple types of events, the master station or concentrator reads the event records of a certain type within the above time period, and then sequentially reads other types of event records within the time period.

所述步骤f中,若新时间段内没有事件记录,则回复没有事件记录,并执行步骤g。 In the step f, if there is no event record in the new time period, reply that there is no event record, and execute step g.

步骤g执行完毕后,返回步骤a对下一块电表进行操作。 After step g is executed, return to step a to operate the next electric meter.

所述事件状态信息包含了电表运行时发生的所有类型的事件。 The event status information includes all types of events that occur when the meter is running.

所述电表记录事件状态信息的方式是只要某一时刻有事件发生,电表就将该事件的事件类型记录在事件状态信息中,且不会自行删除该事件状态信息。 The way for the electric meter to record the event state information is that as long as an event occurs at a certain moment, the electric meter will record the event type of the event in the event state information, and will not delete the event state information by itself.

本发明的有益效果是:1、本发明中主站或集中器读取事件记录采用按时间段检索的方式,即只读取某一事件段内的事件记录,同时控制电表每次最多只回复一条事件记录(如果该时间段内有事件记录的话),从而减少了每次通讯的数据量,避免了多事件导致的数据包传输带来的数据丢失等异常问题,大大增加了通讯的成功率。2、事件状态信息共4个字节(32位),其中每一位对应指示一种事件类型,若其中的某一位为1,则表明发生过该种类型的事件,若为0,则表明没有发生过该种类型的事件;主站或集中器只需定时去读取事件状态信息,就能知道当前表计所发生的所有事件,并快速的定位到表计当前发生的事件,避免了逐个事件类型去查询所占用的大量通讯介质及时间,提高了通信效率。 The beneficial effects of the present invention are: 1, in the present invention, the master station or concentrator reads the event record and adopts the mode of retrieval by time period, that is, only reads the event record in a certain event period, and controls the electric meter to only reply at most each time. An event record (if there is an event record within the time period), thereby reducing the amount of data in each communication, avoiding abnormal problems such as data loss caused by data packet transmission caused by multiple events, and greatly increasing the success rate of communication . 2. The event status information consists of 4 bytes (32 bits), each of which corresponds to an event type. If one of the bits is 1, it indicates that this type of event has occurred. If it is 0, then Indicates that no such type of event has occurred; the master station or concentrator only needs to read the event status information regularly to know all the events that have occurred in the current meter, and quickly locate the event that is currently occurring in the meter to avoid It eliminates the large amount of communication media and time occupied by querying event types one by one, and improves communication efficiency.

附图说明 Description of drawings

图1是本发明中智能电网信息系统整体框架图。 Fig. 1 is an overall frame diagram of the smart grid information system in the present invention.

图2是本发明中读取电能表事件记录的流程图。 Fig. 2 is a flow chart of reading the event record of the electric energy meter in the present invention.

具体实施方式 Detailed ways

如图1所示,本例智能电网由主站1、集中器2和该集中器下的一组智能电表3组成,其中集中器2与各电表3之间通过电力线4连接,实现信息的传输。如图2所示,本实施例读取电能表事件记录的方法包括以下步骤: As shown in Figure 1, the smart grid in this example is composed of a master station 1, a concentrator 2, and a group of smart meters 3 under the concentrator, where the concentrator 2 and each meter 3 are connected through a power line 4 to realize information transmission . As shown in Figure 2, the method for reading the event record of the electric energy meter in this embodiment includes the following steps:

a、主站1通过GPRS网络或者集中器2通过电力线4定时向电表3发起电表当前事件状态信息读取帧(即为图2中的读取事件状态帧),主站1或集中器2每次仅对某一个电表进行操作。 a. The master station 1 sends the current event status information reading frame of the meter to the meter 3 through the GPRS network or the concentrator 2 at regular intervals through the power line 4 (that is, the read event status frame in Figure 2), and the master station 1 or the concentrator 2 Only operate on a certain meter at a time.

b、电表3在收到事件状态信息读取帧后会立刻回复自身当前事件状态信息,即向主站1或集中器2发送回复事件状态帧。事件状态信息中包含了电表3在运行时发生的所有类型的事件。电表3记录事件状态信息的方式是只要某一时刻有事件发生,电表3就将该事件的事件类型记录在事件状态信息中(即电表将事件状态信息中对应该事件类型的位变为1),且不会自行删除该事件状态信息,只有主站1和集中器2可以清除该信息,保证事件一定能被主站1或集中器2及时读取。 b. After receiving the event state information reading frame, the electric meter 3 will immediately reply its own current event state information, that is, send a reply event state frame to the master station 1 or the concentrator 2 . The event status information includes all types of events that occur when the electric meter 3 is running. The way for the meter 3 to record event status information is that as long as an event occurs at a certain moment, the meter 3 will record the event type of the event in the event status information (that is, the meter will change the bit corresponding to the event type in the event status information to 1) , and will not delete the event status information by itself, only the master station 1 and the concentrator 2 can clear the information to ensure that the event can be read by the master station 1 or concentrator 2 in time.

c、主站1或集中器2收到电表3回复的事件状态信息后进行分析,分析过程如下:若事件状态信息中没有事件记录,则表明该电表运行时没有发生过任何事件,此时返回步骤a对下一块电表进行操作;若事件状态信息中有一种或多种事件类型的事件记录,则表明该电表运行时发生过一种或多种事件,此时主站1或集中器2先判断发生的是什么事件类型,然后向电表3发起相应事件类型的事件记录读取帧(不同的事件类型其事件记录读取帧不相同),读取某一时间段内的事件记录,即主站1或集中器2读取事件记录采用按时间段检索的方式,每次只读取某一个时间段内的事件记录,该时间段的起始时间可随意设定,但是为了避免事件记录的漏读,同时保证事件记录读取的效率,本例将该时间段的起始时间设定为主站1或集中器2上一次向该电表3发起事件状态信息读取帧的时间,若为电表运行后的首次事件记录的读取,则该起始时间为电表开始运行的时间,截止时间始终为当前时间。 c. The master station 1 or concentrator 2 analyzes the event status information after receiving the reply from the meter 3. The analysis process is as follows: If there is no event record in the event status information, it indicates that no event has occurred during the operation of the meter, and returns at this time Step a operates on the next electric meter; if there are event records of one or more event types in the event state information, it indicates that one or more events have occurred during the operation of the electric meter, and at this time the master station 1 or concentrator 2 first Determine what type of event occurred, and then send an event record reading frame of the corresponding event type to the meter 3 (different event types have different event record reading frames), and read event records within a certain period of time, that is, the master The station 1 or the concentrator 2 reads the event records in the way of searching by time period, and only reads the event records in a certain time period each time. The starting time of the time period can be set arbitrarily, but in order to avoid the Missed reading, while ensuring the efficiency of event record reading. In this example, the starting time of the time period is set to the time when master station 1 or concentrator 2 initiates an event status information reading frame to the meter 3 last time. If it is For the reading of the first event record after the meter is running, the starting time is the time when the meter starts running, and the ending time is always the current time.

d、电表3在接收到主站1或集中器2发送的事件记录读取帧后,会在表内部检索主站1或集中器2要读取的时间段(步骤c中所述的时间段)内的事件记录;若该时间段内有一条或多条事件记录,电表3则回复该时间段内最早发生的那条事件记录,即将该时间段内最早发生的那条事件对应的事件记录数据回复给主站1或集中器2,回复的事件记录数据中包含事件的类型(即什么类型的事件)以及事件发生的时间。 d. After the electric meter 3 receives the event record reading frame sent by the master station 1 or the concentrator 2, it will search the time period to be read by the master station 1 or the concentrator 2 inside the meter (the time period described in step c ) within the event record; if there are one or more event records in the time period, the meter 3 will reply the earliest event record in the time period, that is, the event record corresponding to the earliest event in the time period The data is replied to the master station 1 or the concentrator 2, and the event record data replied includes the type of the event (that is, what type of event) and the time when the event occurred.

e、主站1或集中器2收到电表回复的事件记录数据后(即电表3回复了一条事件记录数据),主站1或集中器2根据该事件记录数据中的时间信息(即事件发生的时间),更新读取时间段,并再次向该电表发起事件记录读取帧,该时间段的起始时间为前次事件发生时间的下一秒,截止时间仍为当前时间。 e. After the master station 1 or the concentrator 2 receives the event record data replied by the meter (that is, the meter 3 replied a piece of event record data), the master station 1 or the concentrator 2 records the time information according to the event record data (that is, the event occurred time), update the read time period, and send an event record read frame to the meter again, the start time of this time period is the next second of the previous event occurrence time, and the end time is still the current time.

f、若新时间段内仍有一条或多条事件记录,电表3则回复新时间段内最早发生的那条事件记录,即将新时间段内最早发生的那条事件对应的事件记录数据回复给主站1或集中器2,然后依次重复步骤e、f,直到电表3回复没有事件记录,最后主站1或集中器2停止事件记录读取,并执行步骤g;若新时间段内没有事件记录,电表3则回复没有事件记录,主站1或集中器2停止事件记录读取,并执行步骤g。作为本发明的具体化,若电表3记录了三条事件,记录的时间分别为2012-5-1的12:00:00(12点0分0秒),2012-5-1的12:03:00(12点3分0秒),2012-5-1的12:05:00(12点5分0秒),假设当前时间为2012-5-1的12:06:00,主站1或集中器2会做如下检索, f. If there are still one or more event records in the new time period, the meter 3 will reply the earliest event record in the new time period, that is, the event record data corresponding to the earliest event in the new time period will be replied to Master station 1 or concentrator 2, then repeat steps e and f in turn until meter 3 replies that there is no event record, and finally master station 1 or concentrator 2 stops reading event records, and executes step g; if there is no event in the new time period record, the meter 3 replies that there is no event record, the master station 1 or concentrator 2 stops reading the event record, and executes step g. As an embodiment of the present invention, if the electric meter 3 records three events, the recorded time is 12:00:00 (12:00:00) on May 1, 2012, and 12:03 on May 1, 2012: 00 (12:03:00), 12:05:00 (12:5:00) on 2012-5-1, assuming the current time is 12:06:00 on 2012-5-1, master station 1 or Concentrator 2 will do the following retrieval,

主站1或集中器2下发检索时间段为2012-5-1的11:59:00~2012-5-1的12:06:00,此时电表3只回复该时间段里最早发生的一条事件记录,时间为2012-5-1的12:00:00; The master station 1 or the concentrator 2 sends the retrieval time period from 11:59:00 on May 1, 2012 to 12:06:00 on May 1, 2012. At this time, the meter 3 only responds to the earliest An event record, the time is 12:00:00 on May 1, 2012;

主站1或集中器2发起第二次事件记录读取帧,修改检索时间段的起始时间为前次事件发生时间的下一秒,即2012-5-1的12:00:01~2012-5-1的12:06:00,此时电表3只回复新的检索时间段里最早发生的一条事件记录,时间为2012-5-1的12:03:00; Master station 1 or concentrator 2 initiates the second event record reading frame, and modifies the start time of the retrieval time period to be the next second after the previous event occurrence time, that is, 12:00:01~2012 on May 1, 2012 -5-1 at 12:06:00, at this time, meter 3 only replies to the earliest event record in the new retrieval time period, the time is 2012-5-1 at 12:03:00;

主站1或集中器2发起第三次事件记录读取帧,修改检索时间段的起始时间为前次事件发生时间的下一秒,即2012-5-1的12:03:01~2012-5-1的12:06:00,此时电表3只回复新的检索时间段里最早发生的一条事件记录,时间为2012-5-1的12:05:00; Master station 1 or concentrator 2 initiates the third event record reading frame, and modifies the start time of the retrieval time period to be the next second after the time of the previous event, that is, 12:03:01~2012 on May 1, 2012 -5-1 at 12:06:00, at this time, meter 3 only replies to the earliest event record in the new retrieval time period, and the time is 2012-5-1 at 12:05:00;

主站1或集中器2发起第四次事件记录读取帧,修改检索时间段的起始时间为前次事件发生时间的下一秒,即2012-5-1的12:05:01~2012-5-1的12:06:00,此时电表3回复没有事件记录,主站1或集中器2停止事件记录读取,并执行步骤g。 The master station 1 or the concentrator 2 initiates the fourth event record reading frame, modifying the start time of the retrieval time period to be the next second after the previous event occurrence time, that is, 12:05:01~2012 on May 1, 2012 -5-1 at 12:06:00, at this time, the meter 3 replies that there is no event record, the master station 1 or the concentrator 2 stops reading the event record, and executes step g.

g、主站1或集中器2向该电表发起清除事件状态信息帧,清除电表3内已经记录的事件状态信息。 g. The master station 1 or the concentrator 2 initiates a clear event status information frame to the meter, and clears the event status information recorded in the meter 3 .

h、返回步骤a,对下一块电表3进行操作。 h. Return to step a, and operate on the next electric meter 3 .

所述步骤c中,若有多种类型的事件,一般按照事件类型的重要性依次处理,即主站1或集中器2先发起最重要事件类型所对应的事件记录读取帧,并将所述时间段内所有事件记录(对应于最重要事件类型)读取完毕后,再向该电表发起次重要事件类型所对应的事件记录读取帧,并将所述时间段内所有事件记录(对应于次重要事件类型)读取完毕,按照重要性由高到低如此重复,直到所有事件类型均读取完毕为止。 In the step c, if there are multiple types of events, they are generally processed in sequence according to the importance of the event types, that is, the master station 1 or the concentrator 2 first initiates the event record reading frame corresponding to the most important event type, and sends the After reading all event records (corresponding to the most important event type) in the above time period, the event record reading frame corresponding to the second important event type is sent to the meter, and all event records in the time period (corresponding to The next important event type) has been read, and it is repeated in order of importance from high to low until all event types have been read.

作为本实施例的改进,电表3所提供的事件状态信息共4字节,即32位,使用其中的每一位来指示不同的事件类型,4字节事件状态信息既能够指示目前电表所支持的所有事件类型,又极大程度地减少了通讯数据量。作为本发明的具体化,电表目前支持19种事件类型,使用4字节事件状态信息中的19位来分别代表每种事件类型,由于事件的发生是小概率事件,任何类型的事件都有可能发生,主站1和集中器2不需要定期去分别查询这19个类型的事件是否有新事件发生,只需定时去读取事件状态信息,就能知道当前表计所发生的所有事件,大大节省了通讯时间和通信介质。  As an improvement of this embodiment, the event state information provided by the electric meter 3 has 4 bytes in total, that is, 32 bits, each of which is used to indicate a different event type, and the 4-byte event state information can indicate the events supported by the current electric meter. All event types, and greatly reduce the amount of communication data. As an embodiment of the present invention, the electric meter currently supports 19 event types, using 19 bits in the 4-byte event status information to represent each event type respectively. Since the occurrence of the event is a small probability event, any type of event is possible event, the master station 1 and the concentrator 2 do not need to regularly check whether there are new events for these 19 types of events, but only need to regularly read the event status information to know all the events that have occurred in the current meter, greatly Communication time and communication media are saved. the

Claims (10)

1.一种AMI系统中读取电能表事件记录的方法,其特征在于步骤如下: 1. A method for reading electric energy meter event records in an AMI system, characterized in that the steps are as follows: a、主站(1)或集中器(2)定时向电表(3)发起电表当前事件状态信息读取帧; a. The master station (1) or the concentrator (2) regularly sends the meter (3) to read the current event status information frame of the meter; b、电表(3)在收到事件状态信息读取帧后,将自身当前事件状态信息作为回复帧发送给主站(1)或集中器(2); b. After receiving the event state information reading frame, the electric meter (3) sends its own current event state information as a reply frame to the master station (1) or concentrator (2); c、若事件状态信息中有一种或多种类型的事件记录,主站(1)或集中器(2)先判断其事件类型,然后向电表(3)发起相应事件类型的事件记录读取帧,读取某一时间段内的事件记录,该时间段的截止时间为当前时间; c. If there are one or more types of event records in the event status information, the master station (1) or concentrator (2) first judges the event type, and then initiates an event record reading frame of the corresponding event type to the meter (3) , to read the event records in a certain time period, the cut-off time of the time period is the current time; d、若该时间段内有一条或多条事件记录,电表(3)则将最早发生的那条事件对应的事件记录数据回复给主站(1)或集中器(2),事件记录数据中包含事件的类型以及事件发生的时间; d. If there are one or more event records within the time period, the meter (3) will reply the event record data corresponding to the earliest event to the master station (1) or concentrator (2). Contains the type of event and when the event occurred; e、主站(1)或集中器(2)向该电表发起下一次事件记录读取帧,并更新读取时间段,其起始时间为前次事件发生时间的下一秒; e. The master station (1) or concentrator (2) initiates the next event record reading frame to the meter, and updates the reading time period, and its starting time is the next second of the previous event occurrence time; f、若新时间段内仍有一条或多条事件记录,电表(3)则将新时间段内最早发生的那条事件对应的事件记录数据回复给主站(1)或集中器(2),然后依次重复步骤e、f,直到电表(3)回复没有事件记录; f. If there are still one or more event records in the new time period, the meter (3) will reply the event record data corresponding to the earliest event in the new time period to the master station (1) or concentrator (2) , and then repeat steps e and f in turn until the meter (3) replies that there is no event record; g、主站(1)或集中器(2)向电表(3)发起清除事件状态信息帧,清除电表(3)内已经记录的事件状态信息。 g. The master station (1) or the concentrator (2) initiates a clear event status information frame to the meter (3), and clears the event status information already recorded in the meter (3). 2.根据权利要求1所述的AMI系统中读取电能表事件记录的方法,其特征在于:所述事件状态信息共4个字节,其中每一位对应指示一种事件类型,只要某一时刻有事件发生,电表(3)就将事件状态信息中对应该事件类型的位变为1。 2. The method for reading the event record of the electric energy meter in the AMI system according to claim 1 is characterized in that: the event state information has 4 bytes altogether, wherein each bit corresponds to indicating a kind of event type, as long as a certain Whenever an event occurs, the meter (3) changes the bit corresponding to the event type in the event state information to 1. 3.根据权利要求1或2所述的AMI系统中读取电能表事件记录的方法,其特征在于:所述步骤c中,若事件状态信息中没有事件记录,返回步骤a对下一块电表进行操作。 3. according to the method for reading electric energy meter event record in the AMI system described in claim 1 or 2, it is characterized in that: in the described step c, if there is no event record in the event status information, return to step a to carry out the next electric meter operate. 4.根据权利要求1或2所述的AMI系统中读取电能表事件记录的方法,其特征在于:所述步骤c中,所述时间段的起始时间为主站(1)或集中器(2)上一次向该电表(3)发起事件状态信息读取帧的时间。 4. The method for reading event records of electric energy meters in the AMI system according to claim 1 or 2, characterized in that: in the step c, the starting time of the time period is the master station (1) or the concentrator (2) The last time when an event state information reading frame was initiated to the meter (3). 5.根据权利要求1或2所述的AMI系统中读取电能表事件记录的方法,其特征在于:步骤c中,若该电表运行后首次进行事件记录的读取,所述时间段的起始时间为电表开始运行的时间。 5. according to the method for reading electric energy meter event record in the described AMI system of claim 1 or 2, it is characterized in that: in step c, if the reading of event record is carried out for the first time after this electric meter runs, the starting time of described time period The start time is the time when the meter starts to run. 6.根据权利要求1或2所述的AMI系统中读取电能表事件记录的方法,其特征在于:所述步骤c中,若有多种事件类型,主站(1)或集中器(2)将上述时间段内某一类型的事件记录读取完毕后,再依次读取该时间段内其他类型的事件记录。 6. The method for reading event records of electric energy meters in the AMI system according to claim 1 or 2, characterized in that: in said step c, if there are multiple event types, the master station (1) or concentrator (2 ) After reading a certain type of event records in the above time period, read other types of event records in this time period in turn. 7.根据权利要求1或2所述的AMI系统中读取电能表事件记录的方法,其特征在于:所述步骤f中,若新时间段内没有事件记录,则回复没有事件记录,并执行步骤g。 7. according to the method for reading electric energy meter event record in the AMI system described in claim 1 or 2, it is characterized in that: in the described step f, if there is no event record in the new time period, then reply that there is no event record, and execute step g. 8.根据权利要求1或2所述的AMI系统中读取电能表事件记录的方法,其特征在于:步骤g执行完毕后,返回步骤a对下一块电表进行操作。 8. The method for reading event records of electric energy meters in the AMI system according to claim 1 or 2, characterized in that: after step g is executed, return to step a to operate the next electric meter. 9.根据权利要求1或2所述的AMI系统中读取电能表事件记录的方法,其特征在于:所述事件状态信息包含了电表运行时发生的所有类型的事件。 9. The method for reading the event record of the electric energy meter in the AMI system according to claim 1 or 2, characterized in that: the event state information includes all types of events that occur when the electric meter is running. 10.根据权利要求1或2所述的AMI系统中读取电能表事件记录的方法,其特征在于:所述电表(3)记录事件状态信息的方式是只要某一时刻有事件发生,电表(3)就将该事件的事件类型记录在事件状态信息中,且不会自行删除该事件状态信息。 10. The method for reading event records of electric energy meters in the AMI system according to claim 1 or 2, characterized in that: the electric meter (3) records event status information in such a way that as long as an event occurs at a certain moment, the electric meter ( 3) The event type of the event will be recorded in the event status information, and the event status information will not be deleted by itself.
CN 201210403636 2012-10-22 2012-10-22 Method for reading electric energy meter event records in AMI (Advanced Metering Infrastructure) system Active CN102881143B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210403636 CN102881143B (en) 2012-10-22 2012-10-22 Method for reading electric energy meter event records in AMI (Advanced Metering Infrastructure) system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201210403636 CN102881143B (en) 2012-10-22 2012-10-22 Method for reading electric energy meter event records in AMI (Advanced Metering Infrastructure) system

Publications (2)

Publication Number Publication Date
CN102881143A CN102881143A (en) 2013-01-16
CN102881143B true CN102881143B (en) 2013-06-12

Family

ID=47482449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210403636 Active CN102881143B (en) 2012-10-22 2012-10-22 Method for reading electric energy meter event records in AMI (Advanced Metering Infrastructure) system

Country Status (1)

Country Link
CN (1) CN102881143B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123134B (en) * 2014-07-07 2017-05-10 四川中电启明星信息技术有限公司 Intelligent electricity use data management method and system based on AMI and J2EE
CN105490768B (en) * 2015-11-18 2018-11-30 积成电子股份有限公司 A kind of automatic calibrating method of concentrator clock chip
CN107888578A (en) * 2017-11-06 2018-04-06 烟台东方威思顿电气有限公司 Suitable for the active reporting method of DLMS stipulations
CN112614331B (en) * 2020-12-14 2022-01-11 杭州海兴电力科技股份有限公司 Method for reading electric energy meter event and electric energy meter event reading system
CN113050020B (en) * 2021-03-25 2024-05-03 深圳供电局有限公司 Out-of-tolerance event recording method and device for double-core intelligent ammeter and computer equipment
CN113567721B (en) * 2021-07-30 2023-04-28 宁波三星医疗电气股份有限公司 Power failure statistics method for intelligent ammeter
CN115567797A (en) * 2022-08-23 2023-01-03 威胜集团有限公司 A method and system for event reporting applicable to DLMS protocol

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101692101A (en) * 2009-09-18 2010-04-07 深圳市科陆电子科技股份有限公司 Method for reading single-item electric energy meter
CN101813502A (en) * 2010-05-12 2010-08-25 深圳润昇科技有限公司 Reading method of electronic remote transmitting water meter using area array light source
CN101901539A (en) * 2010-07-01 2010-12-01 深圳市科陆电子科技股份有限公司 A reading method of electric energy meter based on configuration file customization of meter reading content
CN102014118A (en) * 2010-08-13 2011-04-13 深圳市科陆电子科技股份有限公司 Method for reading multiple electric energy meters generally
CN102175983A (en) * 2011-03-04 2011-09-07 河北省电力研究院 Method for testing multifunctional watt-hour meter reading time of electric quantity collector for watt-hour meter

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2932352B1 (en) * 2008-06-05 2010-07-30 Sagem Comm METHOD FOR REMOTELY MEASURING ELECTRICAL METERS

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101692101A (en) * 2009-09-18 2010-04-07 深圳市科陆电子科技股份有限公司 Method for reading single-item electric energy meter
CN101813502A (en) * 2010-05-12 2010-08-25 深圳润昇科技有限公司 Reading method of electronic remote transmitting water meter using area array light source
CN101901539A (en) * 2010-07-01 2010-12-01 深圳市科陆电子科技股份有限公司 A reading method of electric energy meter based on configuration file customization of meter reading content
CN102014118A (en) * 2010-08-13 2011-04-13 深圳市科陆电子科技股份有限公司 Method for reading multiple electric energy meters generally
CN102175983A (en) * 2011-03-04 2011-09-07 河北省电力研究院 Method for testing multifunctional watt-hour meter reading time of electric quantity collector for watt-hour meter

Also Published As

Publication number Publication date
CN102881143A (en) 2013-01-16

Similar Documents

Publication Publication Date Title
CN102881143B (en) Method for reading electric energy meter event records in AMI (Advanced Metering Infrastructure) system
CN107071006A (en) A kind of acquisition system and acquisition method towards navigation channel big data
CN103678522B (en) A kind of data acquisition of intelligent substation metering system and conversion method
CN103746937B (en) It is applied to intelligent distribution network data acquisition service bus system and its implementation
CN110489407A (en) Data supplementary acquisition method, device, computer equipment and storage medium
CN103546467A (en) Method for transmitting Modbus RTU protocol on TCP/IP network
CN103312563B (en) Automatic information collection method and its system based on power line carrier communication
CN111402569A (en) Power consumption information acquisition method and power consumption information acquisition device
CN103778772B (en) Framing and interconnection transmitting method in electricity utilization information collecting system
CN114374888A (en) Automatic meter reading method, system and device based on multiple simultaneous multi-meter and multi-data items of HPLC
CN109215326A (en) A kind of parallel meter register method and device
CN101815012B (en) Method and device for acquiring performance data
CN108417004A (en) One kind is based on acquisition system and method in twin-channel polymorphic type meter data set
CN103530335B (en) In-stockroom operation method and device of electric power measurement acquisition system
CN103633736B (en) From the on-line monitoring communication means of power transformation substation to main website
CN210781189U (en) Hardware equipment for collecting load identification data of user electric meter
CN117914878A (en) A method and device for managing communication link of electric energy meter
CN104639459A (en) Data transmission method and system for electrical energy metering terminal
CN204632087U (en) Based on acquiring electric energy information and the supervisory system of Internet of Things
CN103698573A (en) Power system electric energy metering method
CN102891683A (en) Method and device for compressing data frames of substation
CN107707487A (en) The real-time retrieval system and real-time search method of a kind of network service traffic
CN104820679A (en) IEC61850 protocol-based electric measurement remote transmission method for measuring terminal based on IEC61850 protocol
CN102752374A (en) System and method for storing and accessing power utilization efficacy data
CN112510825B (en) Real-time power failure active reporting and de-duplication method and system for high-speed power line carrier 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
C14 Grant of patent or utility model
GR01 Patent grant