Power control method and system, electronic equipment and computer readable storage medium
By using the second PID regulator to form a success rate control ring in the MOCVD device, the electrical parameter control information is directly determined based on the feedback power output from the load resistor, which solves the problem of power control accuracy and stability of the heating system and achieves higher control accuracy and stability.
Patent Information
- Application Number
- CN202510516629.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-23
- Publication Date
- 2025-07-25
AI Technical Summary
In the prior art, the power control accuracy and stability of the heating system of metal-organic chemical vapor deposition (MOCVD) equipment is affected by the current-power nonlinear relationship and is susceptible to factors such as circuit impedance fluctuations, component aging and ambient temperature drift, resulting in a large deviation from the output power from the set value.
The second PID regulator is used to directly determine the electrical parameter control information based on the feedback power output from the load resistor, and replace current control through power control, forming a success rate control loop, reducing nonlinear links, and improving control accuracy and stability.
By replacing current control with power control, the impact of temperature changes on the system is reduced, the accuracy and stability of power control are improved, and the dynamic performance and stability of the temperature control system are enhanced.
Smart Images

Figure CN120371073A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automation technology, and in particular, to a power control method, system, electronic device, and computer-readable storage medium. Background Art
[0002] In a metal organic chemical vapor deposition (MOCVD) device, the power control of the heating system is a core link that determines the film deposition quality and process stability. Currently, the industry generally adopts a regulation method based on current-power conversion, that is, indirectly controls the heating power by adjusting the input current. However, the non-linear relationship between current and power is easily affected by factors such as circuit impedance fluctuations, component aging, and ambient temperature drift, resulting in a large deviation between the actual output power and the set value, affecting the accuracy and stability of power control. Summary of the Invention
[0003] In view of this, the purpose of the embodiments of the present application is to provide a power control method, system, electronic device, and computer-readable storage medium, which can improve the accuracy and stability of power control.
[0004] In a first aspect, an embodiment of the present application provides a power control method, which is applied to a controller. The controller includes a first PID regulator and a second PID regulator. The method includes: feeding back the feedback power output by the load resistor to the second PID regulator, and feeding back the feedback electrical parameter output by the load resistor to a target power supply; determining a power difference according to the feedback power obtained by the second PID regulator and the power set value output by the first PID regulator; adjusting the electrical parameter control information according to the power difference, and transmitting the electrical parameter control information to the target power supply; where the electrical parameter control information is configured to adjust the power output electrical parameter of the target power supply; after adjusting the power output electrical parameter of the target power supply, continue to feed back the feedback power output by the load resistor to the second PID regulator, and feed back the feedback electrical parameter output by the load resistor to the target power supply until the feedback electrical parameter reaches the set electrical parameter.
[0005] In the above implementation process, by setting the second PID regulator, when performing power regulation, directly determine the electrical parameter control information according to the feedback power output by the load resistor, and then realize the regulation of the feedback power. That is, by power control instead of current control, there is no non-linear link in the entire control system, which can greatly reduce the influence of temperature changes on the control system, improve the accuracy and stability of power control, and further improve the dynamic performance and stability of the temperature control system.
[0006] In one embodiment, the controller is a PLC controller; wherein, a power control loop is formed by the second PID regulator, the target power supply, and the load resistor; the equivalent gain of the power control loop is 1.
[0007] In the above implementation process, since the controller is a PLC controller with a millisecond-level scanning cycle, by setting the controller as a PLC controller, and a power control loop is formed by the second PID regulator, the target power supply, and the load resistor. The fast response and precise control of the power control loop can be achieved through this PLC controller, and then the approximate equivalent gain of the power control loop is 1, so that the output electric power can be approximately equivalent to the thermal power, improving the efficiency of power control and at the same time improving the accuracy of power control.
[0008] In one embodiment, the target power supply is a current power supply; the method further includes: controlling the voltage set value of the target power supply to be equal to the rated voltage of the target power supply; controlling the current set value of the target power supply to be equal to the electrical parameter control information output by the second PID regulator, and controlling the current set value of the target power supply to be less than or equal to the rated current of the target power supply.
[0009] In the above implementation process, by controlling the voltage set value of the target power supply to be equal to the rated voltage of the target power supply; controlling the current set value of the target power supply to be equal to the electrical parameter control information output by the second PID regulator, and controlling the current set value of the target power supply to be less than or equal to the rated current of the target power supply, the power control system is made to be in the current mode to increase the range of the target power supply, and thus increase the application scenarios of this power control method.
[0010] In one embodiment, wherein, the calculation formulas for the voltage set value and the current set value are: wherein, I Sp is the current set value, ΔP is the power difference, PID P is the second PID regulator, U N is the rated voltage, ΔP is the power difference, K p is the proportionality coefficient, T i is the integral parameter, T d is the differential parameter.
[0011] In the above implementation process, by controlling the voltage set value of the target power supply to be equal to the rated voltage of the target power supply; controlling the current set value of the target power supply to be equal to the electrical parameter control information output by the second PID regulator, the power control system is made to be in the current mode to increase the range of the target power supply, and thus increase the application scenarios of this power control method.
[0012] In one embodiment, the feedback electrical parameters include: feedback voltage and feedback current; the set electrical parameter includes a set current; wherein, feeding back to the target power supply the feedback electrical parameters output by the load resistor includes: feeding back to the target power supply the feedback voltage and feedback current output by the load resistor; wherein, until the feedback electrical parameters reach the set electrical parameters, includes: until the feedback current reaches the set current.
[0013] In the above implementation process, since the load resistor generates both current value and voltage value during actual operation, by setting to simultaneously feed back to the target power supply the feedback voltage and feedback current output by the load resistor, there is no need to screen the feedback electrical parameters, reducing the feedback difficulty, improving the feedback efficiency, and at the same time increasing the application scenarios. In addition, when performing the iterative condition judgment, by judging based on the relationship between the feedback current and the set current, in the current mode, this iterative condition judgment is more accurate, improving the accuracy and stability of power control.
[0014] In one embodiment, when the feedback electrical parameters reach the set electrical parameters, the feedback power is converted into a feedback temperature through a transfer function; the feedback temperature is fed back to the first PID regulator; according to the feedback temperature obtained by the first PID regulator and the temperature set value input externally, a temperature difference value is determined; according to the temperature difference value, the power set value is adjusted; after adjusting the power set value, continue to transmit the power set value to the second PID regulator, and feed back the feedback temperature to the first PID regulator until the temperature difference value reaches a preset temperature difference range.
[0015] In the above implementation process, after converting the output power of the load resistor into a feedback temperature, the feedback temperature is fed back to the first PID regulator, and then the power set value transmitted to the second PID regulator is adjusted by the first PID regulator, thereby realizing the feedback regulation of temperature and power, so as to realize temperature regulation through power control, improving the stability and accuracy of temperature regulation.
[0016] In one embodiment, when the temperature difference value reaches the preset temperature difference range, the feedback temperature is transmitted to the outside of the controller.
[0017] In the above implementation process, by setting to output the feedback temperature of the load resistor only when the temperature difference value reaches the preset temperature difference range, it can be ensured that the temperature output by the load resistor after being adjusted by the controller is always within the preset temperature difference range, thereby improving the accuracy and stability of the temperature regulation of the load resistor.
[0018] Second aspect, an embodiment of the present application further provides a power control system, including: a target power supply, a load resistor, and a controller; wherein, the controller includes: a first PID regulator and a second PID regulator; the target power supply is connected to the load resistor; one end of the target power supply far from the load resistor and one end of the load resistor far from the target power supply are both connected to the controller; the controller is configured to execute the power control method in the first aspect above, or any possible implementation manner of the first aspect; wherein, the input of the first PID regulator is connected to an external input, the output of the first PID regulator is connected to the input of the second PID regulator, the output of the second PID regulator is connected to the target power supply, and one end of the load resistor far from the target power supply is connected to an external output after passing through a transfer function in the controller.
[0019] Third aspect, an embodiment of the present application further provides an electronic device, including: a processor and a memory, the memory stores machine-readable instructions executable by the processor, and when the electronic device runs, when the machine-readable instructions are executed by the processor, the steps of the method in the first aspect above, or any possible implementation manner of the first aspect are executed.
[0020] Fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, the steps of the power control method in the first aspect above, or any possible implementation manner of the first aspect are executed.
[0021] To make the above objects, features, and advantages of the present application more obvious and understandable, specific embodiments are hereinafter given, and in conjunction with the accompanying drawings, the detailed description is as follows. Description of the Drawings
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.
[0023] Figure 1 It is a schematic diagram of the interaction of the power control system provided by the embodiment of the present application;
[0024] Figure 2 It is a schematic diagram of the interaction of an existing temperature control system;
[0025] Figure 3 It is an equivalent schematic diagram of an existing temperature control system;
[0026] Figure 4 Schematic diagram of a nonlinear module in the equivalent of an existing temperature control system;
[0027] Figure 5 Flowchart of the power control method provided by the embodiments of the present application;
[0028] Figure 6 Schematic diagram of the relationship between the control power value and the load resistance provided by the embodiments of the present application;
[0029] Figure 7 Schematic diagram of the functional modules of the power control device provided by the embodiments of the present application. Detailed implementation manners
[0030] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
[0031] It should be noted that similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of the present application, the terms "first", "second", etc. are only used for descriptive distinction and cannot be understood as indicating or implying relative importance.
[0032] In a metal organic chemical vapor deposition device, the uniformity and stability of the temperature field inside the reaction chamber are one of the important factors determining the growth quality and uniformity of the epitaxial layer. From the perspective of temperature control, the entire reaction process of epitaxial growth can be described as a process of heating from the standby temperature to the process temperature and then cooling from the process temperature to the standby temperature. Since the resistance value of the heater always changes significantly with the rise and fall of the temperature during the entire temperature control process, the actual voltage-current ratio on the heater continues to fluctuate. To ensure the stability of the electrical energy output by the DC heating power supply to the heater, the current mode of the DC power supply is generally used to drive the heater.
[0033] However, according to Joule's law, the change in the heater resistance will cause great uncertainty and time-variation in the link of converting current to thermal power. For the entire temperature closed-loop control system, this uncertainty in the current-thermal power conversion link affects the dynamic performance and stability of the closed-loop temperature control system to a certain extent.
[0034] In view of this, the present application proposes a power control method. When performing power adjustment, by setting a second PID regulator, the electrical parameter control information is directly determined according to the feedback power output by the load resistance, thereby realizing the adjustment of the feedback power. That is, by replacing current control with power control, there is no longer a nonlinear link in the entire control system, which can greatly reduce the influence of temperature changes on the control system, improve the accuracy and stability of power control, and further improve the dynamic performance and stability of the temperature control system.
[0035] For ease of understanding this embodiment, first, a power control system disclosed in the embodiments of the present application will be introduced in detail.
[0036] As Figure 1 shown, it is a schematic diagram of the interaction of the power control system provided by the embodiments of the present application. The power control system includes: a target power supply, a load resistor, and a controller. Among them, the controller includes a first PID regulator and a second PID regulator.
[0037] Here, the target power supply is connected to the load resistor, and one end of the target power supply far from the load resistor and one end of the load resistor far from the target power supply are both connected to the controller.
[0038] In one embodiment, the input of the first PID regulator is connected to an external input, the output of the first PID regulator is connected to the input of the second PID regulator, the output of the second PID regulator is connected to the target power supply, and one end of the load resistor far from the target power supply is connected to an external output through a transfer function in the controller.
[0039] The above-mentioned first PID regulator and second PID regulator are a feedback control algorithm widely used in industrial control and automation systems. It can adjust the control quantity in real time to make the output of the system as close as possible to the desired target value.
[0040] Optionally, the power control system can be used in an MOCVD (Metal-Organic Chemical Vapor Deposition) device to adjust the uniformity of the internal temperature of the reaction chamber of the device.
[0041] Here, the target power supply can be a current power supply or a voltage power supply, and the target power supply can be selected according to the actual situation.
[0042] It should be understood that when the power control system processes the current mode, the voltage set value of the target power supply can be set to always be equal to the rated voltage value of the target power supply, and the current set value of the target power supply is equal to the current set signal output by the controller and less than or equal to the rated current of the target power supply. Therefore, the ratio of the voltage set value to the current set value is always greater than or equal to the ratio of the rated voltage value to the rated current value. Since when selecting the target power supply, to ensure sufficient power margin and the maximum output power ratio of the load (the ratio of the maximum output power of the load to the rated power), the ratio of the rated voltage value to the rated current value of the target power supply will always be greater than the load resistor. So, when the voltage set value of the target power supply is always equal to the rated voltage value of the target power supply, the ratio of the voltage set value to the current set value is also always greater than the load resistor. In this way, the actual voltage can never reach the voltage set value, and the power supply always outputs to the load with the current set value, which is the current mode.
[0043] The above-mentioned target power supply, load resistor, and controller form a temperature control loop.
[0044] As Figure 2 shown, it is a schematic diagram of the interaction of an existing temperature control system, which includes: a target power supply, a load resistor, and a controller. Among them, the controller includes a first PID regulator.
[0045] The input of the first PID regulator is connected to an external input, the output of the first PID regulator is connected to the target power supply, and one end of the load resistor far from the target power supply is connected to the transfer function in the controller and then connected to the external output.
[0046] It should be understood that in the existing temperature control system, the controller calculates the current control signal I Sp based on the set temperature value T f and the temperature feedback value T Sp and outputs it to the target power supply. Among them, the load resistor is affected by temperature and can be regarded as a time-varying gain link.
[0047] In the current mode, the target power supply actually does not form a closed-loop control of the voltage of the load resistor. Therefore, it can be Figure 2 equivalent to Figure 3 . Among them, the target power supply can be regarded as an independent current control link. That is, the current control signal I Sp output by the first PID regulator is converted into an actual current output I. According to Joule's law, the current passes through a quadratic nonlinear link and is converted into heat power, that is, Q = I 2 R(T), and finally acts on the heat power-temperature transfer function object G(s).
[0048] Generally, the target power supply can independently achieve the fast response and precise control of the current control loop. Therefore, in engineering practice, the current control link is approximately equivalent to a current gain module K I with a gain of 1, as Figure 4 shown. In the entire temperature control system, the parameter values of the current gain module K I and the nonlinear module I 2 R(T) are all affected by the temperature T. Especially because of the open-loop state and the existence of the quadratic term of the nonlinear module I 2 R(T), the performance fluctuation of this module will be more obvious, which in turn affects the overall performance of the temperature control system.
[0049] To address the problems existing in the current mode, the embodiments of the present application utilize the original current and voltage modes of the target power supply, as well as the current feedback signal I f and the voltage feedback signal U f, a dual-loop PID temperature control algorithm is proposed. In the embodiments of the present application, on the basis of not changing the original hardware configuration and without increasing the hardware cost, by adding a PID regulator algorithm in the controller, the original current control loop is improved into a new power control loop. In the power control loop, the second PID regulator is responsible for calculating the voltage control signal U Sp and the current control signal I Sp of the target power supply. The target power supply is responsible for controlling the voltage or current on the load resistor according to the given electrical parameter control information and the internal signal selection logic. Because both the voltage U and the current I on the load resistor are controlled variables, the non-linear link I 2 R(T) can be equivalently regarded as a multiplication link P = UI. Finally, the electric power P is converted into heat power Q and acts on the transfer function G(s), as Figure 1 shown.
[0050] After replacing the current control loop with the power control loop, there is no longer a non-linear link I 2 R(T) in the entire control system. Instead, the target power supply is directly controlled to input accurate heat power Q to the transfer function, which greatly reduces the influence of temperature changes on the control system and improves the control accuracy and stability.
[0051] The power control system in this embodiment can be used to execute each step in the various methods provided by the embodiments of the present application. The implementation process of the power control method will be described in detail through several embodiments below.
[0052] Please refer to Figure 5 , which is a flowchart of the power control method provided by the embodiments of the present application. The following will elaborate in detail on the Figure 5 specific process shown.
[0053] Step S201, feedback the feedback power output by the load resistor to the second PID regulator, and feedback the feedback electrical parameters output by the load resistor to the target power supply.
[0054] The feedback power here refers to the power output through the load resistor, and the feedback electrical parameters refer to the electrical parameters output through the load resistor. For example, feedback current, feedback voltage, etc.
[0055] The above-mentioned feedback power is used to determine whether the power output through the load resistor reaches the power control signal.
[0056] It should be understood that feedback can be set respectively between the load resistor and the second PID regulator, and between the load resistor and the target power supply. Through the corresponding feedback, the feedback power and feedback electrical parameters of the load resistor are respectively fed back to the second PID regulator and the target power supply.
[0057] Step S202: Determine the power difference based on the feedback power obtained by the second PID regulator and the power set value output by the first PID regulator.
[0058] The power difference here can be the difference between the feedback power and the power set value.
[0059] Understandably, based on the power difference, it can be determined whether the power output by the load resistor (i.e., the feedback power) reaches the power set value. When the feedback power reaches the power set value, it is determined that the output of the load resistor reaches the set output. At this time, the feedback of the power output by the load resistor to the second PID regulator can be stopped.
[0060] Step S203: Adjust the electrical parameter control information according to the power difference, and transmit the electrical parameter control information to the target power supply.
[0061] Among them, the electrical parameter control information is configured to adjust the power output electrical parameters of the target power supply.
[0062] It should be understood that when the power difference is not zero, it means that the power output by the load resistor (i.e., the feedback power) does not reach the power set value. At this time, it is necessary to adjust the power output electrical parameters of the target power supply, and further adjust the electrical parameters of the load resistor through the power output electrical parameters of the target power supply.
[0063] After the electrical parameters of the load resistor are adjusted, the power output by the load resistor is also adjusted accordingly, and then the difference between the feedback power and the power set value can be gradually reduced.
[0064] Step S204: After adjusting the power output electrical parameters of the target power supply, continue to feedback the feedback power output by the load resistor to the second PID regulator, and feedback the feedback electrical parameters output by the load resistor to the target power supply until the feedback electrical parameters reach the set electrical parameters.
[0065] Among them, the set electrical parameters include set current, set voltage, etc.
[0066] After adjusting the power output electrical parameters of the target power supply, the corresponding electrical parameters of the load resistor also change accordingly, and then the feedback power output by the load resistor also changes. When the power output by the load resistor also changes, the feedback power output by the load resistor can be continued to be feedback to the second PID regulator, and the feedback electrical parameters output by the load resistor can be feedback to the target power supply. At the same time, continue to determine the power difference based on the feedback power and the power set value, and adjust the electrical parameter control information according to the power difference... Repeat and iterate according to steps S201 - S203 until the feedback electrical parameters reach the set electrical parameters and the iteration stops.
[0067] It should be understood that the feedback electrical parameters of the load resistor may include feedback current and feedback voltage, and thus the feedback electrical parameters obtained by the target power supply may also include feedback current and feedback voltage. Among them, when the power control system is in the current mode, the set electrical parameter may be the set current, and the iteration stops when the feedback current reaches the set current. When the power control system is in the voltage mode, the set electrical parameter may be the set voltage, and the iteration stops when the feedback voltage reaches the set voltage.
[0068] In the above implementation process, by setting the second PID regulator, when performing power regulation, the electrical parameter control information is directly determined according to the feedback power output by the load resistor, thereby realizing the regulation of the feedback power. That is, by replacing current control with power control, there is no longer a non-linear link in the entire control system, which can greatly reduce the influence of temperature changes on the control system, improve the accuracy and stability of power control, and further improve the dynamic performance and stability of the temperature control system.
[0069] In a possible implementation manner, the controller is a PLC controller.
[0070] Among them, the second PID regulator, the target power supply, and the load resistor form a power control loop.
[0071] The equivalent gain of the power control loop here is 1.
[0072] The above-mentioned PLC controller is a digital computing electronic system designed specifically for industrial environments and is used to implement automation control functions. It stores instructions through programmable memories, performs operations such as logical operations, sequential control, timing, counting, and arithmetic operations, and interacts with industrial devices through digital or analog input / output modules, thereby controlling various machinery or production processes.
[0073] In one embodiment, the PLC controller has a millisecond-level scan cycle and the stability of the heating power supply itself. The PLC controller can achieve fast response and precise control of the power control loop. As a result, the power control loop is approximately equivalent to a current gain module with a gain of 1.
[0074] In addition, since the line interference resistances such as line cables and connectors are very small relative to the actual load (such as a heater), and as the actual load increases under high-temperature conditions, the voltage division effect of the line interference resistance becomes even weaker. Therefore, the electric power output in the power mode can be approximately equivalent to the thermal power, that is, P≈Q.
[0075] It can be understood that, as Figure 6 shown, the control power value P sp (area) and the load resistor R l determine the unique control target point (voltage control signal uSp and the current control signal I Sp ). By adjusting the output current of the target power supply, the second PID regulator makes the dynamic operating point (U, I) on the load resistor R l gradually approach the target point (the voltage control signal U Sp and the current control signal I Sp ), realizing a power control method based on stable current output.
[0076] In the above implementation process, since the controller is a PLC controller with a millisecond-level scanning cycle, by setting the controller as a PLC controller, and the power control loop formed by the second PID regulator, the target power supply and the load resistor. The fast response and precise control of the power control loop can be achieved through this PLC controller, so that the approximate equivalent gain of the power control loop is 1, so that the output electric power can be approximately equivalent to the thermal power, improving the efficiency of power control and at the same time improving the accuracy of power control.
[0077] In a possible implementation manner, the method further includes: controlling the voltage set value of the target power supply to be equal to the rated voltage of the target power supply; controlling the current set value of the target power supply to be equal to the electrical parameter control information output by the second PID regulator, and controlling the current set value of the target power supply to be less than or equal to the rated current of the target power supply.
[0078] It can be understood that, in an ideal situation, the power generated by voltage control and current control on the load resistor is the same. However, because the voltage range of common specification DC power supplies is relatively low (for example: 40V), while the current range is relatively high (for example: 250 - 750A), the resolution and accuracy of voltage control are relatively low. Moreover, considering that the line and contact resistance will affect the effective voltage on the actual load (such as, a heater), there will also be problems of low energy conversion efficiency and instability. Therefore, the target power supply can be made to work in the current mode.
[0079] When adjusting the power control system to process the current mode, the voltage set value of the target power supply can be set to always equal the rated voltage value of the target power supply, and the current set value of the target power supply is equal to the current set signal output by the controller and less than or equal to the rated current of the target power supply. Therefore, the ratio of the voltage set value to the current set value is always greater than or equal to the ratio of the rated voltage value to the rated current value. Since when selecting the target power supply to ensure sufficient power margin and the maximum output power ratio of the load (the ratio of the maximum output power of the load to the rated power), the ratio of the rated voltage value to the rated current value of the target power supply will always be greater than the load resistance. So, when the voltage set value of the target power supply always equals the rated voltage value of the target power supply, the ratio of the voltage set value to the current set value is also always greater than the load resistance. In this way, the actual voltage can never reach the voltage set value, and the power supply always outputs to the load at the current set value, which is the current mode.
[0080] In the above implementation process, by controlling the voltage set value of the target power supply to equal the rated voltage of the target power supply; controlling the current set value of the target power supply to equal the electrical parameter control information output by the second PID regulator, and controlling the current set value of the target power supply to be less than or equal to the rated current of the target power supply, the power control system is in the current mode to increase the range of the target power supply, thereby increasing the application scenarios of this power control method.
[0081] In a possible implementation manner, where the calculation formulas for the voltage set value and the current set value are:
[0082]
[0083] Where, I Sp is the current set value, ΔP is the power difference, PID P is the second PID regulator, U N is the rated voltage, ΔP is the power difference, K p is the proportionality coefficient, T i is the integral parameter, T d is the differential parameter, U Sp is the voltage set value.
[0084] Here, is the output of the second PID regulator. That is, PID P (ΔP).
[0085] In the above implementation process, by controlling the voltage set value of the target power supply to equal the rated voltage of the target power supply; controlling the current set value of the target power supply to equal the electrical parameter control information output by the second PID regulator, the power control system is in the current mode to increase the range of the target power supply, thereby increasing the application scenarios of this power control method.
[0086] In a possible implementation, the feedback electrical parameters output by the load resistor to the target power supply include: the feedback voltage and the feedback current output by the load resistor to the target power supply;
[0087] Among them, until the feedback electrical parameters reach the set electrical parameters, it includes: until the feedback current reaches the set current.
[0088] It should be understood that since the load resistor always generates current values and voltage values during operation. When feeding back to the target power supply, the feedback current and the feedback voltage output by the load resistor should be fed back simultaneously. Also, since this power control system operates in the current mode, when determining whether the power control method reaches the iteration condition, it can be determined through the relationship between the feedback current and the set current.
[0089] When the feedback voltage reaches the set current, it indicates that the iteration condition is reached, then the adjustment of the electrical parameter control information of the target power supply is stopped, and further, the adjustment of the feedback electrical parameters output by the load resistor is stopped.
[0090] In the above implementation process, since the load resistor generates current values and voltage values simultaneously during actual operation, by setting the feedback voltage and the feedback current output by the load resistor to be fed back to the target power supply simultaneously, there is no need to screen the feedback electrical parameters, reducing the feedback difficulty, improving the feedback efficiency, and at the same time, it can also increase the application scenarios. In addition, when judging the iteration condition, by judging based on the relationship between the feedback current and the set current, in the current mode, the iteration condition judgment is more accurate, improving the accuracy and stability of power control.
[0091] In a possible implementation, when the feedback electrical parameters reach the set electrical parameters, the feedback power is converted into feedback temperature through a transfer function; the feedback temperature is fed back to the first PID regulator; according to the feedback temperature obtained by the first PID regulator and the temperature set value input externally, the temperature difference value is determined; according to the temperature difference value, the power set value is adjusted; after adjusting the power set value, continue to transmit the power set value to the second PID regulator and feed back the temperature to the first PID regulator until the temperature difference value reaches the preset temperature difference range.
[0092] In an embodiment, the transfer function can be expressed as:
[0093] Among them, G(s) is the transfer function, T(s) is the feedback temperature, and Q(s) is the feedback power.
[0094] Optionally, when the temperature difference value exceeds the preset temperature difference range, the power set value is adjusted. When the temperature difference value reaches the preset temperature difference range, the adjustment of the power set value is stopped.
[0095] The preset temperature difference range here refers to the temperature difference range set in advance. Within this preset temperature difference range, it can be determined that the temperature regulation of the controller for the load resistor reaches relative stability.
[0096] In one embodiment, the calculation formulas for the voltage set value and the current set value are as follows:
[0097]
[0098] where I Sp is the current set value, PID T is the first PID regulator, PID P is the second PID regulator, T Sp is the temperature set value, T f is the feedback temperature, U f is the feedback voltage, I f is the feedback current, U N is the rated voltage, U Sp is the voltage set value.
[0099] In the above implementation process, after converting the output power of the load resistor into the feedback temperature, the feedback temperature is fed back to the first PID regulator. Then, the power set value transmitted to the second PID regulator is adjusted by the first PID regulator, thereby realizing the feedback regulation of temperature and power, so as to realize temperature regulation through power control and improve the stability and accuracy of temperature regulation.
[0100] In a possible implementation manner, when the temperature difference value reaches the preset temperature difference range, the feedback temperature is transmitted to the outside of the controller.
[0101] In the above implementation process, by setting to output the feedback temperature of the load resistor only when the temperature difference value reaches the preset temperature difference range, it can be ensured that the temperature output by the load resistor after being adjusted by the controller is always within the preset temperature difference range, thereby improving the accuracy and stability of the temperature regulation of the load resistor.
[0102] Based on the same application concept, a power control device corresponding to the power control method is also provided in the embodiments of the present application. Since the principle of solving problems by the device in the embodiments of the present application is similar to that of the foregoing power control method embodiments, the implementation of the device in this embodiment can refer to the description in the embodiments of the above method, and the repeated parts will not be elaborated.
[0103] Please refer to Figure 7 , which is a schematic diagram of the functional modules of the power control device provided in the embodiments of the present application. Each module in the power control device in this embodiment is used to execute each step in the above method embodiments. The power control device includes a feedback module 301, a determination module 302, an adjustment module 303, and an iteration module 304; where
[0104] The feedback module 301 is configured to feedback the feedback power output by the load resistor to the second PID regulator, and feedback the feedback electrical parameters output by the load resistor to the target power supply.
[0105] The determination module 302 is configured to determine a power difference according to the feedback power obtained by the second PID regulator and the power set value output by the first PID regulator.
[0106] The adjustment module 303 is configured to adjust the electrical parameter control information according to the power difference, and transmit the electrical parameter control information to the target power supply; wherein, the electrical parameter control information is configured to adjust the power output electrical parameters of the target power supply.
[0107] The iteration module 304 is configured to, after adjusting the power output electrical parameters of the target power supply, continue to feedback the feedback power output by the load resistor to the second PID regulator, and feedback the feedback electrical parameters to the target power supply until the feedback electrical parameters reach the set electrical parameters.
[0108] In a possible implementation manner, the power control device further includes a control module, configured to control the voltage set value of the target power supply to be equal to the rated voltage value of the target power supply; control the current set value of the target power supply to be equal to the electrical parameter control information output by the second PID regulator, and control the current set value of the target power supply to be less than or equal to the rated current value of the target power supply.
[0109] In a possible implementation manner, the feedback module 301 is specifically configured to: feedback the feedback voltage and feedback current output by the load resistor to the target power supply;
[0110] In a possible implementation manner, the iteration module 304 is specifically configured to: until the feedback current reaches the set current.
[0111] In a possible implementation manner, the power control device further includes a conversion module, configured to, when the feedback electrical parameters reach the set electrical parameters, convert the feedback power into a feedback temperature through a transfer function; feedback the feedback temperature to the first PID regulator; determine a temperature difference value according to the feedback temperature obtained by the first PID regulator and the temperature set value input externally; adjust the power set value according to the temperature difference value; after adjusting the power set value, continue to transmit the power set value to the second PID regulator, and feedback the feedback temperature to the first PID regulator until the temperature difference value reaches a preset temperature difference range.
[0112] In a possible implementation, the power control device further includes a transmission module, configured to transmit the thermal power to the outside of the power control device when the temperature difference value reaches a preset temperature difference range.
[0113] In addition, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, it executes the steps of the power control method described in the above method embodiment.
[0114] The computer program product of the power control method provided by the embodiment of the present application includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the steps of the power control method described in the above method embodiment. For details, refer to the above method embodiment and will not be elaborated herein.
[0115] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions, and operations of devices, methods, and computer program products according to multiple embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order from that marked in the accompanying drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0116] In addition, in each embodiment of the present application, the functional modules may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
[0117] When the above-mentioned functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art or a part of this 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 for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes. It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, the elements defined by the statement "including..." do not exclude the existence of additional identical elements in the process, method, article or device including the said elements.
[0118] The foregoing is only the preferred embodiment of this application and is not used to limit this application. For those skilled in the art, this application can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the protection scope of this application. It should be noted that similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.
[0119] The above is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by this application and should be covered by the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.
Claims
1. A power control method, characterized in that, Applied to a controller, which includes a first PID regulator and a second PID regulator, the method includes: Feeding back the feedback power output by the load resistor to the second PID regulator, and feeding back the feedback electrical parameters output by the load resistor to the target power supply; Determining a power difference according to the feedback power obtained by the second PID regulator and the power set value output by the first PID regulator; Adjusting the electrical parameter control information according to the power difference, and transmitting the electrical parameter control information to the target power supply; wherein, the electrical parameter control information is configured to adjust the power output electrical parameters of the target power supply; After adjusting the power output electrical parameters of the target power supply, continue to feed back the feedback power output by the load resistor to the second PID regulator, and feed back the feedback electrical parameters output by the load resistor to the target power supply until the feedback electrical parameters reach the set electrical parameters.
2. The method according to claim 1, wherein The controller is a PLC controller; Wherein, a power control loop is formed by the second PID regulator, the target power supply and the load resistor; The equivalent gain of the power control loop is 1.
3. The method according to claim 1, wherein The target power supply is a current power supply; the method further includes: Controlling the voltage set value of the target power supply to be equal to the rated voltage of the target power supply; Controlling the current set value of the target power supply to be equal to the electrical parameter control information output by the second PID regulator, and controlling the current set value of the target power supply to be less than or equal to the rated current of the target power supply.
4. The method according to claim 3, wherein, Wherein, The calculation formulas for the voltage set value and the current set value are: Among them, I Sp is the current set value, ΔP is the power difference, and PID P is the second PID regulator, U N is the rated voltage, ΔP is the power difference, K p is the proportionality coefficient, T i is the integral parameter, T d is the differential parameter.
5. The method according to claim 3, characterized in that, The feedback electrical parameters include: feedback voltage and feedback current; the set electrical parameters include set current; Wherein, feeding back the feedback electrical parameters output by the load resistor to the target power supply includes: Feeding back the feedback voltage and feedback current output by the load resistor to the target power supply; Wherein, until the feedback electrical parameters reach the set electrical parameters, includes: Until the feedback current reaches the set current.
6. The method according to any one of claims 1-5, wherein When the feedback electrical parameters reach the set electrical parameters, converting the feedback power into feedback temperature through a transfer function; Feeding back the feedback temperature to the first PID regulator; Determining a temperature difference value according to the feedback temperature obtained by the first PID regulator and the temperature set value input externally; Adjusting the power set value according to the temperature difference value; After adjusting the power set value, continue to transmit the power set value to the second PID regulator, and feed back the feedback temperature to the first PID regulator until the temperature difference value reaches a preset temperature difference range.
7. The method according to claim 6, wherein When the temperature difference value reaches the preset temperature difference range, transmitting the feedback temperature outside the controller.
8. A power control system, characterized in that, Includes: A target power supply, a load resistor and a controller; wherein, the controller includes: a first PID regulator and a second PID regulator; The target power supply is connected to the load resistor; One end of the target power supply far from the load resistor and one end of the load resistor far from the target power supply are both connected to the controller; the controller is configured to execute the power control method according to any one of claims 1-7. Wherein, the input of the first PID regulator is connected to an external input, the output of the first PID regulator is connected to the input of the second PID regulator, the output of the second PID regulator is connected to the target power supply, and one end of the load resistor far from the target power supply is connected to an external output after passing through a transfer function in the controller.
9. An electronic device, characterized in that, Comprising: A processor and a memory, the memory stores machine-readable instructions executable by the processor, and when the electronic device runs, the machine-readable instructions are executed by the processor to perform the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, it performs the steps of the method according to any one of claims 1 to 7.