A constant power electronic load control device and method based on sliding mode
By using a feedback method based on sliding mode control, the problems of long transition time and poor resistance to external disturbances in constant power loads are solved, achieving faster power regulation and stronger disturbance resistance.
Patent Information
- Application Number
- CN202611177589.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-05
- Publication Date
- 2026-11-17
AI Technical Summary
Existing constant power loads have long transition times and poor resistance to external disturbances.
A feedback control method based on sliding mode control is adopted. By combining a processor module, a PWM drive module, a switching module and a voltage and current detection module, the control quantity is calculated using the sliding variable to control the on and off of the power resistor, thereby achieving power regulation.
It reduces the transient process of constant power loads and enhances their resistance to external disturbances.
Smart Images

Figure CN123122332A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of electronic loads, specifically relating to a constant power electronic load control device and method based on sliding mode. Background Technology
[0002] Constant power loads, as a type of electronic load, have wide applications in engineering. To maintain a constant power output under varying voltage conditions, an internal feedback control mechanism is essential. Due to the presence of feedback control, constant power loads inevitably experience a transient process during power regulation. The duration of this transient process directly affects the performance of the constant power load. Furthermore, changes in the external load voltage and external disturbances also influence the power regulation performance of the constant power load. Summary of the Invention
[0003] (a) Technical problems to be solved The technical problem to be solved by the present invention is to provide a constant power electronic load control device and method based on sliding mode control. By improving the feedback control method, the transient process of the constant power load is reduced and its ability to resist external disturbances is enhanced, which solves the problems of long transient process time and poor resistance to external disturbances of existing constant power loads.
[0004] (II) Technical Solution To solve the above technical problems, the present invention provides a constant power electronic load control device based on sliding mode, comprising: a processor module, a PWM drive module, a switch module, a power supply module, a power resistor module, and a voltage and current detection module; The processor module includes: a data acquisition unit and a control unit; The acquisition unit is used to acquire the load voltage and current signals detected by the voltage and current detection module and transmit the voltage and current signals to the control unit; The control unit is used to implement the control algorithm, and calculates the control quantity based on the voltage and current signals, and transmits the control quantity to the PWM drive module. The PWM drive module is used to convert the control quantity into a square wave voltage signal with different duty cycles, and apply the voltage signal to both ends of the switching module; The switching module turns on when the square wave signal is high and turns off when the square wave signal is low, based on the high or low level of the square wave signal. The voltage and current detection module is divided into a voltage detection module and a current detection module, which are used to detect the current flowing through the power resistor module and the voltage across the power resistor module, respectively, and transmit the current and voltage information to the acquisition unit in the processor module. By controlling the duty cycle of the square wave, the operating time of the power resistor module within one cycle of the square wave is controlled, thereby adjusting the power of the power resistor module.
[0005] When the switch module is turned on, the power supply module and the power resistor module form a circuit, and at this time the power resistor starts to work with current flowing through it. When the switch is turned off, the circuit between the power supply module and the power resistor module is broken, and the power resistor module is in a non-working state.
[0006] A constant power electronic load control method based on sliding mode, wherein the control method is implemented based on a control device, specifically including the following steps: S1: Set the desired operating power of the constant power load in the electronic load system. ; S2: The acquisition unit obtains the voltage signal of the load. ; S3: Based on the desired operating power and load voltage signal Calculate the desired power at the current voltage. Required desired current ; S4: The acquisition unit obtains the actual current signal of the load. ; S5: Calculate the error between the desired current signal and the actual current signal. ; S6: Using the error e and its derivative As input, calculate the sliding variable. , S7: Using sliding variables As input, calculate the output control quantity of the control unit. .
[0007] In step S5, the error between the current signal and the actual current signal is calculated according to the following formula. ; .
[0008] In step S6, the sliding variable is calculated according to the following formula. in, It is a positive coefficient.
[0009] In step S7, the controller output is calculated according to the following formula. ; in, It is a positive coefficient. The expression is: .
[0010] (III) Beneficial Effects Compared with the prior art, the present invention has the following beneficial effects: by improving the feedback control method, the transient process of constant power load is reduced and its ability to resist external disturbances is enhanced. Attached Figure Description
[0011] Figure 1 This is a flowchart of the constant power electronic load control method based on sliding mode according to the present invention; Figure 2 This is a control block diagram of the constant power electronic load control method based on sliding mode of the present invention; Figure 3 This is a schematic diagram of the constant power electronic load device based on sliding mode according to the present invention; Figure 4 This is a flowchart illustrating the design of the constant power electronic load device based on sliding mode according to the present invention. Detailed Implementation
[0012] To make the objectives, contents, and advantages of the present invention clearer, the specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings and examples.
[0013] Example 1 This embodiment provides a constant power electronic load control device based on sliding mode, including: a processor module, a PWM drive module, a switch module, a power supply module, a power resistor module, and a voltage and current detection module; The processor module includes: a data acquisition unit and a control unit; The acquisition unit is used to acquire the load voltage and current signals detected by the voltage and current detection module and transmit the voltage and current signals to the control unit; The control unit is used to implement the control algorithm, and calculates the control quantity based on the voltage and current signals, and transmits the control quantity to the PWM drive module. The PWM drive module is used to convert the control quantity into a square wave voltage signal with different duty cycles, and apply the voltage signal to both ends of the switching module; The switching module turns on when the square wave signal is high and turns off when the square wave signal is low, based on the high or low level of the square wave signal. The voltage and current detection module is divided into a voltage detection module and a current detection module, which are used to detect the current flowing through the power resistor module and the voltage across the power resistor module, respectively, and transmit the current and voltage information to the acquisition unit in the processor module. By controlling the duty cycle of the square wave, the operating time of the power resistor module within one cycle of the square wave is controlled, thereby adjusting the power of the power resistor module.
[0014] When the switch module is turned on, the power supply module and the power resistor module form a circuit, and at this time the power resistor starts to work with current flowing through it. When the switch is turned off, the circuit between the power supply module and the power resistor module is broken, and the power resistor module is in a non-working state.
[0015] A constant power electronic load control method based on sliding mode, wherein the control method is implemented based on a control device, specifically including the following steps: S1: Set the desired operating power of the constant power load in the electronic load system. ; S2: The acquisition unit obtains the voltage signal of the load. ; S3: Based on the desired operating power and load voltage signal Calculate the desired power at the current voltage. Required desired current ; S4: The acquisition unit obtains the actual current signal of the load. ; S5: Calculate the error between the desired current signal and the actual current signal. ; S6: Using the error e and its derivative As input, calculate the sliding variable. , S7: Using sliding variables As input, calculate the output control quantity of the control unit. .
[0016] In step S5, the error between the current signal and the actual current signal is calculated according to the following formula. ; .
[0017] In step S6, the sliding variable is calculated according to the following formula. in, It is a positive coefficient.
[0018] In step S7, the controller output is calculated according to the following formula. ; in, It is a positive coefficient. The expression is: .
[0019] Example 2 This embodiment provides a constant power electronic load device based on sliding mode control. Its technical solution includes two parts: a control circuit and a power supply circuit. The power supply circuit is connected to an external DC power supply. The control circuit consists of a processor module, a PWM drive module, a power resistor module, and a voltage and current detection module. The processor includes a data acquisition unit and a control unit. The data acquisition unit is responsible for acquiring and processing the voltage and current signals detected by the detection module. The control unit is a sliding mode controller designed based on sliding mode control theory, and its output is calculated by the controller based on the signals acquired by the data acquisition unit. The PWM drive module outputs square wave signals with different duty cycles according to the control signal output by the control unit. A high level square wave turns on the switching module, and a low level square wave turns off the switching module. Different duty cycles of the PWM signals result in different on / off times for the switching module, thus different equivalent currents flowing through the power resistor, achieving the constant power function of the entire electronic load system. Furthermore, the electronic load device of this invention can adjust its power during operation as needed.
[0020] The control method proposed in this invention is implemented as follows: Figure 2 As shown. After obtaining the set load operating power and current load voltage, the desired current is obtained from the load voltage and the set load operating power. Then, the difference between the desired current and the actual current is used to obtain the current error, which is transmitted to the controller. The controller calculates the control quantity and transmits it to the PWM drive module, which converts the control quantity into a square wave signal to control the switching module's on / off state, thereby controlling the power resistor's conduction and off state. This further achieves the purpose of power control. Specifically, this includes: S1: Determine the adjustment range of the constant power load power according to design requirements; S2: Determine the resistance value of the power resistor module based on the voltage range and power adjustment range described in step S1. Let the maximum and minimum voltage values be denoted as follows: and The maximum and minimum power values are respectively: and Then the resistance value of the power resistor The selection range is: The range of values for the power resistor is determined based on this range. S3: Determine the operating current range based on the operating voltage and the resistance value of the power resistor, and denote the operating current as... Then its range is ; S4: Determine the switching frequency based on the operating voltage and current range; S5: Determine the switching frequency of the PWM module based on the switching frequency of the switch; S6: Design a sliding mode controller; S7: Design the acquisition unit in the processor according to the characteristics of the selected voltage sensor; S8: Select a suitable processor based on the complexity of the sliding mode controller designed in S6 and the complexity of the acquisition unit designed in S7.
[0021] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A constant power electronic load control device based on sliding mode, characterized in that, include: Processor module, PWM driver module, switch module, power supply module, power resistor module, voltage and current detection module; The processor module includes: a data acquisition unit and a control unit; The acquisition unit is used to acquire the load voltage and current signals detected by the voltage and current detection module and transmit the voltage and current signals to the control unit; The control unit is used to implement the control algorithm, and calculates the control quantity based on the voltage and current signals, and transmits the control quantity to the PWM drive module. The PWM drive module is used to convert the control quantity into a square wave voltage signal with different duty cycles, and apply the voltage signal to both ends of the switching module; The switching module turns on when the square wave signal is high and turns off when the square wave signal is low, based on the high or low level of the square wave signal. The voltage and current detection module is divided into a voltage detection module and a current detection module, which are used to detect the current flowing through the power resistor module and the voltage across the power resistor module, respectively, and transmit the current and voltage information to the acquisition unit in the processor module. By controlling the duty cycle of the square wave, the operating time of the power resistor module within one cycle of the square wave is controlled, thereby adjusting the power of the power resistor module.
2. The constant power electronic load control device based on sliding mode as described in claim 1, characterized in that, When the switch module is turned on, the power supply module and the power resistor module form a circuit, and at this time the power resistor starts to work with current flowing through it. When the switch is turned off, the circuit between the power supply module and the power resistor module is broken, and the power resistor module is in a non-working state.
3. A constant power electronic load control method based on sliding mode, characterized in that, The control method is implemented based on the control device of claim 2, and specifically includes the following steps: S1: Set the desired operating power of the constant power load in the electronic load system. ; S2: The acquisition unit obtains the voltage signal of the load. ; S3: Based on the desired operating power and load voltage signal Calculate the desired power at the current voltage. Required desired current ; S4: The acquisition unit obtains the actual current signal of the load. ; S5: Calculate the error between the desired current signal and the actual current signal. ; S6: Using the error e and its derivative As input, calculate the sliding variable. , S7: Using sliding variables As input, calculate the output control quantity of the control unit. .
4. The constant power electronic load control method based on sliding mode as described in claim 3, characterized in that, In step S5, the error between the current signal and the actual current signal is calculated according to the following formula. ; 。 5. The constant power electronic load control method based on sliding mode as described in claim 4, characterized in that, In step S6, the sliding variable is calculated according to the following formula. in, It is a positive coefficient.
6. The constant power electronic load control method based on sliding mode as described in claim 5, characterized in that, In step S7, the controller output is calculated according to the following formula. ; in, It is a positive coefficient. The expression is: 。
