+ All Categories
Home > Documents > A Typical R-L-C Circuit (Physical Model)

A Typical R-L-C Circuit (Physical Model)

Date post: 30-Dec-2015
Category:
Upload: navarro-lajara
View: 26 times
Download: 0 times
Share this document with a friend
Description:
A Typical R-L-C Circuit (Physical Model). Mathematical Model. Re-writing the final Eqn. ‘of Motion ’. The final simulink model now is shown below. See how you can change some aspects but get the same effect. Initial Conditions. OUTPUT. :. Open-loop response. - PowerPoint PPT Presentation
Popular Tags:
25
Transcript
Page 1: A Typical R-L-C Circuit  (Physical Model)
Page 2: A Typical R-L-C Circuit  (Physical Model)

Mathematical Model

Page 3: A Typical R-L-C Circuit  (Physical Model)

Re-writing the final Eqn. ‘of Motion’

Page 4: A Typical R-L-C Circuit  (Physical Model)

The final simulink model now is shown below. See how you can change some aspects but get the same effect.

Page 5: A Typical R-L-C Circuit  (Physical Model)

Initial Conditions

Page 6: A Typical R-L-C Circuit  (Physical Model)

OUTPUT

Page 7: A Typical R-L-C Circuit  (Physical Model)
Page 8: A Typical R-L-C Circuit  (Physical Model)
Page 9: A Typical R-L-C Circuit  (Physical Model)
Page 10: A Typical R-L-C Circuit  (Physical Model)
Page 11: A Typical R-L-C Circuit  (Physical Model)
Page 12: A Typical R-L-C Circuit  (Physical Model)
Page 13: A Typical R-L-C Circuit  (Physical Model)
Page 14: A Typical R-L-C Circuit  (Physical Model)
Page 15: A Typical R-L-C Circuit  (Physical Model)

:

Page 16: A Typical R-L-C Circuit  (Physical Model)
Page 17: A Typical R-L-C Circuit  (Physical Model)

Open-loop response

Page 18: A Typical R-L-C Circuit  (Physical Model)
Page 19: A Typical R-L-C Circuit  (Physical Model)

Implementing Lag Compensator ControlIn the 

motor speed control root locus example a Lag Compensator was designed with the following transfer function.

To implement this in Simulink, we will contain the open-loop system from earlier in this page in a Subsystem block.

Create a new model window in Simulink.Drag a Subsystem block from the

Connections block library into your new model window.

Page 20: A Typical R-L-C Circuit  (Physical Model)

Double click on this block. You will see a blank window representing the contents of the subsystem (which is currently empty).Open your previously saved model of the Motor Speed system, motormod.mdl.Select All from the Edit menu (or Ctrl-A), and select Copy from the Edit menu.

Select the blank subsystem window from your new model and select Paste from the Edit menu (or Ctrl-V). You should see your original system in this new subsystem window.Close this window.

Page 21: A Typical R-L-C Circuit  (Physical Model)

You should now see input and output terminals on the Subsystem block.Name this block "plant model".Now, we will insert a Lag Compensator into a closed-loop around the plant model. First, we will feed back the plant output.

Draw a line extending from the plant output.Insert a Sum block and assign "+-" to it's inputs.Tap a line of the output line and draw it to the negative input of the Sum block.

Page 22: A Typical R-L-C Circuit  (Physical Model)

The output of the Sum block will provide the error signal. We will feed this into a Lag Compensator.Insert a Transfer Function Block after the sum and connect them with a line.Edit this block and change the Numerator field to "[50 50]" and the denominator field to "[1 0.01]".Label this block "Lag Compensator“ as seen on the next slide.

Page 23: A Typical R-L-C Circuit  (Physical Model)

Finally, we will apply a step input and view the output on a scope.Attach a step block to the free input of the feedback Sum block and attach a Scope block to the plant output.Double-click the Step block and set the Step Time to "0".

Page 24: A Typical R-L-C Circuit  (Physical Model)

Closed-loop response

To simulate this system, first, an appropriate simulation time must be set.

Select Parameters from the Simulation menu and enter "3" in the Stop Time field.

The design requirements included a settling time of less than 2 sec, so we simulate for 3 sec to view the output.

The physical parameters must now be set. Run the following commands at the MATLAB prompt:J=0.01; b=0.1; K=0.01; R=1; L=0.5;

Run the simulation (Start on the Simulation menu). When the simulation is finished, double-click on the scope and hit its auto-scale button. You should see the following output.

Page 25: A Typical R-L-C Circuit  (Physical Model)

Closed loop output


Recommended