Direct current port charging control method of portable energy storage power supply and storage medium
By dynamically adjusting the input voltage reference value during charging and booting, collecting and analyzing the input data change value, the problem that the portable energy storage power charging method cannot identify the input type, and a stable and reliable diversified charging management is achieved.
Patent Information
- Application Number
- CN202510764750.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-10
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2045-06-10
AI Technical Summary
The DC port charging method of existing portable energy storage power supplies cannot accurately identify the input situation, cannot meet the diverse charging needs, and it is easy to misjudgment during the identification process, resulting in charging interruption.
During the charging and booting process, dynamically adjust the input voltage reference value, collect the input data change value, identify the input type based on the charging evaluation parameters, and switch to the adaptive charging mode.
It realizes accurate identification of input types during charging and booting, without interrupting charging, and improves the stability and reliability of charging detection.
Smart Images

Figure CN120342035A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power electronics control, and in particular to a DC port charging control method and device for a portable energy storage power supply, an electronic device, and a computer-readable storage medium. Background Art
[0002] In recent years, energy storage products have been increasingly widely used in power systems, especially portable energy storage power supplies, which can meet the power supply requirements in various scenarios such as households and outdoor emergencies. With the multi-dimensionalization of the application scenarios of portable energy storage power supplies, higher requirements are put forward for their fast charging ability. At present, for the DC port charging of portable energy storage power supplies, a direct detection method based on the input voltage is mainly used, that is, to judge the charging method according to the magnitude of the DC port input voltage before and after startup. However, this method has certain limitations and cannot accurately identify the input situation of the DC port, so it cannot meet the diverse charging requirements of portable energy storage power supplies. Summary of the Invention
[0003] The present invention aims to at least solve one of the technical problems in the related art to some extent. For this purpose, the present invention proposes a DC port charging control method and a storage medium for a portable energy storage power supply, which can accurately identify the DC port input and meet the diverse charging requirements of the portable energy storage power supply.
[0004] In a first aspect, an embodiment of the present invention provides a DC port charging control method for a portable energy storage power supply, including the following steps: Step S1, when it is detected that an input signal is connected to the DC port, control the portable energy storage power supply to start charging; Step S2, when the portable energy storage power supply starts charging, dynamically adjust a preset input voltage reference value at a preset interval duration, and each time the input voltage reference value is adjusted, collect a set of input data of the input signal based on the adjusted input voltage reference value, where the input data includes the input voltage, input current, and input power corresponding to the adjusted input voltage reference value; Step S3, respectively obtain the input voltage change value, input current change value, and input power change value between adjacent groups of the input data; Step S4, determine the input type corresponding to the input signal according to 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 switch the DC port to an adapted charging mode according to the input type corresponding to the input signal.
[0005] Optionally, in an 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, where 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: Obtain the absolute value of each input current change value respectively; 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, determine that the input type corresponding to the input signal is a DC source input, and thus switch the DC port to the DC source charging mode; otherwise, execute step S43; Step S43: Obtain the product of the input voltage change value and the input power change value between adjacent groups of the input data respectively to obtain a target input change value; Step S44: Determine the input type corresponding to the input signal according to 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 according to the input type corresponding to the input signal.
[0006] Optionally, in an embodiment of the present invention, 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, determine that the input type corresponding to the input signal is an adapter input, and thus switch the DC port to the adapter charging mode; otherwise, execute step S442; Step S442: Determine that the input type corresponding to the input signal is a PV MPPT input, and thus switch the DC port to the PV MPPT charging mode.
[0007] Optionally, in an embodiment of the present invention, the step in step S2 of dynamically adjusting a preset input voltage reference value at a preset interval duration includes: Step S21: Obtain the charging startup detection time allowed by the portable energy storage power supply; Step S22: During the charging startup detection time, dynamically adjust the preset input voltage reference value at a fixed step increment at the preset interval duration.
[0008] Optionally, in an embodiment of the present invention, step S1 includes: Step S11: When it is detected that an input signal is connected to the DC port, send a charging startup instruction to the portable energy storage power supply; Step S12: When the portable energy storage power supply receives the charging startup instruction, control the portable energy storage power supply to respond to the charging startup instruction and perform a charging initialization operation; Step S13: When the portable energy storage power supply completes the charging initialization operation, control the portable energy storage power supply to start charging.
[0009] In a second aspect, an embodiment of the present invention provides a DC port charging control device for a portable energy storage power supply, including: A charging startup unit, configured to control the portable energy storage power supply to start charging when it is detected that an input signal is connected to the DC port; A dynamic sampling unit, configured to, when the portable energy storage power supply starts charging, dynamically adjust a preset input voltage reference value at a preset interval duration, and each time the input voltage reference value is adjusted, collect a set of input data of the input signal based on the adjusted input voltage reference value, where 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 the input data; A charging identification switching unit, configured to determine an input type corresponding to the input signal according to 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 switch the DC port to an adapted charging mode according to the input type corresponding to the input signal.
[0010] In a third aspect, an embodiment of the present invention provides an electronic device, including: At least one processor; At least one memory, configured to store 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 for the portable energy storage power supply as described in the first aspect is implemented.
[0011] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a program executable by a processor is stored, and when the program executable by the processor is executed by the processor, it is used to implement the DC port charging control method for the portable energy storage power supply as described in the first aspect.
[0012] A DC port charging control method and storage medium for a portable energy storage power supply proposed by the present invention, when the portable energy storage power supply is charged and powered on, dynamically adjusts a preset input voltage reference value at 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 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 through comparison. Thus, by combining all input voltage change values, all input current change values, all input power change values, and charging evaluation parameters, the input type corresponding to the input signal of the DC port can be accurately identified, and then the DC port can be switched to an adapted charging mode according to the input type corresponding to the input signal, realizing flexible charging management of the portable energy storage power supply and meeting the diverse charging requirements of the portable energy storage power supply; in addition, compared with the related prior art, the entire identification process can be carried out when the portable energy storage power supply is charged and powered on, without the need for the portable energy storage power supply to interrupt charging or restart and power off to resume, further improving the stability and reliability of DC port charging detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 is a flowchart of a DC port charging control method for a portable energy storage power supply provided by an embodiment of the present invention; Figure 2 is Figure 1 a flowchart of step S1 in Figure 3 is Figure 1 a partial flowchart of the step "dynamically adjust the preset input voltage reference value at a preset interval duration" in step S2 in Figure 4 is Figure 1 a flowchart of step S4 in Figure 5 is Figure 4 a flowchart of step S44 in Figure 6 is an execution process schematic diagram of a DC port charging control method for a portable energy storage power supply provided by an embodiment of the present invention; Figure 7 is a structural schematic diagram of a DC port charging control device for a portable energy storage power supply provided by an embodiment of the present invention; Figure 8 is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0014] In order to make the objectives, 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 used to limit the present invention.
[0015] It should be noted that although functional modules are divided in the device schematic diagram and the logical sequence is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order from the module division in the device or the sequence in the flowchart.
[0016] Figure 1 It is a flowchart of the DC port charging control method for a portable energy storage power supply provided by an embodiment of the present invention. As Figure 1 shown, the DC port charging control method for the portable energy storage power supply may include, but is not limited to, steps S1 to S4.
[0017] Step S1: When it is detected that an input signal is connected to the DC port, control the portable energy storage power supply to turn on for charging; Step S2: In the case where the portable energy storage power supply is turned on for charging, dynamically adjust a preset input voltage reference value at a preset interval duration, and each time the input voltage reference value is adjusted, collect a set of input data of the input signal based on the adjusted input voltage reference value. Among them, the input data includes the input voltage, input current, and input power corresponding to the adjusted input voltage reference value. It can be 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; It should be noted that the purpose of collecting a set of input data of the input signal based on the adjusted input voltage reference value is as follows: Since the specific situation of the input signal is not clear, the adjusted input voltage reference value is used as the voltage standard, and the input signal is sampled according to this voltage standard, so as to obtain the input data of the input signal corresponding to this voltage standard. Since the input voltage reference value is dynamically adjusted, input data of the input signal corresponding to multiple different voltage standards can be obtained, so as to facilitate further arithmetic judgment through the obtained multiple sets of input data; Step S3: Respectively obtain the input voltage change value, input current change value, and input power change value between adjacent groups of input data; Step S4: Determine the input type corresponding to the input signal according to 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 adapted charging mode according to the input type corresponding to the input signal.
[0018] In this step, when the portable energy storage power supply is charged and powered on, the preset input voltage reference value is dynamically adjusted at preset intervals, so that each time the input voltage reference value is adjusted, a set of input data under the corresponding input voltage reference value is collected respectively. Then, by comparison, the input voltage change value, input current change value, and input power change value between adjacent groups of input data are obtained. Thus, by combining all the input voltage change values, all the input current change values, all the input power change values, and the charging evaluation parameters, the input type corresponding to the input signal of the DC port can be accurately identified, and then the DC port can be switched to the appropriate charging mode according to the input type corresponding to the input signal, realizing 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, in the related prior art, the misjudgment probability of the direct detection method based on the input voltage is relatively high, and the charging will be interrupted during the identification process. Once misjudged, it will cause the DC port charging to continuously hiccup and restart, and normal charging cannot be carried out. It is necessary to restart and power off to recover. However, in this embodiment, the entire identification process can be carried out when the portable energy storage power supply is charged and powered on, without the need for the portable energy storage power supply to interrupt charging or restart and power off to recover, further improving the stability and reliability of the DC port charging detection.
[0019] As Figure 2 shown, in an embodiment of the present invention, step S1 may but is not limited to including the following steps: Step S11: When it is detected that an input signal is connected to the DC port, send a charging power-on instruction to the portable energy storage power supply; Step S12: When the portable energy storage power supply receives the charging power-on instruction, control the portable energy storage power supply to respond to the charging power-on instruction and perform a charging initialization operation; Step S13: When the portable energy storage power supply completes the charging initialization operation, control the portable energy storage power supply to be charged and powered on.
[0020] In this step, when it is detected that an input signal is connected to the DC port, by sending a charging power-on instruction to the portable energy storage power supply, the portable energy storage power supply can further respond to the charging power-on instruction and perform a charging initialization operation. By performing the charging initialization operation, it is ensured that the portable energy storage power supply enters a stable charging preparation state. Thus, when the portable energy storage power supply completes the charging initialization operation and then controls the portable energy storage power supply to be charged and powered on, it can ensure that the portable energy storage power supply can stably enter the charged and powered-on state.
[0021] As Figure 3 shown, in an embodiment of the present invention, the steps in step S2 of dynamically adjusting the preset input voltage reference value at preset intervals may but is not limited to including the following steps: Step S21: Obtain the charging power-on detection time allowed by the portable energy storage power supply; Step S22: During the charging startup detection time, dynamically adjust the preset input voltage reference value at a fixed step increment according to a preset interval duration.
[0022] In this step, by obtaining the charging startup detection time allowed by the portable energy storage power supply, it is determined how long after the portable energy storage power supply is turned on it is suitable for charging startup detection. In other words, if the charging startup detection time is exceeded, it is not suitable or not recommended to perform charging startup detection. Then, during the charging startup detection time, dynamically adjust the preset input voltage reference value at a fixed step increment according to a preset interval duration to ensure that the dynamic change of the input voltage reference value is regular. Such a control variable effect is more precise, which is beneficial to reducing the detection error and improving the accuracy of identifying the type of input signal.
[0023] It can be understood that the specific values of the charging startup detection time, the preset interval duration, 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 startup detection time can be set to 60s, the preset interval duration can be set to 1s, the fixed step increment Ustep can be 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, corresponding sampling can be performed to obtain a set of input data of the input signal under 32V; the input voltage reference value Uref3 after the second adjustment is 34V. At this time, corresponding sampling can also be performed to obtain another set of input data of the input signal under 34V, and so on. Finally, an evaluation can be made based on multiple sets of input data obtained by sampling. However, it should be noted that setting 60s as the timeout time limit for charging detection in this embodiment does not mean that adjusting the input voltage reference value and sampling the corresponding input data must last until 60s. In fact, the input voltage corresponding to the input signal has a range constraint, which means that the input voltage reference value is also restricted by this input voltage upper limit. Then, 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 it may reduce the accuracy of the charging detection result and even further cause other related problems. In the actual execution process, the larger the fixed step increment Ustep, the fewer the number of times of adjusting the input voltage reference value and sampling, and theoretically the shorter the time for performing the charging detection. On the contrary, the smaller the fixed step increment Ustep, the more the number of times of adjusting the input voltage reference value and sampling, and theoretically the longer the time for performing the charging detection. However, in either case, the duration of the charging detection does not exceed the set 60s.
[0024] As Figure 4 shown, in an 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, where 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 but is not limited to including the following steps: Step S41: Obtain the absolute values of the respective input current change values. 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, determine that the input type corresponding to the input signal is a DC source input, and thus switch the DC port to the DC source charging mode; otherwise, execute step S43. Step S43: Obtain the product of the input voltage change value and the input power change value between adjacent groups of input data respectively to obtain the target input change value. Step S44: Determine the input type corresponding to the input signal according to 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 the adapted charging mode according to the input type corresponding to the input signal.
[0025] 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 indicates that the amplitudes of the input voltage change values and the 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, and thus the DC port is switched to the DC source charging mode; otherwise, the target input change value needs to be introduced, and further evaluation is performed according to all target input change values in combination with all input voltage change values, the absolute values of all input current change values, and the second current evaluation threshold.
[0026] 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 limitation 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.
[0027] As Figure 5 shown, in an embodiment of the present invention, step S44 may but is not limited to including the following steps: 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, determine that the input type corresponding to the input signal is an adapter input, and thus switch the DC port to the adapter charging mode; otherwise, execute step S442. Step S442: Determine that the input type corresponding to the input signal is PV MPPT input, and thus switch the DC port to the PV MPPT charging mode.
[0028] In this step, when all target input change values are greater than zero, it indicates that the input voltage change values and input power change values under different sampling scenarios change synchronously. Considering that 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 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 thus the DC port is switched to the adapter charging mode. Otherwise, it can be determined that the change of the input data under different sampling scenarios is non-linear and irregular, and thus it can be determined that the input type corresponding to the input signal is PV MPPT input, and further the DC port is switched to the PV MPPT charging mode.
[0029] To better illustrate the working principles of the above embodiments, specific examples are given below for explanation.
[0030] Refer to Figure 6 , first, perform the input source detection of the DC port of the portable energy storage power supply. If the input voltage of the DC port is normal, it can be determined that there is an input signal at the DC port; Then, when it is determined that the input voltage of the DC port is normal, it is judged whether a charging start command is sent to the portable energy storage power supply. If so, control the portable energy storage power supply to complete the charging initialization work and start the detection counter, and the counting time of this detection counter is set to not exceed 60 s; 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; Further, after the first preset interval duration, adjust the input voltage reference value to Uref2 = Uref1 + Ustep, record the actual input voltage U2 and input current I2 at this time, and calculate the input power P2 and the input voltage change value ΔUa = U2 - U1, input current change value ΔIa = I2 - I1, and input power change value ΔPa = P2 - P1; Further, after the second preset interval duration, adjust the input voltage reference value to Uref3 = Uref2 + Ustep, record the actual input voltage U3 and input current I3 at this time, and calculate the input power P3 and the input voltage change value ΔUb = U3 - U2, input current change value ΔIb = I3 - I2, and input power change value ΔPb = P3 - P2; Then, it is judged whether ΔUa < 0.2V, |ΔIa| < 0.5A, ΔUb < 0.2V, and |ΔIb| < 0.5A are satisfied simultaneously. If so, the DC source input flag is set and the DC port is switched to the DC source charging mode. Otherwise, the judgment of the next stage is executed, that is, it is judged whether ΔUa > 0, (ΔUa * ΔPa) > 0, |ΔIa| < 0.1A, ΔUb > 0, (ΔUb * ΔPb) > 0, and |ΔIb| < 0.1A are satisfied simultaneously. If so, the adapter input flag is set and the DC port is switched to the adapter charging mode. Otherwise, the PV MPPT input flag is set and the DC port is switched to the PV MPPT charging mode.
[0031] It should be noted that for the sake of brief description, only two adjustments of the input voltage reference value are used for illustration in the above example, but this does not uniquely limit.
[0032] Referring to Figure 7 , the 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 of the portable energy storage power supply shown in any of the above embodiments. The DC port charging control device for the portable energy storage power supply includes: A charging startup unit for controlling the charging startup of the portable energy storage power supply when an input signal is detected to be connected to the DC port; A dynamic sampling unit for dynamically adjusting a preset input voltage reference value at a preset interval duration when the portable energy storage power supply is charging and starting up, and collecting a set of input data of the input signal based on the adjusted input voltage reference value every time the input voltage reference value is adjusted, where the input data includes the input voltage, input current, and input power corresponding to the adjusted input voltage reference value; A difference calculation unit for respectively obtaining the input voltage change value, input current change value, and input power change value between adjacent groups of input data; A charging identification and switching unit for determining the input type corresponding to the input signal according to all the input voltage change values, all the input current change values, all the input power change values, and preset charging evaluation parameters, and switching the DC port to a suitable charging mode according to the input type corresponding to the input signal.
[0033] The DC port charging control device of the portable energy storage power supply provided by the embodiment of the present invention corresponds to the DC port charging control method of the portable energy storage power supply in the above embodiments. Therefore, it also has similar embodiments and beneficial technical effects to the DC port charging control method of the corresponding portable energy storage power supply. Since the embodiments and beneficial technical effects of the DC port charging control method of the 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 of the portable energy storage power supply will not be elaborated here.
[0034] Figure 8 It is a schematic structural diagram of an electronic device 1000 provided by an embodiment of the present invention. As Figure 8 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 and one memory 1100 and one processor 1200 are taken as an example herein; the memory 1100 and the processor 1200 in the device can be connected through a bus or other means, Figure 8 and taking the connection through the bus as an example herein.
[0035] The memory 1100, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as program instructions / modules corresponding to the DC port charging control method of the portable energy storage power supply provided by any embodiment of the present invention. The processor 1200 realizes the above-mentioned DC port charging control method by running the software programs, instructions, and modules stored in the memory 1100.
[0036] The memory 1100 may mainly include a program storage area and a data storage area. Among them, the program storage area can 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 magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some instances, the memory 1100 may further include a memory remotely provided relative to the processor 1200, and these remote memories can be connected to the device through a network. Examples of the above network include but are not limited to the Internet, enterprise intranet, local area network, mobile communication network, and their combinations.
[0037] An embodiment of the present invention also provides a computer-readable storage medium storing computer-executable instructions for executing the DC port charging control method of the portable energy storage power supply provided by any embodiment of the present invention.
[0038] An embodiment of the present invention further provides a computer program product, including a computer program or computer instructions. 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 of the portable energy storage power supply provided in any embodiment of the present invention.
[0039] The electronic devices and application scenarios described in the embodiments of the present invention are to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation to the technical solutions provided by the embodiments of the present invention. Those skilled in the art know 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.
[0040] Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, and their appropriate combinations.
[0041] In the hardware implementation, the division between the functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be executed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a transitory medium). As is well known to those of ordinary skill in the art, the term computer storage medium 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 disc (DVD) or other optical disc storage, magnetic cassette, 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. In addition, as is well known to those of ordinary skill in the art, a communication medium generally contains computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium.
[0042] As used in this specification, the terms "component", "module", "system", etc. are used to denote a computer-related entity, either 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, a thread of execution, a program, or a computer. By way of illustration, both an application running on a computing device and the computing device can be components. One or more components can reside within a process or thread of execution, and a component can be located on one computer or distributed between two or more computers. Further, these components can execute from various computer-readable media having various data structures stored thereon. The components can communicate, for example, over a local or remote process via a signal having one or more data packets (e.g., data from two components interacting with another component in a local system, a distributed system, or across a network such as the Internet with other systems via the signal).
Claims
1. A charging control method for the DC port of a portable energy storage power supply, characterized in that, It includes the following steps: Step S1: When it is detected that an input signal is connected to the DC port, control the portable energy storage power supply to turn on for charging; Step S2: In the case where the portable energy storage power supply is turned on for charging, dynamically adjust a preset input voltage reference value at a preset interval duration, and each time the input voltage reference value is adjusted, collect a set of input data of the input signal based on the adjusted input voltage reference value, where 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 obtain an input voltage change value, an input current change value, and an input power change value between adjacent groups of the input data; Step S4: Determine the input type corresponding to the input signal according to 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 switch the DC port to an adapted charging mode according to the input type corresponding to the input signal.
2. The DC port charging control method of the portable energy storage power supply according to claim 1, wherein When the charging evaluation parameter includes a voltage evaluation threshold, a first current evaluation threshold, and a second current evaluation threshold, where 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, the step S4 includes: Step S41: respectively obtain the absolute values of the input current change values; 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, determine that the input type corresponding to the input signal is DC source input, and thus switch the DC port to the DC source charging mode, otherwise execute step S43; Step S43: respectively obtain 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: Determine the input type corresponding to the input signal according to 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 according to the input type corresponding to the input signal.
3. The DC port charging control method of the portable energy storage power supply according to claim 2, wherein 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, determine that the input type corresponding to the input signal is adapter input, and thus switch the DC port to the adapter charging mode, otherwise execute step S442; Step S442: Determine that the input type corresponding to the input signal is PV MPPT input, and thus switch the DC port to the PV MPPT charging mode.
4. The DC port charging control method of the portable energy storage power supply according to claim 1, wherein The step in step S2 of dynamically adjusting the preset input voltage reference value at a preset interval duration includes: Step S21: obtain the charging start-up detection time allowed by the portable energy storage power supply; Step S22: During the charging startup detection time, dynamically adjust the preset input voltage reference value at a fixed step increment according to a preset interval duration.
5. The DC port charging control method of the portable energy storage power supply according to claim 1, characterized in that, The step S1 includes: Step S11: When it is detected that an input signal is connected to the DC port, send a charging startup instruction to the portable energy storage power supply; Step S12: When the portable energy storage power supply receives the charging startup instruction, control the portable energy storage power supply to respond to the charging startup instruction and perform a charging initialization operation; Step S13: When the portable energy storage power supply completes the charging initialization operation, control the portable energy storage power supply to start charging.
6. A DC port charging control device for a portable energy storage power supply, characterized in that, It includes: A charging startup unit, configured to control the portable energy storage power supply to start charging when it is detected that an input signal is connected to the DC port; A dynamic sampling unit, configured to, when the portable energy storage power supply starts charging, dynamically adjust the preset input voltage reference value according to a preset interval duration, and each time the input voltage reference value is adjusted, collect a set of input data of the input signal based on the adjusted input voltage reference value, where the input data includes the input voltage, input current, and input power corresponding to the adjusted input voltage reference value; A difference calculation unit, configured to respectively obtain the input voltage change value, input current change value, and input power change value between adjacent groups of the input data; A charging identification switching unit, configured to determine the input type corresponding to the input signal according to 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 switch the DC port to an adapted charging mode according to the input type corresponding to the input signal.
7. An electronic device, characterized in that, It includes: At least one processor; At least one memory, configured to store at least one program; When at least one of the programs is executed by at least one of the processors, it implements the DC port charging control method of the portable energy storage power supply according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, Wherein there is a program executable by the processor, 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 5.
Citation Information
Patent Citations
Charging control method and device and storage medium
CN113224822A
Charging method and device capable of automatically identifying adapter and photovoltaic input
CN114142553A
Power supply equipment identification method, electronic equipment and storage medium
CN114430188A
Mobile energy storage power supply equipment, controller and internal power converter control method thereof
CN115622190A
Energy storage power supply control method and device, energy storage power supply and storage medium
CN116316727A