Multi-channel bridging discharge method, device, equipment and storage medium
By acquiring the electrical parameter data of the lithium battery charger output channel, constructing a bridging path and sending a pulse width modulation control signal, the power is transmitted to a high-power external resistor, solving the problems of internal heat loss and slow discharge speed of the charger, and achieving efficient discharge.
Patent Information
- Application Number
- CN202511537699.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-27
- Publication Date
- 2026-01-09
Smart Images

Figure CN121308262A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of lithium battery charging and discharging, and in particular to a multi-channel bridging discharging method, device, equipment and storage medium. BACKGROUND
[0002] In the model aircraft industry, users need to discharge the unused lithium battery to a suitable capacity for storage and placement, so as to avoid damage to the battery. Or due to the memory effect of nickel-hydrogen batteries, the battery capacity needs to be activated by complete discharge. Therefore, the battery needs to be discharged quickly. The current industry charger can discharge the battery at a low power, only a few watts to tens of watts of discharge power, which is very time-consuming for users to use. Alternatively, the charger discharges the battery through internal heat consumption, which damages the charger and slows down the discharge speed. SUMMARY
[0003] The present application provides a multi-channel bridging discharging method, device, equipment and storage medium, which is used to solve the problem of damaging the charger and slow discharge speed by internal heat consumption to discharge the battery in the related art.
[0004] The first aspect of the present application provides a multi-channel bridging discharging method, which comprises: obtaining electrical parameter data of the input end and the output end of each output channel of the charger; generating a state parameter group of the inter-channel electrical energy transfer strategy configuration through joint analysis of the electrical parameter data and the remaining battery capacity; constructing a bridging path between the target energy supply channel and the target energy discharge channel according to the connection relationship between the state parameter group and the preset voltage conversion circuit; transmitting a pulse width modulation control signal to the voltage conversion circuit on the bridging path to transfer the electrical energy of the battery to a high-power external resistor connected to the target energy discharge channel for discharging.
[0005] Optionally, in the first implementation manner of the first aspect of the present application, the step of generating a state parameter group of the inter-channel electrical energy transfer strategy configuration through joint analysis of the electrical parameter data and the remaining battery capacity comprises: performing power average processing on each output channel according to the electrical parameter data in the preset period to determine a channel power information group corresponding to each output channel; based on the channel power information group and the remaining battery capacity, extracting energy supply channel parameters and energy discharge channel parameters that meet the electrical energy transfer condition; performing logical combination on the energy supply channel parameters and the energy discharge channel parameters to generate a state parameter group of the inter-channel electrical energy transfer strategy configuration.
[0006] Optionally, in a second implementation form of the first aspect of the application, the step of constructing a bridging path between the target energy supply channel and the target energy discharge channel according to the state parameter group and the connection relationship between the preset step-up / down voltage circuit comprises: matching and judging the bridgeable relationship between the output channels according to the state parameter group to obtain a target channel pair satisfying a preset pairing condition; determining a set of step-up / down voltage circuit identifiers corresponding to the connection path between the target channel pair according to the connection structure information of the target channel pair and the step-up / down voltage circuit topology mapping relationship stored in the controller; configuring the circuit elements in the set of step-up / down voltage circuit identifiers to construct the bridging path between the target energy supply channel and the target energy discharge channel.
[0007] Optionally, in a third implementation form of the first aspect of the application, the step-up / down voltage circuit comprises a first step-up / down voltage circuit and a second step-up / down voltage circuit; the output end of the target energy supply channel of the bridging path is connected with the first step-up / down voltage circuit, the input end of the target energy supply channel is connected with the battery, and the output end is connected with the second step-up / down voltage circuit; the input end of the target energy discharge output channel of the bridging path is connected with the second step-up / down voltage circuit, and the output end of the target energy discharge channel is connected with the high-power external resistor.
[0008] Optionally, in a fourth implementation form of the first aspect of the application, the pulse width modulation control signal comprises a first pulse width modulation control signal and a second pulse width modulation control signal, and the step of transmitting the electric energy of the battery to the high-power external resistor connected with the target energy discharge channel for discharging by sending the pulse width modulation control signal to the step-up / down voltage circuit on the bridging path comprises: sending the first pulse width modulation control signal to the first step-up / down voltage circuit to control the output voltage of the target energy supply channel to be equal to the input voltage; generating the second pulse width modulation control signal according to the output voltage and sending the second pulse width modulation control signal to the second step-up / down voltage circuit; transmitting the electric energy output by the target energy supply channel to the high-power external resistor connected with the target energy discharge channel for discharging by the second step-up / down voltage circuit.
[0009] Optionally, in a fifth implementation form of the first aspect of the application, after the step of transmitting the electric energy of the battery to the high-power external resistor connected with the target energy discharge channel for discharging by sending the pulse width modulation control signal to the step-up / down voltage circuit on the bridging path, the method further comprises: generating the instantaneous discharge power of the battery output in the current sampling period by synchronously collecting the output voltage and the output current of the target energy supply channel. comparing the instantaneous discharge power with a preset target discharge power interval, determining a control error deviation value, and adjusting duty cycles of the first pulse width modulation control signal and the second pulse width modulation control signal based on the control error deviation value; generating a trend fitting result by fitting error deviation values of multiple continuous sampling periods, and dynamically adjusting the duty cycles in a next sampling period according to the trend fitting result; In the dynamic adjustment process, when it is detected that the output voltage of the target energy supply channel is lower than a preset termination voltage threshold in multiple continuous sampling periods, a control logic switching is triggered, and a discharge stop signal is sent to the first and second buck-boost circuits.
[0010] Optionally, in a sixth implementation manner of the first aspect of the present application, the method further includes: performing off control on power switch units of the first and second buck-boost circuits according to the discharge stop signal; After the off control is completed, the output voltage of the target energy supply channel is monitored at intervals based on a low-frequency sampling mode of a controller, a difference between a current monitored voltage and the termination voltage threshold is compared to obtain a voltage rebound amplitude parameter; extreme value tracking is performed on voltage rebound amplitude parameters of multiple continuous periods to determine whether there is a rebound voltage; If the rebound voltage exceeds a preset stable deviation threshold, the bridging path is reactivated to enter a delayed discharge state; If no abnormal rebound voltage is detected, all configuration states of the bridging path are released.
[0011] The second aspect of the present application provides a multi-channel bridging discharge device for implementing a multi-channel bridging discharge method. The multi-channel bridging discharge device includes: An acquisition module is configured to acquire electrical parameter data of input terminals and output terminals of each output channel of a charger; An analysis module is configured to generate a state parameter group of an inter-channel electrical energy transfer strategy configuration by jointly analyzing the electrical parameter data and a remaining battery capacity; A construction module is configured to construct a bridging path between a target energy supply channel and a target energy discharge channel according to a connection relationship between the state parameter group and preset buck-boost circuits; A discharge module is configured to transmit pulse width modulation control signals to buck-boost circuits on the bridging path to transfer electrical energy of the battery to a high-power external resistor connected to the target energy discharge channel for discharge.
[0012] The third aspect of the embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the processor is configured to execute a computer program stored in the memory, and when the processor executes the computer program, each step of the multi-channel bridge discharge method provided in the first aspect of the embodiment of the present application is implemented.
[0013] The fourth aspect of the embodiment of the present application provides a computer readable storage medium, which stores a computer program, and when the computer program is executed by a processor, each step of the multi-channel bridge discharge method provided in the first aspect of the embodiment of the present application is implemented.
[0014] In summary, according to the multi-channel bridge discharge method, device, equipment and storage medium provided by the scheme of the present application, the electrical parameter data of the input end and the output end of each output channel of the charger is acquired; through joint analysis of the electrical parameter data and the remaining battery capacity, a state parameter group of the channel-to-channel electrical energy transfer strategy configuration is generated; according to the connection relationship between the state parameter group and the preset voltage-lifting circuit, a bridge path between the target energy supply channel and the target energy discharge channel is constructed; and through sending a pulse width modulation control signal to the voltage-lifting circuit on the bridge path, the electrical energy of the battery is transmitted to a high-power external resistor connected to the target energy discharge channel for discharge. Through the implementation of the scheme of the present application, the internal heat discharge mode of the charger is converted into high-power external resistance heat consumption of electrical energy, which can effectively improve the discharge efficiency while protecting the service life of the charger. BRIEF DESCRIPTION OF DRAWINGS
[0015] Figure 1 A structure diagram of the multi-channel bridge discharge of the charger provided by the embodiment of the present application is provided. Figure 2 A flowchart of the multi-channel bridge discharge method provided by the embodiment of the present application is provided. Figure 3 A program module diagram of the multi-channel bridge discharge device provided by the embodiment of the present application is provided. Figure 4 A structure diagram of the electronic device provided by the embodiment of the present application is provided. DETAILED DESCRIPTION
[0016] In order to make the purposes, features and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0017] To solve the problem of slow discharging speed and damage to the charger by internal heat loss in the related art, like Figure 1 A structure diagram of a multi-channel bridge discharging charger is provided in the embodiment. In the multi-channel bridge fast discharging system, the buck-boost circuit 1 (i.e., the first buck-boost circuit) and the buck-boost circuit 2 (i.e., the second buck-boost circuit) form a complete discharging bridge path and are connected to different output channels, thereby completing the transfer and release of the battery power. The output channel 1 is configured as a target power supply channel, one end of which is directly connected to a battery that needs to be discharged and the other end is connected to the input end of the buck-boost circuit 1 through the output end. The buck-boost circuit 1 is a voltage conversion unit that directly interacts with the battery, receives the battery output power and adjusts the output voltage according to the first pulse width modulation control signal output by the controller, and then outputs to the subsequent circuit. The output end of the buck-boost circuit 1 and the input end of the buck-boost circuit 2 are internally connected to form an energy transmission link from the power supply channel to the energy release channel. The interconnection is realized by a controllable power switch array or a configurable current path and is controlled by the bridge task set by the controller. The buck-boost circuit 2 is an electric energy output module connected to the energy release side load, which receives the electric energy from the buck-boost circuit 1 and adjusts the output state through the second pulse width modulation control signal, so that the output voltage matches the working parameters of the target load resistor. Finally, the output end of the buck-boost circuit 2 is connected to the output channel 2, and the output channel 2 is connected to the externally arranged high-power power resistor to form the end energy consumption link of the entire bridge path. In this structure, the energy is transmitted from the battery to the load side resistor through the output channel 1, the buck-boost circuit 1 and the buck-boost circuit 2 in turn and finally released. The buck-boost circuit 1 is connected to the battery and thus directly undertakes the steady-state adjustment task of the input voltage, while the buck-boost circuit 2 is a load side power output adjustment module that ensures the discharge voltage matches the load and avoids power fluctuations or energy waste. The buck-boost circuit cascade topology enables the controller to accurately deploy the discharge path between the battery and the load and realize closed-loop control of the discharge speed, energy output amplitude and dynamic adjustment capability, thereby improving the response efficiency of the discharging system and the protection accuracy of the battery.
[0018] Correspondingly, the embodiment provides a multi-channel bridge discharging method, like Figure 2 A flowchart of the multi-channel bridge discharging method is provided in the embodiment. The multi-channel bridge discharging method includes the following steps: Step 110, obtaining the electrical parameter data of the input end and the output end of each output channel of the charger.
[0019] Specifically, in the embodiment, in the process of acquiring the electrical parameter data of the input end and the output end of each output channel of the charger, the voltage sensor and the shunt resistance current detection module are used to collect the voltage value and the current value of the input end and the voltage value and the current value of the output end in real time, and the data of the input end and the output end are ensured to be acquired in the same sampling period through the synchronous clock signal, so as to ensure the time sequence consistency of subsequent analysis. The collected analog signals are converted into digital signals through the analog-to-digital conversion module, and the influence of high-frequency noise and environmental temperature drift is eliminated through the hardware filtering and temperature compensation algorithm, so as to obtain stable and accurate electrical parameter data.
[0020] Step 120, generating a state parameter group of the inter-channel electric energy transfer strategy configuration through joint analysis of the electrical parameter data and the battery residual capacity.
[0021] Specifically, in combination with the electrical parameter data of each output channel and the residual capacity data calculated based on the voltage and current integration, the controller can evaluate the current discharge capacity, voltage compatibility and load state of each channel. By comparing and analyzing the voltage difference, electric energy remaining and output power and other information between multiple channels, the system generates a state parameter group reflecting the available channel combination relationship, which provides a basis for constructing the bridge path. Since the state parameter group is directly related to the control relationship of the boost-buck circuit, the sampling accuracy and data processing strategy will directly affect the effectiveness of the entire discharge strategy.
[0022] In an optional embodiment of the embodiment, the step of acquiring the electrical parameter data of the input end and the output end of each output channel of the charger and generating a state parameter group of the inter-channel electric energy transfer strategy configuration through joint analysis of the electrical parameter data and the battery residual capacity comprises: acquiring the electrical parameter data of the input end and the output end of each output channel of the charger through a multi-channel sampling circuit; performing power average processing on each output channel according to the electrical parameter data in a preset period to determine a channel power information group corresponding to each output channel; based on the channel power information group and the battery residual capacity, extracting energy supply channel parameters and energy discharge channel parameters that meet the electric energy transfer condition; generating a state parameter group of the inter-channel electric energy transfer strategy configuration through logical combination of the energy supply channel parameters and the energy discharge channel parameters.
[0023] Specifically, in the multi-channel bridged discharge method, the electrical parameter data of the input and output terminals of each output channel in the charger are acquired through a multi-channel sampling circuit. A multi-channel sampling circuit is an electronic module capable of simultaneously acquiring voltage and current signals from multiple channels in parallel. Its core consists of multiple analog-to-digital converter channels, a sample-and-hold circuit, and a signal conditioning unit. By connecting the positive and negative ports of each output channel to the input of the sampling circuit, raw analog signals including input voltage, output voltage, input current, and output current can be obtained. After analog-to-digital conversion, the data is fed back to the processing unit in the controller. For example, when the input of channel 1 is 11.1V, the output is 10.9V, and the output current is 1.5A, the controller records the current state of that channel as an input voltage of 11.1V, an output voltage of 10.9V, and an output power of 16.35W. However, during actual discharge, voltage and current values may be affected by factors such as load fluctuations and dynamic changes in the internal chemical reactions of the battery. Therefore, the power value acquired at a single moment cannot truly reflect the stable output capability of the channel. To improve computational stability, the system performs weighted averaging or sliding window smoothing on several instantaneous power values within each sampling period (e.g., 200ms or 1 second) to extract more representative effective power. For example, if the output power of channel 2 is 12.8W, 13.1W, 12.6W, and 13.0W in one period, after averaging, the power of this channel in that period is recorded as 12.88W. This processing method normalizes the fluctuation data of different channels and constructs a channel power information group containing stable power data from multiple channels, laying the foundation for the selection of power supply and discharge channels. Based on the obtained channel power information group and the estimated battery remaining capacity, the controller begins to extract the parameters of the power supply and discharge channels that meet the bridging conditions. The controller evaluates the power supply capability of each channel based on the channel power information group and the remaining battery capacity connected to each channel. The remaining battery capacity represents the ratio of the current available capacity to the total capacity and is an important basis for determining the battery discharge capability. The controller combines channel power information groups with the remaining charge of the batteries connected to each channel to schedule and match the output path of the target discharge battery. It's important to clarify that the battery is designated as the current power source for discharge when the task is assigned. Whether it participates in the discharge does not depend on its remaining charge, but rather on the level of bridging path selected based on its remaining charge. Batteries with higher charge have greater discharge margins and can be matched to higher-power buck-boost paths by the controller to shorten discharge time. Conversely, matching batteries with low remaining charge to high-power paths may cause a rapid drop in discharge voltage, making precise control of the cutoff point difficult, or even falsely triggering the termination threshold protection. Therefore, in such cases, the controller prioritizes bridging paths with lower power levels and finer adjustment granularity.For example, a battery with only 22% remaining current might see its voltage drop below the protection value within seconds if discharged through a 20W discharge path. However, if discharged through a 5W path with low-power slow release, the voltage drop can be precisely tracked through dynamic duty cycle control, allowing the battery voltage to stabilize near the termination value within a safe range. In this way, the system can establish a mapping relationship between the battery's remaining capacity and the power capacity of the available paths, achieving a discharge strategy of "discharge when possible, but with adjustable power," ensuring both the accuracy of termination control and improving discharge efficiency and channel utilization. The controller comprehensively establishes a power supply capacity evaluation function based on remaining capacity, voltage, current capacity, and battery health status, calculating and ranking the allocable power output of each channel. Simultaneously, the controller identifies output terminals connected to external power resistors but not connected to batteries as candidate discharge channels, filtering out unloaded paths with power absorption capabilities. After obtaining the power supply channel parameters and discharge channel parameters, the controller logically combines these two types of parameters to generate a state parameter set for configuring the inter-channel power transfer strategy. The logic combination process involves bidirectional pairing and screening of all channel pairs that meet the conditions, marking their connectivity in the bridging structure and the required buck-boost relationship. The controller performs condition verification on each candidate channel pair, including whether a topological connection path exists, whether the voltage difference and directionality are satisfied, and whether control circuit resources are available, and outputs a set of state parameters containing the valid bridging relationship. This set of state parameters is then input into the bridging path construction logic, determining how the buck-boost circuit is configured, how power is allocated, and how electrical energy is transferred, thereby completing the dynamic generation and scheduling of the discharge path within the control system.
[0024] Step 130: Based on the state parameter group and the connection relationship between the preset step-up and step-down circuits, construct a bridging path between the target power supply channel and the target power release channel.
[0025] Specifically, based on the generated state parameter set and the buck-boost circuit connection topology stored in the controller, the system performs the task of constructing inter-channel bridging paths. During this process, the system first determines whether the power supply and discharge channels have a bridging relationship in terms of voltage adaptation, power distribution, and topology support, based on their parameters. If the conditions are met, the system retrieves the port mapping table of the buck-boost circuit to determine the set of connectable circuit identifiers. The controller then selects the corresponding electronic switch or power control module based on this set, configures its conduction state, and establishes a bridging path from the target power supply channel to the target discharge channel. This path will serve as the subsequent power transmission channel, and its electrical continuity and logical correctness must be guaranteed.
[0026] In one optional implementation of this embodiment, the step of constructing a bridging path between a target power supply channel and a target power release channel based on a state parameter group and a preset connection relationship between buck-boost circuits includes: matching and judging the bridging relationship between output channels based on the state parameter group to obtain target channel pairs that meet preset pairing conditions; determining the buck-boost circuit identifier set corresponding to the connection path between the target channel pairs based on the connection structure information of the target channel pairs and the buck-boost circuit topology mapping relationship stored in the controller; and constructing a bridging path between the target power supply channel and the target power release channel by configuring the circuit elements in the buck-boost circuit identifier set.
[0027] Specifically, in this embodiment, in the multi-channel bridging discharge method, matching and judging the bridging relationship between output channels based on the state parameter set is a key control link for realizing power path scheduling. The state parameter set consists of previously collected electrical parameters, power information, remaining power estimation results, and channel operating status, used to express whether each channel has the ability to supply power or the conditions to serve as an energy dissipation path. In order to realize bridging discharge between channels, the system needs to select a set of channel combinations that can form an effective power transmission path, that is, the effective pairing relationship between the target power supply channel and the target power discharge channel. The matching judgment is based on a set of preset bridging pairing conditions, including whether the voltage difference is within the adjustable range of the buck-boost module, whether the remaining battery power meets the minimum discharge limit, and whether the load connection status allows energy injection, etc. For example, if the output voltage of channel 1 is 12.0V and the output voltage of channel 2 is 9.6V, and they have physical connectivity, then the system judges that the voltage difference is 2.4V, which meets the buck control range of the DC-DC module. At this time, channel 1 and channel 2 can be paired as a candidate target channel pair. After identifying the target channel pair, the system needs to determine the effective connection path between the channel pair and the required set of buck-boost circuit identifiers based on the connection structure information between the channel pairs and the pre-stored buck-boost circuit topology mapping relationship in the controller. The buck-boost circuit consists of a power stage main control chip, inductors, capacitors, power MOSFETs, and drive logic. Its duty cycle is adjusted by controlling the pulse width modulation control signal to raise or lower the input voltage. In a multi-channel system, multiple buck-boost circuits are connected between different channels through programmable multiplexers, forming a dynamically variable circuit topology. The controller maintains a buck-boost circuit connection topology diagram, which marks the correspondence between the input / output terminals of each buck-boost module and the channel number. Based on the target channel pair, the controller looks up the available buck-boost circuit paths in the table and extracts the corresponding control number or circuit identifier code to form a set of buck-boost circuit identifiers. The controller then configures the circuit components in the set of circuit identifiers sequentially to establish the bridging path. The configuration process includes turning on the electronic switch connected to the target channel, loading the control parameters of the buck-boost module, setting the initial pulse width modulation control duty cycle, and ensuring that relevant components are not in a fault or protection state. Through this operation, the target power supply channel inputs the battery power it is connected to into the buck-boost module, and the module output is connected to the path from the target power dissipation channel to the external load, thereby constructing an electrically continuous and logically controllable energy transfer channel.
[0028] Step 140: By sending a pulse width modulation control signal to the buck-boost circuit on the bridging path, the battery's electrical energy is transferred to the high-power external resistor connected to the target discharge channel for discharge.
[0029] Specifically, the system sends pulse width modulation (PWM) control signals to the buck-boost circuits within the bridging path to adjust the voltage conversion relationship between channels and drive the flow of electrical energy. In this embodiment, the first PWM control signal controls the buck-boost circuit connected to the power supply channel, ensuring that the output voltage of the channel remains consistent with its input voltage, thereby stabilizing the power supply output state. Subsequently, based on this stable output voltage value, a second PWM control signal is generated to control the buck-boost circuit connected to the power discharge channel, matching its output voltage with the parameters of the external power resistor. Through the coordinated operation of the two control signals, electrical energy is smoothly transferred from the target power supply channel to the high-power external resistor connected to the target power discharge channel and consumed, without needing to discharge through the low-power MOS inside the charger. This effectively improves discharge efficiency while protecting the charger's lifespan.
[0030] In one optional embodiment of this example, the step of transmitting battery power to a high-power external resistor connected to the target power discharge channel for discharge by sending a pulse width modulation control signal to the buck-boost circuit on the bridging path includes: controlling the output voltage of the target power supply channel to be equal to the input voltage by sending a first pulse width modulation control signal to the first buck-boost circuit; generating a second pulse width modulation control signal based on the output voltage and sending the second pulse width modulation control signal to the second buck-boost circuit; and transmitting the power output from the target power supply channel to the high-power external resistor connected to the target power discharge channel for discharge through the second buck-boost circuit.
[0031] Specifically, the pulse width modulation (PWM) control signal includes a first PWM control signal and a second PWM control signal. In a multi-channel bridged discharge system, to achieve efficient energy transfer from the battery-side channel to an external high-power resistor for energy dissipation, a first PWM control signal must first be sent to the first buck-boost circuit to control the output voltage of the target power supply channel to equal its input voltage. The first buck-boost circuit is a power conversion module with adjustable voltage output, containing core components such as inductors, capacitors, power MOSFETs, and a control IC. Its working principle is based on the mechanism of inductor energy storage and intermittent conduction voltage regulation. The PWM control signal is a digital signal with a fixed frequency output and a variable duty cycle; controlling its duty cycle controls the average output voltage of the buck-boost circuit. When the first buck-boost circuit is at the start of the bridging path, the controller sets the duty cycle of the first pulse width modulation (PWM) control signal based on the voltage detection value of the target power supply channel. This duty cycle is then input to the control terminal of the first buck-boost circuit via the drive module to guide it to stably output a voltage equal to the input voltage. This ensures that the battery's output power does not experience voltage attenuation due to the converter itself, guaranteeing an accurate voltage reference during subsequent power discharge. The system generates a second PWM control signal based on this stable output voltage and sends it to the second buck-boost circuit to drive it to provide an adjusted output voltage to the target power discharge channel. This second buck-boost circuit adjusts the output voltage amplitude according to the parameters of the external power resistor connected to the target power discharge channel, matching it to the load resistance to ensure the discharge power remains within a reasonable range. In the control logic, the duty cycle of the second PWM control signal is determined by the actual output voltage of the first buck-boost module, the external resistor value, and the target discharge power. The controller calculates the target discharge current value in real time and, combined with the output voltage value, inversely determines the duty cycle required for the second pulse width modulation (PWM) control signal. For example, with a 12.0V output, if the target discharge current is 2A and the corresponding resistance is 6Ω, the system needs to set the second PWM control signal to a duty cycle range that can output approximately 12.0V to form a reasonable load driving capability. This hierarchical cascaded control method ensures that the front-end output is stable and the back-end accurately matches the load in the entire energy transfer path, thus forming an efficient power transmission link. Through the execution response of the second PWM control signal by the second buck-boost circuit, the electrical energy output from the target power supply channel is accurately transferred to the high-power external resistor connected to the target discharge channel, completing the process of transferring battery energy to the load. In this process, the second buck-boost circuit switches the on and off states of the power MOSFET according to the PWM control command, controls the inductor to continuously switch between energy storage and release, adjusts the input voltage to a stable DC voltage acceptable to the load in a high-frequency manner, and drives the current to flow into the external resistor. The external resistor is a physical load with a preset power value. It has a large heat capacity and power handling capacity, and can quickly dissipate the input electrical energy in the form of heat.For example, if the system specifies a discharge power of 24W and a target voltage of 12V, the controller will instruct the second buck-boost circuit to output a 2A current flowing through a 6Ω resistor to complete efficient discharge. The entire discharge path is dynamically monitored by the controller for power, current, and voltage parameters, and an interrupt signal can be issued when the battery voltage drops to the termination threshold, causing the pulse width modulation control signal output to terminate and the bridging path to be broken, thereby achieving a safe, stable, and efficient energy release process.
[0032] In one optional embodiment of this example, after the step of transmitting battery power to a high-power external resistor connected to the target power discharge channel by sending a pulse width modulation control signal to the buck-boost circuit on the bridging path for discharge, the method further includes: synchronously acquiring the output voltage and output current of the target power supply channel to generate the instantaneous discharge power of the battery in the current sampling period; comparing the instantaneous discharge power with a preset target discharge power range to determine the control error deviation value, and adjusting the duty cycle of the first pulse width modulation control signal and the second pulse width modulation control signal based on the control error deviation value; generating a trend fitting result by fitting the error deviation value of multiple consecutive sampling periods, and controlling the duty cycle to dynamically adjust in the next sampling period according to the trend fitting result; during the dynamic adjustment process, when it is detected that the output voltage of the target power supply channel is lower than a preset termination voltage threshold in multiple consecutive sampling periods, the control logic is switched, and a discharge stop signal is sent to the first buck-boost circuit and the second buck-boost circuit.
[0033] Specifically, in the multi-channel bridged discharge control process, the controller first needs to synchronously acquire the output voltage and output current of the target power supply channel to generate the instantaneous discharge power output by the battery within the current sampling period. Synchronous acquisition refers to parallel sampling of the voltage and current signal channels at the same sampling time point to ensure the timeliness and accuracy of power calculation. The controller senses the actual output energy state of the current channel in real time through the voltage sampling pin and current sensing resistor connected to the output terminal, and obtains the instantaneous power value through multiplication. For example, when the sampling voltage is 11.8V and the current is 2.1A, the system calculates the discharge power for that period to be 24.78W. The sampling period is generally set to a fixed time interval, such as 100 milliseconds, to continuously capture changes in energy output during dynamic discharge. The controller compares the obtained instantaneous discharge power with the system's preset target discharge power range to determine the error deviation between the current actual power output and the target power output. The target discharge power range is an acceptable output power range set according to the battery's allowable discharge rate, safety limits, and external load capacity, such as 22W to 26W. In the example above, the actual power is 24.78W, which falls within the target range with a small error, requiring no significant adjustment. However, if the power is only 20.1W or as high as 28.9W, it deviates from the set range, triggering the control correction mechanism. The controller determines the adjustment range of the pulse width modulation signal duty cycle based on the error deviation value. The first pulse width modulation control signal is used to maintain input stability, while the second pulse width modulation control signal adjusts the output to match the load. The duty cycle, as the proportion of the high-level time in the pulse width modulation control signal to the total cycle, directly determines the voltage output capability of the buck-boost circuit, thus being the core control quantity for regulating output power. For example, if the discharge power is too low, the system will slightly increase the duty cycle of the second pulse width modulation control signal to increase the driving voltage of the external resistor, thereby increasing the output power to the target range; conversely, if the power is too high, the duty cycle will be reduced to limit power. Subsequently, to enhance the stability and predictability of the system response, the controller does not directly adjust based on the error of a single cycle, but instead performs curve fitting calculations on the error deviation values within multiple consecutive sampling cycles to generate a trend fitting result. Fitting operations can employ mathematical methods such as least squares, exponential smoothing, or linear regression to analyze the rate, direction, and slope of error changes, thereby deriving the trend of power variation. For example, if the power error continues to rise over five consecutive cycles, and the fitting results show a positive growth trend, then the system predicts that the power will continue to deviate from the target range. Therefore, it is necessary to pre-calculate duty cycle adjustments in the next control cycle to correct the control deviation in advance. Replacing single-point responses with trend analysis can effectively reduce system oscillations and over-adjustments, improving the controller's adaptability to complex discharge processes.During dynamic adjustment, the controller also needs to monitor the output voltage of the target power supply channel in real time and determine whether it is lower than the system-set termination voltage threshold. The termination voltage threshold is the minimum allowable operating voltage set to prevent battery over-discharge. The controller requires that the voltage being below the threshold consistently occur within multiple consecutive sampling periods before the discharge termination condition is considered met. For example, if the output voltage is below 10.5V for five consecutive periods and the fluctuation does not exceed the set deviation range, the system determines that the battery is about to enter the deep discharge range and triggers a control logic switch. At this time, the controller issues a control command to immediately stop the pulse width modulation control signal output of the first and second buck-boost circuits, disconnecting the current path, closing the energy transfer channel, and safely terminating the entire discharge process.
[0034] In one optional implementation of this embodiment, the power switching units of the first and second buck-boost circuits are turned off according to the discharge stop signal; after the turn-off control is completed, the output voltage of the target power supply channel is monitored at intervals based on the low-frequency sampling mode of the controller, and the difference between the current monitored voltage and the termination voltage threshold is compared to obtain the voltage rebound amplitude parameter; by tracking the extreme values of the voltage rebound amplitude parameter for multiple consecutive cycles, it is determined whether the voltage rebounds; if the rebound voltage exceeds the preset stability deviation threshold, the bridging path is reactivated to enter the delayed discharge state; if no abnormal rebound voltage is detected, all configuration states of the bridging path are released.
[0035] Specifically, in a multi-channel bridged discharge system, when the controller detects that the output voltage of the target power supply channel is lower than a preset termination voltage threshold within multiple consecutive sampling periods, it immediately generates a discharge stop signal and performs shutdown control operations on the power switching units of the first and second buck-boost circuits based on this signal. The power switching unit, a key control component within the buck-boost circuit, is composed of power MOSFETs and determines whether electrical energy can be transferred between channels. The purpose of shutdown control is to completely interrupt the energy transfer path between the battery and the load to prevent the battery from further discharging into the over-discharge region, thereby ensuring that its voltage does not fall below the safe operating lower limit. After completing the shutdown control, the system does not immediately release the bridging control resources but instead initiates an interval monitoring mechanism based on the controller's low-frequency sampling mode to periodically observe the output voltage of the target power supply channel. The low-frequency sampling mode is a low-energy signal monitoring strategy used in the termination phase. Its sampling interval is much longer than the high-frequency control cycle during the discharge process, ranging from 500 milliseconds to several seconds, used to capture the voltage rebound behavior of the battery under unloaded conditions. Voltage rebound is a short-term voltage rise phenomenon caused by reduced polarization and temporary recovery of electrochemical reactions after the battery voltage is disconnected from the discharge path. This phenomenon may mask the true discharge state. The system calculates the voltage rebound amplitude parameter by comparing the difference between the output voltage value obtained from the current low-frequency sampling and the previously terminated voltage threshold. To ensure accuracy, the system does not make a decision based on a single sampling, but instead performs extreme value tracking on the voltage rebound amplitude parameter collected over multiple consecutive cycles to determine whether the rebound voltage has persistence and over-limit characteristics. Extreme value tracking is an algorithm mechanism used for dynamic feature analysis, which can find the maximum or minimum value of parameter change within a finite time window and analyze the signal change trend accordingly. If the rebound voltage continues to exceed the threshold, it indicates that the battery has not fully released its internal energy storage, and the termination of discharge may be a misjudgment. The system will reactivate the bridging path and enter the delayed discharge state. The delayed discharge state is a short-cycle, low-power compensating discharge process that allows the system to release the remaining battery charge under safe control, avoiding residual charge from affecting the overall capacity management accuracy. If no rebound voltage exceeding the set deviation threshold is detected in multiple consecutive sampling cycles, indicating a small and stable voltage rebound, the system will determine that the battery state is stable and begin the resource release process. In this process, the controller will thoroughly clear all configuration states involved in the bridging path, including disconnecting unused power switches in the circuit, releasing channel allocation flags, disabling related task scheduling parameters, and clearing cached state variables.
[0036] According to the multi-channel bridging discharge method provided in this application, electrical parameter data of the input and output terminals of each output channel of the charger are obtained; by jointly analyzing the electrical parameter data and the remaining battery capacity, a state parameter group for configuring the inter-channel power transfer strategy is generated; based on the state parameter group and the connection relationship between the preset buck-boost circuits, a bridging path between the target power supply channel and the target power discharge channel is constructed; by sending pulse width modulation control signals to the buck-boost circuits on the bridging path, the battery's power is transferred to a high-power external resistor connected to the target power discharge channel for discharge; through the implementation of this application, the internal heat dissipation discharge method of the charger is converted into a high-power external resistor that consumes heat, effectively improving discharge efficiency while protecting the charger's lifespan.
[0037] Figure 3 This application provides a multi-channel bridging discharge device, which can be used to implement the multi-channel bridging discharge method described in the foregoing embodiments. For example... Figure 3 As shown, the multi-channel bridging discharge device mainly includes: The acquisition module 10 is used to acquire electrical parameter data of the input and output terminals of each output channel of the charger; Analysis module 20 is used to generate a set of state parameters for configuring the inter-channel power transfer strategy by jointly analyzing electrical parameter data and the remaining battery power. Module 300 is used to construct a bridging path between the target power supply channel and the target power release channel based on the state parameter group and the connection relationship between the preset buck-boost circuits. The discharge module 40 is used to transmit the battery's electrical energy to a high-power external resistor connected to the target discharge channel for discharge by sending a pulse width modulation control signal to the buck-boost circuit on the bridging path.
[0038] In one optional implementation of this embodiment, the analysis module is specifically used to: perform power averaging processing on each output channel based on electrical parameter data within a preset period to determine the channel power information group corresponding to each output channel; extract the power supply channel parameters and power release channel parameters that meet the power transfer conditions based on the channel power information group and the remaining battery power; and generate a state parameter group for the power transfer strategy configuration between channels by logically combining the power supply channel parameters and the power release channel parameters.
[0039] In one optional implementation of this embodiment, the construction module is specifically used to: match and determine the bridging relationship between output channels according to the state parameter group, and obtain target channel pairs that meet the preset pairing conditions; determine the set of buck-boost circuit identifiers corresponding to the connection path between the target channel pairs according to the connection structure information of the target channel pairs and the topology mapping relationship of the buck-boost circuit stored in the controller; and construct the bridging path between the target power supply channel and the target power release channel by configuring the circuit elements in the buck-boost circuit identifier set.
[0040] In one optional embodiment of this example, the discharge module is specifically used to: control the output voltage of the target power supply channel to be equal to the input voltage by sending a first pulse width modulation control signal to the first buck-boost circuit; generate a second pulse width modulation control signal according to the output voltage and send the second pulse width modulation control signal to the second buck-boost circuit; and transfer the electrical energy output from the target power supply channel to the high-power external resistor connected to the target discharge channel for discharge through the second buck-boost circuit.
[0041] In one optional implementation of this embodiment, the control module is specifically used to: synchronously acquire the output voltage and output current of the target power supply channel to generate the instantaneous discharge power of the battery output in the current sampling period; compare the instantaneous discharge power with a preset target discharge power range to determine the control error deviation value, and adjust the duty cycle of the first pulse width modulation control signal and the second pulse width modulation control signal based on the control error deviation value; generate a trend fitting result by fitting the error deviation value of multiple consecutive sampling periods, and control the duty cycle to dynamically adjust in the next sampling period according to the trend fitting result; during the dynamic adjustment process, when it is detected that the output voltage of the target power supply channel is lower than the preset termination voltage threshold in multiple consecutive sampling periods, the control logic is triggered to switch, and a discharge stop signal is sent to the first buck-boost circuit and the second buck-boost circuit.
[0042] In an optional embodiment of this example, the control module is further configured to: control the power switching units of the first buck-boost circuit and the second buck-boost circuit to turn off according to the discharge stop signal; after the turn-off control is completed, monitor the output voltage of the target power supply channel at intervals based on the low-frequency sampling mode of the controller, and compare the difference between the current monitored voltage and the termination voltage threshold to obtain the voltage rebound amplitude parameter; determine whether the voltage rebounds by tracking the extreme values of the voltage rebound amplitude parameter for multiple consecutive cycles; if the rebound voltage exceeds the preset stability deviation threshold, reactivate the bridging path to enter the delayed discharge state; if no abnormal rebound voltage is detected, release all configuration states of the bridging path.
[0043] According to the multi-channel bridging discharge device provided in this application, electrical parameter data of the input and output terminals of each output channel of the charger are acquired. A state parameter group for configuring the inter-channel power transfer strategy is generated through joint analysis of the electrical parameter data and the remaining battery capacity. Based on the state parameter group and the connection relationship between the preset buck-boost circuits, a bridging path is constructed between the target power supply channel and the target power discharge channel. A pulse width modulation control signal is sent to the buck-boost circuit on the bridging path to transfer the battery's power to a high-power external resistor connected to the target power discharge channel for discharge. By implementing this solution, the internal heat dissipation discharge method of the charger is converted into a high-power external resistor that dissipates heat, effectively improving discharge efficiency while protecting the charger's lifespan.
[0044] According to the scheme provided in this application Figure 4 An electronic device is provided as an embodiment of this application. This electronic device can be used to implement the multi-channel bridging discharge method described in the foregoing embodiments, and mainly includes: The system includes a memory 401, a processor 402, and a computer program 403 stored in the memory 401 and executable on the processor 402. The memory 401 and the processor 402 are communicatively connected. When the processor 402 executes the computer program 403, it implements the multi-channel bridging discharge method described in the foregoing embodiments. The number of processors can be one or more.
[0045] The memory 401 can be a high-speed random access memory (RAM) or a non-volatile memory, such as a disk storage device. The memory 401 is used to store executable program code, and the processor 402 is coupled to the memory 401.
[0046] Furthermore, embodiments of this application also provide a computer-readable storage medium, which may be disposed in the electronic device described in the above embodiments, and the computer-readable storage medium may be as described above. Figure 4 The memory in the illustrated embodiment.
[0047] The computer-readable storage medium stores a computer program that, when executed by a processor, implements the multi-channel bridged discharge method described in the foregoing embodiments. Furthermore, the computer-readable storage medium can also be a USB flash drive, a portable hard drive, a read-only memory (ROM), RAM, a magnetic disk, or an optical disk, or any other medium capable of storing program code.
[0048] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0049] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, 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 a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in 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 (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0050] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A multi-channel bridging discharge method, characterized in that, include: Obtain the electrical parameter data of the input and output terminals of each output channel of the charger; By jointly analyzing the electrical parameter data and the remaining battery power, a set of state parameters for configuring the inter-channel power transfer strategy is generated. Based on the state parameter group and the connection relationship between the preset buck-boost circuit, a bridging path is constructed between the target power supply channel and the target power release channel; By sending a pulse width modulation control signal to the buck-boost circuit on the bridging path, the electrical energy of the battery is transferred to a high-power external resistor connected to the target discharge channel for discharge.
2. The multi-channel bridging discharge method according to claim 1, characterized in that, The step of generating a state parameter set for the inter-channel power transfer strategy configuration through joint analysis of the electrical parameter data and the remaining battery power includes: Based on the electrical parameter data within a preset period, power averaging is performed on each output channel to determine the channel power information group corresponding to each output channel. Based on the channel power information group and the remaining battery power, extract the power supply channel parameters and power release channel parameters that meet the power transfer conditions; By logically combining the power supply channel parameters and the power release channel parameters, a state parameter group for configuring the inter-channel power transfer strategy is generated.
3. The multi-channel bridging discharge method according to claim 1, characterized in that, The step of constructing a bridging path between the target power supply channel and the target power release channel based on the state parameter group and the connection relationship between the preset buck-boost circuits includes: The bridging relationship between the output channels is matched and judged based on the status parameter group to obtain the target channel pair that meets the preset pairing conditions; Based on the connection structure information of the target channel pairs and the topology mapping relationship of the buck-boost circuits stored in the controller, determine the set of buck-boost circuit identifiers corresponding to the connection paths between the target channel pairs; By configuring the circuit elements in the set of buck-boost circuit identifiers, a bridging path is constructed between the target power supply channel and the target power release channel.
4. The multi-channel bridging discharge method according to claim 1, characterized in that, The buck-boost circuit includes a first buck-boost circuit and a second buck-boost circuit; the output terminal of the target power supply channel of the bridging path is connected to the first buck-boost circuit, the input terminal of the target power supply channel is connected to the battery, and the output terminal is connected to the second buck-boost circuit; the input terminal of the target power output channel of the bridging path is connected to the second buck-boost circuit, and the output terminal of the target power output channel is connected to the high-power external resistor.
5. The multi-channel bridging discharge method according to claim 4, characterized in that, The pulse width modulation control signal includes a first pulse width modulation control signal and a second pulse width modulation control signal. The step of transmitting the battery's electrical energy to a high-power external resistor connected to the target discharge channel for discharge by sending the pulse width modulation control signal to the buck-boost circuit on the bridging path includes: By sending the first pulse width modulation control signal to the first buck-boost circuit, the output voltage of the target power supply channel is controlled to be equal to the input voltage. The second pulse width modulation control signal is generated based on the output voltage, and the second pulse width modulation control signal is sent to the second buck-boost circuit. The electrical energy output from the target power supply channel is transmitted to the high-power external resistor connected to the target power discharge channel through the second step-up / step-down circuit for discharge.
6. The multi-channel bridging discharge method according to claim 5, characterized in that, After the step of transmitting the battery's electrical energy to a high-power external resistor connected to the target discharge channel by sending a pulse width modulation control signal to the buck-boost circuit on the bridging path, the method further includes: By synchronously acquiring the output voltage and output current of the target power supply channel, the instantaneous discharge power output by the battery within the current sampling period is generated. The instantaneous discharge power is compared with the preset target discharge power range to determine the control error deviation value, and the duty cycle of the first pulse width modulation control signal and the second pulse width modulation control signal is adjusted based on the control error deviation value. By performing fitting calculations on the error deviation values of multiple consecutive sampling periods, a trend fitting result is generated, and the duty cycle is dynamically adjusted in the next sampling period based on the trend fitting result. During the dynamic adjustment process, when the output voltage of the target power supply channel is detected to be lower than the preset termination voltage threshold for multiple consecutive sampling periods, the control logic is switched to send a discharge stop signal to the first buck-boost circuit and the second buck-boost circuit.
7. The multi-channel bridging discharge method according to claim 1, characterized in that, The method further includes: The power switching units of the first buck-boost circuit and the second buck-boost circuit are turned off according to the discharge stop signal. After the shutdown control is completed, the output voltage of the target power supply channel is monitored at intervals based on the low-frequency sampling mode of the controller, and the difference between the current monitored voltage and the termination voltage threshold is compared to obtain the voltage rebound amplitude parameter. By tracking the extreme values of the voltage rebound amplitude parameter over multiple consecutive cycles, it can be determined whether the voltage rebounds. If the rebound voltage exceeds the preset stability deviation threshold, the bridging path is reactivated and enters the delayed discharge state. If no abnormal rebound voltage is detected, all configuration states of the bridging path are released.
8. A multi-channel bridging discharge device, characterized in that, The multi-channel bridging discharge device is used to implement the multi-channel bridging discharge method according to claim 1, and the multi-channel bridging discharge device includes: The acquisition module is used to acquire electrical parameter data of the input and output terminals of each output channel of the charger; The analysis module is used to generate a set of state parameters for configuring the inter-channel power transfer strategy by jointly analyzing the electrical parameter data and the remaining battery power. The construction module is used to construct a bridging path between the target power supply channel and the target power release channel based on the state parameter group and the connection relationship between the preset buck-boost circuit; The discharge module is used to transmit the electrical energy of the battery to a high-power external resistor connected to the target discharge channel for discharge by sending a pulse width modulation control signal to the buck-boost circuit on the bridging path.
9. An electronic device, characterized in that, Includes memory and processor, of which: The processor is used to execute computer programs stored in the memory; When the processor executes the computer program, it implements the steps in the multi-channel bridging discharge method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps in the multi-channel bridging discharge method according to any one of claims 1 to 7.