Disclosure of Invention
In view of the above, it is necessary to provide a charging pile electric energy metering method, an apparatus, a computer device, a storage medium and a computer program product, which can solve the above problems.
In a first aspect, the present application provides a charging pile electric energy metering method, including:
in response to a charging starting operation aiming at the charging task, determining target electric energy metering information according to a current charging mode of a 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 each charging gun at a charging initial time; the starting electrical energy data comprises a first electrical energy determined on the basis of the first electrical energy monitoring device and a second electrical energy determined on the basis of the second electrical energy monitoring device;
when the charging of the charging pile is detected to be finished, obtaining finishing electric energy data corresponding to the charging guns at the charging finishing time; said ending electrical energy data comprises a third electrical energy determined based on said first electrical energy monitoring device;
and combining the first electric energy, the second electric energy and the third electric energy, and according to the target electric energy metering information, obtaining a target electric energy based on the second electric energy monitoring device as electric energy metering data corresponding to the charging task.
In one embodiment, the method further comprises:
and in the insulation detection and pre-charging process of the charging pile, acquiring periodic monitoring data corresponding to each charging gun, and sending each periodic monitoring data to a 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, said obtaining the target electric energy based on the second electric energy monitoring device in accordance with the target electric energy measurement information in combination with the first electric energy, the second electric energy, and the third electric energy, comprises:
under the condition that the current charging mode is an equalizing charging mode, the target electric energy metering information is equalizing charging metering information;
according to the average charging amount information, obtaining the electric energy corresponding to each charging gun determined by the second electric energy monitoring device according to the first electric energy, the second electric energy and the third electric energy, and using the electric energy as the target electric energy.
In one embodiment, said obtaining, in combination with said first electric energy, said second electric energy, and said third electric energy, a target electric energy based on said second electric energy monitoring apparatus in accordance with said target electric energy metering information includes:
under the condition that the current charging mode is a wheel charging mode, the target electric energy metering information is wheel charging metering information;
according to the wheel charging metering information, obtaining the electric energy corresponding to the first target charging gun determined based on the second electric energy monitoring device according to the first electric energy, the second electric energy and the third electric energy, and using the electric energy as the target electric energy; the first target charging gun is a charging gun that is charged separately in the wheel charging mode.
In one embodiment, said obtaining, in combination with said first electric energy, said second electric energy, and said third electric energy, a target electric energy based on said second electric energy monitoring apparatus in accordance with said target electric energy metering information includes:
under the condition that the current charging mode is a parallel charging mode, the target electric energy metering information is parallel charging metering 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 by the second electric energy monitoring equipment as the target electric energy; the second target charging gun is a charging gun which is accumulated and charged in the parallel charging mode.
In one embodiment, the method further comprises:
and sending the electric energy metering data corresponding to the charging task to an electric power statistics platform, and switching the current charging mode of the charging pile into an equalizing charging mode for starting the next charging task.
In a second aspect, the present application further provides a charging pile electric energy metering device, the device includes:
the electric energy metering information determining module is used for responding to the charging starting operation aiming at the 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 starting electric energy data acquisition module is used for acquiring corresponding starting electric energy data of each charging gun at the charging starting time; the starting electrical energy data comprises 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 end electric energy data acquisition module is used for acquiring end electric energy data corresponding to each charging gun at the charging end time when the charging end of the charging pile is detected; the ending electrical energy data comprises a third electrical energy determined based on the first electrical energy monitoring device;
and the electric energy metering data obtaining module is used for combining the first electric energy, the second electric energy and the third electric energy, and obtaining a target electric energy based on the second electric energy monitoring equipment according to the target electric energy metering information, and the target electric energy is used as the electric energy metering data corresponding to the charging task.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the charging pile electric energy metering method when executing the computer program.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the charging pile electric energy amount measuring method as described above.
In a fifth aspect, the present application further 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 power metering method as described above.
According to the charging pile electric energy metering method, the charging pile electric energy metering device, the computer device, the storage medium and the computer program product, target electric energy metering information is determined according to a current charging mode of the charging pile through responding to a charging starting operation aiming at a charging task, each charging gun in the charging pile is provided with the corresponding first electric energy monitoring device and the corresponding second electric energy monitoring device, then starting electric energy data corresponding to each charging gun at the charging starting time are obtained, the starting electric energy data comprise a first electric energy determined based on the first electric energy monitoring device and a second electric energy determined based on the second electric energy monitoring device, when the charging end of the charging pile is detected, ending electric energy data corresponding to each charging gun at the charging ending time are obtained, the ending electric energy data comprise a third electric energy determined based on the first electric energy monitoring device, the first electric energy, the second electric energy and the third electric energy are combined, the target electric energy based on the second electric energy monitoring device is obtained according to the target electric energy metering information, the target electric energy based on the second electric energy monitoring device is obtained, the electric energy metering data corresponding to the charging task are optimized, and the charging efficiency of the charging pile can be improved according to the different electric energy metering data.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in this 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 entrance for the user to select authorization or to select denial.
For the direct current charging pile for metering and counting the alternating current electric quantity by using the alternating current electric meter, the traditional method is to allocate an independent alternating current electric meter for each charging gun to meter the alternating current electric quantity consumed by charging of each charging gun, when the charging gun adopts a wheel charging mode or a parallel charging mode to charge, because the charging gun A which is in charging use occupies two alternating current electric meters corresponding to the charging gun A and the charging gun B independently to meter the alternating current electric quantity, when the electric energy reading of the alternating current electric meter corresponding to the double guns is directly uploaded to a platform to be displayed, the difference value of the electric energy reading of the electric meter before and after the charging of the charging gun A is inconsistent with the electric quantity of the charging, and if the electric quantity of the charging gun A is superposed with the electric quantity of the alternating current electric meter corresponding to the charging gun B, the platform can display that the electric energy reading of the charging gun B is abnormally increased under the condition that the electric energy is consumed by the charging gun B without charging operation.
For example, as shown in fig. 1, if the electric energy readings of the ac meter a and the ac meter B before charging are respectively Wa1 and Wb1, in the case of turning on the round charging or parallel charging mode, the electric energy readings of the ac meter a and the ac meter B after charging are respectively Wa2 and Wb2, and the charging electric quantity of the charging gun at this time is Q = Qa + Qb, wherein the electric quantity Qa = Wa2-Wa1 of the ac meter a and the electric quantity Qb = Wb2-Wb1 of the ac meter B, since the ac charging information transmitted to the charging gun a and the charging gun B of the platform by the dc charging pile is respectively obtained from the ac meter a and the ac meter B and corresponds to each other, the ac charging electric quantity displayed on the platform by the charging gun a is Q, the ac meter readings before and after charging are respectively Wb1 and Wb2, while Wb2-Wb1= Qa ≠ Q (= Qa + Qb), it may be caused by the charging gun on the platform, and it may not be able to directly determine whether the charging information displayed on the charging gun by the charging gun before and after the charging, and the charging gun reading is directly known by the difference value of the charging gun. Similar drawbacks exist for the platform charging information display of the charging gun B, where the charging gun B is not charging this time, the electric energy reading of its corresponding electric meter jumps from Wb1 to Wb2 (Wb 2-Wb1= Qb ≠ 0). By adopting the traditional method, the accuracy of calculating the electric quantity of the alternating current electric meter corresponding to the single-time charging double-gun cannot be ensured, and the continuity of transmitting the electric energy reading of the electric meter corresponding to the double-gun charging to the platform for displaying is also not provided, so that the platform cannot directly know and judge the charging details through the electric meter reading.
In an embodiment, as shown in fig. 2, a charging pile electric energy amount measuring method is provided, and this embodiment is illustrated by applying the method to a terminal, such as 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 is implemented by interaction between the terminal and the server. In this embodiment, the method includes the steps of:
step 201, in response to a charging starting operation aiming at the current charging task, determining target electric energy metering information according to a current charging mode of a 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 dc charging pile system corresponding to the charging pile may be configured with at least two charging guns, as shown in fig. 3, and for each charging gun, an ac electric meter (i.e., a first electric energy monitoring device) and an ac virtual electric meter (i.e., a second electric energy monitoring device) may be configured, and the ac virtual electric meter may be used to measure and accumulate the ac electric quantity consumed by charging of the corresponding charging gun.
As an example, the charging mode may include an equalizing charging mode, a wheel charging mode, a parallel charging mode, and the like, and may also be other charging modes, which is not particularly limited in this embodiment; the electric energy calculation mode of the alternating current virtual electric meter, namely the target electric energy metering information can be switched according to different charging modes.
In practical application, under the condition that a charging gun of the charging pile is connected with a charging object, if a user inserts the charging gun into a vehicle charging interface, charging is started by selecting charging modes such as card swiping, code scanning and VIN (vehicle identification number), namely, the charging starting operation aiming at the charging task at this time is responded, and then the charging pile can switch the electric energy calculation mode of the alternating current virtual electric meter by judging charging modes such as uniform charging, round charging and parallel charging (namely, the current charging mode), namely, the target electric energy metering information is determined.
Step 202, obtaining starting electric energy data corresponding to each charging gun at a charging starting time; the starting electrical energy data comprises 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, the electric energy reading of the electric meter before one-time charging can be recorded based on the alternating current meter and the alternating current virtual electric meter corresponding to each charging gun, so that a first electric energy determined based on the first electric energy monitoring device and a second electric energy determined based on the second electric energy monitoring device are obtained and serve as starting electric energy data corresponding to each charging gun at the charging starting time, and the starting electric energy data can be transmitted to the electric power statistics platform for displaying through network communication.
Step 203, when the charging end of the charging pile is detected, acquiring end electric energy data corresponding to the charging gun at the charging end time; said ending electrical energy data comprises a third electrical energy determined based on said 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 device is obtained and used as the end electric energy data corresponding to each charging gun at the charging end time.
And step 204, combining the first electric energy, the second electric energy and the third electric energy, and according to the target electric energy metering information, obtaining a target electric energy based on the second electric energy monitoring device as electric energy metering data corresponding to the charging task.
After the initial electric energy data and the ending electric energy data are obtained, the target electric energy based on the second electric energy monitoring device can be obtained according to the target electric energy metering information by combining the first electric energy and the second electric energy in the initial electric energy data and the third electric energy in the ending electric energy data, and the target electric energy is used as electric energy metering data corresponding to the charging task, if the electric energy reading of the alternating current virtual electric meter after the charging is finished can be obtained, the electric energy reading of the electric meter after the charging is used.
Specifically, by using an alternating current meter and an alternating current virtual meter (i.e. a first electric energy monitoring device and a second electric energy monitoring device), in the charging process from the moment of starting charging to the moment of finishing charging, the charging alternating current 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 alternating current virtual meter can be obtained and used as the electric energy reading (i.e. the electric energy metering data) of the charged meter 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, taking the charging ac electric quantity of the charging gun corresponding to each ac virtual electric meter as an accumulation factor, the sum of the current charging electric quantities of the ac electric meter a and the ac electric meter B when power is distributed to any charging gun in the wheel charging mode or the parallel charging mode, or the current charging electric quantity measured for the ac electric meter a corresponding to the charging gun a and the current charging 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' in the uniform charging mode, as shown in fig. 3, after the charging pile completes charging, the electric energy amounts accumulated by each ac virtual electric meter a 'and each ac virtual electric meter B' may be used as a platform to display the electric energy reading of the ac electric meter.
In still another example, based on the ac virtual meter, the amount of ac power consumed by charging the charging gun may be accumulated, so that the manner of metering the electric energy amount as a normal meter may be realized, for example, an individual amount of power per charging of the ac meter a (or the ac meter B) may be obtained (e.g., in a uniform charging mode), or a sum of amounts of power per charging of the ac meter a and the ac meter B may be obtained (e.g., in a round charging mode or a parallel charging mode).
The charging alternating current quantity of the corresponding charging gun is accumulated by the alternating current virtual electric meter, and data are not directly obtained from the alternating current electric meter corresponding to each charging gun, so that the phenomenon that the electric energy reading of the alternating current electric meter displayed by a platform corresponding to the uncharged charging gun is abnormally increased or the situations of less metering and missing metering caused by that a charging user singly occupies the charging power resource of the whole charging pile can be avoided, the electric energy reading of the alternating current electric meter displayed by the platform has the continuity characteristic of normal electric energy increment of the electric meter, the charged total electric quantity can be determined by using the statistical data of the corresponding charging gun from the present, and the difference of the numerical values of the electric energy reading of the alternating current electric meter displayed by the platform before and after charging is consistent with the electric quantity consumed by the current charging.
Compared with the traditional method, according to the technical scheme of the embodiment, the electric energy can be counted by accumulating the electric quantity of the corresponding charging gun in each charging in a mode of the alternating current virtual electric meter, so that the electric energy reading of the alternating current electric meter displayed by the platform has the characteristic of continuity, and the effect that the electric energy reading of the electric meter is the total charged electric quantity of the charging gun corresponding to the electric meter is achieved; meanwhile, the difference between the values of the electric energy reading of the alternating current meter of the platform before and after each charging is also 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 charging pile electric energy metering method, target electric energy metering information is determined according to a current charging mode of a charging pile in response to a charging starting operation aiming at a charging task, then starting electric energy data corresponding to each charging gun at a charging starting time is obtained, and ending electric energy data corresponding to each charging gun at a charging ending time is obtained when the charging pile is detected to be charged, so that the target electric energy based on second electric energy monitoring equipment is obtained according to the target electric energy metering information by combining a first electric energy, a second electric energy and a third electric energy, and is used as electric energy metering data corresponding to the charging task, the electric energy metering optimization of the charging pile is realized, the electric energy metering data corresponding to the charging task can be determined according to the electric energy data obtained by different monitoring equipment based on different charging modes, the electric energy metering accuracy can be improved, and the charging pile charging efficiency of the electric energy metering device is improved.
In one embodiment, the method may further include the steps of:
in the insulation detection and pre-charging process of the charging pile, obtaining periodic monitoring data corresponding to each charging gun, and sending each periodic monitoring data to an electric power statistics platform.
In practical application, can fill electric pile and carry out insulation detection and preliminary filling stage, through the alternating current side charging data of the electric pile of the periodic monitoring of the virtual ammeter of alternating current to obtain the periodic monitoring data that each rifle that charges corresponds, and can be with each periodic monitoring data through network communication transmission to platform demonstration.
In the embodiment, in the process of insulation detection and pre-charging of the charging pile, the periodic monitoring data corresponding to each charging gun is acquired, and each periodic monitoring data is sent to the electric power statistics platform, so that data support is provided for electric energy measurement of the charging pile.
In one embodiment, the method may further include 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 gradually increases, and the electric energy can be transmitted to the platform for display periodically in real time.
In the embodiment, when a charging mode change event is detected in the charging process of the charging pile, the changed charging mode of the charging pile is determined according to the mode change information corresponding to the charging mode change event, and then the electric energy metering information corresponding to the changed charging mode is used as the target electric energy metering information, so that the electric energy calculation mode of the alternating current virtual electric meter can be flexibly adjusted based on the switching of the charging mode.
In one embodiment, said obtaining the target electric energy based on said second electric energy monitoring device in accordance with said target electric energy metering information in combination with said first electric energy, said second electric energy, and said third electric energy may comprise the steps of:
under the condition that the current charging mode is an equalizing charging mode, the target electric energy metering information is equalizing charging metering information; according to the average charging amount information, obtaining the electric energy corresponding to each charging gun determined by the second electric energy monitoring device according to the first electric energy, the second electric energy and the third electric energy, and using the electric energy as the target electric energy.
In a specific implementation, for the charge balancing mode, for example, in the double-gun charge balancing mode of the charging pile, when charging is started, the readings (i.e., first electric energy) of the electric energy of the ac electric meter a and the ac electric meter B, such as Wa1 and Wb1, and the readings (i.e., second electric energy) of the electric energy of the ac virtual electric meter a 'and the ac virtual electric meter B', such as Wa '1 and Wb'1, may be recorded by the charging pile charging metering system; during the charging process, the corresponding electric energy readings, such as Wa2 and Wb2, of the ac electric meter a and the ac electric meter B can be read in real time, or after the charging process is finished, the corresponding electric energy readings (i.e., third electric energy) of the ac electric meter a and the ac electric meter B, such as Wa2 and Wb2, can be recorded again.
For example, before the charging is started, the electric energy readings of the ac electric meter a and the ac electric meter B are Wa1 and Wb1, respectively, the electric energy readings of the ac virtual electric meter a 'and the ac virtual electric meter B' are Wa '1 and Wb'1, respectively, after the charging is finished, the electric energy readings of the ac electric meter a and the ac electric meter B are Wa2 and Wb2, respectively, the electric energy readings of the ac virtual electric meter a 'and the ac virtual electric meter B' are Wa '2 and Wb'2, respectively, the amounts of electricity determined based on the ac electric meter a and the ac electric meter B are Qa = Wa2-Wa1 and Qb = Wb2-Wb1, respectively, and the amounts of electricity 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 modes (i.e., the average charging metering information) of the charging pile charging metering system in the average charging mode are the electric quantities respectively metered by the ac virtual electric meter a 'and the ac virtual electric meter B', the electric quantities respectively of the ac electric meter a and the ac electric meter B, and the respective charging electric quantities respectively consumed by the charging gun a and the charging gun B in the current charging, which can be expressed as follows:
Qa’(=Wa’2-Wa’1)=Qa(=Wa2-Wa1)
Qb’(=Wb’2-Wb’1)= Qb(=Wb2-Wb1)
from the above formula, 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 ', and further, the real-time electric quantity or the total electric quantity Qa ', qb ' corresponding to each charging gun in the charging task measured by the two-gun ac virtual electric meter, and the real-time electric energy readings of the ac virtual electric meter during charging or the electric energy readings Wa '2, wb '2 of the ac virtual electric meter after charging (i.e., the electric energy corresponding to each charging gun) can be uploaded to the platform display.
In this embodiment, when the current charging mode is the uniform charging mode, the target electric energy measurement information is the uniform charging measurement information, and the electric energy corresponding to each charging gun determined by the second electric energy monitoring device is obtained as the target electric energy from the first electric energy, the second electric energy, and the third electric energy according to the uniform charging measurement information, so that accurate electric energy measurement can be performed in the uniform charging mode.
In one embodiment, the obtaining of the target electric energy based on the second electric energy monitoring apparatus in accordance with the target electric energy metering information in combination with the first electric energy, the second electric energy, and the third electric energy may include:
under the condition that the current charging mode is a wheel charging mode, the target electric energy metering information is wheel charging metering information; according to the wheel charging metering information, obtaining the electric energy corresponding to the first target charging gun determined based on the second electric energy monitoring device according to the first electric energy, the second electric energy and the third electric energy, and using the electric energy as the target electric energy; the first target charging gun is a charging gun that is charged separately 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) to charge alone, when charging is started, the charging pile charging metering system may record readings of electric energies of ac electric meter a and ac electric meter B (i.e., a first electric energy), and record readings of electric energies of ac virtual electric meter a 'and ac virtual electric meter B' (i.e., a second electric energy).
For example, before the charging is started, the electric energy readings of the ac electric meter a and the ac electric meter B are Wa1 and Wb1, respectively, the electric energy readings of the ac virtual electric meter a 'and the ac virtual electric meter B' are Wa '1 and Wb'1, respectively, after the charging is finished, the electric energy readings of the ac electric meter a and the ac electric meter B are Wa2 and Wb2, respectively, the electric energy readings of the ac virtual electric meter a 'and the ac virtual electric meter B' are Wa '2 and Wb'2, respectively, the amounts of electricity determined based on the ac electric meter a and the ac electric meter B are Qa = Wa2-Wa1 and Qb = Wb2-Wb1, respectively, and the amounts of electricity 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 amount of electricity measured by the ac virtual meter a' is the sum of the amounts of electricity of the ac meter a and the ac meter B, and also is the amount of electricity charged by the charging gun a after power module resources of the entire charging pile are allocated to the charging gun a based on the dc charging pile, which may be represented as follows:
Qa’(=Wa’2-Wa’1)=Qa(=Wa2-Wa1)+Qb(=Wb2-Wb1)
because the charging gun B is in an idle state, the charging gun B is used for counting the charging amount Qb ' = Wb '2-Wb '1=0 of the ac virtual electric meter corresponding to the charging amount of the charging gun B.
The reading of the electric energy of the ac virtual electric meter a 'during or after charging is Wa'2= Wa '1+ Qa' = Wa '1+ Qa + Qb, and the real-time electric quantity of the ac virtual electric meter during or after charging or the total electric quantity Qa' of the ac virtual electric meter after charging, which is measured by the ac virtual electric meter corresponding to the charging gun a, and the real-time reading of the electric energy of the ac virtual electric meter during or after charging (i.e., the electric energy corresponding to the first target charging gun) may be uploaded to the platform for display.
In this embodiment, when the current charging mode is the wheel charging mode, the target electric energy measurement information is the wheel charging measurement information, and the electric energy corresponding to the first target charging gun determined by the second electric energy monitoring device is obtained as the target electric energy from the first electric energy, the second electric energy, and the third electric energy according to the wheel charging measurement information, whereby accurate electric energy measurement can be performed in the wheel charging mode.
In one embodiment, the obtaining of the target electric energy based on the second electric energy monitoring apparatus in accordance with the target electric energy metering information in combination with the first electric energy, the second electric energy, and the third electric energy may include:
under the condition that the current charging mode is a parallel charging mode, the target electric energy metering information is parallel charging metering 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 by the second electric energy monitoring equipment as the target electric energy; the second target charging gun is a charging gun that accumulates and charges in the parallel charging mode.
In an example, for the parallel charging mode, for example, in the dual-gun parallel charging mode of the charging pile, the charging gun a and the charging gun B are used together to charge the same vehicle, the charging amount of this parallel charging is accumulated on the charging gun a (i.e., the second target charging gun), when the charging pile is turned on, the readings of the electric energy of the ac electric meter a and the ac electric meter B (i.e., the first electric energy) and the readings of the electric energy of the ac virtual electric meter a 'and the ac virtual electric meter B' (i.e., the second electric energy) may be recorded once by the charging metering system of the charging pile, during the charging process, the readings of the electric energy corresponding to the ac electric meter a and the ac electric meter B may be read in real time, and after the charging process is finished, the readings of the electric energy corresponding to the ac electric meter a and the ac electric energy corresponding to the ac electric meter B (i.e., the third electric energy) may be recorded once again.
Specifically, before the charging is started, the electric energy readings of the ac electric meter a and the ac electric meter B are Wa1 and Wb1, respectively, the electric energy readings of the ac virtual electric meter a 'and the ac virtual electric meter B' are Wa '1 and Wb'1, respectively, after the charging is finished, the electric energy readings of the ac electric meter a and the ac electric meter B are Wa2 and Wb2, respectively, the electric energy readings of the ac virtual electric meter a 'and the ac virtual electric meter B' are Wa '2 and Wb'2, respectively, then the amounts of electricity determined based on the ac electric meter a and the ac electric meter B are Qa = Wa2-Wa1 and Qb = Wb2-Wb1, respectively, and the amounts of electricity 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 another example, as shown in fig. 4c, 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 sum of the electric quantities consumed by the charging gun a and the charging gun B in the current charging task, and can be represented 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 ac virtual electric meter a ' during or after charging is Wa '2= Wa '1+ Qa ' = Wa '1+ Qa + Qb, and the real-time electric quantity or the total electric quantity Qa ' after charging measured by the ac virtual electric meter corresponding to the charging gun a, and the real-time reading of the electric energy of the ac virtual electric meter during charging or the electric energy reading Wa '2 of the ac virtual electric meter after charging (i.e. 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 measurement information is the parallel charging measurement information, and the 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 from the first electric energy, the second electric energy, and the third electric energy according to the parallel charging measurement information, whereby accurate electric energy measurement can be performed in the parallel charging mode.
In one embodiment, the method may further include the steps of:
and sending the electric energy metering data corresponding to the charging task to an electric power statistics platform, and switching the current charging mode of the charging pile into an equalizing charging mode for starting the next charging task.
In practical application, an alternating current meter and an alternating current virtual meter are adopted, in the charging process from the charging start time to the charging end time, the first frame of meter data is read, the charging alternating current side data of the charging pile is periodically monitored, after the charging pile finishes charging, the electric energy reading of the alternating current virtual meter can be obtained and is used as the electric energy reading (namely electric energy metering data) of the charged meter to be transmitted to a platform, and the electric energy computing mode of the alternating current virtual meter can be switched to an equalizing charging mode to wait for the next charging start.
In this embodiment, the electric energy metering data corresponding to the 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, so that the next charging task is started, the electric energy metering accuracy can be improved, and the electric energy metering efficiency of the charging pile is improved.
In one embodiment, as shown in fig. 5, a schematic flow chart of another charging pile electric energy metering method is provided. In this embodiment, the method includes the steps of:
in step 501, in response to a charge starting operation for the current charging task, target electric energy metering information is determined according to a current charging mode of a charging pile. In step 502, the start electric energy data corresponding to the charge start time of each charge gun is obtained. In step 503, in the charging process of the charging pile, when a charging mode change event is detected, a changed charging mode of the charging pile is determined according to mode change information corresponding to the charging mode change event. In step 504, the electric energy measurement information corresponding to the changed charging mode is set as the target electric energy measurement information. In step 505, when the charging end of the charging pile is detected, the end electric energy data corresponding to the charging end time of each charging gun is obtained. In step 506, the target electric energy based on the second electric energy monitoring device is obtained as the electric energy measurement data corresponding to the current charging task according to the target electric energy measurement information by combining the first electric energy, the second electric energy, and the third electric energy. In step 507, the electric energy measurement data corresponding to the 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, for the specific limitations of the above steps, reference may be made to the specific limitations of the charging pile electric energy metering method, and details are not repeated herein.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
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 scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the method, so that specific limitations in one or more embodiments of the charging pile electric energy metering device provided below can be referred to the limitations on the charging pile electric energy metering method in the foregoing, and details are not repeated herein.
In one embodiment, as shown in fig. 6, there is provided a charging pile electric energy metering device, including:
the electric energy metering information determining module 601 is configured to determine, in response to a charge starting operation for the current charging task, target electric energy metering 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;
a starting electric energy data obtaining module 602, configured to obtain starting electric energy data corresponding to a charging starting time of each charging gun; the starting electrical energy data comprises 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 a charging ending time of each charging gun when it is detected that charging of the charging pile is ended; said ending electrical energy data comprises a third electrical energy determined based on said first electrical energy monitoring device;
an electric energy measurement data obtaining module 604, configured to obtain, according to the target electric energy measurement information, a target electric energy based on the second electric energy monitoring device by combining the first electric energy, the second electric energy, and the third electric energy, and use the target electric energy as the electric energy measurement 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 processes of the charging pile and transmitting each periodic monitoring data to the power statistics platform.
In one embodiment, the apparatus further comprises:
the charging system comprises a charging pile, a mode changing module and a charging management module, wherein the charging pile is used for charging a 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 electric energy metering data obtaining module 604 includes:
the equalizing charge sub-module is used for taking the target electric energy metering information as equalizing charge metering information under the condition that the current charging mode is the equalizing charge mode;
and the average charging energy obtaining submodule is used for obtaining the electric energy corresponding to each charging gun determined by the second electric energy monitoring equipment according to the average charging metering information and the first electric energy, the second electric energy and the third electric energy, and the electric energy is used as the target electric energy.
In one embodiment, the electric energy metering data obtaining module 604 includes:
the round charging sub-module is used for taking the target electric energy metering information as the round charging metering information under the condition that the current charging mode is the round charging mode;
the round charging energy obtaining submodule is used for obtaining the electric energy corresponding to the first target charging gun determined by the second electric energy monitoring device according to the round charging metering information, the first electric energy, the second electric energy and the third electric energy, and using the electric energy as the target electric energy; the first target charging gun is a charging gun that is charged separately in the wheel charging mode.
In one embodiment, the electric energy metering data obtaining module 604 comprises:
the parallel charging module is used for taking the target electric energy metering information as parallel charging metering information under the condition that the current charging mode is a parallel charging mode;
the charging energy obtaining submodule is used for obtaining electric energy corresponding to a second target charging gun determined by the second electric energy monitoring equipment according to the first electric energy, the second electric energy and the third electric energy as the target electric energy according to the charging measurement information; the second target charging gun is a charging gun which is accumulated and charged in the parallel charging mode.
In one embodiment, the apparatus further comprises:
and the mode switching module after charging is finished is used for sending the electric energy metering data corresponding to the charging task to an electric power statistics platform and switching the current charging mode of the charging pile into an equalizing charging mode so as to start the next charging task.
All modules in the charging pile electric energy metering device can be completely or partially realized through software, hardware and a combination of the software and the hardware. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram 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 comprises a nonvolatile 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 an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication 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 charging pile electric energy metering method.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those 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 a computer program stored therein, the processor implementing the following steps when executing the computer program:
in response to a charging starting operation aiming at the current charging task, determining target electric energy metering information according to a current charging mode of a 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 each charging gun at a charging initial time; the starting electrical energy data comprises 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 of the charging pile is detected to be finished, obtaining finishing electric energy data corresponding to the charging guns at the charging finishing time; the ending electrical energy data comprises 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 a target electric energy based on the second electric energy monitoring device according to the target electric energy metering information, wherein the target electric energy is used as electric energy metering data corresponding to the charging task.
In one embodiment, the processor executes the computer program to implement the steps of the charging pile electric energy metering method in the other embodiments.
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:
in response to a charging starting operation aiming at the current charging task, determining target electric energy metering information according to a current charging mode of a 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 starting electric energy data corresponding to each charging gun at the starting moment of charging; the starting electrical energy data comprises 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 of the charging pile is detected to be finished, obtaining finishing electric energy data corresponding to the charging guns at the charging finishing time; the ending electrical energy data comprises 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 a target electric energy based on the second electric energy monitoring device according to the target electric energy metering information, wherein the target electric energy is used as electric energy metering data corresponding to the charging task.
In one embodiment, the computer program, when executed by the processor, further implements the steps of the charging pile power 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:
in response to a charging starting operation aiming at the charging task, determining target electric energy metering information according to a current charging mode of a 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 each charging gun at a charging initial time; the starting electrical energy data comprises a first electrical energy determined on the basis of the first electrical energy monitoring device and a second electrical energy determined on the basis of the second electrical energy monitoring device;
when the charging of the charging pile is detected to be finished, obtaining finishing electric energy data corresponding to the charging guns at the charging finishing time; the ending electrical energy data comprises 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 a target electric energy based on the second electric energy monitoring device according to the target electric energy metering information, wherein the target electric energy is used as electric energy metering data corresponding to the charging task.
In one embodiment, the computer program, when executed by the processor, further implements the steps of the charging pile power metering method in the other embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the 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 (MRAM), ferroelectric Random Access Memory (FRAM), phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain 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 devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.