Determine the closed-loop step response using matlab for a


Title of the exercise

1 Introduction to MATLAB and Block diagram reduction using MATLAB

Estimate the damping coefficient, frequency, percentage

2 overshoot, settling time, peak time and plot the

Step response for a transfer function using MATLAB.

3 Determine the closed-loop step response using MATLAB for a system with unity feedback

4 For a unity-feedback control system with a specific transfer function, draw a Bode plot / Nyquist plot of G(s) using MATLAB.

5 Design a PID controller using MATLAB Simulink/codeThe amount of the current flowing through the body during an electric shock depends on the voltage and the resistance between the terminals of the voltage source. This resistance consists of: (1) resistance of the contact point between body and circuit (e.g., a ring or a watch), (2) skin resistance at the point the current flows into the body, (3) internal resistance of body, (4) skin resistance where current flows out of the body (e.g., shoes). Obviously, the larger the resistance, the smaller would be the current. Therefore, in order to minimize the electric shock hazard:

1. Always power down the electrical equipment, disconnect the power cord, and wait for a few seconds before touching exposed wires. Remember that circuit breakers are usually set for much larger currents (e.g., household breakers are at 15A and higher) than the current that kill a person (200-300 mA). Do not assume that because your circuit is powered with 5 V, it is not dangerous. In some circuits, capacitors can be charged to a much higher voltage and give you a nasty surprise. Death by electrocution has been reported at a voltage as low as 42 V (DC).

2. Do not wear rings, watches, necklace, and any other loose metallic objects. Rings and watches are especially dangerous as the skin beneath them is wet by sweat, making the resistance of skin much lower.

3. Make sure that your hands are dry. Resistance of wet skin can be as low as 1K Ohm as opposed to dry skin which is about 500K Ohm.

4. Make sure that your shoes are dry (especially in rainy days). Do not lean on metallic objects (like legs of the bench tables) as you are providing a very large contact area for the current to flow out of your body to ground.

In case of electric shock, cut the power and/or remove the victim as quickly as possible without endangering yourself. If the power switch is not readily available (remember the Lab Emergency Shut-Off Power switch near the door), use an insulting material such as dry wood, rope, belt, etc. The resistance of body decreases during a shock so action should not be delayed. Send someone to call for help immediately.

If the victim is unconscious and has stopped breathing, start artificial respiration at once. Do not stop until a medical authority has arrived and taken over. Do not stop even if the victim does not have a pulse.

Additional Lab Safety Rules:

1. Each group is responsible for the Lab bench. After the Lab exercise is over, all equipment should be powered down and all probes, cords, etc. returned to their proper position. Do not cut and drop wires on the Lab bench. Lose cut wires have caused many short circuits. Your Lab grade will be affected if your bench is not tidy when you leave the Lab.

2. Always get instruction on how to use the tools and instruments. Use only the tool designed to do the job in hand. One tool that requires special attention is the soldering iron. Careless use can result in painful burns and fire. Always put the hot iron in its holder. Turn the iron one only when you need to use it and turn it off when you are done (even if you may need it in 5 minutes). The short warm-up time is a small price to pay for the prevention of potential fire and burn hazards.

3. Do not wear rings, watches, necklace, and any other loose metallic objects (electric shock hazard). Do not wear lose clothing. They cause all sort on un- intentional accidents (from dropping equipment to being set on fire with a soldering iron).

4. No open drinks and/or food are allowed near the Lab benches. Spilled drinks have caused many accidents

General Instructions

1. Students are required to come regularly to Lab as attendance is compulsory.

2. During each Lab session, each student should individually perform an experiment, get its outcome verified by instructor, take print-out of the program listing and work on the conclusion and learning experience.

Task 1: Laboratory Work - Lab exercises that are to be performed under the supervisor and the instructions of the laboratory instructor. These exercises have been developed to help the student become familiar with the MATLAB Design tools. Exercise worksheets will be weekly uploaded on CCE Learn (Blackboard).

Exp. No
Title of the exercise
Task Expected

1 Introduction to MATLAB and Block diagram reduction using MATLAB To get introduced to MATLAB and to develop a MATLAB code to reduce the block diagram and to find the transfer function

2 Estimate the damping coefficient, frequency, percentage overshoot, settling time, peak time and plot the Step response for a transfer function using MATLAB. To develop MATLAB coding which can estimate

 ,n ,TS ,Tp ,Tr and percentage overshoot for the given specific transfer function and to plot the step response.

3 Determine the closed-loop step response using MATLAB for a system with unity feedback To understand and to develop a MATLAB code to determine the closed-loop step response for a control system with unity feedback

4 For a unity-feedback control system with a specific transfer function, draw a Bode plot / Nyquist plot of G(s) using MATLAB.
To develop a MATLAB code for a unity-feedback control system with given transfer function and to plot a Bode plot / Nyquist plot of G(s).

5 Design a PID controller using MATLAB Simulink/code To design a PID controller with appropriate Kp,Ki and Kd values using MATLAB Simulink/code and to plot the response curve.

Task 2:

For a paper industry in Oman, a central load controller with a second order model is to be designed. The control systems need to be equipped with a motor constant and a suitable amplifier gain to balance the operation. The load controller is set to work with unity feedback. The system is expected to perform on unit step input. Obtain the response for such system if the amplifier gain is at 30 and 60, using MATLAB script supplemented with mathematical evaluation.

If a disturbance is acting on the system with a unit step phase, determine the steady state error component for the system for the same amplifier gains. Also critically analyze its impact on the system and obtain the responses in MATLAB script supplemented with mathematical evaluation.

This is a group work with group size of maximum 3 students.

Students are expected to develop the solution for the given problem and submit a hardcopy of the report. The report must include:
- Explanation about the aims and objectives of the design problem given in the task.
- Detailed explanation about the generic nature of the system type and order with its performance and its response type.
- Detailed explanation about the impact of the disturbances in the selected second order system. Mention the steady state error components and its effect on the system.
- Detailed explanation of the theoretical/Mathematical approach on problem solving for the specified task with its evaluation of results.
- Brief demonstration/simulation of the design problem, outlining the fundamental functionality of the designed system and Simulations showing the specified output for the second order system, with and without disturbances.

- Screen shots of MATLAB script along with the responses must be attached for the simulations.

- Inferences and Discussion on the outcomes of this design exercise.

- Discussion on conclusion and recommendations for future work.
The final report should be submitted on or before 8th May 2017. All report must be submitted for turnitin checking. The project report should be neatly typed on A4 size papers. The following shall be the structure of the report:

a. Title sheet
b. Acknowledgements
c. Turnitin - Similarity Index Report sheet.
d. Abstract
e. Table of contents
f. Introduction ( Problem statement, Problem Analysis)
g. Design for problem solution (Theoretical, Mathematical and Simulation)
h. Proper diagrams and simulation scripts and necessary response outputs.
i. Result Analysis and Inferences
j. Conclusion
k. References

The maximum word limit is 2000 words

1. This work should be progressed over 4 week period. Students are expected to use the directed study hours and the Laboratory time for completing the course work.

2. Students should use their initiative to find suitable material from the following sources:
a. Textbooks, Reference Books, Lecture Notes etc.
b. The Library and Electronic library.
c. Learned and Popular literature, relevant magazine, articles etc.
d. The Internet.

3. A coursework report not conforming to the above specified will not be accepted.

Solution Preview :

Prepared by a verified Expert
MATLAB Programming: Determine the closed-loop step response using matlab for a
Reference No:- TGS02279325

Now Priced at $75 (50% Discount)

Recommended (93%)

Rated (4.5/5)