Power control method and system based on improved PD controller
Through the improved PD controller, the problem of noise and interference signal suppression in the power device is solved, and the stability and response speed of the power device are improved.
Patent Information
- Application Number
- CN202510203612.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-24
- Publication Date
- 2025-05-13
AI Technical Summary
It is difficult for the existing PD controller to effectively suppress noise and interference signals in power devices, resulting in poor stability of power devices.
The improved PD controller is adopted to signal processing the power input signal, power feedback signal and disturbance signal through the preset signal processing model to obtain the comprehensive processed power processing signal, and the power processing signal is optimized through the preset optimization controller to filter out the disturbance noise and obtain the power optimization signal. Determine the target valve opening according to the power optimization signal and control the power device.
The response speed of the power device is improved, the steady-state error is eliminated, the stability of the power device is enhanced, and the impact of random noise on the performance of the power device is suppressed.
Smart Images

Figure CN119995321A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of control engineering technology, and in particular to a power control method and system based on an improved PD controller. Background Art
[0002] Existing power devices are usually based on PID control. However, the PID controller has three independent parameters, which increases the workload of on-site parameter adjustment personnel. The PD controller has the advantages of rapid response to system changes, reduction of system overshoot and oscillation, and fewer parameters, and is favored by the majority of engineers. However, due to the characteristics of its differential signal, it is difficult for the controller to effectively suppress noise and interference signals. In power devices, the random noise signals generated by the presence of a large number of power electronic devices have led to technical difficulties in the application of PD controllers in power devices. Summary of the invention
[0003] The present invention provides a power control method and system based on an improved PD controller, which solves the technical problem of how to improve the stability of an electric power device.
[0004] A first aspect of the present invention provides a power control method based on an improved PD controller, comprising:
[0005] In response to a power control request for a target power device, a power input signal, a power feedback signal and a disturbance signal of the target power device are acquired;
[0006] The power input signal, the power feedback signal and the disturbance signal are input into a preset signal processing model for signal processing to obtain a power processing signal;
[0007] The power processing signal is input into a preset optimization controller to perform signal optimization to obtain a power optimization signal;
[0008] The target valve opening is determined according to the power optimization signal, and the target valve opening signal is used to perform power control on the target electric power device.
[0009] Optionally, it also includes:
[0010] The power optimization signal is used as a new power feedback signal, and the process jumps to the step of using the power input signal, the power feedback signal and the disturbance signal to input a preset signal processing model for signal processing to obtain a power processing signal.
[0011] Optionally, the preset signal processing model includes a calculation module and a power valve conversion unit, and the power input signal, the power feedback signal and the disturbance signal are input into the preset signal processing model for signal processing to obtain a power processing signal, including:
[0012] The power input signal and the power feedback signal are input into the operation module to perform difference operation to obtain a power difference signal;
[0013] The power difference signal and the disturbance signal are input into the power valve conversion unit for signal processing to obtain a power processing signal.
[0014] Optionally, the step of inputting the power difference signal and the disturbance signal into the power valve conversion unit for signal processing to obtain a power processing signal includes:
[0015] Performing a difference operation on the power difference signal and a preset power setting signal to obtain a power error signal;
[0016] Performing a sum operation on the power error signal and the disturbance signal to obtain a comprehensive error signal;
[0017] Performing a proportional operation on the comprehensive error signal to obtain a power proportional signal;
[0018] Performing an integration operation on the comprehensive error signal to obtain a power integration signal;
[0019] The power proportion signal and the power integral signal are used to perform a sum operation to obtain a power processing signal.
[0020] Optionally, the preset optimization controller includes a controller feedback module, a combined differentiator, a proportional controller, an adder and a noise filter, and the power processing signal is input into the preset optimization controller for signal optimization to obtain a power optimization signal, including:
[0021] The power processing signal and the pre-acquired controller feedback signal are input into the controller feedback module to perform difference calculation to obtain a power change signal;
[0022] The power variation signal is input into the combined differentiator for operation to obtain a power differential signal;
[0023] The power change signal is input into the proportional controller for operation to obtain a proportional control signal;
[0024] The power differential signal and the proportional control signal are input into the adder to perform a sum operation to obtain a power sum signal;
[0025] The power sum value signal is input into the noise filter for filtering to obtain a power optimization signal.
[0026] Optionally, it also includes:
[0027] The power filter signal is used as a new controller feedback signal, and the process jumps to the step of using the power processing signal and the pre-acquired controller feedback signal to input into the controller feedback module for difference calculation to obtain a power change signal.
[0028] Optionally, the step of determining the target valve opening according to the power optimization signal specifically includes:
[0029] The power optimization signal is used to retrieve a preset power and valve opening mapping table, and a corresponding valve opening signal is matched as a target valve opening signal.
[0030] A second aspect of the present invention provides a power control system based on an improved PD controller, comprising:
[0031] A response module, used to respond to a power control request for a target power device and obtain a power input signal, a power feedback signal and a disturbance signal of the target power device;
[0032] A signal processing module, used for inputting the power input signal, the power feedback signal and the disturbance signal into a preset signal processing model for signal processing to obtain a power processing signal;
[0033] A signal optimization module, used to use the power processing signal to input a preset optimization controller to perform signal optimization and obtain a power optimization signal;
[0034] The power control module is used to determine the target valve opening according to the power optimization signal, and use the target valve opening signal to perform power control on the target power device.
[0035] A third aspect of the present invention provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the power control method based on the improved PD controller as described in any one of the above items.
[0036] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed, implements the power control method based on the improved PD controller as described in any one of the above items.
[0037] It can be seen from the above technical solutions that the present invention has the following advantages:
[0038] In the present invention, in response to a power control request for a target power device, a power input signal, a power feedback signal and a disturbance signal of the target power device are obtained, the power input signal, the power feedback signal and the disturbance signal are input into a preset signal processing model for signal processing to obtain a power processing signal, the power processing signal is input into a preset optimization controller for signal optimization to obtain a power optimization signal, the target valve opening is determined according to the power optimization signal, and the target valve opening signal is used to perform power control on the target power device; the present invention firstly processes the power input signal, the power feedback signal and the disturbance signal through a preset signal processing model to obtain a power processing signal after comprehensive processing By comprehensively controlling the power input signal, power feedback signal and disturbance signal through a preset signal processing model, the response speed of the target power device can be improved, the steady-state error can be eliminated and the stability of the target power device can be enhanced. Then, the power processing signal is optimized through a preset optimization controller to obtain a power optimization signal that filters out the disturbance noise, thereby achieving the effect of suppressing random noise, and the power optimization signal is used to retrieve the corresponding target valve opening signal to adjust the valve opening of the target power device, thereby controlling the power generation output of the target power device. The present invention solves the technical problem of how to improve the stability of the power device by suppressing the influence of random noise on the performance of the power device. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0040] Figure 1 A flowchart of a power control method based on an improved PD controller provided in Embodiment 1 of the present invention;
[0041] Figure 2 A flowchart of a power control method based on an improved PD controller provided in Embodiment 2 of the present invention;
[0042] Figure 3 It is the power control block diagram based on the improved PD controller;
[0043] Figure 4 Control block diagram for preset optimization controller;
[0044] Figure 5 It is a phase-frequency-phase diagram of the preset optimization controller;
[0045] Figure 6 It is a schematic diagram of the amplitude-frequency gain of the preset optimization controller;
[0046] Figure 7 Schematic diagram of noise interference input;
[0047] Figure 8 This is a schematic diagram of noise interference output;
[0048] Fig. 9 A structural block diagram of a power control system based on an improved PD controller provided in Embodiment 3 of the present invention;
[0049] Fig.10 This is a structural block diagram of a computer device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0050] The embodiment of the present invention provides a power control method and system based on an improved PD controller, which are used to solve the technical problem of how to improve the stability of an electric power device.
[0051] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] See also Figure 1 , Figure 1 A flowchart of a power control method based on an improved PD controller provided in Embodiment 1 of the present invention.
[0053] The present invention provides a power control method based on an improved PD controller, comprising:
[0054] Step 101 : In response to a power control request for a target power device, a power input signal, a power feedback signal and a disturbance signal of the target power device are acquired.
[0055] The target power device refers to the power device that performs power control, including but not limited to power generation equipment, industrial production equipment, new energy equipment and other power equipment.
[0056] A power control request refers to a request instruction for performing power control on a target power device.
[0057] The power input signal refers to the set power initially input into the control system of the target power device for controlling the target power device.
[0058] The power feedback signal refers to the control power ultimately used to control the target power device. It is worth mentioning that the initial value of the power feedback signal is 0.
[0059] Disturbance signals refer to various external disturbance signals in the working environment. These disturbance signals will cause the output power of the power device to be unstable, and need to be adjusted and compensated by the control system inside the power device to ensure the stable operation and efficient power generation of the power device.
[0060] In an embodiment of the present invention, in response to a received request instruction for optimizing control of a target power device, request instruction information is read to obtain a power input signal, a power feedback signal and a disturbance signal of the target power device.
[0061] Step 102: input a power input signal, a power feedback signal and a disturbance signal into a preset signal processing model for signal processing to obtain a power processing signal.
[0062] The preset signal processing model refers to a model used to implement signal processing on a power input signal. The input of the model is a power input signal, a power feedback signal and a disturbance signal, and the output is a power processing signal after comprehensive processing.
[0063] In the embodiment of the present invention, a power input signal, a power feedback signal and a disturbance signal are input into a preset signal processing model for signal processing to obtain a power processing signal after comprehensive processing.
[0064] Step 103: Use the power processing signal to input into a preset optimization controller to perform signal optimization to obtain a power optimization signal.
[0065] The preset optimization controller refers to a controller that is pre-set to optimize the power processing signal, thereby outputting a power optimization signal that filters out disturbance noise.
[0066] In the embodiment of the present invention, a power processing signal is input into a preset optimization controller for signal optimization to obtain a power optimization signal with disturbance noise filtered out.
[0067] Step 104: determine the target valve opening according to the power optimization signal, and use the target valve opening signal to perform power control on the target power device.
[0068] In the embodiment of the present invention, the corresponding target valve opening is matched according to the power optimization signal, and the target valve opening signal is used to perform power control on the target power device.
[0069] In the present invention, in response to a power control request for a target power device, a power input signal, a power feedback signal and a disturbance signal of the target power device are obtained, the power input signal, the power feedback signal and the disturbance signal are input into a preset signal processing model for signal processing to obtain a power processing signal, the power processing signal is input into a preset optimization controller for signal optimization to obtain a power optimization signal, the target valve opening is determined according to the power optimization signal, and the target valve opening signal is used to perform power control on the target power device; the present invention firstly processes the power input signal, the power feedback signal and the disturbance signal through a preset signal processing model to obtain a power processing signal after comprehensive processing By comprehensively controlling the power input signal, power feedback signal and disturbance signal through a preset signal processing model, the response speed of the target power device can be improved, the steady-state error can be eliminated and the stability of the target power device can be enhanced. Then, the power processing signal is optimized through a preset optimization controller to obtain a power optimization signal that filters out the disturbance noise, thereby achieving the effect of suppressing random noise, and the power optimization signal is used to retrieve the corresponding target valve opening signal to adjust the valve opening of the target power device, thereby controlling the power generation output of the target power device. The present invention solves the technical problem of how to improve the stability of the power device by suppressing the influence of random noise on the performance of the power device.
[0070] See also Figure 2-Figure 3 , Figure 2 A flowchart of the steps of a power control method based on an improved PD controller provided in Embodiment 2 of the present invention.
[0071] Figure 3 Figure 2 is a power control block diagram based on the improved PD controller.
[0072] The present invention provides a power control method based on an improved PD controller, comprising:
[0073] Step 201 : In response to a power control request for a target power device, a power input signal, a power feedback signal and a disturbance signal of the target power device are acquired.
[0074] In the embodiment of the present invention, the specific implementation process of step 201 is similar to step 101 and will not be repeated here.
[0075] Step 202: input the power input signal, the power feedback signal and the disturbance signal into a preset signal processing model for signal processing to obtain a power processing signal.
[0076] Furthermore, the preset signal processing model includes a calculation module and a power valve conversion unit connected in sequence, and step 202 may include the following sub-steps:
[0077] S11, inputting the power input signal and the power feedback signal into the operation module to perform difference operation to obtain a power difference signal.
[0078] In the embodiment of the present invention, firstly, the power input signal and the power feedback signal are input into a calculation module to perform a difference calculation to obtain a power difference signal.
[0079] S12, using the power difference signal and the disturbance signal to input the power valve conversion unit for signal processing to obtain a power processing signal.
[0080] Further, S12 may include the following sub-steps:
[0081] S121, performing a difference operation on the power difference signal and the preset power setting signal to obtain a power error signal.
[0082] The preset power setting signal refers to a preset power expected value.
[0083] In an embodiment of the present invention, the power difference signal and the disturbance signal are input together into the power valve conversion unit for signal processing. First, the power difference signal is differenced with the preset power setting signal to calculate the error of the power difference signal, that is, the power error signal.
[0084] In a specific implementation, in order to facilitate the implementation of the method, the above process can be converted into a formula encapsulation form, wherein the power error signal can be calculated as follows:
[0085]
[0086] In the formula, represents the power error signal, Represents the power difference signal, Indicates a preset power setting signal;
[0087] S122, performing a sum operation on the power error signal and the disturbance signal to obtain a comprehensive error signal.
[0088] It should be noted that, considering the existence of external interference or noise in the target power device that affects the power signal, the disturbance signal may be random noise, external interference, etc. Therefore, the disturbance signal will affect the dynamic behavior of the target power device. When calculating the error, the influence of the disturbance signal needs to be considered.
[0089] In the embodiment of the present invention, a power error signal and a disturbance signal are subjected to a sum operation to obtain a comprehensive error signal.
[0090] In a specific implementation, in order to facilitate the implementation of the method, the above process can be converted into a formula encapsulation form, wherein the calculation method of the comprehensive error signal can be as follows:
[0091]
[0092] In the formula, represents the integrated error signal, represents the disturbance signal;
[0093] S123, performing a proportional operation on the comprehensive error signal to obtain a power proportional signal.
[0094] In the embodiment of the present invention, a proportional operation is performed on the comprehensive error signal to obtain a power proportional signal.
[0095] In a specific implementation, in order to facilitate the implementation of the method, the above process can be converted into a formula encapsulation form, wherein the power ratio signal can be calculated as follows:
[0096]
[0097] In the formula, Represents the power proportional signal, represents proportional gain;
[0098] S124, integrating the comprehensive error signal to obtain a power integration signal.
[0099] In the embodiment of the present invention, an integration operation is performed on the comprehensive error signal to obtain a power integration signal.
[0100] In a specific implementation, in order to facilitate the implementation of the method, the above process can be converted into a formula encapsulation form, wherein the calculation method of the power integral signal can be as follows:
[0101]
[0102] In the formula, represents the power integrated signal, represents the integral gain;
[0103] It should be noted that in S123-S124, the proportional operation and the integral operation actually output voltage, but in order to facilitate the subsequent preset optimization controller input, the conventional power formula is used, that is, current multiplied by voltage equals power, to obtain the above-mentioned output power proportional signal and power integral signal. This is a conventional formula conversion and will not be repeated here.
[0104] S125, performing a sum operation on the power proportional signal and the power integral signal to obtain a power processing signal.
[0105] In the embodiment of the present invention, a power processing signal is obtained by performing a sum operation on the power proportion signal and the power integral signal.
[0106] In a specific implementation, in order to facilitate the implementation of the method, the above process can be converted into a formula encapsulation form, wherein the power processing signal can be calculated as follows:
[0107]
[0108] In the formula, Represents the power handling signal.
[0109] See also Figure 4 , Figure 4 is the control block diagram of the preset optimization controller, where Signal processing for power .
[0110] Step 203: Use the power processing signal to input into a preset optimization controller to perform signal optimization to obtain a power optimization signal.
[0111] It should be noted that the output end of the preset signal processing model is connected to the input end of the preset optimization controller;
[0112] Further, the preset optimization controller includes a controller feedback module, a combined differentiator, a proportional controller, an adder and a noise filter, and step 203 may include the following sub-steps:
[0113] The input ends of the combined differentiator and the proportional controller are both connected to the controller feedback module;
[0114] The output ends of the combined differentiator and the proportional controller are both connected to the adder;
[0115] The adder is connected to the noise filter;
[0116] It should be noted that the controller feedback module provided at the input end of the combined differentiator and the proportional controller is used to receive the noise filter output power optimization signal and use the power optimization signal as a new controller feedback signal.
[0117] S21, inputting the power processing signal and the controller feedback signal obtained in advance into the controller feedback module for difference calculation to obtain a power change signal.
[0118] The pre-acquired controller feedback signal refers to the control power output by the preset optimization controller. It is worth mentioning that the initial value of the controller feedback signal is 0.
[0119] In the embodiment of the present invention, the power processing signal and the pre-acquired controller feedback signal are input into the controller feedback module for difference calculation to obtain a power change signal. .
[0120] S22, using the power change signal to input the combined differentiator for operation to obtain a power differential signal.
[0121] The specific implementation process of S22 is as follows:
[0122] Performing Laplace transformation on the power variation signal;
[0123] The power variation signal after Laplace transformation is multiplied by the Laplace transfer function of the combined differentiator to obtain a power differential signal.
[0124] See also Figure 4 , Figure 4 f Di Specifically:
[0125] It should be noted that the order of the combined differentiator of the present invention is preferably 5th order, which is not limited here, and the specific order can be set according to actual needs.
[0126] The Laplace transfer function of the combined differentiator is specifically:
[0127]
[0128] In the formula, represents the Laplace transfer function of the combined differentiator, represents the differential time constant, in seconds. represents the Laplace operator;
[0129] In the embodiment of the present invention, the power variation signal after Laplace transformation is multiplied by the Laplace transfer function of the combined differentiator to obtain a power differential signal.
[0130] S23, using the power change signal to input the proportional controller for calculation to obtain a proportional control signal.
[0131] The specific implementation process of S23 is as follows:
[0132] Performing Laplace transformation on the power variation signal;
[0133] The power change signal after Laplace transformation is multiplied by the Laplace transfer function of the proportional controller to obtain a proportional control signal.
[0134] The Laplace transfer function of the proportional controller is specifically:
[0135]
[0136] In the formula, represents the Laplace transfer function of the proportional controller, Represents the proportional control gain, unit is dimensionless, proportional control gain Fixed to 1.
[0137] In the embodiment of the present invention, the power change signal after Laplace transformation is multiplied by the Laplace transfer function of the proportional controller to obtain the proportional control signal.
[0138] S24, input the power differential signal and the proportional control signal into an adder for sum operation to obtain a power sum signal.
[0139] In the embodiment of the present invention, the power differential signal and the proportional control signal are input into the adder for sum operation to obtain the power sum signal f NF .
[0140] S25, inputting the power sum value signal into a noise filter for filtering to obtain a power optimization signal.
[0141] The specific implementation process of S25 is as follows:
[0142] The power sum signal is multiplied by the Laplace transfer function of the noise filter to obtain a power optimization signal.
[0143] The Laplace transfer function of the noise filter is specifically:
[0144]
[0145] In the formula, represents the Laplace transfer function of the noise filter, It represents the differential time constant, in seconds;
[0146] In the embodiment of the present invention, the power sum signal is multiplied by the Laplace transfer function of the noise filter to obtain the power optimization signal .
[0147] For ease of understanding, the Laplace transfer functions involved in steps S22-S25 are encapsulated in a formula to obtain the Laplace transfer function of the preset optimization controller, which is specifically:
[0148]
[0149] In the formula, Represents the Laplace transfer function of the preset optimized controller.
[0150] Furthermore, step 203 may also include the following sub-steps:
[0151] S26, using the power filter signal as a new controller feedback signal, and jumping to the step of using the power processing signal and the pre-acquired controller feedback signal to input into the controller feedback module for difference calculation to obtain a power change signal.
[0152] In the embodiment of the present invention, the power filtering signal is used as a new controller feedback signal, and the step jumps to the step of using the power processing signal and the pre-acquired controller feedback signal to input into the controller feedback module for difference calculation to obtain the power change signal.
[0153] Step 204: Use the power optimization signal to retrieve a preset power and valve opening mapping table, and match the corresponding valve opening signal as the target valve opening signal.
[0154] The preset power and valve opening mapping table refers to a pre-set mapping relationship table of power and valve opening. The preset power and valve opening mapping table is specifically a key-value pair data table, which refers to a key-value pair database established based on the association between the power signal and the valve opening signal.
[0155] Specifically, the power optimization signal can be converted into a voltage signal (such as 0-10V) or a current signal (such as 4-20mA), and the valve driver (usually an electric actuator or a pneumatic actuator) receives the signal output by the controller and converts it into mechanical movement. The electric actuator usually receives a current signal (such as 4-20mA), while the pneumatic actuator may receive a voltage signal (such as 0-10V) or an air pressure signal. According to the preset mapping relationship, the valve driver adjusts the valve opening according to the received signal. For example, the electric actuator drives the valve through a motor to move it between fully open and fully closed. The pneumatic actuator drives the piston through air pressure to control the opening of the valve. Therefore, the power optimization signal can be converted into a voltage signal or a current signal, and then the voltage signal or the current signal is used as a key and input into the preset power and valve opening mapping table for retrieval, and the valve opening signal is used as a value.
[0156] In the embodiment of the present invention, the power optimization signal is used to retrieve a preset power and valve opening mapping table, and the corresponding valve opening signal is matched as the target valve opening signal.
[0157] Step 205: Use the target valve opening signal to perform power control on the target power device.
[0158] In the embodiment of the present invention, the specific implementation process of step 205 is similar to step 105 and will not be repeated here.
[0159] Step 206: Use the power optimization signal as a new power feedback signal, and jump to the step of using the power input signal, the power feedback signal and the disturbance signal to input a preset signal processing model for signal processing to obtain a power processing signal.
[0160] In order to demonstrate the advantages of the preset optimization controller of the present invention, a verification example is provided below:
[0161] The differential time constant T of the low-interference PD controller of the present invention is set D = 100s, the frequency characteristics of the low-interference optimized PD controller of the present invention are obtained, such as Figure 5 and Figure 6 shown.
[0162] Figure 5 In, P LDPD (ω) is the phase-frequency phase of the low-interference PD controller of the present invention, in degrees (°);
[0163] Figure 6 In, G LDPD (ω) is the amplitude-frequency gain of the low-interference PD controller of the present invention, in dB.
[0164] The leading phase peak value of the low-interference optimized PD controller of the present invention is +49.73°, and the gain peak value is 12.80 dB.
[0165] The prior art raises the issue of noise power gain (NPG), where a noise power gain less than 1 represents that random noise interference is not amplified.
[0166] The noise power gain calculation formula is:
[0167]
[0168] Where NPG is the noise power gain, unit is dimensionless; n out (t) is the noise interference output, unit is dimensionless; n int (t) is the noise interference input, unit is dimensionless; T npg is the time for calculating the noise power gain, in seconds.
[0169] Specifically calculate the noise power gain NPG, the noise interference input n int (t) Select a pseudo-random signal and take T npg =2 000s.
[0170] The digital calculation interval is 0.5s, and a pseudo-random signal with zero mean and a peak-to-peak value range of ±0.01 is input to the input end of the low-interference optimized PD controller of the present invention, representing the noise interference input n int (t), Figure 7 As shown; the noise interference output n is obtained at the output end of the low interference optimized PD controller of the present invention out (t) results, Figure 8 shown.
[0171] Specifically, the noise power gain NPG of the low-interference optimized PD controller of the present invention is obtained to be 0.283. It can be seen that the noise power gain of the low-interference optimized PD controller of the present invention is much less than 1 and is at a relatively low level. The lower noise power gain can reduce the noise level in the target power device, improve the quality and clarity of the signal, and help to improve the signal-to-noise ratio, making the signal easier to detect and process. At the same time, reducing the noise power gain can reduce interference to other electronic devices, thereby improving the compatibility of the target power device, and then improving the reliability and stability of the target power device.
[0172] In the embodiment of the present invention, the power optimization signal is used as a new power feedback signal, and the process jumps to the step of using the power input signal, the power feedback signal and the disturbance signal to input a preset signal processing model for signal processing to obtain a power processing signal.
[0173] In the present invention, in response to a power control request for a target power device, a power input signal, a power feedback signal and a disturbance signal of the target power device are obtained, the power input signal, the power feedback signal and the disturbance signal are input into a preset signal processing model for signal processing to obtain a power processing signal, the power processing signal is input into a preset optimization controller for signal optimization to obtain a power optimization signal, the target valve opening is determined according to the power optimization signal, and the target valve opening signal is used to perform power control on the target power device; the present invention firstly processes the power input signal, the power feedback signal and the disturbance signal through a preset signal processing model to obtain a power processing signal after comprehensive processing By comprehensively controlling the power input signal, power feedback signal and disturbance signal through a preset signal processing model, the response speed of the target power device can be improved, the steady-state error can be eliminated and the stability of the target power device can be enhanced. Then, the power processing signal is optimized through a preset optimization controller to obtain a power optimization signal that filters out the disturbance noise, thereby achieving the effect of suppressing random noise, and the power optimization signal is used to retrieve the corresponding target valve opening signal to adjust the valve opening of the target power device, thereby controlling the power generation output of the target power device. The present invention solves the technical problem of how to improve the stability of the power device by suppressing the influence of random noise on the performance of the power device.
[0174] See also Fig. 9 , Fig. 9 This is a structural block diagram of a power control system based on an improved PD controller provided in Embodiment 3 of the present invention.
[0175] The present invention provides a power control system based on an improved PD controller, comprising:
[0176] A response module 301 is used to respond to a power control request for a target power device and obtain a power input signal, a power feedback signal and a disturbance signal of the target power device;
[0177] The signal processing module 302 is used to input the power input signal, the power feedback signal and the disturbance signal into a preset signal processing model for signal processing to obtain a power processing signal;
[0178] The signal optimization module 303 is used to optimize the signal by inputting the power processing signal into a preset optimization controller to obtain a power optimization signal;
[0179] The power control module 304 is used to determine the target valve opening according to the power optimization signal, and use the target valve opening signal to perform power control on the target power device.
[0180] Furthermore, it also includes:
[0181] The jump module is used to use the power optimization signal as a new power feedback signal, and jump to the step of using the power input signal, the power feedback signal and the disturbance signal to input the preset signal processing model for signal processing to obtain the power processing signal.
[0182] Furthermore, the preset signal processing model includes a calculation module and a power valve conversion unit, and the signal processing module 302 includes:
[0183] A power difference signal submodule is used to perform a difference operation using a power input signal and a power feedback signal input into a calculation module to obtain a power difference signal;
[0184] The power processing signal submodule is used to input the power difference signal and the disturbance signal into the power valve conversion unit for signal processing to obtain a power processing signal.
[0185] Furthermore, the power processing signal submodule includes:
[0186] A power error signal unit, used to perform a difference operation between the power difference signal and a preset power setting signal to obtain a power error signal;
[0187] A comprehensive error signal unit, used for performing a sum operation on the power error signal and the disturbance signal to obtain a comprehensive error signal;
[0188] A proportional operation unit, used for performing proportional operation on the comprehensive error signal to obtain a power proportional signal;
[0189] An integration operation unit, used for performing an integration operation on the comprehensive error signal to obtain a power integration signal;
[0190] The sum operation unit is used to perform a sum operation on the power proportion signal and the power integral signal to obtain a power processing signal.
[0191] Further, the preset optimization controller includes a controller feedback module, a combined differentiator, a proportional controller, an adder and a noise filter, and the signal optimization module 303 includes:
[0192] A power change signal submodule is used to input a power processing signal and a pre-acquired controller feedback signal into a controller feedback module for difference calculation to obtain a power change signal;
[0193] The power differential signal submodule is used to use the power change signal to input the combined differentiator for operation to obtain the power differential signal;
[0194] A proportional control signal submodule is used to input a power change signal into a proportional controller for operation to obtain a proportional control signal;
[0195] The power sum signal submodule is used to input the power differential signal and the proportional control signal into the adder for sum operation to obtain the power sum signal;
[0196] The power optimization signal submodule is used to input the power and value signal into the noise filter for filtering to obtain the power optimization signal.
[0197] Furthermore, the signal optimization module 303 also includes:
[0198] The feedback submodule is used to use the power filtering signal as a new controller feedback signal, and jump to the step of using the power processing signal and the pre-acquired controller feedback signal to input the controller feedback module for difference calculation to obtain a power change signal.
[0199] Further, the power control module 304 includes:
[0200] The matching submodule is used to use the power optimization signal to retrieve a preset power and valve opening mapping table, and match the corresponding valve opening signal as the target valve opening signal.
[0201] In the present invention, in response to a power control request for a target power device, a power input signal, a power feedback signal and a disturbance signal of the target power device are obtained, the power input signal, the power feedback signal and the disturbance signal are input into a preset signal processing model for signal processing to obtain a power processing signal, the power processing signal is input into a preset optimization controller for signal optimization to obtain a power optimization signal, the target valve opening is determined according to the power optimization signal, and the target valve opening signal is used to perform power control on the target power device; the present invention firstly processes the power input signal, the power feedback signal and the disturbance signal through a preset signal processing model to obtain a power processing signal after comprehensive processing By comprehensively controlling the power input signal, power feedback signal and disturbance signal through a preset signal processing model, the response speed of the target power device can be improved, the steady-state error can be eliminated and the stability of the target power device can be enhanced. Then, the power processing signal is optimized through a preset optimization controller to obtain a power optimization signal that filters out the disturbance noise, thereby achieving the effect of suppressing random noise, and the power optimization signal is used to retrieve the corresponding target valve opening signal to adjust the valve opening of the target power device, thereby controlling the power generation output of the target power device. The present invention solves the technical problem of how to improve the stability of the power device by suppressing the influence of random noise on the performance of the power device.
[0202] See also Fig.10 , Fig.10 This is a structural block diagram of a computer device provided in Embodiment 4 of the present invention.
[0203] An electronic device according to an embodiment of the present invention includes: a memory 401 and a processor 402, wherein the memory 401 stores a computer program; when the computer program is executed by the processor 402, the processor 402 executes a power control method based on an improved PD controller according to any of the above embodiments.
[0204] The memory 401 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk or a ROM. The memory 401 has a storage space 403 for a program code 413 for executing any method step in the above method. For example, the storage space 403 for the program code may include individual program codes 413 for implementing the various steps in the above method, respectively. These program codes may be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. The program code may be compressed, for example, in an appropriate form. When these codes are run by a computing and processing device, the computing and processing device performs the various steps in the method described above. These program codes may be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. The program code may be compressed, for example, in an appropriate form. When these codes are executed by a computing and processing device, the computing and processing device is caused to execute the various steps in the power control method based on the improved PD controller described above.
[0205] Embodiment 5 of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the power control method based on the improved PD controller as in any of the above embodiments is implemented.
[0206] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0207] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0208] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0209] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0210] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0211] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A power control method based on an improved PD controller, characterized in that: include: In response to a power control request for a target power device, a power input signal, a power feedback signal and a disturbance signal of the target power device are acquired; The power input signal, the power feedback signal and the disturbance signal are input into a preset signal processing model for signal processing to obtain a power processing signal; The power processing signal is input into a preset optimization controller to perform signal optimization to obtain a power optimization signal; The target valve opening is determined according to the power optimization signal, and the target valve opening signal is used to perform power control on the target electric power device.
2. The power control method based on the improved PD controller according to claim 1, characterized in that: Also includes: The power optimization signal is used as a new power feedback signal, and the process jumps to the step of using the power input signal, the power feedback signal and the disturbance signal to input a preset signal processing model for signal processing to obtain a power processing signal.
3. The power control method based on the improved PD controller according to claim 1, characterized in that: The preset signal processing model includes a calculation module and a power valve conversion unit. The power input signal, the power feedback signal and the disturbance signal are input into the preset signal processing model for signal processing to obtain a power processing signal, including: The power input signal and the power feedback signal are input into the operation module to perform difference operation to obtain a power difference signal; The power difference signal and the disturbance signal are input into the power valve conversion unit for signal processing to obtain a power processing signal.
4. The power control method based on the improved PD controller according to claim 3, characterized in that: The step of inputting the power difference signal and the disturbance signal into the power valve conversion unit for signal processing to obtain a power processing signal includes: Performing a difference operation on the power difference signal and a preset power setting signal to obtain a power error signal; Performing a sum operation on the power error signal and the disturbance signal to obtain a comprehensive error signal; Performing a proportional operation on the comprehensive error signal to obtain a power proportional signal; Performing an integration operation on the comprehensive error signal to obtain a power integration signal; The power proportion signal and the power integral signal are used to perform a sum operation to obtain a power processing signal.
5. The power control method based on the improved PD controller according to any one of claims 1 to 4, characterized in that: The preset optimization controller includes a controller feedback module, a combined differentiator, a proportional controller, an adder and a noise filter. The power processing signal is input into the preset optimization controller for signal optimization to obtain a power optimization signal, including: The power processing signal and the pre-acquired controller feedback signal are input into the controller feedback module to perform difference calculation to obtain a power change signal; The power variation signal is input into the combined differentiator for operation to obtain a power differential signal; The power change signal is input into the proportional controller for operation to obtain a proportional control signal; The power differential signal and the proportional control signal are input into the adder to perform a sum operation to obtain a power sum signal; The power sum value signal is input into the noise filter for filtering to obtain a power optimization signal.
6. The power control method based on the improved PD controller according to claim 5, characterized in that: Also includes: The power filter signal is used as a new controller feedback signal, and the process jumps to the step of using the power processing signal and the pre-acquired controller feedback signal to input into the controller feedback module for difference calculation to obtain a power change signal.
7. The power control method based on the improved PD controller according to any one of claims 1 to 4, characterized in that: The step of determining the target valve opening according to the power optimization signal specifically includes: The power optimization signal is used to retrieve a preset power and valve opening mapping table, and a corresponding valve opening signal is matched as a target valve opening signal.
8. A power control system based on an improved PD controller, characterized in that: include: A response module, used to respond to a power control request for a target power device and obtain a power input signal, a power feedback signal and a disturbance signal of the target power device; A signal processing module, used for inputting the power input signal, the power feedback signal and the disturbance signal into a preset signal processing model for signal processing to obtain a power processing signal; A signal optimization module, used to use the power processing signal to input a preset optimization controller to perform signal optimization and obtain a power optimization signal; The power control module is used to determine the target valve opening according to the power optimization signal, and use the target valve opening signal to perform power control on the target power device.
9. An electronic device, characterized in that: It comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the power control method based on the improved PD controller as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the power control method based on the improved PD controller as described in any one of claims 1 to 7 is implemented.