A power management chip control method and device

By introducing a state-space control method into the power management chip, and using pulse control signals and a state-space controller model, control parameters are automatically calculated. This solves the problems of high labor costs and poor adaptability of PID control algorithms in power management chips, and achieves high-precision and high-stability power management.

CN119376229BActive Publication Date: 2025-11-14SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411284668.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2025-11-14
Estimated Expiration
2044-09-13

AI Technical Summary

Technical Problem

Existing PID control algorithms require significant manpower and time to debug parameters in power management chips, are highly susceptible to human factors, and are not universally applicable to the controlled objects, making it difficult to effectively handle nonlinear and time-varying systems.

Method used

The state-space control method is adopted. The pulse control signal is input to the power control circuit and the preset state-space controller model to obtain the actual output in real time. The updated pulse control signal is generated according to the difference between the expected output and the actual output, and the control parameters are automatically calculated without manual adjustment.

Benefits of technology

It achieves high-precision and high-stability control of power management chips, reduces labor costs, adapts to the needs of different controlled objects, and improves the stability and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119376229B_ABST
    Figure CN119376229B_ABST
Patent Text Reader

Abstract

This invention provides a power management chip control method and apparatus. The method includes: inputting a pulse control signal into a power control circuit to acquire the actual output from the power supply to the load in real time; the pulse control signal is used to adjust the output from the power supply to the load; inputting the pulse control signal into a preset state-space controller model to determine the desired output; generating an updated pulse control signal based on the difference between the desired output and the actual output and outputting it to the power control circuit; wherein the state-space controller model is used to calculate the desired output based on model parameters and the input pulse control signal. This achieves a control method based on a state-space controller model, which can automatically calculate the control parameters of the state equation according to the different controlled objects, eliminating the need for manual adjustment and reducing labor costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power management technology, and in particular to a power management chip control method and apparatus. Background Technology

[0002] Currently, digital power management chips mainly employ digital closed-loop control technology, among which the classic PID (Proportional-Integral-Derivative) control algorithm is widely used due to its simple structure and good stability. However, with the increasing demands on power performance in modern electronic systems, the PID control algorithm has shown limitations in handling nonlinear, time-varying systems and high-precision control requirements.

[0003] Specifically, existing power management technologies based on PID control algorithms have the following problems: traditional PID control algorithms require a lot of manpower and time to debug parameters, are greatly affected by human factors, can only refer to a few directly observable output indicators such as voltage ripple during debugging, and the controlled object is not universal. Summary of the Invention

[0004] This invention provides a power management chip control method and device to solve the shortcomings of existing PID control algorithms, which require a lot of manpower and time to debug parameters, are greatly affected by human factors, can only refer to a few directly observable output indicators such as voltage ripple during debugging, and have no universality of controlled objects. The invention realizes a state-space control method that can automatically calculate the control parameters of the state equation according to different controlled objects, without the need for manual debugging, thus reducing manpower costs.

[0005] This invention provides a power management chip control method for a controller of the power management chip, the method comprising:

[0006] A pulse control signal is input to the power control circuit to obtain the actual output from the power source to the load in real time; the pulse control signal is used to adjust the output from the power source to the load.

[0007] The pulse control signal is input into a preset state space controller model to determine the desired output;

[0008] Based on the difference between the expected output and the actual output, an updated pulse control signal is generated and output to the power control circuit.

[0009] The state-space controller model is used to calculate the desired output based on the model parameters and the input pulse control signal.

[0010] According to a power management chip control method provided by the present invention, the pulse control signal is input to a preset state space controller model to determine the desired output, specifically including:

[0011] The pulse control signal is input to a preset state space controller model. The system state estimate for the current time step is calculated based on the pulse control signal, the system state estimate of the previous time step, and the model parameters.

[0012] The desired output is generated by calculating based on the system state estimate at the current time step and the pulse control signal.

[0013] According to a power management chip control method provided by the present invention, the generation process of the state space controller model includes:

[0014] During the system identification phase, input-output data pairs for identification are acquired, wherein the input-output data pairs include input data and output data, the input data is a pulse control signal obtained by pulse width modulation based on the input true random number, and the output data is the output to the load via the power supply;

