Lead lag compensator design matlab tutorial pdf

Lagcompensator the transfer function p z km p z the objective. Getting started with the control system designer matlab. Design via root locus elec304alper erdogan 1 1 lecture 1. Design a lead compensator to satisfy above requirements. This video walks through a phase lag compensator example using the root locus method. Then all of design parameters of compensator and design steps are implemented using matlab without manual calculation except the gain corresponding to.

Transfer function for lead compensator is given by, cs, where ba where ia i is zero, ib i is pole and ik is compensator gain 2. Topics of interest include shape optimization, multidisciplinary design, trajectory optimization, feedback, and optimal control. Nichols plot design nichols plot design is an interactive graphical method of modifying a compensator to achieve a specific openloop response. Design a lead compensator to decrease the settling time by three times. The reader is referred to those notes for details on the individual design procedures. Design of a leadlag compensator for position loop control of a gimballed payload conference paper pdf available april 2015 with 3,358 reads how we measure reads. Gain a better understanding of root locus plots using matlab. Modelling and control summaries by anthony rossiter. Finally, an example with simulation results is presented. Guy beale electrical and computer engineering department. A system which has one pole and one dominating zero the zero which is closer to the origin than all over zeros is known as dominating zero. In this section we introduce their structures and indicate their main properties. The recent literature shows a renewed interest in the design of leadlagtype controllers 98 for classical. Laglead compensator design using bode plots the gmu ece.

Closedloop step responses for the various systems defined in the example. The root locus plotted by using matlab on the figure window, click edit copy. Introduction as with phase lag compensation, the purpose of phase lead compensator design in the frequency domain generally is to satisfy speci. Design of a leadlag compensator for position loop control of a gimballed payload. The minor loop is designed to change the open loop poles and open loop transientresponse. First design the minor loop then design the major loop. Setiawan 2010 presented the evaluation of closedloop controller responses of a tini sma gripper using lag, lead and laglead compensators.

An interesting example of how you can use a matlab tool to design lead compensators with root locus check it out. Discretetime modeling and compensator design for digitally. Analytical and graphical design of leadlag compensators. Matlab is an interactive program for numerical computation and data visualization. For this example, design a compensator for the system. Relieving the drudgery of many routine repetitive manual operation, and more, most. Introduction the purpose of phase lag compensator design in the frequency domain generally is to satisfy speci. Dec 05, 2017 lead compensator design using bode plot enggs tech. Compensator design for speed control of dc motor by root. The instantaneous gain of the compensator is 1, and the dc gain is equal to 1z1p, where z is the zero and p is the pole of the compensator the block implements a lead compensator when 0 a. Evaluate the steady state performance of the lead compensated system to. After completing this tutorial, you will be able to learn various methods and techniques in order to improve the performance of the control systems based on the requirements.

In this page, you will learn how to design digital lead and lag compensators using the rootlocus design method. Phase lag compensator design using bode plotsandphase lead compensator design using bode plots, theses notes will concentrate on the use of those two designs together. So that the required phase margin without affected gain must. The steps to design the lag compensator are draw the root locus of the given open loop uncompensated. As with phase lag compensation, the purpose of phase lead compensator design in the frequency domain generally is to satisfy speci. The procedure of lag compensator design is same as lead only the change in procedure is of calculations for poles and zeros. To open the compensator editor dialog box, in control system designer, in an editor plot area, rightclick and select edit compensator.

Function gsis supposed to include the gain and the integration terms required to meet the steadystateaccuracy speci. Design of leadlag compensators for robust control roberto zanasi and stefania cuoghi. As with phase lag compensation, the purpose of phase lead compensator design in the frequency domain generally is to. Assumptions stable linear time invariant lti systems steadystate conditions given an input signal at frequency o, the output signal will also be at frequency o. In this post we will deal with lag compensator design with frequency domain specifica. The simplest network used for compensator are known as lead, lag network. It is a combination of both the lag and the lead compensators. Therefore, response of the system with lead compensator will be faster than lag compensator. Comparison between lead and lag compensators lead compensator lag compensator o high pass o low pass o approximates derivative plus proportional control o approximates integral plus proportional control o contributes phase lead o attenuation at high. Depending on the effect desired, one or more lead and lag compensators may be used in various combinations. The instantaneous gain of the compensator is 1, and the dc gain is equal to 1z1p, where z is the zero and p is the pole of the compensator. Design compensator for systems represented by frequency.

Laglead compensator is an electrical network which produces phase lag at one frequency region and phase lead at other frequency region. The frequency response of a compensator can be expressed as a curve in the. In this post we will deal with lag compensator design with time domain specifications and using the root locus technique. In this lecture we would see how to design a phase lag compensator 1. Tuning of a firstorder laglead compensator used with a. To train the students to use engineering tool, matlab, to create and extend its functions as necessary. Controller design is a common subject matter in the literature and there are many scientific studies in this regard.

