An adaptive P regulation circuit for PID control circuit gain matching and calibration
By designing an adaptive P adjustment circuit in the PID control circuit, and using the error identification and matching circuit and the adaptive error amplification circuit, the adaptive adjustment and gain matching of the P parameters are realized, which solves the control problems caused by the fixed gain of the P circuit in the existing technology. The problem of insufficient stability improves the stability and quality of the control system.
Patent Information
- Application Number
- CN202210606916.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-05-31
AI Technical Summary
The gain of the P circuit in the existing PID control circuit is fixed, making it difficult to ensure control stability within the full error range, especially the adaptive adjustment of the P parameter is insufficient.
An adaptive P adjustment circuit including an original error processing circuit, an error identification and matching circuit and an adaptive error amplification circuit is designed. The automatic adjustment of the P parameters is realized through operational amplifiers, comparators, voltage dividing resistors and multi-way switch controllers. Adaptation adjustment and gain matching.
It improves the control stability and control quality of the PID control system within the full parameter range and ensures the stable operation of the control system under different error conditions.
Smart Images

Figure CN115128945B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of automatic control technology, and in particular relates to an adaptive P regulating circuit which is convenient for gain matching and calibration of a PID control circuit. Background Art
[0002] PID control circuits are widely used and are almost indispensable in various automatic control systems. In existing PID control circuits, the gain of the P circuit is often fixed, and it is difficult to ensure the stability of closed-loop control of the nonlinear PID control loop within the full error range. Large errors and small errors often correspond to different control parameters, especially the P parameter. An excellent PID control circuit should be able to adaptively adjust the response variable as the system parameters change, especially the P parameter adaptation. Summary of the invention
[0003] In view of this, the present invention aims to propose an adaptive P regulation circuit that is convenient for gain matching and calibration of a PID control circuit, so as to solve the shortcomings of the above-mentioned problems.
[0004] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0005] An adaptive P adjustment circuit for PID control circuit gain matching and calibration, comprising an original error processing circuit, an error identification and matching circuit, and an adaptive error amplification circuit, wherein the signal output end of the original error processing circuit is electrically connected to the signal input end of the error identification and matching circuit and the signal input end of the adaptive error amplification circuit, respectively, and the signal output end of the error identification and matching circuit is electrically connected to the channel control input end of the adaptive error amplification circuit.
[0006] Furthermore, the original error processing circuit includes an operational amplifier G1, the input end of the operational amplifier G1 is used to receive a given signal from the control target and a feedback signal from the controlled object, and the output end signal of the operational amplifier G1 is respectively connected to the signal input end of the error identification and matching circuit and the signal input end of the adaptive error amplifier circuit.
[0007] Furthermore, the error identification and matching circuit includes n comparator circuits, each of which includes a comparator Un, a voltage-dividing resistor RW and a voltage-dividing resistor RWn, the positive input terminal of the comparator Un is connected to the output terminal of the operational amplifier G1, one end of the voltage-dividing resistor RW is connected to a power supply, the other end of the voltage-dividing resistor RW is connected to one end of the voltage-dividing resistor RWn, the other end of the voltage-dividing resistor RWn is grounded, and the common end where the voltage-dividing resistor RW and the voltage-dividing resistor RWn are connected forms a reference Vren, the reference Vren is connected to the negative input terminal of the comparator Un, and the output terminals of the comparator Un are respectively connected to the channel control input terminals of the adaptive error amplifier circuit.
[0008] Furthermore, the resistance of the voltage-dividing resistor RW is a fixed value.
[0009] Furthermore, the resistance of the voltage-dividing resistor RWn is a variable value.
[0010] Furthermore, the adaptive error amplifier circuit includes n input resistors Rn, a feedback resistor Rf, an operational amplifier G2 and a multi-way switch controller U2, the multi-way switch controller U2 is provided with n switch channels Kn and n channel control terminals An, the output terminal of each comparator Un is respectively connected to the n channel control terminals An of the multi-way switch controller U2, the output terminal of the operational amplifier G1 is respectively connected to the input pins of the n switch channels Kn of the multi-way switch controller U2 through the n input resistors Rn, the output common terminal of the n switch channels Kn is connected to the input terminal of the operational amplifier G2, the two ends of the feedback resistor Rf are respectively connected to the input terminal and the output terminal of the operational amplifier G2, and the output terminal of the operational amplifier G2 is used to output the error signal after adaptive adjustment.
[0011] Compared with the prior art, the adaptive P adjustment circuit for facilitating gain matching and calibration of a PID control circuit described in the present invention has the following advantages:
[0012] (1) The adaptive P adjustment circuit of the present invention is convenient for gain matching and calibration of a PID control circuit. By improving the design of a traditional P circuit, the function of matching and calibrating P parameters is realized. By adaptively adjusting the P parameters, the control stability of the PID control system within the full parameter range is improved, thereby improving the control quality of the control system. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:
[0014] Figure 1It is a schematic diagram of the overall structural process of an embodiment of the present invention;
[0015] Figure 2 It is a schematic diagram of the overall structural circuit described in an embodiment of the present invention. DETAILED DESCRIPTION
[0016] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0017] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and the like are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", and the like may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.
[0018] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood by specific circumstances.
[0019] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0020] like Figure 1 to Figure 2As shown, an adaptive P adjustment circuit for PID control circuit gain matching and calibration includes an original error processing circuit, an error identification and matching circuit, and an adaptive error amplification circuit. The signal output end of the original error processing circuit is electrically connected to the signal input end of the error identification and matching circuit and the signal input end of the adaptive error amplification circuit respectively, and the signal output end of the error identification and matching circuit is electrically connected to the channel control input end of the adaptive error amplification circuit. The adaptive P adjustment circuit realizes the function of P parameter matching and calibration through the improved design of the traditional P circuit; through the adaptive adjustment of the P parameter, the control stability of the PID control system in the full parameter range is improved, thereby improving the control quality of the control system.
[0021] The original error processing circuit includes an operational amplifier G1, the input end of the operational amplifier G1 is used to receive a given signal from a control target and a feedback signal from a controlled object, respectively, and the output end signal of the operational amplifier G1 is connected to the signal input end of the error identification and matching circuit and the signal input end of the adaptive error amplifier circuit, respectively. In this embodiment, in the original error processing circuit, the given signal from the control target is compared with the feedback signal from the controlled object to form an original error signal. In actual use, the operational amplifier G1 compares the difference between the given signal Vtg from the control target and the feedback signal Vf from the controlled object, and forms the original error signal Err_I after appropriately amplifying the difference.
[0022] The error identification and matching circuit includes n comparator circuits, each of which includes a comparator Un, a voltage-dividing resistor RW and a voltage-dividing resistor RWn, the positive input of the comparator Un is connected to the output of the operational amplifier G1, one end of the voltage-dividing resistor RW is connected to the power supply, the other end of the voltage-dividing resistor RW is connected to one end of the voltage-dividing resistor RWn, the other end of the voltage-dividing resistor RWn is grounded, and the common end of the voltage-dividing resistor RW and the voltage-dividing resistor RWn forms a reference Vren, the reference Vren is connected to the negative input of the comparator Un, and the output of the comparator Un is respectively connected to the channel control input of the adaptive error amplifier circuit. In this embodiment, in the error identification and matching circuit, the original error signal is compared with the multi-channel reference to generate a multi-channel control signal. The multi-channel control signal can be combined into a variety of control logics, and the multi-channel reference can be matched and calibrated.
[0023] The resistance value of the voltage-dividing resistor RW is a fixed value. The resistance value of the voltage-dividing resistor RWn is a variable value. In this embodiment, the error identification and matching circuit compares the original error signal with the multi-channel reference to generate a multi-channel control signal, which can be combined into a variety of control logics, and the multi-channel reference can be matched and calibrated. The error identification and matching circuit includes an n-channel comparator circuit, and the n-channel comparator circuit includes n comparators U1-Un, n voltage-dividing resistors RW, and n resistors RW1-RWn. In each comparator circuit, the positive input terminal of all comparators Un is connected to the original error signal Err_I, the negative input terminal is respectively connected to the reference Vre1-Vren, and the output terminal Uo_1-Uo_n is respectively connected to the channel control terminal A1-An of the multi-channel switch controller U2 of the adaptive error amplifier circuit. Each reference Vren is connected to the common end of two series-connected voltage-dividing resistors RW and voltage-dividing resistors RWn, and the voltage-dividing resistors RW and voltage-dividing resistors RWn are connected across the power supply and the ground. The resistor RW can be set to a fixed resistance value, and the resistance value of the voltage divider resistor RWn needs to be matched and calibrated through the results of field tests. The basis for matching and calibration is to ensure that the control characteristics of the entire PID closed-loop control system are stable, fast, and accurate within the full parameter range. In actual use, the multi-channel reference can change the reference voltage by modifying the voltage divider resistor value. The reference voltage is matched and calibrated through the results of field tests until the entire control system is stable, fast, and accurate within the full parameter range.
[0024] The adaptive error amplifier circuit includes n input resistors Rn, a feedback resistor Rf, an operational amplifier G2 and a multi-way switch controller U2, wherein the multi-way switch controller U2 is provided with n switch channels Kn and n channel control terminals An, the output terminals of each comparator Un are respectively connected to the n channel control terminals An of the multi-way switch controller U2, the output terminals of the operational amplifier G1 are respectively connected to the input pins of the n switch channels Kn of the multi-way switch controller U2 through the n input resistors Rn, the output common terminals of the n switch channels Kn are connected to the input terminals of the operational amplifier G2, the two ends of the feedback resistor Rf are respectively connected to the input terminals and the output terminals of the operational amplifier G2, and the output terminals of the operational amplifier G2 are used to output the error signal after adaptive adjustment. In this embodiment, in the adaptive error amplifier circuit, the selection of the switch channels of the multi-way switch controller is determined by various combination control logics, and different switch channels correspond to different amplification factors of the error amplifier circuit. The combination of the error identification and matching circuit and the adaptive error amplifier circuit can realize the adaptive error amplifier function with matching and calibrating gain.
[0025] In actual use, the adaptive error amplifier circuit outputs a switch channel control signal according to the error amplitude identified by the error identification and matching circuit. The adaptive error amplifier circuit includes n input resistors R1-Rn, a feedback resistor Rf, an operational amplifier G2, and a multi-way switch controller U2. The original error signal Err_I output by the original error processing circuit is connected to the input pins of the n switch channels K1-Kn of the multi-way switch controller U2 through the input resistors R1-Rn, the input end of the operational amplifier G2 is connected to the output common end of the n switch channels K1-Kn of the multi-way switch controller U2, and the feedback resistor Rf is connected across the input end and the output end of the operational amplifier G2. The output end of the operational amplifier G2 outputs the error signal Err_o after adaptive adjustment. The error signal Err_o after adaptive adjustment can participate in the I and D operations of the subsequent PID control circuit.
[0026] The selection principle of the control channel n in the adaptive P adjustment circuit that is convenient for PID control circuit gain matching and calibration is to minimize the number of control channels and meet the use requirements as the ultimate goal.
[0027] The selection principle of the reference Vre1-Vren in the adaptive P regulation circuit that is convenient for PID control circuit gain matching and calibration can be selected in sections and calibrated based on field test results to ensure that the control system can operate stably within the entire working parameter range.
[0028] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An adaptive P adjustment circuit for PID control circuit gain matching and calibration, characterized in that: It includes an original error processing circuit, an error identification and matching circuit, and an adaptive error amplifying circuit, wherein the signal output end of the original error processing circuit is electrically connected to the signal input end of the error identification and matching circuit and the signal input end of the adaptive error amplifying circuit respectively, and the signal output end of the error identification and matching circuit is electrically connected to the channel control input end of the adaptive error amplifying circuit; The original error processing circuit includes an operational amplifier G1, the input end of the operational amplifier G1 is used to receive a given signal from a control target and a feedback signal from a controlled object, and the output end signal of the operational amplifier G1 is connected to a signal input end of an error identification and matching circuit and a signal input end of an adaptive error amplification circuit respectively; The error identification and matching circuit includes n comparator circuits, each of which includes a comparator Un, a voltage-dividing resistor RW and a voltage-dividing resistor RWn, the positive input terminal of the comparator Un is connected to the output terminal of the operational amplifier G1, one end of the voltage-dividing resistor RW is connected to a power supply, the other end of the voltage-dividing resistor RW is connected to one end of the voltage-dividing resistor RWn, the other end of the voltage-dividing resistor RWn is grounded, and the common end of the voltage-dividing resistor RW and the voltage-dividing resistor RWn is connected to form a reference Vren, the reference Vren is connected to the negative input terminal of the comparator Un, and the output terminals of the comparator Un are respectively connected to the channel control input terminals of the adaptive error amplifier circuit; The resistance of the voltage dividing resistor RW is a fixed value; The resistance value of the voltage dividing resistor RWn is a variable value; The adaptive error amplifier circuit includes n input resistors Rn, a feedback resistor Rf, an operational amplifier G2 and a multi-way switch controller U2. The multi-way switch controller U2 is provided with n switch channels Kn and n channel control terminals An. The output terminals of each comparator Un are respectively connected to the n channel control terminals An of the multi-way switch controller U2. The output terminals of the operational amplifier G1 are respectively connected to the input pins of the n switch channels Kn of the multi-way switch controller U2 through the n input resistors Rn. The output common terminals of the n switch channels Kn are connected to the input terminals of the operational amplifier G2. The two ends of the feedback resistor Rf are respectively connected to the input terminals and the output terminals of the operational amplifier G2. The output terminal of the operational amplifier G2 is used to output the error signal after adaptive adjustment.
Citation Information
Patent Citations
Improved window comparator with accurate levels for use in DC-DC converters
CN101395790A
Switched mode power supply with improved light load efficiency
CN104428985A
Dual independent current-loop digital control method facing interleaving parallel PFC
CN104883060A
Overtemperature protection circuit for power semiconductor of inverter welding machine
CN201702494U
Novel two -phase step motor driver
CN204761349U
