Charging device power metering method and electronic device
By acquiring multiple power measurement values from the charging equipment and calculating the absolute difference, a multi-module cross-verification method was adopted to solve the problem of inaccurate power measurement in charging piles, thereby improving the accurate measurement and fault tolerance of the charging equipment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN TOPBAND CO LTD
- Filing Date
- 2025-05-21
- Publication Date
- 2026-05-08
AI Technical Summary
When existing charging pile power metering equipment malfunctions during data acquisition or transmission, it can lead to inaccurate power metering.
By acquiring the power measurement values from the power meter, power measurement module, and working parameter monitoring circuit of the charging equipment, calculating the absolute difference between each pair of components, and employing a multi-module independent metering and upper-level integral verification method, accurate metering of the charging equipment is achieved.
It improves the accuracy and fault tolerance of the metering process of charging equipment, reduces abnormal interruptions, and ensures the reliability and safety of metering results.
Smart Images

Figure CN120539481B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of charging technology, and more specifically, to a method for measuring the power consumption of a charging device and an electronic device. Background Technology
[0002] With the rapid popularization of new energy vehicles, corresponding charging piles are also being used more and more. The accuracy of charging pile metering has become a key industry requirement. Currently, DC charging pile electricity metering mainly uses DC energy meters or electrical measurement modules, combined with high-precision sensors and communication technology. For example, DC charging piles typically have a built-in DC energy meter that directly measures the DC voltage, current, power, and accumulated electricity during the charging process and uploads this data to the billing platform to achieve DC energy metering. Alternatively, an embedded electrical measurement module can be used, integrating voltage / current acquisition, power calculation, and energy accumulation functions to ultimately achieve electrical measurement module-based metering.
[0003] When the working process of the electricity meter and the electricity measurement module malfunctions, such as during the data acquisition or data transmission process, it will ultimately lead to inaccurate electricity measurement. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a charging device power metering method and electronic device, which addresses the above-mentioned technical defects of the prior art.
[0005] The technical solution adopted by this invention to solve its technical problem is: constructing a method for metering the power of a charging device, the method comprising:
[0006] According to the electricity meter corresponding to the charging device, obtain the first power measurement value corresponding to the charging device;
[0007] According to the electrical measurement module corresponding to the charging device, the second power measurement value corresponding to the charging device is obtained;
[0008] The third power measurement value corresponding to the charging device is obtained according to the operating parameters reported by the charging device, wherein the charging device obtains the operating parameters of the charging device through an internal operating parameter monitoring circuit;
[0009] Obtain the pairwise absolute differences between the first power measurement value, the second power measurement value, and the third power measurement value;
[0010] The metering result of the charging device is obtained by taking one of the first power measurement value, the second power measurement value, and the third power measurement value based on the pairwise absolute differences.
[0011] Preferably, in one embodiment of the charging device power metering method of the present invention, the method further includes: obtaining the current parameters, voltage parameters and power parameters of the power meter corresponding to the charging device, so as to confirm the working state of the power meter according to the current parameters, voltage parameters and power parameters of the power meter, and obtaining the first power measurement value when the working state of the power meter is normal.
[0012] Preferably, in one embodiment of the charging device power metering method of the present invention, the step of confirming the working status of the power meter based on the current parameters, voltage parameters, and power parameters of the power meter includes:
[0013] The current and voltage parameters of the device to be charged are obtained according to the output interface corresponding to the charging device; and the first absolute difference between the current and voltage parameters of the energy meter and the current and voltage parameters of the device to be charged are obtained. When the first absolute difference between the current and voltage is less than the corresponding threshold value, the working state of the energy meter is confirmed to be normal; or
[0014] The first calculated energy value is obtained based on the current and voltage parameters of the energy meter. The first absolute difference between the first calculated energy value and the energy parameters of the energy meter is then obtained. If the first absolute difference is less than the corresponding threshold value, the normal working status of the energy meter is confirmed.
[0015] Preferably, in one embodiment of the charging device power metering method of the present invention, the method further includes:
[0016] The current parameters, voltage parameters, and energy parameters of the electrical measurement module corresponding to the charging device are obtained, so as to confirm the working status of the electrical measurement module based on the current parameters, voltage parameters, and energy parameters of the electrical measurement module, and when the working status of the electrical measurement module is normal, the second energy measurement value is obtained.
[0017] Preferably, in one embodiment of the charging device power metering method of the present invention, the step of confirming the working status of the power metering module based on the current parameters, voltage parameters, and power parameters of the power metering module includes:
[0018] The current and voltage parameters of the device to be charged are obtained according to the output interface corresponding to the charging device; and the second absolute difference between the current and voltage parameters of the electrical measurement module and the current and voltage parameters of the device to be charged are obtained. When the second absolute difference between the current and the second absolute difference between the voltage are less than the corresponding threshold values, the working state of the electrical measurement module is confirmed to be normal; or
[0019] The second power consumption calculation value is obtained based on the current and voltage parameters of the power measurement module. The second absolute difference between the second power consumption calculation value and the power consumption parameters of the power measurement module is then obtained. When the second absolute difference is less than the corresponding threshold value, the normal working status of the power measurement module is confirmed.
[0020] Preferably, in one embodiment of the charging device power metering method of the present invention, the method further includes:
[0021] The current parameters, voltage parameters, and power parameters corresponding to the charging device are obtained, so as to confirm the working status of the charging device based on the current parameters, voltage parameters, and power parameters corresponding to the charging device, and when the working status of the charging device is normal, the third power measurement value is obtained.
[0022] Preferably, in one embodiment of the charging device power metering method of the present invention, the step of confirming the working state of the charging device based on the current parameters, voltage parameters, and power parameters corresponding to the charging device includes:
[0023] The charging device obtains the current and voltage parameters of the device to be charged through its corresponding output interface; and obtains the third absolute difference between the current and voltage parameters of the charging device and those of the device to be charged. When the third absolute difference between the current and voltage parameters is less than the corresponding threshold values, the charging device is confirmed to be operating normally; or
[0024] A third power calculation value is obtained based on the current and voltage parameters of the charging device. A third absolute difference between the third power calculation value and the power parameters of the charging device is obtained. When the third absolute difference is less than the corresponding threshold value, the normal working state of the charging device is confirmed.
[0025] Preferably, in one embodiment of the charging device power metering method of the present invention, the step of obtaining one of the first power measurement value, the second power measurement value, and the third power measurement value based on the pairwise absolute differences as the metering result of the charging device includes:
[0026] When the absolute differences between any two pairs are both less than a preset value, the power consumption of the charging device is measured by the power meter corresponding to the charging device.
[0027] When there are two sets of absolute differences among the pairwise values that are less than the preset value.
[0028] If both absolute differences between the two sets are correlated with the first power measurement value, then the first power measurement value shall be used as the measurement result of the charging device.
[0029] If both absolute differences between the two sets are correlated with the second power measurement value, then the second power measurement value shall be used as the measurement result of the charging device.
[0030] If both pairs of absolute differences are correlated with the third power measurement value, then the third power measurement value shall be used as the measurement result of the charging device.
[0031] Preferably, in one embodiment of the charging device power metering method of the present invention, the method further includes:
[0032] If only one or all of the pairwise absolute differences are not less than the preset value, the charging operation of the charging device is stopped.
[0033] The present invention also provides an electronic device comprising: a module for performing the methods described above.
[0034] The charging device power metering method and electronic device of the present invention have the following beneficial effects: they can achieve accurate metering of the charging process of the charging device. Attached Figure Description
[0035] The present invention will be further described below with reference to the accompanying drawings and embodiments. In the accompanying drawings:
[0036] Figure 1 This is a flowchart of an embodiment of a power metering method for a charging device according to the present invention;
[0037] Figure 2 This is a flowchart of another embodiment of the power metering method for a charging device according to the present invention;
[0038] Figure 3 This is a flowchart of another embodiment of the power metering method for a charging device according to the present invention;
[0039] Figure 4 This is a flowchart of another embodiment of the power metering method for a charging device according to the present invention;
[0040] Figure 5 This is a flowchart of another embodiment of the power metering method for a charging device according to the present invention. Detailed Implementation
[0041] To provide a clearer understanding of the technical features, objectives, and effects of the present invention, specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0042] like Figure 1 The figure shows one embodiment of a power metering method for a charging device according to the present invention. Figure 1In an embodiment of the power metering method for a charging device according to the present invention, the method includes the following steps: S1, obtaining a first power measurement value corresponding to the charging device based on the power meter corresponding to the charging device; S2, obtaining a second power measurement value corresponding to the charging device based on the power metering module corresponding to the charging device; S3, obtaining a third power measurement value corresponding to the charging device based on the operating parameters reported by the charging device, wherein the charging device obtains the operating parameters of the charging device through an internal operating parameter monitoring circuit; S4, obtaining the pairwise absolute differences between the first power measurement value, the second power measurement value, and the third power measurement value; S5, obtaining one of the first power measurement value, the second power measurement value, and the third power measurement value as the metering result of the charging device based on the pairwise absolute differences.
[0043] In step S1, during the charging process, the power level of the device to be charged, such as the vehicle to be charged (hereinafter referred to as the vehicle), can be monitored by the power meter installed in the charging pile to obtain the corresponding first power measurement value. When the charging pile has multiple charging interfaces, such as multiple charging guns, it can be understood that the charging pile contains multiple charging devices, with each charging gun corresponding to a specific charging device. The power meter installed in the charging pile can also be understood as individually detecting the power level of each charging device by checking the output of each charging interface. In one embodiment, a host device, such as a billing unit, can communicate with the power meter through, but is not limited to, communication methods such as RS232 / 485 / CAN to obtain relevant data from the power meter. The process of the host device acquiring data from the power meter can be set according to preset communication data transmission rules and updated at preset intervals. In one embodiment, the first power measurement value can be obtained directly from the power meter's power reporting data.
[0044] In step S2, during the charging process, the power level of the device to be charged, such as a vehicle, can be monitored by the power measurement module installed in the charging pile to obtain the corresponding second power measurement value. When the charging pile has multiple charging interfaces, such as multiple charging guns, it can be understood that the charging pile contains multiple charging devices, with each charging gun corresponding to a specific charging device. The power measurement module in the charging pile can also be understood as performing power detection on each charging device individually. In one embodiment, a host device, such as a billing unit, can communicate with the power measurement module via, but is not limited to, communication methods such as UART / RS232 / 485 / CAN / SPI / IIC to obtain relevant data from the power measurement module. The process of the host device acquiring data from the power measurement module can be set according to preset communication data transmission rules and updated at preset intervals. In one embodiment, the second power measurement value can be obtained directly from the power reporting data of the power measurement module.
[0045] In step S3, during the charging process, the battery level of the device to be charged, such as a vehicle, can be monitored directly through the reported parameters of the charging equipment in the charging pile to obtain the corresponding third battery level measurement value. When the charging pile has multiple charging interfaces, such as multiple charging guns, it can be understood that the charging pile contains multiple charging devices, with each charging gun corresponding to a specific charging device. Each charging device reports its operating parameters to further obtain the battery level monitoring data corresponding to each device. That is, each charging device is equipped with a corresponding operating parameter monitoring circuit to monitor the operating parameters of each device individually, thereby obtaining the operating parameters of the charging device. The operating parameter monitoring circuit within the charging device can be understood as a sampling circuit used to monitor operating parameters such as voltage, current, and battery level during the charging process. The operating parameter monitoring circuit also includes a communication circuit to report the sampling results of the sampling circuit as the operating parameters of the charging device, ultimately obtaining the operating parameters of the charging device. In one embodiment, a host device, such as a billing unit, can communicate with the communication circuit via, but is not limited to, communication methods such as UART / RS232 / 485 / CAN / SPI / IIC to obtain the operating parameters corresponding to the charging device and calculate the corresponding power detection data based on these operating parameters. The process of the host device acquiring the operating parameters reported by the charging device can be set to update at preset intervals according to preset communication data transmission rules. In one embodiment, a third power measurement value can be obtained directly from the power reporting data of the charging device.
[0046] Based on the above steps, there is no mandatory order between steps S1 to S3; the execution order can be arbitrarily adjusted or they can be executed simultaneously as needed. However, it is important to note that the time periods corresponding to the first, second, and third power measurement values are the same, meaning that the power consumption of the charging device during the same charging process is being acquired. The difference in the execution order lies only in the temporal difference in the data processing steps; the data used for processing must be relevant data from the charging device within the same time period.
[0047] Based on steps S4 and S5, after obtaining the first, second, and third power measurement values, the absolute difference between each pair of these three data points can be calculated to obtain a pairwise absolute difference value, ultimately resulting in three pairwise absolute differences. A judgment is made based on these three pairwise absolute differences to select the appropriate value from the first, second, and third power measurement values as the measurement result of the charging device.
[0048] In one embodiment, such as Figure 2As shown, the charging device power metering method of the present invention further includes: S11, acquiring the current parameters, voltage parameters, and power parameters of the power meter corresponding to the charging device, to confirm the working state of the power meter based on the current parameters, voltage parameters, and power parameters of the power meter, and executing step S1 when the working state of the power meter is normal. That is, before acquiring the first power measurement value corresponding to the power meter, it is necessary to confirm the working state of the power meter first. Only when the working state of the power meter corresponding to the charging device is normal can the process of step S1 be performed to acquire the first power measurement value. In one embodiment, the current parameters, voltage parameters, and power parameters of the power meter can be acquired, and the working state of the power meter can be determined based on the acquired parameters. In one embodiment, the process of confirming the working state of the power meter may further include determining whether the current parameters, voltage parameters, and power parameters of the power meter can be acquired. When the above parameters of the power meter cannot be acquired, the working state of the power meter can be directly determined to be abnormal.
[0049] Optionally, in step S11, confirming the working status of the energy meter based on its current, voltage, and energy parameters includes: obtaining the current and voltage parameters of the device to be charged from the output interface corresponding to the charging device; and obtaining the first absolute difference between the current and voltage parameters of the energy meter and the current and voltage parameters of the device to be charged. If the first absolute difference between the current and voltage parameters is less than the corresponding threshold values, the working status of the energy meter is confirmed to be normal. Specifically, during the charging process of the vehicle, the charging parameters of the vehicle, such as current and voltage parameters, can be obtained through the vehicle's charging interface. The working status of the energy meter is confirmed by comparing the vehicle's charging parameters with the parameters reported by the energy meter. That is, the current and voltage parameters reported by the electricity meter and the charging parameters reported by the vehicle can be obtained. The absolute difference between the two current parameters is the first absolute current difference, and the absolute difference between the two voltage parameters is the first absolute voltage difference. It is then confirmed whether the first absolute current difference is less than the corresponding threshold value, such as e01, and whether the first absolute voltage difference is less than the corresponding threshold value, such as e02. When both are less than the threshold value, it can be determined that the electricity meter corresponding to the charging device is working normally.
[0050] Optionally, in step S11, confirming the working status of the energy meter based on its current, voltage, and energy parameters includes: obtaining a first calculated energy value based on the current and voltage parameters of the energy meter; obtaining a first absolute difference between the first calculated energy value and the energy meter's energy parameters; and confirming that the energy meter is functioning normally when the first absolute difference is less than a corresponding threshold value. Specifically, the energy meter can also be directly integrated based on the voltage and current data obtained from the energy meter to calculate the energy, thus obtaining the first calculated energy value. Further calculation of the absolute difference between the first calculated energy value and the energy transmitted by the energy meter (i.e., the first absolute difference) is then performed. It is determined whether this first absolute difference is less than a corresponding threshold value, such as e03. If it is less, the energy meter is functioning normally; otherwise, the energy meter is deemed to be functioning abnormally, the metering result is inaccurate, and confirmation is required.
[0051] In one embodiment, such as Figure 3 As shown, the charging device power measurement method of the present invention further includes: S21, acquiring the current parameters, voltage parameters, and power parameters of the power measurement module corresponding to the charging device, so as to confirm the working state of the power measurement module based on the current parameters, voltage parameters, and power parameters of the power measurement module, and executing step S2 when the working state of the power measurement module is normal. That is, before acquiring the second power measurement value corresponding to the power measurement module, it is necessary to confirm the working state of the power measurement module. Only when the power measurement module corresponding to the charging device is normal can the process of step S2 be performed to acquire the second power measurement value. In one embodiment, the current parameters, voltage parameters, and power parameters of the power measurement module can be acquired, and the working state of the power measurement module can be determined based on the acquired parameters. In one embodiment, the process of confirming the working state of the power measurement module can also include determining whether the current parameters, voltage parameters, and power parameters of the power measurement module can be acquired. When the above parameters of the power measurement module cannot be acquired, the working state of the power measurement module can be directly determined to be abnormal.
[0052] Optionally, in step S21, the operating status of the electrical measurement module is confirmed based on the current, voltage, and energy parameters of the electrical measurement module. This includes: obtaining the current and voltage parameters of the device to be charged from the output interface corresponding to the charging device; and obtaining the second absolute difference between the current and voltage parameters of the electrical measurement module and the current and voltage parameters of the device to be charged. When the second absolute difference between the current and voltage is less than the corresponding threshold values, the operating status of the electrical measurement module is confirmed to be normal. Specifically, during the charging process of the vehicle, the charging parameters of the vehicle, such as current and voltage parameters, can be obtained through the vehicle's charging interface. The operating status of the electrical measurement module is confirmed by comparing the vehicle's charging parameters with the parameters reported by the electrical measurement module. That is, the current and voltage parameters reported by the electrical measurement module and the charging parameters reported by the vehicle can be obtained. The absolute difference between the two current parameters is the second absolute current difference, and the absolute difference between the two voltage parameters is the second absolute voltage difference. It is then confirmed whether the second absolute current difference is less than the corresponding threshold value, such as e11, and whether the second absolute voltage difference is less than the corresponding threshold value, such as e12. When both are less than the threshold value, the electrical measurement module can be determined to be working normally.
[0053] In one embodiment, step S21 involves confirming the operating status of the electrical measurement module based on its current, voltage, and energy parameters. This includes obtaining a second energy calculation value based on the current and voltage parameters of the electrical measurement module, obtaining a second absolute difference between the second energy calculation value and the energy parameters of the electrical measurement module, and confirming that the electrical measurement module is operating normally when the second absolute difference is less than a corresponding threshold value. Specifically, the second energy calculation value can also be obtained by directly integrating the voltage and current data obtained from the electrical measurement module, and then calculating the energy. The absolute difference between the second energy calculation value and the energy uploaded by the electrical measurement module is then calculated, and it is determined whether this second absolute difference is less than a corresponding threshold value, such as e13. If it is less, the electrical measurement module is operating normally; otherwise, the electrical measurement module is considered to be operating abnormally, the measurement result is inaccurate, and confirmation is required.
[0054] In one embodiment, such as Figure 4As shown, the charging device power measurement method of the present invention further includes: S31, acquiring the current parameters, voltage parameters, and power parameters corresponding to the charging device, to confirm the working state of the charging device based on the current parameters, voltage parameters, and power parameters corresponding to the charging device, and executing step S3 when the working state of the charging device is normal. That is, before acquiring the third power measurement value corresponding to the charging device, the working state of the charging device needs to be confirmed first. Only when the charging device is normal can the process of step S3 be performed to acquire the third power measurement value. In one embodiment, the working state of the charging device can be determined by acquiring the current parameters, voltage parameters, and power parameters of the charging device. In one embodiment, the process of confirming the working state of the charging device may also include determining whether the current parameters, voltage parameters, and power parameters of the charging device can be acquired. When the above parameters of the charging device cannot be acquired, the working state of the charging device can be directly determined to be abnormal.
[0055] Optionally, in step S31, the operating status of the charging device is confirmed based on the current parameters, voltage parameters, and capacity parameters corresponding to the charging device. This includes: obtaining the current and voltage parameters of the device to be charged from the output interface of the charging device; and obtaining the third absolute difference between the current and voltage parameters of the charging device and those of the device to be charged. If the third absolute difference between the current and voltage parameters is less than the corresponding threshold values, the operating status of the charging device is confirmed to be normal. Specifically, during the charging process, the charging device can obtain the current charging parameters of the vehicle, such as current and voltage parameters, through the vehicle's charging interface. The operating status of the charging device is confirmed by comparing the vehicle's charging parameters with the parameters reported by the charging device. That is, the current and voltage parameters reported by the charging equipment and the charging parameters reported by the vehicle can be obtained. The absolute difference between the two current parameters (the third absolute current difference) and the absolute difference between the two voltage parameters (the third absolute voltage difference) can be obtained. It is then confirmed whether the third absolute current difference is less than the corresponding threshold value, such as e21, and whether the third absolute voltage difference is less than the corresponding threshold value, such as e22. When both are less than the threshold value, the charging equipment can be determined to be operating normally. In another embodiment, the process of confirming the operating status of the charging equipment can also include determining whether the reported parameters of the operating parameter monitoring circuit in the charging equipment can be obtained. When the reported parameters of the operating parameter monitoring circuit in the charging equipment cannot be obtained, the corresponding third absolute current difference and third absolute voltage difference cannot be obtained, and therefore, the result of determining that the charging equipment is operating normally cannot be obtained. The charging equipment can be directly determined to be abnormal. It should be noted that because the operating parameter monitoring circuit is part of the charging equipment's operating circuit, when the operating parameter monitoring circuit is abnormal, the charging equipment can also be determined to be abnormal.
[0056] Optionally, in step S31, the working status of the charging device is confirmed based on the current parameters, voltage parameters, and power parameters corresponding to the charging device. This includes: obtaining a third power calculation value based on the current and voltage parameters of the charging device; obtaining a third absolute difference between the third power calculation value and the power parameters of the charging device; and confirming that the charging device is working normally when the third absolute difference is less than the corresponding threshold value. Specifically, the power can also be calculated directly by integrating the voltage and current data obtained by the charging device, thus obtaining the third power calculation value. The absolute difference between the third power calculation value and the power uploaded by the charging device is then calculated, i.e., the third absolute difference value. It is then determined whether this third absolute difference value is less than the corresponding threshold value, such as e23. If it is less, the charging device is working normally; otherwise, the charging device is deemed to be working abnormally, the measurement result is inaccurate, and confirmation is required.
[0057] Optional, such as Figure 5 As shown, in step S5, one of the first power measurement value, the second power measurement value, and the third power measurement value is obtained as the metering result of the charging device based on the pairwise absolute differences. This includes: S51, when both pairwise absolute differences are less than a preset value, the power of the charging device is measured by the power meter corresponding to the charging device; S52, when there are two sets of pairwise absolute differences that are less than the preset value, if both sets of pairwise absolute differences are related to the first power measurement value, then the first power measurement value is used as the metering result of the charging device; if both sets of pairwise absolute differences are related to the second power measurement value, then the second power measurement value is used as the metering result of the charging device; if both sets of pairwise absolute differences are related to the third power measurement value, then the third power measurement value is used as the metering result of the charging device.
[0058] Specifically, the absolute difference between the first and second electricity consumption measurements is set as e31, the absolute difference between the first and third electricity consumption measurements is set as e32, and the absolute difference between the second and third electricity consumption measurements is set as e33. If all three values (e31, e32, and e33) are less than the set value e100 (corresponding to a preset value), the metering function is considered normal and reliable, and the electricity consumption data uploaded by the meter, i.e., the first electricity consumption measurement, is used as the basis for billing, and the normal charging process proceeds. If only two of e31, e32, and e33 are less than the set value e100, further judgment is required.
[0059] If only e31 and e32 are less than the set value e100, while e33 is greater than or equal to e100, then since both e31 and e32 require the first energy measurement value and are correlated with it, the energy data uploaded by the electricity meter will be used as the basis for billing. This will not affect the current charging or the next charging. At the same time, a message will be displayed indicating that the metering function of the charging equipment is malfunctioning and requires calibration and maintenance.
[0060] If only e32 and e33 are less than the set value e100, while the value of e31 is greater than or equal to e100, since both e32 and e33 require the third power measurement value and are related to it, the power data uploaded by the charging device will be used as the basis for billing. This will not affect the current charging. After the current charging is completed, the charging device will enter the calibration and maintenance mode to calibrate the corresponding power meter and power measurement module.
[0061] If only e31 and e33 are less than the set value e100, while e32 is greater than or equal to e100, then the electricity data uploaded by the electricity metering module will be used as the basis for billing, since both e31 and e33 require the second electricity measurement value and are therefore correlated with it. Additionally, a prompt message can be generated to indicate that the charging device's metering function needs calibration and maintenance. This prompt message does not affect the current charging process. After the current charging is completed, the charging device enters calibration and maintenance mode to calibrate the corresponding electricity meter and the various sampling circuits flowing into the charging device's internal circuitry.
[0062] Optional, such as Figure 5 As shown, the charging device power metering method of the present invention further includes: S53, when only one or both of the pairwise absolute differences are not less than a preset value, the charging action of the charging device is stopped. That is, based on the above description, in other cases besides the above situation, it can be determined that the metering function of the charging device is abnormal, an alarm message is generated to indicate the relevant device abnormality, and the charging process is stopped at the same time.
[0063] The above embodiments enable a multi-dimensional cross-validation and hierarchical decision-making mechanism in the charging equipment billing process, significantly improving the reliability and fault tolerance of the charging metering process. In particular, the dual-validation mode of three independent metering modules plus upper-level integral verification effectively eliminates the risk of single-device failure through cross-comparison of heterogeneous data sources (e31 / e32 / e33) from the energy meter, electricity measurement module, and charging equipment. Each device has built-in real-time voltage / current comparison and energy integration verification, which can quickly identify potential problems such as sensor failures, communication anomalies, and algorithm defects. Multiple abnormal scenario response solutions are constructed. By using multi-module data to reduce abnormal interruptions in the charging process, an optimal balance between security and service availability is achieved.
[0064] Furthermore, an electronic device of the present invention has the function of implementing the corresponding steps performed in the above-described method. Each function can be implemented by hardware or by hardware executing corresponding software. The corresponding hardware or software includes one or more modules corresponding to the above-described functions. That is, the steps in the above-described method are executed by one or more modules respectively. The specific cooperative operation between the modules can be referred to the specific process of the above-described method, and will not be repeated here.
[0065] It is understood that the above embodiments only illustrate preferred embodiments of the present invention, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can freely combine the above technical features without departing from the concept of the present invention, and can also make several modifications and improvements, all of which fall within the protection scope of the present invention. Therefore, all equivalent transformations and modifications made with respect to the scope of the claims of the present invention should fall within the scope of the claims of the present invention.
Claims
1. A method for metering the power consumption of a charging device, characterized in that, The method includes: According to the electricity meter corresponding to the charging device, obtain the first power measurement value corresponding to the charging device; According to the electrical measurement module corresponding to the charging device, the second power measurement value corresponding to the charging device is obtained; The third power measurement value corresponding to the charging device is obtained according to the operating parameters reported by the charging device, wherein the charging device obtains the operating parameters of the charging device through an internal operating parameter monitoring circuit; Obtain the pairwise absolute differences between the first power measurement value, the second power measurement value, and the third power measurement value; The metering result of the charging device is obtained by taking one of the first power measurement value, the second power measurement value, and the third power measurement value based on the pairwise absolute differences. Wherein, obtaining one of the first power measurement value, the second power measurement value, and the third power measurement value based on the pairwise absolute differences as the metering result of the charging device includes: When the absolute differences between any two pairs are both less than a preset value, the power consumption of the charging device is measured by the power meter corresponding to the charging device. When there are two sets of absolute differences among the pairwise values that are less than the preset value. If both absolute differences between the two sets are correlated with the first power measurement value, then the first power measurement value shall be used as the measurement result of the charging device. If both absolute differences between the two sets are correlated with the second power measurement value, then the second power measurement value shall be used as the measurement result of the charging device. If both pairs of absolute differences are correlated with the third power measurement value, then the third power measurement value shall be used as the measurement result of the charging device.
2. The charging device power metering method according to claim 1, characterized in that, The method further includes: The current parameters, voltage parameters, and energy parameters of the energy meter corresponding to the charging device are obtained, so as to confirm the working status of the energy meter based on the current parameters, voltage parameters, and energy parameters of the energy meter, and when the working status of the energy meter is normal, the first energy measurement value is obtained.
3. The charging device power metering method according to claim 2, characterized in that, The step of determining the operating status of the energy meter based on its current parameters, voltage parameters, and energy parameters includes: The current and voltage parameters of the device to be charged are obtained according to the output interface corresponding to the charging device; and the first absolute difference between the current and voltage parameters of the energy meter and the current and voltage parameters of the device to be charged are obtained. When the first absolute difference between the current and voltage is less than the corresponding threshold value, the working state of the energy meter is confirmed to be normal; or The first calculated energy value is obtained based on the current and voltage parameters of the energy meter. The first absolute difference between the first calculated energy value and the energy parameters of the energy meter is then obtained. If the first absolute difference is less than the corresponding threshold value, the normal working status of the energy meter is confirmed.
4. The charging device power metering method according to claim 1, characterized in that, The method further includes: The current parameters, voltage parameters, and energy parameters of the electrical measurement module corresponding to the charging device are obtained, so as to confirm the working status of the electrical measurement module based on the current parameters, voltage parameters, and energy parameters of the electrical measurement module, and when the working status of the electrical measurement module is normal, the second energy measurement value is obtained.
5. The charging device power metering method according to claim 4, characterized in that, The step of confirming the operating status of the electrical measurement module based on its current parameters, voltage parameters, and energy parameters includes: The current and voltage parameters of the device to be charged are obtained according to the output interface corresponding to the charging device; and the second absolute difference between the current and voltage parameters of the electrical measurement module and the current and voltage parameters of the device to be charged are obtained. When the second absolute difference between the current and the second absolute difference between the voltage are less than the corresponding threshold values, the working state of the electrical measurement module is confirmed to be normal; or The second power consumption calculation value is obtained based on the current and voltage parameters of the power measurement module. The second absolute difference between the second power consumption calculation value and the power consumption parameters of the power measurement module is then obtained. When the second absolute difference is less than the corresponding threshold value, the normal working status of the power measurement module is confirmed.
6. The charging device power metering method according to claim 1, characterized in that, The method further includes: The current parameters, voltage parameters, and power parameters corresponding to the charging device are obtained to determine the working status of the charging device based on the current parameters, voltage parameters, and power parameters corresponding to the charging device, and when the working status of the charging device is normal, the third power measurement value is obtained.
7. The charging device power metering method according to claim 6, characterized in that, The step of determining the operating status of the charging device based on the current parameters, voltage parameters, and power parameters corresponding to the charging device includes: The charging device obtains the current and voltage parameters of the device to be charged through its corresponding output interface; and obtains the third absolute difference between the current and voltage parameters of the charging device and those of the device to be charged. When the third absolute difference between the current and voltage parameters is less than the corresponding threshold values, the charging device is confirmed to be operating normally; or A third power calculation value is obtained based on the current and voltage parameters of the charging device. A third absolute difference between the third power calculation value and the power parameters of the charging device is obtained. When the third absolute difference is less than the corresponding threshold value, the normal working state of the charging device is confirmed.
8. The charging device power metering method according to claim 1, characterized in that, The method further includes: If only one or all of the pairwise absolute differences are not less than the preset value, the charging operation of the charging device is stopped.
9. An electronic device, characterized in that, The electronic device includes a module for performing the method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Method for metering charging device, charging device, computer program element and computer readable medium
CN117227558A
Method and system for judging accuracy abnormity of gateway metering current transformer
CN118259222A