Adaptive charging voltage control method, system and device based on dual-state encoding
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-03
- Publication Date
- 2026-08-11
AI Technical Summary
[0005]本发明的目的在于提供一种基于双状态编码的自适应充电电压控制方法、系统及设备,以解决如何在缺少电池模型参数、输出电流为零的情况下准确识别系统状态,并提供自适应调节能力的技术问题
[0019]本发明所提供的基于双状态编码的自适应充电电压控制方法、系统及设备的技术方案至少具有如下优点和有益效果:(1)可实现输出电流为零场景下的工作状态区分,避免误判导致的控制错误;(2)当接入电池规格变化时,仍可通过自适应搜索自动找到可用的充电工作点,减少现场调参需求,提高不同型号电池的兼容性和工程部署效率;(3)通过输入能力约束的闭环调节抑制过载与振荡,提高了充电的稳定性;(4)通过引入充满保持计数与状态重置机制,可实现长期无人值守的自恢复运行;(5)通过状态转换约束可减少无意义跳转。
Smart Images

Figure CN122553484A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of battery charging control technology, and more specifically, to an adaptive charging voltage control method, system, and device based on dual-state coding. Background Technology
[0002] Existing battery charging systems generally rely on output current as the basis for judgment. When the output current is greater than zero, it is considered to be in a charging state, and when the output current is zero, it is considered to be in a non-charging state. However, in actual engineering, zero output current has multiple physical meanings, including but not limited to the battery not being connected, the battery being fully charged, the battery being disconnected, or the system being abnormal. Therefore, relying solely on output current cannot accurately distinguish the true working state of the system, which can easily lead to system misjudgment, control oscillation, or deadlock.
[0003] In addition, existing charging systems mostly rely on fixed charging voltages or preset battery model parameters, which are difficult to adapt to different battery types and operating conditions. When batteries are replaced, aged, or parameters drift, problems such as reduced charging efficiency or even charging failure may occur.
[0004] Therefore, there is an urgent need for a charging control method that can accurately identify the system state even when the output current is zero, without requiring battery model parameters, and has adaptive adjustment capabilities. Summary of the Invention
[0005] The purpose of this invention is to provide an adaptive charging voltage control method, system, and device based on dual-state coding, in order to solve the technical problem of how to accurately identify the system state and provide adaptive adjustment capability when battery model parameters are lacking and the output current is zero.
[0006] This invention is achieved through the following technical solution: an adaptive charging voltage control method based on dual-state coding, comprising the following steps: Acquire output-side measurements, including output voltage and output current; The battery status and charging status are obtained by using the measured value on the output side as the criterion for determining the battery status and charging status. The system's operating state is jointly characterized based on the battery state and charging state, and the effective operating state category of the system is matched according to the joint characterization results. The corresponding control strategy is determined based on the effective working state category.
[0007] According to a preferred embodiment, the battery state and charging state are respectively represented as follows: The battery state is represented as follows: ,in, This indicates that the battery is not connected or is in a rechargeable condition. This indicates that the battery is connected and meets the conditions for charging. The charging state is represented as ,in, This indicates that no effective charging has occurred at present. This indicates that a valid charge is currently in progress.
[0008] According to a preferred embodiment, the output-side measurement value is used as the criterion for determining the battery state and charging state, specifically including: Using the output voltage as a criterion for battery status, when the output voltage is within a preset rechargeable voltage window, the battery connection condition is determined to be met, as expressed below:
[0009] In the above formula, Indicates the output voltage. This indicates the minimum rechargeable voltage threshold. Indicates the maximum allowable voltage threshold for charging; The output current is used as the criterion for the charging state. When the output current is greater than the effective charging threshold, charging is determined to have occurred, as shown in the following expression:
[0010] In the above formula, Indicates the output current. This represents the minimum effective charging current threshold.
[0011] According to a preferred embodiment, when determining the battery state and charging state, a hysteresis threshold determination or continuous... The judgment is made when the criterion is met once.
[0012] According to a preferred embodiment, the effective working state categories include three types, namely the first state. Second state With the third state The first state correspond This indicates that the output voltage has not yet reached the required charging range after power-on, the battery is not connected, or the connection is invalid; this is the second state. correspond This indicates that the output voltage meets the battery charging requirements and the output current exceeds the effective threshold, and the system enters a stable charging process, the third state. correspond This indicates that the battery is fully charged or there is no immediate need for charging, and the output current approaches zero.
[0013] According to a preferred embodiment, when an abnormal state occurs At that time, do the second state Same processing, abnormal state correspond .
[0014] According to a preferred embodiment, determining the corresponding control strategy based on the effective operating state category specifically includes: In the first state Next, a strategy of adaptively increasing the reference voltage is implemented to gradually bring the output voltage closer to the rechargeable window, thus entering the second state. The formula for the adaptively increasing reference voltage strategy is as follows:
[0015] In the above formula, Indicates the output reference voltage. Indicates the incrementing step size; In the second state Below, based on the input side power supply capability, the target operating point is set close to the input upper limit, and closed-loop adjustment is performed through PWM control to enter the normal charging mode. When the input side power supply capability is insufficient, the output power is limited or the reference voltage is locked to reduce the demand for input power. In the third state Next, the holding time is calculated, and a state reset is triggered when the holding time exceeds a preset threshold, returning to the first state. .
[0016] According to a preferred embodiment, when determining the corresponding control strategy based on the effective operating state category, a state transition constraint must be satisfied, wherein the state transition constraint is a first state. Only able to enter the second state The second state Only able to enter the third state and the third state Can return to the first state Or second state .
[0017] This invention also provides an adaptive charging voltage control system based on dual-state coding, which uses the adaptive charging voltage control method based on dual-state coding as described above. The system includes: The sampling module is used to acquire output-side measurements, including output voltage and output current. The status determination module is used to obtain the battery status and charging status by using the output side measurement value as the criterion for determining the battery status and charging status. The working state identification module is used to jointly characterize the system working state based on the battery state and charging state, and match the effective working state category of the system according to the joint characterization result. The strategy output module is used to determine the corresponding control strategy based on the effective working state category.
[0018] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the adaptive charging voltage control method based on dual-state coding as described above.
[0019] The technical solution of the adaptive charging voltage control method, system and equipment based on dual state coding provided by the present invention has at least the following advantages and beneficial effects: (1) It can realize the distinction of working state in the scenario where the output current is zero, and avoid control errors caused by misjudgment; (2) When the battery specifications change, it can still automatically find the available charging working point through adaptive search, reduce the need for on-site parameter adjustment, and improve the compatibility of different battery models and the efficiency of engineering deployment; (3) It suppresses overload and oscillation through closed-loop regulation of input capability constraints, and improves the stability of charging; (4) By introducing a full charge hold count and state reset mechanism, it can realize long-term unattended self-recovery operation; (5) It can reduce meaningless jumps through state transition constraints. Attached Figure Description
[0020] Figure 1 This is a flowchart illustrating the adaptive charging voltage control method based on dual-state coding provided in Embodiment 1 of the present invention. Figure 2 This is a structural block diagram of the adaptive charging voltage control system based on dual-state coding provided in Embodiment 2 of the present invention. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0022] Example 1 This invention provides an adaptive charging voltage control method based on dual-state coding. Figure 1 For a schematic diagram of the overall process of this adaptive charging voltage control method, see [link / reference]. Figure 1 As shown, the adaptive charging voltage control method includes the following steps: Step S1: Sampling and Measurement; In this embodiment, the information obtained from sampling and measurement includes output-side measured values, input-side / bus-side measured values, and control quantities; wherein, the output-side measured values include the output voltage. With output current Input-side / bus-side measurements include input voltage. Bus current The control quantity includes the output reference voltage. PWM control quantity Working parameter step size .
[0023] Step S2: State determination; In this embodiment, the output side measurement value is used as the criterion for determining the battery status and charging status to obtain the battery status and charging status.
[0024] In some preferred embodiments, the battery state and the charging state are represented as follows: Battery status is indicated as ,in, This indicates that the battery is not connected or is in a rechargeable condition. This indicates that the battery is connected and meets the charging conditions; the charging status is indicated as follows. ,in, This indicates that no effective charging has occurred at present. This indicates that a valid charge is currently in progress.
[0025] The output-side measurement values are used as criteria for determining battery status and charging status, specifically including: The output voltage is used as the criterion for battery status. When the output voltage is within a preset rechargeable voltage window, the battery connection condition is considered met. The expression is as follows:
[0026] In the above formula, Indicates the output voltage. This indicates the minimum rechargeable voltage threshold. Indicates the maximum allowable voltage threshold for charging; The output current is used as the criterion for the charging state. When the output current is greater than the effective charging threshold, charging is determined to have occurred, as shown in the following expression:
[0027] In the above formula, Indicates the output current. This represents the minimum effective charging current threshold, used to eliminate false positives caused by leakage current / noise.
[0028] Furthermore, to avoid frequent state jumps caused by voltage and current fluctuations near the threshold, this embodiment combines hysteresis threshold determination or continuous current determination when judging battery state and charging state. The judgment is made when the criterion is satisfied for the second time, for example in continuous At this time, the judgment is made. .
[0029] Step S3: Identify working status; In this embodiment, the system operating state is jointly characterized based on the battery state and the charging state, and the effective operating state category of the system is matched according to the joint characterization result. In some preferred embodiments, the effective working state is divided into three categories, namely the first state. Second state With the third state ; The first state correspond This indicates that the output voltage has not yet reached the required charging range after power-on, the battery is not connected, or the connection is invalid; second state correspond This indicates that the output voltage meets the battery charging requirements and the output current exceeds the effective threshold, and the system enters a stable charging process; third state correspond This indicates that the battery is fully charged or there is no immediate need for charging, and the output current approaches zero.
[0030] In addition, abnormal states are also included. ,correspond Since this state is physically and logically difficult to sustain, even if it occurs under noise or transient misjudgment, it is preferable to treat it as the second state. The same process is used to avoid controlling back-and-forth jitter.
[0031] Step S4: Strategy output; Determining the corresponding control strategy based on the effective operating state category, in some preferred embodiments, specifically includes: First state Under these conditions, an adaptive incremental reference voltage strategy is implemented, causing the output voltage to gradually approach the rechargeable window, thus naturally entering the second state. This strategy does not require prior knowledge of the battery type and cutoff voltage; it can find the rechargeable operating point online solely through closed-loop feedback. The formula for the strategy of adaptively increasing the reference voltage is as follows:
[0032] In the above formula, Indicates the output reference voltage. Indicates the incrementing step size; Second state Below, based on the input side power supply capability, the target operating point is set close to the input upper limit, and closed-loop adjustment is performed through PWM control to enter the normal charging mode. When the input side power supply capability is insufficient, the output power is limited or the reference voltage is locked to reduce the demand for input power. In the third state Next, the holding time is calculated, and a state reset is triggered when the holding time exceeds a preset threshold, returning to the first state. To address the shift in operating point caused by battery replacement, long-term drift, or environmental changes, the system is designed to ensure self-recovery capabilities and avoid prolonged periods in an ineffective state of being neither fully nor fully connected. This makes it particularly suitable for unattended scenarios such as online monitoring of power transmission towers.
[0033] Furthermore, when determining the corresponding control strategy based on the effective working state category, the state transition constraint must be satisfied, and the state transition constraint is the first state. Only able to enter the second state Second state Only able to enter the third state and the third state Can return to the first state Or second state .
[0034] In summary, the technical solution of the adaptive charging voltage control method, system and equipment based on dual-state coding provided by the present invention has at least the following advantages and beneficial effects: (1) It can distinguish the working state in the scenario where the output current is zero, and avoid control errors caused by misjudgment; (2) When the battery specifications change, it can still automatically find the available charging working point through adaptive search, reduce the need for on-site parameter adjustment, and improve the compatibility of different battery models and the efficiency of engineering deployment; (3) It suppresses overload and oscillation through closed-loop regulation of input capability constraints, and improves the stability of charging; (4) By introducing a full charge hold count and state reset mechanism, it can realize long-term unattended self-recovery operation; (5) It can reduce meaningless jumps through state transition constraints.
[0035] Example 2 This embodiment, based on the technical solution provided in Embodiment 1, provides an adaptive charging voltage control system based on dual-state coding. Figure 2 For this adaptive charging voltage control system, see [link to relevant documentation]. Figure 2 As shown, this adaptive charging voltage control system uses the dual-state coding-based adaptive charging voltage control method as described in Example 1. The system includes: The sampling module is used to acquire output-side measurements, including output voltage and output current. The status determination module is used to determine the battery status and charging status by using the output side measurement value as the criterion. The operating status identification module is used to jointly characterize the system operating status based on battery status and charging status, and match the valid operating status category of the system according to the joint characterization result. The strategy output module is used to determine the corresponding control strategy based on the effective working state category.
[0036] The functions of each module of the adaptive charging voltage control system based on dual-state coding in this embodiment are the same as those in the embodiment of the adaptive charging voltage control method based on dual-state coding, and the technical effects are the same. Therefore, they will not be repeated here.
[0037] Example 3 This embodiment is based on the technical solution provided in Embodiment 1, and provides an electronic device. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the adaptive charging voltage control method based on dual-state coding as described in Embodiment 1.
[0038] The electronic device in this embodiment has the same function and technical effect as the embodiment of the adaptive charging voltage control method based on dual-state coding, and will not be repeated here.
[0039] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. An adaptive charging voltage control method based on dual-state coding, characterized in that, Includes the following steps: Acquire output-side measurements, including output voltage and output current; The battery status and charging status are obtained by using the measured value on the output side as the criterion for determining the battery status and charging status. The system's operating state is jointly characterized based on the battery state and charging state, and the effective operating state category of the system is matched according to the joint characterization results. The corresponding control strategy is determined based on the effective working state category.
2. The adaptive charging voltage control method based on two-state encoding according to claim 1, wherein, The battery status and charging status are respectively represented as follows: The battery status is represented as wherein, represents that the battery is not connected or in a chargeable condition, represents that the battery is connected and the chargeable condition is met; The state of charge is represented as wherein, indicates that no valid charging is currently taking place, indicates that valid charging is currently taking place.
3. The adaptive charging voltage control method based on two-state encoding according to claim 2, wherein, Using the output-side measurement value as the criterion for determining battery status and charging status specifically includes: Using the output voltage as a criterion for battery status, when the output voltage is within a preset rechargeable voltage window, the battery connection condition is determined to be met, as expressed below: In the above formulae, represents an output voltage, represents a minimum voltage threshold value that can be charged, represents a maximum voltage threshold value that allows charging; The output current is used as the criterion for the charging state. When the output current is greater than the effective charging threshold, charging is determined to have occurred, as shown in the following expression: In the above formula, Indicates the output current. This represents the minimum effective charging current threshold.
4. The adaptive charging voltage control method based on two-state encoding according to claim 3, wherein, In the determination of the state of the battery and the state of charge, the hysteresis threshold determination or the continuous satisfies the criterion is determined.
5. The adaptive charging voltage control method based on two-state encoding according to any one of claims 2 to 4, characterized in that, The effective working state categories include three types, namely the first state. Second state With the third state The first state correspond This indicates that the output voltage has not yet reached the required charging range after power-on, the battery is not connected, or the connection is invalid; this is the second state. correspond This indicates that the output voltage meets the battery charging requirements and the output current exceeds the effective threshold, and the system enters a stable charging process, the third state. correspond This indicates that the battery is fully charged or there is no immediate need for charging, and the output current approaches zero.
6. The adaptive charging voltage control method based on two-state encoding according to claim 5, wherein, When an abnormal state occurs, the same processing as the second state is done, and the abnormal state corresponds .
7. The adaptive charging voltage control method based on two-state encoding according to claim 6, wherein, Based on the effective operating state category, the corresponding control strategy is determined, specifically including: In the first state Next, the strategy of adaptive increment of reference voltage is executed, so that the output voltage gradually approaches the chargeable window, entering the second state The expression of the strategy of adaptive increment of reference voltage is as follows: In the above formulae, denotes the output reference voltage, denotes the incremental step size; In the second state Next, the target operating point is set close to the upper limit of the input based on the input-side energy supply capability, and closed-loop adjustment is performed through the PWM control quantity, entering the normal charging mode. When the input-side energy supply capability is insufficient, the demand for input power is reduced by limiting the output power or performing reference voltage locking. In the third state The hold time is calculated and the state is reset to the first state when the hold time exceeds a preset threshold .
8. The adaptive charging voltage control method based on two-state encoding according to claim 7, wherein, When determining the corresponding control strategy based on the effective working state category, a state transition constraint must be satisfied, wherein the state transition constraint is the first state. Only able to enter the second state The second state Only able to enter the third state and the third state Can return to the first state Or second state .
9. An adaptive charging voltage control system based on two-state encoding, characterized in that, The system employs the adaptive charging voltage control method based on dual-state coding as described in any one of claims 1 to 8, and includes: The sampling module is used to acquire output-side measurements, including output voltage and output current. The status determination module is used to obtain the battery status and charging status by using the output side measurement value as the criterion for determining the battery status and charging status. The working state identification module is used to jointly characterize the system working state based on the battery state and charging state, and match the effective working state category of the system according to the joint characterization result. The strategy output module is used to determine the corresponding control strategy based on the effective working state category.
10. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the adaptive charging voltage control method based on dual-state coding as described in any one of claims 1 to 8.