Online debugging method and equipment for measurement and control system of hydraulic dynamometer
By obtaining the empirical valve position and safety valve position in the hydraulic dynamometer measurement and control system, estimating the initial value of the PID controller and setting the safety value using the response curve method, the problem of lack of safety strategies in the existing technology is solved, and hydraulic measurement is realized Safe and efficient debugging of the power measuring and control system.
Patent Information
- Application Number
- CN202411015717.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-08
AI Technical Summary
The existing online debugging methods of hydraulic dynamometer measurement and control systems lack safety strategies, which leads to inconvenient parameter setting and the risk of harm to the prime mover.
By manually obtaining the experience valve position and safety valve position in the open loop control state, the initial value of the PID controller is estimated using the response curve method, and the PID parameters are dynamically adjusted in the closed loop control, setting safety values to protect the system and avoiding the prime mover poses a destructive threat.
The control accuracy and security of the closed-loop control strategy are realized, the convenience and security of the debugging process are improved, and the destructive threat to the prime mover is avoided.
Smart Images

Figure CN118915425A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of debugging of hydraulic dynamometer control systems. Background Art
[0002] Prime movers such as steam turbines, gas turbines, diesel engines and other large rotating equipment need to complete performance testing after production and before leaving the factory. During the test, a hydraulic dynamometer is used as a test equipment and coaxially connected to the prime mover, and serves as the load of the prime mover. The hydraulic dynamometer uses blades as a carrier and water as a medium, and rotates coaxially with the prime mover. The output power of the prime mover is transmitted as mechanical energy, which is converted into the internal energy of the water in the water cavity of the hydraulic dynamometer. As a result, the power of the prime mover can be absorbed by the hydraulic dynamometer, thereby realizing the operating point control of the prime mover. The amount of water in the water cavity of the hydraulic dynamometer is controlled by the opening of the water inlet valve and the drain valve. While meeting the stable joint adjustment of the hydraulic dynamometer and the prime mover, it is also necessary to ensure the various safety operation indicators of the hydraulic dynamometer itself, so the hydraulic dynamometer is required to have corresponding measurement and control functions.
[0003] The basic control functions of the hydraulic dynamometer include valve position control, speed control, torque control, and power curve control. Valve position control is an open-loop mode for the working point of the hydraulic dynamometer. The water chamber of the hydraulic dynamometer is equipped with an inlet valve and a drain valve, and the valve opening is directly controlled to adjust the operating state of the hydraulic dynamometer. Speed control, torque control, and power curve control are closed-loop modes for the working point of the hydraulic dynamometer. Speed control is sent to the controller through the difference between the target speed and the current speed, and the valve opening is calculated and the valve is controlled. Torque control is sent to the controller through the difference between the target torque and the current torque, and the valve opening is calculated and the valve is controlled. Power curve control is achieved by controlling different torque targets at different times. When the closed-loop control function is successfully debugged and put into use, the hydraulic dynamometer can calculate the valve position command through the controller according to the operating requirements of the prime mover, thereby automatically adjusting the load.
[0004] The traditional online debugging method of hydraulic dynamometer control system has the following defects: on the one hand, there is no safety strategy for automatic protection, and on the other hand, there is no initial value reference, which makes the online parameter setting process inconvenient. At the same time, there is also the risk of causing harm to the prime mover when the controller diverges or jitters. Therefore, the above problems need to be solved urgently. Summary of the invention
[0005] The purpose of the present invention is to solve the problems that the existing online debugging method of the hydraulic dynamometer control system has no safety strategy for automatic protection, and on the other hand, there is no initial value reference, which makes the online parameter setting process inconvenient and there is a risk of causing harm to the prime mover. The present invention provides an online debugging method and device for a hydraulic dynamometer control system.
[0006] (I) A method for online debugging of a hydraulic dynamometer measurement and control system, the method comprising the following steps:
[0007] Step 1: Under the open-loop control state of the hydraulic dynamometer, manually control the opening of the water inlet valve and the drain valve of the hydraulic dynamometer to cooperate with the operation of the prime mover, so as to obtain the empirical valve position of the water inlet valve and the drain valve at each working point of the prime mover, and the safety valve position of the water inlet valve and the drain valve applicable to all working points of the prime mover;
[0008] Estimate the initial values of PID parameters of the PID control algorithm of the PID controller in the measurement and control system through the response curve method;
[0009] Determine the safe value of PID parameters according to the initial value of PID parameters;
[0010] Step 2, under the control strategy of the PID controller for closed-loop control of the hydraulic dynamometer, starting with the initial value of the PID parameter, dynamically adjust the PID parameter value of the PID controller at each operating point, so as to obtain the target operating curve of the hydraulic dynamometer in the steady state under the corresponding control category, and complete the online debugging of the PID parameters of the PID controller of the measurement and control system; wherein, the observed value of the control category of each operating point in the target operating curve in the steady state meets the observation threshold range, and the transition time of adjacent operating points meets the transition time threshold range;
[0011] The control strategy for closed-loop control of the hydraulic dynamometer is:
[0012] Step 21, for each operating point under the currently given PID parameters, the PID control algorithm generates a corresponding actual drain valve control amount according to the control target of the corresponding control category of the input operating point;
[0013] Step 22, judging whether the difference between the actual drain valve control amount at each operating point and the ideal drain valve control amount at the operating point exceeds the safety boundary threshold Δ; wherein the ideal drain valve control amount at each operating point is the control amount corresponding to the empirical valve position of the drain valve at the operating point under the open-loop control state of the hydraulic dynamometer;
[0014] If the result is no, the PID control algorithm outputs the actual drain valve control quantity currently generated, and controls the opening of the drain valve of the hydraulic dynamometer through the actuator;
[0015] The result is yes. The hydraulic dynamometer is protected in two ways. First, when the current operating state of the hydraulic dynamometer does not pose a destructive threat to the prime mover, the initial value of the PID parameter is switched to the safe value of the PID parameter. For this operating point under the safe value of the PID parameter, the PID control algorithm generates the corresponding actual drain valve control quantity according to the control target of the corresponding control category of the input operating point, and controls the opening of the drain valve of the hydraulic dynamometer through the actuator; second, when the current operating state of the hydraulic dynamometer poses a destructive threat to the prime mover, the output of the PID control algorithm is invalid, and the current drain valve opening is controlled by the actuator to change at a uniform speed to the safety valve position.
[0016] Preferably, the PID parameters include a proportional coefficient P, an integral coefficient I and a differential coefficient D.
[0017] Preferably, the control categories include speed, torque and power curves.
[0018] Preferably, the control target includes a target speed, a target torque and a target power curve.
[0019] Preferably, the safety value of the PID parameter is m times the initial value of the PID parameter, and 1 / 50≤m≤1 / 40.
[0020] (ii) Online debugging equipment for the hydraulic dynamometer measurement and control system, the debugging equipment is an integrated intelligent box, and the industrial computer in the intelligent box is embedded with a control strategy for closed-loop control of the hydraulic dynamometer;
[0021] The control strategy for closed-loop control of the hydraulic dynamometer is:
[0022] Step 21, for each operating point under the currently given PID parameters, the PID control algorithm generates a corresponding actual drain valve control amount according to the control target of the corresponding control category of the input operating point;
[0023] Step 22, judging whether the difference between the actual drain valve control amount at each operating point and the ideal drain valve control amount at the operating point exceeds the safety boundary threshold Δ; wherein the ideal drain valve control amount at each operating point is the control amount corresponding to the empirical valve position of the drain valve at the operating point under the open-loop control state of the hydraulic dynamometer;
[0024] If the result is no, the PID control algorithm outputs the actual drain valve control quantity currently generated, and controls the opening of the drain valve of the hydraulic dynamometer through the actuator;
[0025] The result is yes. The hydraulic dynamometer is protected in two ways. First, when the current operating state of the hydraulic dynamometer does not pose a destructive threat to the prime mover, the initial value of the PID parameter is switched to the safe value of the PID parameter. For this operating point under the safe value of the PID parameter, the PID control algorithm generates the corresponding actual drain valve control quantity according to the control target of the corresponding control category of the input operating point, and controls the opening of the drain valve of the hydraulic dynamometer through the actuator; second, when the current operating state of the hydraulic dynamometer poses a destructive threat to the prime mover, the output of the PID control algorithm is invalid, and the current drain valve opening is controlled by the actuator to change at a uniform speed to the safety valve position.
[0026] Preferably, the method for obtaining the empirical valve position of the drain valve at each operating point under the open-loop control state of the hydraulic dynamometer and the safety valve position of the drain valve applicable to all operating points of the prime mover is:
[0027] In the open-loop control state of the hydraulic dynamometer, the opening of the water inlet valve and the drain valve of the hydraulic dynamometer is manually controlled to cooperate with the operation of the prime mover, so as to obtain the empirical valve position of the water inlet valve and the drain valve at each operating point of the prime mover, as well as the safety valve position of the water inlet valve and the drain valve applicable to all operating points of the prime mover.
[0028] Preferably, the initial value of the PID parameter is obtained as follows:
[0029] The initial values of PID parameters of the PID control algorithm of the PID controller in the measurement and control system are estimated by the response curve method.
[0030] Preferably, the PID parameters include a proportional coefficient P, an integral coefficient I and a differential coefficient D;
[0031] Control categories include speed, torque, and power curves;
[0032] The control targets include target speed, target torque and target power curve.
[0033] Preferably, the upper half of the front surface of the smart box is a display, and the lower half of the front surface of the smart box is an operation panel; the operation panel includes a keyboard and mouse, two manual knobs, and an emergency stop button; the two manual knobs are used to control the opening of the water inlet valve and the drain valve of the hydraulic dynamometer under open-loop control; the emergency stop button is used to directly lock the valve position in an emergency;
[0034] The industrial computer inside the intelligent box has four types of peripheral interfaces: serial port, Ethernet port, wireless module and hard-wired IO interface, and data communication with the hydraulic dynamometer is carried out through the corresponding peripheral interfaces;
[0035] The industrial computer is also used to control the display of the monitor;
[0036] The debugging device is also used to write PID parameter values into the PID controller via the keyboard, mouse, and industrial computer in sequence.
[0037] Advantages of the present invention:
[0038] The present invention determines the closed-loop control strategy of the PID controller based on the empirical valve position of the drain valve at each operating point of the prime mover under the open-loop control state, the safety valve position of the drain valve applicable to all operating points, the set initial value of the PID parameter, the safety value of the PID parameter, and the safety boundary threshold value Δ of the drain valve. The safety valve position of the drain valve under the open-loop control state is a valve position that does not pose a threat to all operating points of the prime mover, which ensures the control accuracy and safety of the closed-loop control strategy design, and the initial value of the PID parameter set as a reference for searching improves the convenience of the debugging process, and adds automatic protection to the closed-loop control strategy, that is: setting the safety value of the PID parameter, and the safety parameter value is set according to the initial value of the PID parameter, which further ensures the safety of the debugging process and avoids destructive threats to the prime mover. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a schematic diagram of the principle of the closed-loop control strategy of the PID controller;
[0040] Figure 2 It is a schematic diagram of the control principle of the PID controller;
[0041] Figure 3 It is a communication diagram between the debugging equipment and the hydraulic dynamometer;
[0042] Figure 4 It is a schematic diagram of the parameter setting interface;
[0043] Figure 5 It is a schematic diagram of the target setting interface;
[0044] Figure 6 yes Figure 5 Target curve in the target setting interface;
[0045] Figure 7 It is a schematic diagram of the operating status interface;
[0046] Figure 8 This is a schematic diagram of the real-time observation interface of the control effect;
[0047] Fig. 9 is a schematic diagram of the response curve of the self-balancing system. Fig. 9 The horizontal axis represents time and the vertical axis represents the control variable. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments 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.
[0049] 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.
[0050] The technical concept of the present invention comes from the following sources:
[0051] Before the measurement and control function of the hydraulic dynamometer can be put into normal use, the closed-loop control function needs to be debugged to determine the closed-loop control strategy and algorithm. Take the PID controller as an example of the closed-loop control of the hydraulic dynamometer. The control function of the PID controller is as follows:
[0052] The function of PID controller is to calculate the control quantity and output it as a command to the actuator. The actuator performs the corresponding action to promote the automatic operation of the control object, so that the system runs according to the target value or target curve. Figure 2 The target value or target curve is the operating requirement of the prime mover. When the prime mover is running, the load, i.e. the hydraulic dynamometer, cooperates with the prime mover to achieve stable operation at a certain operating point or dynamic operation at a continuous operating point. The closed-loop control of the hydraulic dynamometer control system is achieved by determining the closed-loop control strategy based on the reference data obtained by the open-loop control method to realize the online debugging method of the hydraulic dynamometer control system. The basic steps are as follows:
[0053] 1) Under open-loop control, manually operate the water inlet valve and drain valve of the hydraulic dynamometer to obtain the empirical valve positions of the water inlet valve and drain valve at each operating point of the prime mover and to find out the safe valve position of the drain valve that poses no threat to the entire operating range.
[0054] 2) Determine the protection strategy of the closed-loop control system based on the safety valve position.
[0055] 3) Under the closed-loop control state, debug the control effect of the PID controller and determine the PID parameters of the PID controller that are suitable for the entire operating condition change process.
[0056] Among them, the realization of closed-loop control of the hydraulic dynamometer control system is to determine the closed-loop control strategy based on the reference data obtained by the open-loop control method. The source of the idea:
[0057] 1) According to the working characteristics of the prime mover, the control performance indicators that the hydraulic dynamometer should achieve are clarified, including the number of operating points N, the speed of the operating points, the torque and power curves, and the transition time T between the operating points.
[0058] 2) The inlet valve position of 0% is fully closed, and the inlet valve position of 100% is fully open. The drain valve position of 0% is fully open, and the drain valve position of 100% is fully closed. Operate the knobs of the inlet and drain valves on the operation panel of the hydraulic dynamometer debugging equipment, and use this open-loop control method to work with the prime mover to obtain the empirical valve positions corresponding to the inlet valve and the drain valve at each operating point, and find a safe valve position Xs of the drain valve that is not threatening for each operating point.
[0059] 3) Set the safety parameter group: Set a group of PID parameters as the safety parameter group of the control algorithm. Generally, the values are very small. Each parameter can be set between 1 / 40 and 1 / 50 of the PID initial value. When the target operating curve has a divergent trend or oscillates frequently during debugging, you can switch to this group of safety parameters to make the control effect of the PID controller slow down quickly and prevent the working condition from entering an uncontrollable state.
[0060] Based on the above inventive concept, a method for online debugging of a hydraulic dynamometer measurement and control system is provided, and specific details are shown in the following specific implementation manner.
[0061] Specific implementation method 1: The online debugging method of the hydraulic dynamometer control system described in this implementation method comprises the following steps:
[0062] Step 1: Under the open-loop control state of the hydraulic dynamometer, manually control the opening of the water inlet valve and the drain valve of the hydraulic dynamometer to cooperate with the operation of the prime mover, so as to obtain the empirical valve position of the water inlet valve and the drain valve at each working point of the prime mover, and the safety valve position of the water inlet valve and the drain valve applicable to all working points of the prime mover;
[0063] Estimate the initial values of PID parameters of the PID control algorithm of the PID controller in the measurement and control system through the response curve method;
[0064] Determine the safe value of PID parameters according to the initial value of PID parameters;
[0065] Step 2, under the control strategy of the PID controller for closed-loop control of the hydraulic dynamometer, starting with the initial value of the PID parameter, dynamically adjust the PID parameter value of the PID controller at each operating point, so as to obtain the target operating curve of the hydraulic dynamometer in the steady state under the corresponding control category, and complete the online debugging of the PID parameters of the PID controller of the measurement and control system; wherein, the observed value of the control category of each operating point in the target operating curve in the steady state meets the observation threshold range, and the transition time of adjacent operating points meets the transition time threshold range;
[0066] The control strategy for closed-loop control of the hydraulic dynamometer is:
[0067] Step 21, for each operating point under the currently given PID parameters, the PID control algorithm generates a corresponding actual drain valve control amount according to the control target of the corresponding control category of the input operating point;
[0068] Step 22, judging whether the difference between the actual drain valve control amount at each operating point and the ideal drain valve control amount at the operating point exceeds the safety boundary threshold Δ; wherein the ideal drain valve control amount at each operating point is the control amount corresponding to the empirical valve position of the drain valve at the operating point under the open-loop control state of the hydraulic dynamometer;
[0069] If the result is no, the PID control algorithm outputs the actual drain valve control quantity currently generated, and controls the opening of the drain valve of the hydraulic dynamometer through the actuator;
[0070] The result is yes. The hydraulic dynamometer is protected in two ways. First, when the current operating state of the hydraulic dynamometer does not pose a destructive threat to the prime mover, the initial value of the PID parameter is switched to the safe value of the PID parameter. For this operating point under the safe value of the PID parameter, the PID control algorithm generates the corresponding actual drain valve control quantity according to the control target of the corresponding control category of the input operating point, and controls the opening of the drain valve of the hydraulic dynamometer through the actuator; second, when the current operating state of the hydraulic dynamometer poses a destructive threat to the prime mover, the output of the PID control algorithm is invalid, and the current drain valve opening is controlled by the actuator to change at a uniform speed to the safety valve position.
[0071] The horizontal axis of the target operating curve in steady state under the control category is time, and the vertical axis is the observed value of each operating point, which is also the actual output value of the control category. The control category includes speed, torque and power curves. As an example, when the control category is speed, the tracking value is the actual output value of speed; the PID control algorithm is the prior art, and the PID parameter value of the PID controller at each operating point is dynamically adjusted in step 2 to obtain the target operating curve of the hydraulic dynamometer in steady state under the corresponding control category, which can be implemented using the prior art.
[0072] The present invention determines the closed-loop control strategy of the PID controller based on the safety valve position of the drain valve at each operating point of the prime mover under the open-loop control state, the set initial value of the PID parameter, the safety value of the PID parameter, and the safety boundary threshold value Δ of the drain valve. The safety valve position of the drain valve at each operating point of the prime mover under the open-loop control state has no dangerous safety valve position for the operating range, which ensures the control accuracy and safety of the closed-loop control strategy design, and the initial value of the set PID parameter is used as a reference to start the search to improve the convenience of the debugging process, and automatic protection is added to the closed-loop control strategy, that is: the safety value of the PID parameter is set, and the safety parameter value is set according to the initial value of the PID parameter, which further ensures the safety of the debugging process and avoids destructive threats to the prime mover.
[0073] The initial values of the PID parameters of the PID controller in the measurement and control system are estimated by the response curve method. The initial value setting can be achieved by the existing technology, which can be specifically:
[0074] The response curve method requires measuring the open-loop step response of the system, disconnecting the control system from the PID controller output point, applying a step input signal to the controlled object (hydraulic dynamometer), and recording the output of the hydraulic dynamometer as the response curve, specifically:
[0075] a. During open-loop debugging, the operating curve of the hydraulic dynamometer is obtained.
[0076] b. The operation of the hydraulic dynamometer in conjunction with the prime mover is similar to that of a self-balancing system, and the characteristics of the estimated curve;
[0077] K is the amplification factor, T is the time constant, τ is the delay factor, and R0 is the step input signal. Fig. 9 Draw a tangent line at the inflection point A of the response curve of the self-balancing system, and its intersection on the time axis is the delay time τ. The projection of the intersection with the c(∞) line on the time axis is the equivalent time constant T, and the amplification factor is: K=c(∞) / R0.
[0078] c. Estimate the initial values of the PID controller parameters by the response curve method, i.e. the proportional coefficient P (proportional degree 1 / δ), the integral coefficient I=P / Ti and the differential coefficient D=P×Td. δ is the proportional degree, Ti is the integral time constant, Td is the differential time constant, and the formula is as shown in Table 1:
[0079] Table 1 Response curve method empirical formula
[0080]
[0081]
[0082] Taking the debugging torque control as an example, the drain valve position of the hydraulic dynamometer is selected as the input of the system and the torque is selected as the output. The model identification of the hydraulic dynamometer is performed on this single-input single-output system, and the other parameters (water inlet valve opening, speed, water tower water pressure, etc.) are kept constant. When the hydraulic dynamometer is running at low speed, the water ring in the water cavity is not formed and the torque is unstable; high-speed full-load operation is not a common working condition of the prime mover, so the intermediate speed section parameters of the hydraulic dynamometer are selected as the test data of the typical working condition to obtain the mathematical model of the hydraulic dynamometer, and then the P, I, and D parameters are estimated by using the method in Table 1 as the initial values of the PID parameters of the PID controller.
[0083] After determining the control target and the initial values of the PID parameters of the PID controller, under the protection of the control strategy, the debugging personnel can debug the control system at will without worrying about causing harm to the hydraulic dynamometer and the prime mover.
[0084] The specific form of the closed-loop control strategy given includes the acquisition of initial values, the introduction of automatic protection opportunities, and the introduction of corresponding protection based on whether it poses a destructive threat to the prime mover. The current operating state of the hydraulic dynamometer does not pose a destructive threat to the prime mover, that is: it does not pose a destructive threat to the prime mover, but the control effect is not ideal.
[0085] The present invention obtains the control quantity through the control algorithm and judges whether the control quantity exceeds the safety boundary. If it does not exceed the safety boundary, the normal output is used as the instruction of the valve actuator. If it exceeds the safety boundary, the current state is judged. If the current state is that the control effect is not ideal, the current PID parameter can be set to a safety array to participate in the calculation. If the current state is a threat to the prime mover, the automatic control is exited and the valve position is slowly changed from the current position to the safety valve position at a certain speed.
[0086] Set safety margin: To ensure that the prime mover and the hydraulic dynamometer are within the safety range during dynamic debugging, set the safety margin based on the open-loop control data. Let the function Y = F(X), with the specific working condition as X = [X0, X1, X2...Xn], the ideal drain valve control quantity corresponding to the drain valve position under each working condition as Y = [Y0, Y1, Y2...Yn], and the ideal drain valve control quantity under each working point is the control quantity corresponding to the empirical valve position of the drain valve under the open-loop control state of the hydraulic dynamometer at that working point. Given X, Y, fit the function F. During the controller parameter adjustment process, the difference between the action value Yi of the actuator under the corresponding working condition Xi and the actual drain valve control quantity Yr is monitored in real time. If the difference is greater than the safety margin threshold Δ, the corresponding protection measures are taken.
[0087] Furthermore, the safety value of the PID parameter is m times the initial value of the PID parameter, and 1 / 50≤m≤1 / 40.
[0088] Specific implementation method 2: The online debugging device of the hydraulic dynamometer measurement and control system described in this implementation method is characterized in that the debugging device is an integrated intelligent box, and the industrial computer in the intelligent box is embedded with a control strategy for closed-loop control of the hydraulic dynamometer;
[0089] The control strategy for closed-loop control of the hydraulic dynamometer is:
[0090] Step 21, for each operating point under the currently given PID parameters, the PID control algorithm generates a corresponding actual drain valve control amount according to the control target of the corresponding control category of the input operating point;
[0091] Step 22, judging whether the difference between the actual drain valve control amount at each operating point and the ideal drain valve control amount at the operating point exceeds the safety boundary threshold Δ; wherein the ideal drain valve control amount at each operating point is the control amount corresponding to the empirical valve position of the drain valve at the operating point under the open-loop control state of the hydraulic dynamometer;
[0092] If the result is no, the PID control algorithm outputs the actual drain valve control quantity currently generated, and controls the opening of the drain valve of the hydraulic dynamometer through the actuator;
[0093] The result is yes. The hydraulic dynamometer is protected in two ways. First, when the current operating state of the hydraulic dynamometer does not pose a destructive threat to the prime mover, the initial value of the PID parameter is switched to the safe value of the PID parameter. For this operating point under the safe value of the PID parameter, the PID control algorithm generates the corresponding actual drain valve control quantity according to the control target of the corresponding control category of the input operating point, and controls the opening of the drain valve of the hydraulic dynamometer through the actuator; second, when the current operating state of the hydraulic dynamometer poses a destructive threat to the prime mover, the output of the PID control algorithm is invalid, and the current drain valve opening is controlled by the actuator to change at a uniform speed to the safety valve position.
[0094] Furthermore, the method for obtaining the empirical valve position of the drain valve at each operating point under the open-loop control state of the hydraulic dynamometer and the safe valve position of the drain valve applicable to all operating points of the prime mover is as follows:
[0095] In the open-loop control state of the hydraulic dynamometer, the opening of the water inlet valve and the drain valve of the hydraulic dynamometer is manually controlled to cooperate with the operation of the prime mover, so as to obtain the empirical valve position of the water inlet valve and the drain valve at each operating point of the prime mover, as well as the safety valve position of the water inlet valve and the drain valve applicable to all operating points of the prime mover.
[0096] Furthermore, the initial values of the PID parameters are obtained as follows:
[0097] The initial values of PID parameters of the PID control algorithm of the PID controller in the measurement and control system are estimated by the response curve method.
[0098] Furthermore, PID parameters include proportional coefficient P, integral coefficient I and differential coefficient D;
[0099] Control categories include speed, torque, and power curves;
[0100] The control targets include target speed, target torque and target power curve.
[0101] For further information, see Figure 3 The upper half of the front surface of the intelligent box is a display, and the lower half of the front surface of the intelligent box is an operation panel; the operation panel includes a keyboard and mouse, two manual knobs, and an emergency stop button; the two manual knobs are used to control the opening of the water inlet valve and the drain valve of the hydraulic dynamometer under open-loop control; the emergency stop button is used to directly lock the valve position in an emergency;
[0102] The industrial computer inside the intelligent box has four types of peripheral interfaces: serial port, Ethernet port, wireless module and hard-wired IO interface, and data communication with the hydraulic dynamometer is carried out through the corresponding peripheral interfaces;
[0103] The industrial computer is also used to control the display of the monitor;
[0104] The debugging device is also used to write PID parameter values into the PID controller via the keyboard, mouse, and industrial computer in sequence.
[0105] In this preferred embodiment, the debugging device uses a highly reliable industrial computer as the operating body, and is configured with a communication interface and a hard-wired interface. The industrial computer has a variety of communication interfaces to meet the actual data communication form. The interface form ensures real-time communication between the debugging device and the main system of the hydraulic dynamometer, where the serial port and Ethernet port communicate in a wired form, the wireless module can communicate in a wireless form, and the hard-wired IO interface is to exchange data through the input and output form of analog signals. Different interface forms are configured according to the measurement and control equipment requirements of different hydraulic dynamometers.
[0106] In the design stage of the online debugging method of the present invention, the corresponding control strategy can be obtained by testing through the debugging equipment. The specific debugging equipment is configured with a communication interface and a hard wiring interface to ensure that the debugging equipment can directly or indirectly obtain the real-time value of the control quantity and the controlled quantity of the hydraulic dynamometer, and execute the operation of the control algorithm in combination with the set value of the control target, and at the same time send the control algorithm result, that is, the valve position instruction of the water inlet valve or the drain valve to the actuator of the hydraulic dynamometer, and the actuator obtains and executes the control quantity in real time to maintain dynamic operation. The equipment can be used to debug the closed-loop control system of the hydraulic dynamometer, and after obtaining the appropriate strategy and algorithm, it will be transplanted into the PID controller of the hydraulic dynamometer measurement and control system for normal debugging.
[0107] The debugging equipment has a corresponding software system, which can ensure that the debugging process is safe, visible and easy to operate. The software system includes the following necessary functional features.
[0108] 1) Execute control algorithm;
[0109] ① The control amount can be calculated according to the algorithm when the target value is given;
[0110] ② The control algorithm can be modified or edited;
[0111] 2) Having a configurable interface;
[0112] ①You can set the target value or target curve on the interface;
[0113] ② You can set controller parameters on the interface;
[0114] 3) Having an observable interface;
[0115] ① The change curve of the variables involved in the current controller can be displayed on the interface;
[0116] ② The control response curve can be observed and traced back and analyzed on the interface;
[0117] 4) It has protection function;
[0118] ①When a threat is posed to the prime mover, a safety output under the corresponding state can be given;
[0119] ②When the controller diverges, the controller parameters can be forced to remain at the safe group value.
[0120] The above software features realize the semi-automatic online tuning of PID controller parameters. The operator can set the operating status through the display interface of the monitor, and then observe the operating curve in real time on the interface to judge the control effect, and then decide whether to change the controller parameters or how to change the controller parameters. In order to avoid the control risks that may be caused by poor parameters during operation, the protection action after the controller loses control is embedded in the program, which automatically limits the safety boundary of the controller execution. The operator does not need to devote part of his energy to control risks during the tuning process.
[0121] As an example:
[0122] The core of the debugging equipment software is to implement the control algorithm under a certain control strategy. The design of the core functions of the software includes the following aspects. Furthermore, the display interface on the display includes: control parameter setting interface, target value or target curve setting interface, current operating status and forced protection interface and control effect real-time observation interface.
[0123] (1) Including determining the parameters corresponding to the PID control algorithm. The parameters corresponding to the PID control algorithm include the proportional coefficient P, the integral coefficient I, and the differential coefficient D. For the control parameter setting interface, refer to Figure 4 ;
[0124] The controller parameter setting interface such as (P, I, D) is divided into two areas;
[0125] Area 1 has display and setting functions, including 4 groups of controller parameters, namely Stored (the last saved parameter group), Safe (the parameter group for system safety), Active (the current controller parameter group), and New (the setting controller parameter group).
[0126] Area 2 is the operation button. Apply safe means manually setting the current controller parameters to the safe parameter group. Save means manually saving the current parameter group. Apply new means setting the current parameter group to the newly set value.
[0127] (2) Including setting the control target. Combined with the test requirements of the prime mover, the control target is a target value or a target curve. The target value or target curve setting interface is shown in Figure 5 In the above interface, Step1, Step2, and Step3 indicate that three target operation curves can be set. Ramp, SP, and Hold indicate setting a set of target curves, which make the controlled quantity change from the current value to SP at a speed of Ramp (seconds) and keep Hold (seconds) for a certain time. Figure 5 The target curve represented by the settings in Figure 6 ;
[0128] In specific applications, the closed-loop control strategy can be used to start automatic control debugging and set control targets. The control effect of the hydraulic dynamometer from operating point ① to operating point ② is debugged, and the time it takes is T. Set static control targets and dynamic control targets according to the working characteristics of the prime mover. The static control target is to determine whether it can be stabilized at the operating point; the dynamic control target is to determine whether it can achieve a change from operating point ① to operating point ② within a specific time and accuracy. Figure 6 .
[0129] When T=0, it is step curve debugging, debugging the dynamic response characteristics of the controller;
[0130] When T!=0, it is ramp curve debugging, which adjusts the following characteristics of the controller.
[0131] (3) Current operating status and forced protection interface, see Figure 7 ;
[0132] After setting the target curve and PID parameters, click Start to execute automatic control.
[0133] Figure 7 In the current operation status interface, there are two areas:
[0134] Area 1 is divided into the debugging start button Start, and the real-time display of the current set value (SP) of the controlled quantity, the real-time value (I / P) of the controlled quantity and the control quantity (O / P) of the controller during operation.
[0135] Area 2 is the protection button M and protection status display. Click M to interrupt automatic control and force the control amount to a safe output value to protect the system. Figure 7 The box corresponding to area 2 displays the current controlled quantity and forced output value.
[0136] (4) Control effect real-time observation interface, see Figure 8 ;
[0137] Figure 8 The effect diagram of the real-time observation interface of the control effect is given. The horizontal axis of the diagram is the time axis, and the vertical axis can be selected as different observation quantities. For example, the set target value, the real-time value of the controlled quantity, the output control quantity and the system parameters related to the control factors. In specific applications, the interface can have the following functions:
[0138] ①The interface can display multiple curves at the same time;
[0139] ②The interface can display the curve in real time and can also replay the curve;
[0140] ③The interface can locally locate the scaling curve.
[0141] The interface displays the control response curve in real time. In this interface, the control response curve characteristics can be observed in time, and the disturbance factors can be accurately judged as a favorable basis for controller parameter adjustment. This display interface is combined with the controller parameter setting interface, so that the debugging personnel can clearly know which parameter needs to be adjusted next and in what trend to adjust the parameter.
[0142] After determining the control target and the initial values of the PID parameters of the PID controller, under the protection of the control strategy, the debugging personnel can debug the control system at will without worrying about causing harm to the hydraulic dynamometer and the prime mover.
[0143] In the control strategy design stage: debugging equipment in the human-machine interface, the debugging personnel can observe the dynamic control effect in real time, and make online tuning of the control algorithm parameters according to whether the dynamic debugging effect, such as control accuracy and real-time performance, meets the requirements of the prime mover. Combined with the tuning method, safety boundary and human-machine interface, the operator can focus on the controller parameter tuning itself and complete the parameter determination efficiently.
[0144] For further information, see Figure 3 , the debugging equipment has the function of debugging the open-loop control mode and closed-loop control mode of the hydraulic dynamometer;
[0145] The control objects corresponding to the open-loop control and closed-loop control modes are the opening of the water inlet valve and the opening of the drain valve;
[0146] The opening change of the inlet and drain valves is implemented by the actuators of the inlet and drain valves;
[0147] In open-loop control mode, the commissioning device uses two knobs to manually and continuously adjust the opening of the water inlet valve and the drain valve;
[0148] In the closed-loop control mode, the debugging equipment uses the control algorithm to automatically calculate the opening of the inlet and outlet valves. The input of the control algorithm has two sources: one is the control target set by the interface displayed on the monitor, and the interface setting is realized by the software interface combined with the keyboard and mouse; the other is the real-time data of the control-related elements, which is obtained by the corresponding sensors. Among them, the corresponding sensor for speed control is the speed sensor, the corresponding sensor for torque control is the torque sensor, and the corresponding sensor for the inlet and outlet valve opening is the valve position sensor.
[0149] Although the present invention is described herein with reference to specific embodiments, it should be understood that these embodiments are merely examples of the principles and applications of the present invention. It should therefore be understood that many modifications may be made to the exemplary embodiments and that other arrangements may be devised without departing from the spirit and scope of the present invention as defined by the appended claims. It should be understood that the various dependent claims and features described herein may be combined in a manner different from that described in the original claims. It should also be understood that features described in conjunction with individual embodiments may be used in other described embodiments.
Claims
1. The online debugging method of the hydraulic dynamometer measurement and control system is characterized in that: The method comprises the following steps: Step 1: Under the open-loop control state of the hydraulic dynamometer, manually control the opening of the water inlet valve and the drain valve of the hydraulic dynamometer to cooperate with the operation of the prime mover, so as to obtain the empirical valve position of the water inlet valve and the drain valve at each working point of the prime mover, and the safety valve position of the water inlet valve and the drain valve applicable to all working points of the prime mover; Estimate the initial values of PID parameters of the PID control algorithm of the PID controller in the measurement and control system through the response curve method; Determine the safe value of PID parameters according to the initial value of PID parameters; Step 2, under the control strategy of the PID controller for closed-loop control of the hydraulic dynamometer, starting with the initial value of the PID parameter, dynamically adjust the PID parameter value of the PID controller at each operating point, so as to obtain the target operating curve of the hydraulic dynamometer in the steady state under the corresponding control category, and complete the online debugging of the PID parameters of the PID controller of the measurement and control system; wherein, the observed value of the control category of each operating point in the target operating curve in the steady state meets the observation threshold range, and the transition time of adjacent operating points meets the transition time threshold range; The control strategy for closed-loop control of the hydraulic dynamometer is: Step 21, for each operating point under the currently given PID parameters, the PID control algorithm generates a corresponding actual drain valve control amount according to the control target of the corresponding control category of the input operating point; Step 22, judging whether the difference between the actual drain valve control amount at each operating point and the ideal drain valve control amount at the operating point exceeds the safety boundary threshold Δ; wherein the ideal drain valve control amount at each operating point is the control amount corresponding to the empirical valve position of the drain valve at the operating point under the open-loop control state of the hydraulic dynamometer; If the result is no, the PID control algorithm outputs the actual drain valve control quantity currently generated, and controls the opening of the drain valve of the hydraulic dynamometer through the actuator; The result is yes. The hydraulic dynamometer is protected in two ways. First, when the current operating state of the hydraulic dynamometer does not pose a destructive threat to the prime mover, the initial value of the PID parameter is switched to the safe value of the PID parameter. For this operating point under the safe value of the PID parameter, the PID control algorithm generates the corresponding actual drain valve control quantity according to the control target of the corresponding control category of the input operating point, and controls the opening of the drain valve of the hydraulic dynamometer through the actuator; second, when the current operating state of the hydraulic dynamometer poses a destructive threat to the prime mover, the output of the PID control algorithm is invalid, and the current drain valve opening is controlled by the actuator to change at a uniform speed to the safety valve position.
2. The online debugging method of the hydraulic dynamometer control system according to claim 1 is characterized in that: PID parameters include proportional coefficient P, integral coefficient I and differential coefficient D.
3. The online debugging method of the hydraulic dynamometer control system according to claim 1 is characterized in that: Control categories include speed, torque and power curves.
4. The online debugging method of the hydraulic dynamometer control system according to claim 1 is characterized in that: The control targets include target speed, target torque and target power curve.
5. The online debugging method of the hydraulic dynamometer control system according to claim 1 is characterized in that: The safety value of the PID parameter is m times the initial value of the PID parameter, and 1 / 50≤m≤1 / 40. 6.Online debugging equipment for hydraulic dynamometer measurement and control system, characterized in that: The debugging equipment is an integrated intelligent box, and the industrial computer in the intelligent box is embedded with the control strategy for closed-loop control of the hydraulic dynamometer; The control strategy for closed-loop control of the hydraulic dynamometer is: Step 21, for each operating point under the currently given PID parameters, the PID control algorithm generates a corresponding actual drain valve control amount according to the control target of the corresponding control category of the input operating point; Step 22, judging whether the difference between the actual drain valve control amount at each operating point and the ideal drain valve control amount at the operating point exceeds the safety boundary threshold Δ; wherein the ideal drain valve control amount at each operating point is the control amount corresponding to the empirical valve position of the drain valve at the operating point under the open-loop control state of the hydraulic dynamometer; If the result is no, the PID control algorithm outputs the actual drain valve control quantity currently generated, and controls the opening of the drain valve of the hydraulic dynamometer through the actuator; The result is yes. The hydraulic dynamometer is protected in two ways. First, when the current operating state of the hydraulic dynamometer does not pose a destructive threat to the prime mover, the initial value of the PID parameter is switched to the safe value of the PID parameter. For this operating point under the safe value of the PID parameter, the PID control algorithm generates the corresponding actual drain valve control quantity according to the control target of the corresponding control category of the input operating point, and controls the opening of the drain valve of the hydraulic dynamometer through the actuator; second, when the current operating state of the hydraulic dynamometer poses a destructive threat to the prime mover, the output of the PID control algorithm is invalid, and the current drain valve opening is controlled by the actuator to change at a uniform speed to the safety valve position.
7. The online debugging device for the hydraulic dynamometer control system according to claim 6, characterized in that: The method for obtaining the empirical valve position of the drain valve at each operating point under the open-loop control state of the hydraulic dynamometer and the safe valve position of the drain valve applicable to all operating points of the prime mover is as follows: In the open-loop control state of the hydraulic dynamometer, the opening of the water inlet valve and the drain valve of the hydraulic dynamometer is manually controlled to cooperate with the operation of the prime mover, so as to obtain the empirical valve position of the water inlet valve and the drain valve at each operating point of the prime mover, as well as the safety valve position of the water inlet valve and the drain valve applicable to all operating points of the prime mover.
8. The online debugging device for the hydraulic dynamometer control system according to claim 6 is characterized in that: The initial value of PID parameters is obtained as follows: The initial values of PID parameters of the PID control algorithm of the PID controller in the measurement and control system are estimated by the response curve method.
9. The online debugging device for the hydraulic dynamometer control system according to claim 6, characterized in that: PID parameters include proportional coefficient P, integral coefficient I and differential coefficient D; Control categories include speed, torque, and power curves; The control targets include target speed, target torque and target power curve.
10. The online debugging device for the hydraulic dynamometer control system according to claim 6, characterized in that: The upper half of the front surface of the intelligent box is the display, and the lower half of the front surface of the intelligent box is the operation panel; the operation panel includes a keyboard and mouse, two manual knobs, and an emergency stop button; the two manual knobs are used to control the opening of the water inlet valve and the drain valve of the hydraulic dynamometer under open-loop control; the emergency stop button is used to directly lock the valve position in an emergency; The industrial computer inside the intelligent box has four types of peripheral interfaces: serial port, Ethernet port, wireless module and hard-wired IO interface, and data communication with the hydraulic dynamometer is carried out through the corresponding peripheral interfaces; The industrial computer is also used to control the display of the monitor; The debugging device is also used to write PID parameter values into the PID controller via the keyboard, mouse, and industrial computer in sequence.
