![]() Modify your m-file so that the lines defining your control are as follows. Let's try a PID controller with small and. Recall from the Introduction: PID Controller Design page, adding an integral term will eliminate the steady-state error to a step reference and a derivative term will often Requirements derivative and/or integral terms must be added to the controller. ![]() You can then vary the control gain in the Compensator Editor window and see the resulting effect on the closed-loop step response as shown below.Ī little experimentation verifies what we anticipated, a proportional controller is insufficient for meeting the given design Specifically, you can employ the Control System Designer by entering the command controlSystemDesigner(P_motor) or by going to the APPS tab and clicking on the app icon under Control System Design and Analysis and then opening a closed-loop step response plot from the New Plot tab of the Control System Designer window as shown below.Īfter that you can right-click on the plot and select Edit Compensator. This fact can be verified by experimenting with different values of. However, also recall that increasing often results in increased overshoot, therefore, it appears that not all of the design requirements can be met with a simple Recall from the Introduction: PID Controller Design page that increasing the proportional gain will reduce the steady-state error. Title('Step Response with Proportional Control')įrom the plot above we see that both the steady-state error and the overshoot are too large. In the figure below, annotations have specifically been added for Settling Time, Peak Response, and Steady State. You can view some of the system's characteristics by right-clicking on theįigure and choosing Characteristics from the resulting menu. You should generate the plot shown below. Add the following commands to the end of your m-file and run it in the command ![]() Now let's examine the closed-loop step response. Add the following code to the end of your m-file. To determine the closed-loop transfer function, we use the feedback command. Let's first try employing a proportional controller with a gain of 100, that is, C( s) = 100. Recall that the transfer function for a PID controller is: Create a new m-file and type in the following commands. Now let's design a controller using the methods introduced in the Introduction: PID Controller Design page.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |