Disclosure of Invention
In view of the foregoing, it is desirable to provide a charging pile electric energy metering method, apparatus, computer device, storage medium, and computer program product that can solve the foregoing problems.
In a first aspect, the present application provides a method for measuring electric energy of a charging pile, the method comprising:
responding to a charging starting operation aiming at the current charging task, and determining target electric energy metering information according to the current charging mode of the charging pile; each charging gun in the charging pile is provided with corresponding first electric energy monitoring equipment and second electric energy monitoring equipment;
acquiring initial electric energy data corresponding to the charging guns at the charging initial time; the starting electrical energy data includes a first electrical energy determined based on the first electrical energy monitoring device and a second electrical energy determined based on the second electrical energy monitoring device;
When the charging pile is detected to be charged, acquiring end electric energy data corresponding to each charging gun at the charging end time; the ending electrical energy data includes a third electrical energy determined based on the first electrical energy monitoring device;
and combining the first electric energy, the second electric energy and the third electric energy, and obtaining target electric energy based on the second electric energy monitoring equipment according to the target electric energy metering information, wherein the target electric energy is used as electric energy metering data corresponding to the current charging task.
In one embodiment, the method further comprises:
and in the process of insulating detection and pre-charging of the charging pile, periodic monitoring data corresponding to each charging gun are obtained, and the periodic monitoring data are sent to an electric power statistics platform.
In one embodiment, the method further comprises:
in the charging process of the charging pile, when a charging mode changing event is detected, determining a changed charging mode of the charging pile according to mode changing information corresponding to the charging mode changing event;
and taking the electric energy metering information corresponding to the changed charging mode as the target electric energy metering information.
In one embodiment, the combining the first electric energy, the second electric energy, and the third electric energy to obtain the target electric energy based on the second electric energy monitoring device according to the target electric energy measurement information includes:
under the condition that the current charging mode is a uniform charging mode, the target electric energy measurement information is uniform charging measurement information;
and according to the charge balancing information, obtaining the electric energy corresponding to each charging gun determined based on the second electric energy monitoring equipment as the target electric energy according to the first electric energy, the second electric energy and the third electric energy.
In one embodiment, the combining the first electric energy, the second electric energy, and the third electric energy to obtain the target electric energy based on the second electric energy monitoring device according to the target electric energy measurement information includes:
the target electric energy measurement information is wheel charging amount information under the condition that the current charging mode is a wheel charging mode;
according to the wheel charging amount information, according to the first electric energy, the second electric energy and the third electric energy, obtaining electric energy corresponding to a first target charging gun determined based on the second electric energy monitoring equipment as the target electric energy; the first target charging gun is a charging gun which is charged independently in the wheel charging mode.
In one embodiment, the combining the first electric energy, the second electric energy, and the third electric energy to obtain the target electric energy based on the second electric energy monitoring device according to the target electric energy measurement information includes:
under the condition that the current charging mode is a parallel charging mode, the target electric energy measurement information is parallel charging measurement information;
according to the parallel charging information, according to the first electric energy, the second electric energy and the third electric energy, obtaining electric energy corresponding to a second target charging gun determined based on the second electric energy monitoring equipment as the target electric energy; the second target charging gun is a charging gun integrating and charging in the parallel charging mode.
In one embodiment, the method further comprises:
and sending the electric energy metering data corresponding to the current charging task to an electric power statistics platform, and switching the current charging mode of the charging pile into a uniform charging mode so as to start the next charging task.
In a second aspect, the present application further provides a charging pile electric energy metering device, the device comprising:
the electric energy metering information determining module is used for responding to the charging starting operation aiming at the current charging task and determining target electric energy metering information according to the current charging mode of the charging pile; each charging gun in the charging pile is provided with corresponding first electric energy monitoring equipment and second electric energy monitoring equipment;
The initial electric energy data acquisition module is used for acquiring initial electric energy data corresponding to the charging guns at the charging initial time; the starting electrical energy data includes a first electrical energy determined based on the first electrical energy monitoring device and a second electrical energy determined based on the second electrical energy monitoring device;
the charging pile charging end detection module is used for detecting the charging end of the charging pile, and acquiring charging end time corresponding to each charging gun; the ending electrical energy data includes a third electrical energy determined based on the first electrical energy monitoring device;
and the electric energy metering data obtaining module is used for obtaining the target electric energy based on the second electric energy monitoring equipment as the electric energy metering data corresponding to the current charging task according to the target electric energy metering information by combining the first electric energy, the second electric energy and the third electric energy.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the steps of the charging pile electric energy metering method as described above when the processor executes the computer program.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the charging pile electric energy metering method as described above.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of the charging pile electric energy metering method as described above.
According to the charging pile electric energy metering method, the charging pile electric energy metering device, the computer equipment, the storage medium and the computer program product, the target electric energy metering information is determined according to the current charging mode of the charging pile by responding to the charging starting operation of the charging pile for the current charging task, each charging gun in the charging pile is provided with the corresponding first electric energy monitoring equipment and the corresponding second electric energy monitoring equipment, then the initial electric energy data corresponding to each charging gun at the charging starting moment is obtained, the initial electric energy data comprises the first electric energy determined based on the first electric energy monitoring equipment and the second electric energy determined based on the second electric energy monitoring equipment, when the charging pile is detected to be charged, the end electric energy data corresponding to each charging gun at the charging end moment is obtained, the end electric energy data comprises the third electric energy determined based on the first electric energy monitoring equipment, and then the target electric energy based on the second electric energy monitoring equipment is obtained according to the target electric energy metering information, the electric energy corresponding to the charging pile electric energy metering data corresponding to the current charging task is obtained, the charging pile electric energy metering efficiency is optimized, the charging pile electric energy metering efficiency is improved according to different energy metering devices, and the charging pile charging efficiency is improved according to different metering energy metering data is determined according to different metering modes.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for presentation, analyzed data, etc.) related in the present application are both information and data authorized by the user or sufficiently authorized by each party; correspondingly, the application also provides a corresponding user authorization entry for the user to select authorization or select rejection.
For the direct current charging pile for metering and counting alternating current electric quantity by using alternating current electric meters, an independent alternating current electric meter is distributed for each charging gun to meter the alternating current electric quantity consumed by charging of each charging gun, when a wheel charging mode or a parallel charging mode is adopted for charging, the charging gun A in charging uses independently occupies two alternating current electric meters corresponding to the charging gun A and the charging gun B to meter the alternating current electric quantity, when the electric energy readings of the alternating current electric meters corresponding to the double guns are directly used for uploading to a platform for displaying, the electric energy reading difference value of the charging gun A before and after charging is inconsistent with the electric quantity of the alternating current electric meter corresponding to the charging gun B, if the electric quantity of the charging gun B in charging is overlapped with the electric quantity of the alternating current electric meter corresponding to the charging gun B, the electric energy readings of the electric meter in charging gun B in no charging operation are abnormally increased on the platform.
For example, as shown in fig. 1, if the electric energy readings of the ac electric meter a and the ac electric meter B before starting charging are Wa1 and Wb1, respectively, in the case of starting the round charging or the parallel charging mode, the electric energy readings of the ac electric meter a and the ac electric meter B after finishing charging are Wa2 and Wb2, respectively, and the electric charge quantity of the charging gun at this time is q=qa+qb, wherein the electric quantity qa=wa 2-Wa1 of the ac electric meter a, the electric quantity qb=wb 2-Wb1 of the ac electric meter B, because the ac charging information of the charging gun a and the charging gun B transmitted to the platform by the dc charging stake is obtained from the ac electric meter a and the ac electric meter B respectively and corresponds to one another, the ac electric quantity of the charging gun a displayed on the platform is Q, and the ac electric meter readings of the charging gun a before and after charging are Wb2 respectively, but Wb2-Wb 1=qa+q (=qa+qb), which can not cause the charging information corresponding to the charging gun a displayed on the platform to the charging gun a to directly pass through the readings of the charging gun a, and whether the accumulated electric quantity of the electric meter a can not be accurately known. A similar drawback exists for the platform charging information display of charging gun B, where the charging gun B is not charged this time, its corresponding meter's electrical energy reading jumps from Wb1 to Wb2 (Wb 2-Wb1 = Qb noteq0). By adopting the traditional method, the accuracy of the calculated electric quantity of the alternating current electric meter corresponding to the double-gun charged once can not be ensured, and the continuity of the electric energy reading transmission of the electric meter corresponding to the double-gun charged each time to the platform display can not be realized, so that the platform can not directly know and judge the charging details through the electric meter reading.
In one embodiment, as shown in fig. 2, a method for measuring electric energy of a charging pile is provided, and this embodiment is applied to a terminal for illustration, for example, a charging pile, it is understood that the method may also be applied to a server, and may also be applied to a system including the terminal and the server, and implemented through interaction between the terminal and the server. In this embodiment, the method includes the steps of:
step 201, in response to a charging start operation for the present charging task, determining target electric energy amount measurement information according to a current charging mode of the charging pile; each charging gun in the charging pile is provided with corresponding first electric energy monitoring equipment and second electric energy monitoring equipment;
the direct current charging pile system corresponding to the charging pile may be configured with at least two charging guns, as shown in fig. 3, for each charging gun, an alternating current electric meter (i.e., a first electric energy monitoring device) and an alternating current virtual electric meter (i.e., a second electric energy monitoring device) may be configured, where the alternating current virtual electric meter may be used to meter and accumulate the alternating current electric quantity consumed by charging of the corresponding charging gun.
As an example, the charging modes may include a homogeneous charging mode, a wheel charging mode, a parallel charging mode, and the like, and may be other charging modes, and are not particularly limited in this embodiment; the electric energy calculation mode of the alternating-current virtual ammeter, namely the target electric energy measurement information, can be switched according to different charging modes.
In practical application, when the charging gun of the charging pile is connected with the charging object, for example, after the user inserts the charging gun into the charging interface of the vehicle, charging is started by selecting charging modes such as card swiping, code scanning and VIN code scanning, namely, in response to a charging starting operation for a charging task, the charging pile can switch an electric energy calculation mode of the alternating-current virtual electric meter by judging charging modes (namely, current charging modes) such as uniform charging, wheel charging and parallel charging, namely, determining target electric energy metering information.
Step 202, acquiring initial electric energy data corresponding to the charging guns at the charging initial time; the starting electrical energy data includes a first electrical energy determined based on the first electrical energy monitoring device and a second electrical energy determined based on the second electrical energy monitoring device;
in a specific implementation, at the time of starting charging, based on an ac electric meter and an ac virtual electric meter corresponding to each charging gun, recording electric energy readings of the electric meter before one-time charging, obtaining first electric energy determined based on a first electric energy monitoring device and second electric energy determined based on a second electric energy monitoring device, and using the first electric energy and the second electric energy as initial electric energy data corresponding to each charging gun at the starting time of charging, and transmitting the initial electric energy data to an electric power statistics platform for display through network communication.
Step 203, when detecting that the charging of the charging pile is finished, acquiring end electric energy data corresponding to the charging gun at the charging end time; the ending electrical energy data includes a third electrical energy determined based on the first electrical energy monitoring device;
in practical application, when the charging end of the charging pile is detected, the electric energy reading of the alternating current meter corresponding to each charging gun is recorded once, and the third electric energy determined based on the first electric energy monitoring equipment is obtained and used as the end electric energy data corresponding to each charging gun at the charging end time.
And 204, combining the first electric energy, the second electric energy and the third electric energy, and obtaining target electric energy based on the second electric energy monitoring equipment according to the target electric energy metering information, wherein the target electric energy is used as electric energy metering data corresponding to the current charging task.
After the initial electric energy data and the end electric energy data are obtained, the first electric energy and the second electric energy in the initial electric energy data and the third electric energy in the end electric energy data can be combined, the target electric energy based on the second electric energy monitoring equipment is obtained according to the target electric energy metering information to serve as electric energy metering data corresponding to the charging task, and if the electric energy reading of the alternating current virtual ammeter after the charging is finished can be obtained to serve as the ammeter electric energy reading after the charging.
Specifically, by adopting the ac electric meter and the ac virtual electric meter (i.e., the first electric energy monitoring device and the second electric energy monitoring device), in the charging process from the start of the charging time to the charging end time, the charging ac side data of the charging pile is periodically monitored, and after the charging pile finishes charging, the electric energy reading (i.e., the target electric energy) of the ac virtual electric meter can be obtained and used as the electric energy reading (i.e., the electric energy metering data) of the electric meter after charging to be transmitted to the platform.
In an example, taking the charging pile configured with the charging gun a and the charging gun B as an example, since the electric energy of each ac virtual electric meter is accumulated, and the charging ac electric quantity of the charging gun corresponding to the charging pile is taken as an accumulation factor, the sum of the current electric quantities of the ac electric meter a and the ac electric meter B when power is distributed to any charging gun for charging in a round charging mode or a parallel charging mode may be included, or in a uniform charging mode, the current electric quantity measured for the ac electric meter a corresponding to the charging gun a and the current electric quantity measured for the ac electric meter B corresponding to the charging gun B may be respectively obtained and accumulated based on the ac virtual electric meter a 'and the ac virtual electric meter B', as shown in fig. 3, after the charging pile completes charging, the electric energy readings of the ac electric meters may be displayed on a platform.
In yet another example, based on the ac virtual electricity meter, the ac electricity consumed by charging the charging gun may be accumulated, so that a manner of metering the electric energy as a normal electricity meter may be implemented, for example, a separate electricity amount for each charging of the ac electricity meter a (or the ac electricity meter B) (for example, in a homogeneous charging mode) may be obtained, and a sum of the electricity amounts for each charging of the ac electricity meter a and the ac electricity meter B may be obtained (for example, in a wheel charging mode or a parallel charging mode).
Because the alternating current virtual ammeter accumulates the charging alternating current electric quantity of the corresponding charging gun instead of directly acquiring data from the alternating current ammeter corresponding to each charging gun, the phenomenon that the electric energy reading of the alternating current ammeter displayed by the platform corresponding to the charging gun which is not charged is abnormally increased can be avoided, or the situation that the electric energy reading of the alternating current ammeter displayed by the platform has few metering and missing metering because one charging user occupies the charging power resource of the whole charging pile independently can be avoided, so that the electric energy reading of the alternating current ammeter displayed by the platform has the continuity characteristic of normal electric energy increment, the charged total electric quantity of the corresponding charging gun can be determined from the statistical data of the corresponding charging gun before and after charging, and the difference of the numerical values of the electric energy readings of the alternating current ammeter displayed by the platform is consistent with the consumed electric quantity of the current charging.
Compared with the traditional method, the technical scheme of the embodiment can accumulate the electric quantity of the charging gun corresponding to the alternating-current virtual electric meter in each charging to count the electric energy by adopting the alternating-current virtual electric meter, thereby realizing the characteristic that the electric energy readings of the alternating-current electric meter displayed by the platform have continuity and achieving the effect that the electric energy readings of the electric meter are the total charged electric quantity of the charging gun corresponding to the electric meter; meanwhile, the difference between the numerical values of the electric energy readings of the alternating-current electric meter of the platform before and after each charging is the consumed electric quantity of the charging gun, so that the manual calculation cost is saved, and the electric quantity accuracy verification efficiency is improved.
According to the electric energy metering method of the charging pile, the target electric energy metering information is determined according to the current charging mode of the charging pile in response to the charging starting operation of the current charging task, then the initial electric energy data corresponding to the charging start moment of each charging gun is obtained, when the charging end of the charging pile is detected, the end electric energy data corresponding to the charging end moment of each charging gun is obtained, and then the first electric energy, the second electric energy and the third electric energy are combined, so that the target electric energy based on the second electric energy monitoring equipment is obtained according to the target electric energy metering information, and the electric energy metering data corresponding to the current charging task is obtained.
In one embodiment, the method may further comprise the steps of:
and in the process of insulating detection and pre-charging of the charging pile, periodic monitoring data corresponding to each charging gun are obtained, and the periodic monitoring data are sent to an electric power statistics platform.
In practical application, the charging pile can be subjected to insulation detection and pre-charging stage, the charging data of the alternating current side of the charging pile can be periodically monitored through the alternating current virtual ammeter so as to obtain periodic monitoring data corresponding to each charging gun, and the periodic monitoring data can be transmitted to the platform for display through network communication.
In the embodiment, the periodic monitoring data corresponding to each charging gun is obtained in the insulation detection and pre-charging process of the charging pile, and the periodic monitoring data are sent to the electric power statistics platform, so that data support is provided for electric energy metering of the charging pile.
In one embodiment, the method may further comprise the steps of:
in the charging process of the charging pile, when a charging mode changing event is detected, determining a changed charging mode of the charging pile according to mode changing information corresponding to the charging mode changing event; and taking the electric energy metering information corresponding to the changed charging mode as the target electric energy metering information.
In an example, in the charging stage, as the charging pile starts to output power, the electric energy of the ac virtual electric meter is gradually increased, and can be periodically transmitted to the platform for display in real time.
In this embodiment, when a charging mode change event is detected during charging of the charging pile, a post-change charging mode of the charging pile is determined according to mode change information corresponding to the charging mode change event, and then electric energy metering information corresponding to the post-change charging mode is used as target electric energy metering information, so that an electric energy calculation mode of the ac virtual electric meter can be flexibly adjusted based on switching of the charging mode.
In one embodiment, the combining the first electric energy, the second electric energy, and the third electric energy to obtain the target electric energy based on the second electric energy monitoring device according to the target electric energy measurement information may include the following steps:
Under the condition that the current charging mode is a uniform charging mode, the target electric energy measurement information is uniform charging measurement information; and according to the charge balancing information, obtaining the electric energy corresponding to each charging gun determined based on the second electric energy monitoring equipment as the target electric energy according to the first electric energy, the second electric energy and the third electric energy.
In a specific implementation, for the homogeneous charge mode, for example, in the dual-gun homogeneous charge mode of the charging pile, when the charging is started, the charging metering system of the charging pile can record readings of electric energy (i.e., first electric energy) of the alternating current electric meter A and the alternating current electric meter B, for example, wa1 and Wb1, and records readings of electric energy (i.e., second electric energy) of the alternating current virtual electric meter A 'and the alternating current virtual electric meter B', for example, wa '1 and Wb'1; in the charging process, the electric energy readings corresponding to the ac electric meter a and the ac electric meter B respectively, such as Wa2 and Wb2, may be read in real time, or after the charging is finished, the electric energy readings corresponding to the ac electric meter a and the ac electric meter B respectively (i.e., the third electric energy) may be recorded again, such as Wa2 and Wb2.
For example, before charging is started, the electric energy readings of the ac electric meter a and the ac electric meter B are Wa1 and Wb1, the electric energy readings of the ac virtual electric meter a ' and the ac virtual electric meter B ' are Wa '1 and Wb1, respectively, after charging is completed, the electric energy readings of the ac electric meter a and the ac electric meter B are Wa2 and Wb2, respectively, and the electric quantities determined based on the ac electric meter a and the ac electric meter B are qa=wa 2-Wa1 and qb=wb 2-Wb1, respectively, and the electric quantities determined based on the ac virtual electric meter a ' and the ac virtual electric meter B ' are Qa ' =wa '2-Wa '1 and Qb ' =wb '2-Wb '1, respectively.
In an example, as shown in fig. 4a, the metering mode (i.e. the uniform charging metering information) of the charging pile charging metering system in the uniform charging mode is the electric quantity measured by each of the ac virtual electric meter a 'and the ac virtual electric meter B', the electric quantity measured by each of the ac electric meter a and the ac electric meter B, and the electric quantity respectively consumed by each of the charging gun a and the charging gun B in the present charging may be represented as follows:
Qa’(=Wa’2-Wa’1)=Qa(=Wa2-Wa1)
Qb’(=Wb’2-Wb’1)= Qb(=Wb2-Wb1)
the above formula can be used to obtain that the electric energy readings corresponding to the ac virtual electric meter a ' and the ac virtual electric meter B ' during or after charging are Wa ' 2=wa ' 1+qa ' =wa ' 1+qa, wb ' 2=wb ' 1+qb ' =wb ' 1+qb ', so that the real-time electric quantity or the total electric quantity Qa ', qb ' corresponding to each charging gun and the electric energy readings Wa '2, wb '2 of the ac virtual electric meter during or after charging (i.e. the electric energy corresponding to each charging gun) can be uploaded to the platform for display during the present charging task of the double-gun ac virtual electric meter measurement.
In this embodiment, when the current charging mode is the homogeneous charging mode, the target electric energy metering information is the homogeneous charging metering information, and according to the homogeneous charging metering information, according to the first electric energy, the second electric energy and the third electric energy, the electric energy corresponding to each charging gun determined based on the second electric energy monitoring device is obtained as the target electric energy, so that accurate electric energy metering can be realized in the homogeneous charging mode.
In one embodiment, the combining the first electric energy, the second electric energy, and the third electric energy to obtain the target electric energy based on the second electric energy monitoring device according to the target electric energy measurement information may include the following steps:
the target electric energy measurement information is wheel charging amount information under the condition that the current charging mode is a wheel charging mode; according to the wheel charging amount information, according to the first electric energy, the second electric energy and the third electric energy, obtaining electric energy corresponding to a first target charging gun determined based on the second electric energy monitoring equipment as the target electric energy; the first target charging gun is a charging gun which is charged independently in the wheel charging mode.
In practical applications, for a wheel charging mode, for example, in a single gun wheel charging mode of a charging pile, taking charging gun a (i.e. a first target charging gun) as an example, when charging is started, the charging metering system of the charging pile can record readings of electric energy of ac electric meter a and ac electric meter B (i.e. first electric energy) once, and record readings of electric energy of ac virtual electric meter a 'and ac virtual electric meter B' (i.e. second electric energy), and in the charging process, the readings of electric energy corresponding to ac electric meter a and ac electric meter B can be read in real time, or after charging is finished, the readings of electric energy corresponding to ac electric meter a and ac electric meter B (i.e. third electric energy) once can be recorded again.
For example, before charging is started, the electric energy readings of the ac electric meter a and the ac electric meter B are Wa1 and Wb1, the electric energy readings of the ac virtual electric meter a ' and the ac virtual electric meter B ' are Wa '1 and Wb1, respectively, after charging is completed, the electric energy readings of the ac electric meter a and the ac electric meter B are Wa2 and Wb2, respectively, and the electric quantities determined based on the ac electric meter a and the ac electric meter B are qa=wa 2-Wa1 and qb=wb 2-Wb1, respectively, and the electric quantities determined based on the ac virtual electric meter a ' and the ac virtual electric meter B ' are Qa ' =wa '2-Wa '1 and Qb ' =wb '2-Wb '1, respectively.
In an example, as shown in fig. 4B, the electric quantity measured by the ac virtual electric meter a' is the sum of the electric quantities of the ac electric meter a and the ac electric meter B, and is also the electric quantity obtained by performing power distribution based on the dc charging pile, and after the power module resource of the whole charging pile is distributed to the charging gun a, the charging electric quantity of the charging gun a can be represented by the following manner:
Qa’(=Wa’2-Wa’1)=Qa(=Wa2-Wa1)+Qb(=Wb2-Wb1)
since the charging gun B is in an idle state, the current charge electric quantity Qb ' =wb '2-Wb ' 1=0 of the ac virtual ammeter corresponding to the charge electric quantity of the charging gun B is counted.
According to the formula, the reading of the electric energy of the charging or charging alternating current virtual electric meter A ' is Wa ' 2=Wa ' 1+Qa ' =Wa ' 1+Qa+Qb, so that the real-time electric quantity of the charging or the total electric quantity Qa ' of the charging and the real-time reading of the electric energy of the charging or the reading of the electric energy Wa '2 of the charging alternating current virtual electric meter (namely, the electric energy corresponding to the first target charging gun) can be uploaded to the platform for display.
In this embodiment, when the current charging mode is the wheel charging mode, the target electric energy metering information is the wheel charging metering information, and according to the wheel charging metering information, according to the first electric energy, the second electric energy and the third electric energy, the electric energy corresponding to the first target charging gun determined based on the second electric energy monitoring device is obtained as the target electric energy, so that accurate electric energy metering can be realized in the wheel charging mode.
In one embodiment, the combining the first electric energy, the second electric energy, and the third electric energy to obtain the target electric energy based on the second electric energy monitoring device according to the target electric energy measurement information may include the following steps:
Under the condition that the current charging mode is a parallel charging mode, the target electric energy measurement information is parallel charging measurement information; according to the parallel charging information, according to the first electric energy, the second electric energy and the third electric energy, obtaining electric energy corresponding to a second target charging gun determined based on the second electric energy monitoring equipment as the target electric energy; the second target charging gun is a charging gun integrating and charging in the parallel charging mode.
In an example, for a parallel charging mode, such as a dual-gun parallel charging mode performed by a charging pile, taking charging gun a and charging gun B together to charge the same vehicle as an example, the charging electric quantity of this parallel charging is accumulated on charging gun a (i.e. a second target charging gun), when charging is started, the charging metering system records readings of electric energy of ac electric meter a and ac electric meter B (i.e. first electric energy), and records readings of electric energy of ac virtual electric meter a 'and ac virtual electric meter B' (i.e. second electric energy), and during charging, readings of electric energy corresponding to ac electric meter a and ac electric meter B respectively can be read in real time, or after charging is finished, readings of electric energy corresponding to ac electric meter a and ac electric meter B respectively (i.e. third electric energy) can be recorded again.
Specifically, before charging is started, the electric energy readings of the ac electric meter a and the ac electric meter B are Wa1 and Wb1, the electric energy readings of the ac virtual electric meter a ' and the ac virtual electric meter B ' are Wa '1 and Wb1, respectively, after charging is finished, the electric energy readings of the ac electric meter a and the ac electric meter B are Wa2 and Wb2, respectively, and then the electric quantities determined based on the ac electric meter a and the ac electric meter B are qa=wa 2-Wa1 and qb=wb 2-Wb1, respectively, and the electric quantities determined based on the ac virtual electric meter a ' and the ac virtual electric meter B ' are Qa ' =wa '2-Wa '1 and Qb ' =wb '2-Wb '1, respectively.
In yet another example, as shown in fig. 4c, the amount of electricity metered by the ac virtual electric meter a' is the sum of the amounts of electricity of the ac electric meter a and the ac electric meter B, and is also the sum of the amounts of charging consumed by the charging gun a and the charging gun B in the present charging task, and may be expressed as follows:
Qa’(=Wa’2-Wa’1)=Qa(=Wa2-Wa1)+Qb(=Wb2-Wb1)
according to the formula, the reading of the electric energy of the charging or post-charging alternating-current virtual electric meter A ' is Wa ' 2=Wa ' 1+Qa ' =Wa ' 1+Qa+Qb, and then the real-time electric quantity of the charging or the total electric quantity Qa ' of the charging, and the real-time reading of the electric energy of the charging or the reading Wa '2 of the electric energy of the charging or the post-charging alternating-current virtual electric meter (namely, the electric energy corresponding to the second target charging gun) can be uploaded to the platform for display.
In this embodiment, when the current charging mode is the parallel charging mode, the target electric energy metering information is parallel charging metering information, and according to the parallel charging metering information, according to the first electric energy, the second electric energy and the third electric energy, electric energy corresponding to the second target charging gun determined based on the second electric energy monitoring device is obtained as the target electric energy, so that accurate electric energy metering can be realized in the parallel charging mode.
In one embodiment, the method may further comprise the steps of:
and sending the electric energy metering data corresponding to the current charging task to an electric power statistics platform, and switching the current charging mode of the charging pile into a uniform charging mode so as to start the next charging task.
In practical application, by adopting the alternating current electric meter and the alternating current virtual electric meter, in the charging process of reading the first frame of electric meter data at the starting charging time until the charging ending time, the charging alternating current side data of the charging pile is periodically monitored, the electric energy reading of the alternating current virtual electric meter can be obtained after the charging pile finishes charging, and is used as the electric energy reading (namely the electric energy metering data) of the electric meter after charging to be transmitted to the platform, and the electric energy calculation mode of the alternating current virtual electric meter can be switched into the uniform charging mode to wait for the starting of the next charging.
In this embodiment, the electric energy metering accuracy can be improved by sending the electric energy metering data corresponding to the current charging task to the electric power statistics platform and switching the current charging mode of the charging pile to the uniform charging mode so as to start the next charging task, thereby improving the electric energy metering efficiency of the charging pile.
In one embodiment, as shown in fig. 5, a flow chart of another method for metering the electric energy of the charging pile is provided. In this embodiment, the method includes the steps of:
in step 501, in response to a charging start operation for the present charging task, target electric energy amount measurement information is determined according to the current charging mode of the charging stake. In step 502, initial electric energy data corresponding to the charging gun at the charging initial time is obtained. In step 503, when a charging mode change event is detected during charging of the charging post, a post-change charging mode of the charging post is determined according to mode change information corresponding to the charging mode change event. In step 504, the energy amount measurement information corresponding to the changed charge mode is set as target energy amount measurement information. In step 505, when it is detected that the charging of the charging pile is completed, end electric energy data corresponding to the charging time of each charging gun is obtained. In step 506, the first electric energy, the second electric energy and the third electric energy are combined, and the target electric energy based on the second electric energy monitoring device is obtained according to the target electric energy metering information, and is used as the electric energy metering data corresponding to the current charging task. In step 507, the electric energy amount measurement data corresponding to the current charging task is sent to the electric power statistics platform, and the current charging mode of the charging pile is switched to the uniform charging mode for starting the next charging task. It should be noted that, the specific limitation of the above steps may be referred to the specific limitation of the method for measuring the electric energy of the charging pile, which is not described herein.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a charging pile electric energy metering device for realizing the charging pile electric energy metering method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation of the embodiment of the charging pile electric energy metering device or devices provided below may be referred to the limitation of the charging pile electric energy metering method hereinabove, and will not be repeated here.
In one embodiment, as shown in fig. 6, there is provided a charging pile electric energy metering device, comprising:
the electric energy amount measurement information determining module 601 is configured to determine target electric energy amount measurement information according to a current charging mode of the charging pile in response to a charging start operation for a current charging task; each charging gun in the charging pile is provided with corresponding first electric energy monitoring equipment and second electric energy monitoring equipment;
the initial electric energy data acquisition module 602 is configured to acquire initial electric energy data corresponding to a charging start time of each charging gun; the starting electrical energy data includes a first electrical energy determined based on the first electrical energy monitoring device and a second electrical energy determined based on the second electrical energy monitoring device;
an ending electric energy data obtaining module 603, configured to obtain ending electric energy data corresponding to the charging gun at the charging ending time when the charging end of the charging pile is detected; the ending electrical energy data includes a third electrical energy determined based on the first electrical energy monitoring device;
and the electric energy metering data obtaining module 604 is configured to combine the first electric energy, the second electric energy, and the third electric energy, and obtain, according to the target electric energy metering information, a target electric energy based on the second electric energy monitoring device as electric energy metering data corresponding to the current charging task.
In one embodiment, the apparatus further comprises:
and the periodic monitoring module is used for acquiring periodic monitoring data corresponding to each charging gun in the insulation detection and pre-charging process of the charging pile, and sending the periodic monitoring data to the electric power statistics platform.
In one embodiment, the apparatus further comprises:
the mode changing module is used for determining a changed charging mode of the charging pile according to mode changing information corresponding to a charging mode changing event when the charging mode changing event is detected in the charging process of the charging pile;
and the electric energy metering information adjusting module is used for taking the electric energy metering information corresponding to the changed charging mode as the target electric energy metering information.
In one embodiment, the energy metering data deriving module 604 includes:
the charge balancing sub-module is used for obtaining target electric energy amount information which is charge balancing amount information when the current charging mode is a charge balancing mode;
and the charge equalization energy obtaining submodule is used for obtaining the electric energy corresponding to each charging gun determined based on the second electric energy monitoring equipment as the target electric energy according to the charge equalization amount information, the first electric energy, the second electric energy and the third electric energy.
In one embodiment, the energy metering data deriving module 604 includes:
the wheel charging sub-module is used for obtaining target electric energy quantity information which is wheel charging quantity information when the current charging mode is a wheel charging mode;
the wheel charging energy obtaining sub-module is used for obtaining the electric energy corresponding to the first target charging gun determined based on the second electric energy monitoring equipment as the target electric energy according to the wheel charging metering information, the first electric energy, the second electric energy and the third electric energy; the first target charging gun is a charging gun which is charged independently in the wheel charging mode.
In one embodiment, the energy metering data deriving module 604 includes:
the charging sub-module is used for obtaining target electric energy quantity information and charging quantity information under the condition that the current charging mode is a charging mode;
the charging energy obtaining sub-module is used for obtaining electric energy corresponding to a second target charging gun determined based on the second electric energy monitoring equipment according to the parallel charging information, the first electric energy, the second electric energy and the third electric energy and taking the electric energy as the target electric energy; the second target charging gun is a charging gun integrating and charging in the parallel charging mode.
In one embodiment, the apparatus further comprises:
and the mode switching module after the charging is finished is used for sending the electric energy amount measurement data corresponding to the current charging task to the electric power statistics platform, and switching the current charging mode of the charging pile into a uniform charging mode so as to start the next charging task.
The respective modules in the above-described charging pile power measuring device may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of metering the electrical energy of a charging pile.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
responding to a charging starting operation aiming at the current charging task, and determining target electric energy metering information according to the current charging mode of the charging pile; each charging gun in the charging pile is provided with corresponding first electric energy monitoring equipment and second electric energy monitoring equipment;
acquiring initial electric energy data corresponding to the charging guns at the charging initial time; the starting electrical energy data includes a first electrical energy determined based on the first electrical energy monitoring device and a second electrical energy determined based on the second electrical energy monitoring device;
when the charging pile is detected to be charged, acquiring end electric energy data corresponding to each charging gun at the charging end time; the ending electrical energy data includes a third electrical energy determined based on the first electrical energy monitoring device;
And combining the first electric energy, the second electric energy and the third electric energy, and obtaining target electric energy based on the second electric energy monitoring equipment according to the target electric energy metering information, wherein the target electric energy is used as electric energy metering data corresponding to the current charging task.
In one embodiment, the processor, when executing the computer program, further implements the steps of the electric energy metering method for charging piles in the other embodiments described above.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
responding to a charging starting operation aiming at the current charging task, and determining target electric energy metering information according to the current charging mode of the charging pile; each charging gun in the charging pile is provided with corresponding first electric energy monitoring equipment and second electric energy monitoring equipment;
acquiring initial electric energy data corresponding to the charging guns at the charging initial time; the starting electrical energy data includes a first electrical energy determined based on the first electrical energy monitoring device and a second electrical energy determined based on the second electrical energy monitoring device;
When the charging pile is detected to be charged, acquiring end electric energy data corresponding to each charging gun at the charging end time; the ending electrical energy data includes a third electrical energy determined based on the first electrical energy monitoring device;
and combining the first electric energy, the second electric energy and the third electric energy, and obtaining target electric energy based on the second electric energy monitoring equipment according to the target electric energy metering information, wherein the target electric energy is used as electric energy metering data corresponding to the current charging task.
In one embodiment, the computer program when executed by the processor also implements the steps of the charging pile electric energy metering method in the other embodiments described above.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
responding to a charging starting operation aiming at the current charging task, and determining target electric energy metering information according to the current charging mode of the charging pile; each charging gun in the charging pile is provided with corresponding first electric energy monitoring equipment and second electric energy monitoring equipment;
acquiring initial electric energy data corresponding to the charging guns at the charging initial time; the starting electrical energy data includes a first electrical energy determined based on the first electrical energy monitoring device and a second electrical energy determined based on the second electrical energy monitoring device;
When the charging pile is detected to be charged, acquiring end electric energy data corresponding to each charging gun at the charging end time; the ending electrical energy data includes a third electrical energy determined based on the first electrical energy monitoring device;
and combining the first electric energy, the second electric energy and the third electric energy, and obtaining target electric energy based on the second electric energy monitoring equipment according to the target electric energy metering information, wherein the target electric energy is used as electric energy metering data corresponding to the current charging task.
In one embodiment, the computer program when executed by the processor also implements the steps of the charging pile electric energy metering method in the other embodiments described above.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (MagnetoresistiveRandom Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can take many forms, such as static Random access memory (Static Random Access Memory, SRAM) or Dynamic Random access memory (Dynamic Random AccessMemory, DRAM), among others. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.