Thursday, April 4, 2019
Carrying out an open-loop step response on the process trainer pt326
Carrying by an stretch- eyehole step answer on the move flight simulator pt326INTRODUCTION The entertain constitutions are based up on the behaviour of the dynamics forms and it is also a branch of the engineering and mathematical model of the process. The coveted output of the organization is called as reference. A carryler is device which observes and exit the varietys in the output that are affected by the enter variables. And it is also use to operate the introduce variables to a system to achieve the desired result on the output of the system. It is very simple and conciliatory to solve using the mathematical model. In mark system shape, we have a concept of feedback avow system. The main concept of this feedback loop is to conquer the system per reboundance and it is a negative feedback because the sensed appreciate is subtracted from the desired value to produce the defect signal which is amplified by the ascendance. To avoid the problem of the open-loop dictation system, the oblige system initiated the feedback loop. Where as in closed loop system, the carry system uses the feedback to control the output of the process. unity of the most widely utilize controls in the design of continuous data control system is the pelvic inflammatory disease restraint, where pelvic inflammatory disease stands for the proportionate electropositive intact and derivative control. The PID ascendancy is mostly used in the feedback control design. The controller is used for the operation of the erroneousness signal to produce the control signal.Proportional (P) controlThis is the one type of action performed and used in the PID controllers is the proportional control. It is the simplest form of continuous control system that erect be used in the closed loop system. Proportional control is used to minimize the fluctuation in the process, but it does not allow to bring back to the postulate make up point. P-only controller provides the faster chemical reaction than other controllers. The system first allows the P-only controller in order to blend in the system a few seconds/minutes faster. The main advantage of the P-only controller is the faster response time, it produces the going from the situate point and this deviation is called off rank. Mathematical EquationsP-only controller linearly correlates the controller output (actuating signal) to the error (difference amidst measured signal and set point). In the mathematical form, the p-controller is given below Y(t) = Kc e(t) + b Where Y(t)= controller output Kc = controller gain e(t)= error b= bias In the above comparison the controller gain and bias are constant to each controller. The controller gain is the change in the controller output per change in the controller input. Bias is simply a controller output, when the error is zero. In the PID controller, when the signals are transmitted then the controller gain relates the changes in the output voltage to t he changes in the input voltage. Thus, the gain ultimately changes in the input and output properties. If the controller output changes more(prenominal) than the input, Kc is greater than one. If the change in the input is greater the controller output, Kc is less than one. Ideally, Kc is equal to infinity then the error will be reduced to zero. Exact equalities pratnot be achieved in the control logic. In this, the error will be allowed up to certain range of the system. Integral (I) give This is other type of action performed in the PID controllers is the integral control. Integral control is the second form of feedback control system. It is obtained used to remove the deviations that may exit. Thus the system moves to the steady differentiate and original lays. A positive error will cause the signal to be increase and whereas a negative error will cause the signal to be decrease the system. However, I-only controller is much slower in response time than the P-controller. Thus, the slower response time will be reduced by combining with another form such as P or PD controller. It is often used to measure the required variables to remain within a narrow range and also require a fine set control. Mathematical Equations I-controller correlates the controller output to the integral of error. The integral of error is taken with respect to time within a specified interval. In the mathematical form, the I-controller equation can be represented as Where C(t)= controller output Ti = integral time e(t)= error c(t0)= controller output before integration.Derivative (D) picture This is another type of action performed in the PID controllers is the derivative control. I-control and D-control are a form of a feed forward control. D-control anticipates the process conditions by analyzing the change in error. It main function is to minimize the change in error, thus keeping the system in a consistent setting. The main benefits of the D-controller is to resist ch ange in system, the most important of these being is oscillations.PI-controllersPI-controller is a combination of both proportional electropositive integral controller. This is the feedback controller which drives the process/plant to be controlled with sum of error and also the integral of that value. In PID controllers, we have not yet used the D-controller (D=kd=0). The basic block diagram of the PI controller is shown below,The controller output for the above closed loop system is Where is the error of actual measured value from the desired set point. = SP PV. The main advantage of the PI controller the integral terms in the PI controller causes the steady body politic error to be zero for a ramp input. The main disadvantes of using with the PI controller is the phase lag. This means that the phase margin decreases.Required Apparatus The report of this experiment is carried out on the Feedback Process Trainer, PT326. The design of the control system consist of a computer ,A/D and D/A converters, and a printer used to provide the copies of the response system. The networked PCs used to obtain the system design using the nyquist simulation method employing the design and simulation program CODAS.Explanation of PT326 According to the industrial situation, the PT326 process trainer model is commonly used. This situation appears when the temperature control is required in the presence of transport stand up and transfer lags. In this PT 326 process trainer, the trainer involves air that is strained from the atmosphere through a centrifugal blower and it is heated and passed over the heater through duct before it is being heated. The object of the control is to sustain the temperature of the air at the required level. The temperature control can be achieved by vary the electrical motive supplied to the heater grid. By using the bead thermistor which is placed in the ply at any three built in bed along the duct, the air temperature may be sensed. Th e process trainer introduces the transport delay in the system which is located between the thermistor and heat coil. By setting the opening of the throttle, the mass flow of the air can be puted through the duct. The temperature demodulators can be placed at any three of the position in the duct, so that these sensors can acts as a detector. The variation in the resistance of the temperature sensor is converted to the voltage variation through the bridge lap and is available at entrepot Y. The output of the temperature sensor can be used as feedback for connecting the terminal X and Y. The required temperature can be indicated by adjusting the knob label set value. In additionally, the set value can change the step by using the command throwing the switch as internal. An outside(a) referrence input can also be provided using the label as external. The difference between referrence input set value and feedback signal is availabel at terminal B and can be supplied to the heater motive supply so that the gain can be adjusted by using the prportional band. To select a continuous control, the signal at A can be send directly to the heater power supply by using the switch s. The switch s can be alternatively used as on-off controller as well as it is used to select the two step control. This on-off control command reponds to the maximum heater power when on and for the zero heater power it is off. The hysterisis is an on-off controller which can be adjusted by the knob label as overlap. The maximum heater supply can be adjusted using the knob label as max heater power. The process may be seen to comprise a simple blower in which air is drawn from the atmosphere, blown aside a heater grid and along a tube having a provision for several temperature to pull up. The purpose of the control system is to maintain the temperature of the air flowing in the tubeat some required set point. The output of the process is a temperature which is measured by the use f the thermistor bead transducer and bridge circuit.Procedure In the set of experiments of the PT326 process trainer, a personal computer acts as a contoller. deuce-ace controller are going to be investigated, a) Proportional control b) Integral control c) Proportional plus integral control. The final experiment make use of the analytical control system to show how the control theory can be used to calculate the behaviour of the control system. a) Proportional control use the computer program go into the controller setting menu. Set the controller to be a proportional only type i.e set the kp= 0.1, ki= 0, kd= 0. On the process trainer, adjust the throttle to 25o and place the sensor in the position away from the heater. Vary the proportional gain and maculation the represent of the steady state error against the proportional gain. Choose the value of gain we think for the best response and obtain the inter dump to get a copy from the printer. Finally, indicate on graph the onset of i nstability. b) Integral control Using the computer program go into the controller setting menu. Set the controller to be a integral only i.e set the kp= 0, ki=0.1, kd=0. On the process trainer leave the throttle at 25o and kep the sensor in the position away from the heater. Vary the integral gain and plot a graph of steady state error against the integral gain. Choose a value of gain that gives the best response of the system and obtain the privacy dump. Finally, indicate on the graph the onset of instability. c) Proportional-plus-Integral control Using the computer program go into the controller setting menu. Set the controller to be proportional-plus-integral type i.e set the kp=0.1, ki=0.1, kd=0. On the process trainer leave the throttle at 25o, and keep the sensor in the position away from the heater. Vary the proportional and integral gains until we get the best response from the system and obtain the screen dump. d) Open-loop step response Using the computer program PRESS o this will put the system under the open loop control. The programme will then automatically carry out an open loop step response. Obtain a screen dump for the open loop step response. From the loop step response it is possible to calculate the transfer function of the process trainer. The tranfer function has the form Where K is the open loop D.C gain of the system and Td is the pure time delay present in the system and Tp is the time constsnt for the system. It is possible to measure these values directly from the open loop step response.The steady state error for the control system can be derived as Steady state error = V/(1+kp k) e) After obtaining the open loop step response values like K, Tp, Td, e and R from the graph. surface the values of K,Tp and Td in MATLAB simulink. To simulate the plant only in open loop in CODAS. equal the time response with the actual plant open-loop response. f) Introduce the controller into the simulation and in frequency domain, adjust proportio nal gain to give the gain margin of 2 i.e., Nyquist plot (controller plus plant, open-loop) cuts the real axis at -0.5. observe the corresponding time response(controller plus plant, closed loop in time domain). g) avocation the Nyquist method (f), introduce an integral control term and observe the time response. h) Keeping the proportional plus integral control established in (g), adjust the overall gain(k) to give gain margin of 4,2,1.333,1 and 0.8 (corrresponding to the Nyquist plot cutting the real axis at -0.25, -0.5, -0.75, -1.0 and -1.25 respectively). Comparing the corresponding time responses on the same graph. i) Now,changing the overall gain back to 1 and substituting the proportional and integral gains as calculated using the (i) ziegler-Nichols and (ii) cohen and spade formulas. And comparing the time responses for the three methods (Nyquist,Ziegler-Nicholos and cohen and coon) on the same graph. j) Moving back to the industrial trainer, and substituting the PI gai ns that where obtained using the Nyquist method and observe the closed loop response. And finding to get fine tune PI gain to improve the performance of the system.MATLAB CODE (CODAS Program) The diagram represents the open loop step response of the system is The code for the plotting of the open loop step response of the sytem is hold back onxlabel(Time)ylabel(Input (red), Output (green))title(System response to a step input)plot(t,x,r)plot(t,y,g)grid on The code for the plotting of the closed loop step response of the system is hold onaxis(0.0 10.0 -10.0 2900.0)xlabel(Time)ylabel(Desired Output (blue), Actual Outputs)title(System responses to a step input)plot(t,x,k)plot(t,y,b)grid on The code for the nyquist process trainer in the nyquist plot for the closed loop response of the system is % Plant Gp(s)=K*exp(-Td*s)/(1+Tp*s)%K=1.266 % DC put onTd=0.35 % Time DelayTp=0.729 % Time Constant%num_p=Kden_p=Tp 1disp(Plant Transfer Function )plant_tf=tf(num_p, den_p,InputDelay,Td)%% C ompensator Gc(s)=Km*(Kp+(Ki/s)+Kd*s) = Km*(Kd*s2+Kp*s+Ki)/s%disp(Km )%Km=1.0Km=2.0/(2)%Km=1.0 % MultiplierKp=2.1397 % Proportional GainKi=0.857 % Integral GainKd=0.0 % Derivative Gain%num_c=Km*Kd Kp Kiden_c=1 0disp(Compensator Transfer Function )comp_tf=tf(num_c,den_c)%OL_tf=comp_tf*plant_tf%%Gain and bod Margins%Gm,Pm,Wcg,Wcp=margin(OL_tf)disp(Gain Margin ) Gmdisp(Phase Margin ) Pm%% Nyquist plot of OL TF for 0.2
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment