Design a pid controller using matlab simulink

Assignment Help MATLAB Programming
Reference no: EM131483760

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.

Verified Expert

The work is about control system design. The task has been divided in two parts which are as follows. Task 1 compromise of the control system block reduction followed by the analysis and formation of the closed loop system response. Further plots for bode and Nyquist was done. Along with step response of the system. Task 2 is more of the design problem which has involved the creation of a sample second order system and various analysis needs to be done in this using that reference system

Reference no: EM131483760

Questions Cloud

Set up the appropriate primal model : A price taker owns an initial endowment of factors of production represented by the vector b. He intends to produce a vector of commodity outputs x1.
Cut costs in an increasingly competitive marketplace : has decided that it needs to make significant changes to its benefits package to cut costs in an increasingly competitive marketplace.
Define the asymmetric qp model : Given the LC problem (M, q) where the matrix M, vector q and vector z are partitioned as follows.
Derive the programming problem : Derive the dual specification and assemble the corresponding KKT conditions into an LC problem.
Design a pid controller using matlab simulink : Determine the closed-loop step response using MATLAB for a system with unity feedback - Design a PID controller using MATLAB Simulink/code
How to create this if statement in excel : If the discount applicable cell displays Yes, then subtract the cash discount from the change to determine the cash amount the patient owes.
Discount based on the original charge in column : If the logical test is true, the function calculates a 10% discount based on the original charge in column 1 for the respective patient.
Small business e-commerce portals : Check out Small Business Center and the other e-commerce portals mentioned. Then answer the questions.
Perform the physical design and implementation : Perform the physical design and implementation using SQL Data Definition Language (DDL) and proceed with populating the Mom and Pop Johnson Video Store database

Reviews

len1483760

5/4/2017 3:55:37 AM

7. During each Lab session, each student should individually perform the exercise, get its outcome verified by instructor, take print-out of the simulation results as instructed and work on the result analysis and conclusion. 8. Students are expected to submit the work sheet of the laboratory exercise in the dedicated submission column through the CCELearn (BlackBoard). 9. Marks award and feedback will be communicated through the CCELearn (BlackBoard).

len1483760

5/4/2017 3:55:09 AM

Component Weightage Total Marks Understanding on aims & objectives and principle of operation related to tasks to be performed. 20% 2 Working procedure, simulation result (along with software codes) and other alternative measurement methods (if any). 30% 3 Interpretation of the outcomes of tasks performed (Analysis/Discussion of results and Conclusion) and applications in case of experiments based work 20% 2 Report writing skills including preparation of graphs and aptitude on extending skills learnt 10% 1

len1483760

5/4/2017 3:54:57 AM

Component Weightage Knowledge and understanding of the topic 30% Application and analysis of the topic (Module specific Skill) 35% The structure in terms of logic and coherence 30% The use of relevant work examples 5%

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd