CN110196404B - Charging pile metering chip calibration method and device and terminal equipment - Google Patents

Charging pile metering chip calibration method and device and terminal equipment Download PDF

Info

Publication number
CN110196404B
CN110196404B CN201910438822.0A CN201910438822A CN110196404B CN 110196404 B CN110196404 B CN 110196404B CN 201910438822 A CN201910438822 A CN 201910438822A CN 110196404 B CN110196404 B CN 110196404B
Authority
CN
China
Prior art keywords
power
metering chip
calibration
phase angle
register
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910438822.0A
Other languages
Chinese (zh)
Other versions
CN110196404A (en
Inventor
吴岱伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zhilian Iot Technology Co ltd
Original Assignee
Shenzhen Zhilian Iot Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhilian Iot Technology Co ltd filed Critical Shenzhen Zhilian Iot Technology Co ltd
Priority to CN201910438822.0A priority Critical patent/CN110196404B/en
Publication of CN110196404A publication Critical patent/CN110196404A/en
Application granted granted Critical
Publication of CN110196404B publication Critical patent/CN110196404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention is suitable for the technical field of charging piles, and provides a method and a device for calibrating a metering chip of a charging pile and terminal equipment, wherein the method comprises the following steps: connecting a standard meter calibrating instrument, charging by taking the standard output of the standard meter calibrating instrument as a load, and setting the initial value of the metering chip; reading the power of a power register of a metering chip in the charging process; calculating the phase angle and the power gain of the phase angle register according to the power; calculating actual electrical parameters according to the power, the phase angle and the power gain, and judging whether the actual electrical parameters meet calibration conditions; and if the actual power meets the calibration condition, writing the phase angle and the power gain into a parameter register of the metering chip to finish automatic calibration. This load of standard output through standard school table instrument makes to fill electric pile and can accurately calibrate electrical parameter, judges the calibration result through the calibration condition, ensures the accuracy of calibration, realizes the automatic calibration to the measurement chip, improves calibration efficiency, reduces calibration error and calibration cost.

Description

Charging pile metering chip calibration method and device and terminal equipment
Technical Field
The invention belongs to the technical field of charging piles, and particularly relates to a method and a device for calibrating a metering chip of a charging pile and terminal equipment.
Background
Along with the improvement of living standard and the improvement of protection consciousness on environment, green energy has received wide attention of people. The electric vehicle also becomes a common vehicle for people to go out daily, but the charging of the electric vehicle also becomes a great problem, and the charging cost also increases the living cost of people. Present electric vehicle fills electric pile most all belongs to one kind and charges according to length of time and charges, can not carry out the used electric quantity of accurate calculation charging, charges through corresponding length of time that charges, and the expense of charging is high, and the accurate information of user can not also be given to electric quantity of charging etc.. In order to accurately measure the electric power used for charging, a metering chip is introduced into a charging pile at present, and the metering chip can detect the electric quantity, the power and other data generated during charging. However, how to ensure the accuracy of the detection value of the metering chip in the charging pile needs to calibrate the metering chip.
At present, the calibration of a metering chip of a charging pile is usually carried out by writing in calibrated default parameters in the metering chip, and the calibration of the metering chip by writing in standard default parameters has the problem of inaccurate detection value content due to large error of the metering parameters. If carry out manual artifical calibration to the measurement chip of each electric pile that leaves the factory through calibration personnel, read relevant numerical value from the measurement chip, calculate the accurate value and write in the measurement chip, can increase the cost of labor, and there is the maloperation easily in the manual operation, influences the quality of product.
To sum up, the problem that calibration error is big, calibration cost is high exists in the measurement chip calibration of electric pile at present.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for calibrating a metering chip of a charging pile, and a terminal device, so as to solve the problems of large calibration error and high calibration cost in the calibration of the metering chip of the charging pile at present.
The invention provides a method for calibrating a metering chip of a charging pile, which comprises the following steps:
connecting a standard meter calibrating instrument, charging by taking the standard output of the standard meter calibrating instrument as a load, and setting the initial value of a metering chip;
reading the power of a power register of a metering chip in the charging process;
calculating the phase angle and the power gain of the phase angle register according to the power;
calculating actual electrical parameters according to the power, the phase angle and the power gain, and judging whether the actual electrical parameters meet calibration conditions;
and if the actual electrical parameters meet the calibration conditions, writing the phase angle and the power gain into a parameter register of the metering chip to finish automatic calibration.
The second aspect of the present invention provides a device for calibrating a metering chip of a charging pile, including:
the initial value setting module is used for connecting a standard meter calibrating instrument, charging the standard output of the standard meter calibrating instrument as a load and setting the initial value of the metering chip;
the power reading module is used for reading the power of a power register of the metering chip in the charging process;
the calculation module is used for calculating the phase angle and the power gain of the phase angle register according to the power;
the judging module is used for calculating actual electrical parameters according to the power, the phase angle and the power gain and judging whether the actual electrical parameters meet the calibration conditions;
and the parameter writing module is used for writing the phase angle and the power gain into a parameter register of the metering chip to finish automatic calibration if the actual electrical parameter meets a calibration condition.
A third aspect of the present invention provides a terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
connecting a standard meter calibrating instrument, charging by taking the standard output of the standard meter calibrating instrument as a load, and setting the initial value of a metering chip;
reading the power of a power register of a metering chip in the charging process;
calculating the phase angle and the power gain of the phase angle register according to the power;
calculating actual electrical parameters according to the power, the phase angle and the power gain, and judging whether the actual electrical parameters meet calibration conditions;
and if the actual electrical parameters meet the calibration conditions, writing the phase angle and the power gain into a parameter register of the metering chip to finish automatic calibration.
A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of:
connecting a standard meter calibrating instrument, charging by taking the standard output of the standard meter calibrating instrument as a load, and setting the initial value of a metering chip;
reading the power of a power register of a metering chip in the charging process;
calculating the phase angle and the power gain of the phase angle register according to the power;
calculating actual electrical parameters according to the power, the phase angle and the power gain, and judging whether the actual electrical parameters meet calibration conditions;
and if the actual electrical parameters meet the calibration conditions, writing the phase angle and the power gain into a parameter register of the metering chip to finish automatic calibration.
According to the method, the device and the terminal equipment for calibrating the metering chip of the charging pile, a standard meter calibrating instrument is used for outputting the standard meter calibrating instrument to the charging pile as a load, the load is output through the standard of the standard meter calibrating instrument, so that the charging pile can accurately calibrate related electrical parameters in the charging process, an automatic calibration flow is set, the power register, a phase angle register, a voltage register and a current register which are related to the power calibration of a power register of the metering chip are calibrated based on the power of the power register of the metering chip, the calibration result is judged according to calibration conditions, the calibration accuracy is ensured, the automatic calibration of the metering chip is further realized, manual calibration is not needed, the calibration efficiency is improved, the calibration error and the calibration cost are reduced, and the problems that the calibration error is large and the calibration cost is high in the conventional calibration of the metering chip of the charging pile are effectively solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation of a method for calibrating a metering chip of a charging pile according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an apparatus for implementing a method for calibrating a metering chip of a charging pile according to an embodiment;
fig. 3 is a schematic flow chart of an implementation of step S102 according to a second embodiment of the present invention;
fig. 4 is a schematic flow chart of an implementation of step S103 according to a third embodiment of the present invention;
fig. 5 is a schematic flow chart of an implementation of step S104 according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a calibration apparatus for a metering chip of a charging pile according to a fifth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a power reading module 102 according to a sixth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a computing module 103 according to a seventh embodiment of the present invention;
fig. 9 is a schematic structural diagram of a determining module 104 according to an eighth embodiment of the present invention;
fig. 10 is a schematic diagram of a terminal device according to a ninth embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
The first embodiment is as follows:
as shown in fig. 1, the present embodiment provides a method for calibrating a metering chip of a charging pile, which specifically includes:
step S101: and connecting a standard meter calibrating instrument, charging by taking the standard output of the standard meter calibrating instrument as a load, and setting the initial value of the metering chip.
In specific application, the standard meter calibrating instrument is arranged at a certain phase angle position and is enabled to output standard active power, reactive power, voltage and current under the condition of setting an electric meter constant. Connecting the standard meter calibrating instrument with the charging pile, enabling the standard meter calibrating instrument to output according to standard output according to the setting of the electric meter constant so as to serve as a load of the charging pile,
in concrete application, as shown in fig. 2, the standard meter calibrating instrument is connected with the charging pile, the charging pile is connected with the upper computer, the upper computer can send an automatic calibration instruction to the charging pile, and the charging pile can automatically calibrate the metering chip according to the load of the standard meter calibrating instrument.
In specific application, an instruction for clearing the value of the relevant parameter register is sent to the metering chip through the charging pile, and then the relevant parameter register of the metering chip is enabled to recover the default initial value. The initial value of the metering chip is set by reading the factory parameters of the metering chip.
Step S102: and reading the power of a power register of the metering chip in the charging process.
In the specific application, in the process of charging the load, the value of the power register of the metering chip is different according to different loads, the standard meter calibrating instrument is used as the load, and under the condition that the load is not changed, the power of the power register of the metering chip of the charging pile is read.
In a specific application, the power register includes an active power register and a reactive power register, and reading the power of the power register of the metering chip in the charging process includes reading the active power in the active power register and the reactive power in the reactive power register of the metering chip in the charging process.
It should be noted that the active power is also called the average power. The instantaneous power of the alternating current is not a constant value and the average value of the power over a period is called the active power, which refers to the power dissipated in the resistive part of the circuit. Reactive power refers to a circuit with an inductor (or capacitor), wherein the inductor (or capacitor) stores energy of a power supply into energy of a magnetic field (or an electric field) in a half period of time, and sends the stored energy of the magnetic field (or the electric field) back to the power supply in the other half period of time. It only exchanges energy with the power source and does not really consume energy. The amplitude value at which i exchange energy with the power source is called reactive power.
Step S103: and calculating the phase angle and the power gain of the phase angle register according to the power.
In specific applications, the corresponding phase angle and power gain can be calculated according to the active power and the reactive power.
In specific application, the apparent power is calculated according to the active power and the reactive power, and the phase angle can be further calculated according to the relationship between the apparent power and the active power and the phase angle.
In a specific application, the power can be converted into a corresponding gain by an existing calculation method, which is not described herein again.
Step S104: and calculating actual electrical parameters according to the power, the phase angle and the power gain, and judging whether the actual electrical parameters meet calibration conditions.
In specific application, actual electrical parameters including actual current, actual voltage and the like are calculated according to the obtained active power, reactive power, phase angle and power gain. And comparing the actual current with the reference current, and comparing the actual voltage drop reference voltage so as to judge whether the actual electrical parameters meet the calibration conditions.
In specific application, the actual current is compared with the reference current, whether the absolute value of the difference value of the actual current and the reference current is within a first allowable error range or not is judged, and if the absolute value of the difference value of the actual current and the reference current is beyond the first allowable error range, the fact that the calibration condition is not met is judged; if the difference value is within the first allowable error range, continuously judging the actual voltage and the reference voltage, judging whether the absolute value of the difference value of the actual voltage and the reference voltage is within a second allowable error range, and if the difference value is within the second allowable error range, enabling the actual electrical parameter to meet the calibration condition; and if the second allowable error range is exceeded, judging that the calibration condition is not met.
In a specific application, the reference current and the reference voltage are values of voltage and current of the meter calibration instrument under the condition that the meter calibration instrument is at a certain phase angle position according to a standard meter calibration instrument.
Step S105: and if the actual electrical parameters meet the calibration conditions, writing the phase angle and the power gain into a parameter register of the metering chip to finish automatic calibration.
In a specific application, if the actual electrical parameter meets the calibration condition, it indicates that the parameter of the metering chip has been calibrated, and at this time, the operation of automatic calibration can be completed only by writing the calculated corresponding phase angle value and power gain value into the parameter register of the metering chip.
In a specific application, if the actual electrical parameter does not satisfy the calibration condition, it indicates that there is an error in the calibration of the measurement chip, so the above steps S101 to S104 are repeated again until the calculated actual electrical parameter satisfies the calibration condition.
In one embodiment, the method for calibrating the metering chip of the charging pile further includes the following steps:
and receiving an automatic calibration instruction of the upper computer.
In the specific application, an automatic calibration instruction is sent by a production upper computer, and after receiving the automatic calibration instruction, the charging pile sends an instruction for emptying the values of the relevant metering parameter registers to the metering chip so that the metering chip empties the values of the relevant metering parameter registers.
According to the method for calibrating the metering chip of the charging pile, the standard meter calibrating instrument is used for outputting the standard meter calibrating instrument to the charging pile as a load, the charging pile can accurately calibrate related electrical parameters in the charging process through the load output by the standard meter calibrating instrument, an automatic calibration process is set, the power of the power register based on the metering chip calibrates the related power register, a phase angle register, a voltage register and a current register, a calibration result is judged according to calibration conditions, the calibration accuracy is ensured, the automatic calibration of the metering chip is further realized, manual calibration is not needed, the calibration efficiency is improved, the calibration error and the calibration cost are reduced, and the problems that the calibration error is large and the calibration cost is high in the conventional calibration of the metering chip of the charging pile are effectively solved.
Example two:
as shown in fig. 3, in the present embodiment, the step S102 in the first embodiment specifically includes:
step S201: and reading the active power of an active power register and the reactive power of a reactive power register of the metering chip within preset times.
In specific application, in order to improve the accuracy, the active power and the reactive power of the metering chip are read for multiple times, and then the active power and the reactive power of the metering chip are determined based on the values of the active power and the reactive power of the metering chip read for multiple times.
It should be noted that the preset times are set according to actual needs, and the numerical value of the preset times can be determined through multiple tests, so that the accuracy is improved and the efficiency is ensured.
Step S202: and performing mean value filtering processing on the read active power and reactive power respectively to obtain an active power mean value and a reactive power mean value.
In specific application, the read active power and the reactive power are respectively filtered and then averaged, and the average value of the active power and the average value of the reactive power are used as power values for subsequently calculating phase angles and gains.
Example three:
as shown in fig. 4, in the present embodiment, the step S103 in the first embodiment specifically includes:
step S301: and calculating the phase angle of a phase angle register of the metering chip based on a preset phase angle calculation algorithm of the metering chip according to the active power and the reactive power.
In specific application, a phase angle calculation algorithm is set in a metering chip in advance, and the value (phase angle) of a phase angle register of the metering chip is calculated based on the obtained active power and reactive power.
It should be noted that the preset phase angle calculation algorithm may be determined according to an existing calculation method, and is not limited herein.
Step S302: and calculating the power gain of a gain register of the metering chip based on a preset gain calculation algorithm of the metering chip according to the active power and the reactive power.
In specific application, a gain calculation algorithm is set in a metering chip in advance, and then the value (power gain) of a gain register of the metering chip is calculated based on the obtained active power and reactive power.
It should be noted that the preset gain calculation algorithm may be determined according to an existing calculation method, and is not limited herein.
Example four:
as shown in fig. 5, in the present embodiment, the step S104 in the first embodiment specifically includes:
step S401: and calculating actual power, actual current and actual voltage according to the power, the phase angle and the power gain.
In specific application, the power includes active power and reactive power, the actual power includes actual active power and actual reactive power, and the corresponding actual active power, actual reactive power, actual current and actual voltage can be obtained through calculation of the active power, the reactive power, the phase angle and the power gain.
It should be noted that, calculating the actual active power, the actual reactive power, the actual current and the actual voltage through the active power, the reactive power, the phase angle and the power gain is a common technical means in the field, and the actual active power, the actual reactive power, the actual current and the actual voltage at this time can be calculated by using the existing calculation algorithm, which is not described herein again.
Step S402: and judging whether the difference values of the actual power, the actual current and the actual voltage with the standard comparison power, the standard current and the standard voltage are within a preset error range.
It should be noted that the standard power includes standard active power and standard reactive power.
In specific application, after the actual power, the actual current and the actual voltage are obtained through calculation, the actual active power is differenced with the standard comparison active power, and whether the absolute value of the difference is within a first preset error range is judged; the actual reactive power is differenced with the standard comparison reactive power, and whether the absolute value of the difference is within a second preset error range is judged; the actual current is subtracted from the standard current, and whether the absolute value of the difference is within a third preset error range or not is judged; and (4) performing difference between the actual voltage and the standard voltage, and judging whether the absolute value of the difference is within a fourth preset error range.
It should be noted that, the first preset error range, the second preset error range, the third preset error range, and the fourth preset error range may be set according to actual requirements, or may be set according to empirical values, which is not limited herein.
It should be noted that the standard active power, the standard reactive power, the standard current and the standard voltage are values of the active power, the reactive power, the current and the voltage output by the standard meter calibrating instrument when the standard meter calibrating instrument is at the standard phase angle position.
Illustratively, if the phase angle of the standard meter calibration instrument is set to 0.5 × lb, the standard meter calibration instrument outputs an active power of 550W, a reactive power of 952.6279W, a voltage of 220V, and a current of 5A.
Step S403: if the difference value is within the preset error range, the actual electrical parameter meets the calibration condition; otherwise, the actual electrical parameter does not satisfy the calibration condition.
In a specific application, if the absolute value of the difference between the actual active power and the standard comparison active power is within a first preset error range, the absolute value of the difference between the actual reactive power and the standard comparison reactive power is within a second preset error range, the absolute value of the difference between the actual current and the standard current is within a third preset error range, and the absolute value of the difference between the actual voltage and the standard voltage is within a fourth preset error range, the difference is within the preset error range, that is, the actual electrical parameter meets the calibration condition.
In some applications, in addition to the above, if the absolute value of the difference between one actual electrical parameter and the corresponding standard parameter is not within the preset error range, it indicates that the actual electrical parameter does not satisfy the calibration condition.
In specific application, when the difference value is within a preset error range, the actual electrical parameter meets a calibration condition, which indicates that the calibration of the metering chip of the charging pile is completed, the calculated phase angle value is written into a phase angle register of the metering chip, and the power gain value is written into a gain register of the metering chip, so that the calibration operation is completed.
In specific application, when the difference is not within the preset error range, it is indicated that the actual electrical parameter does not meet the calibration condition, and it is indicated that the calibration error is large, and at this time, the metering chip needs to be recalibrated, so that the charging pile is controlled to continue calibrating the parameter of the metering chip according to the parameter calibration method, automatically learn and complete the calibration operation until the obtained difference is within the preset error range.
Example five:
as shown in fig. 6, the present embodiment provides a calibration apparatus 100 for a metering chip of a charging pile, which is used to execute the method steps in the first embodiment, and includes an initial value setting module 101, a power reading module 102, a calculating module 103, a determining module 104, and a parameter writing module 105.
The initial value setting module 101 is used for connecting a standard meter calibrating instrument, charging the standard output of the standard meter calibrating instrument as a load, and setting an initial value of a metering chip.
The power reading module 102 is used for reading the power of the power register of the metering chip in the charging process.
The calculation module 103 is configured to calculate a phase angle and a power gain of the phase angle register according to the power.
The determining module 104 is configured to calculate an actual electrical parameter according to the power, the phase angle, and the power gain, and determine whether the actual electrical parameter meets a calibration condition.
The parameter writing module 105 is configured to write the phase angle and the power gain into a parameter register of the metering chip if the actual electrical parameter meets a calibration condition, so as to complete automatic calibration.
It should be noted that, because the calibration device for the metering chip of the charging pile provided in the embodiment of the present invention is based on the same concept as the method embodiment shown in fig. 1 of the present invention, the technical effect brought by the calibration device is the same as the method embodiment shown in fig. 1 of the present invention, and specific contents may refer to the description in the method embodiment shown in fig. 1 of the present invention, and are not described herein again.
Therefore, the measurement chip calibration device of electric pile that this embodiment provided, can export for filling electric pile as the load through using standard school table instrument equally, this load of standard output through standard school table instrument makes and fills electric pile can accurately calibrate the relevant electrical parameter in the charging process, through setting up the automatic calibration flow, power register relevant based on measurement chip's power register of power register calibration, the phase angle register, the voltage register, the current register, and judge the calibration result through the calibration condition, ensure the accuracy of calibration, and then realize the automatic calibration to measurement chip, need not the manual work and calibrate, improve calibration efficiency, reduce calibration error and calibration cost, the measurement chip calibration of electric pile has the problem that calibration error is big, calibration cost is high at present effectively solved.
Example six:
as shown in fig. 7, in the present embodiment, the power reading module 102 in the fifth embodiment includes a structure for executing the method steps in the embodiment corresponding to fig. 3, and includes a reading unit 201 and an average value calculating unit 202.
The reading unit 201 is configured to read an active power of an active power register and a reactive power of a reactive power register of the metering chip within a preset number of times.
The mean value calculating unit 202 is configured to perform mean value filtering processing on the read active power and reactive power respectively to obtain an active power mean value and a reactive power mean value.
Example seven:
as shown in fig. 8, in the present embodiment, the calculation module 103 in the fifth embodiment includes a structure for executing the method steps in the embodiment corresponding to fig. 4, and includes a phase angle calculation unit 301 and a gain calculation unit 302.
The phase angle calculation unit 301 is configured to calculate a phase angle of a phase angle register of the metering chip based on a preset phase angle calculation algorithm of the metering chip according to the active power and the reactive power.
The gain calculation unit 302 is configured to calculate a power gain of a gain register of the metering chip based on a preset gain calculation algorithm of the metering chip according to the active power and the reactive power.
Example eight:
as shown in fig. 9, in the present embodiment, the determining module 104 in the fifth embodiment includes a structure for executing the method steps in the embodiment corresponding to fig. 5, and includes an electrical parameter calculating unit 401, an error range determining unit 402, and a determining unit 403.
The electrical parameter calculation unit 401 is used to calculate the actual power, the actual current and the actual voltage according to the power, the phase angle and the power gain.
The error range determination unit 402 is configured to determine whether the difference between the actual power, the current, and the voltage and the standard comparison power, the standard current, and the standard voltage is within a preset error range.
The determining unit 403 is configured to determine that the actual electrical parameter meets the calibration condition if the difference is within the preset error range; otherwise, the actual electrical parameter does not satisfy the calibration condition.
Example nine:
fig. 10 is a schematic diagram of a terminal device according to a ninth embodiment of the present invention. As shown in fig. 10, the terminal device 9 of this embodiment includes: a processor 90, a memory 91 and a computer program 92, e.g. a program, stored in said memory 91 and executable on said processor 90. The processor 90, when executing the computer program 92, implements the steps in the above-described various embodiments of the picture processing method, such as the steps S101 to S105 shown in fig. 1. Alternatively, the processor 90, when executing the computer program 92, implements the functions of the modules/units in the above-described system embodiments, such as the functions of the modules 101 to 105 shown in fig. 6.
Illustratively, the computer program 92 may be partitioned into one or more modules/units that are stored in the memory 91 and executed by the processor 90 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 92 in the terminal device 9. For example, the computer program 92 may be divided into an initial value setting module, a power reading module, a calculating module, a judging module, and a parameter writing module, and each module has the following specific functions:
the initial value setting module is used for connecting a standard meter calibrating instrument, charging the standard output of the standard meter calibrating instrument as a load and setting the initial value of the metering chip;
the power reading module is used for reading the power of a power register of the metering chip in the charging process;
the calculation module is used for calculating the phase angle and the power gain of the phase angle register according to the power;
the judging module is used for calculating actual electrical parameters according to the power, the phase angle and the power gain and judging whether the actual electrical parameters meet the calibration conditions;
and the parameter writing module is used for writing the phase angle and the power gain into a parameter register of the metering chip to finish automatic calibration if the actual electrical parameter meets a calibration condition.
The terminal device 9 may be a desktop computer, a notebook, a palm computer, a cloud management server, or other computing devices. The terminal device may include, but is not limited to, a processor 90, a memory 91. Those skilled in the art will appreciate that fig. 10 is merely an example of a terminal device 9 and does not constitute a limitation of the terminal device 9 and may include more or less components than those shown, or some components may be combined, or different components, for example, the terminal device may also include input output devices, network access devices, buses, etc.
The Processor 90 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 91 may be an internal storage unit of the terminal device 9, such as a hard disk or a memory of the terminal device 9. The memory 91 may also be an external storage device of the terminal device 9, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 9. Further, the memory 91 may also include both an internal storage unit and an external storage device of the terminal device 9. The memory 91 is used for storing the computer program and other programs and data required by the terminal device. The memory 91 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the system is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the wireless terminal may refer to the corresponding process in the foregoing method embodiments, and details are not repeated here.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system/terminal device and method can be implemented in other ways. For example, the above-described system/terminal device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and configured for individual product sale or use, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or system capable of carrying said computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (6)

1. A method for calibrating a metering chip of a charging pile is characterized in that a standard meter calibrating instrument is connected with the charging pile, the charging pile is connected with an upper computer, and the method comprises the following steps:
receiving an automatic calibration instruction of an upper computer;
charging by taking the standard output of the standard meter calibrating instrument as a load, sending an instruction for clearing values of all parameter registers to a metering chip, and reading factory parameters of the metering chip to set an initial value of the metering chip; the standard meter calibrating instrument outputs standard active power, reactive power, voltage and current;
reading the power of a power register of a metering chip in the charging process;
calculating the phase angle and the power gain of the phase angle register according to the power, comprising: calculating the phase angle of a phase angle register of the metering chip based on a preset phase angle calculation algorithm of the metering chip according to the active power and the reactive power; calculating the power gain of a gain register of the metering chip based on a preset gain calculation algorithm of the metering chip according to the active power and the reactive power;
calculating actual electrical parameters according to the power, the phase angle and the power gain, and judging whether the actual electrical parameters meet calibration conditions or not, wherein the method comprises the following steps: calculating actual power, actual current and actual voltage according to the power, the phase angle and the power gain; judging whether the difference values of the actual power, the actual current and the actual voltage with the standard comparison power, the standard current and the standard voltage are within a preset error range or not; if the difference value is within the preset error range, the actual electrical parameter meets the calibration condition; otherwise, the actual electrical parameter does not meet the calibration condition;
and if the actual electrical parameters meet the calibration conditions, writing the phase angle and the power gain into a parameter register of the metering chip to finish automatic calibration.
2. The method of claim 1, wherein reading power of a power register of a metering chip during charging comprises:
reading the active power of an active power register and the reactive power of a reactive power register of the metering chip within preset times;
and performing mean value filtering processing on the read active power and reactive power respectively to obtain an active power mean value and a reactive power mean value.
3. The utility model provides a fill electric pile's measurement chip calibrating device, its characterized in that, standard school table instrument with fill electric pile and connect, and fill electric pile and host computer connection, include:
the initial value setting module is used for receiving an automatic calibration instruction of the upper computer; charging by taking the standard output of the standard meter calibrating instrument as a load, sending an instruction for clearing values of all parameter registers to a metering chip, and reading factory parameters of the metering chip to set an initial value of the metering chip; the standard meter calibrating instrument outputs standard active power, reactive power, voltage and current;
the power reading module is used for reading the power of a power register of the metering chip in the charging process;
the calculation module is used for calculating the phase angle and the power gain of the phase angle register according to the power;
the judging module is used for calculating actual electrical parameters according to the power, the phase angle and the power gain and judging whether the actual electrical parameters meet the calibration conditions;
the parameter writing module is used for writing the phase angle and the power gain into a parameter register of the metering chip to finish automatic calibration if the actual electrical parameter meets a calibration condition;
the computing module further comprises:
the phase angle calculation unit is used for calculating the phase angle of a phase angle register of the metering chip based on a preset phase angle calculation algorithm of the metering chip according to the active power and the reactive power;
the gain calculation unit is used for calculating the power gain of a gain register of the metering chip based on a preset gain calculation algorithm of the metering chip according to the active power and the reactive power;
the judging module comprises:
the electric parameter calculation unit is used for calculating actual power, actual current and actual voltage according to the power, the phase angle and the power gain;
the error range judging unit is used for judging whether the difference values of the actual power, the actual current and the actual voltage and the standard comparison power, the standard current and the standard voltage are in a preset error range or not;
the determining unit is used for determining that the actual electrical parameters meet the calibration conditions if the difference value is within the preset error range; otherwise, the actual electrical parameter does not satisfy the calibration condition.
4. The device for calibrating the metering chip of the charging pile according to claim 3, wherein the power reading module comprises:
the reading unit is used for reading the active power of an active power register and the reactive power of a reactive power register of the metering chip within preset times;
and the mean value calculating unit is used for respectively carrying out mean value filtering processing on the read active power and reactive power to obtain an active power mean value and a reactive power mean value.
5. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the steps of the method according to claim 1 or 2 are implemented when the processor executes the computer program.
6. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to claim 1 or 2.
CN201910438822.0A 2019-05-24 2019-05-24 Charging pile metering chip calibration method and device and terminal equipment Active CN110196404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910438822.0A CN110196404B (en) 2019-05-24 2019-05-24 Charging pile metering chip calibration method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910438822.0A CN110196404B (en) 2019-05-24 2019-05-24 Charging pile metering chip calibration method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN110196404A CN110196404A (en) 2019-09-03
CN110196404B true CN110196404B (en) 2022-04-19

Family

ID=67753078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910438822.0A Active CN110196404B (en) 2019-05-24 2019-05-24 Charging pile metering chip calibration method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN110196404B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110171319B (en) * 2019-06-03 2024-02-13 国网四川省电力公司电力科学研究院 Three-phase standard alternating-current charging pile capable of being used for tracing
CN111537944B (en) * 2020-05-20 2022-10-14 南京能瑞自动化设备股份有限公司 Calibration parameter determination method, microcontroller, metering chip and upper computer
CN111766554A (en) * 2020-06-12 2020-10-13 浙江瑞银电子有限公司 Direct current ammeter with wide metering range
CN111638481A (en) * 2020-06-12 2020-09-08 浙江瑞银电子有限公司 Large-current direct current ammeter and calibration method thereof
CN112444699A (en) * 2020-11-23 2021-03-05 福建时代星云科技有限公司 Charging and discharging module conversion rate calibration method, system, equipment and medium
CN112630714A (en) * 2020-11-30 2021-04-09 深圳市科陆电子科技股份有限公司 Intelligent fusion terminal error calibration method and intelligent fusion terminal
CN116598218A (en) * 2023-07-17 2023-08-15 深圳市思远半导体有限公司 Chip, test machine, calibration system and method of chip parameters and related equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201796138U (en) * 2010-06-09 2011-04-13 合肥工业大学 Terminal calibration system based on electric energy measuring chip
CN105044641A (en) * 2015-06-30 2015-11-11 黑龙江省计量检定测试院 Electric vehicle charging metering instrument field calibration device
CN105242233A (en) * 2015-10-21 2016-01-13 宁波三星医疗电气股份有限公司 Fast calibration method of single-phase electric energy meter
CN105353337A (en) * 2015-11-09 2016-02-24 深圳市海亿达能源科技股份有限公司 Calibration method and device based on cloud computing
CN107037246A (en) * 2017-05-17 2017-08-11 栗春侠 A kind of universal charging station charge metering device and its metering method
CN207790376U (en) * 2018-01-03 2018-08-31 深圳智链物联科技有限公司 charging pile control circuit and charging pile
CN109001665A (en) * 2018-06-15 2018-12-14 国网山西省电力公司计量中心 A kind of calibration equipment suitable for charging equipment direct current energy
CN109444566A (en) * 2018-09-03 2019-03-08 中国电力科学研究院有限公司 A kind of electric car electrically-charging equipment detection device and method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7305310B2 (en) * 2004-10-18 2007-12-04 Electro Industries/Gauge Tech. System and method for compensating for potential and current transformers in energy meters
WO2012093652A1 (en) * 2011-01-07 2012-07-12 住友重機械工業株式会社 Charge/discharge inspection system, correction system and correction device for charge/discharge inspection device
CN102253358A (en) * 2011-04-21 2011-11-23 深圳市锐能微科技有限公司 Method for correcting electric energy meter by using correction system, and correction system
CN102590782B (en) * 2012-03-05 2015-03-11 钜泉光电科技(上海)股份有限公司 Method and device for automatically correcting voltage influence quantity of electric energy measurement chip
US9274201B2 (en) * 2013-09-04 2016-03-01 Texas Instruments Incorporated Automatic calibration method for active and reactive power measurement
CN108267708A (en) * 2017-12-28 2018-07-10 宁波三星医疗电气股份有限公司 For the quick calibration method of single-phase smart meter error self-correcting

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201796138U (en) * 2010-06-09 2011-04-13 合肥工业大学 Terminal calibration system based on electric energy measuring chip
CN105044641A (en) * 2015-06-30 2015-11-11 黑龙江省计量检定测试院 Electric vehicle charging metering instrument field calibration device
CN105242233A (en) * 2015-10-21 2016-01-13 宁波三星医疗电气股份有限公司 Fast calibration method of single-phase electric energy meter
CN105353337A (en) * 2015-11-09 2016-02-24 深圳市海亿达能源科技股份有限公司 Calibration method and device based on cloud computing
CN107037246A (en) * 2017-05-17 2017-08-11 栗春侠 A kind of universal charging station charge metering device and its metering method
CN207790376U (en) * 2018-01-03 2018-08-31 深圳智链物联科技有限公司 charging pile control circuit and charging pile
CN109001665A (en) * 2018-06-15 2018-12-14 国网山西省电力公司计量中心 A kind of calibration equipment suitable for charging equipment direct current energy
CN109444566A (en) * 2018-09-03 2019-03-08 中国电力科学研究院有限公司 A kind of electric car electrically-charging equipment detection device and method

Also Published As

Publication number Publication date
CN110196404A (en) 2019-09-03

Similar Documents

Publication Publication Date Title
CN110196404B (en) Charging pile metering chip calibration method and device and terminal equipment
CN102565751B (en) Device for developing programmable single-phase electric energy metering chip
WO2021179699A1 (en) Method and apparatus for detecting state of health of battery, and electronic device and storage medium
CN102980535B (en) Angle measurement method and device
CN110470995B (en) Method and system for acquiring remaining discharge time of battery and terminal equipment
CN109342989A (en) A kind of error analysis method and device of electric energy meter
CN108646089A (en) Electricity consumption computational methods, device and electronic equipment
CN105629052B (en) Chip power-consumption real-time detection method
CN110489826B (en) Rock slope safety coefficient calculation method and device and terminal equipment
CN105319529A (en) System and method for calibrating errors of watt-hour meters
CN109447506A (en) A kind of power quality datum-plane evaluation method and system
CN109991543B (en) Method and device for acquiring residual electric quantity of battery pack and terminal equipment
CN204287445U (en) For the cell degradation detector of battery cell
CN108761187B (en) Substrate current testing method and system and terminal equipment
CN106405477A (en) Evaluation method and device for metering performance under dynamic load
CN110286257A (en) Electric current detecting method and device, electronic equipment and computer readable storage medium
CN202421328U (en) Self-testing electronic electricity meter
US20210405123A1 (en) Method, apparatus, storage medium and terminal equipment for estimating the impedance of battery
CN104569840A (en) Aging detection method and device for individual battery
CN113376564A (en) Smart electric meter metering correction method and device based on data analysis and terminal
CN114036721A (en) Method and device for constructing three-dimensional temperature cloud field of micro-module
CN104102405A (en) Dynamic setting method and circuit of touch screen control integrated circuit driving signal
CN115580523B (en) Fault processing method and device for modular electric energy meter and electric energy meter
CN115453397B (en) Battery current monitoring method, device, controller and circuit
CN111122964B (en) Electric energy metering method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant