A DC port charging control method and storage medium for a portable energy storage power supply

By dynamically adjusting the input voltage reference value and calculating the voltage, current, and power change values ​​to identify the input type, the accuracy problem of the portable energy storage power supply charging method is solved, and stable and reliable diversified charging management is achieved.

CN120342035BActive Publication Date: 2025-09-12西安图为电气技术有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510764750.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-10
Publication Date
2025-09-12
Estimated Expiration
2045-06-10

AI Technical Summary

Technical Problem

The DC port charging method of the existing portable energy storage power supply cannot accurately identify the input situation, cannot meet the diverse charging needs, and has a high probability of misjudgment, resulting in charging interruption or restart.

Method used

By monitoring the DC port input signal, dynamically adjusting the input voltage reference value, collecting input data and calculating the voltage, current and power change values, the input type is identified in combination with the charging evaluation parameters and switched to the adaptive charging mode.

Benefits of technology

It realizes flexible charging management of portable energy storage power supply, improves the stability and reliability of charging detection, avoids charging interruption or restart, and meets diverse charging needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120342035B_ABST
    Figure CN120342035B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of power electronic control technology and discloses a DC port charging control method and storage medium for a portable energy storage power supply. When the portable energy storage power supply is charging and turned on, a preset input voltage reference value is dynamically adjusted according to a preset interval duration, so that each time the input voltage reference value is adjusted, a set of input data under the corresponding input voltage reference value condition is collected respectively. Then, by combining all input voltage change values, all input current change values, all input power change values ​​and charging evaluation parameters obtained by comparison, the input type corresponding to the input signal of the DC port can be accurately identified, thereby switching the DC port to an adaptive charging mode, realizing flexible charging management of the portable energy storage power supply, and being able to meet the diverse charging needs of the portable energy storage power supply. The entire process does not require the portable energy storage power supply to interrupt charging or restart and recover, thereby improving the stability and reliability of DC port charging detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power electronic control technology, and in particular to a method for controlling charging of a DC port of a portable energy storage power supply, a device thereof, an electronic device, and a computer-readable storage medium. Background Art

[0002] In recent years, energy storage products have been increasingly used in power systems, especially portable energy storage power supplies, which can meet the power supply needs of various scenarios such as homes and outdoor emergencies. With the diversification of application scenarios for portable energy storage power supplies, higher demands are placed on their rapid charging capabilities. Currently, the DC port charging of portable energy storage power supplies mainly uses a direct detection method based on input voltage. That is, the charging method is determined based on the DC port input voltage before and after startup. However, this method has certain limitations and cannot accurately identify the DC port input status, thus failing to meet the diverse charging needs of portable energy storage power supplies. Summary of the Invention

[0003] The present invention aims to at least partially address one of the technical problems in the related art. To this end, the present invention provides a DC port charging control method and storage medium for a portable energy storage power supply, which can accurately identify DC port input and meet the diverse charging needs of portable energy storage power supplies.

[0004] In a first aspect, an embodiment of the present invention provides a method for controlling charging of a DC port of a portable energy storage power supply, comprising the following steps:

[0005] Step S1: When it is detected that the DC port is connected to an input signal, the portable energy storage power supply is controlled to charge and start up;

[0006] Step S2: When the portable energy storage power supply is charging and turned on, dynamically adjusting a preset input voltage reference value according to a preset interval duration, and each time the input voltage reference value is adjusted, collecting a set of input data of the input signal based on the adjusted input voltage reference value, wherein the input data includes an input voltage, an input current, and an input power corresponding to the adjusted input voltage reference value;

[0007] Step S3, respectively obtaining the input voltage change value, the input current change value, and the input power change value between adjacent groups of input data;

[0008] Step S4: Determine the input type corresponding to the input signal based on all the input voltage change values, all the input current change values, all the input power change values, and preset charging evaluation parameters, and switch the DC port to an adaptive charging mode based on the input type corresponding to the input signal.

[0009] Optionally, in one embodiment of the present invention, when the charging evaluation parameter includes a voltage evaluation threshold, a first current evaluation threshold, and a second current evaluation threshold, wherein the voltage evaluation threshold is greater than zero, the second current evaluation threshold is less than the first current evaluation threshold, and the second current evaluation threshold is greater than zero, step S4 includes:

[0010] Step S41, respectively obtaining the absolute value of each input current change value;

[0011] Step S42: When all the input voltage change values ​​are less than the voltage evaluation threshold and the absolute values ​​of all the input current change values ​​are less than the first current evaluation threshold, it is determined that the input type corresponding to the input signal is a DC source input, thereby switching the DC port to a DC source charging mode; otherwise, step S43 is executed;

[0012] Step S43, respectively obtaining the product of the input voltage change value and the input power change value between adjacent groups of the input data to obtain a target input change value;

[0013] Step S44: Determine the input type corresponding to the input signal based on all the input voltage change values, the absolute values ​​of all the input current change values, all the target input change values, and the second current evaluation threshold, and switch the DC port to an adapted charging mode based on the input type corresponding to the input signal.

[0014] Optionally, in one embodiment of the present invention, step S44 includes:

[0015] Step S441: When all the input voltage change values ​​are greater than zero, the absolute values ​​of all the input current change values ​​are less than the second current evaluation threshold, and all the target input change values ​​are greater than zero, it is determined that the input type corresponding to the input signal is adapter input, thereby switching the DC port to the adapter charging mode; otherwise, step S442 is executed;

[0016] Step S442: Determine that the input type corresponding to the input signal is photovoltaic MPPT input, thereby switching the DC port to a photovoltaic MPPT charging mode.

[0017] Optionally, in one embodiment of the present invention, the step in step S2 of dynamically adjusting the preset input voltage reference value according to a preset interval duration includes:

[0018] Step S21, obtaining the charging start-up detection time allowed by the portable energy storage power supply;

[0019] Step S22: Dynamically adjust the preset input voltage reference value in fixed step increments according to a preset interval duration within the charging power-on detection time.

[0020] Optionally, in one embodiment of the present invention, step S1 includes:

[0021] Step S11: When it is detected that the DC port is connected to an input signal, a charging start instruction is sent to the portable energy storage power supply;

[0022] Step S12: When the portable energy storage power supply receives the charging start-up instruction, the portable energy storage power supply is controlled to perform a charging initialization action in response to the charging start-up instruction;

[0023] Step S13: When the portable energy storage power supply completes the charging initialization action, the portable energy storage power supply is controlled to charge and start up.

[0024] In a second aspect, an embodiment of the present invention provides a DC port charging control device for a portable energy storage power supply, comprising:

[0025] A charging and power-on unit, configured to control the charging and power-on of the portable energy storage power supply when detecting that the DC port is connected to an input signal;

[0026] a dynamic sampling unit, configured to dynamically adjust a preset input voltage reference value according to a preset interval duration when the portable energy storage power supply is charged and powered on, and to collect a set of input data of the input signal based on the adjusted input voltage reference value each time the input voltage reference value is adjusted, wherein the input data includes an input voltage, an input current, and an input power corresponding to the adjusted input voltage reference value;

[0027] a difference calculation unit, configured to respectively obtain an input voltage change value, an input current change value, and an input power change value between adjacent groups of input data;

[0028] A charging identification switching unit is used to determine the input type corresponding to the input signal based on all the input voltage change values, all the input current change values, all the input power change values ​​and preset charging evaluation parameters, and switch the DC port to an adaptive charging mode based on the input type corresponding to the input signal.

[0029] In a third aspect, an embodiment of the present invention provides an electronic device, including:

[0030] at least one processor;

[0031] at least one memory for storing at least one program;

[0032] When at least one of the programs is executed by at least one of the processors, the DC port charging control method of the portable energy storage power supply as described in the first aspect is implemented.

