Method for processing electric energy meter settlement information
By introducing freezing and countdown mechanisms into the power meter, the main station sends standard time to correct the clock, the problem of power data corresponding to the power meter clock failure is solved, accurate time-division settlement is achieved, and the burden on the server is reduced, providing users with Evidence of the dispute is supported.
Patent Information
- Application Number
- CN202411276027.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-09-12
AI Technical Summary
In the prior art, when the power meter itself fails, it is impossible to accurately correspond to the power data in peak, flat, valley, and sharp periods of peak time periods, resulting in inaccurate settlement of time-sharing multi-rates, and frequently uploading data to the server. Increases server burden.
By introducing a freezing function and countdown mechanism into the power meter, the main station sends a standard time to correct the clock, ensuring that the total power is recorded in segmented moments, and data is uploaded uniformly on the settlement date, reducing the burden on the server, and data correction is carried out through the sub-meter to ensure billing accuracy.
In the case of a clock failure of the power meter, ensure that the power data in peak, flat, valley and sharp periods correspond to the actual time one by one, reduce the burden on the server, improve the accuracy of billing and settlement, and provide evidence support for user disputes.
Smart Images

Figure CN118800002B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electric energy meters, and in particular to a method for processing electric energy meter settlement information. Background Art
[0002] In order to regulate users' electricity usage, the power department has introduced a multi-rate settlement model, which sets electricity prices according to different time periods of the day, including peak, flat and valley periods. The electricity prices are different in different time periods to guide users to use electricity off-peak.
[0003] In the prior art, such as Patent Document 1, it is proposed to store the electricity recorded in different time periods in different storage areas so as to settle and charge according to the corresponding rates. However, the electric energy meter generally determines the time according to its own clock. If there is an error between the electric energy meter's own clock and the standard time (the standard time refers to the standard time of the National Time Service Center), the settlement information will be different from the user's own experience, which is easy to cause disputes.
[0004] In this regard, Patent Document 2 proposes the following solution: collect the meter code of the energy meter once at a specified time interval of 1 hour, and store it directly in the background server. When time-sharing settlement is required, directly obtain the power consumption of each time period from the server for calculation. In this solution, the total power measured by the energy meter is actually saved to the server every hour instead of being stored in the local storage of the energy meter. Since the collected energy meter data is uploaded to the server immediately, the server time can be used as the time for collecting the energy meter data, and the server time corresponds to the standard time, so that the collection time of these energy meter data can be determined when the energy meter's own clock is abnormal, avoiding the problem of inaccurate time-sharing multi-rate settlement of the energy meter caused by the abnormality of the energy meter clock.
[0005] However, the solution in Patent Document 2 still has the following shortcomings:
[0006] In the prior art, if the data is stored locally in the electric energy meter, the electricity consumption data for each period of each day of the month is generally uploaded once on the settlement day of each month. However, in the solution of Patent Document 2, the data is collected and reported to the server once every hour, and the data needs to be uploaded to the server 24 times a day, which takes up a lot of bandwidth resources of the server and increases the burden on the server.
[0007] Patent document 1, patent name, electronic electric energy meter and method for storing data thereof; publication number, CN103185834A; publication date, 2013-07-03.
[0008] Patent document 2, patent name, method, device and computer equipment for calculating time-sharing electricity consumption of electric energy meter; publication number, CN111044781B; publication date, 2020-04-21. Summary of the invention
[0009] The purpose of the present invention is to solve at least one of the technical problems existing in the prior art, and to provide a method for processing electricity meter settlement information, which can record the electricity consumption of each time period measured by the electricity meter in local storage, so that it can be uploaded to the server for billing and settlement on the settlement day to reduce the burden on the server. Even when the clock of the electricity meter itself fails, it can ensure that the electricity data of the peak, flat, valley and peak time periods of the electricity meter corresponds to the time-sharing electricity data of the actual time during billing and settlement, thereby accurately processing the time-sharing multi-rate settlement information.
[0010] In order to achieve the above-mentioned object of the invention, the present invention provides the following technical solutions:
[0011] A method for processing electric energy meter settlement information, the method comprising:
[0012] When the master station detects that the next segment time is far from the preset time, it sends the standard time corresponding to the current time to the electric energy meter; wherein, multiple time points used to form the boundary points of adjacent time periods in the 24-hour system are defined as multiple segment times;
[0013] When receiving the standard time, the electric energy meter obtains its own current time based on its own clock, and subtracts the current time from the standard time to obtain a time difference;
[0014] If the time difference is less than the first time difference threshold, when the time of the own clock reaches the next segment time, the freezing function of the electric energy meter is triggered to obtain the total power summary main meter of each segment time of the day;
[0015] If the time difference is greater than or equal to the first time difference threshold and not greater than the second time difference threshold, and the time adjustment has not been performed on that day, the time adjustment function is triggered; and after the time adjustment is completed, when the time of the own clock reaches the next segment time, the freezing function of the electric energy meter is triggered to obtain the total power summary main table of each segment time of the day;
[0016] If the time difference is greater than the second time difference threshold or the calibration has been completed for the day, a countdown is performed based on the preset time length, and at the same time, when the time of its own clock reaches the next segmented moment, the freezing function of the electric energy meter is triggered to obtain a main table summarizing the total electric power at each segmented moment of the day; and at the end of the countdown, the total electric power data measured by the electric energy meter and the time difference are taken together as a set of correction data and the correction data are saved in the local storage of the electric energy meter to obtain a sub-table summarizing the total electric power at each countdown end moment of the day.
[0017] In some embodiments, the first time difference threshold ranges from 0 to 2 seconds; the second time difference threshold is 5 minutes.
[0018] In some embodiments, 24 hours are divided into peak, flat, valley and sharp periods; wherein the peak period is from 8:00 to 11:00 and from 13:00 to 17:00 in the 24-hour system; the flat period is from 11:00 to 13:00 in the 24-hour system; the sharp period is from 17:00 to 22:00 in the 24-hour system; the valley period is from 0:00 to 8:00 and from 22:00 to 24:00 in the 24-hour system; the segmented times include: 0:00, 8:00, 11:00, 13:00, 17:00, 22:00 and 24:00.
[0019] In some embodiments, the power consumption in each time period is the total power consumption at the last time point minus the total power consumption at the first time point.
[0020] In some embodiments, the total power of each time period in the main table is corrected through the following process steps:
[0021] S1, for a target total power data in the secondary meter, subtract the corresponding time difference from its data time to obtain the corrected segment time; wherein the data time of a total power data is the time when the total power data is obtained by the electric energy meter based on its own clock measurement;
[0022] S2, matching the target segment time corresponding to the modified segment time in the main table, and replacing the total power data corresponding to the target segment time in the main table with the target total power data;
[0023] S3, executing the above steps S1 to S2 for each total power data in the subsidiary table to obtain a correction table.
[0024] In some embodiments, the time-phased fee calculation is performed based on a correction table.
[0025] In some embodiments, a positive time difference indicates that the clock of the electric energy meter is faster than the standard time; a negative time difference indicates that the clock of the electric energy meter is slower than the standard time.
[0026] In some embodiments, when the controller of the electric energy meter receives the last pulse sent from the electric energy metering chip at a first time point before the target segmentation time, the corresponding pulse number is N, and when the electric energy meter receives the first pulse sent from the electric energy metering chip at a second time point after the target segmentation time, the corresponding pulse number is N+1; wherein N is a natural number, and the pulse number is the total number of pulses accumulated since the electric energy meter starts to run; the method further includes:
[0027] Taking the time interval from the first time point to the target segmentation time as the segmentation duration;
[0028] Taking the time interval from the first time point to the second time point as the benchmark time length;
[0029] When the electric energy meter receives the N+1th pulse at the second time point, the ratio of the split time length to the reference time length is used as the split coefficient;
[0030] Determine the calibration total power data corresponding to the target segment time based on the segmentation coefficient;
[0031] The calibrated total electricity data corresponding to each segmented time of the day, the second time period and the total electricity summary sub-table at each countdown end time of the day are combined to generate a calibrated total electricity summary table and saved in the local storage of the energy meter.
[0032] In some embodiments, when the controller of the electric energy meter receives the last pulse sent from the electric energy metering chip at a first time point before the target segmentation time, the corresponding pulse number is N, and when the electric energy meter receives the first pulse sent from the electric energy metering chip at a second time point after the target segmentation time, the corresponding pulse number is N+1; wherein N is a natural number, and the pulse number is the total number of pulses accumulated since the electric energy meter starts to run; the method further includes:
[0033] Monitor the current value change sequence of the live wire from the pulse with the number of pulses N received before the target segmentation time to the pulse with the number of pulses N+1 received after the target segmentation time according to the set frequency;
[0034] The sum of the current value sequence from the first time point to the target segmentation time is taken as the segmentation energy value;
[0035] The sum of the current value sequence from the first time point to the second time point is used as the reference energy value;
[0036] When the electric energy meter receives the N+1th pulse at the second time point, the ratio of the split energy value to the reference energy value is used as the split coefficient;
[0037] Determine the calibration total power data corresponding to the target segment time based on the segmentation coefficient;
[0038] The calibrated total electricity data corresponding to each segmented time of the day, the second time period and the total electricity summary sub-table at each countdown end time of the day are combined to generate a calibrated total electricity summary table and saved in the local storage of the energy meter.
[0039] In some embodiments, determining the total power corresponding to the target segment time based on the segmentation coefficient specifically includes:
[0040] Get the pulse constant C of the energy meter;
[0041] Get the division coefficient Q;
[0042] Determine the total power W corresponding to the target segment time based on the following formula:
[0043] .
[0044] Beneficial effects: 1. Compared with the prior art that requires uploading a set of total power data to the server every hour, which occupies too much bandwidth resources of the server, in this application, the electric energy meter will save these data in local storage, and only upload these data to the server once on the settlement day to calculate the cost, thereby reducing the burden on the server. Specifically, in this application, the control master station actively sends the standard time corresponding to the current moment to the electric energy meter before each segment moment, so that the electric energy meter can accurately know whether its own clock is in a fault state when it needs to save data at each segment moment. If the clock is in a normal state, the freezing function is normally executed when the segment moment is reached. If the clock is in a fault state, when the time of its own clock reaches the next segment moment, it can be known that this is not the actual segment moment, so a set of correction data is added and recorded for correction during subsequent server settlement, so that without uploading the data of the electric energy meter to the server in real time every hour, it can also ensure that the power data of the peak, flat, valley, and peak periods of the electric energy meter correspond to the time-sharing power data of the actual time during billing settlement.
[0045] 2. This application introduces a sub-meter that summarizes the total electricity consumption at the end of each countdown of the day, so that the server can use the data in the sub-meter to correct the data in the main meter during settlement, and more accurately calculate the settlement fees for each time period; at the same time, the electricity meter provided by this application can be normally triggered by the electricity meter's own clock to freeze the total electricity consumption data measured by the electricity meter at the segmented time, without affecting the original freezing function of the electricity meter. Even in the event of a failure in the electricity meter's own clock, the original total electricity consumption data at the time of the failure is recorded through the main meter. When the user has doubts, the specific original data and the corrected data in the copy can be provided to the user for verification, thereby providing sufficient evidence to deal with possible user disputes.
[0046] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The present invention is further described below in conjunction with the accompanying drawings and embodiments;
[0048] Figure 1 A main table summarizing the total power consumption at each time segment of the day in an embodiment;
[0049] Figure 2 A sub-meter for summarizing the total power consumption at the end of each countdown of the day in an embodiment;
[0050] Figure 3 is a correction table in one embodiment;
[0051] Figure 4 A summary table of total power calibrated in one embodiment;
[0052] Figure 5 is a correction table in another embodiment;
[0053] Figure 6 The figure is a flow chart of a method for processing electric energy meter settlement information in an embodiment. DETAILED DESCRIPTION
[0054] This section will describe in detail the specific embodiments of the present invention. The preferred embodiments of the present invention are shown in the accompanying drawings. The purpose of the accompanying drawings is to supplement the description of the text part of the specification with graphics, so that people can intuitively and vividly understand each technical feature and the overall technical solution of the present invention, but it cannot be understood as a limitation on the scope of protection of the present invention.
[0055] like Figure 6 As shown, in one embodiment, a method for processing electric energy meter settlement information includes:
[0056] Step S202, when the master station detects that the next segment time is far from a preset time, it sends the standard time corresponding to the current time to the electric energy meter; wherein, multiple time points used to form the boundary points of adjacent time periods in the 24-hour system are defined as multiple segment times;
[0057] Step S204, when receiving the standard time, the electric energy meter obtains its own current time based on its own clock, and subtracts the current time from the standard time to obtain a time difference;
[0058] Step S206: the electric energy meter determines a corresponding processing strategy based on the time difference.
[0059] In the first case, if the time difference is less than the first time difference threshold, when the time of its own clock reaches the next segment time, the freezing function of the electric energy meter is triggered to obtain the total power summary main meter of each segment time of the day.
[0060] In this case, it is considered that the electric energy meter's own clock has no error or the error is acceptable, so no special correction is required, and the electric energy meter normally performs the original freezing function according to the preset program at the segmented moment.
[0061] In the second case, if the time difference is greater than or equal to the first time difference threshold and not greater than the second time difference threshold, and the time adjustment has not been performed on that day, the time adjustment function is triggered; and after the time adjustment is completed, when the time of its own clock reaches the next segmented moment, the freezing function of the electric energy meter is triggered to obtain the main meter summarizing the total electricity consumption at each segmented moment of the day.
[0062] In this case, it is considered that the electric energy meter can automatically repair the fault of the clock by calibrating the time. Therefore, after the clock calibration is completed, the freezing function of the normal segmented time is restored.
[0063] In the third case, if the time difference is greater than the second time difference threshold or the calibration has been completed for the day, a countdown is performed based on the preset time length, and at the same time, when the time of its own clock reaches the next segmented moment, the freezing function of the electric energy meter is triggered to obtain a main table summarizing the total electric power at each segmented moment of the day; and at the end of the countdown, the total electric power data measured by the electric energy meter and the time difference are taken together as a set of correction data and the correction data is saved in the local storage of the electric energy meter to obtain a sub-table summarizing the total electric power at the end of each countdown for the day.
[0064] In this case, the time calibration function of the energy meter itself is unable to calibrate the errors in its own clock, so an additional secondary table needs to be recorded to facilitate the server to correct the errors later. Specifically, since the master station always informs the energy meter of the standard time in advance before each segment time, even if the energy meter's own clock cannot be calibrated, the energy meter can record a total power data at the actual time of the segment time by countdown.
[0065] The core of this embodiment is to use the master station to actively send the standard time to the electric energy meter before the segment time, so that the electric energy meter can record the total electricity consumption at the actual segment time at the correct time point even when its own clock fails, thereby improving the accuracy of segment billing.
[0066] It should be noted that there are schemes in the prior art for calibrating the time of the electric energy meter using the master station of the time synchronization system, but there is no public scheme for using the time provided by the master station for countdown to accurately determine the time segment moment. It can be seen that the role of using the master station to send standard time to the electric energy meter in the prior art is to calibrate the time of the electric energy meter. Once the time difference is greater than 5 minutes or the calibration has been completed on the same day, the master station generally does not send the standard time to the electric energy meter. In the present application, when the time difference is greater than 5 minutes or the calibration has been completed on the same day, the standard time is still sent to the electric energy meter on time 10 minutes before the segment moment. Its role is to provide a basis for countdown, so that when the clock of the electric energy meter itself fails, the total electric energy data can also be saved at the actual segment moment, thereby solving the technical problem in the prior art that when the clock of the electric energy meter itself fails, it is impossible to ensure that the electric energy data of the peak, flat, valley and peak periods of the electric energy meter corresponds to the time-sharing electric energy data of the actual time when performing billing and settlement. The above is the contribution of this application to the prior art.
[0067] In summary, the solution provided in this embodiment will not affect the original freezing function of the electricity meter when the clock is normal. It only needs to trigger a specific strategy when the clock is abnormal. When the clock is abnormal, the total power data corresponding to the correct segmented time can also be recorded in the sub-meter. The subsequent server can accurately correct the power consumption data of each time period based on the sub-meter.
[0068] It should be noted that the freeze function refers to the operation of storing important data at a specific moment. In this application, when the freeze function of the electric energy meter is triggered, the time of its own clock at the time of the freeze operation (defined as data time) and the table code of the current electric energy meter (i.e. total electricity) will be saved, and the two will be written into the total electricity summary table of each segment time of the day. The format of the total electricity summary table of each segment time of the day is detailed in Figure 1 .
[0069] If the time difference is greater than the second time difference threshold or the calibration has been completed on that day, it means that the electric energy meter cannot be calibrated on that day, that is, the clock of the electric energy meter itself fails and the actual segment time cannot be determined by the clock of the electric energy meter itself. Therefore, in this embodiment, the electric energy meter accurately determines the actual time of the next segment time by countdown, and when the next time moment arrives, it is triggered by the end of the countdown, and the total power data, data time and the time difference measured by the electric energy meter at this time are taken together as a set of correction data and the correction data is saved in the local storage of the electric energy meter, so as to obtain the total power summary sub-table at the end of each countdown on that day, such as Figure 2 As shown. Subsequently, based on the time difference and data time, it is possible to calculate which segment the total power actually belongs to.
[0070] For example, the total electricity consumption of each segment on June 23 is summarized in the main table and the total electricity consumption of each countdown end time on the day is summarized in the sub-table as follows: Figure 1 and Figure 2 As shown. It can be seen that the electric energy meter's own clock is 7 minutes faster than the standard time, that is, 420 seconds. The preset duration is generally selected as 10 minutes. That is, 10 minutes before 0:00 on June 23, 2023, the master station will send the current standard time (that is, 23:50 on June 22, 2023) to the electric energy meter, and the electric energy meter clock is 23:57 on June 22, 2023. Therefore, the electric energy meter can determine that it is 7 minutes faster by comparing the standard time, and the time difference is 7 minutes. The second time difference threshold is 5 minutes, and 7 minutes is greater than the second time difference threshold, so correction data needs to be generated.
[0071] It should be noted that the electric energy meter timing system includes a master station and an electric energy meter. A master station is connected to at least one electric energy meter terminal in communication. For example, a master station can be connected to multiple electric energy meter terminals in communication. The master station is pre-programmed to detect that when the next segment moment is a preset time away, it sends the standard time corresponding to the current moment to the electric energy meter, and the electric energy meter can automatically correct its own clock according to the received standard time (provided that the time difference does not exceed five minutes or the time has not been adjusted on the same day). Among them, the master station can obtain the standard time through the GPS standard clock or the cesium atomic clock.
[0072] Beneficial effects: 1. Compared with the prior art that requires uploading a set of total power data to the server every hour, which occupies too much bandwidth resources of the server, in this application, the electric energy meter will save these data in local storage, and only upload these data to the server once on the settlement day to calculate the cost, thereby reducing the burden on the server. Specifically, in this application, the control master station actively sends the standard time corresponding to the current moment to the electric energy meter before each segment moment, so that the electric energy meter can accurately know whether its own clock is in a fault state when it needs to save data at each segment moment. If the clock is in a normal state, the freezing function is normally executed when the segment moment is reached. If the clock is in a fault state, when the time of its own clock reaches the next segment moment, it can be known that this is not the actual segment moment, so a set of correction data is added and recorded for correction during subsequent server settlement, so that without uploading the data of the electric energy meter to the server in real time every hour, it can also ensure that the power data of the peak, flat, valley, and peak periods of the electric energy meter correspond to the time-sharing power data of the actual time during billing settlement.
[0073] 2. This application introduces a sub-meter that summarizes the total electricity consumption at the end of each countdown of the day, so that the server can use the data in the sub-meter to correct the data in the main meter during settlement, and more accurately calculate the settlement fees for each time period; at the same time, the electricity meter provided by this application can be normally triggered by the electricity meter's own clock to freeze the total electricity consumption data measured by the electricity meter at the segmented time, without affecting the original freezing function of the electricity meter. Even in the event of a failure in the electricity meter's own clock, the original total electricity consumption data at the time of the failure is recorded through the main meter. When the user has doubts, the specific original data and the corrected data in the copy can be provided to the user for verification, thereby providing sufficient evidence to deal with possible user disputes.
[0074] In one embodiment, the first time difference threshold ranges from 0 to 2 seconds; the second time difference threshold ranges from 5 minutes.
[0075] It should be noted that in the specifications of electricity meters, such as Q / GDW 10354-2020, the time calibration requirements for electricity meters are as follows: the target electricity meter will accept the clock correction operation only when the difference between the standard clock sent by the master station to the target electricity meter and the target electricity meter's own clock is within 5 minutes, and automatic clock correction is only allowed once a day; once the difference between the standard clock sent by the master station to the target electricity meter and the target electricity meter's own clock is greater than 5 minutes, the target electricity meter will not execute the time calibration command and will feedback the time calibration failure information to the master station. The master station will alarm and remind you to perform manual clock calibration.
[0076] Therefore, if the time difference is greater than or equal to the first time difference threshold and not greater than 5 minutes, and the time calibration has not been completed on the day, the electric energy meter can be calibrated to synchronize the electric energy meter's own clock with the standard time. If the time difference is greater than 5 minutes or the time calibration has been completed on the day, it can be known that the electric energy meter cannot be calibrated, so it is necessary to record the corresponding time difference and record the corresponding electric energy meter code after the countdown ends, that is, the total power data, so that the server can correct the actual power consumption in each time period according to the time difference.
[0077] It is known that the parameters of the clock crystal of the electric energy meter itself change, especially the output frequency of the crystal changes due to the influence of the ambient temperature during operation. Its temperature characteristics are that the clock is slow when the ambient temperature deviates from the calibration temperature, resulting in the daily error of the clock exceeding the standard of 0.5s / d at 23°C. It can be seen that by setting the first time difference threshold, the time calibration will be triggered after 4 days, ensuring that the daily error of the clock itself is within 2 seconds.
[0078] In one embodiment, 24 hours are divided into peak, flat, valley, and sharp periods; wherein the peak period is from 8:00 to 11:00 and from 13:00 to 17:00 in the 24-hour system; the flat period is from 11:00 to 13:00 in the 24-hour system; the sharp period is from 17:00 to 22:00 in the 24-hour system; the valley period is from 0:00 to 8:00 and from 22:00 to 24:00 in the 24-hour system;
[0079] The segmented times include: 0 o'clock, 8 o'clock, 11 o'clock, 13 o'clock, 17 o'clock, 22 o'clock, and 24 o'clock.
[0080] In one embodiment, the power consumption in each time period is the total power consumption at the last time point minus the total power consumption at the first time point.
[0081] For example, based on Figure 1 From the main table shown, we can get the electricity consumption on June 23, which is 191.73-190.41=1.32kWh during normal period.
[0082] Obviously, due to the clock failure itself, there are errors in the power consumption of each time period calculated above. Therefore, the total power consumption of each time period is corrected by the solution provided in the following embodiment to obtain a correction table, and then the power consumption of each time period is calculated based on the correction table, so that a more accurate power consumption calculation result can be obtained.
[0083] In one embodiment, the total electricity of each time period in the main table is corrected through the following process steps:
[0084] S1, for a target total power data in the secondary meter, subtract the corresponding time difference from its data time to obtain the corrected segment time; wherein the data time of a total power data is the time when the total power data is obtained by the electric energy meter based on its own clock measurement;
[0085] S2, matching the target segment time corresponding to the modified segment time in the main table, and replacing the total power data corresponding to the target segment time in the main table with the target total power data;
[0086] S3, executing the above steps S1 to S2 for each total power data in the subsidiary table to obtain a correction table.
[0087] The main table ( Figure 1 ) and the sub-table (as shown Figure 2 As shown in the figure, execute the above S1 to S3 process. Specifically, 185.41kWh is used as the first total power data in the secondary table, and it is used as the target total power data. Its data time is 2023 / 6 / 23 00:07:00. After subtracting the time difference of 420 seconds, the obtained time is defined as the corrected segment time, that is, 2023 / 6 / 23 00:00:00. In the main table (i.e. Figure 1 ), the total power data corresponding to 2023 / 6 / 23 00:00:00 is the first total power data, that is, 185.02kWh. Therefore, 185.41kWh is used to replace 185.02kWh. For each total power data in the subsidiary table, the above steps S1 to S2 are performed to obtain the following: Figure 3 Correction table shown.
[0088] In one embodiment, the time-phased fee calculation is performed based on the correction table.
[0089] In this embodiment, after the server obtains the correction table, it calculates the power consumption of each time period based on the correction table, and multiplies the power consumption of each time period by the corresponding rate to obtain the fee for that time period on that day. Similarly, the correction table is obtained for each day of a month to calculate the fee for each time period of each day, and finally the fees for each time period of each day are added up to obtain the fees for each time period of a month and the total fee, which can provide accurate fee calculation even when the clock itself fails.
[0090] In one embodiment, a positive time difference indicates that the clock of the electric energy meter is faster than the standard time; a negative time difference indicates that the clock of the electric energy meter is slower than the standard time.
[0091] For example, 10 minutes before 0:00 on June 23, 2023, the master station will send the current standard time (i.e. 23:50 on June 22, 2023) to the electricity meter, and the electricity meter clock is 23:57 on June 22, 2023. Therefore, the electricity meter can determine that it is 7 minutes fast by comparing the standard time, and the time difference is 7 minutes, or 420 seconds.
[0092] For example, 10 minutes before 0:00 on August 23, 2023, the master station will send the current standard time (i.e. 23:50 on June 22, 2023) to the electricity meter, and the electricity meter clock is 23:43 on June 22, 2023. Therefore, the electricity meter can determine that it is 7 minutes slow by comparing the standard time, and the time difference is -7 minutes, i.e. -420 seconds.
[0093] In one embodiment, when the controller of the electric energy meter receives the last pulse sent from the electric energy metering chip at a first time point before the target segmentation time, the corresponding pulse number is N, and when the electric energy meter receives the first pulse sent from the electric energy metering chip at a second time point after the target segmentation time, the corresponding pulse number is N+1; wherein N is a natural number, and the pulse number is the total number of pulses accumulated from the start of the operation of the electric energy meter; the method further includes:
[0094] Step S302, taking the time interval from the first time point to the target segmentation time as the segmentation duration;
[0095] Step S304, taking the time interval from the first time point to the second time point as a reference time length;
[0096] Step S306, when the electric energy meter receives the N+1th pulse at the second time point, the ratio of the split time length to the reference time length is used as the split coefficient;
[0097] Step S308, determining the calibration total power data corresponding to the target segment time based on the segmentation coefficient;
[0098] Step S310, merging the calibration total electricity data corresponding to each segment time of the day, the second time period and the total electricity summary sub-table of each countdown end time of the day to generate a calibration total electricity summary table and save it in the local storage of the energy meter.
[0099] like Figure 4 As shown, for example, when the target segment time is 11 o'clock, the corresponding second time point is 11:07:07. After the above calculation, the corresponding target standard total power is 190.5903 kWh.
[0100] In one example, the calibration total power summary for June 23 is as follows: Figure 4 As shown, when the energy meter on the settlement day uploads the three types of tables, namely the main table, the auxiliary table and the calibration total electricity summary table of each day of the month, to the server, the server can refer to steps S4 to S6 and use the calibrated total electricity in the calibrated total electricity summary table to replace the total electricity in the auxiliary table, so as to obtain the following Figure 5 The correction table shown, the subsequent segmented billing based on the correction table has higher accuracy.
[0101] S4, for a target calibration total power data in the calibration total power summary table, subtract the corresponding time difference from its data time to obtain a corrected segment time; wherein the data time of a calibration total power data is the previous segment time before the second time point;
[0102] S5, matching the target segment time corresponding to the corrected segment time in the main table, and replacing the total power data corresponding to the target segment time in the main table with the target calibrated total power data;
[0103] S6, executing the above steps S4 to S5 for each piece of calibration total power data in the calibration total power summary table to obtain a correction table.
[0104] like Figure 4 As shown, for example, the third data is used as the target standard total power, and its value is 190.5903kWh. The corresponding data time is 11:07:00. Subtracting the time difference of 420 seconds, the corrected segment time is 11:00:00. Finally, the correction table is as follows Figure 5 shown.
[0105] In this embodiment, considering that if the user uses electricity stably and continuously between the first time point and the second time point, the distribution of the electric energy corresponding to the N+1th pulse before and after the segmented moment can be determined based on the duration of electricity consumption before and after the segmented moment (i.e., the first duration and the second duration), so that more accurate electric energy metering can be achieved.
[0106] In one embodiment, when the controller of the electric energy meter receives the last pulse sent from the electric energy metering chip at a first time point before the target segmentation time, the corresponding pulse number is N, and when the electric energy meter receives the first pulse sent from the electric energy metering chip at a second time point after the target segmentation time, the corresponding pulse number is N+1; wherein N is a natural number, and the pulse number is the total number of pulses accumulated from the start of the operation of the electric energy meter; the method further includes:
[0107] Step S402, monitoring the current value change sequence of the live wire from the pulse with the number of pulses N received before the target segmentation time to the pulse with the number of pulses N+1 received after the target segmentation time according to the set frequency;
[0108] Step S404, taking the sum of the current value sequence from the first time point to the target segmentation time as the segmentation energy value;
[0109] Step S406, taking the sum of the current value sequence from the first time point to the second time point as the reference energy value;
[0110] Step S408, when the electric energy meter receives the N+1th pulse at the second time point, the ratio of the split energy value to the reference energy value is used as a split coefficient;
[0111] Step S410, determining the calibration total power data corresponding to the target segment time based on the segmentation coefficient;
[0112] Step S412, merging the calibration total electricity data corresponding to each segment time of the day, the second time period and the total electricity summary sub-table of each countdown end time of the day to generate a calibration total electricity summary table and save it in the local storage of the energy meter.
[0113] In this embodiment, unlike the above-mentioned use of the ratio of the split time length to the reference time length as the split coefficient, the present application can be better applied to situations where the user's power consumption does not change steadily on average from the first time point to the second time point. Specifically, a Hall current sensor can be used to detect the current change of the incoming live wire, and the output end of the Hall current sensor is connected to the ADC pin of the electric energy meter controller, and the voltage signal output by the sensor is converted into a real current reading by calculation, thereby obtaining the size of each current value. For example, sensitivity: 100 mV / A (meaning that for every 1A of current passing through, the output voltage increases by 100 millivolts), maximum detection current: ±50A, output bias: 2.5V (output voltage when no current passes through).
[0114] First, determine the actual current through the sensor if the measured output voltage is 3.0V.
[0115] Next, determine the relationship between output voltage and current: Since the sensor sensitivity is 100 mV / A, if the output voltage increases by 100 mV, it means that the current actually increases by 1A.
[0116] Next, consider the output offset: the sensor will also output an offset voltage (2.5V) when no current is flowing. Any output voltage exceeding this offset value should be considered a change caused by the actual current.
[0117] Then, calculate the voltage change over the bias: Measured output voltage = 3.0V, output bias = 2.5V, Voltage over bias = 3.0V - 2.5V = 0.5V.
[0118] Finally, convert the voltage to current: Voltage over bias = 0.5V, Sensitivity = 100 mV / A, Actual current = 0.5V / 0.1V / A = 5A.
[0119] It can be seen that under the preset frequency (for example, 20Hz), 1 second is divided into 20 time periods, so 20 current values can be divided into each second to form a current value sequence corresponding to this second. Then the amount of electricity consumed in each time period = U*I*T, where U is the voltage, I is the current in the time period, and T is the duration of each time period. It can be seen that because the household voltage does not change to 220V, all Ts are the same, so the sum of the currents can be directly used as a measure of the total electricity between the first time point and the second time point. Similarly, the amount of electricity from the first time point to the segmented moment can also be expressed by the sum of the current values from the first time point to the segmented moment, so that this embodiment can only calculate the sum of the current values to represent the split energy value and the reference energy value, without the need to perform load integration operations, thereby improving the efficiency of calculating the split coefficient, and thus improving the efficiency of calculating the total electricity.
[0120] Specifically, determining the total power corresponding to the target segment time based on the segmentation coefficient specifically includes:
[0121] Step A, obtaining the pulse constant C of the energy meter;
[0122] Step B, obtaining a division coefficient Q;
[0123] Step C, determining the total power W corresponding to the target segment time based on the following formula:
[0124] .
[0125] In one example, the pulse constant is 1600imp / (kWh). The energy meter uses the energy metering chip ADE775 to complete the energy metering work and transmit the energy pulse signal to the controller (implemented by a microprocessor). The controller is the core device of the energy meter and is responsible for processing the energy pulse count. It manages the display display, reads the real-time clock data, saves and maintains the data in the data storage, switches the time period, and manages the communication interface.
[0126] In the prior art, the total electricity calculation method for determining the target segmented moment is W=N / C. This calculation method ignores part of the electricity between the Nth pulse and the N+1th pulse. Although the error caused by the ignored electricity at each segmented moment is not much, when it is taken as a year and involves a large number of users such as thousands of outdoor users, the electricity error will be magnified to a considerable extent. Therefore, it is necessary to make more accurate statistics on this part of electricity to facilitate the power department to more accurately control the electricity usage data.
[0127] In one embodiment, an electric energy meter settlement information processing device is also provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the steps of the above-mentioned electric energy meter settlement information processing method when executing the program. The steps of the electric energy meter settlement information processing method here may be the steps in the above-mentioned various embodiments.
[0128] In one embodiment, a computer-readable storage medium is further provided, wherein the computer-readable storage medium stores computer-executable instructions, wherein the computer-executable instructions are used to enable a computer to execute the steps of the above-mentioned method for processing electric energy meter settlement information. The steps of the method for processing electric energy meter settlement information here may be the steps of the method for processing electric energy meter settlement information in the above-mentioned embodiments.
[0129] In one embodiment, an electric energy meter is also provided. The electric energy meter includes a controller and an electric energy metering chip. The controller is used to execute the above-mentioned electric energy meter settlement information processing method.
[0130] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRA), memory bus (Rambus) direct RAM (RDRA), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0131] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
Claims
1. A method for processing electric energy meter settlement information, characterized in that: The method comprises: When the master station detects that the next segment time is far from the preset time, it sends the standard time corresponding to the current time to the electric energy meter; wherein, multiple time points used to form the boundary points of adjacent time periods in the 24-hour system are defined as multiple segment times; When receiving the standard time, the electric energy meter obtains its own current time based on its own clock, and subtracts the current time from the standard time to obtain a time difference; If the time difference is less than the first time difference threshold, when the time of the own clock reaches the next segment time, the freezing function of the electric energy meter is triggered to obtain the total power summary main meter of each segment time of the day; If the time difference is greater than or equal to the first time difference threshold and not greater than the second time difference threshold, and the time adjustment has not been performed on that day, the time adjustment function is triggered; and after the time adjustment is completed, when the time of the own clock reaches the next segment time, the freezing function of the electric energy meter is triggered to obtain the total power summary main table of each segment time of the day; If the time difference is greater than the second time difference threshold or the calibration has been completed for the day, a countdown is performed based on the preset time length, and at the same time, when the time of its own clock reaches the next segmented moment, the freezing function of the electric energy meter is triggered to obtain a main table summarizing the total electric power at each segmented moment of the day; and at the end of the countdown, the total electric power data measured by the electric energy meter and the time difference are taken together as a set of correction data and the correction data are saved in the local storage of the electric energy meter to obtain a sub-table summarizing the total electric power at each countdown end moment of the day.
2. The method for processing electric energy meter settlement information according to claim 1, characterized in that: The first time difference threshold ranges from 0 to 2 seconds; the second time difference threshold ranges from 5 minutes.
3. The method for processing electric energy meter settlement information according to claim 1, characterized in that: The 24-hour system is divided into peak, flat, valley and sharp periods; the peak period is from 8:00 to 11:00 and from 13:00 to 17:00; the flat period is from 11:00 to 13:00; the sharp period is from 17:00 to 22:00; the valley period is from 0:00 to 8:00 and from 22:00 to midnight; The segmented times include: 0 o'clock, 8 o'clock, 11 o'clock, 13 o'clock, 17 o'clock, 22 o'clock, and 24 o'clock.
4. The method for processing electric energy meter settlement information according to claim 1, characterized in that: The power consumption in each period is the total power consumption at the last time point minus the total power consumption at the first time point.
5. The method for processing electric energy meter settlement information according to claim 4, characterized in that: Correct the total electricity consumption for each period in the main table through the following process steps: S1, for a target total power data in the secondary meter, subtract the corresponding time difference from its data time to obtain the corrected segment time; wherein the data time of a total power data is the time when the total power data is obtained by the electric energy meter based on its own clock measurement; S2, matching the target segment time corresponding to the modified segment time in the main table, and replacing the total power data corresponding to the target segment time in the main table with the target total power data; S3, executing the above steps S1 to S2 for each total power data in the subsidiary table to obtain a correction table.
6. The method for processing electric energy meter settlement information according to claim 5, characterized in that: Calculate the cost by time period based on the correction table.
7. The method for processing electric energy meter settlement information according to claim 1, characterized in that: A positive time difference indicates that the clock of the electric energy meter itself is faster than the standard time; a negative time difference indicates that the clock of the electric energy meter itself is slower than the standard time.
8. The method for processing electric energy meter settlement information according to claim 1, characterized in that: When the controller of the electric energy meter receives the last pulse sent from the electric energy metering chip at a first time point before the target segmentation time, the corresponding pulse number is N, and when the electric energy meter receives the first pulse sent from the electric energy metering chip at a second time point after the target segmentation time, the corresponding pulse number is N+1; wherein N is a natural number, and the pulse number is the total number of pulses accumulated since the electric energy meter starts to run; the method further includes: Taking the time interval from the first time point to the target segmentation time as the segmentation duration; Taking the time interval from the first time point to the second time point as the benchmark time length; When the electric energy meter receives the N+1th pulse at the second time point, the ratio of the split time length to the reference time length is used as the split coefficient; Determine the calibration total power data corresponding to the target segment time based on the segmentation coefficient; The calibrated total electricity data corresponding to each segmented time of the day, the second time period and the total electricity summary sub-table at each countdown end time of the day are combined to generate a calibrated total electricity summary table and saved in the local storage of the energy meter.
9. The method for processing electric energy meter settlement information according to claim 1, characterized in that: When the controller of the electric energy meter receives the last pulse sent from the electric energy metering chip at a first time point before the target segmentation time, the corresponding pulse number is N, and when the electric energy meter receives the first pulse sent from the electric energy metering chip at a second time point after the target segmentation time, the corresponding pulse number is N+1; wherein N is a natural number, and the pulse number is the total number of pulses accumulated since the electric energy meter starts to run; the method further includes: Monitor the current value change sequence of the live wire from the pulse with the number of pulses N received before the target segmentation time to the pulse with the number of pulses N+1 received after the target segmentation time according to the set frequency; The sum of the current value sequence from the first time point to the target segmentation time is taken as the segmentation energy value; The sum of the current value sequence from the first time point to the second time point is used as the reference energy value; When the electric energy meter receives the N+1th pulse at the second time point, the ratio of the split energy value to the reference energy value is used as the split coefficient; Determine the calibration total power data corresponding to the target segment time based on the segmentation coefficient; The calibrated total electricity data corresponding to each segmented time of the day, the second time period and the total electricity summary sub-table at each countdown end time of the day are combined to generate a calibrated total electricity summary table and saved in the local storage of the energy meter.
10. A method for processing electric energy meter settlement information according to claim 8 or 9, characterized in that: The step of determining the calibration total power data corresponding to the target segment time based on the segmentation coefficient specifically includes: Get the pulse constant C of the electric energy meter; Get the division coefficient Q; The calibration total power data W corresponding to the target segment time is determined based on the following formula: 。
Citation Information
Patent Citations
Electronic power meter and method for storing data thereof
CN103185834A
Time-of-use electricity calculation method, device and computer equipment for electricity meters
CN111044781B
Automatic time synchronization method and device for electric energy meter and terminal equipment
CN108919172A
Method for achieving data copying-reading under out-of-tolerance of electric energy meter clock in communication module
CN109147294A
Data recording and freezing data recovery method for abnormity of calendar clock of electric energy meter
CN109239426A
