A power supply power control method and apparatus
By introducing a constant voltage and constant current transition drive mode, the problem of reduced power output capability caused by directly switching from constant voltage drive mode to constant current drive mode is solved, thus achieving stability of power output capability and system stability.
Patent Information
- Application Number
- CN202510998170.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-21
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2045-07-21
AI Technical Summary
In the existing technology, when switching directly from constant voltage drive mode to constant current drive mode, the voltage decreases while the current signal remains unchanged, resulting in a decrease in power supply output capability and system instability.
A constant voltage and constant current transition drive mode is introduced. By acquiring the current signal output by the power supply in real time, the power supply is controlled to enter different drive modes according to the current signal, including constant voltage drive mode, constant voltage and constant current transition drive mode and constant current drive mode. The drive mode switching process is refined to ensure the stability of the power supply output capability.
It improves the power output capability when switching between constant voltage and constant current, avoids the reduction of power output capability, and enhances the stability of the system.
Smart Images

Figure CN120498237B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of power control technology, specifically relating to a power control method and device. Background Technology
[0002] To improve the reliability of a voltage source, a common practice is to implement constant voltage control under light load conditions, refer to [reference]. Figure 1 Once the current limit is exceeded (such as the first preset current signal I1), either overcurrent protection will be implemented, i.e., the output will stop, or constant current control will be implemented. If overcurrent protection is implemented, hiccup output control will be implemented, i.e., the output will be tested at intervals. If the load is still in an overcurrent or short-circuit state, the output will continue to stop, which may cause the load to start frequently and the system to be extremely unstable. If constant current control is implemented, the power supply will have a lower output capability when the load current is at the constant voltage and constant current switching boundary. Summary of the Invention
[0003] In view of this, this application provides a power control method and apparatus, which solves the problem in the prior art where the voltage drops and the current signal remains unchanged when switching directly from constant voltage drive mode to constant current drive mode, resulting in a decrease in power output capability. This is achieved by adding a constant voltage and constant current transition drive mode.
[0004] The first aspect of this application provides a power supply control method, which includes:
[0005] S10: Real-time acquisition of the power supply output current signal.
[0006] S20: Controls the power supply to enter different drive modes based on the current signal. These different drive modes include constant voltage drive mode, constant voltage / constant current transition drive mode, and constant current drive mode. In the constant voltage / constant current transition drive mode, both the output current and voltage signals change with the load size, and the current and voltage signals are negatively correlated.
[0007] In one specific embodiment of this application, step S20 includes:
[0008] S21: When the current signal is less than the first preset current signal, the control power supply enters the constant voltage drive mode.
[0009] S22: When the current signal is greater than the first preset current signal and less than the second preset current signal, the control power supply enters the constant voltage and constant current transition drive mode.
[0010] S23: When the current signal is greater than or equal to the second preset current signal, the control power supply enters the constant current drive mode.
[0011] In one specific embodiment of this application, step S21 includes:
[0012] S211: When the current signal is less than the first preset current signal, output the current deviation value according to the current signal and the first preset current signal.
[0013] S212: Perform calculations based on the current deviation value and output the calculation control signal.
[0014] S213: Output function to process control signals based on calculations.
[0015] S214: Acquire real-time voltage signal.
[0016] S215: Based on the function operation control signal, output a voltage control signal to the power supply according to the real-time voltage signal and the first preset voltage signal to enable the power supply to enter the constant voltage drive mode. The first preset current signal is the maximum current signal corresponding to the first preset voltage signal in the constant voltage drive mode.
[0017] In one specific embodiment of this application, step S22 includes:
[0018] S221: When the current signal is greater than the first preset current signal and less than the second preset current signal, output the current deviation value according to the current signal and the first preset current signal.
[0019] S222: Perform calculations based on the current deviation value and output the calculation control signal.
[0020] S223: Output function operation control signal based on operation processing control signal, and output function operation signal based on current deviation value.
[0021] S224: Acquire real-time voltage signal.
[0022] S225: Output a voltage deviation signal based on the function operation signal and the first preset voltage signal, and output a current control signal to the power supply based on the voltage deviation signal and the real-time voltage signal so that the power supply enters the constant voltage and constant current transition drive mode.
[0023] In one specific embodiment of this application, step S23 includes:
[0024] S231: When the current signal is greater than or equal to the second preset current signal, output the current deviation value according to the current signal and the second preset current signal.
[0025] S232: Outputs a current control signal to the power supply based on the current deviation value so that the power supply enters constant current drive mode.
[0026] A second aspect of this application provides a power supply control device, which includes an acquisition module and a drive mode module. The acquisition module is used to acquire the current signal output by the power supply in real time. The drive mode module is used to control the power supply to enter different drive modes according to the current signal. The different drive modes include a constant voltage drive mode, a constant voltage and constant current transition drive mode, and a constant current drive mode. In the constant voltage and constant current transition drive mode, both the output current signal and voltage signal change with the load size, and the current signal and voltage signal are negatively correlated.
[0027] In one specific embodiment of this application, the drive mode module includes a constant voltage drive mode unit, a transition drive mode unit, and a constant current drive mode unit. The constant voltage drive mode unit controls the power supply to enter a constant voltage drive mode when the current signal is less than a first preset current signal. The transition drive mode unit controls the power supply to enter a constant voltage / constant current transition drive mode when the current signal is greater than a first preset current signal and less than a second preset current signal. The constant current drive mode unit controls the power supply to enter a constant current drive mode when the current signal is greater than or equal to a second preset current signal.
[0028] In one specific embodiment of this application, the constant voltage drive mode unit includes a first deviation value calculation subunit, a first calculation processing subunit, a first function calculation subunit, a first voltage acquisition subunit, and a first voltage control signal output subunit. The first deviation value calculation subunit is used to output a current deviation value based on the current signal and the first preset current signal when the current signal is less than the first preset current signal. The first calculation processing subunit is used to perform calculation processing based on the current deviation value and output an calculation processing control signal. The first function calculation subunit is used to output a function calculation control signal based on the calculation processing control signal. The first voltage acquisition subunit is used to acquire a real-time voltage signal. The first voltage control signal output subunit is used to output a voltage control signal to the power supply based on the function calculation control signal, the real-time voltage signal, and the first preset voltage signal, so that the power supply enters the constant voltage drive mode. The first preset current signal is the maximum current signal corresponding to the first preset voltage signal in the constant voltage drive mode.
[0029] In one specific embodiment of this application, the transition drive mode unit includes a second deviation value calculation subunit, a second calculation processing subunit, a second function calculation subunit, a second voltage acquisition subunit, and a second voltage control signal output subunit. The second deviation value calculation subunit is used to output a current deviation value based on the current signal and the first preset current signal when the current signal is greater than a first preset current signal and less than a second preset current signal. The second calculation processing subunit is used to perform calculation processing based on the current deviation value and output a calculation processing control signal. The second function calculation subunit is used to output a function calculation control signal based on the calculation processing control signal, and to perform function calculation based on the current deviation value and output a function calculation signal. The second voltage acquisition subunit is used to acquire a real-time voltage signal. The second voltage control signal output subunit is used to output a voltage deviation signal based on the function calculation signal and the first preset voltage signal, and to output a current control signal to the power supply based on the voltage deviation signal and the real-time voltage signal to cause the power supply to enter a constant voltage and constant current transition drive mode.
[0030] In one specific embodiment of this application, both the first deviation value calculation subunit and the second deviation value calculation subunit are first difference arithmetic units; both the first calculation processing subunit and the second calculation processing subunit are positive limiters; both the first function calculation subunit and the second function calculation subunit are function arithmetic units; the first voltage control signal output subunit is a second difference arithmetic unit and a first PID arithmetic unit. The second voltage control signal output subunit is also a second difference arithmetic unit and a first PID arithmetic unit. The first input terminal of the first difference arithmetic unit receives a first preset current signal; the second input terminal of the first difference arithmetic unit receives a real-time current signal; the output terminal of the first difference arithmetic unit is electrically connected to the input terminal of the positive limiter; the output terminal of the positive limiter is electrically connected to the input terminal of the function arithmetic unit; the voltage output terminal of the function arithmetic unit is electrically connected to the first input terminal of the second difference arithmetic unit; the second input terminal of the second difference arithmetic unit receives a first preset voltage signal; the third input terminal of the second difference arithmetic unit receives a real-time voltage signal; the output terminal of the second difference arithmetic unit is electrically connected to the input terminal of the first PID arithmetic unit; the output terminal of the first PID arithmetic unit outputs a voltage control signal.
[0031] In one specific embodiment of this application, the constant current drive mode unit includes a third difference arithmetic unit and a second PID arithmetic unit. The first input terminal of the third difference arithmetic unit receives a second preset current signal; the second input terminal of the third difference arithmetic unit receives a real-time current signal. The output terminal of the third difference arithmetic unit is electrically connected to the input terminal of the second PID arithmetic unit; the output terminal of the second PID arithmetic unit outputs a current control signal.
[0032] In one specific embodiment of this application, the power control device further includes a multiplexer. The output terminal of the third differential calculator is electrically connected to the input terminal of the second PID calculator; the output terminal of the second PID calculator is electrically connected to the first input terminal of the multiplexer; and the second input terminal of the multiplexer is electrically connected to the output terminal of the transition drive mode unit.
[0033] The beneficial effects of this application's technical solution are as follows: By acquiring the current signal output by the power supply in real time, and controlling the power supply to enter different driving modes according to the current signal, the different driving modes include constant voltage driving mode, constant voltage and constant current transition driving mode, and constant current driving mode. By refining each driving mode, it is ensured that the power supply is controlled to enter different driving modes according to the magnitude of the current signal output by the power supply. The constant voltage and constant current transition driving mode is added during the switch from constant voltage driving mode to constant current driving mode. Since the current signal increases when the voltage decreases in the constant voltage and constant current transition driving mode, the problem of reduced power supply output capability caused by the direct switch from constant voltage driving mode to constant current driving mode without a constant voltage and constant current transition driving mode is avoided. This improves the power supply output capability when switching between constant voltage and constant current. Attached Figure Description
[0034] Figure 1 The figure shown is the volt-ampere characteristic diagram of a power supply control method in the prior art.
[0035] Figure 2 The diagram shown is a schematic flowchart of a power control method provided in an embodiment of this application.
[0036] Figure 3 The diagram shown is a voltage-current characteristic diagram of the power output when a power control device drives a power supply according to an embodiment of this application.
[0037] Figure 4 The diagram shown is a voltage-current characteristic diagram of the power output when a power control device drives a power supply according to another embodiment of this application.
[0038] Figure 5 The diagram shown is a flowchart of a power control method according to another embodiment of this application.
[0039] Figure 6 The diagram shown is a structural schematic of a power control device provided in an embodiment of this application.
[0040] Figure 7 The diagram shown is a structural schematic of a power control device according to another embodiment of this application.
[0041] Figure 8 The diagram shown is a structural schematic of a power control device according to another embodiment of this application.
[0042] Figure 9 The diagram shown is a circuit structure schematic of a power control device provided in an embodiment of this application. Detailed Implementation
[0043] 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.
[0044] At least one embodiment of this application provides a power control method, see reference. Figure 2 The power control method includes the following steps S10 and S20.
[0045] S10: Real-time acquisition of the power supply output current signal.
[0046] It should be noted that the current signal output by the power supply is the real-time current signal output when the power supply drives the load. When the power supply drives different loads, the real-time current signal output by the power supply is different. Generally, when the power supply drives a heavy load, the real-time current signal output by the power supply is smaller; when the power supply drives a light load, the real-time current signal output by the power supply is larger. The embodiments of this application are applicable to different load change scenarios.
[0047] In some embodiments, the current signal output by the power supply can be acquired in real time using a current sensor.
[0048] S20: Controls the power supply to enter different drive modes based on the current signal. These different drive modes include constant voltage drive mode, constant voltage / constant current transition drive mode, and constant current drive mode. In the constant voltage / constant current transition drive mode, both the output current and voltage signals change with the load size, and the current and voltage signals are negatively correlated.
[0049] Reference Figure 3 and Figure 4 Constant voltage drive mode 01 can be understood as a drive mode in which the output voltage remains constant and the current signal changes with the load size; constant current drive mode 03 can be understood as a drive mode in which the output current remains constant and the voltage signal changes with the load size; constant voltage and constant current transition drive mode 02 is the transition stage from constant voltage drive mode 01 to constant current drive mode 03, in which both the output current signal and voltage signal change with the load size.
[0050] According to the technical solution provided in the embodiments of this application, the power supply output current signal is acquired in real time; and the power supply is controlled to enter different driving modes according to the current signal. The different driving modes include constant voltage driving mode, constant voltage and constant current transition driving mode and constant current driving mode. By refining each driving mode, it is ensured that the power supply is controlled to enter different driving modes according to the magnitude of the power supply output current signal. The constant voltage and constant current transition driving mode is added in the transition from constant voltage driving mode to constant current driving mode. Since the current signal increases when the voltage decreases in the constant voltage and constant current transition driving mode, the problem of reduced power supply output capability caused by the lack of constant voltage and constant current transition driving mode in the prior art, where the voltage decreases but the current signal remains unchanged when switching directly from constant voltage driving mode to constant current driving mode, is avoided. This improves the power supply output capability when switching between constant voltage and constant current.
[0051] In at least one embodiment of this application, reference is made to Figure 5 The above step S20 includes the following steps S21 to S23.
[0052] S21: When the current signal is less than the first preset current signal, the control power supply enters the constant voltage drive mode.
[0053] S22: When the current signal is greater than the first preset current signal and less than the second preset current signal, the control power supply enters the constant voltage and constant current transition drive mode.
[0054] S23: When the current signal is greater than or equal to the second preset current signal, the control power supply enters the constant current drive mode.
[0055] In at least one embodiment of this application, step S21 above includes steps S211 to S215.
[0056] S211: When the current signal is less than the first preset current signal, output the current deviation value according to the current signal and the first preset current signal.
[0057] Reference Figure 3 and Figure 4 The first preset current signal I1 is the maximum current signal in the constant voltage drive mode of the power supply; the first preset current signal I1 is determined by the characteristics of the power supply itself; this application embodiment does not specifically limit it. The first preset voltage signal Vs is the constant voltage signal in the constant voltage drive mode of the power supply; the first preset voltage signal Vs is also determined by the characteristics of the power supply itself, and this application embodiment does not specifically limit it. For example, a typical power supply nameplate indicates (20V, 5A), where the first preset voltage signal Vs is 20V and the first preset current signal I1 is 5A.
[0058] In this embodiment of the application, when the current signal is less than the first preset current signal I1, a current deviation value is output based on the current signal and the first preset current signal I1, and the current deviation value is negative.
[0059] S212: Perform calculations based on the current deviation value and output the calculation control signal.
[0060] The calculation process includes positive and negative operations. In this embodiment, when the current deviation value is negative, the calculation control signal is low.
[0061] S213: Output function to process control signals based on calculations.
[0062] In this embodiment of the application, when the operation processing control signal is low, the function operation control signal is low.
[0063] S214: Acquire real-time voltage signal.
[0064] The real-time voltage signal is any voltage signal when the load changes. It can be less than or greater than the first preset voltage signal Vs, depending on whether the load suddenly increases or decreases under the current real-time current signal. For example, if the load suddenly increases under the current real-time current signal, the real-time voltage signal is less than the first preset voltage signal Vs because the real-time current signal does not respond; otherwise, the real-time voltage signal is greater than the first preset voltage signal Vs.
[0065] S215: Based on the function operation control signal, output a voltage control signal to the power supply according to the real-time voltage signal and the first preset voltage signal to enable the power supply to enter the constant voltage drive mode. The first preset current signal is the maximum current signal corresponding to the first preset voltage signal in the constant voltage drive mode.
[0066] For example, when the function operation control signal is low, based on the PID principle, a voltage control signal is output to the power supply according to the real-time voltage signal and the first preset voltage signal Vs, thereby adjusting the real-time voltage signal of the power supply to the first preset voltage signal Vs, thus enabling the power supply to enter the constant voltage drive mode.
[0067] In at least one embodiment of this application, step S22 above includes steps S221 to S225.
[0068] S221: When the current signal is greater than the first preset current signal and less than the second preset current signal, output the current deviation value according to the current signal and the first preset current signal.
[0069] In this embodiment of the application, a current deviation value is output based on the current signal and the first preset current signal I1, and the current deviation value is positive.
[0070] S222: Perform calculations based on the current deviation value and output the calculation control signal.
[0071] The calculation process includes positive and negative calculations; in this embodiment, when the current deviation value is negative, the calculation control signal is high.
[0072] S223: Output function operation control signal based on operation processing control signal, and output function operation signal based on current deviation value.
[0073] When the operation processing control signal is high and the function operation control signal is high, a function operation signal is output based on the current deviation value. The function operation signal is a calibration voltage signal output by performing different function operations with the current deviation value as the independent variable, and the output calibration voltage signal is within (0 - (second preset voltage signal V1 - first preset voltage signal Vs)). The second preset voltage signal V1 is the lowest voltage signal in the constant voltage constant current transition drive mode, generally 80% of the first preset voltage signal Vs, and can be set according to actual conditions. Different function operations include linear function operations, quadratic function operations, multiple function operations, or discrete function operations. This application embodiment does not make specific limitations; for example, refer to Figure 3 and Figure 4 If the current current signal is I3 and the function operation is a linear function, then the function operation signal is the voltage signal V2 corresponding to the current current signal I3.
[0074] S224: Acquire real-time voltage signal.
[0075] In this embodiment, the real-time voltage signal Vo is any voltage signal that occurs when the load changes, depending on whether the load suddenly increases or decreases under the current real-time current signal; refer to Figure 3 and Figure 4 For example, if the load suddenly increases under the current current signal I3 (the output voltage under the current real-time current signal is V2), the real-time voltage signal Vo will be less than V2 because the real-time current signal does not respond; otherwise, the real-time voltage signal Vo will be greater than V2.
[0076] S225: Output a voltage deviation signal based on the function operation signal and the first preset voltage signal, and output a current control signal to the power supply based on the voltage deviation signal and the real-time voltage signal so that the power supply enters the constant voltage and constant current transition drive mode.
[0077] The function operation signal and the first preset voltage signal output a voltage deviation signal. Since the function operation signal is within (0 - (second preset voltage signal V1 - first preset voltage signal Vs)), the voltage deviation signal is within the range of the second preset voltage signal V1 - the first preset voltage signal Vs. Based on the voltage deviation signal and the real-time voltage signal, a current control signal is output to the power supply, thereby adjusting the voltage signal to a voltage deviation signal, that is, adjusting it to a specific voltage value within the range of the second preset voltage signal V1 - the first preset voltage signal Vs, thereby causing the power supply to enter the constant voltage and constant current transition drive mode.
[0078] In this embodiment, since the current signal increases when the voltage decreases in the constant voltage and constant current transition drive mode, the problem of reduced power output capability caused by the direct switching from constant voltage drive mode to constant current drive mode in the prior art, where there is no constant voltage and constant current transition drive mode, and the voltage decreases but the current signal remains unchanged, is avoided. Therefore, the power output capability is improved when switching between constant voltage and constant current.
[0079] In at least one embodiment of this application, step S23 above includes steps S231 and S232.
[0080] S231: When the current signal is greater than or equal to the second preset current signal, output the current deviation value according to the current signal and the second preset current signal.
[0081] S232: Outputs a current control signal to the power supply based on the current deviation value so that the power supply enters constant current drive mode.
[0082] For example, the second preset current signal I2 is the set current signal in constant current drive mode; it is generally 1.8-2 times the first preset current signal I1.
[0083] This application embodiment is based on the PID principle and outputs a current control signal to the power supply according to the current deviation value, so that the power supply outputs a current signal of the second preset current signal I2, thereby enabling the power supply to enter the constant current drive mode.
[0084] At least one embodiment of this application also provides a power control device, which can execute a power control method provided in any of the above embodiments of this application. The power control device can be implemented in hardware and / or software and has corresponding functional modules and beneficial effects for executing the method.
[0085] refer to Figure 6The power control device includes an acquisition module 10 and a drive mode module 20. The acquisition module 10 is used to acquire the current signal output by the power supply in real time. The drive mode module 20 is used to control the power supply to enter different drive modes according to the current signal. The different drive modes include constant voltage drive mode, constant voltage and constant current transition drive mode, and constant current drive mode. In the constant voltage and constant current transition drive mode, both the output current signal and voltage signal change with the load size, and the current signal and voltage signal are negatively correlated.
[0086] Since the power supply outputs different current signals in real time when driving different loads, the power control device in this application can control the power supply to enter different driving modes according to the magnitude of the output current signal. Thus, when the power control device switches from constant voltage driving mode to constant current driving mode according to load changes, a constant voltage and constant current transition driving mode is added. Since the current signal increases when the voltage decreases in the constant voltage and constant current transition driving mode, the problem of reduced power supply output capability caused by the direct switch from constant voltage driving mode to constant current driving mode without a constant voltage and constant current transition driving mode is avoided. Therefore, the power supply output capability is improved when switching between constant voltage and constant current.
[0087] In at least one embodiment of this application, reference is made to Figure 7 The drive mode module 20 includes a constant voltage drive mode unit 21, a transition drive mode unit 22, and a constant current drive mode unit 23. The constant voltage drive mode unit 21 controls the power supply to enter constant voltage drive mode when the current signal is less than a first preset current signal. The transition drive mode unit 22 controls the power supply to enter constant voltage / constant current transition drive mode when the current signal is greater than a first preset current signal and less than a second preset current signal. The constant current drive mode unit 23 controls the power supply to enter constant current drive mode when the current signal is greater than or equal to a second preset current signal.
[0088] In at least one embodiment of this application, reference is made to Figure 8The constant voltage drive mode unit 21 includes a first deviation value calculation subunit 211, a first calculation processing subunit 212, a first function calculation subunit 213, a first voltage acquisition subunit 214, and a first voltage control signal output subunit 215. The first deviation value calculation subunit 211 outputs a current deviation value based on the current signal and the first preset current signal when the current signal is less than the first preset current signal. The first calculation processing subunit 212 performs calculation processing based on the current deviation value and outputs a calculation processing control signal. The first function calculation subunit 213 outputs a function calculation control signal based on the calculation processing control signal. The first voltage acquisition subunit 214 acquires a real-time voltage signal. The first voltage control signal output subunit 215 outputs a voltage control signal to the power supply based on the function calculation control signal, the real-time voltage signal, and the first preset voltage signal, to enable the power supply to enter the constant voltage drive mode. The first preset current signal is the maximum current signal corresponding to the first preset voltage signal in the constant voltage drive mode.
[0089] In at least one embodiment of this application, reference is made to Figure 8 The transition drive mode unit 22 includes a second deviation value calculation subunit 221, a second calculation processing subunit 222, a second function calculation subunit 223, a second voltage acquisition subunit 224, and a second voltage control signal output subunit 225. The second deviation value calculation subunit 221 outputs a current deviation value based on the current signal and the first preset current signal when the current signal is greater than a first preset current signal and less than a second preset current signal. The second calculation processing subunit 222 performs calculation processing based on the current deviation value and outputs a calculation processing control signal. The second function calculation subunit 223 outputs a function calculation control signal based on the calculation processing control signal and performs function calculation based on the current deviation value, outputting a function calculation signal. The second voltage acquisition subunit 224 acquires a real-time voltage signal. The second voltage control signal output subunit 225 outputs a voltage deviation signal based on the function calculation signal and the first preset voltage signal, and outputs a current control signal to the power supply based on the voltage deviation signal and the real-time voltage signal to enable the power supply to enter a constant voltage and constant current transition drive mode.
[0090] It is understood that each unit of the constant voltage drive mode unit 21, the transition drive mode unit 22 and the constant current drive mode unit 23 in the above embodiments can be implemented in hardware and / or software.
[0091] In some embodiments, each subunit of the constant voltage drive mode unit 21, the transition drive mode unit 22, and the constant current drive mode unit 23 can be implemented in hardware.
[0092] In at least one embodiment of this application, combined with Figure 8 and Figure 9The first deviation value calculation subunit 211 and the second deviation value calculation subunit 221 are both first difference arithmetic units 100; the first calculation processing subunit 212 and the second calculation processing subunit 222 are both positive limiters 200; the first function calculation subunit 213 and the second function calculation subunit 223 are both function arithmetic units 300; the first voltage control signal output subunit 215 is a second difference arithmetic unit 400 and a first PID arithmetic unit 500. The second voltage control signal output subunit 225 is also a second difference arithmetic unit 400 and a first PID arithmetic unit 500.
[0093] The first input terminal of the first difference arithmetic unit 100 receives a first preset current signal I1; the second input terminal of the first difference arithmetic unit 100 receives a real-time current signal Io; the output terminal of the first difference arithmetic unit 100 is electrically connected to the input terminal of the positive limiter 200; the output terminal of the positive limiter 200 is electrically connected to the input terminal of the function arithmetic unit 300; the voltage output terminal of the function arithmetic unit 300 is electrically connected to the first input terminal of the second difference arithmetic unit 400; the second input terminal of the second difference arithmetic unit 400 receives a first preset voltage signal Vs; the third input terminal of the second difference arithmetic unit 400 receives a real-time voltage signal Vo; the output terminal of the second difference arithmetic unit 400 is electrically connected to the input terminal of the first PID arithmetic unit 500; the output terminal of the first PID arithmetic unit 500 outputs a voltage control signal.
[0094] The first preset current signal I1 is the maximum current signal in the constant voltage drive mode corresponding to the first preset voltage signal; the first preset current signal I1 is less than the second preset current signal I2 in the constant current drive mode.
[0095] The power control device includes three operating modes: constant voltage drive mode 01, constant voltage and constant current transition drive mode 02, and constant current drive mode 03. Specifically, when the real-time current signal Io is less than the first preset current signal I1, the first preset current signal I1 is output to the first difference arithmetic unit 100. The first difference arithmetic unit 100 performs difference calculation based on the first preset current signal I1 and the real-time current signal Io. If the difference calculation output is negative, then the output of the positive limiter 200 is zero, and the output of the function arithmetic unit 300 is zero. Then, the second difference arithmetic unit 400 will directly output the voltage deviation based on the first preset voltage signal Vs and the real-time voltage signal Vo. The first PID arithmetic unit 500 outputs the first voltage control signal based on the first voltage deviation according to the PID principle, thereby controlling the real-time voltage signal of the power supply to be equal to the first preset voltage signal Vs, thereby causing the power supply to enter the constant voltage drive mode (corresponding to the above steps S211 to S215).
[0096] When the real-time current signal Io is within the range of the first preset current signal I1 and the second preset current signal I2, the first preset current signal I1 is output to the first difference arithmetic unit 100. The first difference arithmetic unit 100 performs difference calculation based on the first preset current signal I1 and the real-time current signal Io. If the difference calculation output is positive, then the positive limiter 200 outputs a positive value. The function arithmetic unit 300 converts the current deviation value into a voltage value f() using different functions. The voltage value f() is within the range of (0-(Vs-V1)). This voltage value is output to the second difference arithmetic unit 400. The second difference arithmetic unit 400 determines the voltage calibration value based on the difference between the voltage value converted by different functions and the first preset voltage signal Vs, which is within the range of (Vs-V1). It also determines the voltage deviation based on the voltage calibration value and the real-time voltage signal Vo. The first PID arithmetic unit 500 outputs a second voltage control signal based on the voltage deviation according to the PID principle, thereby controlling the real-time voltage signal of the power supply to be equal to the voltage, thus enabling the power supply to enter the constant voltage and constant current transition mode (see...). Figure 3 and Figure 4 The current-voltage characteristic curve corresponds to steps S221 to S225 above; thus, this embodiment of the application improves the availability of the power supply by adding a constant voltage and constant current transition mode to eliminate oscillations at the critical state of constant voltage and constant current under load.
[0097] It should be noted that the function arithmetic unit 300 transforms the voltage comparison difference into different functions f(). The function arithmetic unit 300 can be a linear function generator, a quadratic function generator, a multiplicative function generator, or a discrete function generator. Specifically, the linear function generator is f() = +b; the second function generator is f() = +k +b. The output voltage value f() of each function arithmetic unit 300 only needs to be within the range of (0-(Vs-V1)). Here, the type of function arithmetic unit is not specifically limited. Figure 3 Only the output volt-ampere characteristic diagram of the power control circuit for the function arithmetic unit 300 as a linear function generator is shown; in other embodiments, Figure 4 The diagram illustrates the output voltage-current characteristic of the power supply when the function arithmetic unit 300 is selected as a quadratic function generator, a multiplicative function generator, or a discrete function generator, and the power control device drives the power supply.
[0098] In some embodiments, reference Figure 8 The constant current drive mode unit 23 includes a current control signal output subunit. The current control signal output subunit is used to output a second current deviation value according to the current signal and the second preset current signal I2 when the current signal is greater than or equal to the second preset current signal I2; and to output a current control signal to the power supply according to the current deviation value so that the power supply enters the constant current drive mode.
[0099] In at least one embodiment of this application, reference is made to Figure 9The constant current drive mode unit 23 includes a third difference arithmetic unit 600 and a second PID arithmetic unit 700. The first input terminal of the third difference arithmetic unit 600 receives a second preset current signal I2; the second input terminal of the third difference arithmetic unit 600 receives a real-time current signal Io. The output terminal of the third difference arithmetic unit 600 is electrically connected to the input terminal of the second PID arithmetic unit 700; the output terminal of the second PID arithmetic unit 700 outputs a current control signal.
[0100] It should be noted that when the real-time current signal Io is greater than or equal to the second preset current signal I2, the current deviation between the real-time current signal Io and the second preset current signal I2 is output to the second PID arithmetic unit 700. The second PID arithmetic unit 700 outputs a current control signal based on the PID principle according to the current deviation, thereby controlling the real-time current signal of the power supply to be equal to the second preset current signal I2, thereby enabling the power supply to enter the constant current drive mode (corresponding to the above steps S231 and S232).
[0101] In at least one embodiment of this application, reference is made to Figure 9 The power control device also includes a multiplexer 800. The output of the third difference arithmetic unit 600 is electrically connected to the input of the second PID arithmetic unit 700; the output of the second PID arithmetic unit 700 is electrically connected to the first input of the multiplexer 800; and the second input of the multiplexer 800 is electrically connected to the output of the transition drive mode unit 22.
[0102] In this embodiment, the multiplexer 800 can select whether to drive the power supply with the voltage control signal output by the first PID arithmetic unit 500 or the current control signal output by the second PID arithmetic unit 700 through different channels, thus ensuring independent control of the power supply control mode.
[0103] It should be noted that the combination of the technical features in the embodiments of this application is not limited to the combination methods described in the embodiments of this application or the combination methods described in specific embodiments. All technical features described in this application can be freely combined or combined in any way, unless they contradict each other.
[0104] As indicated in this application and claims, unless the context clearly indicates otherwise, the words "a," "an," and / or "the" do not specifically refer to the singular and may also include the plural. Generally speaking, the term "comprising" only indicates that it includes the explicitly identified steps and elements, which do not constitute an exclusive list, and the method or apparatus may also include other steps or elements.
[0105] The terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first," "second," etc., may explicitly or implicitly include one or more of that feature.
[0106] The above are merely preferred embodiments of this application and are not intended to limit this application. Any modifications or equivalent substitutions made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A power supply control method, characterized in that, include: S10: Real-time acquisition of the power supply output current signal; S20: Controls the power supply to enter different drive modes based on the current signal. The different drive modes include constant voltage drive mode, constant voltage and constant current transition drive mode, and constant current drive mode. In the constant voltage and constant current transition drive mode, both the output current and voltage signals change with the load size, and the current and voltage signals are negatively correlated. Step S20 includes: S21: When the current signal is less than the first preset current signal, the control power supply enters the constant voltage drive mode. S22: When the current signal is greater than the first preset current signal and less than the second preset current signal, the control power supply enters the constant voltage and constant current transition drive mode. S23: When the current signal is greater than or equal to the second preset current signal, the control power supply enters the constant current drive mode. Step S22 includes: S221: When the current signal is greater than the first preset current signal and less than the second preset current signal, output the current deviation value according to the current signal and the first preset current signal. S222: Perform calculations and outputs a calculation and processing control signal based on the current deviation value; S223: Based on the operation and processing control signal, output the function operation control signal, and perform function operation according to the current deviation value to output the function operation signal; S224: Acquire real-time voltage signal; S225: Output a voltage deviation signal based on the function operation signal and the first preset voltage signal, and output a current control signal to the power supply based on the voltage deviation signal and the real-time voltage signal so that the power supply enters the constant voltage and constant current transition drive mode.
2. The power control method according to claim 1, characterized in that, Step S21 includes: S211: When the current signal is less than the first preset current signal, output the current deviation value according to the current signal and the first preset current signal; S212: Perform calculations and outputs a calculation and processing control signal based on the current deviation value; S213: Output function to process control signals based on calculation; S214: Acquire real-time voltage signal; S215: Based on the function operation control signal, output a voltage control signal to the power supply according to the real-time voltage signal and the first preset voltage signal to make the power supply enter the constant voltage drive mode. The first preset current signal is the maximum current signal in the constant voltage drive mode corresponding to the first preset voltage signal.
3. A power control method according to claim 1 or 2, characterized in that, Step S23 includes: S231: When the current signal is greater than or equal to the second preset current signal, output the current deviation value according to the current signal and the second preset current signal; S232: Outputs a current control signal to the power supply based on the current deviation value so that the power supply enters constant current drive mode.
4. A power control device, characterized in that, Includes an acquisition module and a driver mode module. The acquisition module is used to acquire the current signal output by the power supply in real time. The drive mode module is used to control the power supply to enter different drive modes based on the current signal. The different drive modes include constant voltage drive mode, constant voltage and constant current transition drive mode, and constant current drive mode. In the constant voltage and constant current transition drive mode, both the output current and voltage signals change with the load size, and the current and voltage signals are negatively correlated. The drive mode module includes a constant voltage drive mode unit, a transition drive mode unit, and a constant current drive mode unit. The constant voltage drive mode unit is used to control the power supply to enter the constant voltage drive mode when the current signal is less than the first preset current signal. The transition drive mode unit is used to control the power supply to enter the constant voltage and constant current transition drive mode when the current signal is greater than the first preset current signal and less than the second preset current signal. The constant current drive mode unit is used to control the power supply to enter constant current drive mode when the current signal is greater than or equal to the second preset current signal. The transition drive mode unit includes a second deviation value calculation subunit, a second calculation processing subunit, a second function calculation subunit, a second voltage acquisition subunit, and a second voltage control signal output subunit. The second deviation value calculation subunit is used to output a current deviation value based on the current signal and the first preset current signal when the current signal is greater than the first preset current signal and less than the second preset current signal. The second calculation processing subunit is used to perform calculation processing based on the current deviation value and output a calculation processing control signal. The second function calculation subunit is used to output a function calculation control signal based on the calculation processing control signal and to perform function calculation based on the current deviation value and output a function calculation signal. The second voltage acquisition subunit is used to acquire a real-time voltage signal. The second voltage control signal output subunit is used to output a voltage deviation signal based on the function calculation signal and the first preset voltage signal, and to output a current control signal to the power supply based on the voltage deviation signal and the real-time voltage signal to enable the power supply to enter the constant voltage and constant current transition drive mode.
5. A power control device according to claim 4, characterized in that, The constant voltage drive mode unit includes a first deviation value calculation subunit, a first calculation processing subunit, a first function calculation subunit, a first voltage acquisition subunit, and a first voltage control signal output subunit. The first deviation value calculation subunit is used to output a current deviation value based on the current signal and the first preset current signal when the current signal is less than the first preset current signal; the first calculation processing subunit is used to perform calculation processing based on the current deviation value and output a calculation processing control signal; the first function calculation subunit is used to output a function calculation control signal based on the calculation processing control signal; the first voltage acquisition subunit is used to acquire a real-time voltage signal; the first voltage control signal output subunit is used to output a voltage control signal to the power supply based on the function calculation control signal, the real-time voltage signal and the first preset voltage signal to enable the power supply to enter the constant voltage drive mode, and the first preset current signal is the maximum current signal in the constant voltage drive mode corresponding to the first preset voltage signal.
6. A power control device according to claim 5, characterized in that, Both the first deviation value calculation subunit and the second deviation value calculation subunit are first difference arithmetic units; both the first calculation processing subunit and the second calculation processing subunit are positive limiters; both the first function calculation subunit and the second function calculation subunit are function arithmetic units; the first voltage control signal output subunit is a second difference arithmetic unit and a first PID arithmetic unit, and the second voltage control signal output subunit is a second difference arithmetic unit and a first PID arithmetic unit; the first input terminal of the first difference arithmetic unit receives a first preset current signal; the second input terminal of the first difference arithmetic unit receives a real-time current signal; the output terminal of the first difference arithmetic unit is electrically connected to the input terminal of the positive limiter; the output terminal of the positive limiter is electrically connected to the input terminal of the function arithmetic unit; the voltage output terminal of the function arithmetic unit is electrically connected to the first input terminal of the second difference arithmetic unit. The second input terminal of the second difference arithmetic unit receives the first preset voltage signal; The third input terminal of the second difference arithmetic unit receives the real-time voltage signal; The output of the second difference arithmetic unit is electrically connected to the input of the first PID arithmetic unit; the output of the first PID arithmetic unit outputs a voltage control signal.
7. A power control device according to any one of claims 4 to 6, characterized in that, The constant current drive mode unit includes a third difference arithmetic unit and a second PID arithmetic unit. The first input terminal of the third difference arithmetic unit receives a second preset current signal, the second input terminal of the third difference arithmetic unit receives a real-time current signal, the output terminal of the third difference arithmetic unit is electrically connected to the input terminal of the second PID arithmetic unit, and the output terminal of the second PID arithmetic unit outputs a current control signal. The power control device further includes a multiplexer, wherein the output of the third difference arithmetic unit is electrically connected to the input of the second PID arithmetic unit; the output of the second PID arithmetic unit is electrically connected to the first input of the multiplexer; and the second input of the multiplexer is electrically connected to the output of the transition drive mode unit.
Citation Information
Patent Citations
Switching control circuit, charging chip, electronic device and related method
CN114189002A
Intelligent power supply control method adaptive to different loads
CN119847036A