[0015] Based on the identified input-output data pair, model parameters and initial state estimates are obtained; the initial state estimates are used to provide a starting point for the state-space controller model.

[0016] Based on the model parameters and the initial state estimate, the system state estimate of the current time step, the system state estimate of the next time step, the pulse control signal, and the desired output are used as variables to generate the state space controller model.

[0017] According to a power management chip control method provided by the present invention, in the system identification stage, input / output data pairs for identification are acquired, specifically including:

[0018] During the system identification phase, the true random number generator is controlled to generate multiple true random numbers;

[0019] The multiple true random numbers are received and pulse width modulated to obtain a pulse control signal, wherein the pulse control signal is used to adjust the output of the power control circuit and adjust the power output to the load.

[0020] The control sampler collects the pulse control signal and the load output as identification input-output data pairs.

[0021] According to a power management chip control method provided by the present invention, the model parameters include: a state transition matrix, an input matrix, an output matrix, and a direct transfer matrix;

[0022] Based on the model parameters and the initial state estimate, the system state estimate of the current time step, the system state estimate of the next time step, the impulse control signal, and the desired output are used as variables to generate the state-space controller model, specifically including:

[0023] The system state estimate for the next time step is generated by calculating based on the state transition matrix, input matrix, system state estimate for the current time step, and pulse control signal; wherein, the first time step is the initial state estimate;

[0024] The desired output is generated by calculating based on the output matrix, the direct transfer matrix, the system state estimate at the current time step, and the pulse control signal.

[0025] According to a power management chip control method provided by the present invention, the state space controller model includes:

[0026] ;

[0027] Where A represents the state transition matrix, B represents the input matrix, C represents the output matrix, and D represents the direct transfer matrix;

[0028] Indicates a pulse control signal. This represents the system state estimate at the current time step. System state estimation at the next time step Expected output.

[0029] According to a power management chip control method provided by the present invention, the pulse control signal is input to a preset state space controller model, and the system state estimate of the current time step is obtained by calculation based on the pulse control signal, the system state estimate of the previous time step, and the model parameters, using the following formula:

[0030] ;

[0031] in, Let A represent the system state estimate at the previous time step, and let B represent the state transition matrix and B represent the input matrix. This refers to the pulse control signal. This represents the system state estimate at the current time step;

[0032] The desired output is generated based on the system state estimate at the current time step and the pulse control signal, calculated using the following formula:

[0033] ;

[0034] in, Expected output C represents the system state estimate at the current time step; C represents the output matrix, and D represents the direct transfer matrix. This refers to the pulse control signal.

[0035] The present invention also provides a power management chip control device, a controller for the power management chip, the device comprising:

[0036] The actual output acquisition module is used to input the pulse control signal to the power control circuit to acquire the actual output from the power supply to the load in real time; the pulse control signal is used to adjust the output from the power supply to the load.

[0037] The desired output determination module is used to input the pulse control signal into a preset state space controller model to determine the desired output;

[0038] The update control module is used to generate an updated pulse control signal and output it to the power control circuit based on the difference between the desired output and the actual output.

[0039] The state-space controller model is used to calculate the desired output based on parameters and input pulse control signals.

[0040] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the power management chip control method described above.

[0041] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the power management chip control method as described above.

[0042] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the power management chip control method as described above.

[0043] The power management chip control method and apparatus provided by this invention obtain the actual output from the power supply to the load in real time by inputting a pulse control signal into the power control circuit; the pulse control signal is used to adjust the output from the power supply to the load; the pulse control signal is input into a preset state space controller model to determine the desired output; and an updated pulse control signal is generated and output to the power control circuit based on the difference between the desired output and the actual output, thereby realizing a control method based on the state space controller model. Depending on the controlled object, the control parameters of the state equation can be automatically calculated without manual adjustment, reducing labor costs. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0045] Figure 1 This is a schematic diagram of a PID parameter optimization algorithm based on system identification provided in conventional technology.

[0046] Figure 2 This is one of the flowcharts illustrating the power management chip control method provided in this embodiment of the invention.

