Method, apparatus, and electronic device for determining charging power
By dividing the output voltage and output current of the charging pile, the instantaneous charging power of the charging pile is determined, which solves the problem that the charging power cannot be measured dynamically in real time in the prior art, and realizes dynamic measurement and accurate power acquisition of the charging pile.
Patent Information
- Application Number
- CN202210761615.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2042-06-30
AI Technical Summary
The prior art cannot dynamically measure the charging power of the charging pile in real time, cannot obtain the instantaneous charging power of the charging pile, and cannot achieve true dynamic measurement.
By obtaining the output voltage and output current of the charging pile and dividing them at preset time intervals, the target output voltage and target output current are obtained, and the instantaneous charging power of the charging pile is determined based on these values.
Dynamic measurement of charging piles is realized, instantaneous charging power of charging piles can be accurately obtained, and technical problems that cannot be measured dynamically in real time are solved.
Smart Images

Figure CN115453192B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electric power, and more particularly, to a method, apparatus, and electronic device for determining charging power. Background Art
[0002] With the development of technology, in recent years, technologies related to electric vehicles have become increasingly mature, and electric vehicles have been widely used due to their various advantages. Electric vehicle chargers have become a new field of infrastructure, so the scale of chargers will increase significantly. In addition to electric vehicles, many items also require higher-efficiency and measurable charging power. In order to scientifically increase the charging power of electric vehicle chargers, etc., reduce power consumption, and reduce investment, the requirements for DC power metering are getting higher and higher. It is necessary to precisely measure the dynamic DC charging power. DC power metering will be one of the future trends.
[0003] Currently, DC energy meters for chargers can perform dynamic current sampling and voltage sampling, but the average value method is generally used to measure power. For ideal DC signals, the charging power measured by the average value method and the instantaneous charging power are both accurate and consistent. However, in actual situations, since the DC of charging will inevitably have ripples, the charging power measured by the average value method cannot reflect the influence of ripples on DC charging. That is, when calculating power, the instantaneous charging power of the charger cannot be obtained, and the true dynamic measurement of charging power cannot be achieved.
[0004] In view of the above problems, no effective solution has been proposed yet. Summary of the Invention
[0005] Embodiments of the present application provide a method, apparatus, and electronic device for determining charging power to at least solve the technical problem in the related art that the charging power of a charger cannot be measured in real time and dynamically.
[0006] According to one aspect of the embodiments of the present application, a method for determining charging power is provided, including: obtaining the output voltage and output current of a charger; dividing the output voltage and output current at a preset time interval respectively to obtain a target output voltage and a target output current; and determining the instantaneous charging power of the charger based on the target output voltage and the target output current.
[0007] Optionally, after obtaining the output voltage and output current of the charger, the method further includes: obtaining the first voltage and first current required by the device to be charged; adjusting the output voltage to the first voltage; and adjusting the output current to the first current.
[0008] Optionally, adjusting the output voltage to the first voltage includes: determining a first adjustment ratio corresponding to the output voltage based on the first voltage and the output voltage; and outputting the first voltage after adjusting the output voltage according to the first adjustment ratio.
[0009] Optionally, adjusting the output current to a first current includes: determining a second adjustment ratio corresponding to the output current according to the first current and the output current; after adjusting the output current according to the second adjustment ratio, outputting the first current.
[0010] Optionally, before dividing the output voltage and the output current at a preset time interval respectively, the method further includes: detecting whether the output current changes within a preset duration; in the case where the output current changes, dividing the output voltage and the output current at the preset time interval respectively.
[0011] Optionally, the method further includes: in the case where the output current does not change, determining the instantaneous charging power of the charging pile according to the output voltage and the output current.
[0012] Optionally, dividing the output voltage and the output current at a preset time interval respectively includes: determining a first acquisition time interval of the output voltage and determining a second acquisition time interval of the output current; in the case where the first acquisition time interval is greater than the preset time interval, dividing the first voltage according to the preset time interval to obtain a target output voltage; in the case where the second acquisition time interval is greater than the preset time interval, dividing the first current according to the preset time interval to obtain a target output current.
[0013] Optionally, determining the instantaneous charging power of the charging pile includes: inputting the target output voltage and the target output current into a multiplication simulator for multiplication operation to obtain the instantaneous charging power of the charging pile, where the multiplication simulator is used for multiplication operation of different input values.
[0014] According to another aspect of the embodiments of the present application, there is also provided a device for determining charging power, including: an acquisition module, configured to acquire the output voltage and the output current of the charging pile; a division module, configured to divide the output voltage and the output current at a preset time interval respectively to obtain a target output voltage and a target output current; a determination module, configured to determine the instantaneous charging power of the charging pile according to the target output voltage and the target output current.
[0015] According to still another aspect of the embodiments of the present application, there is also provided an electronic device, including: a memory, configured to store program instructions; a processor, connected to the memory, configured to execute program instructions for implementing the following functions: acquiring the output voltage and the output current of the charging pile; dividing the output voltage and the output current at a preset time interval respectively to obtain a target output voltage and a target output current; determining the instantaneous charging power of the charging pile according to the target output voltage and the target output current.
[0016] According to another aspect of the embodiments of the present application, a non-volatile storage medium is further provided. The non-volatile storage medium includes a stored program, wherein when the program runs, it controls the device where the non-volatile storage medium is located to execute the above-mentioned method for determining the charging power.
[0017] In the embodiments of the present application, by dividing the output voltage and output current of the charging pile at a preset time interval to obtain the target output voltage and target output current, the purpose of determining the instantaneous charging power of the charging pile based on the target output voltage and target output current is achieved, thereby realizing the technical effect of dynamically measuring the instantaneous charging power of the charging pile, and further solving the technical problem that the charging power of the charging pile cannot be measured in real time and dynamically in the related art. Description of the Drawings
[0018] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation to the present application. In the drawings:
[0019] Figure 1 is a schematic diagram of a calculation method of charging power according to the prior art;
[0020] Figure 2 is a hardware structure block diagram of a computer terminal (or electronic device) for implementing the method for determining charging power according to the embodiments of the present application;
[0021] Figure 3 is a flowchart of the method for determining charging power according to the embodiments of the present application;
[0022] Figure 4 is a flowchart of dividing the output voltage and output current respectively at a preset time interval according to the embodiments of the present application;
[0023] Figure 5 is a flowchart of determining the instantaneous charging power according to the embodiments of the present application;
[0024] Figure 6 is a structural diagram of the device for determining charging power according to the embodiments of the present application. Detailed Embodiments
[0025] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present application.
[0026] It should be noted that the terms "first", "second", etc. in the description, claims and the above-mentioned drawings of the present application are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0027] In the related art, the electric energy metering instrument of the DC charging pile type is the built-in DC electric energy meter, including current sampling and voltage sampling devices, such as Figure 1 shown, the charging end can be, such as an electric vehicle charging pile, etc., which can charge a receiving end, such as an electric vehicle, etc. Figure 1 The current sampling in is realized through a shunt, that is, the DC current passes through a small resistor to obtain a small voltage signal, and the magnitude of the current is obtained through calculation; one end of the voltage sampling is on the live wire and the other end is on the neutral wire to detect the voltage between the live wire and the neutral wire. After the current and voltage are respectively obtained through current sampling and voltage sampling, the sampled current and voltage are converted into digital signals and input into the CPU, and the charging power is calculated through software. The power of some chargers is generally indicated on their surface, including the rated output power, rated output voltage, and rated output current, which is the maximum output power of the charger. In addition, the relatively real-time charging power can be measured through the charging power detection software, which is calculated through the charged amount and the corresponding charging time.
[0028] However, when measuring the power of the DC electric energy meter of the above-mentioned charging pile type, the average value method is generally used, that is, when calculating the power of the charging pile through software, the charging power obtained by multiplying the average values of the current and voltage is used, rather than the instantaneous charging power of the charging pile. Ideally, after obtaining the DC signal of the charging pile, the charging power and the instantaneous charging power measured by the average value method are both accurate and consistent. However, in actual situations, the DC signal during charging through the charging pile will inevitably be accompanied by ripples. The charging power measured by the average value method cannot reflect the influence of the ripples on DC charging, that is, the charging power measured by the average value method is not the instantaneous charging power of the charging pile, nor is it a true dynamic measurement.
[0029] The power marked on the surface of some chargers is the rated power, which is the maximum charging power during normal operation and cannot reflect the accurate and dynamic charging power. In another alternative embodiment, the charging power is calculated through charging power detection software. Although the measured charging power changes in real time, it is not measured by a DC watt-hour meter but calculated from the charged amount and charging time, which is also an average value and cannot be used as the actual dynamic charging power. To solve the above problems, the embodiments of the present application provide corresponding solutions, which will be described in detail below.
[0030] The method embodiment for determining the charging power provided by the embodiments of the present application can be executed in a mobile terminal, a computer terminal, or a similar computing device. Figure 2 The hardware structure block diagram of a computer terminal (or electronic device) for implementing the method for determining the charging power is shown. As Figure 2 shown, the computer terminal 20 (or electronic device 20) may include one or more processors (the processors may include, but are not limited to, processing devices such as a microprocessor MCU or a programmable logic device FPGA, shown as 202a, 202b,..., 202n in the figure), a memory 204 for storing data, and a transmission module 206 for communication functions. In addition, it may further include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a power supply, and / or a camera. Those of ordinary skill in the art can understand that Figure 2 the structure shown is only schematic and does not limit the structure of the above electronic device. For example, the computer terminal 20 may further include more or fewer components than Figure 2 shown, or have a different configuration from Figure 2 shown.
[0031] It should be noted that the above one or more processors and / or other data processing circuits are generally referred to as "data processing circuits" in this article. The data processing circuit may be embodied in whole or in part as software, hardware, firmware, or any combination thereof. In addition, the data processing circuit may be a single independent processing module, or be incorporated in whole or in part into any one of the other elements in the computer terminal 20 (or electronic device). As involved in the embodiments of the present application, the data processing circuit is a kind of processor control (such as the selection of a variable resistance terminal path connected to an interface).
[0032] The memory 204 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the method for determining the charging power in the embodiments of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 204, that is, implements the above-mentioned method for determining the charging power. The memory 204 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some instances, the memory 204 may further include a memory remotely disposed relative to the processor, and these remote memories can be connected to the computer terminal 20 through a network. Examples of the above-mentioned network include but are not limited to the Internet, enterprise intranets, local area networks, mobile communication networks, and combinations thereof.
[0033] The transmission module 206 is used to receive or send data via a network. Specific examples of the above-mentioned network may include a wireless network provided by the communication provider of the computer terminal 20. In one instance, the transmission device 206 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station and thus communicate with the Internet. In one instance, the transmission device 206 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0034] The display can be, for example, a touch-screen liquid crystal display (LCD), which enables the user to interact with the user interface of the computer terminal 20 (or electronic device).
[0035] It should be noted here that in some alternative embodiments, the above Figure 2 shown computer device (or electronic device) may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware elements and software elements. It should be pointed out that Figure 2 is only an example of a specific specific instance and is intended to illustrate the types of components that may exist in the above computer device (or electronic device).
[0036] Under the above operating environment, an embodiment of the method for determining the charging power is provided in the embodiments of the present application. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0037] Figure 3is a flowchart of a method for determining charging power according to an embodiment of the present application. As Figure 3 shown, the method includes the following steps:
[0038] Step S302: Obtain the output voltage and output current of the charging pile;
[0039] Step S304: Divide the output voltage and output current at preset time intervals respectively to obtain the target output voltage and target output current;
[0040] Step S306: Determine the instantaneous charging power of the charging pile based on the target output voltage and target output current.
[0041] Through the above steps, the sampling of the output voltage and output current and the power calculation are completed by relying on hardware. After dividing the output voltage and output current at preset time intervals when calculating the instantaneous charging power, and then using a multiplication simulator for calculation, the instantaneous charging power of the charging pile can be obtained, so as to achieve the purpose of accurate and dynamic measurement.
[0042] In step S302 of the above method for determining charging power, after obtaining the output voltage and output current of the charging pile, the method further includes the following steps: Obtain the first voltage and first current required by the device to be charged; Adjust the output voltage to the first voltage; Adjust the output current to the first current.
[0043] Since the output voltage and output current of the charging pile are different from the voltage and current required by the device to be charged at the receiving end, therefore, before inputting the output voltage and output current of the charging pile into the device to be charged, it is necessary to first obtain the voltage and current required by the device to be charged, that is, the first voltage and first current. The output voltage of the charging pile can be adjusted to the first voltage required by the device to be charged through a voltage transformer and a voltage amplifier, and the output current of the charging pile can be adjusted to the first current required by the device to be charged through a current transformer and a current amplifier.
[0044] The above voltage transformer and current transformer are collectively referred to as transformers, that is, instrument transformers. Their function is to transform the possible input high voltage or large current into a low voltage or small current that meets the sampling standard in proportion. And the transformer also has the function of electrical isolation between the input end and the output end. This can not only protect the safety of the entire measurement system and people, but also does not affect its measurement accuracy, and expands the application range of the measurement system. Then, the size is further adjusted through an amplifier, so that the original output voltage of the charging pile is adjusted to the first voltage required by the device to be charged, and the original output current of the charging pile is adjusted to the first current required by the device to be charged.
[0045] In the above method for determining the charging power, adjusting the output voltage to the first voltage specifically includes the following steps: determining a first adjustment ratio corresponding to the output voltage based on the first voltage and the output voltage; after adjusting the output voltage according to the first adjustment ratio, outputting the first voltage.
[0046] In the above method for determining the charging power, adjusting the output current to the first current includes: determining a second adjustment ratio corresponding to the output current based on the first current and the output current; after adjusting the output current according to the second adjustment ratio, outputting the first current.
[0047] In the above steps, the first adjustment ratio corresponds to the adjustment ratio of the voltage transformer, and the second adjustment ratio corresponds to the adjustment ratio of the current transformer. After the voltage transformer adjusts the output voltage of the charging pile according to the first adjustment ratio, and then through appropriate adjustment of the voltage amplifier, the first voltage required by the device to be charged is obtained. After the current transformer adjusts the output current of the charging pile according to the second adjustment ratio, and then through appropriate adjustment of the current amplifier, the first current required by the device to be charged is obtained.
[0048] It should be noted that usually, the voltage and current provided by the charging pile are much larger than the voltage and current required by the device to be charged. Therefore, the above first adjustment ratio is to adjust a large voltage to a small voltage, and the above second adjustment ratio is to adjust a large current to a small current. In actual situations, the corresponding adjustment ratio can also be adjusted according to the voltage and current required by the device to be charged, which is not limited here.
[0049] In step S304 of the above method for determining the charging power, before dividing the output voltage and the output current at a preset time interval respectively, the method further includes the following steps: detecting whether the output current changes within a preset duration; in the case where the output current changes, dividing the output voltage and the output current at a preset time interval respectively.
[0050] In the above method for determining the charging power, the method further includes the following steps: in the case where the output current does not change, determining the instantaneous charging power of the charging pile based on the output voltage and the output current.
[0051] In the above steps, before dividing the output voltage and the output current of the charging pile, it is possible to first detect whether the output current of the charging pile changes. It can be understood that whether the output current of the charging pile is stable within a preset duration. If it is stable, the current output by the charging pile at any moment within the preset duration is the same. At this time, it can be considered that there is no ripple in the output current of the charging pile, and the charging power calculated by the average value method is the same as the instantaneous charging power obtained through the above steps S304 and S306. That is, the instantaneous charging power of the charging pile can be directly calculated and determined based on the output voltage and the output current of the charging pile.
[0052] When it is detected that the output current of the charging pile is unstable within a preset time period, it can be considered at this time that there is ripple in the output current of the charging pile. The charging power calculated by the average value method is different from the instantaneous power obtained through the above steps S304 and S306. The charging power calculated by the average value method cannot reflect the influence of the ripple on DC charging. At this time, it is necessary to execute the above step S304 to divide the output voltage and output current of the charging pile, and then determine the instantaneous charging power of the charging pile through step S306.
[0053] In step S304 of the above method for determining the charging power, the output voltage and output current are divided at a preset time interval, as Figure 4 shown in the flowchart, which specifically includes the following steps:
[0054] Step S402, determine the first acquisition time interval of the output voltage and the second acquisition time interval of the output current;
[0055] Step S404, when the first acquisition time interval is greater than the preset time interval, divide the first voltage according to the preset time interval to obtain the target output voltage;
[0056] Step S406, when the second acquisition time interval is greater than the preset time interval, divide the first current according to the preset time interval to obtain the target output current.
[0057] The above steps S402 to S406 determine the acquisition frequencies of the output voltage and output current, that is, the first acquisition time interval and the second acquisition time interval, and judge whether the output voltage collected by the charging pile at the first acquisition time interval is greater than the preset time interval, and judge whether the output current collected by the charging pile at the second acquisition time interval is greater than the preset time interval. If both the first acquisition time interval and the second acquisition time interval are much greater than the preset time interval, for example, both the first acquisition time interval and the second acquisition time interval are 1 minute, while the preset time interval is 1 s, then it is necessary to divide the output voltage and output current according to the preset time interval. At this time, the charging power calculated by the divided target output voltage and target output current can better reflect the instantaneous charging power of the charging pile.
[0058] In another alternative embodiment, if it is determined that the first acquisition time interval and the second acquisition time interval of the charging pile are the same as or less than the preset time interval, for example, both the first acquisition time interval and the second acquisition time interval are 0.5 s, while the preset time interval is 1 s, at this time, there is no need to divide the output voltage and output current of the charging pile according to the preset time interval. After taking the output voltage and output current of the charging pile as the target output voltage and target output current, they can be input into the multiplication simulator for calculation to obtain the instantaneous charging power of the charging pile.
[0059] In fact, the preset time interval in the embodiment of the present application is an extremely small time interval. It is only necessary to judge the magnitude relationship between the first acquisition time interval and the second acquisition time interval and the preset time interval respectively, and take the smaller of the first acquisition time interval and the preset time interval as the target preset time interval for finally dividing the output voltage, and take the smaller of the second acquisition time interval and the preset time interval as the target preset time interval for finally dividing the output current.
[0060] In step S306 of the above method for determining the charging power, to determine the instantaneous charging power of the charging pile, the following steps are specifically included: input the target output voltage and the target output current into the multiplication simulator for multiplication operation to obtain the instantaneous charging power of the charging pile, where the multiplication simulator is used for multiplying different input values.
[0061] In another alternative embodiment, the multiplication simulator realizes the multiplication operation through hardware. It can input the voltage signal U and the current signal I, and then output an analog voltage signal E. The value of E is proportional to the product power P of the voltage signal U and the current signal I. Divided at a fixed time interval Δt, as long as Δt is extremely short so that it can be regarded as an instant, then the input signal within Δt can be regarded as DC. At this time, the result output by the multiplication simulator is the instantaneous charging power. Then the analog voltage signal E passes through a low-pass filter to filter out high-frequency clutter and reduce the impact on the back.
[0062] The analog voltage signal E passes through a voltage-frequency converter and can be converted into a pulse frequency. The frequency meter counts N within the time interval Δt. N is proportional to the analog voltage signal, that is, proportional to the instantaneous charging power. Only by debugging a standard DC power meter or a DC power source can this measurement system measure the accurate instantaneous charging power.
[0063] The embodiments of this application get rid of the dependence on algorithms for power measurement, transfer the important factors determining the measurement accuracy to the hardware part, and can greatly improve the accuracy and stability of power measurement through reasonable hardware design, the use of precision components, and standard debugging, achieving an accuracy level of ppm. The use of a mutual inductor to proportionally transform the magnitudes of current and voltage not only provides electrical isolation, protecting the system and measurement safety, but also expands the measurement range. The use of a multiplication simulator measures the instantaneous charging power by dividing the time interval Δt into extremely short segments. Therefore, the dynamic DC charging power can be precisely measured.
[0064] Figure 5 is a flowchart for determining the instantaneous charging power according to an embodiment of this application, as Figure 5 shown, including: a voltage mutual inductor, a current mutual inductor, a voltage amplifier, a current amplifier, a multiplication simulator, a low-pass filter, a voltage-frequency converter, and a frequency meter. Among them, the voltage mutual inductor is used to adjust the output voltage of the charging pile according to a first adjustment ratio, the voltage amplifier is used to further appropriately adjust the voltage adjusted by the voltage mutual inductor, the current mutual inductor is used to adjust the output current of the charging pile according to a second adjustment ratio, the current amplifier is used to further appropriately adjust the current adjusted by the current mutual inductor, the multiplication simulator is used to perform a product calculation on the adjusted voltage and current, output an analog voltage signal, remove high-frequency clutter through the low-pass filter, convert the analog voltage signal into a pulse frequency through the voltage-frequency converter, and measure the frequency of the output signal through the frequency meter.
[0065] Figure 6 is a structural diagram of a device for determining the charging power according to an embodiment of this application, as Figure 6 shown, the device includes:
[0066] An acquisition module 601, configured to acquire the output voltage and output current of the charging pile;
[0067] A segmentation module 604, configured to segment the output voltage and output current respectively at a preset time interval to obtain a target output voltage and a target output current;
[0068] A determination module 605, configured to determine the instantaneous charging power of the charging pile based on the target output voltage and the target output current.
[0069] In the above device for determining the charging power, after the acquisition module acquires the output voltage and output current of the charging pile, the device further includes: an adjustment module 602, which is configured to acquire the first voltage and the first current required by the device to be charged; adjust the output voltage to the first voltage; and adjust the output current to the first current.
[0070] In the above-mentioned charging power determination device, the adjustment module adjusts the output voltage to a first voltage, which specifically includes the following process: determining a first adjustment ratio corresponding to the output voltage based on the first voltage and the output voltage; adjusting the output voltage according to the first adjustment ratio and then outputting the first voltage.
[0071] In the above-mentioned charging power determination device, the adjustment module adjusts the output current to a first current, which specifically includes the following process: determining a second adjustment ratio corresponding to the output current based on the first current and the output current; adjusting the output current according to the second adjustment ratio and then outputting the first current.
[0072] In the above-mentioned charging power determination device, before the splitting module splits the output voltage and the output current at a preset time interval respectively, the device further includes a detection module 603, which is used to detect whether the output current changes within a preset duration; in the case of detecting that the output current changes, the splitting module splits the output voltage and the output current at a preset time interval respectively, and in the case of detecting that the output current does not change, determining the instantaneous charging power of the charging pile based on the output voltage and the output current.
[0073] In the above-mentioned charging power determination device, the splitting module splits the output voltage and the output current at a preset time interval respectively, which specifically includes the following process: determining a first acquisition time interval of the output voltage and determining a second acquisition time interval of the output current; in the case that the first acquisition time interval is greater than the preset time interval, splitting the first voltage according to the preset time interval to obtain a target output voltage; in the case that the second acquisition time interval is greater than the preset time interval, splitting the first current according to the preset time interval to obtain a target output current.
[0074] In the above-mentioned charging power determination device, the determination module 605 is mainly used to input the target output voltage and the target output current into a multiplication simulator for multiplication operation to obtain the instantaneous charging power of the charging pile, where the multiplication simulator is used to perform multiplication operation on different input values.
[0075] It should be noted that Figure 6 the shown charging power determination device is used to execute Figures 3 to 4 the shown charging power determination method, so the relevant explanations in the above-mentioned charging power determination method also apply to this charging power determination device, and will not be elaborated here.
[0076] An embodiment of the present application also provides a non-volatile storage medium, which includes a stored program. When the program runs, it controls the device where the non-volatile storage medium is located to execute the following method for determining the charging power: Obtain the output voltage and output current of the charging pile; divide the output voltage and output current at preset time intervals respectively to obtain the target output voltage and target output current; determine the instantaneous charging power of the charging pile based on the target output voltage and target output current.
[0077] The serial numbers of the embodiments of the present application above are only for description and do not represent the advantages or disadvantages of the embodiments.
[0078] In the above embodiments of the present application, the descriptions of the respective embodiments have their own focuses. For parts not detailed in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
[0079] In several embodiments provided by the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only illustrative. For example, the division of the units can be a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections with each other can be through some interfaces. The indirect couplings or communication connections of the units or modules can be in an electrical or other form.
[0080] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0081] In addition, the functional units in each embodiment of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.
[0082] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), mobile hard disks, magnetic disks, or optical discs.
[0083] The foregoing are only the preferred embodiments of this application. It should be noted that for those of ordinary skill in the art, without departing from the principle of this application, several improvements and refinements can still be made, and these improvements and refinements should also be regarded as the protection scope of this application.
Claims
1. A method for determining charging power, characterized in that, comprising: Obtaining the output voltage and output current of the charging pile; Obtaining the first voltage and first current required by the device to be charged; Adjusting the output voltage to the first voltage; Adjusting the output current to the first current; Dividing the output voltage and the output current respectively at a preset time interval to obtain a target output voltage and a target output current; Determining the instantaneous charging power of the charging pile according to the target output voltage and the target output current; Before dividing the output voltage and the output current respectively at a preset time interval, the method further comprises: detecting whether the output current changes within a preset duration; in the case where the output current changes, dividing the output voltage and the output current respectively at a preset time interval; Dividing the output voltage and the output current respectively at a preset time interval to obtain a target output voltage and a target output current, comprising: determining a first acquisition time interval of the output voltage, and determining a second acquisition time interval of the output current; in the case where the first acquisition time interval is greater than the preset time interval, dividing the first voltage according to the preset time interval to obtain the target output voltage; in the case where the second acquisition time interval is greater than the preset time interval, dividing the first current according to the preset time interval to obtain the target output current.
2. The method according to claim 1, characterized in that, Adjusting the output voltage to the first voltage, comprising: Determining a first adjustment ratio corresponding to the output voltage according to the first voltage and the output voltage; After adjusting the output voltage according to the first adjustment ratio, outputting the first voltage.
3. The method according to claim 1, characterized in that, Adjusting the output current to the first current, comprising: Determining a second adjustment ratio corresponding to the output current according to the first current and the output current; After adjusting the output current according to the second adjustment ratio, outputting the first current.
4. The method according to claim 1, characterized in that, The method further comprises: In the case where the output current does not change, determining the instantaneous charging power of the charging pile according to the output voltage and the output current.
5. The method according to claim 1, characterized in that, Determining the instantaneous charging power of the charging pile, comprising: Inputting the target output voltage and the target output current into a multiplication simulator for multiplication operation to obtain the instantaneous charging power of the charging pile, wherein the multiplication simulator is used for performing multiplication operation on different input values.
6. A device for determining charging power, characterized in that, comprising: An obtaining module, configured to obtain the output voltage and output current of the charging pile; An adjusting module, configured to obtain the first voltage and first current required by the device to be charged; Adjusting the output voltage to the first voltage; Adjusting the output current to the first current; A splitting module, configured to split the output voltage and the output current at preset time intervals respectively to obtain a target output voltage and a target output current; A determining module, configured to determine the instantaneous charging power of the charging pile according to the target output voltage and the target output current; A detecting module, configured to detect whether the output current changes within a preset duration; When the output current changes, the splitting module is configured to split the output voltage and the output current at preset time intervals respectively; The splitting module is further configured to: determine a first acquisition time interval of the output voltage and a second acquisition time interval of the output current; when the first acquisition time interval is greater than the preset time interval, split the first voltage according to the preset time interval to obtain the target output voltage; when the second acquisition time interval is greater than the preset time interval, split the first current according to the preset time interval to obtain the target output current.
7. An electronic device, characterized in that, it includes: a memory, configured to store program instructions; a processor, connected to the memory, configured to execute program instructions for implementing the following functions: obtain the output voltage and output current of a charging pile; split the output voltage and the output current at preset time intervals respectively to obtain a target output voltage and a target output current; determine the instantaneous charging power of the charging pile according to the target output voltage and the target output current; Before splitting the output voltage and the output current at preset time intervals respectively, it further includes: detecting whether the output current changes within a preset duration; when the output current changes, splitting the output voltage and the output current at preset time intervals respectively; splitting the output voltage and the output current at preset time intervals respectively to obtain a target output voltage and a target output current, including: obtaining a first voltage and a first current required by a device to be charged; adjusting the output voltage to the first voltage; adjusting the output current to the first current; determining a first acquisition time interval of the output voltage and a second acquisition time interval of the output current; when the first acquisition time interval is greater than the preset time interval, splitting the first voltage according to the preset time interval to obtain the target output voltage; when the second acquisition time interval is greater than the preset time interval, splitting the first current according to the preset time interval to obtain the target output current.
8. A non-volatile storage medium, characterized in that, the non-volatile storage medium includes a stored program, wherein when the program runs, it controls the device where the non-volatile storage medium is located to execute the method for determining the charging power according to any one of claims 1 to 5.
Citation Information
Patent Citations
Diagnosis method and system of overcharging of power cell, readable storage medium and device
CN108896918A
Method for improving digital metering accuracy of direct-current charging pile
CN111753699A