There is a guideline to design digital lead and lag compensators. Lead compensator example draw bode plot of l1s using approximated bode plot pm is found to be 17o. The procedure for designing the laglead compensator is presented in section ii. Complete design performed in the frequency domain design oriented analysis based on intuitive relationships between frequency response and system specifications extensive design experience and existing, proven designs available. Learn frequency domain characteristics of lead, lag, and pid controllers in this matlab tech talk by carlos osorio. Validate your compensator design by simulating the nonlinear simulink model with the tuned controller parameters. Pdf design of a leadlag compensator for position loop. Bode plots after the design of the lead part of the laglead compensator. Leadlag compensator and notch filter notes edurev notes for is made by best teachers who have written some of the best books of. The equalizer emphasizes high frequency gain to make the total response flat at the high frequency part. In this, both phase lag and phase lead occur in the output but in different frequency region. The twostage refers to the number of gain stages in the opamp. Design via root locus california state university, sacramento.

A short tutorial mechanical engineering, purdue university spring, 2006 7 mohgaabdalrhmanet. With this design tool, control engineers would be able to rapidly design nonlinear lead andor lag compensators. The leadlag discrete or continuous block implements a leadlag compensator in conformance with ieee 421. Pdf design of a leadlag compensator for position loop control of. Design via root locus elec304alper erdogan 1 1 lecture. Control system design using bode plot lead, lag and leadlag. Single loop feedbackprefilter compensator design matlab. To provide attenuation reduction in magnitude after z. You should see on the encoder scopes that the square wave reference signals appear in. Run matlab and change your workspace to your folder on the c. In these editors, interactively modify the gain, poles, and zeros of the compensator. Lead and lag compensator design using root locus lectures 20, 21, 23, 24. Control systems course roadmap closedloop design by root locus. Craig 30 synthesize the compensator that must be inserted into the system, if other than gain adjustment is required, to make the required modification on the original locus.

You can design the compensator by shaping the openloop frequency response in either the bode editor or nichols editor. To implement a lead lag compensator, first design the lead compensator to achieve the desired transient response and stability, and then design a lag compensator to improve the steadystate response of the lead compensated system. When the openloop transfer function is in the form shown, with the coefficients of s all. Lead, lag and leadlag compensators are among the most utilised control architectures in industrial and process engineering, and for this reason they have always received a great deal of attention 3. The output buffer is normally present only when resistive loads needs to be driver. This should bring the phase margin back to where you wanted it. In the limit as k 0, the poles of the closedloop system are as 0 or the poles of hs. However, design method described there generally applies for improving the system response.

To satisfy the tracking requirement of zero steadystate error, add an integrator to the compensator. Compensation in control system lag lead compensation. Compensator design lead compensators lag compensators lead lag compensators bode design practice lead if the phase margin is insuf. Modelling and control summaries by anthony rossiter margins. Lead compensators design using frequency response techniques. Exercise 3 lead compensator a unity feedback system with the forward transfer function is operating with a closedloop step response that has 15% overshoot. In this paper compensator is designed by using matlab programming.

The transfer fcn lead or lag block implements a discretetime lead or lag compensator of the input. Oct 23, 2019 most electrical compensator are rc filter. Lag lead compensator is an electrical network which produces phase lag at one frequency region and phase lead at other frequency region. This is a section in the chapter on classical control analysis techniques. In the limit as k infinity, the poles of the closedloop system are bs 0 or the zeros of hs. Compensators, computer aided design, desired response specifications, matlab, root locus. The lag lead compensator circuit in the s domain is shown in the following figure. The laglead compensator circuit in the s domain is shown in the following figure. Lead and lag compensators design with root locus 1. Build the simulink model and once completed, connect to target.

Phase lead compensator design using bode plots prof. They are known as pd, pi, pid, phaselag,phaselead,and phaselagleadcontrollers. Index terms leadlag, bode plot, gain margin, phase. Use matlab to compare the responses with a simple gain design, a lag design and a lead design and comment on what you find. Question about the impulse response of a leadlag compensator. There is nothing you have to do with this simulink model other than build once. Pdf design of nonlinear lead andor lag compensators. Design the compensator for the following timedomain specifications. May 07, 20 designing a lead compensator with root locus brian douglas. You can add dynamics and modify compensator parameters using the compensator editor or using the graphical bode editor, root locus editor, or nichols editor plots compensator editor. Phase and gain margins learn what gain margin and phase margins are and how to use them for control design in this matlab tech talk by carlos osorio. Control system design by frequency response using matlab. Lead compensator increases phase margin by adding more phase to the system.