[0047] Figure 3 This is a control schematic diagram of the power management chip provided in an embodiment of the present invention.

[0048] Figure 4 This is the second flowchart illustrating the power management chip control method provided in this embodiment of the invention.

[0049] Figure 5 This is one of the schematic diagrams illustrating the principle of the oscillator sampling method provided in this embodiment of the invention.

[0050] Figure 6 This is the second schematic diagram of the oscillator sampling method provided in the embodiment of the present invention.

[0051] Figure 7 This is the third flowchart illustrating the power management chip control method provided in this embodiment of the invention.

[0052] Figure 8 This is a schematic diagram of the power management chip control device provided in an embodiment of the present invention.

[0053] Figure 9 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation

[0054] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0055] To address the shortcomings of existing technologies, a conventional technique involves a PID parameter optimization algorithm based on system identification. The power management chip performs mathematical modeling of the controlled object, obtains the mathematical model parameters, and then optimizes the control parameters to arrive at the optimal solution. This involves system identification modeling for mathematical modeling and PID control for the control method. This algorithm does not require knowledge of the specific parameters of the controlled object during design. Before system operation, the controlled object parameters are obtained through an object parameter estimator, and then the design unit calculates the PID controller parameters, which control the power supply output. The object parameter estimator's role is to calculate the mathematical model of the controlled object, which is the main task of the system identification stage. The design unit optimizes the PID controller parameters based on the controlled object model parameters calculated by the object parameter estimator. (Algorithm overall structure follows.) Figure 1 As shown.

[0056] While the PID parameter optimization algorithm based on system identification can reduce the cost of manual debugging, it cannot fundamentally solve the problems of instability and overshoot of PID control algorithms for nonlinear and time-varying systems.

[0057] The embodiments of the present invention can effectively solve the above problems through a control algorithm based on a state-space controller model. Once the state-space controller model (i.e., the state equation) is obtained, the state variables of the entire system operation process can be calculated, which is more beneficial to the debugging process of the debugging personnel.

[0058] Before describing the technical solutions of the embodiments of the present invention, the terms and concepts involved in the embodiments of the present invention will be explained.

[0059] A proportional-integral-derivative (PID) controller is a widely used feedback controller used to control various industrial processes and systems. A PID controller works by calculating the proportional (P), integral (I), and derivative (D) components of the error (i.e., the difference between the setpoint and the actual output) and combining these components into a control signal to adjust the system's behavior.

[0060] A true random number generator (TRNG) is a hardware device or algorithm that can generate truly random numbers. Unlike a pseudo-random number generator (PRNG), the output of a true random number generator is based on the randomness of physical processes, which are inherently unpredictable. Therefore, the generated random number sequences are statistically more difficult to predict and replicate.

[0061] A pseudo-random number generator (PRNG) is an algorithm widely used in computer science to generate a series of seemingly random numerical sequences. Since computers themselves operate based on deterministic algorithms, they cannot directly generate truly random numbers. Pseudo-random number generators, through a series of complex mathematical operations and algorithms, simulate randomness as closely as possible.

[0062] System identification: System identification is the process of building a model that mimics the behavior of a real system using mathematical methods based on its input and output data. This model can be used to predict the future evolution of the system's output, design controllers, and perform system performance analysis and optimization. The goal of system identification is to estimate key parameters characterizing the system's behavior, thereby establishing a mathematical model that closely approximates the properties of the real system.

[0063] The following is combined with Figures 2-7 This invention describes a power management chip control method according to an embodiment of the present invention.

[0064] Figure 2 This is one of the flowcharts illustrating the power management chip control method provided by the present invention, such as... Figure 2 As shown, the method includes the following:

[0065] Step 201: Input the pulse control signal into the power control circuit to obtain the actual output from the power supply to the load in real time. The pulse control signal is used to adjust the output from the power supply to the load.

[0066] Specifically, see Figure 3 , Figure 3 A control schematic diagram of a power management chip according to this embodiment is shown. Wherein:

[0067] The output from the power supply to the load can be either a current signal or a voltage signal.

[0068] The pulse control signal is generated by a pulse width modulator, typically using PWM (Pulse Width Modulation) technology, to regulate the switching state of the power supply, thereby controlling the electrical energy output to the load.

[0069] In this embodiment, the power control circuit is a full-bridge power converter circuit. The full-bridge power converter circuit is the core component of the power management chip, responsible for converting the input direct current (DC) or alternating current (AC) into an output voltage and current suitable for the load requirements. It typically consists of a bridge structure composed of four power switches (such as MOSFETs or IGBTs), and the voltage and current of the load are regulated by the alternating switching of these switches.

[0070] The pulse control signal is sent to the full-bridge power conversion circuit of the power management chip. The full-bridge power conversion circuit adjusts the power supply switching according to the duty cycle of the PWM signal, affecting the voltage or current output by the power supply.

[0071] The actual output current or voltage from the power supply to the load is monitored and acquired in real time using current sensors and / or voltage sensors.

[0072] The analog current and / or analog voltage signals output by the sensor are converted into digital signals by an ADC (analog-to-digital converter). The actual output digital signals and pulse control signals are collected by a sampler and sent to the controller for processing and analysis by the digital controller.

[0073] Step 201 is the foundation of the entire power management chip control method, ensuring that the system can make effective control adjustments based on real-time feedback to achieve high-precision and high-stability power output.

[0074] Step 202: Input the pulse control signal into the preset state space controller model to determine the desired output.

[0075] The state-space controller model is used to calculate the desired output based on the model parameters and the input pulse control signal.

[0076] Specifically, when the circuit system is operating, the controller initiates a preset state-space controller model, which is a mathematical model used to describe the dynamic behavior of the power management system. The model parameters have already been determined during the system identification phase.

[0077] The controller uses the actual output as a feedback signal and compares it with the expected output to form a closed-loop control system, providing a basis for subsequent control decisions.

[0078] Step 202 is a crucial step in ensuring that the power management chip can accurately control the power output based on real-time data and preset models. This step enables precise adjustment of the power output to meet load demands, while simultaneously improving system stability and reliability.

[0079] Step 203: Based on the difference between the desired output and the actual output, generate an updated pulse control signal and output it to the power control circuit.

[0080] In this step, the difference between the expected output and the actual output is calculated. This difference is the control error and is the basis for adjusting the control signal.

[0081] By analyzing the characteristics of the control error, including its magnitude, direction, and trend, subsequent control strategies can be determined. Based on the control error, a control law is applied to calculate the required control input adjustment to reduce the error.

[0082] Based on the control law calculations, the duty cycle or amplitude of the pulse control signal is adjusted to change the output of the power supply control circuit. An updated pulse control signal is generated, reflecting the response to the control error at the current time step, to regulate the power supply output to the load. The updated pulse control signal is then output to the power supply control circuit for precise control of the power supply output.

[0083] In step 203, the controller will continuously monitor the real-time output and expected output of the load, and adjust the pulse control signal used to control the operation of the power control circuit as necessary to cope with load changes or system performance requirements, so as to ensure that the power system can operate stably and efficiently.

[0084] The power management chip control method provided in this invention obtains the actual output from the power supply to the load in real time by inputting a pulse control signal into the power control circuit. The pulse control signal is used to adjust the output from the power supply to the load. The pulse control signal is input into a preset state space controller model to determine the desired output. Based on the difference between the desired output and the actual output, an updated pulse control signal is generated and output to the power control circuit, thereby realizing a control method based on the state space controller model. Depending on the controlled object, the control parameters of the state equation can be automatically calculated without manual adjustment, reducing labor costs.

[0085] Specifically, see Figure 4 The generation process of the state-space controller model includes:

[0086] 401. During the system identification phase, acquire the input-output data pairs used for identification.

[0087] The input-output data pair includes input data and output data. The input data is a pulse control signal obtained by pulse width modulation based on the input true random number, and the output data is the output to the load via the power supply.

[0088] Acquiring input / output data pairs for identification specifically includes: controlling a true random number generator to generate multiple true random numbers; receiving the multiple true random numbers and performing pulse width modulation to obtain a pulse control signal. The pulse control signal is used to adjust the output of the power control circuit to regulate the power output to the load; the control sampler collects the pulse control signal and the load output. , as a means of identifying input and output data pairs.

[0089] The identification of the controlled object is an independent process that occurs after power-on and before normal operation. After power-on, the power control system is in an open-loop state, and its control parameters have not yet been generated (input) or adjusted. At this time, running the identification process of the controlled object can provide a state-space controller model of the controlled object within one minute.

[0090] Furthermore, to ensure the model's versatility, it's crucial to guarantee the temporal invariance (wide spectrum) of the input data. Random number generators, serving as data sources, can be categorized into True Random Number Generators (TRNGs) and Pseudo Random Number Generators (PRNGs). While PRNGs are based on a fixed algorithm, TRNGs leverage the randomness of physical processes. Entropy sources are the source of uncertainty in random number generators. By sampling and quantizing this uncertainty, a random source sequence is obtained. This invention employs an oscillator sampling method to obtain the entropy source. Its basic structure involves connecting a set of inverters sequentially, with the output of the last inverter serving as the input of the first inverter, forming a closed loop, such as... Figure 5 As shown.

[0091] During the generation of the oscillation clock in the oscillation loop, factors with random physical environment influences such as thermal noise, low-frequency noise, and shot noise exist in the circuit, causing a frequency shift in the oscillation clock. This shift is uncertain, and from a time-domain perspective, it manifests as clock jitter, such as... Figure 6 As shown. This jitter is unpredictable and may cause the inverter's flip-flop cycle to be either longer or shorter.

[0092] 402. Based on the identified input-output data pair, process to obtain model parameters and initial state estimates.

[0093] The model parameters include the state transition matrix A, the input matrix B, the output matrix C, and the direct transfer matrix D.

[0094] State transition matrix A: describes the dynamic characteristics of the evolution of the internal state of the system over time.

[0095] Input matrix B: Defines how external control inputs affect changes in the system state.

[0096] Output matrix C: Determines how the system state is mapped to the observable output.

[0097] Direct transfer matrix D: This matrix defines the direct influence if the control input directly affects the output, bypassing state variables.

[0098] Initial state estimation Used to provide a starting point for the state space controller model.

[0099] 403. Based on the model parameters and the initial state estimate, the system state estimate of the current time step, the system state estimate of the next time step, the pulse control signal, and the desired output are used as variables to generate the state space controller model.

[0100] Specifically, step 403 includes: calculating and generating the system state estimate for the next time step based on the state transition matrix, the input matrix, the system state estimate for the current time step, and the pulse control signal; wherein the first time step is the initial state estimate; and calculating and generating the desired output based on the output matrix, the direct transfer matrix, the system state estimate for the current time step, and the pulse control signal.

[0101] Specifically, the state-space controller model includes:

[0102]

[0103] Where A represents the state transition matrix, B represents the input matrix, C represents the output matrix, and D represents the direct transfer matrix;

[0104] Indicates a pulse control signal. This represents the system state estimate at the current time step. System state estimation at the next time step Expected output.

[0105] The parameter matrices A, B, C, and D are obtained through a system identification process, which typically includes the following steps:

[0106] Collect the system's input and output data. This typically involves applying a test signal (e.g., a step function, a sine wave, or a true random number signal) to the system's input while simultaneously measuring the system's output response.

[0107] The collected data is preprocessed, such as by filtering, denoising, and aligning sampling time.

[0108] Assume the structure of a state-space model, including the model's order and type.

[0109] Choose an appropriate parameter estimation method, such as least squares, maximum likelihood, recursive least squares, or subspace identification.

[0110] Depending on the chosen estimation method, model parameters are calculated using the input and output data. This typically involves solving an optimization problem with the goal of minimizing the discrepancy between model predictions and actual observations.

[0111] For linear time-invariant systems, it may be necessary to solve equations such as the Riccati equation or other algebraic equations to obtain the parameter matrix.

[0112] After the identification is completed, the parameter matrices A, B, C, and D will be fixed and will no longer change.