[0033] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing a program executable by a processor, wherein the program executable by the processor is used to implement the DC port charging control method of the portable energy storage power supply as described in the first aspect when executed by the processor.

[0034] The present invention proposes a DC port charging control method and storage medium for a portable energy storage power supply. When the portable energy storage power supply is charging and powered on, a preset input voltage reference value is dynamically adjusted according to a preset interval duration. Each time the input voltage reference value is adjusted, a set of input data under the corresponding input voltage reference value condition is collected. Then, by comparing the input voltage change values, input current change values, and input power change values ​​between adjacent sets of input data, all input voltage change values, all input current change values, all input power change values, and charging evaluation parameters are obtained to accurately identify the input type corresponding to the input signal of the DC port. The DC port is then switched to an adaptive charging mode according to the input type corresponding to the input signal, thereby achieving flexible charging management of the portable energy storage power supply and meeting the diverse charging needs of the portable energy storage power supply. In addition, compared with related existing technologies, the entire identification process can be performed while the portable energy storage power supply is charging and powered on, without the need for the portable energy storage power supply to interrupt charging or restart and recover, further improving the stability and reliability of DC port charging detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 This is a flow chart of a DC port charging control method for a portable energy storage power supply provided by an embodiment of the present invention;

[0036] Figure 2 yes Figure 1 Flowchart of step S1 in FIG.

[0037] Figure 3 yes Figure 1 Partial flow chart of the step "dynamically adjusting the preset input voltage reference value according to the preset interval duration" in step S2;

[0038] Figure 4 yes Figure 1 Flowchart of step S4 in FIG.

[0039] Figure 5 yes Figure 4 Flowchart of step S44 in FIG.

[0040] Figure 6This is a schematic diagram of the execution flow of a DC port charging control method for a portable energy storage power supply provided by an embodiment of the present invention;

[0041] Figure 7 This is a structural diagram of a DC port charging control device for a portable energy storage power supply provided by one embodiment of the present invention;

[0042] Figure 8 This is a structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0044] It should be noted that although the functional modules are divided in the device schematic and the logical order is shown in the flowchart, in some cases, the steps shown or described can be performed in a different order than the module division in the device or the order in the flowchart.

[0045] Figure 1 This is a flow chart of a DC port charging control method for a portable energy storage power supply provided by an embodiment of the present invention. Figure 1 As shown, the DC port charging control method of the portable energy storage power supply may include but is not limited to steps S1 to S4.

[0046] Step S1: When the DC port is detected to be connected to an input signal, the portable energy storage power supply is controlled to charge and start up;

[0047] Step S2: When the portable energy storage power supply is charging and turned on, dynamically adjusting a preset input voltage reference value according to a preset interval, and each time the input voltage reference value is adjusted, collecting input data of a set of input signals based on the adjusted input voltage reference value, wherein the input data includes an input voltage, an input current, and an input power corresponding to the adjusted input voltage reference value. It is understood that the input voltage and input current can be directly sampled, and the input power can be obtained by calculating the product of the sampled input voltage and input current;

[0048] It should be noted that the purpose of collecting input data of a set of input signals based on the adjusted input voltage reference value is: since the specific situation of the input signal is unclear, the adjusted input voltage reference value is used as the voltage standard, and the input signal is sampled according to the voltage standard to obtain input data corresponding to the input signal under the voltage standard. Since the input voltage reference value is dynamically adjusted, input data corresponding to input signals under multiple different voltage standards can be obtained, so as to facilitate further calculation and judgment based on the obtained multiple sets of input data;

[0049] Step S3, respectively obtaining the input voltage change value, input current change value, and input power change value between adjacent groups of input data;

[0050] Step S4: Determine the input type corresponding to the input signal based on all input voltage change values, all input current change values, all input power change values, and preset charging evaluation parameters, and switch the DC port to an adaptive charging mode based on the input type corresponding to the input signal.

[0051] In this step, when the portable energy storage power supply is turned on for charging, the preset input voltage reference value is dynamically adjusted according to the preset interval time, so that each time the input voltage reference value is adjusted, a group of input data under the corresponding input voltage reference value condition is collected respectively, and then the input voltage change value, input current change value and input power change value between adjacent groups of input data are obtained by comparison, thereby combining all the input voltage change values, all the input current change values, all the input power change values ​​and the charging evaluation parameters to accurately identify the input type corresponding to the input signal of the DC port, and thus the DC port can be accurately identified according to the input type corresponding to the input signal. Switching to the adaptive charging mode realizes flexible charging management of the portable energy storage power supply, which can meet the diverse charging needs of the portable energy storage power supply. In addition, since the direct detection method based on the input voltage in the related existing technology has a high probability of misjudgment and charging will be interrupted during the identification process, once a misjudgment is made, the DC port charging will be continuously hiccuped and restarted, and normal charging cannot be performed. The power must be restarted and powered off to recover. In this embodiment, the entire identification process can be carried out when the portable energy storage power supply is charging and turned on, without the need for the portable energy storage power supply to interrupt charging or restart and power off to recover, which further improves the stability and reliability of DC port charging detection.

[0052] like Figure 2 As shown, in one embodiment of the present invention, step S1 may include but is not limited to the following steps:

[0053] Step S11: When it is detected that the DC port is connected to the input signal, a charging start instruction is sent to the portable energy storage power supply;

[0054] Step S12: When the portable energy storage power supply receives the charging start-up instruction, the portable energy storage power supply is controlled to perform a charging initialization action in response to the charging start-up instruction;

[0055] Step S13: When the portable energy storage power supply completes the charging initialization action, the portable energy storage power supply is controlled to charge and start up.

[0056] In this step, when it is detected that the DC port is connected to the input signal, a charging start-up instruction is sent to the portable energy storage power supply, so that the portable energy storage power supply can further respond to the charging start-up instruction to perform a charging initialization action. By performing the charging initialization action, it is ensured that the portable energy storage power supply enters a stable charging ready state. When the portable energy storage power supply completes the charging initialization action, the portable energy storage power supply is controlled to charge and start, which ensures that the portable energy storage power supply can stably enter the charging start-up state.

[0057] like Figure 3 As shown, in one embodiment of the present invention, the steps in step S2, which dynamically adjust the preset input voltage reference value according to the preset interval time, may include but are not limited to the following steps:

[0058] Step S21: obtaining the charging start-up detection time allowed by the portable energy storage power supply;

[0059] Step S22: During the charging power-on detection time, dynamically adjust the preset input voltage reference value in fixed step increments according to the preset interval duration.

[0060] In this step, the charging power-on detection time allowed by the portable energy storage power supply is obtained to determine how long after the portable energy storage power supply is turned on, it is suitable to perform the charging power-on detection. In other words, if the charging power-on detection time is exceeded, it is not suitable or recommended to perform the charging power-on detection. Then, within the charging power-on detection time, the preset input voltage reference value is dynamically adjusted according to the preset interval time with a fixed step size increment to ensure that the dynamic change of the input voltage reference value is regular. Such a control variable effect is more accurate, which is conducive to reducing detection errors and improving the accuracy of identifying the type of input signal.

[0061] It can be understood that the specific values ​​of the charging power-on detection time, the preset interval time, the fixed step increment and the initial input voltage reference value need to be set accordingly according to the situation of the portable energy storage power supply itself. The fixed step increment can be positive or negative, and there is no restriction here. For example, in one scenario, the charging power-on detection time can be set to 60s, the preset interval time is set to 1s, the fixed step increment Ustep is set to 2V, and the initial input voltage reference value Uref1 is 30V. Then the input voltage reference value Uref2 after the first adjustment is 32V. At this time, sampling can be performed to obtain a set of input data of the input signal under the 32V condition; the input voltage reference value Uref3 after the second adjustment is 34V. At this time, sampling can also be performed to obtain another set of input data of the input signal under the 34V condition, and so on. Finally, evaluation can be performed based on the multiple sets of input data obtained by sampling. However, it should be noted that the 60s set in this embodiment is used as the charging reference value. The detection timeout limit does not mean that the adjustment of the input voltage reference value and the sampling of the corresponding input data must reach 60s before completion. In fact, the input voltage corresponding to the input signal is subject to a range constraint, which means that the input voltage reference value is also subject to the input voltage upper limit constraint. Therefore, when the adjusted input voltage reference value is equal to or close to the input voltage upper limit, even if the current time node has not reached 60s, it is still necessary to stop increasing the input voltage reference value and sampling. Otherwise, the accuracy of the charging detection result may be reduced, and other related problems may even be further caused. In the actual execution process, the larger the fixed step increment Ustep, the fewer times the input voltage reference value is adjusted and the sampling is performed, and theoretically, the time for performing the charging detection is shorter. Conversely, the smaller the fixed step increment Ustep, the more times the input voltage reference value is adjusted and the sampling is performed, and theoretically, the time for performing the charging detection is longer. However, in either case, the duration of the charging detection does not exceed the set 60s.

[0062] like Figure 4 As shown, in one embodiment of the present invention, when the charging evaluation parameters include a voltage evaluation threshold, a first current evaluation threshold, and a second current evaluation threshold, wherein the voltage evaluation threshold is greater than zero, the second current evaluation threshold is less than the first current evaluation threshold, and the second current evaluation threshold is greater than zero, step S4 may include, but is not limited to, the following steps:

[0063] Step S41, respectively obtaining the absolute value of each input current change value;

[0064] Step S42: When all input voltage change values ​​are less than the voltage evaluation threshold and the absolute values ​​of all input current change values ​​are less than the first current evaluation threshold, it is determined that the input type corresponding to the input signal is a DC source input, and the DC port is switched to the DC source charging mode. Otherwise, step S43 is executed;

[0065] Step S43: respectively obtain the product of the input voltage change value and the input power change value between adjacent groups of input data to obtain a target input change value;

[0066] Step S44: Determine the input type corresponding to the input signal based on all input voltage change values, the absolute values ​​of all input current change values, all target input change values, and the second current evaluation threshold, and switch the DC port to an adaptive charging mode based on the input type corresponding to the input signal.

[0067] In this step, when all input voltage change values ​​are less than the voltage evaluation threshold and the absolute values ​​of all input current change values ​​are less than the first current evaluation threshold, it means that the amplitudes of the input voltage change values ​​and input current change values ​​in different sampling scenarios are relatively small. Then it can be determined that the input type corresponding to the input signal is a DC source input, so that the DC port is switched to a DC source charging mode. Otherwise, it is necessary to introduce a target input change value, and further evaluate it based on all target input change values ​​combined with all input voltage change values, the absolute values ​​of all input current change values, and the second current evaluation threshold.

[0068] It can be understood that the voltage evaluation threshold, the first current evaluation threshold and the second current evaluation threshold can be set accordingly according to the actual scenario, and there is no restriction here. For example, the voltage evaluation threshold, the first current evaluation threshold and the second current evaluation threshold are set to 0.2V, 0.5A and 0.1A respectively.

[0069] like Figure 5 As shown, in one embodiment of the present invention, step S44 may include, but is not limited to, the following steps:

[0070] Step S441: When all input voltage change values ​​are greater than zero, the absolute values ​​of all input current change values ​​are less than the second current evaluation threshold, and all target input change values ​​are greater than zero, it is determined that the input type corresponding to the input signal is adapter input, thereby switching the DC port to the adapter charging mode; otherwise, step S442 is executed;

[0071] Step S442: Determine that the input type corresponding to the input signal is photovoltaic MPPT input, thereby switching the DC port to photovoltaic MPPT charging mode.

