Calibration system and method for real-time clock calibration of a power management device

The calibration system, consisting of a high-low temperature chamber and a controller, provides a stable calibration environment temperature and time-domain piecewise interpolation compensation, solving the problem of insufficient accuracy in real-time clock calibration of power management equipment and achieving high-precision real-time clock calibration and accurate compensation curves.

CN117289587BActive Publication Date: 2026-06-12JIANGYIN CHANGYI GRP CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
JIANGYIN CHANGYI GRP CO LTD
Filing Date
2023-09-11
Publication Date
2026-06-12

AI Technical Summary

Technical Problem

The real-time clock calibration of existing power management equipment is not accurate enough and cannot meet the time segmentation and calculation requirements of electricity sales business. In particular, the real-time clock function of the equipment is not reliable enough under different ambient temperatures.

Method used

The calibration system, consisting of a high and low temperature chamber, temperature sensor, daily time calibrator, ambient temperature control device and controller, achieves stable calibration ambient temperature and time-domain segmented interpolation compensation through multi-channel selection device and controller, providing accurate real-time clock calibration.

🎯Benefits of technology

It achieves high-precision real-time clock calibration for power management equipment, improves the reliability of the calibration process and the accuracy of the compensation curve, and meets the time segmentation and calculation requirements of electricity sales business.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117289587B_ABST
    Figure CN117289587B_ABST
Patent Text Reader

Abstract

The application discloses a calibration system and method for real-time clock calibration of power utilization management equipment, wherein the power utilization management equipment comprises concentrators and electric energy meters in a power utilization information system; a controller in the system is connected with a high-low temperature box, a plurality of first temperature sensors, at least one daily time calibration instrument, an ambient temperature adjusting device, at least one second temperature sensor and a first multi-way selection device; and the controller can provide stable calibration ambient temperature and ambient temperature for the power utilization management equipment and the daily time calibration instrument, effectively ensures the reliability of the calibration process, and provides environmental protection for high-precision calibration of the real-time clock of the power utilization management equipment; by ensuring the stability of the calibration ambient temperature, reliable real-time data can be provided for a compensation curve for time domain segmentation interpolation compensation of the power utilization management equipment, and then the accuracy of the compensation curve for time domain segmentation interpolation compensation can be greatly improved while effectively improving the calibration efficiency of the power utilization management equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application generally relates to the field of real-time clock calibration technology, and specifically to a calibration system and method for real-time clock calibration of power management equipment. Background Technology

[0002] With the further liberalization of electricity sales, spot trading will inevitably occupy a central position in the future electricity market. The essence of spot trading is the segmentation and calculation of load across different time periods, so inaccurate timing will inevitably affect the fairness of the transaction. This necessitates that the entire electricity management system possess a precise real-time clock function.

[0003] In related technologies, although attempts have been made to provide clock calibration curves for devices with real-time clock functions (such as concentrators or energy meters), due to the complexity of the manufacturing process and the variability of ambient temperature, the real-time clock function of the device has high standards, and the reliability of the device's real-time clock function cannot be ensured by internal algorithms alone. Summary of the Invention

[0004] In view of the above-mentioned defects or deficiencies in the prior art, it is desirable to provide a calibration system and method for real-time clock calibration of power management equipment, which can achieve high-precision calibration of the real-time clock of power management equipment and meet the clock accuracy requirements in the power sales business scenario.

[0005] In a first aspect, this application proposes a calibration system for real-time clock calibration of power management equipment, wherein the power management equipment includes a concentrator and an energy meter in an power information system, and the calibration system includes:

[0006] A high and low temperature chamber, wherein the high and low temperature chamber is used to provide a stable first calibration environment temperature for multiple devices to be calibrated, the first calibration environment temperature including the operating environment temperature of the devices to be calibrated;

[0007] Multiple first temperature sensors are installed in the high and low temperature chamber to collect the first real-time temperature at various points inside the high and low temperature chamber.

[0008] At least one daily timing calibrator is provided, and the daily timing calibrator is connected to a plurality of the devices to be calibrated. The daily timing calibrator is used to measure the daily timing error of the real-time clock function of the devices to be calibrated.

[0009] An ambient temperature regulating device is used to provide a stable second calibration ambient temperature for the plurality of daytime calibrators;

[0010] At least one second temperature sensor, wherein the at least one second temperature sensor is used to acquire the second real-time temperature of the environment in which the multiple daytime calibrators are located;

[0011] A first multiplexing device is connected to multiple devices to be calibrated, and the first multiplexing device is used to collect a third real-time temperature in the multiple devices to be calibrated.

[0012] The controller is connected to the high and low temperature chamber, multiple first temperature sensors, multiple daily time calibrators, the ambient temperature control device, at least one second temperature sensor, and a first multiplexer.

[0013] The controller is used to receive multiple first real-time temperatures collected by multiple first temperature sensors, and to adjust the temperature of the high and low temperature chamber based on the multiple first real-time temperatures, so as to provide a stable first calibration environment temperature inside the high and low temperature chamber.

[0014] It is also configured to receive at least one second real-time temperature acquired by at least one second temperature sensor, and to adjust the ambient temperature regulating device based on at least one second real-time temperature, so that the ambient temperature regulating device provides a stable second calibrated ambient temperature; and

[0015] For each of the devices to be calibrated, a compensation curve for time-domain piecewise interpolation compensation is obtained based on the first calibration ambient temperature and the daily timing error.

[0016] In some embodiments, the calibration system further includes:

[0017] The second multiplexing device is connected to multiple devices to be calibrated, at least one of the daytime calibrators, and the controller. The second multiplexing device is used to connect the devices to be calibrated with the daytime error to be measured to the daytime calibrator under the selection control of the controller.

[0018] In some embodiments, the first calibration ambient temperature includes multiple values, and the controller is further configured to:

[0019] Under multiple first calibration ambient temperatures, the daily timing error compensation curve of each device to be calibrated is obtained based on the first calibration ambient temperature and the daily timing error using a time-domain piecewise interpolation compensation method.

[0020] In some embodiments, the first calibration ambient temperature includes one or more of -25°C, 0°C, 23°C, 25°C, 43°C, 45°C, 55°C, and 65°C.

[0021] In some embodiments, the controller is further configured to:

[0022] Before receiving the daily timing error measured by the daily timing calibrator, multiple first real-time temperatures are continuously acquired for each of the first temperature sensors within a first preset time period;

[0023] If the first difference between multiple first real-time temperatures and the first calibration ambient temperature is less than the first preset difference, then it is determined that the location of the first temperature sensor in the high and low temperature chamber provides a stable first calibration ambient temperature.

[0024] If the first difference between multiple first real-time temperatures and the first calibration ambient temperature is greater than or equal to a first preset difference, then the high and low temperature chamber is controlled to adjust the temperature so that the high and low temperature chamber provides a uniform and stable first calibration ambient temperature.

[0025] In some embodiments, the controller is further configured to:

[0026] After receiving the daily timing error measured by the daily timing calibrator, for each of the first temperature sensors, if the first difference between the first real-time temperature and the first calibration ambient temperature is less than the second preset difference, then it is determined that the temperature inside the high and low temperature chamber is the first calibration ambient temperature, which is uniform and stable.

[0027] If the first difference between the first real-time temperature and the first calibration ambient temperature is greater than or equal to the second preset difference, then the high and low temperature chamber is controlled to adjust the temperature so that the high and low temperature chamber provides a uniform and stable first calibration ambient temperature, and the daily timing error measured by the daily timing calibrator is received again.

[0028] Wherein, the first preset difference is less than the second preset difference.

[0029] In some embodiments, the mapping relationship between the first calibration ambient temperature and the daily timing error is as follows:

[0030] Ferr = C n ×T n +C n-1 ×T n-1 +C n-2 ×T n-2 +…+C1×T+C0

[0031] Where T is the first calibration ambient temperature, Ferr is the error compensation value, i.e., the daily timing error corresponding to the first calibration ambient temperature, and C n These are the undetermined coefficients for error compensation.

[0032] In some embodiments, the controller is further configured to:

[0033] Based on the compensation curve of each of the devices to be calibrated, the devices to be calibrated are retested;

[0034] If the retested daily timing error measured by the daily timing calibrator is greater than the calibration error, the device to be calibrated is recalibrated, and a compensation curve after recalibration is generated. The retested daily timing error is the daily timing error measured by the daily timing calibrator after the device to be calibrated has compensated the real-time clock using the time-domain piecewise interpolation compensation method.

[0035] In some embodiments, the device to be calibrated compensates the real-time clock using a time-domain piecewise interpolation compensation method, including:

[0036] A predetermined compensation time domain period is set, and the compensation time domain period is divided into several time segments, the duration of which is t; the several time segments consist of k1 positive compensation time segments, k2 negative compensation time segments, and k3 zero compensation time segments.

[0037] In each positive compensation time segment of the compensation time domain period, a reference compensation value f, i.e., +f, is added to the compensation register; in each negative compensation time segment of the compensation time domain period, a reference compensation value f, i.e., -f, is subtracted from the compensation register; in each zero compensation time segment of the compensation time domain period, the value in the compensation register remains unchanged, i.e., +0; by setting appropriate k1, k2, and k3, the required error compensation value Ferrr within the compensation time domain period is achieved.

[0038] Secondly, this application proposes a calibration method for real-time clock calibration of power management equipment, wherein the power management equipment includes a concentrator and an energy meter in a power information system, and the method employs the aforementioned calibration system. The method includes:

[0039] The system receives multiple first real-time temperatures collected by multiple first temperature sensors and adjusts the temperature of the high and low temperature chamber based on the multiple first real-time temperatures to provide a stable first calibration environment temperature inside the high and low temperature chamber.

[0040] Receive at least one second real-time temperature acquired by at least one second temperature sensor, and adjust the ambient temperature regulation device based on at least one second real-time temperature to provide a stable second calibrated ambient temperature; and

[0041] For each of the devices to be calibrated, a compensation curve for time-domain piecewise interpolation compensation is obtained based on the first calibration ambient temperature and the daily timing error.

[0042] The technical solutions provided by the embodiments of this application may include the following beneficial effects:

[0043] The calibration system and method proposed in this application for real-time clock calibration of power management equipment can provide stable calibration environment temperature and ambient temperature for power management equipment and daily time calibrator, effectively ensuring the reliability of the calibration process and providing environmental protection for high-precision calibration of real-time clock of power management equipment. At the same time, by ensuring stable calibration environment temperature, reliable real-time data can be provided for obtaining compensation curves for time-domain piecewise interpolation compensation of power management equipment, thereby significantly improving the accuracy of compensation curves for time-domain piecewise interpolation compensation while effectively improving the calibration efficiency of power management equipment. Attached Figure Description

[0044] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:

[0045] Figure 1 A schematic diagram of the structure of a calibration system for real-time clock calibration of power management equipment, provided for an embodiment of this application;

[0046] Figure 2 A schematic diagram of temperature and frequency deviation curves provided for embodiments of this application;

[0047] Figure 3 A flowchart illustrating a calibration method for real-time clock calibration of power management equipment, provided as an embodiment of this application;

[0048] The system includes a high and low temperature chamber 10, a device to be calibrated 20, a first temperature sensor 30, an ambient temperature control device 40, a daily timer calibrator 50, a second temperature sensor 60, a first multiplexer 70, a second multiplexer 80, and a controller 90. Detailed Implementation

[0049] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings.

[0050] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0051] Figure 1 This is a schematic diagram of the structure of a calibration system for real-time clock calibration of power management equipment, provided as an embodiment of this application.

[0052] like Figure 1 As shown in the embodiment of this application, a calibration system for real-time clock calibration of power management equipment is provided. The power management equipment includes a concentrator and an energy meter in a power information system. The calibration system includes:

[0053] High and low temperature chamber 10 is used to provide a stable first calibration environment temperature for multiple devices 20 to be calibrated, the first calibration environment temperature including the operating environment temperature of the devices 20 to be calibrated.

[0054] Multiple first temperature sensors 30 are installed in the high and low temperature chamber 10 to collect the first real-time temperature at various points inside the high and low temperature chamber 10.

[0055] At least one daily timing calibrator 50 is connected to a plurality of devices 20 to be calibrated. The daily timing calibrator 50 is used to measure the daily timing error of the real-time clock function of the devices 20 to be calibrated.

[0056] Ambient temperature regulating device 40 is used to provide a stable second calibration ambient temperature for multiple daily timekeeping calibrators 50;

[0057] At least one second temperature sensor 60 is used to acquire the second real-time temperature of the environment in which the multiple daytime calibrators 50 are located.

[0058] The first multiplexing device 70 is connected to multiple devices 20 to be calibrated, and the first multiplexing device 70 is used to collect the third real-time temperature in the multiple devices 20 to be calibrated.

[0059] The controller 90 is connected to the high and low temperature chamber 10, multiple first temperature sensors 30, multiple daily time calibrators 50, ambient temperature control device 40, at least one second temperature sensor 60 and a first multiplexer 70 respectively.

[0060] The controller 90 is used to receive multiple first real-time temperatures collected by multiple first temperature sensors 30, and to adjust the temperature of the high and low temperature chamber 10 based on the multiple first real-time temperatures, so as to provide a stable first calibration environment temperature inside the high and low temperature chamber 10.

[0061] It is also configured to receive at least one second real-time temperature acquired by at least one second temperature sensor 60, and to adjust the ambient temperature regulating device 40 based on the at least one second real-time temperature, so that the ambient temperature regulating device 40 provides a stable second calibrated ambient temperature; and

[0062] For each device 20 to be calibrated, a compensation curve is obtained for time-domain piecewise interpolation compensation based on the first calibration ambient temperature and daily timing error.

[0063] In some feasible embodiments, since the device to be calibrated 20 is set in a stable first calibration environment temperature and the temperature is approximately the same, a compensation curve for time-domain piecewise interpolation compensation can also be obtained based on the third real-time temperature and the prefecture-level city error.

[0064] Therefore, the calibration system proposed in this application for real-time clock calibration of power management equipment can provide stable calibration environment temperature and ambient temperature for power management equipment and daily time calibrator, effectively ensuring the reliability of the calibration process and providing environmental protection for achieving high-precision calibration of the real-time clock of power management equipment. At the same time, by ensuring stable calibration environment temperature, reliable real-time data can be provided for obtaining the compensation curve of power management equipment for time-domain piecewise interpolation compensation, thereby significantly improving the accuracy of the compensation curve for time-domain piecewise interpolation compensation while effectively improving the calibration efficiency of power management equipment.

[0065] In some feasible embodiments, the calibration system further includes:

[0066] The second multiplexing device 80 is connected to multiple devices 20 to be calibrated, at least one daily timing calibrator 50 and controller 90 respectively. The second multiplexing device 80 is used to connect the devices 20 to be calibrated with the daily timing error to be measured to the daily timing calibrator 50 under the selection control of the controller 90.

[0067] It should be noted that, due to the high cost of daily timing calibrators, in order to save costs, related technologies usually involve manually changing the connection between the daily timing calibrator and the device to be calibrated. Such operations can easily affect the stability of the initial calibration environment temperature in the high and low temperature chamber, and can also cause measurement errors due to the connection action, thus greatly affecting the measurement of the daily timing error of the device to be calibrated, and consequently affecting the accuracy of the calibration.

[0068] Based on this, the embodiments of this application add a second multi-channel selection device between the device to be calibrated and the daytime calibrator. The controller can control the daytime calibrator to connect to multiple devices to be calibrated in sequence, thereby enabling the orderly measurement of the daytime error of multiple devices to be calibrated without changing the connection status. Moreover, it can effectively avoid measurement errors caused by connection between multiple measurements of the same device to be calibrated.

[0069] In a feasible embodiment, the controller 90 can simultaneously control the first multiplexing device 70 and the second multiplexing device 80 to connect to the same device to be calibrated. That is, while the first multiplexing device 70 collects the third real-time temperature of the device to be calibrated, the daily timing calibrator 50 measures the daily timing error of the device to be calibrated through the second multiplexing device 80. The controller 90 can simultaneously acquire the third real-time temperature and the daily timing error and store them together, which can effectively avoid the risk of data matching errors. At the same time, there is no need to perform additional data identification matching, which can reduce the complexity of data storage.

[0070] In this embodiment, the controller 90 can obtain a compensation curve for time-domain piecewise interpolation compensation based on the third real-time temperature and the daily timing error. Furthermore, to improve the accuracy and stability of the third real-time temperature, the controller 90 can further utilize a filtering algorithm to smooth and filter the third real-time temperature acquired by the first multiplexing device 70, thereby improving the accuracy of the compensation curve.

[0071] In one feasible embodiment, since the purpose of this application embodiment is to perform high-precision calibration of power management equipment, the accuracy needs to reach 0.02s / d. However, manual experimental statistics cannot meet this accuracy requirement, which will seriously affect the calibration accuracy of power management equipment.

[0072] The calibration system of this application embodiment can also collect daily timing errors measured by multiple daily timing calibrators through a second multiplexing device. That is, the daily timing errors measured by the daily timing calibrators are sent to the control through the second multiplexing device to achieve timely and effective collection of daily timing errors. This effectively avoids the problem of large errors caused by manual reading of daily timing error data, thereby effectively improving the accuracy of the compensation curve used for time-domain piecewise interpolation compensation.

[0073] In one feasible embodiment, the first calibration ambient temperature includes multiple values, and the controller 90 is further configured to:

[0074] Under multiple first calibration ambient temperatures, compensation curves for time-domain piecewise interpolation compensation are obtained based on the first calibration ambient temperature and daily timing error, respectively, and based on multiple first calibration ambient temperatures and multiple daily timing calibration errors.

[0075] It should be noted that the mapping relationship between the first calibration ambient temperature and the daily timing error is as follows:

[0076] Ferr = C n ×T n +C n-1 ×T n-1 +C n-2 ×T n-2 +…+C1×T+C0

[0077] Where T is the first calibration ambient temperature, Ferr is the daily timing error corresponding to the first calibration ambient temperature, and C n For error compensation, the coefficients are undetermined. It should be understood that when using the third real-time temperature and daily timing error to obtain the compensation curve, T represents the third real-time temperature.

[0078] The first calibration ambient temperature includes one or more of the following: -25°C, 0°C, 23°C, 25°C, 43°C, 45°C, 55°C, and 65°C.

[0079] In other words, by using multiple first calibration ambient temperatures and their corresponding daily timing errors, a multivariate linear equation corresponding to the number of n can be obtained, and then the undetermined error compensation coefficients C can be calculated. n This allows us to obtain a precise compensation curve for the device under test across the entire temperature range, such as... Figure 2 As shown.

[0080] Therefore, this application can effectively enrich the ambient temperature data required for the compensation curve used for time-domain piecewise interpolation by providing multiple first calibration ambient temperatures to the device to be calibrated, thereby further ensuring the reliability of the compensation curve used for time-domain piecewise interpolation. Moreover, the first calibration ambient temperature provided by the high and low temperature chamber can be as close as possible to the actual operating ambient temperature of the device to be calibrated, so that the compensation curve used for time-domain piecewise interpolation obtained using the first calibration ambient temperature can better compensate for daily timing errors when the device to be calibrated is operating at the first calibration ambient temperature.

[0081] In one feasible embodiment, the controller is also used to:

[0082] Before receiving the daily timing error measured by the daily timing calibrator 50, multiple first real-time temperatures are continuously acquired for each first temperature sensor 30 within a first preset time period;

[0083] If the first difference between multiple first real-time temperatures and the first calibration ambient temperature is less than the first preset difference, then it is determined that the location of the first temperature sensor 30 inside the high and low temperature chamber 10 provides a stable first calibration ambient temperature.

[0084] If the first difference between multiple first real-time temperatures and the first calibration ambient temperature is greater than or equal to the first preset difference, then the high and low temperature chamber 10 is controlled to adjust the temperature so that the high and low temperature chamber 10 provides a uniform and stable first calibration ambient temperature.

[0085] In other words, before collecting calibration data, it is necessary to ensure that multiple devices 20 to be calibrated are operating at the first calibration ambient temperature, so as to ensure that the collected daily timing error corresponds to the first calibration ambient temperature, and thus ensure the accuracy of the compensation curve obtained based on the collected daily timing error and the first calibration ambient temperature.

[0086] Furthermore, after receiving the daily timing error measured by the daily timing calibrator 50, for each first temperature sensor 30, if the first difference between the first real-time temperature and the first calibration ambient temperature is less than the second preset difference, then it is determined that the interior of the high and low temperature chamber 10 is a uniform and stable first calibration ambient temperature.

[0087] If the first difference between the first real-time temperature and the first calibration ambient temperature is greater than or equal to the second preset difference, the high and low temperature chamber 10 is controlled to adjust the temperature so that the high and low temperature chamber 10 provides a uniform and stable first calibration ambient temperature, and the daily timing error measured by the daily timing calibrator 50 is restarted.

[0088] The first preset difference is less than the second preset difference.

[0089] Optionally, the first preset difference can be 1℃, and the second preset difference can be 3℃.

[0090] In one feasible embodiment, to ensure the stability of the working environment of each device to be calibrated, after receiving the daily timing error measured by the daily timing calibrator 50, the third real-time temperature of the device to be calibrated obtained sequentially by the first multiplexing device 70 is compared with the first calibration environment temperature. If the second difference between the third real-time temperature and the first calibration environment temperature is less than the third preset difference, it is determined that the temperature inside the high and low temperature chamber 10 is uniform and stable, and the working state of the device to be calibrated 20 is stable. If the second difference between the third real-time temperature and the first calibration environment temperature is greater than or equal to the third preset difference, the high and low temperature chamber 10 is controlled to adjust the temperature so that the device to be calibrated 20 works near the first calibration environment temperature, and the daily timing error measured by the daily timing calibrator 50 is received again.

[0091] Among them, the first preset difference is less than the third preset difference.

[0092] Optionally, the first preset difference can be 1℃, and the third preset difference can be 3℃.

[0093] It should be understood that if the difference between the third real-time temperature of a device to be calibrated and the first calibration ambient temperature is consistently greater than the third preset difference, it indicates that the device to be calibrated is abnormal.

[0094] It should be understood that the device to be calibrated 20 will generate a certain amount of heat when it is working, which will affect the real-time temperature inside and outside the device to be calibrated 20. This will cause the deviation between the first real-time temperature collected by the first temperature sensor 30 and the third real-time temperature collected by the first multiplexing device 70 and the first calibration ambient temperature to be greater than the deviation when the device to be calibrated 20 is not working.

[0095] Therefore, the calibration system proposed in this application can execute different control strategies according to different calibration processes, achieve fine calibration, and effectively ensure the accuracy of the compensation curve used for time-domain piecewise interpolation compensation.

[0096] In one feasible embodiment, the controller is also used to:

[0097] Based on the compensation curve of each device 20 to be calibrated, the device 20 to be calibrated is retested;

[0098] If the retested daily timing error measured by the daily timing calibrator 50 is greater than the calibration error, the device to be calibrated 20 will be recalibrated, and a compensation curve after recalibration will be generated. The retested daily timing error is the daily timing error measured by the daily timing calibrator 50 after the device to be calibrated 20 has compensated the real-time clock using the time-domain piecewise interpolation compensation method.

[0099] It should be noted that retesting the calibration equipment based on its compensation curve involves using a time-domain piecewise interpolation compensation method to compensate the real-time clock of the equipment under test in a retest environment. Then, the need for recalibration is determined based on the retested daily timing error measured by the daily timing calibrator. Specifically, if the retested daily timing error measured by the daily timing calibrator is greater than the calibration error, it indicates that the compensation result using the time-domain piecewise interpolation compensation method and the compensation curve still does not meet the clock accuracy requirements for electricity sales operations. Therefore, the equipment under test needs to be recalibrated, and a recalibrated compensation curve is generated. The retesting continues until the retested daily timing error measured by the daily timing calibrator is less than or equal to the calibration error. If the retested daily timing error measured by the daily timing calibrator is less than or equal to the calibration error, it indicates that the equipment under test, after compensation using the time-domain piecewise interpolation compensation method, meets the clock accuracy requirements for electricity sales operations and can be put into use.

[0100] In one feasible embodiment, the device to be calibrated compensates the real-time clock using a time-domain piecewise interpolation compensation method, including:

[0101] Set a compensation time domain period of a predetermined length, and divide the compensation time domain period into several time segments, the duration of which is t; the several time segments consist of k1 positive compensation time segments, k2 negative compensation time segments, and k3 zero compensation time segments;

[0102] In each positive compensation time segment of the compensation time domain period, a reference compensation value f, i.e., +f, is added to the compensation register; in each negative compensation time segment of the compensation time domain period, a reference compensation value f, i.e., -f, is subtracted from the compensation register; in each zero compensation time segment of the compensation time domain period, the value in the compensation register remains unchanged, i.e., +0; by setting appropriate k1, k2, and k3, the required error compensation value Ferrr within the compensation time domain period is achieved.

[0103] In other words, a predetermined compensation time-domain period is pre-set in the device to be calibrated, and this period is divided into several time segments, each segment having a duration of t. These time segments consist of k1 positive compensation time segments, k2 negative compensation time segments, and k3 zero compensation time segments. Then, during the retesting process, a compensation process is executed: within each positive compensation time segment of the compensation time-domain period, a reference compensation value f (+f) is added to the compensation register; within each negative compensation time segment, a reference compensation value f (-f) is subtracted from the compensation register; and within each zero compensation time segment, the value in the compensation register remains unchanged (+0). By setting appropriate values ​​for k1, k2, and k3, the required error compensation value Ferr is achieved within the compensation time-domain period.

[0104] The compensation start points for each time segment within the compensation time domain period are the 3s, 8s, 3s, 13s, 18s, 23s, 28s, 33s, 38s, 43s, 48s, 53s, and 58s, respectively.

[0105] The minimum compensation step size that can be written to the compensation register in the RTC chip is 0.96ppm, which is equivalent to a compensation value of 0.08s / day.

[0106] When the initial value of the daily timing error within the compensation time domain period is -0.04s / day, the segmented compensation method for each time segment from the 3rd to the 58th second within the compensation time domain period is sequentially set to +f, -f, +0, +0, +f, -f, +0, +0, +f, -f, +0, +0, +0, +f, -f, +0, +0, +0, thereby achieving a compensation accuracy of -0.02s / day.

[0107] When the initial value of the daily timing error within the compensation time domain period is -0.05s / day, the segmented compensation method for each time segment from the 3rd to the 58th second within the compensation time domain period is sequentially set to +f, +0, -f, +0, +f, +0, -f, +0, +f, +0, -f, +0, -f, +0, -f, +0, achieving a precision compensation result of -0.01s / day.

[0108] When the initial value of the daily timing error within the compensation time domain period is +0.04s / day, by setting the segmented compensation method for each time segment from the 3rd to the 58th second within the compensation time domain period to -f, +f, +0, +0, -f, +f, +0, +0, -f, +f, +0, +0, +0, a precision compensation result of +0.02s / day is achieved.

[0109] When the initial value of the daily timing error within the compensation time domain period is +0.05s / day, by setting the segmented compensation method for each time segment from the 3rd to the 58th second within the compensation time domain period to -f, +0, +f, +0, -f, +0, +f, +0 in sequence, a precision compensation result of +0.01s / day is achieved.

[0110] Figure 3 A flowchart of a calibration method for real-time clock calibration of power management equipment is provided for embodiments of this application.

[0111] like Figure 3 As shown in the embodiments of this application, the calibration method for real-time clock calibration of power management equipment includes:

[0112] S301 receives multiple first real-time temperatures collected by multiple first temperature sensors, and adjusts the temperature of the high and low temperature chamber based on the multiple first real-time temperatures to provide a stable first calibration environment temperature inside the high and low temperature chamber.

[0113] S302, receiving at least one second real-time temperature acquired by at least one second temperature sensor, and adjusting the ambient temperature regulating device based on the at least one second real-time temperature to provide a stable second calibrated ambient temperature; and

[0114] S303, for each device to be calibrated, obtains a compensation curve for time-domain piecewise interpolation compensation based on the first calibration ambient temperature and daily timing error.

[0115] The calibration method proposed in this application for real-time clock calibration of power management equipment can provide stable calibration environment temperature and ambient temperature for power management equipment and daily time calibrator, effectively ensuring the reliability of the calibration process and providing environmental protection for high-precision calibration of real-time clock of power management equipment. At the same time, by ensuring stable calibration environment temperature, reliable real-time data can be provided for obtaining compensation curves for time-domain piecewise interpolation compensation of power management equipment, thereby significantly improving the accuracy of compensation curves for time-domain piecewise interpolation compensation while effectively improving the calibration efficiency of power management equipment.

[0116] In one specific embodiment, N devices to be calibrated are placed in a high-low temperature chamber. The controller controls the internal temperature of the high-low temperature chamber to reach a first calibration ambient temperature, for example, -25°C. Multiple first real-time temperatures collected by multiple first temperature sensors are continuously acquired. If the difference between the multiple first real-time temperatures and the first calibration ambient temperature is less than 1°C and lasts for 3 minutes, it is determined that the high-low temperature chamber is stable at the first calibration ambient temperature and can be used to measure daily timing error. If the difference between the first real-time temperature collected by any first temperature sensor and the first calibration ambient temperature is greater than 1°C, the controller controls the temperature change in the high-low temperature chamber until the difference between the multiple first real-time temperatures and the first calibration ambient temperature is less than 1°C and lasts for 3 minutes.

[0117] Meanwhile, N daily timer calibrators are placed in an environment with an ambient temperature control device, such as an air conditioner. The controller controls the ambient temperature control device to be at a second calibration ambient temperature, such as 23°C. At least one second temperature sensor collects at least one second real-time temperature. If the difference between at least one second real-time temperature and the second calibration ambient temperature is less than 2°C and lasts for 3 minutes, then the ambient temperature of the daily timer calibrator is determined to be stable.

[0118] After the ambient temperatures of the high and low temperature chamber and the daily timing calibrator have stabilized, the controller controls the first multi-channel selection device to collect the temperatures of N devices to be calibrated, and controls the second multi-channel selection device to collect the daily timing errors measured by the daily timing calibrator. The controller then records and stores the currently collected daily timing errors in relation to the first calibration ambient temperature.

[0119] At the same time, the controller still needs to continuously acquire multiple first real-time temperatures collected by multiple first temperature sensors, and control the temperature inside the high and low temperature chamber to be stable such that the difference between multiple first real-time temperatures and the first first calibration ambient temperature is less than 3°C, and at least one second real-time temperature is less than 2°C compared with the second calibration ambient temperature.

[0120] When the number of daily timing errors collected meets the calibration requirements, the calibration data acquisition for the current first calibration ambient temperature is completed. Then, the controller stops collecting daily timing errors and stabilizes the temperature of the high and low temperature chamber at the second first calibration ambient temperature, for example, 0°C. After the difference between multiple first real-time temperatures and the er-th first calibration ambient temperature is less than 1°C for 3 minutes, the controller resumes collecting daily timing errors and stores the currently collected daily timing errors corresponding to the second first calibration ambient temperature.

[0121] The above calibration process is repeated until the daily timing error of all first calibration ambient temperatures is collected. Based on multiple first calibration ambient temperatures and the corresponding stored daily timing errors, the controller obtains a compensation curve for time-domain piecewise difference compensation through a solution model and writes it into the register of the device to be calibrated.

[0122] The above calibration process is repeated to retest the device to be calibrated. This time, since the compensation curve for time-domain piecewise interpolation compensation has been written into the register of the device to be calibrated, the device to be calibrated performs time-domain piecewise interpolation compensation on the real-time clock according to the compensation curve to correct the clock data of the real-time clock. The daily timing calibrator measures the corrected clock data and obtains the retested daily timing error. If the retested daily timing error is greater than the calibration error, the register of the device to be calibrated is cleared and the device to be calibrated is recalibrated. If the retested daily timing error is less than or equal to the calibration error, it is determined that the device to be calibrated has completed calibration and can be put into use.

[0123] It should be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the present invention.

[0124] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0125] Unless otherwise defined, the technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used herein is for descriptive purposes only and is not intended to limit the invention. Terms such as “set” appearing herein can refer to either a component being directly attached to another component or a component being attached to another component via an intermediary. A feature described in one embodiment herein may be applied, alone or in combination with other features, to another embodiment, unless that feature is not applicable in that other embodiment or is otherwise stated.

[0126] The present invention has been described through the above embodiments; however, it should be understood that the above embodiments are for illustrative purposes only and are not intended to limit the present invention to the described embodiments. Those skilled in the art will understand that many variations and modifications can be made based on the teachings of the present invention, and all such variations and modifications fall within the scope of protection claimed by the present invention.

Claims

1. A calibration system for real-time clock calibration of power management equipment, characterized in that, The electricity management equipment includes a concentrator and an electricity meter in the electricity information system, and the calibration system includes: A high and low temperature chamber, wherein the high and low temperature chamber is used to provide a stable first calibration environment temperature for multiple devices to be calibrated, the first calibration environment temperature including the operating environment temperature of the devices to be calibrated; Multiple first temperature sensors are installed in the high and low temperature chamber to collect the first real-time temperature at various points inside the high and low temperature chamber. At least one daily timing calibrator, wherein at least one of the daily timing calibrators is connected to a plurality of the devices to be calibrated, and the daily timing calibrator is used to measure the daily timing error of the real-time clock function of the devices to be calibrated; An ambient temperature regulating device is used to provide a stable second calibration ambient temperature for at least one of the daytime calibrators; At least one second temperature sensor, wherein the at least one second temperature sensor is used to acquire the second real-time temperature of the environment in which at least one of the daytime calibrators is located; A first multiplexing device is connected to multiple devices to be calibrated, and the first multiplexing device is used to collect a third real-time temperature in the multiple devices to be calibrated. The controller is connected to the high and low temperature chamber, multiple first temperature sensors, at least one daily timer calibrator, the ambient temperature control device, at least one second temperature sensor, and a first multiplexer. The controller is used to receive multiple first real-time temperatures collected by multiple first temperature sensors, and to adjust the temperature of the high and low temperature chamber based on the multiple first real-time temperatures, so as to provide a stable first calibration environment temperature inside the high and low temperature chamber. It is also configured to receive at least one second real-time temperature acquired by at least one second temperature sensor, and to adjust the ambient temperature regulating device based on at least one second real-time temperature, so that the ambient temperature regulating device provides a stable second calibrated ambient temperature; and For each of the devices to be calibrated, a compensation curve for time-domain piecewise interpolation compensation is obtained based on the first calibration ambient temperature and the daily timing error.