[0113] For example, based on the state-space controller model, the system state can be estimated from the initial time step. Based on the input pulse control signal, the system state estimate for the first time step is calculated. And based on the system state estimate of the first time step The desired output for the first time step is obtained from the input pulse control signal. Then, based on the desired output for the first time step and the actual output from the power supply to the load acquired in real time, the difference is calculated to obtain the control quantity that needs to be adjusted, so as to update the pulse control signal.

[0114] Specifically, see Figure 7 Step 202 includes:

[0115] 701. Input the pulse control signal into the preset state space controller model, and calculate the system state estimate of the current time step based on the pulse control signal, the system state estimate of the previous time step, and the model parameters.

[0116] Specifically, step 701 is calculated using the following formula:

[0117]

[0118] in, Let A represent the system state estimate at the previous time step, and let B represent the state transition matrix and B represent the input matrix. This refers to the pulse control signal. This represents the system state estimate at the current time step;

[0119] 702. Calculate and generate the desired output based on the system state estimate at the current time step and the pulse control signal.

[0120] Specifically, step 702 is calculated using the following formula:

[0121]

[0122] in, Expected output C represents the system state estimate at the current time step; C represents the output matrix, and D represents the direct transfer matrix. This refers to the pulse control signal.

[0123] The calculated expected output Compared with actual output The control error is obtained through comparison. Based on the control error analysis, the system performance is assessed, the adjustment amount is calculated using the control law, and the pulse control signal is updated to reduce the error.

[0124] Steps 701 and 702 together ensure that the power management chip can accurately control the power output based on real-time data and a preset model. By continuously iterating through steps 701 and 702, the control system can achieve precise adjustment of the power output to meet load requirements, while improving the stability and reliability of the system.

[0125] In this embodiment of the invention, the achieved effects include:

[0126] 1) In the power management chip, the traditional PID control is abandoned and modern control theory is introduced. The state-space control method is used to control the output of the power supply. In order to obtain the state equation parameter matrix, the system identification method is used. The identification target is all links between the output of the control system and the power supply power sampling. The identification calculation process is completely completed by hardware.

[0127] 2) During the identification process, the input random number is a true random number, and its entropy source is generated by the oscillator dithering sampling method.

[0128] 3) The method of this embodiment can be applied to systems that can be controlled by a PID controller, such as temperature control, balance vehicle control, and water level control. This is because the method of this embodiment models the controlled object, and the obtained model parameters enable output control; the controlled object can be used to calculate the state equation parameter matrix.

[0129] The power management chip control device provided in the embodiments of the present invention is described below. The power management chip control device described below can be referred to in correspondence with the power management chip control method described above.

[0130] This invention provides a power management chip control device, see [link to relevant documentation]. Figure 8 A controller for the power management chip, the device comprising:

[0131] The actual output acquisition module 801 is used to input a pulse control signal to the power control circuit to acquire the actual output from the power supply to the load in real time; the pulse control signal is used to adjust the output from the power supply to the load.

[0132] The desired output determination module 802 is used to input the pulse control signal into a preset state space controller model to determine the desired output;

[0133] The update control module 803 is used to generate an updated pulse control signal and output it to the power control circuit based on the difference between the desired output and the actual output.

[0134] The state-space controller model is used to calculate the desired output based on parameters and input pulse control signals.

[0135] Optionally, the desired output determination module 802 is specifically used to: input the pulse control signal to a preset state space controller model; calculate the system state estimate of the current time step based on the pulse control signal, the system state estimate of the previous time step, and the model parameters; and calculate the desired output based on the system state estimate of the current time step and the pulse control signal.

[0136] Optionally, the apparatus further includes a model generation module for:

[0137] During the system identification phase, input-output data pairs for identification are acquired, wherein the input-output data pairs include input data and output data, the input data is a pulse control signal obtained by pulse width modulation based on the input true random number, and the output data is the output to the load via the power supply;

[0138] Based on the identified input-output data pair, model parameters and initial state estimates are obtained; the initial state estimates are used to provide a starting point for the state-space controller model.

