Electric energy meter clock remote time synchronization management method and system
Technical Field
The invention relates to the technical field of remote calibration of electric energy meters, in particular to a method and a system for managing remote clock synchronization of an electric energy meter clock.
Background
In the electricity consumption information acquisition system, the concentrator can automatically start a broadcast timing task at a specified time every day according to configuration parameters, and broadcast timing operation is carried out on the electric energy meters in the transformer area.
The electric energy meter broadcasts a timing message, an address field 9999999999H is a broadcast address, after a broadcast timing task is started by the concentrator, the broadcast timing message is issued to all the electric energy meters in the transformer area through a downlink communication module (route), after the electric energy meter receives the broadcast timing message, the difference value between the clock value in the message and the actual clock of the electric energy meter is calculated, if the difference value is within +/-5 minutes, the clock of the electric energy meter is updated, and the timing operation is completed.
At present, a master station of an acquisition system can specify a timing clock source and start a broadcast timing task through a Q/GDW376.1 protocol transparent transmission command, but the broadcast timing command issuing range aims at all electric energy meters, so that the accuracy of the electric energy meter with a normal clock can be negatively influenced when the electric energy meter with the clock out of tolerance for more than 5 minutes is broadcast and calibrated.
Disclosure of Invention
The invention provides a remote time-setting management method and system for an electric energy meter clock, overcomes the defects of the prior art, and can effectively solve the problem that the time setting can not be carried out only on the electric energy meter with the clock difference exceeding the limit value in the conventional remote electric energy meter clock correction method.
One of the technical schemes of the invention is realized by the following measures: a remote time setting management method for an electric energy meter clock comprises the following steps:
the master station counts the clock out-of-tolerance of each electric energy meter in the station area;
comparing the clock out-of-tolerance of each electric energy meter with a set threshold value, and screening out a set of electric energy meters to be calibrated, of which the clock out-of-tolerance exceeds the set threshold value;
and the master station directionally issues a broadcast timing command to each electric energy meter in the set of electric energy meters to be calibrated through the concentrator, so as to finish the clock timing of the electric energy meters.
The following is further optimization or/and improvement of the technical scheme of the invention:
the above-mentioned main website passes through the directional broadcast timing order of the sending of concentrator and waits every electric energy meter in the electric energy meter set of timing, includes:
for the electric energy meter to be calibrated, the master station forms a corresponding broadcast timing message;
the master station sends the broadcast timing message to a concentrator;
the concentrator analyzes the broadcast timing message and acquires a specified destination address and a broadcast timing command;
the concentrator carries out communication routing addressing according to the appointed destination address and determines to receive the electric energy meter;
the concentrator sends the broadcast timing command to the electric energy meter, so that the electric energy meter finishes clock timing.
The broadcast timing message comprises a data forwarding message of a first layer and a directional timing message of a second layer, and the directional timing message comprises a destination address and a broadcast timing command; the destination address is an address of the electric energy meter which needs to receive the broadcast timing command, the broadcast timing command comprises a clock value, and the clock value is the clock out-of-tolerance plus or minus N of the electric energy meter.
The broadcast timing command is a DL/T645 broadcast timing command.
The data forwarding message is a Q/GDW376.1 protocol message, and the directional timing message is a Q/GDW 376.2 protocol message.
After the master station screens out the sets of the electric energy meters to be calibrated, the clock out-of-tolerance of which exceeds a set threshold, sorting the electric energy meters in the sets of the electric energy meters to be calibrated from small to large according to the magnitude of the clock out-of-tolerance absolute value; and the master station directionally issues a broadcast timing command to the electric energy meters to be calibrated according to the arrangement sequence in the electric energy meter set to be calibrated.
The master station regularly calls clocks of the electric energy meters every day, counts out the clock out-of-tolerance of each electric energy meter in the distribution room, and calls and tests the point-to-point transparent transmission communication or the concentrator transparent task communication through the master station.
The second technical scheme of the invention is realized by the following measures: a remote time synchronization management system for an electric energy meter clock comprises a master station and a concentrator;
the master station is used for counting the clock out-of-tolerance of each electric energy meter in the station area; comparing the clock out-of-tolerance of each electric energy meter with a set threshold value, and screening out a set of electric energy meters to be calibrated, of which the clock out-of-tolerance exceeds the set threshold value; and directionally issuing a broadcast timing command through the concentrator.
The concentrator is used for analyzing the broadcast timing message and acquiring a specified destination address and a broadcast timing command; carrying out communication routing addressing according to the appointed destination address, and determining a receiving electric energy meter; and sending the broadcast timing command to the electric energy meter.
The invention utilizes the characteristic that the concentrator downlink communication protocol can specify the communication destination address to realize the aim that the broadcast timing command is only issued to the specified electric energy meter, thereby ensuring that the effective calibration management of the electric energy meter clock with the clock out-of-tolerance exceeding the set threshold is realized on the premise of not influencing the normal electric energy meter clock in the distribution room.
Drawings
Fig. 1 is a format diagram of a broadcast timing message according to the present invention.
Fig. 2 is a schematic diagram of the directional broadcast timing communication of the master station.
FIG. 3 is a flow chart of example 1 of the present invention.
Detailed Description
The present invention is not limited by the following examples, and specific embodiments may be determined according to the technical solutions and practical situations of the present invention.
The invention is further described with reference to the following examples and figures:
example 1: as shown in fig. 1, 2 and 3, the method for managing the remote time setting of the clock of the electric energy meter comprises the following steps:
the master station counts the clock out-of-tolerance of each electric energy meter in the station area;
comparing the clock out-of-tolerance of each electric energy meter with a set threshold value, and screening out a set of electric energy meters to be calibrated, of which the clock out-of-tolerance exceeds the set threshold value; the set threshold may be set to 5 minutes;
and the master station directionally issues a broadcast timing command to each electric energy meter in the set of electric energy meters to be calibrated through the concentrator, so as to finish the clock timing of the electric energy meters.
The master station counts the clock out-of-tolerance of each electric energy meter in the distribution area, namely, the master station regularly calls the clocks of the electric energy meters every day, and the clock out-of-tolerance condition of the electric energy meters is counted and analyzed. The clock of the electricity summoning meter can be carried out through a master station point-to-point transparent transmission communication or a concentrator transparent task communication mode.
The invention utilizes the characteristic that the concentrator downlink communication protocol can specify the communication destination address to realize the aim that the broadcast timing command is only issued to the specified electric energy meter, thereby ensuring that the effective calibration management of the electric energy meter clock with the clock out-of-tolerance exceeding the set threshold is realized on the premise of not influencing the normal electric energy meter clock in the distribution room.
The following is further optimization or/and improvement of the technical scheme of the invention:
as shown in fig. 1 and 2, the master station directionally issues a broadcast timing command to each electric energy meter in the set of electric energy meters to be calibrated through the concentrator, and the method includes:
for the electric energy meter to be calibrated, the master station forms a corresponding broadcast timing message;
the master station sends the broadcast timing message to a concentrator;
the concentrator analyzes the broadcast timing message and acquires a specified destination address and a broadcast timing command;
the concentrator carries out communication routing addressing according to the appointed destination address and determines to receive the electric energy meter;
the concentrator sends the broadcast timing command to the electric energy meter, so that the electric energy meter finishes clock timing.
And according to the requirement, the broadcast timing command is a DL/T645 broadcast timing command.
The concentrator acquires the destination address and the broadcast timing command in the broadcast timing message, so that the broadcast timing command is sent to the specified electric energy meter, and the broadcast timing operation of only the clock out-of-tolerance electric energy meter is realized.
As shown in fig. 1 and 2, the broadcast timing message includes a data forwarding message of a first layer and a directional timing message of a second layer, and the directional timing message includes a destination address and a broadcast timing command; the destination address is an address of the electric energy meter which needs to receive the broadcast timing command, the broadcast timing command comprises a clock value, and the clock value is the clock out-of-tolerance plus or minus N of the electric energy meter.
The above N may be set to 4 minutes. Namely, the clock value can be the clock out-of-tolerance of the electric energy meter plus or minus 4 minutes (the corresponding plus or minus is carried out according to the out-of-tolerance value in the positive and negative directions), and the broadcasting time correction operation is carried out on each electric energy meter only once every day.
According to the requirement, the data forwarding message is a Q/GDW376.1 protocol message, and the directional timing message is a Q/GDW 376.2 protocol message.
As shown in fig. 3, after the master station screens out a set of electric energy meters to be calibrated whose clock tolerance exceeds a set threshold, sorting the electric energy meters in the set of electric energy meters to be calibrated according to the absolute value of the clock tolerance from small to large; and the master station directionally issues a broadcast timing command to the electric energy meters to be calibrated according to the arrangement sequence in the electric energy meter set to be calibrated.
As shown in fig. 1, 2 and 3, the master station regularly calls clocks of the electric energy meters every day, counts the clock over-tolerance of each electric energy meter in the distribution area, and calls the main station to perform point-to-point transparent transmission communication or concentrator transparent task communication.
Example 2: as shown in fig. 2, the electric energy meter clock remote time setting management system includes a master station and a concentrator;
the master station is used for counting the clock out-of-tolerance of each electric energy meter in the station area; comparing the clock out-of-tolerance of each electric energy meter with a set threshold value, and screening out a set of electric energy meters to be calibrated, of which the clock out-of-tolerance exceeds the set threshold value; and directionally issuing a broadcast timing command through the concentrator.
The concentrator is used for analyzing the broadcast timing message and acquiring a specified destination address and a broadcast timing command; carrying out communication routing addressing according to the appointed destination address, and determining a receiving electric energy meter; and sending the broadcast timing command to the electric energy meter.
The above technical features constitute the best embodiment of the present invention, which has strong adaptability and best implementation effect, and unnecessary technical features can be increased or decreased according to actual needs to meet the requirements of different situations.