Designing a lead compensator with root locus youtube. So far we have discussed on an introduction to matlab and lag compensator design with bode plot. In matlab simulink we can design and analyze our system using model. Discretetime or continuoustime leadlag compensator simulink. In the previous post an introduction to compensator design with matlab we saw an introduction to compensators. Lag or phaselag compensator using frequency response. Designing digital lead and lag compensators using the. Designing a lag compensator with root locus youtube. Modelling and control summaries by anthony rossiter margins 12. Lead example the process is slightly simpler if we target the lead compensator design at a particular desired. The compensator improves the transient performance of the. A lead compensator in frequency response form is given by the following. In this example, the stabilization of the feedback loop and the rejection of the output disturbance are achieved by designing the pid compensator scdspeedctrlpid controller.

Design of a lead lag compensator for position loop control of a gimballed payload conference paper pdf available april 2015 with 3,358 reads how we measure reads. With this design tool, control engineers would be able to rapidly design lead andor lag compensators. No matter what we pick k to be, the closedloop system must always have n poles, where n is the. The instantaneous gain of the compensator is 1, and the dc gain is equal to 1z1p, where z is the zero and p is the pole of the compensator the block implements a lead compensator when 0 4. Lec41 compensator design using frequency response plots. May 20, 2014 hi, i am studying an equalizer which uses a lead lag compensator after a high frequency attenuated distortion. I have a buckboost converter which i modeled on matlab and i am trying to control it with a pd compensator. Root locus design is a common control system design technique in which you edit the compensator gain, poles, and zeros in the root locus diagram. Mathematical modelling and simulation of compensator for. Pdf closedform solution for design of leadlag compensators. Frequency domain techniques updated 18 march 2020 lead and lag compensator design using frequency domain techniques lectures 3437. Design of lead compensator using bode plots duration.

This compensator design, which is a pi controller, achieves a 20. Run the command by entering it in the matlab command window. In this this particular problem, we are not going to use the method described in that page and use our own educated analysis to design the compensator. A number of matlab functions are developed that automate the compensator design procedure. For the questions given here, use the mechanistic lead compensation rules to find a lead compensator. Lag compensators design using frequency response techniques ahmed abu. Feedback, op amps and compensation application note an9415 rev. Lead mechanics ii adding a lead to the ltf changes both the magnitude and phase, so it is di. Design of phase lead and phase lag compensator for pitch.

Design compensator using automated pid tuning and graphical bode design. It brings together the sections on bode and nyquist and use insights from these as a tool for feedback design using lead and lag compensation. The prefilter scdspeedctrlreference filter is used to tune the response of the feedback system to changes in the reference tracking open control system designer. Pdf computer aided design of lead compensator using root. A known nonlinear compensator design approach is adapted to allow design of nonlinear lead andor lag compensators, and a number of matlab functions are developed that automate the compensator. In servo application, the required gain must be constant. Siams advances in design and control series consists of texts and monographs dealing with all areas of design and control and their applications.

For this reason, the pole and zero of a lag compensator are often. About the tutorial this tutorial is meant to provide the readers the knowhow of how to analyze the control systems with the help of mathematical models. Pd or pid, check design with first order derivative filter to design a pdf or pidf controller, respectively. Lec41 compensator design using frequency response plots nptelhrd. Design via root locus elec304alper erdogan 1 35 two approaches for feedback. Lag compensator design i part 02 i superb concept i gate 2020 duration. To begin designing a leadlag compensator, an engineer must consider whether the system needing correction can be classified as a leadnetwork, a lagnetwork, or a combination of the two. Signal processing and data analytics definition both a lead compensator and a lag compensator have the same shape.

Consider compensation as adding poles and zeros to feedback section for the equivalent system. Adding derivative action to the controller gives the algorithm more freedom to achieve both adequate phase margin and faster response time. Pdf in the last few years digital controllers are widely used because of their excellent qualities of simplicity. However, i cannot achieve what is asked in the example namely a crossing frequency of less than 20 khz and a phase margin of at least 52 degrees. Design compensator for systems represented by frequency response data. Design via root locus elec304alper erdogan 1 35 two approaches for feedback compensation 1. To implement a leadlag compensator, first design the lead compensator to achieve the desired transient response and stability, and then design a lag compensator to improve the steadystate response of the leadcompensated system. Transfer fcn lead or lag mathworks makers of matlab. Lead and lag controller design in fractionalorder control. There are numerous studies on the design of proportionalintegralderivative pid controllers. In frequency response design, the phase lead compensator adds positive phase to the system over the frequency range 1 at to 1 t. Rlocus analysis design nyu tandon school of engineering. It is an excellent example to illustrate many important design concepts that area also directly applicable to other designs.

1047 189 755 85 1364 104 598 212 976 1269 1123 473 1002 1521 75 846 1380 686 799 1494 710 30 24 1634 793 206 1105 66 714 162 1132 1085 1532 1263 1285 341 534 870 440 1458 226 318 293 516 1488 1033 759 159