[0139] Based on the model parameters and the initial state estimate, the system state estimate of the current time step, the system state estimate of the next time step, the pulse control signal, and the desired output are used as variables to generate the state space controller model.

[0140] Optionally, the model generation module is specifically used for: during the system identification phase, controlling a true random number generator to generate multiple true random numbers; receiving the multiple true random numbers and performing pulse width modulation to obtain a pulse control signal, wherein the pulse control signal is used to adjust the output of the power control circuit to adjust the power output to the load output; and controlling a sampler to collect the pulse control signal and the load output as identification input-output data pairs.

[0141] Optionally, the model generation module is specifically used to: calculate and generate the system state estimate for the next time step based on the state transition matrix, the input matrix, the system state estimate for the current time step, and the pulse control signal; wherein the first time step is the initial state estimate; and calculate and generate the desired output based on the output matrix, the direct transfer matrix, the system state estimate for the current time step, and the pulse control signal.

[0142] The power management chip control device provided in this embodiment of the invention obtains the actual output from the power supply to the load in real time by inputting a pulse control signal into the power control circuit. The pulse control signal is used to adjust the output from the power supply to the load. The pulse control signal is input into a preset state space controller model to determine the desired output. Based on the difference between the desired output and the actual output, an updated pulse control signal is generated and output to the power control circuit, thereby realizing a control method based on the state space controller model. Depending on the controlled object, the control parameters of the state equation can be automatically calculated without manual adjustment, reducing labor costs.

[0143] Figure 9 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 9 As shown, the electronic device may include a processor 910, a communications interface 920, a memory 930, and a communication bus 940, wherein the processor 910, communications interface 920, and memory 930 communicate with each other via the communication bus 940. The processor 910 can call logic instructions in the memory 930 to execute a power management chip control method. This method includes: inputting a pulse control signal to a power control circuit to obtain the actual output from the power supply to the load in real time; the pulse control signal is used to adjust the output from the power supply to the load; inputting the pulse control signal to a preset state space controller model to determine the desired output; generating an updated pulse control signal based on the difference between the desired output and the actual output and outputting it to the power control circuit; wherein the state space controller model is used to calculate the desired output based on model parameters and the input pulse control signal.

[0144] Furthermore, the logical instructions in the aforementioned memory 930 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a 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 the present invention. 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.

[0145] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the power management chip control method provided by the above methods. The method includes: inputting a pulse control signal into a power control circuit to obtain the actual output from the power supply to the load in real time; the pulse control signal is used to adjust the output from the power supply to the load; inputting the pulse control signal into a preset state space controller model to determine the desired output; generating an updated pulse control signal and outputting it to the power control circuit based on the difference between the desired output and the actual output; wherein the state space controller model is used to calculate the desired output based on model parameters and the input pulse control signal.

[0146] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the power management chip control method provided by the above methods. The method includes: inputting a pulse control signal into a power control circuit to acquire the actual output from the power supply to the load in real time; the pulse control signal being used to adjust the output from the power supply to the load; inputting the pulse control signal into a preset state space controller model to determine the desired output; and generating an updated pulse control signal based on the difference between the desired output and the actual output, and outputting it to the power control circuit; wherein the state space controller model is used to calculate the desired output based on model parameters and the input pulse control signal.

[0147] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0148] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0149] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention 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; and these 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 the present invention.

Claims

1. A power management chip control method, characterized in that, A controller for the power management chip, the method comprising: A pulse control signal is input to the power control circuit to obtain the actual output from the power source to the load in real time; the pulse control signal is used to adjust the output from the power source to the load. The pulse control signal is input into a preset state space controller model to determine the desired output; Based on the difference between the expected output and the actual output, an updated pulse control signal is generated and output to the power control circuit. The state space controller model is used to calculate the desired output based on the model parameters and the input pulse control signal. The generation process of the state-space controller model includes: During the system identification phase, input-output data pairs for identification are acquired, wherein the input-output data pairs include input data and output data, the input data is a pulse control signal obtained by pulse width modulation based on the input true random number, and the output data is the output to the load via the power supply; Based on the identified input-output data pair, model parameters and initial state estimates are obtained; the initial state estimates are used to provide a starting point for the state-space controller model. Based on the model parameters and the initial state estimate, the system state estimate of the current time step, the system state estimate of the next time step, the pulse control signal, and the desired output are used as variables to generate the state space controller model.

