Power amplifier power supply control system and method based on dynamic voltage compensation and intelligent load adaptation
By employing a control method that combines dynamic voltage compensation and intelligent load adaptation, the problems of output voltage instability and phase margin erosion in the power amplifier power supply system during periods of high dynamic range are solved, achieving efficient voltage regulation and protection, and improving the system's transient response and stability.
Patent Information
- Application Number
- CN202611314317.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-11-24
AI Technical Summary
Existing power amplifier power control systems are unable to effectively cope with sudden load changes when faced with large dynamic range bursts in professional audio. This results in output voltage drops/overshoots, subharmonic oscillations, false triggering of overcurrent protection, and phase margin erosion at high temperatures.
A control method based on dynamic voltage compensation and intelligent load adaptation is adopted. The target voltage trajectory is generated by the audio semantic prediction model, the output voltage and inductor current are estimated by Kalman prediction-correction recursion, the parameters are adaptively compensated by deep reinforcement learning, the junction temperature of the power tube is predicted by the long short-term memory network, the protection threshold and driving strategy are dynamically adjusted, and a multi-objective optimization framework is constructed.
It effectively suppresses bus voltage dips and overshoots, eliminates subharmonic oscillations, maintains loop phase margin, distinguishes between transient current surges and fault overcurrents, ensures power transistor safety, and improves transient response bandwidth and stability.
Smart Images

Figure CN123163341A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of audio power amplifier power control technology, specifically to a power amplifier power control system and method based on dynamic voltage compensation and intelligent load adaptation. Background Technology
[0002] The power amplifier power supply control system is a core component of a power amplifier. Existing power amplifier power supply control systems typically employ PWM (Pulse Width Modulation) switching power supply topologies or linear power supply schemes, combined with a dual closed-loop control strategy of voltage and current loops to regulate the power supply output voltage. Additionally, audio signals are superimposed onto the reference signal in the current loop, allowing the power control loop to anticipate changes in the amplifier's output power and reduce bus voltage fluctuations. Furthermore, with the widespread adoption of Class D power amplifier technology, pulse width modulation (PWM) technology is widely used in the power amplification of audio signals. This involves modulating the width of a series of rectangular pulses by simulating the amplitude of the audio signal, thereby achieving high-efficiency power output.
[0003] When professional audio experiences high dynamic range (such as transient low-frequency drum beats), the power amplifier's power load changes drastically. If the feedback signal path delay (such as the transmission delay of optocouplers or isolated op-amps) is superimposed on the fixed compensation network inherent in the PWM controller, it will lead to insufficient loop gain-bandwidth product. This causes the output voltage to drop / overshoot (≥10%) and also induces subharmonic oscillations, resulting in poor overall output voltage stability. At the same time, when faced with drastic changes in the power amplifier load, the existing conventional fixed "static threshold" for overcurrent protection is more likely to trigger false protection due to the increased voltage drop. This causes the power amplifier to repeatedly enter the hiccup protection mode when at critical high power output, generating periodic "breathing" noise. Meanwhile, high temperature exacerbates the nonlinear change of the power transistor output capacitor, further eroding the phase margin of the control loop, making the low-frequency response increasingly unstable. Summary of the Invention
[0004] The purpose of this invention is to provide a power amplifier power supply control system and method based on dynamic voltage compensation and intelligent load adaptation, so as to solve the problems mentioned in the background art.
[0005] The specific technical solution provided by this invention is as follows: A power amplifier power supply control method based on dynamic voltage compensation and intelligent load adaptation, comprising the following operating steps: Audio features are extracted from the input audio signal, and the audio features are encoded through an audio semantic prediction model to obtain the transient intensity weight sequence for future time steps. Based on the transient intensity weight sequence, power amplifier gain, and load impedance, the predicted load current is calculated, and the feedforward target voltage trajectory is generated. Acquire the delayed measurement signal of the power converter feedback loop and explicitly incorporate the propagation delay steps of the isolated feedback loop into the augmented state vector; An augmented state transition equation is constructed, and the augmented state vector is estimated by Kalman prediction-correction recursion to extract the hysteresis-free estimates of the output voltage and inductor current at the current moment. Based on the hysteresis-free estimate of the output voltage, the rate of change of the output voltage error, the predicted value of the power transistor junction temperature, and the predicted rate of change of the current, the compensator parameter adjustment amount is output through the adaptive compensation parameter tuning model to update the digital compensator parameters. The feedforward target voltage trajectory, hysteresis-free estimate, updated compensator parameters, and dynamic overcurrent protection threshold are all incorporated into the rolling time-domain optimization framework. The optimization problem with soft constraints is solved in each control cycle, and the optimal PWM duty cycle sequence is output.
[0006] Furthermore, the audio features are encoded using an audio semantic prediction model to obtain the transient intensity weight sequence for future time steps. This involves: inputting a series of consecutive frames of Mel spectrum feature sequences into a multi-layer Transformer encoder, performing attention pooling on the encoder output to obtain a fixed-length semantic feature vector; and mapping the semantic feature vector through a fully connected layer and a Sigmoid activation function to output the transient intensity weight sequence for each future time step.
[0007] Furthermore, the calculation of the predicted load current and the generation of the feedforward target voltage trajectory include: calculating the predicted load current for each future time step based on the peak amplitude, transient intensity weight, power amplifier gain, and load impedance of the current audio frame; and calculating the output feedforward target voltage trajectory based on the sum of the voltage drop compensation terms for the predicted load current by the rated bus voltage, the equivalent DC internal resistance of the power system, and the equivalent inductance of the output circuit.
[0008] Furthermore, an augmented state transition equation is constructed, and the augmented state vector is estimated through Kalman prediction-correction recursion, including: Using output voltage and inductor current as state variables and the product of PWM duty cycle and input bus voltage as control input, a discrete state-space model of the output LC filter is established. The current state and the states at each historical delay time are concatenated to form an augmented state vector, and the corresponding augmented state transition equation is established. The delay measurement value is extracted using a measurement matrix that includes the number of transmission delay steps. Kalman prediction step and correction step are performed to extract the optimal estimate of the current output voltage and inductor current from the posterior augmented state estimate.
[0009] Furthermore, the output of compensator parameter adjustment through the adaptive compensation parameter tuning model includes: using a deep reinforcement learning agent as the adaptive compensation parameter tuning model; constructing a state vector with the output voltage error integral, output voltage error rate of change, predicted power transistor junction temperature, and predicted current rate of change; constructing continuous actions with the compensator mid-band gain adjustment, zero-point frequency adjustment, and pole frequency adjustment; using the negative value of the weighted sum of the output voltage error term, duty cycle fluctuation term, and subharmonic oscillation indication term as the reward function; and then outputting the compensator parameter adjustment through a policy network. Updating the digital compensator parameters includes: using the predicted power transistor drain-source voltage and power transistor junction temperature as inputs, obtaining the estimated value of the power transistor's nonlinear output capacitance through physical information neural network inference; calculating the actual resonant frequency of the LC filter based on the output capacitance estimate, obtaining the zero-point offset relative to the nominal resonant frequency; superimposing the zero-point offset as a feedforward quantity onto the base zero-point frequency output by the deep reinforcement learning agent to obtain the corrected compensator zero-point frequency, and writing it into the digital compensator coefficient register.
[0010] Furthermore, the adjustment of compensator parameters output by the adaptive compensation parameter tuning model also includes: using the historical current RMS value sequence, switching frequency, and heat sink temperature as inputs, predicting the junction temperature of the power transistor for several future switching cycles through a long short-time memory network to obtain the predicted junction temperature value of the power transistor; calculating the dynamic overcurrent protection threshold based on the temperature derating factor, load current change rate tolerance factor, and output voltage drop modulation factor corresponding to the predicted junction temperature value of the power transistor; triggering cycle-by-cycle current limiting protection when the real-time detected current exceeds the dynamic overcurrent protection threshold and continues for a set number of cycles; calculating the dynamic dead time cycle by cycle based on the predicted load current and the predicted junction temperature value of the power transistor, by adding the reference dead time to the product of the positive temperature compensation factor and the predicted junction temperature, and subtracting the product of the negative current compensation factor and the absolute value of the predicted load current; charging the gate capacitor with a peak strong drive current during the power switch turn-on phase, and switching the gate drive current intensity according to the level of the predicted load current during the turn-off phase.
[0011] Furthermore, solving the soft-constrained optimization problem within each control cycle includes: constructing a quadratic programming problem with the objective function being the sum of the weighted squares of the output voltage error in the prediction time domain, the weighted squares of the duty cycle increment in the control time domain, and the sum of the penalty terms for the soft-constraint relaxation variables; the constraints include: duty cycle saturation constraint, inductor current soft constraint with the dynamic overcurrent protection threshold as the upper bound, and control increment constraint; solving the quadratic programming problem within each control cycle, and outputting the first element of the optimal duty cycle sequence as the PWM duty cycle command for the current cycle.
[0012] Furthermore, the quadratic programming problem also includes: dynamically adjusting the weights in the objective function based on the relationship between the current weight value in the transient intensity weight sequence and the set threshold: when the transient intensity weight exceeds the set threshold, increasing the output voltage error weighting coefficient and decreasing the duty cycle increment weighting coefficient; when the transient intensity weight is lower than the set threshold, restoring the output voltage error weighting coefficient and increasing the duty cycle increment weighting coefficient; when the soft constraint relaxation variable is activated, shifting the center of gravity of the objective function to the direction of current constraint satisfaction, and reducing the output power to maintain output voltage stability.
[0013] On the other hand, the present invention also provides a power amplifier power supply control system based on dynamic voltage compensation and intelligent load adaptation, for executing a power amplifier power supply control method based on dynamic voltage compensation and intelligent load adaptation, including: an intelligent sensing layer, a real-time control layer and a power execution layer, the three layers being connected in sequence to form a closed-loop control. The intelligent perception layer is configured to perform high-level semantic understanding of audio content and delay cancellation of circuit states in order to provide load prediction information and real-time system status to the real-time control layer. The real-time control layer is configured to introduce reinforcement learning, model prediction and physical information neural network control nodes to perform multi-objective cross-cycle real-time joint optimization of control parameters, protection thresholds and drive strategies, and generate PWM duty cycle and protection / drive commands. The power execution layer is configured to convert the commands issued by the real-time control layer into a high-power stable DC bus voltage and provide voltage, current and temperature feedback with inherent transmission delay to the intelligent sensing layer.
[0014] Furthermore, the intelligent perception layer also includes: The audio large model prediction unit is used to receive the raw audio stream and output the transient load current envelope prediction sequence within a short time window in real time based on the pre-trained Transformer audio large model. A feedforward bus voltage planner is used to dynamically generate a target feedforward bus voltage based on the predicted current and the power amplifier gain and speaker impedance curves. A hybrid delay-compensated state observer is used to integrate the discrete model of the power amplifier power supply with delay measurement. It uses an augmented state Kalman filter to eliminate the transmission delay of the optocoupler / isolation op-amp and outputs a hysteresis-free feedback state. The real-time control layer also includes: An adaptive compensator for reinforcement learning is used to online tune the zeros, poles, and gain of a compensation network based on a deep reinforcement learning agent. The intelligent dynamic protection controller includes a junction temperature predictor and a multi-dimensional dynamic overcurrent threshold generator. The digital twin nonlinear correction unit deploys a physical information neural network model to estimate the nonlinear output capacitance of the power transistor in real time and to feed forward the phase margin of the correction loop. A multimodal model predictive controller is used to fuse module information to construct a cross-cycle energy management optimization problem and output the optimal PWM duty cycle; Dynamic dead time and drive adapter for dynamically adjusting dead time and gate drive strength based on predicted current and junction temperature.
[0015] Compared with the prior art, the beneficial effects achieved by the present invention are: (1) This invention introduces an audio semantic prediction model based on a multi-layer Transformer encoder to generate a feedforward target voltage trajectory in advance within the prediction time window before the load jump occurs, and integrates the feedforward trajectory with the multi-objective model prediction control framework, so that the power converter can precharge the filter capacitor in advance during large dynamic bursts, suppressing the bus voltage drop and overshoot from the source, and overcoming the defect of the output voltage dynamic response lag caused by the inability to predict the load jump sequence of existing pure feedback control.
[0016] (2) By explicitly incorporating the transmission delay step of the isolation feedback loop into the augmented state vector and using Kalman prediction-correction recursion for optimal estimation, this invention reconstructs the output voltage and inductor current hysteresis-free estimates that eliminate the transmission delay of optocouplers or isolation operational amplifiers, effectively suppressing subharmonic oscillations caused by delay and broadening the transient response bandwidth.
[0017] (3) This invention uses a deep reinforcement learning agent to tune the intermediate frequency band gain, zero frequency and pole frequency of the digital compensator online, and superimposes a physical information neural network to estimate the nonlinear output capacitance of the power transistor in real time and correct the zero feedforward. This enables the compensation parameters to adapt to temperature, voltage and operating conditions. It can still maintain sufficient loop phase margin under high temperature, full load and large signal swing, and eliminates the technical problems of phase margin erosion and subharmonic oscillation of fixed compensation networks under variable operating conditions.
[0018] (4) This invention predicts the junction temperature of the power transistor through a long short-term memory network and dynamically generates an overcurrent protection threshold by combining the temperature derating factor, the load current change rate tolerance factor and the output voltage drop modulation factor. It transforms the static hard limit into a flexible envelope protection that tracks the load intention, effectively distinguishing between safe instantaneous current surges and real fault overcurrents under large dynamic loads, and eliminating the technical problem of false triggering of hiccup protection under large dynamic conditions by fixed threshold protection.
[0019] (5) This invention dynamically calculates the dead time by integrating the predicted load current and the predicted junction temperature of the power transistor in a switching cycle, and switches the gate drive strength in segments according to the predicted current level. This eliminates the problems of high freewheeling loss of the body diode and voltage ringing and electromagnetic interference degradation under normal operating conditions when the dead time is fixed. At the same time, it ensures the safe operating margin of the power transistor under large dynamic operating conditions. Attached Figure Description
[0020] Figure 1 This is a functional architecture diagram of the power amplifier power control system provided in an embodiment of the present invention; Figure 2 This is a schematic flowchart of the power amplifier power supply control method provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the operating architecture of the augmented state Kalman filter delay compensation observer provided in an embodiment of the present invention. Detailed Implementation
[0021] 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. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention are within the scope of protection of the present invention.
[0022] Example 1: like Figure 1 As shown, this embodiment provides a power amplifier power supply control system based on dynamic voltage compensation and intelligent load adaptation, including a three-layer architecture consisting of an intelligent sensing layer, a real-time control layer, and a power execution layer: Intelligent Sensing Layer: As the sensing front end of the entire power amplifier power control system in this invention, this layer does not only rely on instantaneous error feedback, but also achieves high-level semantic understanding of audio content and delay elimination of circuit states. It includes the following functional modules: Audio large model prediction unit: used to receive the raw audio stream and output the transient load current envelope prediction sequence within a short time window in real time based on the pre-trained Transformer audio large model.
[0023] Feedforward bus voltage planner: used to dynamically generate the target voltage of the feedforward bus based on the predicted current and the power amplifier gain and speaker impedance curves.
[0024] Hybrid Delay Compensation State Observer: Used to integrate the discrete model of the power amplifier power supply with delay measurement. It adopts an augmented state Kalman filter to eliminate the transmission delay of the optocoupler / isolation op-amp and outputs a hysteresis-free feedback state.
[0025] This invention provides the real-time control layer with two types of prior information through the intelligent sensing layer: load prediction information and real-time system status. The load prediction information includes the transient load current envelope, transient intensity factor, and required feedforward target voltage trajectory for a set prediction time. The real-time system status includes the actual physical states such as output voltage and inductor current, reconstructed by fusing physical models and delay measurement data to eliminate the transmission delay of optocouplers / isolation operational amplifiers.
[0026] Real-time control layer: In this invention, this layer introduces control nodes such as reinforcement learning, model prediction, and physical information neural networks to perform multi-objective, cross-cycle real-time joint optimization of all control parameters, protection thresholds, and drive strategies, generating the final executable PWM duty cycle and protection / drive instructions, specifically including: Reinforcement learning adaptive compensator: used for online tuning of the zeros, poles and gains of a Type-III compensation network based on deep reinforcement learning (SAC) agents to adapt to real-time operating conditions.
[0027] Intelligent dynamic protection controller: Includes an LSTM-based power transistor junction temperature predictor and a multi-dimensional dynamic overcurrent threshold generator to prevent false triggering of hiccup protection.
[0028] Digital twin nonlinear correction unit: Deploys a physical information neural network (PINN) model to estimate the nonlinear output capacitance of the power transistor in real time and feedforward to correct the loop phase margin.
[0029] Multimodal Model Predictive Controller (MPC): Used to fuse information from all the above modules, construct a cross-cycle energy management optimization problem, and output the optimal PWM duty cycle.
[0030] Dynamic dead time and drive adapter: used to dynamically adjust the dead time and gate drive strength based on predicted current and junction temperature.
[0031] Power Execution Layer: Contains a power conversion unit that transforms PWM switching commands issued by the real-time control layer into a stable, high-power DC bus voltage capable of responding to rapid transient load fluctuations. As the final carrier of energy conversion and physical implementation in this invention, the power execution layer efficiently converts decision commands into a stable, high-power DC bus voltage under high-frequency switching operations, and withstands transient load current surges of tens of amperes. It also provides voltage, current, and temperature feedback with inherent propagation delays. Through the high-speed dynamic dead zone and variable-intensity drive of the response control layer, safe operation and low-loss switching are achieved. Simultaneously, fluctuations in bus voltage during large dynamic bursts are absorbed and released through rapid charging and discharging of the hardware topology, while errors are eliminated at the source by upstream prediction and feedforward control.
[0032] Example 2 In this embodiment, combined with Figure 2 As shown, this invention provides a power amplifier power supply control method based on dynamic voltage compensation and intelligent load adaptation, including the following operational steps: Step S1: Use an audio large model to predict transient load semantics and generate feedforward voltage.
[0033] In this embodiment, the present invention introduces an AST audio large model to perform high-level semantic transient event prediction of audio content, and generates a feedforward voltage trajectory by combining power amplifier gain and speaker impedance. This solves the technical problem of feedback compensation lag caused by the inability of existing control systems to predict the timing and intensity of load jumps, and realizes dynamic voltage feedforward compensation to suppress voltage drops and overshoots during large dynamic bursts from the source.
[0034] For example, the specific implementation process includes: Audio feature extraction and semantic encoding: This invention first inputs a digital audio stream. Sampling rate PCM data. In frame length Sampling points (10ms), frame shift Frames are divided in a non-overlapping manner. A 64-dimensional Mel spectrum is calculated for each frame, i.e., a short-time Fourier transform is performed to obtain the power spectrum. Then, by integrating through 64 Mel filter banks and taking the logarithm, the Mel spectral eigenvector is obtained. The input tensor is formed by continuously stacking K=20 frames (corresponding to 200ms of historical context). The input is a pre-trained AudioSpectrogram Transformer (AST) model containing a 12-layer Transformer encoder. Each encoder layer has a 12-head self-attention mechanism. The encoder outputs a trained transient intensity projection head consisting of an attention pooling layer, a fully connected layer (64→32), and a sigmoid activation function, which outputs the future time step sequence. Transient intensity weight at time step :
[0035] in, The time is used as a future offset time in this embodiment. That is, predicting the position at the 10ms, 20ms, and up to the 200ms mark in the future. For the Sigmoid function, Here is the projection layer weight matrix. Output dimension for AttnPool The projection layer bias vector; This is the attention pooling function, used to perform a weighted summation of all temporal location features output by the AST encoder. The weights are learned by the attention mechanism, and the output is a fixed-length feature vector. This is an AST model, a pre-trained large-scale audio classification / event detection model. The input is a Mel-spectrum tensor, and the output is a feature sequence containing temporal semantic information. In this invention... The closer the transient intensity weight is to 1, the more likely a large transient (such as a drumbeat) is to occur at that moment; the closer it is to 0, the more stable the signal is.
[0036] Predicting dynamic load current: This invention further defines the power amplifier voltage gain as... (For example, 30dB, or 31.6 times), the equivalent load resistance of the speaker in the low-frequency range is (Typically 4Ω or 8Ω). The peak amplitude is calculated using the current audio frame:
[0037] in, In the current The peak voltage amplitude of the audio signal within the corresponding audio frame (time window) represents the maximum instantaneous intensity of the audio signal in that frame, and is used to estimate the peak load current. This is a function to find the maximum value among the absolute values of all sampled points within a frame. In time The original digital audio signal sample value at the location can be a voltage normalized value or an actual physical voltage value (after scaling) in this invention.
[0038] Therefore, the predicted future Constant load current :
[0039] in, For non-transient cases, the weights are... This represents the long-term average load current.
[0040] Planning the feedforward bus voltage: Simultaneously, to compensate for the dynamic voltage drop caused by the power supply output impedance and line inductance, calculate the target feedforward voltage. :
[0041] in, This is the rated bus voltage (e.g., ±80V). The equivalent DC internal resistance of the power supply system (obtained through offline measurement or online identification). The equivalent inductance of the output circuit (including PCB traces and connector inductance).
[0042] Step S2: Establish an augmented state Kalman filter, construct a hybrid observer that integrates the system model and delay measurement data, and perform hybrid delay compensation observations.
[0043] In this embodiment, to address the problem of feedback signal lag and limited loop gain-bandwidth product caused by the transmission delay of optocouplers and isolation operational amplifiers, the present invention constructs an augmented state Kalman filter for the isolation feedback delay, explicitly incorporates the delay chain into the state equation and performs optimal recursive estimation, thereby achieving zero-delay equivalent voltage and current state reconstruction, eliminating subharmonic oscillations, and improving transient response bandwidth.
[0044] For example, in combination Figure 3 As shown, this step specifically includes: Constructing a state-space model of the discrete system: Establishing state-space equations for the output LC filter, selecting output voltage and inductor current as state variables, and the control input as the current PWM duty cycle. With sampling period Discretize (e.g., 500 ns) to obtain a discretized state-space model:
[0045] in, For discrete-time indexing, Corresponding to actual time , Let A be the state vector at the next sampling time, and let B be the discrete state transition matrix. for The discrete state vector at time t is defined as That is, the values of the output voltage and inductor current at that sampling moment. for Discrete control input at time step, i.e. , Constructing a delay augmentation model: The measurement loop includes an isolated optocoupler or an isolated operational amplifier, with a total delay step size of [missing information]. (For example (Sampling period). Real physical state It cannot be obtained directly; the measured value can only reflect... Therefore, in this invention, the augmented state vector at the current moment is constructed. :
[0046] in, This represents the state at the previous sampling time, and so on until... , The total known delay steps (dimensionless integer) of the measurement loop are calculated by dividing the delay time by the sampling period. get, express It is a real-valued vector with elements. .
[0047] Further construct the augmented state transition equation:
[0048] in, Let A be the augmented state vector for the next time step, and let A be the 2×2 state transition matrix of the original discrete system, representing the evolution of the current state from the previous time step's state and input. It is a 2×2 identity matrix. B is a 2×2 zero matrix, indicating no direct correlation, and B is the original discrete input matrix. To control the input, Defined as the symbol for the entire augmented system matrix. Defined as the symbol for the entire augmented input matrix.
[0049] Kalman filtering is used for recursion: the state estimate and error covariance are initialized, and a standard prediction-correction process is performed using an augmented system model. The filter gain K is obtained by iteratively solving the Ricati equation.
[0050]
[0051] in, Here is the Kalman gain matrix. To estimate the error covariance matrix a priori, To measure the transpose of the matrix, For the measurement matrix, To measure the noise covariance matrix, Let k be the posterior state estimate at time k. This is the measurement vector at time k that includes the sampled output voltage and inductor current (or load current). Based on Time information The prior estimate (predicted value) of the augmented state at time k is ultimately derived from the posterior state estimate at time k. Extract the current Optimal estimation of the true state at time 1 , for Estimated output voltage at any time for By constantly outputting the estimated value of the inductor current, the feedback signal obtained by the controller eliminates the delay hysteresis and effectively filters out sampling noise.
[0052] Step S3: The reinforcement learning agent automatically and continuously adjusts the zeros and poles of the Type-III compensator in real time based on transient error, temperature and predicted current change rate.
[0053] In this embodiment, to address the issue that existing fixed compensation networks cannot cope with the phase margin erosion caused by the nonlinear increase in the output capacitance of the power transistor under high temperatures, this invention employs deep reinforcement learning to autonomously evolve compensation parameters in real time based on operating conditions.
[0054] For example, the specific implementation process includes: Reinforcement learning modeling: The state space is defined to include: the integral of the estimated output voltage error, the rate of change of error, the predicted current junction temperature of the current power transistor, the predicted rate of change of current, and the ratio of the current characteristic frequency of the compensator to the initial value. The action space consists of continuous parameters of the Type-III compensator: mid-band gain, zeros, and poles (discrete as incremental adjustments).
[0055] Constructing the SAC agent architecture: Using the SAC algorithm, the Actor network outputs the mean and variance of the Gaussian action distribution, the Critic network evaluates the Q-value, and the reward function is:
[0056] in, In time step The immediate reward value is used to maximize the long-term cumulative reward of the reinforcement learning agent, which is defined here as the negative value of the cost function. This is equivalent to minimizing output voltage error, duty cycle fluctuation, and subharmonic oscillation. , , These are the weighting coefficients for each item. The output voltage value measured or estimated at the current moment. The target reference voltage at the current moment, This is the system's rated bus voltage. For the current number The PWM duty cycle command value is calculated for each control cycle. This represents the duty cycle increment between adjacent periods. This is the physical upper limit of the duty cycle. This is a subharmonic oscillation indication function. By performing a Fast Fourier Transform (FFT) on the output voltage signal, it monitors the amplitude at half the switching frequency or other subharmonic frequencies. If the amplitude exceeds the preset oscillation threshold, it is determined that a subharmonic oscillation has occurred, and this item is 1; otherwise, it is 0.
[0057] The SAC algorithm iterates in real time: The agent comprises one policy network (Actor), two Q-networks (Critic), and two target Q-networks. It automatically adjusts the entropy regularization coefficients, storing the state space, action space, reward function, and other information in the experience replay pool at each interaction step. The agent then updates the digital compensator parameters according to the current state vector by outputting actions at a set period. Offline pre-training uses various music signals and temperature scenario simulation data, while online fine-tuning is performed using the learning rate to ensure closed-loop stability. This solves the problems of phase margin erosion and low-frequency oscillation in fixed compensation networks under high temperatures and device aging, achieving periodic self-optimization based on the dynamic characteristics of the control loop, ensuring optimal transient response and stability margin under large dynamic and varying operating conditions.
[0058] Step S4: Integrate the dynamic dead zone of predicted current and junction temperature.
[0059] In this embodiment, since the isolated DC / DC converters in the power execution layer of the system mostly adopt full-bridge or half-bridge topologies with complementary conduction of the upper and lower transistors, dead time is a key parameter to prevent bridge arm shoot-through. Conventional fixed dead time must be set according to the worst operating conditions (highest temperature, maximum current turn-off tail), resulting in an excessively long dead time under normal conditions, a sharp increase in body diode freewheeling losses, and voltage ringing and EMI degradation. Therefore, this invention solves the problem of bridge arm shoot-through and efficiency degradation under large dynamic conditions by integrating the predicted load current and junction temperature dynamic dead time and drive strength adjustment, thereby achieving adaptive, safe and efficient drive and enhancing the robustness of the power stage to load jumps.
[0060] For example, the specific implementation process includes: Calculate the dynamic dead time: Based on the predicted load current and the real-time estimated junction temperature, dynamically calculate the dead time.
[0061] in, This is the minimum safe dead time reference value for the power transistor under ideal conditions of room temperature (25°C) and zero current (in this invention, it is determined by parameters such as device turn-off delay and reverse recovery time, and a design margin is reserved, with a typical value such as 30ns). This is the temperature positive compensation coefficient. This is the predicted junction temperature value. As a negative current compensation coefficient, when the absolute value of the load current increases, the commutation speed of the inductor current accelerates, and the discharge speed of the parasitic capacitance of the power transistor increases, effectively shortening the turn-off delay. This can moderately reduce the dead zone to reduce the conduction time of the body diode and the reverse recovery loss. The predicted load current is calculated by updating the dead time once per switching cycle. The value is preloaded in the comparison value shadow register of the digital PWM module, enabling cycle-by-cycle updates. When the predicted load current... During a sudden temperature rise, the dead zone narrows rapidly, reducing voltage overshoot and circulating current losses caused by the reverse recovery charge of the body diode; when the junction temperature is predicted... During ascent, the dead zone is widened to ensure a safety margin.
[0062] Segmented Gate Drive Strength Control: To achieve a balance between switching losses and electromagnetic interference (EMI), this invention divides the drive current into two independently controlled segments: turn-on and turn-off. During turn-on, a strong drive current source (e.g., 2A peak) is used to quickly charge the gate capacitor, shortening the Miller plateau time and reducing turn-on losses. The higher the predicted current, the greater the drive strength. During turn-off, the turn-off speed is adjusted according to the predicted load current level. At low currents, a weak drive (e.g., 0.5A) is used to delay the turn-off and reduce ringing; at high currents, a strong drive (e.g., 2A) is switched to quickly pull the gate low, preventing parasitic conduction caused by the Miller effect.
[0063] Step S5: Simultaneously construct a lightweight LSTM network to predict junction temperature in real time.
[0064] In this embodiment, traditional overcurrent protection uses a fixed current threshold, but transient large dynamic loads may cause the current to momentarily exceed the conventional protection value instead of a real short-circuit fault. This invention constructs a lightweight LSTM network to predict the junction temperature in real time and combines it with dimensions such as predicted current slope and output voltage drop to generate a "flexible protection surface" to distinguish between safe instantaneous impacts and dangerous overcurrents.
[0065] For example, specific implementations include: Constructing an LSTM junction temperature prediction network: This invention builds a lightweight LSTM online predictor. The inputs are the RMS current values of the past N cycles, the switching frequency, and the current heatsink temperature. The output is the predicted junction temperature for the next few switching cycles. The network structure is a single-layer LSTM with 32 hidden units, followed by a fully connected output layer. tanh is used as the activation function. The training data comes from thermal impedance model simulation and measured thermal imaging calibration of the power conversion unit.
[0066] Calculate the multidimensional dynamic overcurrent threshold :
[0067] in, This is the baseline value for rated output current protection. This is a temperature derating curve function, ranging from 0 to 1, implemented through table lookup or piecewise linear operation. This is the current slope tolerance coefficient. The load current change rate, As a voltage sag modulation factor, the threshold intelligently rises when the voltage experiences a brief, large dynamic drop to prevent false alarms. This strategy transforms static hard limiting into flexible envelope protection that tracks load intentions. The minimum permissible output voltage, This is for the estimation of output voltage without delay.
[0068] Therefore, if the real-time current exceeds the calculated multidimensional dynamic overcurrent threshold... If it continues for several switching cycles, it will trigger cycle-by-cycle current limiting or soft shutdown instead of directly entering hiccup mode, thus avoiding noise caused by false protection and ensuring rapid response in case of fault.
[0069] Step S6: Perform online correction of the nonlinear capacitance of the power transistor using the Physical Information Model (PINN).
[0070] In this embodiment, since the output capacitor of the power transistor is a highly nonlinear element, it exhibits extremely strong nonlinearity with drain-source voltage and junction temperature. This output capacitor participates in the formation of the equivalent capacitance of the output LC filter, and its change will directly change the filter resonant frequency and erode the phase margin of the control loop. Especially under large signal and high temperature conditions, it is easy to induce subharmonic oscillations. Therefore, this invention uses a physical information neural network (PINN) to estimate the output capacitor in real time and feedforward to correct the zero position of the compensator.
[0071] For example, the specific implementation process includes: Constructing and Training a PINN Nonlinear Capacitance Model: This invention constructs a Physical Information Neural Network (PINN) with a network architecture of 4 fully connected layers, each with 64 neurons, an activation function of tanh, and a positive output value guaranteed by Softplus. The estimated output capacitance is obtained by inputting the voltage across the power transistor when it is turned off and the predicted junction temperature. During network training, the loss function includes not only the data fitting error term from the device datasheet but also physical residual constraints. The training data comes from the Coss-Vds curve family (at different temperatures) from the device datasheet, as well as datasets expanded using Sentaurus TCAD simulation or measured impedance analyzers. After training, the network parameters and structure are converted to fixed points and deployed in the real-time control layer MCU, performing inference once per fixed cycle.
[0072] Online phase correction and zero-point adjustment: Based on real-time sampling of voltage stress and predicted junction temperature, the output capacitance value of a single transistor or a single power transistor is estimated in real time via PINN. According to classical control theory, a zero of the Type-III compensator is typically placed near the actual resonant frequency of the LC filter to compensate for double-pole phase lag. When the estimated output capacitance increases, the actual resonant frequency of the LC filter decreases, and the zero needs to be shifted to a lower frequency to maintain the phase boosting effect. The zero-point offset... The calculation is as follows:
[0073] in, This is the nominal resonant frequency at room temperature and zero voltage. The actual resonant frequency of the LC filter is obtained.
[0074] Finally, a feedforward correction compensator is used to perform zero-point feedforward correction, adjusting the zero-point offset. It is directly applied as a feedforward to the compensation parameters given by reinforcement learning to complete the fine-tuning:
[0075] in, The final zero-point frequency after PINN nonlinear correction is directly written into the digital compensator coefficient register. To enhance the fundamental zero-point angular frequency of the learning agent's output, this correction is decoupled from the RL decision and serves as a fast feedforward compensation path. Its response time is much faster than the RL agent's update cycle, enabling the loop to maintain sufficient phase margin even under high temperature, full load, and large voltage swing.
[0076] Step S7: Construct a multimodal collaborative model, which summarizes the generated perception information, virtual state, optimal compensation and constraints, and MPC performs multi-objective optimal control decision-making in a unified manner.
[0077] In this embodiment, the present invention integrates the predicted trajectory of the sensing layer, the hysteresis-free estimation of the state observer, the adaptive compensator, and the dynamic protection boundary into a rolling time-domain optimization framework with explicit constraints. The MPC solves a constrained quadratic programming problem in each control cycle, outputting the optimal PWM duty cycle sequence.
[0078] Specifically, a unified prediction model is constructed. Internally, the MPC uses the observed state and the corrected small-signal model, taking the output future time-domain current sequence as the known perturbation feedforward trajectory, and solving the optimization objective once in each control cycle.
[0079] in, For the scalar objective function value of the MPC optimization problem, in each control cycle, the solver searches for the value that makes the objective function optimal. Minimal control increment sequence and slack variable sequence, This represents the discrete-time index, where k=1 corresponds to the first sampling period after the current time t, and so on. To predict the length of the time domain, For the future The target reference voltage for the step (scalar, in V). The first prediction calculated by the MPC internal prediction model Step output voltage, This is the time-varying error weighting coefficient. To control the length of the time domain, For the first The duty cycle of the step controls the increment. This is a time-varying control incremental weight.
[0080] in, Actual representation as As a penalty for soft constraint slack variables, For the first The non-negative relaxation variables introduced in each prediction step are used to transform the hard constraint "inductor current does not exceed the dynamic overcurrent threshold" that originally had to be strictly satisfied into a soft constraint that allows for slight violations. This avoids the optimization problem becoming unsolvable when the predicted current transient exceeds the threshold. The penalty coefficient for slack variables is only applied when the constraints truly face severe conflicts. Will because However, this increases significantly, so the optimizer will "try its best" to maintain... This is equivalent to strictly satisfying the constraints; only when it is truly impossible to satisfy all constraints simultaneously is it allowed. And at a great cost, the extent of violations is limited.
[0081] The constraints include: duty cycle saturation constraint, dynamic current constraint, inductor current ripple constraint, and control increment constraint. Based on this, the following multimodal weighted scheduling and energy balance are further implemented: Large dynamic burst mode: When the transient intensity weight of the audio large model prediction output is greater than the set threshold, the output voltage error weight matrix of the k-th step in the MPC cost function is increased, the control increment weight of the k-th step in the MPC cost function is appropriately reduced, and the MPC starts to increase the duty cycle one bass drum cycle in advance, pre-charging the filter capacitor voltage to the target transient high voltage, so that when the load suddenly draws current, the voltage drop is jointly offset by the capacitor energy storage and fast response.
[0082] Light load / static mode: When the output voltage error weight matrix in the k-th step of the MPC cost function recovers to its base value, the control increment weight in the k-th step of the MPC cost function increases, the duty cycle calculated by MPC changes smoothly, and it can automatically switch to burst mode (such as skipping several switching cycles) to achieve cross-cycle charge balance, maintain high efficiency and reduce standby power consumption.
[0083] Protection activation mode: If the filter inductor current is within the set multidimensional dynamic overcurrent protection threshold range and the relaxation variable begins to activate, the MPC will automatically shift the focus of the objective function to satisfying the current constraint and maintain the voltage from collapsing by reducing power.
[0084] Through the multimodal scheduling of the aforementioned weights, MPC can automatically switch control according to the audio content, becoming aggressive and voltage-prioritized during transient bursts; conservative and efficiency-prioritized during normal and light load conditions; and switching to current safety-prioritized during dangerous situations, thereby achieving energy balance and optimized coordination of dynamic performance within a unified optimization framework.
[0085] It is understood that the augmented state Kalman filter in the hybrid delay compensation state observer of this invention is not limited to handling the transmission delay introduced by optocouplers or isolation operational amplifiers, but can also handle the equivalent delay introduced by the digital sampling chain (including analog-to-digital converter sample-and-hold circuit and digital filter). In this case, the transmission delay step is obtained by dividing the actual measured total delay time by the sampling period and rounding it down. The construction method of the augmented state vector and the Kalman recursion process remain unchanged.
[0086] The deep reinforcement learning algorithms in the adaptive compensator are not limited to the soft actor-critic algorithm. Other deep reinforcement learning algorithms, such as the proximal policy optimization algorithm or the double-delay deep deterministic policy gradient algorithm, can also be used, while the definitions of the state space and action space remain unchanged.
[0087] The solution method for multimodal model predictive controllers is not limited to online real-time solution of quadratic programming. In scenarios with limited computing resources, explicit model predictive control can also be used. The optimal control law is solved offline in advance as a multi-parameter program and stored in the processor in the form of a piecewise affine lookup table. During online execution, the optimal duty cycle is directly output by looking up the table, thereby realizing low-latency model predictive control on the embedded controller platform.
[0088] Furthermore, this invention is not limited to audio power amplifier power supply scenarios, but is also applicable to other isolated DC / DC converter application scenarios with large dynamic transient load characteristics, such as laser driver power supplies, pulse radar power supplies, etc. In this case, the audio large model prediction unit can be replaced with the load intention prediction module of the corresponding application scenario, while the connection relationship and working process of the other modules remain unchanged.
[0089] It should be noted that, in this invention, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus.
[0090] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A power amplifier power supply control method based on dynamic voltage compensation and intelligent load adaptation, characterized in that: The following steps are included: Audio features are extracted from the input audio signal, and the audio features are encoded through an audio semantic prediction model to obtain the transient intensity weight sequence for future time steps. Based on the transient intensity weight sequence, power amplifier gain, and load impedance, the predicted load current is calculated, and the feedforward target voltage trajectory is generated. Acquire the delayed measurement signal of the power converter feedback loop and explicitly incorporate the propagation delay steps of the isolated feedback loop into the augmented state vector; An augmented state transition equation is constructed, and the augmented state vector is estimated by Kalman prediction-correction recursion to extract the hysteresis-free estimates of the output voltage and inductor current at the current moment. Based on the hysteresis-free estimate of the output voltage, the rate of change of the output voltage error, the predicted value of the power transistor junction temperature, and the predicted rate of change of the current, the compensator parameter adjustment amount is output through the adaptive compensation parameter tuning model to update the digital compensator parameters. The feedforward target voltage trajectory, hysteresis-free estimate, updated compensator parameters, and dynamic overcurrent protection threshold are all incorporated into the rolling time-domain optimization framework. The optimization problem with soft constraints is solved in each control cycle, and the optimal PWM duty cycle sequence is output.
2. The power amplifier power supply control method based on dynamic voltage compensation and intelligent load adaptation according to claim 1, characterized in that: The audio features are encoded using an audio semantic prediction model to obtain the transient intensity weight sequence for future time steps, including: A series of consecutive frames of Mel spectrum feature sequences are input into a multi-layer Transformer encoder, and attention pooling is performed on the encoder output to obtain a fixed-length semantic feature vector. The semantic feature vector is mapped through a fully connected layer and a sigmoid activation function to output the transient intensity weight sequence for each future time step.
3. The power amplifier power supply control method based on dynamic voltage compensation and intelligent load adaptation according to claim 2, characterized in that: Calculating the predicted load current and generating the feedforward target voltage trajectory includes: Calculate the predicted load current at each future time step based on the peak amplitude, transient intensity weight, power amplifier gain, and load impedance of the current audio frame. The output feedforward target voltage trajectory is calculated by summing the voltage drop compensation terms for the predicted load current using the rated bus voltage, the equivalent DC internal resistance of the power system, and the equivalent inductance of the output circuit.
4. The power amplifier power supply control method based on dynamic voltage compensation and intelligent load adaptation according to claim 3, characterized in that: Constructing the augmented state transition equation and estimating the augmented state vector through Kalman prediction-correction recursion includes: A discrete state-space model of the output LC filter is established, with the output voltage and inductor current as state variables and the product of the PWM duty cycle and the input bus voltage as the control input. Concatenate the current state and the states at each historical delay time to form an augmented state vector, and establish the corresponding augmented state transition equation. Delay measurements are extracted using a measurement matrix that includes the number of transmission delay steps. Kalman prediction and correction steps are performed to extract the optimal estimates of the output voltage and inductor current at the current moment from the a posteriori augmented state estimate.
5. The power amplifier power supply control method based on dynamic voltage compensation and intelligent load adaptation according to claim 4, characterized in that: The adjustment amounts of the compensator parameters output by the adaptive compensation parameter tuning model include: A deep reinforcement learning agent is used as the adaptive compensation parameter tuning model. The state vector is constructed using the output voltage error integral, the output voltage error rate of change, the predicted power transistor junction temperature, and the predicted current rate of change. The compensator's intermediate frequency band gain adjustment, zero-point frequency adjustment, and pole-point frequency adjustment constitute a continuous operation. The negative value of the weighted sum of the output voltage error term, duty cycle fluctuation term, and subharmonic oscillation indication term is used as the reward function; The compensator parameter adjustment amount is then output through the policy network; The updated digital compensator parameters include: taking the predicted values of the power transistor drain-source voltage and power transistor junction temperature as inputs, and obtaining the estimated value of the nonlinear output capacitance of the power transistor through physical information neural network reasoning; The actual resonant frequency of the LC filter is calculated based on the output capacitance estimate, and the zero-point offset relative to the nominal resonant frequency is obtained. The zero-point offset is superimposed as a feedforward quantity onto the base zero-point frequency output by the deep reinforcement learning agent to obtain the corrected compensator zero-point frequency, which is then written into the digital compensator coefficient register.
6. The power amplifier power supply control method based on dynamic voltage compensation and intelligent load adaptation according to claim 5, characterized in that: The adjustment amount of the compensator parameters output by the adaptive compensation parameter tuning model also includes: Using the historical current RMS value sequence, switching frequency, and heat sink temperature as inputs, the junction temperature of the power transistor is predicted for several future switching cycles through a long short-time memory network, thus obtaining the predicted junction temperature value of the power transistor. The dynamic overcurrent protection threshold is calculated based on the temperature derating factor, load current change rate tolerance factor, and output voltage drop modulation factor corresponding to the predicted junction temperature of the power transistor. When the real-time detected current exceeds the dynamic overcurrent protection threshold and continues for a set number of cycles, cycle-by-cycle current limiting protection is triggered. Based on the predicted load current and the predicted junction temperature of the power transistor, the dynamic dead time is calculated cycle by cycle by adding the reference dead time to the product of the positive temperature compensation coefficient and the predicted junction temperature, and subtracting the product of the negative current compensation coefficient and the absolute value of the predicted load current. During the turn-on phase of the power switch, a peak strong drive current is used to charge the gate capacitor, and during the turn-off phase, the gate drive current intensity is switched according to the predicted load current level.
7. The power amplifier power supply control method based on dynamic voltage compensation and intelligent load adaptation according to claim 6, characterized in that: Solving the soft-constrained optimization problem in each control cycle includes: Construct a quadratic programming problem with the objective function being the sum of the weighted squared sum of the output voltage error in the prediction time domain, the weighted squared sum of the duty cycle increment in the control time domain, and the sum of the penalty terms for the soft constraint relaxation variables; The constraints include: duty cycle saturation constraint, soft constraint of inductor current with dynamic overcurrent protection threshold as the upper limit, and control increment constraint; Solve a quadratic programming problem within each control cycle, and output the first element of the optimal duty cycle sequence as the PWM duty cycle command for the current cycle.
8. The power amplifier power supply control method based on dynamic voltage compensation and intelligent load adaptation according to claim 7, characterized in that: The quadratic programming problem also includes: Based on the relationship between the current weight value in the transient intensity weight sequence and the set threshold, the weights in the objective function are dynamically adjusted: When the transient intensity weight exceeds the set threshold, the output voltage error weighting coefficient is increased and the duty cycle increment weighting coefficient is decreased. When the transient intensity weight is lower than the set threshold, the output voltage error weighting coefficient is restored and the duty cycle increment weighting coefficient is increased. When the soft constraint relaxation variable is activated, the center of gravity of the objective function is shifted to the direction in which the current constraint is satisfied, and the output power is reduced to maintain the stability of the output voltage.
9. A power amplifier power supply control system based on dynamic voltage compensation and intelligent load adaptation, used to execute the power amplifier power supply control method based on dynamic voltage compensation and intelligent load adaptation as described in any one of claims 1-8, characterized in that: The system consists of an intelligent sensing layer, a real-time control layer, and a power execution layer, which are connected in sequence to form a closed-loop control. The intelligent perception layer is configured to perform high-level semantic understanding of audio content and delay cancellation of circuit states in order to provide load prediction information and real-time system status to the real-time control layer. The real-time control layer is configured to introduce reinforcement learning, model prediction and physical information neural network control nodes to perform multi-objective cross-cycle real-time joint optimization of control parameters, protection thresholds and drive strategies, and generate PWM duty cycle and protection / drive commands. The power execution layer is configured to convert the commands issued by the real-time control layer into a high-power stable DC bus voltage and provide voltage, current and temperature feedback with inherent transmission delay to the intelligent sensing layer.
10. The power amplifier power supply control system based on dynamic voltage compensation and intelligent load adaptation according to claim 9, characterized in that: The intelligent perception layer also includes: The audio large model prediction unit is used to receive the raw audio stream and output the transient load current envelope prediction sequence within a short time window in real time based on the pre-trained Transformer audio large model. A feedforward bus voltage planner is used to dynamically generate a target feedforward bus voltage based on the predicted current and the power amplifier gain and speaker impedance curves. A hybrid delay-compensated state observer is used to integrate the discrete model of the power amplifier power supply with delay measurement. It uses an augmented state Kalman filter to eliminate the transmission delay of the optocoupler / isolation op-amp and outputs a hysteresis-free feedback state. The real-time control layer also includes: An adaptive compensator for reinforcement learning is used to online tune the zeros, poles, and gain of a compensation network based on a deep reinforcement learning agent. The intelligent dynamic protection controller includes a junction temperature predictor and a multi-dimensional dynamic overcurrent threshold generator. The digital twin nonlinear correction unit deploys a physical information neural network model to estimate the nonlinear output capacitance of the power transistor in real time and to feed forward the phase margin of the correction loop. A multimodal model predictive controller is used to fuse module information to construct a cross-cycle energy management optimization problem and output the optimal PWM duty cycle; Dynamic dead time and drive adapter for dynamically adjusting dead time and gate drive strength based on predicted current and junction temperature.
