Methods, devices, storage media, and products for controlling the current of a capacitor-type power supply.
By combining the battery electromotive force, internal resistance, and line impedance to calculate the voltage increment, and combining it with a dual-loop PID control algorithm, the problems of slow response speed and poor stability of the cascaded power supply are solved, achieving a control effect of fast response and stable output current.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHUHAI TITANS NEW POWER ELECTRONICS CO LTD
- Filing Date
- 2026-02-13
- Publication Date
- 2026-05-26
AI Technical Summary
In the existing battery formation and capacity testing process, the output current response speed of the charging and discharging power supply is slow and the stability is poor. Traditional PID control is prone to oscillation when improving the response speed, making it difficult to balance fast response and stability.
By acquiring the current increment in the target adjustment command, and combining it with the battery electromotive force, internal resistance, and line impedance of the previous cycle of the sectionalizing power supply, the voltage increment is calculated to adjust the output current. A dual-loop PID control algorithm is used for real-time feedback correction to avoid relying on increasing the proportional coefficient to improve the response speed.
It achieves improved response speed while ensuring output current stability, enhances current tracking accuracy and steady-state control accuracy, avoids output current oscillation, and meets the high-performance control requirements of high-end lithium battery formation and capacity testing processes.
Smart Images

Figure CN122092472A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power electronics and battery testing technology, specifically to a method, device, storage medium, and product for controlling the current of a power supply that forms a capacity. Background Technology
[0002] In the battery formation and capacity testing process, a high-precision, fast-response charging and discharging power supply is required to complete the battery performance testing. Therefore, the output current control of the charging and discharging power supply is a core technical aspect.
[0003] Existing technologies mostly employ the traditional dual-loop proportional-integral-derivative (PID) control strategy to regulate charging and discharging power supplies. However, this method suffers from slow response speed when the command current undergoes a step change. If the response speed is improved simply by increasing the proportional coefficient of the PID, it is very easy to cause periodic oscillations in the output current of the charging and discharging power supply, resulting in reduced stability. Summary of the Invention
[0004] This application discloses a method, device, storage medium, and product for controlling the current of a charge / discharge power supply, which can improve the response speed while ensuring the stability of the output current of the charge / discharge power supply.
[0005] A first aspect of this application discloses a method for controlling the current of a capacity-bound power supply, the method comprising: Obtain a target adjustment command, the target adjustment command including a target current increment, the target current increment being the difference between a first preset current and a second preset current, the first preset current being the target current of the previous adjustment cycle, and the second preset current being the target current of the current adjustment cycle; The voltage increment is obtained based on multiple target parameters and the target current increment. The multiple target parameters include the battery electromotive force, battery internal resistance, and line impedance of the formed capacity power supply in a stable state in the previous adjustment cycle. The formed capacity power supply includes the line and the battery. The adjustment amount is obtained based on the voltage increment; The output current of the condensed and capacitive power supply is adjusted according to the adjustment amount.
[0006] This scheme obtains a target adjustment command containing the target current increment, which is the difference between the target current of the previous adjustment cycle and the target current of the current cycle. Combining this with the battery electromotive force, battery internal resistance, and line impedance at the steady state of the capacitor-forming power supply in the previous cycle, the voltage increment is calculated based on the target current increment. The adjustment amount is then obtained from the voltage increment, thereby adjusting the output current of the capacitor-forming power supply. In essence, this control scheme is based on the battery electromotive force, battery internal resistance, and line impedance at the steady state of the previous adjustment cycle, and directly obtains the voltage increment based on the target current increment. This means that when the current command undergoes a step change, i.e., when the target current increment suddenly increases, a rapid response can be achieved based on the obtained voltage increment, without relying on increasing the PID proportional coefficient to improve speed. This avoids the problems of output current oscillation and instability in the capacitor-forming power supply, balancing response speed and operational stability. Furthermore, this scheme incorporates parameters such as battery internal resistance and battery electromotive force, as well as line impedance, which can eliminate control deviations caused by impedance and improve the tracking accuracy and steady-state control accuracy of the output current.
[0007] As an optional implementation, in a first aspect of this embodiment, obtaining the voltage increment based on multiple target parameters and the target current increment includes: The first sum value is obtained based on the battery internal resistance and the line impedance; The second product is obtained based on the first sum and the target current increment; The voltage increment is determined by the sum of the second product and the electromotive force.
[0008] In this scheme, the battery's internal resistance and the line impedance are summed to obtain a first sum. This first sum is then multiplied by the target current to obtain a second product. Finally, the second product is added to the electromotive force (EMF) to determine the voltage increment. This calculation method employs simple algebraic operations, resulting in high computational efficiency and short processing time, thus improving control response speed. Simultaneously, by accurately combining actual parameters such as battery internal resistance, line impedance, and battery EMF, it effectively compensates for voltage deviations caused by hardware impedance and battery EMF, ensuring accurate and reliable voltage increment calculation and laying the foundation for subsequent current stability regulation.
[0009] As an optional implementation, in a first aspect of this embodiment, obtaining the adjustment amount based on the voltage increment includes: Obtain output parameters, including port current and port voltage, wherein the port current and port voltage are the output current and output voltage of the current adjustment cycle of the calibrated power supply; The current loop output value is obtained based on the dual-loop proportional-integral-derivative control algorithm and the output parameters. The adjustment amount is obtained based on the sum of the voltage increment and the current loop output value.
[0010] In this scheme, the port current and port voltage output parameters of the current regulation cycle of the cascaded power supply are collected. The current loop output value is calculated through a dual-loop PID control algorithm. The voltage increment is summed with the current loop output value to obtain the final regulation value. It can be understood that using a dual-loop PID to achieve real-time closed-loop feedback correction can ensure the steady-state control accuracy of the output current; at the same time, introducing the voltage increment as feedforward to participate in the regulation calculation can effectively improve the dynamic response speed of the current command, achieving a combination of feedforward compensation and closed-loop correction, balancing system response speed and operational stability.
[0011] As an optional implementation, in the first aspect of this embodiment, obtaining the current loop output value based on the dual-loop proportional-integral-derivative control algorithm and the output parameters includes: The voltage loop output value is obtained based on the preset voltage and the port voltage, wherein the preset voltage is the target voltage for the current adjustment cycle; The current loop output value is obtained based on the voltage loop output value and the port current.
[0012] In this scheme, the voltage loop output value is obtained based on the preset voltage and port voltage of the current adjustment cycle. Then, the current loop output value is calculated based on the voltage loop output value and the port current. It can be understood that by adopting a dual-loop PID control structure with an outer voltage loop and an inner current loop, the voltage loop first determines the current reference, and then the current loop achieves precise adjustment. This ensures stable output voltage while improving the response speed and accuracy of current control, thus enhancing the overall stability of the control system for the step-capacitance power supply.
[0013] As an optional implementation, in the first aspect of this embodiment, before obtaining the target adjustment command, the method further includes: Acquire multiple operating data, including a second voltage, a second current, and a third voltage. The second voltage and the second current are the output voltage and output current of the formation and capacity power supply when it is in a stable state in the previous adjustment cycle, and the third voltage is the input voltage of the battery when the formation and capacity power supply is in a stable state in the previous adjustment cycle. The target parameters are obtained based on the multiple operational data.
[0014] In this scheme, before obtaining the target adjustment command, the operating data such as the output voltage, output current, and battery port voltage of the power supply in the steady state during the previous adjustment cycle are collected. Then, the target parameters are determined based on the above operating data. It can be understood that calculating the target parameters based on the steady-state operating data of the previous cycle can make the parameters fit the actual operating conditions of the system, improve the accuracy of subsequent calculations, and provide a reliable data foundation for precise and stable power supply adjustment.
[0015] As an optional implementation, in a first aspect of this embodiment, obtaining the target parameter based on the plurality of operational data includes: A first difference is obtained based on the second voltage and the third voltage; The line impedance is obtained based on the first difference and the second current.
[0016] In this scheme, the line impedance is obtained by calculating the first difference between the second and third voltages, and then performing a calculation with the second current. It can be understood that the line impedance is calculated online based on the steady-state operating data of the previous cycle, without the need for additional hardware detection. This enables real-time and accurate acquisition of impedance parameters, providing reliable parameter support for subsequent control and improving adjustment accuracy.
[0017] As an optional implementation, in a first aspect of this embodiment, obtaining the target parameter based on the plurality of operational data includes: The first product is obtained based on the second current and the battery internal resistance; The electromotive force is obtained based on the third voltage and the first product.
[0018] In this scheme, the first product is obtained based on the second current and the battery's internal resistance, and then the battery's electromotive force (EMF) is calculated based on the third voltage and the first product. It can be understood that calculating the battery EMF based on the steady-state operating data of the previous cycle is a simple and real-time calculation method that can obtain accurate EMF parameters, providing a reliable basis for subsequent voltage increment calculations and current regulation.
[0019] A second aspect of this application discloses a control device for controlling the current of a capacity-bound power supply, comprising: The acquisition module is used to acquire a target adjustment instruction, the target adjustment instruction including a target current increment, the target current increment being the difference between a first preset current and a second preset current, the first preset current being the target current of the previous adjustment cycle, and the second preset current being the target current of the current adjustment cycle. The calculation module is configured to obtain a voltage increment based on multiple target parameters and the target current increment, wherein the multiple target parameters include the battery electromotive force, battery internal resistance, and line impedance of the formed-up capacity power supply in a stable state in the previous adjustment cycle, and the formed-up capacity power supply includes a line and a battery; and to obtain an adjustment amount based on the voltage increment. A control module is used to adjust the output current of the formation and capacitance power supply according to the adjustment amount.
[0020] A third aspect of this application discloses an electronic device including a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor executes the program to implement the steps of any of the methods described above.
[0021] A fourth aspect of this application discloses a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any of the preceding claims. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a structural schematic diagram of a stepper motor drive circuit disclosed in an embodiment of this application; Figure 2 This is a structural schematic diagram of another stepper motor drive circuit disclosed in an embodiment of this application; Figure 3 This is a structural schematic diagram of another stepper motor drive circuit disclosed in an embodiment of this application; Figure 4 This is a structural schematic diagram of another stepper motor drive circuit disclosed in an embodiment of this application; Figure 5 This is a structural schematic diagram of another stepper motor drive circuit disclosed in an embodiment of this application; Figure 6 This is a structural schematic diagram of another air conditioner disclosed in an embodiment of this application; Figure 7 This is a structural schematic diagram of the electronic device disclosed in the embodiments of this application. Detailed Implementation
[0024] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0025] It should be noted that the terms "first, second, third" used in the embodiments of this application are used to distinguish similar or different objects and do not represent a specific order of objects. It can be understood that "first, second, third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0026] It should be noted that the terms "comprising" and "having," and any variations thereof, in the embodiments and accompanying drawings of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the steps or units listed, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.
[0027] In the lithium battery manufacturing process, the formation and capacity testing is a core downstream process that determines the battery's capacity, consistency, cycle life, and final product quality. This process must rely on a high-precision, high-dynamic-response power supply to perform precise and controllable charging and discharging operations on the battery, thereby completing battery performance calibration, capacity testing, and aging screening. Therefore, precise control of the output current of the power supply is a core technical link that determines the overall testing accuracy and process reliability.
[0028] Currently, most industries employ a traditional dual-loop proportional-integral-derivative (PID) control strategy for output current regulation of charging and discharging power supplies, consisting of an outer voltage loop and an inner current loop. This approach is widely used in conventional, low-requirement charging and discharging scenarios due to its mature principle, simple implementation, and strong hardware adaptability. However, in actual capacity formation operations, the command current needs to undergo frequent step-like changes based on battery detection processes. Traditional dual-loop PID control suffers from slow dynamic response and current tracking lag in such dynamic change scenarios, failing to quickly follow changes in the command current and thus unable to meet the stringent requirements of rapid current switching and accurate tracking during capacity formation. To improve response speed, simply increasing the PID proportional coefficient to enhance control may accelerate the current tracking rate to some extent, but it will significantly amplify system disturbances, disrupt the stability of the closed-loop control of the charging and discharging power supply, and easily lead to continuous periodic oscillations in the output current. This will result in a significant decrease in current control accuracy and distortion of the output waveform, which will not only affect the accuracy of battery detection data but may also cause charging and discharging shocks to the battery cells, damage battery performance, and exacerbate the operating losses of the power supply equipment. Ultimately, this leads to a technical contradiction where response speed and steady-state stability cannot be balanced, making it difficult to meet the high-performance control requirements of the charging and discharging power supply for high-end lithium battery formation and capacity processes.
[0029] To improve response speed while ensuring the stability of the output current of the charging and discharging power supply, a first aspect of this application discloses a method for controlling the current of a capacity-bound power supply, the method comprising: Obtain the target adjustment command, which includes the target current increment. The target current increment is the difference between the first preset current and the second preset current. The first preset current is the target current of the previous adjustment cycle, and the second preset current is the target current of the current adjustment cycle. The voltage increment is obtained based on multiple target parameters and target current increment. The multiple target parameters include the battery electromotive force, battery internal resistance and line impedance of the capacity-forming power supply in the previous regulation cycle when it is in a stable state. The capacity-forming power supply includes the line and the battery. The adjustment amount is obtained based on the voltage increment; The output current of the capacitor-type power supply is adjusted according to the adjustment amount.
[0030] It is understandable that this control scheme is based on the battery electromotive force, battery internal resistance, and line impedance under steady state in the previous adjustment cycle. It directly obtains the voltage increment by combining the target current increment. That is, when the current command changes abruptly, i.e. when the target current increment suddenly increases, it can achieve a rapid response based on the obtained voltage increment without relying on increasing the proportional coefficient of the PID controller to improve speed. This avoids the problems of output current oscillation and instability of the cascaded power supply, and balances response speed and operational stability. Furthermore, this scheme also incorporates parameters such as battery internal resistance and battery electromotive force, as well as line impedance, which can eliminate control deviations caused by impedance and improve the tracking accuracy and steady-state control accuracy of the output current.
[0031] The method for controlling the current of a capacity-forming power supply provided in this application will be described in detail below with reference to the accompanying drawings and embodiments, so as to make the purpose and technical solution of this application clearer and more intuitive. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.
[0032] It is understood that the formation and capacity-testing power supplies provided in the embodiments of this application include, but are not limited to, bidirectional BUCK-type formation power supplies, bidirectional BUCK-BOOST-type formation power supplies, bidirectional full-bridge DC / DC formation power supplies, and multi-level topology formation and capacity-testing power supplies, etc. No specific limitations are made here, and they can be selected according to the actual situation.
[0033] For ease of understanding, this application uses a bidirectional BUCK-BOOST type formation power supply as an example for illustration. However, it should be understood that the formation and capacity-holding power supply in this application is not limited to this, and can also be other formation and capacity-holding power supplies, such as multi-level topology formation and capacity-holding power supplies.
[0034] Please see Figure 1 , Figure 1This is a schematic structural diagram illustrating an implementation scenario of a formation and capacity-setting power supply provided in this application. The diagram includes a formation and capacity-setting power supply 10, a circuit 11, and a battery 12. The formation and capacity-setting power supply 10 is connected to the battery 12 via the circuit 11. The formation and capacity-setting power supply 10 establishes a stable electrical connection with the battery 12 through the electrical connection circuit 11, forming an electrical path that enables bidirectional energy transfer. This provides the basic hardware connection support for the formation and capacity-setting power supply 10 to perform charging, discharging, constant current, and constant voltage regulation operations on the battery 12, and for battery performance testing.
[0035] Based on the above schematic diagram of the implementation scenario of the power supply for capacity formation, and to more clearly understand the flowchart of the control method for the current of the power supply for capacity formation disclosed in this application, please refer to... Figure 2 The flowchart includes at least the following steps.
[0036] Step S101: Obtain the target adjustment instruction, which includes the target current increment. The target current increment is the difference between the first preset current and the second preset current. The first preset current is the target current of the previous adjustment cycle, and the second preset current is the target current of the current adjustment cycle.
[0037] In this embodiment, the control device of the transformer-type power supply executes instruction and parameter acquisition operations to acquire the target adjustment instruction corresponding to the current control cycle. The target adjustment instruction includes a target current increment for performing current adjustment. The target current increment is determined by numerical difference calculation, specifically the result of a difference calculation between a first preset current and a second preset current; wherein the first preset current is the target current corresponding to the previous adjustment cycle, and the second preset current is the target current corresponding to the current adjustment cycle.
[0038] In this embodiment, the target adjustment command is a control command generated by the control device of the sectionalizing power supply and used to perform current adjustment and drive the action of the actuator. It is a standardized control signal output by the control device, which includes the core adjustment parameter of target current increment, and provides data basis for the current adjustment of the actuator.
[0039] In this embodiment, the target current increment is a quantitative calculation parameter in the target adjustment command. It is obtained by subtracting the first preset current from the second preset current. It serves only as a numerical result representing the change in current adjustment and is an intermediate parameter for the control device to perform current adjustment calculations.
[0040] In this embodiment, the first preset current is a pre-calibrated fixed parameter, the value of which is equivalent to the target current determined and output by the control device in the previous adjustment cycle that is immediately adjacent to the current adjustment cycle in terms of timing. This parameter is stored in the built-in storage unit by the control device after the calculation is completed in the previous adjustment cycle, so that it can be called in the current adjustment cycle.
[0041] In this embodiment, the second preset current is a pre-calibrated fixed parameter, the value of which is equivalent to the target current determined and output by the control device during the current adjustment cycle. It is one of the core basic parameters for calculating the target current increment.
[0042] In this embodiment, the previous adjustment cycle refers to a control cycle unit that is earlier in time than the current adjustment cycle and adjacent to the current adjustment cycle, and has completed the entire control process of data acquisition, parameter calculation, and instruction output.
[0043] In this embodiment, the current adjustment cycle refers to the control cycle unit that the control device is currently executing and is in a real-time operating state. It is the reference timing unit for the calculation of parameters such as target current and target current increment and the generation of instructions in this step.
[0044] In this embodiment, the target current is a standard current parameter determined by the control device to drive the execution component within a single adjustment cycle. It is divided into the target current corresponding to the previous adjustment cycle and the target current corresponding to the current adjustment cycle, and is the basic parameter for calculating the target current increment.
[0045] Step S102: Obtain the voltage increment based on multiple target parameters and target current increment. The multiple target parameters include the battery electromotive force, battery internal resistance, and line impedance of the capacity-forming power supply when it is in a stable state in the previous adjustment cycle. The capacity-forming power supply includes the line and the battery.
[0046] In this embodiment, the control device uses multiple predetermined target parameters and the target current increment obtained in the previous steps as calculation input parameters, and performs numerical calculations according to the preset calculation rules built into the control device to obtain the voltage increment corresponding to the current adjustment cycle. Specifically, the multiple target parameters include: the battery electromotive force, battery internal resistance, and line impedance collected or calibrated when the capacity-forming power supply was in a stable state in the previous adjustment cycle; the hardware components of the capacity-forming power supply include electrical connection lines and the battery to be processed.
[0047] In this embodiment, the voltage increment is a voltage-type adjustment change parameter obtained by the control device through preset calculation logic with multiple target parameters and target current increment as inputs. It is a quantified numerical intermediate calculation parameter and is only used as the basic data for the voltage regulation calculation of the calibrated power supply.
[0048] In this embodiment, the multiple target parameters are a set of steady-state basic parameters that are pre-set for calculating the voltage increment. They are composed of the battery electromotive force, battery internal resistance, and line impedance of the calibrated power supply under the stable operating condition of the previous adjustment cycle. They do not include real-time dynamic adjustment quantities and are only used as fixed calculation inputs.
[0049] In the embodiments, a steady state refers to the state in which the electrical circuit parameters and battery operating parameters of the power supply are not subject to instantaneous changes during the charging and discharging process. When the power supply is in a steady state at a certain set current, it can provide a working condition reference for the calibration of battery electromotive force, battery internal resistance, and line impedance.
[0050] In this embodiment, the battery electromotive force (EMF) is a core steady-state electrical parameter characterizing the inherent electrochemical properties of the battery. It refers to the equilibrium potential difference between the positive and negative electrodes of the battery when the battery is in electrochemical equilibrium state with no external load and no charging or discharging current flowing through it. This parameter is determined by the inherent properties of the battery, such as the electrode material system, electrolyte composition, electrochemical reaction mechanism, and ambient temperature. It is an inherent thermodynamic characteristic parameter of the battery itself and is not a dynamic electrical parameter generated by external excitation.
[0051] Alternatively, there are many methods to obtain the battery electromotive force, such as equivalent model algorithm back deduction, static open circuit voltage method, potentiometer compensation method, and volt-ampere characteristic extrapolation method. No specific restrictions are made here, and the appropriate method can be selected according to the actual situation.
[0052] In the embodiment, the battery internal resistance is a steady-state equivalent impedance parameter that characterizes the battery's internal resistance to current. It is the equivalent total impedance formed by the internal conductive path and electrochemical reaction process during the charging and discharging process, and belongs to the core inherent electrical characteristic parameter of the battery.
[0053] In some embodiments, the battery internal resistance mainly comprises two parts: ohmic internal resistance and polarization internal resistance. Ohmic internal resistance is composed of the inherent impedance of the physical structure of the battery electrode material, electrolyte, separator, current collector, tabs and internal conductive connectors. Polarization internal resistance is the equivalent sum of electrochemical polarization impedance and concentration polarization impedance generated by the battery during the electrochemical reaction process due to reaction rate lag, ion migration and concentration distribution differences.
[0054] Optionally, the internal resistance of the battery can be obtained by means of AC internal resistance method, DC pulse internal resistance method, electrochemical impedance spectroscopy method, and online algorithm estimation of battery management system, etc. No specific restrictions are imposed here, and the appropriate method can be selected according to the actual situation.
[0055] In the embodiment, the line impedance is a steady-state equivalent impedance parameter that characterizes the resistance of the electrical connection line of the formed-up power supply to current transmission. It is an inherent physical characteristic parameter of the charging and discharging circuit of the formed-up power supply and together with the battery internal resistance, it constitutes the overall circuit impedance.
[0056] In some embodiments, the impedance is the sum of the equivalent resistance and equivalent inductance of electrical connection components such as power transmission lines, terminals, connectors, and busbars in a calibrated power supply. It is determined by the inherent properties of the line material, wire diameter, length, connection process, and physical structure, and its value remains relatively constant under the premise that the circuit structure remains unchanged.
[0057] Alternatively, there are many methods to obtain line impedance, such as LCR bridge measurement, impedance analyzer measurement, DC voltage drop method measurement, volt-ampere method reverse calculation, and geometric parameter calculation. No specific restrictions are imposed here, and the appropriate method can be selected according to the actual situation.
[0058] In some embodiments, obtaining the voltage increment based on multiple target parameters and the target current increment can be achieved by first obtaining a first sum based on the battery internal resistance and the line impedance, then obtaining a second product based on the first sum and the target current increment, and finally determining the voltage increment by summing the second product and the electromotive force. For example, the formula for obtaining the voltage increment can be: V_ff = E_bat + I_ref × (R_bat + R_line); Where V_ff is the voltage increment, E_bat is the battery electromotive force, R_bat is the battery internal resistance, R_line is the line impedance, and I_ref is the target current increment.
[0059] In this scheme, the battery's internal resistance and the line impedance are summed to obtain a first sum. This first sum is then multiplied by the target current to obtain a second product. Finally, the second product is added to the electromotive force (EMF) to determine the voltage increment. This calculation method employs simple algebraic operations, resulting in high computational efficiency and short processing time, thus improving control response speed. Simultaneously, by accurately combining actual parameters such as battery internal resistance, line impedance, and battery EMF, it effectively compensates for voltage deviations caused by hardware impedance and battery EMF, ensuring accurate and reliable voltage increment calculation and laying the foundation for subsequent current stability regulation.
[0060] Step S103: Obtain the adjustment amount based on the voltage increment; In this embodiment, the control device uses the voltage increment calculated in the preceding control process as the core input parameter, and performs numerical calculation and parameter conversion processing on the voltage increment according to the preset adjustment amount calculation logic embedded in the control device to determine the adjustment amount corresponding to the current adjustment cycle.
[0061] Step S104: Adjust the output current of the divided capacitive power supply according to the adjustment amount.
[0062] In this embodiment, the control device converts the determined adjustment amount into a drive control signal adapted to the power output unit of the calibrated power supply, and performs an adjustment operation on the output current of the calibrated power supply based on the drive control signal, thereby completing the regulation of the output current of the calibrated power supply within this adjustment cycle.
[0063] In this embodiment, the adjustment amount is a dedicated control parameter obtained by the control device after standardizing and converting the voltage increment through a preset adjustment amount calculation logic. This adjustment amount is an intermediate control parameter connecting the voltage calculation stage and the current output regulation stage. Its numerical form is adapted to the control command format of the formed-up power supply and is the direct basis for the control device to generate drive control signals and execute output current regulation. The preset adjustment amount calculation logic is a standardized calculation rule that is pre-formulated and stored in the non-volatile memory unit of the control device by technicians, taking into account the hardware electrical characteristics of the formed-up power supply, the response characteristics of the power output module, and the regulation requirements of the battery formation and capacity testing process. This calculation logic uses only the voltage increment as the sole calculation input, the calculation process is fixed and there is no additional dynamic parameter interference, ensuring the standardization and consistency of the adjustment amount generation.
[0064] In this embodiment, the output current is the charging and discharging working current output by the formation and capacity grading power supply to the battery to be processed through the power output unit. It is the core controlled parameter in the battery formation and capacity grading process. The value of this current is regulated by the control device through the drive control signal corresponding to the adjustment amount. The output accuracy and stability are adapted to the process standards of battery formation and capacity grading, providing a stable current excitation for battery electrochemical treatment.
[0065] For example, the control device first acquires a target adjustment command, which includes a target current increment. This target current increment is the value obtained by calculating the difference between a first preset current and a second preset current. The first preset current is the target current of the capacity-bound power supply in the previous adjustment cycle, and the second preset current is the target current of the capacity-bound power supply in the current adjustment cycle. The control device uses multiple target parameters and the aforementioned target current increment as inputs to calculate the voltage increment using a built-in preset algorithm. These multiple target parameters are steady-state parameters calibrated when the capacity-bound power supply was operating stably in the previous adjustment cycle, specifically including battery electromotive force, battery internal resistance, and line impedance. The capacity-bound power supply includes electrical connection lines and the battery to be processed. Based on the calculated voltage increment, the control device determines the adjustment amount corresponding to the current adjustment cycle based on this voltage increment and parameter conversion logic. Finally, it performs an adjustment operation on the output current of the capacity-bound power supply based on this adjustment amount, completing the output current regulation for the current adjustment cycle.
[0066] This scheme obtains a target adjustment command containing the target current increment, which is the difference between the target current of the previous adjustment cycle and the target current of the current cycle. Combining this with the battery electromotive force, battery internal resistance, and line impedance at the steady state of the capacitor-forming power supply in the previous cycle, the voltage increment is calculated based on the target current increment. The adjustment amount is then obtained from the voltage increment, thereby adjusting the output current of the capacitor-forming power supply. In essence, this control scheme is based on the battery electromotive force, battery internal resistance, and line impedance at the steady state of the previous adjustment cycle, and directly obtains the voltage increment based on the target current increment. This means that when the current command undergoes a step change, i.e., when the target current increment suddenly increases, a rapid response can be achieved based on the obtained voltage increment, without relying on increasing the PID proportional coefficient to improve speed. This avoids the problems of output current oscillation and instability in the capacitor-forming power supply, balancing response speed and operational stability. Furthermore, this scheme incorporates parameters such as battery internal resistance and battery electromotive force, as well as line impedance, which can eliminate control deviations caused by impedance and improve the tracking accuracy and steady-state control accuracy of the output current.
[0067] To better understand how to obtain the adjustment amount based on the voltage increment to achieve a combination of feedforward compensation and closed-loop correction, balancing system response speed and operational stability, this application also discloses a flowchart of another method for controlling the current of a capacitive power supply. Please refer to [link to flowchart]. Figure 3 The process includes at least the following steps.
[0068] Step S201: Obtain the target adjustment command. The target adjustment command includes the target current increment, which is the difference between the first preset current and the second preset current. The first preset current is the target current of the previous adjustment cycle, and the second preset current is the target current of the current adjustment cycle.
[0069] Step S202: Obtain the voltage increment based on multiple target parameters and target current increment. The multiple target parameters include the battery electromotive force, battery internal resistance, and line impedance of the capacity-forming power supply when it is in a stable state in the previous adjustment cycle. The capacity-forming power supply includes the line and the battery.
[0070] In the embodiments, the descriptions of steps S201 and S202 can refer to the descriptions of steps S101 and S102 above, and will not be repeated in detail here.
[0071] Step S203: Obtain the output parameters, which include port current and port voltage. The port current and port voltage are the output current and output voltage of the current periodically adjusted capacitive power supply.
[0072] In this embodiment, the control device performs a real-time output parameter acquisition operation to obtain the output parameters of the batching and capacitating power supply corresponding to the current adjustment cycle; the output parameters specifically include port current and port voltage.
[0073] Among them, the port current is the real-time operating current output by the settling-capacity power supply through the output port. It is obtained by the current acquisition unit built into the settling-capacity power supply in real time during the current adjustment cycle. It is a core measured parameter characterizing the power supply's output capability, and its value corresponds to the actual output current of the settling-capacity power supply during the current adjustment cycle. The port voltage is the real-time operating voltage output by the settling-capacity power supply through the output port. It is obtained by the voltage acquisition unit built into the settling-capacity power supply in real time during the current adjustment cycle. It is a key measured parameter characterizing the power supply's output electrical characteristics, and its value corresponds to the actual output voltage of the settling-capacity power supply during the current adjustment cycle.
[0074] In this embodiment, the current adjustment cycle is a complete timing unit in which the control device of the power supply undergoes parameter acquisition, data processing, and output adjustment. It is the reference time cycle for output parameter acquisition and output control. Within each adjustment cycle, the control device completes one round of output parameter acquisition and corresponding regulation processing, providing a timing reference for the control of the power supply.
[0075] In this embodiment, the output port is the physical interface of the power supply for power output and electrical connection with an external battery. It is divided into a positive output port and a negative output port. The port current and port voltage are both collected at the output port, which is the direct detection point of the electrical output of the power supply.
[0076] Step S204: Obtain the current loop output value based on the dual-loop proportional-integral-derivative control algorithm and output parameters.
[0077] In this embodiment, the control device of the power supply is configured to call the dual-loop proportional-integral-derivative control algorithm pre-embedded in the control program. The output parameters of the current adjustment cycle collected in the previous steps are used as the real-time feedback input data of the control algorithm. Through the closed-loop operation and parameter processing of the dual-loop proportional-integral-derivative control algorithm, the current loop output value corresponding to the current adjustment cycle is obtained. The current loop output value is used as the intermediate control parameter of the subsequent output regulation stage of the power supply.
[0078] Among them, the dual-loop proportional-integral-derivative control algorithm, also known as the dual-loop PID control algorithm, is a dual closed-loop control algorithm composed of an outer loop control loop and a current inner loop control loop. This algorithm integrates three types of operational logic: proportional regulation, integral regulation, and derivative regulation, and can complete closed-loop operations based on real-time feedback output parameters.
[0079] Optionally, the core parameters of the algorithm, such as the proportional coefficient, integral coefficient, and differential coefficient, can be predetermined and stored in the system through calibration, or they can be customized by the user. No specific restrictions are imposed here.
[0080] In this embodiment, the output parameters are the set of actual output electrical parameters that the control device of the decomposed power supply acquires in real time through the built-in hardware acquisition unit within the current adjustment cycle. Specifically, these parameters include the port current and port voltage of the decomposed power supply output port. These output parameters provide real-time feedback input for the dual-loop proportional-integral-derivative control algorithm.
[0081] In this embodiment, the current loop output value is a dedicated output control parameter for the current loop generated by the control device based on the dual-loop proportional-integral-derivative control algorithm. It is an intermediate calculation result in the closed-loop regulation process of the power supply. This value is generated by the inner current loop calculation and is specifically used to constrain and regulate the output current of the power supply. It is a key parameter connecting the control algorithm calculation stage and the power output drive stage.
[0082] In some embodiments, the current loop output value is obtained based on the dual-loop proportional-integral-derivative control algorithm and output parameters. This can be achieved by first obtaining the voltage loop output value based on the preset voltage and the port voltage, where the preset voltage is the target voltage of the current adjustment cycle, and then obtaining the current loop output value based on the voltage loop output value and the port current.
[0083] In this embodiment, the process of obtaining the current loop output value based on the dual-loop proportional-integral-derivative (PID) control algorithm and the output parameters is achieved through a two-level nested operation of the outer voltage loop and the inner current loop: First, the preset voltage corresponding to the current adjustment cycle and the real-time acquired port voltage are used as inputs. The corresponding voltage loop output value is obtained through PID adjustment of the voltage loop; wherein, the preset voltage is the target voltage of the cascaded power supply in the current adjustment cycle. Second, the voltage loop output value obtained from the aforementioned operation and the real-time acquired port current are used as inputs. The corresponding current loop output value is finally obtained through PID adjustment of the current loop.
[0084] In this embodiment, the preset voltage is a voltage setpoint parameter pre-set by the condensing power supply control device in the current adjustment cycle. Its value is consistent with the target voltage of the current adjustment cycle. It is the output voltage setpoint value that the condensing power supply is expected to achieve in the current adjustment cycle, and serves as the given input for the voltage loop adjustment operation.
[0085] Optionally, the preset voltage can be stored in the storage medium of the control device in advance according to the battery formation and capacity grading process control requirements, or it can be set according to user-defined settings, without specific restrictions here.
[0086] In some embodiments, to clearly understand the dual-loop proportional-integral-derivative (PID) control algorithm, for example, firstly, the preset voltage U_ref(n) and port voltage U_fb(n) of the nth adjustment cycle are obtained, wherein the preset voltage U_ref(n) is the target voltage of the current adjustment cycle, the voltage loop deviation ΔU(n) is calculated, and the voltage loop output value I_ref(n) is obtained based on the voltage loop PID operation.
[0087] The specific formula is as follows: ΔU(n) = U_ref(n) - U_fb(n); I_ref(n)=Kp_u×ΔU(n)+Ki_u×∑ΔU(k)+Kd_u×(ΔU(n)-ΔU(n-1)); In the formula, Kp_u is the voltage loop proportional coefficient, Ki_u is the voltage loop integral coefficient, Kd_u is the voltage loop differential coefficient, and k ranges from 0 to n; Next, the voltage loop output value I_ref(n) is used as the current loop setpoint to obtain the port current I_fb(n) of the nth adjustment cycle, the current loop deviation ΔI(n) is calculated, and the current loop output value U_out(n) is obtained based on the proportional-integral-differential operation of the current loop.
[0088] The specific formula is as follows: ΔI(n) = I_ref(n) - I_fb(n); U_out(n)=Kp_i×ΔI(n)+Ki_i×∑ΔI(k)+Kd_i×(ΔI(n)-ΔI(n-1)); In the formula, Kp_i is the proportional coefficient of the current loop, Ki_i is the integral coefficient of the current loop, Kd_i is the differential coefficient of the current loop, and k ranges from 0 to n. It should be understood that the above calculation method is merely an illustrative description and is not intended to impose any specific limitations.
[0089] In this scheme, the voltage loop output value is obtained based on the preset voltage and port voltage of the current adjustment cycle. Then, the current loop output value is calculated based on the voltage loop output value and the port current. It can be understood that by adopting a dual-loop PID control structure with an outer voltage loop and an inner current loop, the voltage loop first determines the current reference, and then the current loop achieves precise adjustment. This ensures stable output voltage while improving the response speed and accuracy of current control, thus enhancing the overall stability of the control system for the step-capacitance power supply.
[0090] Step S205: Obtain the adjustment amount based on the sum of the voltage increment and the current loop output value.
[0091] In this embodiment, the control device performs a numerical summation operation on the voltage increment obtained in the preceding control flow and the current loop output value to obtain the summation result. Based on this summation result, the control device performs numerical processing through the built-in preset calculation conversion logic to finally determine the adjustment amount corresponding to this adjustment cycle.
[0092] Step S206: Adjust the output current of the divided capacitive power supply according to the adjustment amount.
[0093] In the embodiments, the description of step S206 can be referred to step S104, and will not be repeated in detail here.
[0094] In this scheme, the port current and port voltage output parameters of the current regulation cycle of the cascaded power supply are collected. The current loop output value is calculated through a dual-loop PID control algorithm. The voltage increment is summed with the current loop output value to obtain the final regulation value. It can be understood that using a dual-loop PID to achieve real-time closed-loop feedback correction can ensure the steady-state control accuracy of the output current; at the same time, introducing the voltage increment as feedforward to participate in the regulation calculation can effectively improve the dynamic response speed of the current command, achieving a combination of feedforward compensation and closed-loop correction, balancing system response speed and operational stability.
[0095] To clearly understand the method of acquiring target parameters before obtaining the target adjustment command, so that the voltage increment can be obtained based on the target parameters after obtaining the target command to achieve rapid adjustment of the output current of the formed-capacitance power supply, this application also discloses another flowchart of the control method for formed-capacitance power supply, as follows. Figure 4 As shown, the flowchart includes at least the following steps.
[0096] Step S301: Acquire multiple operating data, including a second voltage, a second current, and a third voltage. The second voltage and the second current are the output voltage and output current of the capacity-forming power supply when it is in a stable state in the previous adjustment cycle, and the third voltage is the input voltage of the battery when it is in a stable state in the previous adjustment cycle. In this embodiment, the multiple operating data are a set of measured electrical parameters collected by the control device under steady-state conditions in the previous adjustment cycle, which provide a unique basic input data for the calculation of the target parameters. The data consists of three types of steady-state electrical parameters: second voltage, second current, and third voltage.
[0097] The second voltage is the measured steady-state output voltage parameter obtained by the control device from the power supply output port through the power supply's built-in voltage acquisition unit under the stable state of the previous adjustment cycle. The second current is the measured steady-state output current parameter obtained by the control device from the power supply output circuit through the power supply's built-in current acquisition unit under the stable state of the previous adjustment cycle. The third voltage is the measured steady-state input voltage parameter of the battery obtained by the control device through a dedicated voltage acquisition channel under the stable state of the previous adjustment cycle; it directly reflects the electrical port voltage of the battery under the steady-state operating conditions of the previous cycle.
[0098] For example, the control device of the power supply is configured to perform operation data acquisition and acquisition operations to acquire multiple operation data for subsequent parameter calculation; the multiple operation data specifically include a second voltage, a second current and a third voltage, wherein the second voltage is the actual output voltage of the power supply in the stable state in the previous adjustment cycle, the second current is the actual output current of the power supply in the stable state in the previous adjustment cycle, and the third voltage is the actual input voltage of the battery corresponding to the power supply in the stable state in the previous adjustment cycle.
[0099] Step S302: Obtain the target parameters based on multiple running data.
[0100] In this embodiment, multiple operational data are used as basic computational inputs. Based on the preset target parameter calculation logic embedded in the control device, numerical calculations and parameter calculations are performed on the second voltage, the second current, and the third voltage to obtain the target parameters corresponding to this adjustment cycle.
[0101] In some embodiments, the target parameter can be obtained based on multiple operating data, which may involve first obtaining a first difference based on a second voltage and a third voltage, and then obtaining the line impedance based on the first difference and a second current.
[0102] For example, the calculation formula can be: R_line=(V_port-V_bat) / I; Where R_line is the line impedance, Vport is the second voltage, V_bat is the third voltage, and I is the second current.
[0103] In this scheme, the line impedance is obtained by calculating the first difference between the second and third voltages, and then performing a calculation with the second current. It can be understood that the line impedance is calculated online based on the steady-state operating data of the previous cycle, without the need for additional hardware detection. This enables real-time and accurate acquisition of impedance parameters, providing reliable parameter support for subsequent control and improving adjustment accuracy.
[0104] In some embodiments, obtaining the target parameter based on multiple operating data can be achieved by first obtaining the first product based on the second current and the battery internal resistance, and then obtaining the electromotive force based on the third voltage and the first product.
[0105] For example, the calculation formula can be: E_bat = V_bat - I × R_bat; Where E_bat is the battery electromotive force, V_bat is the third voltage, R_bat is the battery internal resistance, and I is the second current.
[0106] In this scheme, the first product is obtained based on the second current and the battery's internal resistance, and then the battery's electromotive force (EMF) is calculated based on the third voltage and the first product. It can be understood that calculating the battery EMF based on the steady-state operating data of the previous cycle is a simple and real-time calculation method that can obtain accurate EMF parameters, providing a reliable basis for subsequent voltage increment calculations and current regulation.
[0107] Step S303: Obtain the target adjustment command. The target adjustment command includes the target current increment, which is the difference between the first preset current and the second preset current. The first preset current is the target current of the previous adjustment cycle, and the second preset current is the target current of the current adjustment cycle.
[0108] Step S304: Obtain the voltage increment based on multiple target parameters and target current increment. The multiple target parameters include the battery electromotive force, battery internal resistance, and line impedance of the capacity-forming power supply when it is in a stable state in the previous adjustment cycle. The capacity-forming power supply includes the line and the battery. Step S305: Obtain the adjustment amount based on the voltage increment; Step S306: Adjust the output current of the divided capacitive power supply according to the adjustment amount.
[0109] In the embodiments, the description of steps S303-S306 can be referred to the description of steps S101-S104, and no specific limitations are made here.
[0110] In this scheme, before obtaining the target adjustment command, the operating data such as the output voltage, output current, and battery port voltage of the form-forming power supply during the steady state of the previous adjustment cycle are collected. Then, the target parameters are determined based on this operating data. It can be understood that calculating the target parameters based on the steady-state operating data of the previous cycle allows the parameters to closely match the actual operating conditions of the system, improving the accuracy of subsequent calculations and providing a reliable data foundation for precise and stable power supply adjustment. Furthermore, obtaining the target parameters in advance allows for rapid acquisition of the voltage increment after obtaining the target command, thereby enabling rapid adjustment of the output current of the form-forming power supply.
[0111] For example, embodiments of this application also disclose another schematic flowchart for forming a capacity-bound power supply, such as... Figure 5 As shown, the flowchart includes at least the following steps.
[0112] Step S401: Acquire multiple operating data, including a second voltage, a second current, and a third voltage. The second voltage and the second current are the output voltage and output current of the capacity-forming power supply when it is in a stable state in the previous adjustment cycle, and the third voltage is the input voltage of the battery when it is in a stable state in the previous adjustment cycle. Step S402: Obtain the target parameters based on multiple running data.
[0113] In the embodiments, the description of steps S401-S402 can be referred to steps S301-S302, and will not be elaborated here.
[0114] Step S403: Obtain the target adjustment command. The target adjustment command includes the target current increment, which is the difference between the first preset current and the second preset current. The first preset current is the target current of the previous adjustment cycle, and the second preset current is the target current of the current adjustment cycle.
[0115] Step S404: Obtain the voltage increment based on multiple target parameters and target current increment. The multiple target parameters include the battery electromotive force, battery internal resistance, and line impedance of the capacity-forming power supply when it is in a stable state in the previous adjustment cycle. The capacity-forming power supply includes the line and the battery.
[0116] In the embodiments, the description of steps S403-S404 can be referred to steps S101-S102, and will not be elaborated here.
[0117] Step S405: Obtain the output parameters, which include port current and port voltage. The port current and port voltage are the output current and output voltage of the current periodically adjusted capacitive power supply. Step S406: Obtain the current loop output value based on the dual-loop proportional-integral-derivative control algorithm and output parameters; Step S407: Obtain the adjustment amount based on the sum of the voltage increment and the current loop output value.
[0118] In the embodiments, the description of steps S405-S406 can be referred to steps S203-S205, and will not be elaborated here.
[0119] Step S408: Adjust the output current of the divided capacitive power supply according to the adjustment amount.
[0120] In the embodiments, the description of step S408 can be referred to step S206, and will not be repeated in detail here.
[0121] In an exemplary embodiment of this application, the main control device of the forming and capacitating power supply executes a closed-loop control process: the control device first acquires multiple operating data of the forming and capacitating power supply in a stable state in the previous adjustment cycle. The operating data includes a second voltage, a second current, and a third voltage (the battery input voltage) as the power supply output voltage and output current. The target parameters are calculated based on these multiple operating data. Subsequently, the control device acquires a target adjustment command containing a target current increment. The target current increment is the difference between a first preset current of the target current in the previous adjustment cycle and a second preset current of the target current in the current adjustment cycle. The voltage increment is then calculated based on multiple target parameters including battery electromotive force, battery internal resistance, and line impedance, along with the target current increment. Simultaneously, the control device collects the output parameters of the forming and capacitating power supply in the current adjustment cycle, including port current and port voltage. The current loop output value is calculated using a dual-loop proportional-integral-derivative control algorithm and the output parameters. The control device then sums the voltage increment and the current loop output value and performs a preset conversion to obtain an adjustment amount. Finally, the output current of the forming and capacitating power supply is adjusted according to this adjustment amount, completing the closed-loop control of the output current in the current adjustment cycle.
[0122] Based on the above-described method for controlling the current of a capacity-bound power supply, this application discloses a control device for controlling the current of a capacity-bound power supply. Please refer to [link to relevant documentation]. Figure 6 The device includes: The acquisition module is used to acquire the target adjustment instruction, which includes the target current increment. The target current increment is the difference between the first preset current and the second preset current. The first preset current is the target current of the previous adjustment cycle, and the second preset current is the target current of the current adjustment cycle. The calculation module is used to obtain the voltage increment based on multiple target parameters and the target current increment. The multiple target parameters include the battery electromotive force, battery internal resistance, and line impedance of the capacity-forming power supply when it is in a stable state in the previous regulation cycle. The capacity-forming power supply includes the line and the battery. The module is also used to obtain the regulation amount based on the voltage increment. The control module is used to adjust the output current of the divided capacitive power supply according to the adjustment amount.
[0123] The calculation module is also used to obtain a first sum based on the battery internal resistance and the line impedance, and to obtain a second product based on the first sum and the target current increment, and to determine the voltage increment by summing the second product and the electromotive force.
[0124] The acquisition module is used to acquire output parameters, including port current and port voltage. The port current and port voltage are the output current and output voltage of the current periodically adjusted capacitive power supply. The calculation module is used to obtain the current loop output value based on the dual-loop proportional-integral-derivative control algorithm and output parameters, and to obtain the adjustment amount based on the sum of the voltage increment and the current loop output value.
[0125] The calculation module is used to obtain the voltage loop output value based on the preset voltage and the port voltage, where the preset voltage is the target voltage of the current adjustment cycle, and to obtain the current loop output value based on the voltage loop output value and the port current.
[0126] The acquisition module is used to acquire multiple operating data, including a second voltage, a second current, and a third voltage. The second voltage and the second current are the output voltage and output current of the capacity-forming power supply when it is in a stable state in the previous adjustment cycle, and the third voltage is the input voltage of the battery when the capacity-forming power supply is in a stable state in the previous adjustment cycle. The calculation module is used to obtain target parameters based on multiple runtime data.
[0127] The calculation module is also used to obtain a first difference based on the second voltage and the third voltage, and to obtain the line impedance based on the first difference and the second current.
[0128] The calculation module is used to obtain a first product based on a second current and the battery internal resistance, and to obtain an electromotive force based on a third voltage and the first product.
[0129] It should be noted that the module division of the painting device shown in the embodiments of this application is illustrative and only represents a logical functional division. In actual implementation, there may be other division methods. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, exist as separate physical units, or have two or more units integrated into one unit. The integrated units can be implemented in hardware, as software functional units, or a combination of software and hardware.
[0130] It should be noted that, in the embodiments of this application, if the above methods are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device to execute all or part of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory, magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware and software combination.
[0131] Based on the above-described control device for controlling the current of the power supply undergoing capacitance setting, this application provides an electronic device. This electronic device can be any possible device including the control device for controlling the current of the power supply undergoing capacitance setting, and its internal structure diagram can be as follows: Figure 7 As shown, the electronic device includes a processor 702, a memory, and a network interface 703 connected via a system bus 701. The processor 702 provides computing and control capabilities. The memory includes internal memory 7041 and a non-volatile storage medium 7042. The non-volatile storage medium 7042 stores an operating system, computer programs, and a database. The internal memory 7041 provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium 7042. The database is used to store data. The network interface 703 is used to communicate with external terminals via a network connection. When the computer program is executed by the processor 702, it implements the aforementioned methods.
[0132] Based on the above-described control method and electronic device for a power supply with capacity division, this application also discloses a computer-readable storage medium storing a computer program that implements any of the above-described video generation methods when the computer program is executed by a processor.
[0133] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium. When executed, the program can include the processes of the embodiments of the methods described above. The storage medium used herein includes read-only memory, random access memory, programmable read-only memory, erasable programmable read-only memory, programmable read-only memory, electronically erasable rewritable read-only memory, electronically erasable optical disc or other optical disc storage, disk storage, magnetic tape storage, etc., or any other computer-readable medium capable of carrying or storing data.
[0134] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Those skilled in the art should also recognize that the embodiments described in the specification are optional embodiments, and the actions and modules involved are not necessarily essential to this application.
[0135] In the various embodiments of this application, it should be understood that the sequence number of each process does not necessarily imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0136] It should be noted that, in this document, the terms “comprising,” “including,” or any other variations thereof are intended to cover non-exclusive inclusion, such that a method or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to the method or apparatus.
[0137] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0138] The current control method for a batch-capacitance power supply disclosed in the embodiments of this application has been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and its core ideas. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for controlling the current of a capacitor-type power supply, characterized in that, The method includes: Obtain a target adjustment command, the target adjustment command including a target current increment, the target current increment being the difference between a first preset current and a second preset current, the first preset current being the target current of the previous adjustment cycle, and the second preset current being the target current of the current adjustment cycle; The voltage increment is obtained based on multiple target parameters and the target current increment. The multiple target parameters include the battery electromotive force, battery internal resistance, and line impedance of the formed capacity power supply in a stable state in the previous adjustment cycle. The formed capacity power supply includes the line and the battery. The adjustment amount is obtained based on the voltage increment; The output current of the condensed and capacitive power supply is adjusted according to the adjustment amount.
2. The control method according to claim 1, characterized in that, The step of obtaining the voltage increment based on multiple target parameters and the target current increment includes: The first sum value is obtained based on the battery internal resistance and the line impedance; The second product is obtained based on the first sum and the target current increment; The voltage increment is determined by the sum of the second product and the electromotive force.
3. The control method according to claim 1, characterized in that, The step of obtaining the adjustment amount based on the voltage increment includes: Obtain output parameters, including port current and port voltage, wherein the port current and port voltage are the output current and output voltage of the current adjustment cycle of the calibrated power supply; The current loop output value is obtained based on the dual-loop proportional-integral-derivative control algorithm and the output parameters. The adjustment amount is obtained based on the sum of the voltage increment and the current loop output value.
4. The control method according to claim 3, characterized in that, The step of obtaining the current loop output value based on the dual-loop proportional-integral-derivative control algorithm and the output parameters includes: The voltage loop output value is obtained based on the preset voltage and the port voltage, wherein the preset voltage is the target voltage for the current adjustment cycle; The current loop output value is obtained based on the voltage loop output value and the port current.
5. The control method according to claim 1, characterized in that, Before obtaining the target adjustment instruction, the method further includes: Acquire multiple operating data, including a second voltage, a second current, and a third voltage. The second voltage and the second current are the output voltage and output current of the formation and capacity power supply when it is in a stable state in the previous adjustment cycle, and the third voltage is the input voltage of the battery when the formation and capacity power supply is in a stable state in the previous adjustment cycle. The target parameters are obtained based on the multiple operational data.
6. The control method according to claim 5, characterized in that, The step of obtaining the target parameter based on the plurality of operational data includes: A first difference is obtained based on the second voltage and the third voltage; The line impedance is obtained based on the first difference and the second current.
7. The control method according to claim 5, characterized in that, The step of obtaining the target parameter based on the plurality of operational data includes: The first product is obtained based on the second current and the battery internal resistance; The electromotive force is obtained based on the third voltage and the first product.
8. A control device for converting the current of a capacitor-type power supply, characterized in that, include: The acquisition module is used to acquire a target adjustment instruction, the target adjustment instruction including a target current increment, the target current increment being the difference between a first preset current and a second preset current, the first preset current being the target current of the previous adjustment cycle, and the second preset current being the target current of the current adjustment cycle. The calculation module is configured to obtain a voltage increment based on multiple target parameters and the target current increment, wherein the multiple target parameters include the battery electromotive force, battery internal resistance, and line impedance of the formed-up capacity power supply in a stable state in the previous adjustment cycle, and the formed-up capacity power supply includes a line and a battery; and to obtain an adjustment amount based on the voltage increment. A control module is used to adjust the output current of the formation and capacitance power supply according to the adjustment amount.
9. An electronic device, characterized in that, It includes a memory and a processor, the memory storing a computer program that can run on the processor, the processor executing the program to implement the steps of any of the methods described above.
10. A computer storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-7.