2. The power management chip control method according to claim 1, characterized in that, The pulse control signal is input into a preset state-space controller model to determine the desired output, specifically including: The pulse control signal is input to a preset state space controller model. The system state estimate for the current time step is calculated based on the pulse control signal, the system state estimate of the previous time step, and the model parameters. The desired output is generated by calculating based on the system state estimate at the current time step and the pulse control signal.

3. The power management chip control method according to claim 1, characterized in that, During the system identification phase, input-output data pairs for identification are acquired, specifically including: During the system identification phase, the true random number generator is controlled to generate multiple true random numbers; The plurality of true random numbers are received and pulse width modulated to obtain a pulse control signal, wherein the pulse control signal is used to adjust the output of the power control circuit to adjust the power output to the load; The control sampler collects the pulse control signal and the load output as identification input-output data pairs.

4. The power management chip control method according to claim 1, characterized in that, The model parameters include: state transition matrix, input matrix, output matrix, and direct transfer matrix; Based on the model parameters and the initial state estimate, the system state estimate of the current time step, the system state estimate of the next time step, the impulse control signal, and the desired output are used as variables to generate the state-space controller model, specifically including: The system state estimate for the next time step is generated by calculating based on the state transition matrix, input matrix, system state estimate for the current time step, and pulse control signal; wherein, the first time step is the initial state estimate; The desired output is generated by calculating based on the output matrix, the direct transfer matrix, the system state estimate at the current time step, and the pulse control signal.

5. The power management chip control method according to claim 3, characterized in that, The state-space controller model includes: ; Where A represents the state transition matrix, B represents the input matrix, C represents the output matrix, and D represents the direct transfer matrix; Indicates a pulse control signal. This represents the system state estimate at the current time step. This represents the system state estimate for the next time step. This indicates the expected output.

6. The power management chip control method according to claim 2, characterized in that, The pulse control signal is input to a preset state space controller model. Based on the pulse control signal, the system state estimate of the previous time step, and the model parameters, the system state estimate of the current time step is calculated using the following formula: ; in, Let A represent the system state estimate at the previous time step, and let B represent the state transition matrix and B represent the input matrix. This refers to the pulse control signal. This represents the system state estimate at the current time step; The desired output is generated based on the system state estimate at the current time step and the pulse control signal, calculated using the following formula: ; in, Indicates the expected output, C represents the system state estimate at the current time step; C represents the output matrix, and D represents the direct transfer matrix. This refers to the pulse control signal.

7. A power management chip control device, characterized in that, A controller for the power management chip, the device comprising: The actual output acquisition module is used to input the pulse control signal to the power control circuit to acquire the actual output from the power supply to the load in real time; the pulse control signal is used to adjust the output from the power supply to the load. The desired output determination module is used to input the pulse control signal into a preset state space controller model to determine the desired output; The update control module is used to generate an updated pulse control signal and output it to the power control circuit based on the difference between the desired output and the actual output. The state-space controller model is used to calculate the desired output based on parameters and the input pulse control signal. The generation process of the state-space controller model includes: During the system identification phase, input-output data pairs for identification are acquired, wherein the input-output data pairs include input data and output data, the input data is a pulse control signal obtained by pulse width modulation based on the input true random number, and the output data is the output to the load via the power supply; Based on the identified input-output data pair, model parameters and initial state estimates are obtained; the initial state estimates are used to provide a starting point for the state-space controller model. Based on the model parameters and the initial state estimate, the system state estimate of the current time step, the system state estimate of the next time step, the pulse control signal, and the desired output are used as variables to generate the state space controller model.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the power management chip control method as described in any one of claims 1 to 6.

9. A non-transitory 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 power management chip control method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Synchronous motor excitation method based on FPGA

    CN110572099A

  • Model predictive control system for magnetic compression plasma coil power supply

    CN114884361A