[0072] In this step, when all target input change values ​​are greater than zero, it means that the input voltage change values ​​and input power change values ​​under different sampling scenarios are changing synchronously. Combined with the fact that all input voltage change values ​​are greater than zero and the absolute values ​​of all input current change values ​​are less than the second current evaluation threshold, and the second current evaluation threshold is less than the first current evaluation threshold, then it can be determined that the input type corresponding to the input signal is adapter input, and the DC port is switched to adapter charging mode. Otherwise, it can be determined that the change of input data under different sampling scenarios is nonlinear and irregular, and thus it can be determined that the input type corresponding to the input signal is photovoltaic MPPT input, and the DC port is switched to photovoltaic MPPT charging mode.

[0073] In order to better illustrate the working principles of the above embodiments, specific examples are given below for illustration.

[0074] Reference Figure 6 ,First, the input source detection of the DC port of the portable energy storage power source is performed. If the input voltage of the DC port is detected to be normal, it can be determined that there is an input signal at the DC port;

[0075] Then, when it is determined that the input voltage of the DC port is normal, it is determined whether to send a charging start-up command to the portable energy storage power supply. If so, the portable energy storage power supply is controlled to complete the charging initialization work and start the detection counter. The counting time of the detection counter is set to no more than 60 seconds;

[0076] Then, set the input voltage reference value to Uref1, record the actual input voltage U1 and input current I1 at this time, and calculate the input power P1=U1*I1;

[0077] Furthermore, after the first preset interval, the input voltage reference value is adjusted to Uref2 = Uref1 + Ustep, the actual input voltage U2 and input current I2 at this time are recorded, and the input power P2, as well as the input voltage change ΔUa = U2 - U1, the input current change ΔIa = I2 - I1, and the input power change ΔPa = P2 - P1 are calculated;

[0078] Furthermore, after the second preset interval, the input voltage reference value is adjusted to Uref3=Uref2+Ustep, the actual input voltage U3 and input current I3 at this time are recorded, and the input power P3, as well as the input voltage change value ΔUb=U3-U2, the input current change value ΔIb=I3-I2, and the input power change value ΔPb=P3-P2 are calculated;

[0079] Then, it is determined whether ΔUa<0.2V, |ΔIa|<0.5A and ΔUb<0.2V, |ΔIb|<0.5A are satisfied at the same time. If so, the DC source input flag is set and the DC port is switched to the DC source charging mode. Otherwise, the next stage of judgment is performed, that is, whether ΔUa>0, (ΔUa*ΔPa)>0, |ΔIa|<0.1A and ΔUb>0, (ΔUb*ΔPb)>0, |ΔIb|<0.1A are satisfied at the same time. If so, the adapter input flag is set and the DC port is switched to the adapter charging mode. Otherwise, the photovoltaic MPPT input flag is set and the DC port is switched to the photovoltaic MPPT charging mode.

[0080] It should be noted that, for the sake of convenience and brevity, the above example only illustrates adjusting the input voltage reference value twice, but this is not the only limitation.

[0081] Reference Figure 7 An embodiment of the present invention further provides a DC port charging control device for a portable energy storage power supply, which can implement the DC port charging control method for a portable energy storage power supply shown in any of the above embodiments. The DC port charging control device for a portable energy storage power supply includes:

[0082] The charging and starting unit is used to control the charging and starting of the portable energy storage power supply when detecting the input signal of the DC port;

[0083] a dynamic sampling unit, configured to dynamically adjust a preset input voltage reference value according to a preset interval when the portable energy storage power supply is charging and powered on, and to collect input data of a set of input signals based on the adjusted input voltage reference value each time the input voltage reference value is adjusted, wherein the input data includes an input voltage, an input current, and an input power corresponding to the adjusted input voltage reference value;

[0084] a difference calculation unit, used to respectively obtain the input voltage change value, input current change value and input power change value between adjacent groups of input data;

[0085] The charging identification switching unit is used to determine the input type corresponding to the input signal based on all input voltage change values, all input current change values, all input power change values ​​and preset charging evaluation parameters, and switch the DC port to an adaptive charging mode based on the input type corresponding to the input signal.

[0086] The DC port charging control device for a portable energy storage power supply provided in an embodiment of the present invention corresponds to the DC port charging control method for a portable energy storage power supply in the above-mentioned embodiments. Therefore, it also has similar embodiments and beneficial technical effects as the corresponding DC port charging control method for a portable energy storage power supply. Since the embodiments and beneficial technical effects of the DC port charging control method for a portable energy storage power supply have been described in detail above, the embodiments and beneficial technical effects of the corresponding DC port charging control device for a portable energy storage power supply will not be repeated here.

[0087] Figure 8 FIG. 1 is a schematic diagram of the structure of an electronic device 1000 provided by an embodiment of the present invention. Figure 8 As shown, the electronic device 1000 includes a memory 1100 and a processor 1200. The number of the memory 1100 and the processor 1200 can be one or more. Figure 8 In the embodiment, a memory 1100 and a processor 1200 are taken as an example; the memory 1100 and the processor 1200 in the device can be connected via a bus or other means. Figure 8 The bus connection is taken as an example.

[0088] Memory 1100, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the DC port charging control method for a portable energy storage power supply provided in any embodiment of the present invention. Processor 1200 implements the DC port charging control method for a portable energy storage power supply by executing the software programs, instructions, and modules stored in memory 1100.

[0089] The memory 1100 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function. In addition, the memory 1100 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 1100 may further include a memory remotely located relative to the processor 1200, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0090] An embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions for executing the DC port charging control method for a portable energy storage power supply provided in any embodiment of the present invention.

[0091] An embodiment of the present invention further provides a computer program product, including a computer program or computer instructions, wherein the computer program or computer instructions are stored in a computer-readable storage medium, a processor of a computer device reads the computer program or computer instructions from the computer-readable storage medium, and the processor executes the computer program or computer instructions, so that the computer device executes the DC port charging control method for a portable energy storage power supply provided in any embodiment of the present invention.

[0092] The electronic devices and application scenarios described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. Those skilled in the art will appreciate that with the evolution of electronic devices and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.

[0093] Those skilled in the art will appreciate that all or some of the steps in the methods, systems, and functional modules / units in the devices disclosed above may be implemented as software, firmware, hardware, or appropriate combinations thereof.

[0094] In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division between physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is well known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVDs) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, communication media typically embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0095] As used in this specification, the terms "component," "module," "system," and the like are used to refer to computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, or a computer. By way of illustration, both an application running on a computing device and the computing device can be a component. One or more components can reside in a process or execution thread, and a component can be located on a single computer or distributed between two or more computers. In addition, these components can be executed from various computer-readable media having various data structures stored thereon. Components can communicate, for example, via local or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component on a local system, a distributed system, or a network, such as the Internet interacting with other systems via signals).

Claims

1. A DC port charging control method for a portable energy storage power supply, characterized in that: The steps include: Step S1: When it is detected that the DC port is connected to an input signal, the portable energy storage power supply is controlled to charge and start up; Step S2: When the portable energy storage power supply is charging and turned on, dynamically adjusting a preset input voltage reference value according to a preset interval duration, and each time the input voltage reference value is adjusted, collecting a set of input data of the input signal based on the adjusted input voltage reference value, wherein the input data includes an input voltage, an input current, and an input power corresponding to the adjusted input voltage reference value; Step S3, respectively obtaining the input voltage change value, the input current change value, and the input power change value between adjacent groups of input data; Step S4: determining an input type corresponding to the input signal based on all the input voltage change values, all the input current change values, all the input power change values, and a preset charging evaluation parameter, and switching the DC port to an adapted charging mode based on the input type corresponding to the input signal; When the charging evaluation parameter includes a voltage evaluation threshold, a first current evaluation threshold, and a second current evaluation threshold, wherein the voltage evaluation threshold is greater than zero, the second current evaluation threshold is less than the first current evaluation threshold, and the second current evaluation threshold is greater than zero, step S4 includes: Step S41, respectively obtaining the absolute value of each input current change value; Step S42: When all the input voltage change values ​​are less than the voltage evaluation threshold and the absolute values ​​of all the input current change values ​​are less than the first current evaluation threshold, it is determined that the input type corresponding to the input signal is a DC source input, thereby switching the DC port to a DC source charging mode; otherwise, step S43 is executed; Step S43, respectively obtaining the product of the input voltage change value and the input power change value between adjacent groups of the input data to obtain a target input change value; Step S44: determining an input type corresponding to the input signal based on all the input voltage change values, the absolute values ​​of all the input current change values, all the target input change values, and the second current evaluation threshold, and switching the DC port to an adapted charging mode based on the input type corresponding to the input signal; The step S44 includes: Step S441: When all the input voltage change values ​​are greater than zero, the absolute values ​​of all the input current change values ​​are less than the second current evaluation threshold, and all the target input change values ​​are greater than zero, it is determined that the input type corresponding to the input signal is adapter input, thereby switching the DC port to the adapter charging mode; otherwise, step S442 is executed; Step S442: Determine that the input type corresponding to the input signal is photovoltaic MPPT input, thereby switching the DC port to a photovoltaic MPPT charging mode.

2. The DC port charging control method of a portable energy storage power supply according to claim 1, characterized in that: The steps in step S2, dynamically adjusting the preset input voltage reference value according to the preset interval duration, include: Step S21, obtaining the charging start-up detection time allowed by the portable energy storage power supply; Step S22: Dynamically adjust the preset input voltage reference value in fixed step increments according to a preset interval duration within the charging power-on detection time.

3. The DC port charging control method of a portable energy storage power supply according to claim 1, characterized in that: The step S1 comprises: Step S11: When it is detected that the DC port is connected to an input signal, a charging start instruction is sent to the portable energy storage power supply; Step S12: When the portable energy storage power supply receives the charging start-up instruction, the portable energy storage power supply is controlled to perform a charging initialization action in response to the charging start-up instruction; Step S13: When the portable energy storage power supply completes the charging initialization action, the portable energy storage power supply is controlled to charge and start up.

4. A DC port charging control device based on the DC port charging control method of a portable energy storage power supply according to any one of claims 1 to 3, characterized in that: include: A charging and power-on unit, configured to control the charging and power-on of the portable energy storage power supply when detecting that the DC port is connected to an input signal; a dynamic sampling unit, configured to dynamically adjust a preset input voltage reference value according to a preset interval duration when the portable energy storage power supply is charged and powered on, and to collect a set of input data of the input signal based on the adjusted input voltage reference value each time the input voltage reference value is adjusted, wherein the input data includes an input voltage, an input current, and an input power corresponding to the adjusted input voltage reference value; a difference calculation unit, configured to respectively obtain an input voltage change value, an input current change value, and an input power change value between adjacent groups of input data; A charging identification switching unit is used to determine the input type corresponding to the input signal based on all the input voltage change values, all the input current change values, all the input power change values ​​and preset charging evaluation parameters, and switch the DC port to an adaptive charging mode based on the input type corresponding to the input signal.

5. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When at least one of the programs is executed by at least one of the processors, the DC port charging control method of the portable energy storage power supply according to any one of claims 1 to 3 is implemented.

6. A computer-readable storage medium, characterized in that A program executable by a processor is stored therein, and when the program executable by the processor is executed by the processor, it is used to implement the DC port charging control method of the portable energy storage power supply according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Mobile energy storage power supply equipment, controller and internal power converter control method thereof

    CN115622190A