2. The calibration system according to claim 1, characterized in that, Also includes: The second multiplexing device is connected to multiple devices to be calibrated, at least one of the daytime calibrators, and the controller. The second multiplexing device is used to connect the devices to be calibrated with the daytime error to be measured to the daytime calibrator under the selection control of the controller.

3. The calibration system according to claim 1, characterized in that, The first calibration ambient temperature includes multiple values, and the controller is further configured to: Controlled within multiple first calibration ambient temperatures, based on the first calibration ambient temperature and the daily timing error respectively. Based on multiple first calibration ambient temperatures and multiple daily timing errors, a compensation curve for time-domain piecewise interpolation compensation is obtained.

4. The calibration system according to claim 3, characterized in that, The first calibration ambient temperature includes one or more of -25°C, 0°C, 23°C, 25°C, 43°C, 45°C, 55°C, and 65°C.

5. The calibration system according to claim 1, characterized in that, The controller is also used for: Before receiving the daily timing error measured by the daily timing calibrator, multiple first real-time temperatures are continuously acquired for each of the first temperature sensors within a first preset time period; If the first difference between multiple first real-time temperatures and the first calibration ambient temperature is less than the first preset difference, then it is determined that the location of the first temperature sensor in the high and low temperature chamber provides a stable first calibration ambient temperature. If the first difference between multiple first real-time temperatures and the first calibration ambient temperature is greater than or equal to a first preset difference, then the high and low temperature chamber is controlled to adjust the temperature so that the high and low temperature chamber provides a uniform and stable first calibration ambient temperature.

6. The calibration system according to claim 5, characterized in that, The controller is also used for: After receiving the daily timing error measured by the daily timing calibrator, for each of the first temperature sensors, if the first difference between the first real-time temperature and the first calibration ambient temperature is less than the second preset difference, then it is determined that the temperature inside the high and low temperature chamber is the first calibration ambient temperature, which is uniform and stable. If the first difference between the first real-time temperature and the first calibration ambient temperature is greater than or equal to the second preset difference, then the high and low temperature chamber is controlled to adjust the temperature so that the high and low temperature chamber provides a uniform and stable first calibration ambient temperature, and the daily timing error measured by the daily timing calibrator is received again. Wherein, the first preset difference is less than the second preset difference.

7. The calibration system according to claim 1, characterized in that, The mapping relationship between the first calibration ambient temperature and the daily timing error is as follows: Ferr= C n ×T n +C n-1 ×T n-1 +C n-2 ×T n-2 +…+C1×T+C0 Where T is the first calibration ambient temperature, Ferr is the error compensation value, i.e., the daily timing error corresponding to the first calibration ambient temperature, and C n C n-1 C n-2 C1, C0 are the undetermined coefficients for error compensation.

8. The calibration system according to claim 1, characterized in that, The controller is also used for: Based on the compensation curve of each of the devices to be calibrated, the devices to be calibrated are retested; If the retested daily timing error measured by the daily timing calibrator is greater than the calibration error, the device to be calibrated is recalibrated, and a compensation curve after recalibration is generated. The retested daily timing error is the daily timing error measured by the daily timing calibrator after the device to be calibrated has compensated the real-time clock using the time-domain piecewise interpolation compensation method.

9. The calibration system according to claim 8, characterized in that, The device to be calibrated uses a time-domain piecewise interpolation compensation method to compensate the real-time clock, including: A predetermined compensation time domain period is set, and the compensation time domain period is divided into several time segments, the duration of which is t; the several time segments consist of k1 positive compensation time segments, k2 negative compensation time segments, and k3 zero compensation time segments. In each positive compensation time segment of the compensation time domain period, a reference compensation value f, i.e., +f, is added to the compensation register; in each negative compensation time segment of the compensation time domain period, a reference compensation value f, i.e., -f, is subtracted from the compensation register; in each zero compensation time segment of the compensation time domain period, the value in the compensation register remains unchanged, i.e., +0; by setting appropriate k1, k2, and k3, the required error compensation value Ferrr within the compensation time domain period is achieved.

10. A calibration method for real-time clock calibration of power management equipment, characterized in that, The power management equipment includes a concentrator and a power meter in the power information system, and the method employs the calibration system as described in any one of claims 1-9, the method comprising: The system receives multiple first real-time temperatures collected by multiple first temperature sensors and adjusts the temperature of the high and low temperature chamber based on the multiple first real-time temperatures to provide a stable first calibration environment temperature inside the high and low temperature chamber. Receive at least one second real-time temperature acquired by at least one second temperature sensor, and adjust the ambient temperature regulation device based on at least one second real-time temperature to provide a stable second calibrated ambient temperature; and For each of the devices to be calibrated, a compensation curve for time-domain piecewise interpolation compensation is obtained based on the first calibration ambient temperature and the daily timing error.