Matlab Assignment Help

Contents

Matlab Assignment Help

Matlab is one of the most popular programs in the engineering field. It is usually very common in most of the electrical engineering assignment help requests as well as mechanical engineering homework help needs.This is because it is robust enough to perform complex computations in a straightforward manner. Its versatility also allows it to be able to be used in various engineering fields. Add to this the extra packages that allow it to display beautiful simulations and you have a tool that people in the engineering field cannot do without. However, because of its ability to do so much, mastering it in a limited time can be quite difficult. Students seeking to take advantage of its functionalities may, therefore, have a problem completing specific tasks. This can be very frustrating, especially considering how often the software is used in the engineering field. Luckily, if you are stuck as far as using Matlab is concerned, you can always ask for help. There are Matlab assignment help providers that can make completing your assignment easier.

However, before you decide to on which company to hire for their Matlab project help services, there are a couple of things that you should keep in mind. This is because not all companies who offer these services are qualified to offer them. As a result, settling for the first Matlab project help company that you come across could end up leaving you with substandard work.

What you should do to get the best Matlab assignment help provider

The good news is that there are things that you can do in order to get the right help. The following are steps that will come in handy when it comes to getting the best help possible.

Start by creating a list

The first step in getting the right Matlab programming assignment help is to create a list of the various companies offering these services. Doing a web search is a good place to start.  Create a list of the top companies offering Matlab homework help services that appear at the top of the results in search engines and then compile them in a word processor.

You can also go on popular academic forums where students discuss engineering assignments. Making inquiries in these forums will give you a list of great recommendations. Use these recommendations to build up your list.

Trim the list of Matlab assignment help providers

With your list ready, the next step is to trim it down. The most logical way to get this done is to rank them based on the reviews that you got.

If you got any recommendations from people in the forums, you are already ahead of the curve since with these websites, you can already assign to them the reasons why they are great. For the rest of the companies, look at their blogs and observe how active they are. You can also peruse through the comments section of their blogs and note down any recurring complaints. Next, you can go to academic forums and search specifically for the companies that you are evaluating.

With all the information that you have acquired by visiting academic forums, asking for personal recommendations and analyzing the various websites of Matlab project help companies, you can now make a decision on which websites you wouldn’t even think about entrusting them with your work. Trim down the list until you are left with about three options.

Get in touch

Having drilled down to a few companies, it is now time to have a feel of how good their services are. Send them an inquiry email and gauge how long it will take them to reply. Also, take note of the various communication tools that they have. This includes whether they support live chats and conferencing. Use this interaction to gauge how good they are at communication. You can also choose to place a basic order just to see how good their Matlab assignment help services are.

The feedback that you get, coupled with your experience, will then allow you to get the best Matlab programming assignment help.

matlab assignment help example

The advantages of getting the best Matlab assignment help

Taking the time to ensure that a team is qualified to handle your Matlab homework help needs has various advantages. The following are some of the most common ones.

Boost your grades

If you are falling behind as far as Matlab-related grades are concerned, you need not worry. This is because you can always ask for help from a team of professionals who solely work with Matlab.

Hiring a team of professionals will guarantee you better grades simply because they have a better understanding of Matlab. Since it is all they do, they have had years of experience dealing with Matlab computations, models and problems. The years of practice that they have had will make handling your assignments and projects easier for them.

A good Matlab assignment help provider will also guarantee the best grades simply because they have more time to do assignments and projects. They don’t have the inconvenience of attending classes, engaging in student social life or even handling assignments in other disciplines. Once you place an order for their services, that is all they will concentrate on. This additional time and dedication that they will give your work will guarantee quality, something that will go a long way towards making sure that you get the best grades possible.

Save time

With an experienced team, your assignments will be done at a faster rate. The number of errors in the final work that you submit will also be way less than usual. This will do away with the need of having to dedicate extra time to proofreading and editing your work, something that will go a long way towards improving the overall quality of your work.

If the deadline for an assignment, project work or homework is almost expiring, your best bet of avoiding penalties that usually accompany late submissions is to have the best Matlab assignment help team handle it. Since they have a better grasp, through years of practice, they will be able to arrive at solutions to problems much faster. Constructing models will also be easier for them. And what is even better is the fact that they can do this with almost no errors. Using them will therefore allow you to submit your assignments and project work within the timeframe provided by your tutor, lecturer or professor.

Preserve your scholarships

If you are on a scholarship, grades matter a lot. Falling behind in your schoolwork can put you at risk of getting kicked out. This is something that is very easy to avoid. All you have to do is seek Matlab programming assignment help.

If you get help from a team that specializes in handling Matlab assignments, you will get better grades. This is not only because of the fact that they will do a better job on your assignment, but also because the team will be able to take some of the pressure off your shoulders. This will then allow you enough time to focus on areas that need a little bit more attention.

If your scholarship is based on non-academic performance like sports, getting help with your assignments, projects and homework will allow you more time to practice. If it is an academic-related scholarship, you can assign some of the bulky assignments to a skilled team. This will then allow you time to concentrate on grasping and appreciating some of the engineering principles that need more time. By doing this, you can achieve an impressive mastery of the subject matter of your course, something that will go a long way towards landing you better grades. This will in turn preserve your scholarship spot for as long as you need it.

Boost your understanding and appreciation of Matlab

If you are having difficulties understanding how to use Matlab to solve various problems, you can gain a better understanding by taking advantage of teams that provide Matlab project help. This is because instead of getting stuck, you can simply have them solve the problem that you are dealing with and through the solutions that they provide, you can request them to give a step-by-step breakdown of every stage. Reverse-engineering the process of getting to the final result could be just what you need to get the breakthrough that you need.

Make school life more manageable

There is more to school-life than dealing with homework and assignments. Given how demanding most engineering courses are, it is sometimes almost impossible to deal with all assignments and at the same time have something that is close to a normal life.

With Matlab assignment help services, you can be able to meet the demands of your coursework without necessary missing out on other aspects of student life. This is because you can always delegate any extra work to a team of dedicated professionals whom you can trust to do the best work possible. This will allow you to live a balanced life. You will get the best grades possible while at the same time be able to enjoy the college or school experience that your institution offers. This will make you better prepared for the job market where all-rounded candidates are usually preferred.

Why Top Engineering Solutions is the best at providing Matlab assignment help

Top Engineering solutions is one of the best Matlab project help providers. With a team of professionals who are dedicated to ensuring customer satisfaction, they are best-placed to give you the quality work. The following are some of the reasons why their team has the best track record as far as customer satisfaction is concerned.

Timely delivery

Top Engineering Solutions prides itself in meeting project work and homework deadlines. This is made possible in part because of the strong work ethic that runs through the fabric of the organization. The fact that they have a team dedicated to dealing with technical projects and assignments also gives them an edge as far as getting the work done on time.

Choosing Top Engineering Solutions is an easy way of avoiding penalties for late submissions. Having their support as you tackle assignments and projects that need Matlab expertise will reduce the stress of deadlines, something that will make schoolwork more enjoyable.

Excellent formatting

At Top Engineering, how the work is presented is as important as the quality of the content. The company insists on providing their clients with work that has been properly formatted and which is ready for submission. Going through the work is also easy, making it convenient for clients to get a better understanding of the work. This also plays a role in guaranteeing better grades for their clients.

Great communication

When you are on a deadline, the last thing you need is a team that doesn’t give you progress reports or doesn’t respond to your emails. With this company, you will never have to worry about communication tools. Their team is not only great at responding to emails, but also has other means of communication at their disposal. They can give updates via live chat and are also reachable via phone. You will therefore never have to deal with the stress of your Matlab homework help team going silent on you when you are working with them.

Specialization

An increase in demand for academic services, like Matlab assignment help services, has seen a number of companies crop up with the sole aim of taking advantage of this demand. Unfortunately, these companies end up being too thinly spread to be able to master any given area. The result of this is shallow work that usually fails to meet expectations.

Top Engineering Solutions specializes in dealing with technical subjects. It has an experienced and qualified staff with advanced skills in coding, plotting and simulations. This, in addition to their mastery of other engineering software packages like Labview, CATIA, AutoCAD, SolidWorks and Siemens NX, means that they are well-equipped to provide creative solutions to whichever engineering problem you may have. Contact them now and get the help that you deserve.

Sample Matlab Assignment Help Tasks

Sample coursework related to matlab assignment help are provided below:

 

ENGT5101 Electromechanics

2015/2016

Design, Modelling and Analysing of a Vehicle Drivetrain using SimDriveline, and Model based design of a simple power transmission system

Please​​ note that the models shown were developed based on SimDriveline R2011b available from the University’s computer lab – other newer versions of the software should be able to achive the right results

About SimDriveline

SimDriveline​​ provides component libraries for modeling and simulating one-dimensional mechanical systems. It includes models of rotational and translational components, such as worm gears, planetary gears, lead screws, and clutches. You can use these components to model the transmission of​​ mechanical power in helicopter drivetrains, industrial machinery, vehicle powertrains, and other applications. Automotive components, such as engines, tires, transmissions, and torque converters, are also included. SimDriveline models can be converted into C code for real-time testing of controller hardware.

(​​ http://uk.mathworks.com/products/simdrive/)

Introduction

You have studied various components of machine system such as belt drives, clutch and gear systems but lack experience in design, modelling and analysis of this kind of system, for example, a Vehicle Drivetrain. ​​ This coursework is designed in such a way that you will first be familiar with simple system by exploring and analysing available examples, then moving on to define input into the system to investigate the output or the behaviour of the system. In addition, you will be required to model a Vehicle Drivetrain based on a well recognised system, and analyse the system behaviour with the aim to redesign or modify the system to meet different​​ operational requirements.​​ 

If you need to be familiar with Matlab / Simulink environment, please visit: http://uk.mathworks.com/products/simulink/index.html [1]

 

Learning Objectives

  • To be familiar with the basic building blocks of the SimDriveline model,​​ including their characteristics and purposes

  • To learn how to model different power transmission systems (e.g. gear and clutch systems) and vehicle drivetrain using SimDriveline

  • To learn how to analyse the system behaviour by defining input signals using signal builder and plotting of output signals with the use of scopes where appropriate​​ 

  • To be able to peform model based design with a simple case study (simple power transmission system)

  • To be able to describe and discuss the main features of model based design methodology.

Procedures:

  • Analysis of Simple and Variable Gear Systems [3] (20%)

Start the Matlab/Simulink application, open the following file:​​ sdl_simple_gear.mdl​​ as shown in Figure 1. Save another version of the file to a suitable directory with​​ other suitable filename to avoid changes to the original sample files.​​ 

[You can locate the file by clicking help – product help – simdriveline – demo – browse for simple gear – open this model; follow a similar procedure for the next two files.]

 

Figure​​ 1. Simple Gear

  • With the use of “help” application, briefly introduce the purpose of the Solver, Mechanical Rotational Reference, Simulink-PS Converter (and the corresponding PS to Simulink Converter), Inertia and Scope. Also explain the differences between PS and Simulink signals and how they are represented in the SimDriveline blocks.

  • Double click on both the sensor blocks, list the type of sensors used in this model and briefly introduce their functions.

  • Plot the output signals on the scope.

  • Introduce one of the meshing losses to the gear and plot the output signals on the scope, comment on the difference between the output signals

  • Now open the model as shown in Figure 2 by allocating and opening the file:​​ sdl_variable_gear.mdl, again rename the file.

Figure 2. Variable Gear

  • Briefly explains the Variable Ratio Transmission block and the​​ B, F​​ and​​ r​​ ports on the block.

  • Explain the purpose of the Signal Builder; plot the input signal from the Signal Builder and the output signals on the scope. ​​ 

  • Then add an​​ additional signal to the Signal Builder, alter the signal connection to the new signal, and plot the relevant system input signal and system output behaviour. ​​ Give your comment where appropriate.

  • Briefly discuss your observation of the results/plots obtained and draw necessary conclusions.

  • Analysis of Simple Hydraulic Clutch System (20%)

Now open the model as shown in Figure 3 by allocating and opening the file:​​ sdl_hydraulic_clutch.mdl, again rename the file.

Figure 3. Hydraulically-Actuated Driveline​​ Clutch

  • Explain the operation of the hydraulic clutch system.​​ 

  • Briefly introduces the components within the Hydraulic System and Hydraulic Clutch.

  • Plot the input signal from the Signal Builders (Throttle and Pressure) and the output signals on the scope (Engine and load RPM). ​​ 

  • Modify the input signals of the throttle and pressure to simulate other driving behaviour.

  • Plot the relevant system input signal and system output behaviour.

  • Comment on the differences on the Engine and load RPM.

  • Briefly discuss your​​ observation of the results/plots obtained and draw necessary conclusions.

  • Modelling and Analysis of a Vehicle Drivetrain (20%)

In this part of the work, you are required to create a vehicle drivetrain model as shown in Figure 4 using SimDriveline, which can also be used for controls development.​​ 

 

 

  • You can access the blocks through the Simulink Library Browser. Open the browser by clicking the Simulink button. In the contents tree, expand the Simscape entry, then the SimDriveline subentry.

  • You could do​​ this by referring to the demo from​​ http://www.mathworks.co.uk/videos/modeling-a-vehicle-powertrain-68822.html

  • The completed model should look similar to Figure 5. If the model doesn’t run properly, you may consider use the Generic Engine from the previous Hydraulic Clutch System.

Figure 5. SimDriveline Model of a Vehicle Drivetrain

 

  • Attach the model developed in the report. Explain the purposes of the torque convertor and the differential.

  • Plot the engine power and vehicle speed.

  • Now modify the system to investigate the behaviour of different parts.

  • Replace the simple gear with a variable gear (variable ration transmission), set the gear changes with a signal builder and a Simulink-PS Converter (e.g. in the variable gear model). Plot the relevant system input signal and system output behaviour.​​ 

  • Instead of driven by Constant Physical Signal (Open Throttle), simulate a driving behaviour where the driver increases power gradually, remain constant for a short interval and reducing at the same rate of increasing the power (similar to the Throttle signal in the Hydraulic Clutch model) . Plot the relevant system input signal and system output behaviour.

  • Briefly discuss your​​ observation of the results/plots obtained and draw necessary conclusions.

  • Model based design of a simple power transmission system (20%)

You have been assigned to design a suitable power transmission system consisting of a motor with gearbox to drive a​​ drum of 0.4m in diameter, as shown in Figure 6, in order to lift a mass of 400kg at a constant speed of 0.6m/s: ​​ 

Gearbox

Figure 6. A​​ power transmission system for lifting

  • With the use of model based design in Simulink, creat a Simulink model of the​​ system. Include the suitable sensor to monitor the speed of the motor and deduce the speed of the load in the model.

 

  • Design a suitable gear ratio for the gearbox, such that the maximum motor speed should be about 30rev/s. Then suggest a suitable motor torque based on the torque for lifting the load.

 

  • If the motor should achieve the final lifting velocity from 0 to 30rev/s in 1.3sec, workout the suitable torque for acceleration, by taking into considerations:

  • The moment of inertia of the load as seen by the​​ motor via the gear as 0.014kgm2,​​ 

  • The referred moment of inertia of the drum and gear as 0.023kgm2,​​ 

  • The moment of inertia of the motor, according to the manufacturer’s data sheet is 0.018kgm2.

 

  • Suggest a suitable final torque required by the motor.

 

  • With​​ reference to the DC Motor Model by Mathworks on​​ http://uk.mathworks.com/help/physmod/elec/ug/example--modeling-a-dc-motor.html,​​ create a more complete model integrating a customised version of the DC motor (with Voltage Source, PWM, H-Bridge and the relevant sensors) according to your design requirments, and simulate the behaviour of the system.​​ 

  • Include the simulation results/plot and discuss the results accordingly, draw relevant conclusions.

 

  • Additional Discussions (20%)

  • Briefly summarise the type of components that can be modelled in SimDriveline.

  • Briefly discuss the tradeoffs between accuracy and speed in terms of the driveline simulation performance.

  • Briefly discuss the limitations of the SimDriveline software (SimDriveline Help).

  • Briefly discusses how you can create Custom Components [5] if the components required are not available in the library by referring to the SimScape Language Guide.

  • Briefly discusses further procedures on Performing Hardware-in-the-Loop (HIL) Simulations and Deploying Drivetrain Models after the model has been built, simulated and analysed [5].

  • Include brief conclusions (summary of findings) in your report.

 

Preparation of report:

No​​ more than 25 pages​​ for the main content.

Please adhere to the​​ 5C​​ principle –​​ clear, concise, complete, technically​​ correct, and​​ critical​​ analysis.

This coursework will contribute 30% of your final total marks for this module.​​ Deadline for submission:​​ 3pm​​ Thursday 10 December 2015​​ (please submit to the FOTAC - Student Support Centre in Gateway House).​​ The electronic version of the report must​​ also be submitted via Turnitin,​​ which will be available​​ on Blackboard before the deadline.

 

References:

http://www.mathworks.co.uk/products/simdrive/demos.html

http://www.mathworks.co.uk/products/simdrive/webinars.html

  • Basic Motion, Torque, and Force Modeling

http://www.mathworks.co.uk/help/physmod/sdl/ug/basic-motion-torque-and-force-modeling.html

http://www.mathworks.co.uk/products/simdrive/

 

 

 

Other interesting models:

  • Modeling a Ratchet Mechanism with Leadscrew​​ 

http://www.mathworks.co.uk/videos/modeling-a-ratchet-mechanism-with-leadscrew-68824.html

  • Planetary Gear With Losses

http://www.mathworks.co.uk/videos/modeling-losses-in-a-planetary-gear-68819.html

  • Modeling a DC Motor

http://www.mathworks.co.uk/videos/modeling-a-dc-motor-68852.html

http://www.mathworks.co.uk/videos/pid-controller-design-for-a-dc-motor-68881.html

  • Simscape Language: Mechanical Example

http://www.mathworks.co.uk/videos/simscape-language-mechanical-example-68868.html

  • Simscape Language: Electronic Example

http://www.mathworks.co.uk/videos/simscape-language-electronic-example-73114.html

 

 

 

 

Engineering Systems: Dynamics and Control

2016/2017

Modelling, analysing, and designing control systems in MATLAB and Simulink

A Case Study based on a​​ Quarter (1/4) Car Model​​ (second order system)

 

Introduction

This coursework has been​​ developed with reference to the Interactive Control Systems Tutorial by MathWorks accessible on:​​ 

http://www.mathworks.co.uk/academia/student_center/tutorials/controls-tutorial-launchpad.html

You are advised to go through the controls tutorial above in details for better understanding of the control system design process. You may need to register as a user for the tutorial.​​ 

[Please note that this​​ coursework has been developed based on the​​ Matlab Version​​ R2011b​​ which is available in the computer labs. There may be some incompatibility issues with the newer version of software. However, there shouldn’t be any reason why this assignment cannot be completed with newer version of software.]

Learning Objectives:

Part 1: System Representation

  • Learn how to represent​​ linear time-invariant systems (LTI systems)​​ in MATLAB in both​​ transfer functions​​ and​​ state space equations, and to convert between different​​ representations.

Part 2: System Analysis

  • Learn how to analyse LTI system using the Control System Toolbox.

  • Carry out system analysis in the​​ time domain​​ to investigate system transient responses – to determine and visualise how systems respond over time to​​ different inputs.

  • Analyse systems in the​​ frequency domain​​ to understand how a system responds to oscillatory excitations.​​ 

Part 3: Control Design

  • Learn how to model LTI systems using​​ Simulink​​ blocks.

  • Learn how to tune compensator/controller with the use of​​ SISO Design Tool.

  • Learn how to tune compensator/controller with the use of​​ Simulink PID Tuner.

Part 1:​​ System Representation​​ (20 marks)

The​​ Quarter Car Suspension model​​ is a​​ second order system​​ that models one of the four suspensions in a typical car. ​​ The suspension and car body can be approximated as a mass-spring-damper system. ​​ The input to the system is the change in height of the road and the output is the vertical displacement of the car body.

Description: Mclaren F1 Illustration

Based on the free body diagram, we can obtain the​​ following 2nd order differential equation to describe the dynamics of this system:

By taking the Laplace transform, we can obtain the following transfer function:

 

Given m = 600kg; b=1,300Ns/m; and k = 25,000N/m

  • Represent the​​ Quarter Car Model​​ in​​ MATLAB in both transfer functions​​ [use of​​ tf​​ and​​ zpk​​ (zero-pole-gain form)​​ functions]​​ and state space equations​​ [use of​​ ss​​ function],​​ by converting between different representations. List these equations in your report. [Tip – use help file from Matlab to​​ see details on commands]

%% Model Parameters

m = 600;  ​​ ​​​​ %kg

b = 1300;  ​​​​ %Ns/m

k = 25000; ​​ %N/m

 

%% Transfer Function: Input Road Displacement to Output Car Displacement

car_tf = tf([b k],[m b k])

 

%% Zero/Pole/Gain Representation

car_zpk = zpk(car_tf)

%%​​ State Space Representation

car_ss =ss(car_tf)

 

 

Use​​ highlight​​ or boxes (like this one) for​​ your results, plots and writings​​ where appropriate so that I can easy identify the answers for marking and filter out other similarities.

 

This also help save​​ your time and concentrate on writing things that really matter.

 

 

  • Determine and comment on controllability​​ [use of​​ ctrb​​ and​​ rank​​ functions]​​ and observability​​ [ use of​​ obsv​​ and​​ rank​​ functions]​​ of the system from the state space equations.

%% Controlability

Co = ctrb(car_ss)

rank(Co)

 

%% Observability

Ob = obsv(car_ss)

rank(Ob)

  • Analyse and discuss the results and findings where appropriate.

 

Pay attention to write your own analysis, discussions and draw some simple conclusions. ​​ 

Write with your own​​ understanding and own words, never share your writing with anyone, or use any “copy-paste-modify” techniques in your report.

This is essential if you want to get 60% or above.

 

 

Part 2: System Analysis​​ (30 marks)

  • Carry out system analysis in the time domain to investigate system transient responses.​​ Determine and visualise how the system respond over time to step input. Use​​ stepinfo​​ command to confirm system characteristics found on the figure.​​ 

 

step(car_tf)

You can​​ right click​​ on your plot to show​​ system characteristics, and​​ clicking on those points​​ on the plot allow you to display the values in movable boxes.​​ 

You can also use​​ “Edit” -> “Copy Figure”​​ to paste the plot on your lab sheet – then​​ highlight

 

Use stepinfo for information on step response:

StepChar = stepinfo(car_tf)

 

  • Determine and visualise how the system respond over time to impulse input.

impulse(car_ss)

 

  • Determine the poles of the system using the​​ pole​​ command.

p = pole(car_tf)

 

 

  • Plot the pole-zero map of the system and command on​​ stability of the system.

 

pzmap(car_tf)

 

  • Plot the root locus of the system and command on stability of the system.

rlocus(car_tf)

 

  • Obtain damping characteristics using the​​ damp​​ function

[wn,z] = damp(car_tf)

wd = wn(1) * sqrt(1-z(1)^2)

 

  • Calculate and plot​​ the Frequency Response magnitude at specific frequencies using the command below

w = [0 wd/8 wd/4 wd/2 wd/1.5 wd/1.25 wd wd*1.1 wd*1.25 wd*1.5 wd*2 wd*3 wd*4];

h = squeeze(abs(freqresp(car_tf,w)));

figure

plot(w,h,'.-')

ylabel('Magnitude')

xlabel('Frequency [rad/s]')

title('Magnitude vs Frequency Graph')

 

 

  • Plot the Bode diagram of the system​​ to help investigate system characteristics such as phase margin and gain margin of the system.

figure

bode(car_tf)

grid on

 

  • Open LTI viewer to display more than one​​ plots, chose the step, impulse, pole-zero and bode​​ plots – click on Edit -> Plot Configurations

ltiview(car_tf)

 

  • Analyse and discuss the results and findings where appropriate.

Pay attention to write your own analysis, discussions and draw some simple​​ conclusions. ​​ 

Write with your own understanding and own words, never share your writing with anyone, or use any “copy-paste-modify” techniques in your report.

This is essential if you want to get 60% or above.

Part 3: Control Design of a DC Motor Driving​​ an Inertial Load (50 marks)

Description: http://www.mathworks.co.uk/help/releases/R2013b/control/examples/xxxfiguresdcdemofigures_01.png

In this section, let’s assume a dc motor has a transfer function obtained by the command:

dc_motor = tf([1.3],[1.3 14 43])

 

Note: For more information on how to obtain the transfer function, please refer to​​ SISO Example: The​​ DC Motor.​​ 

Determine the step response of the DC motor using:

step(dc_motor)

 

To do this, you will first used the sisotool method (SISO Design Tool):

 

sisotool(dc_motor)

 

 

 

 

 

 

 

3A) Automated Tuning Design

Now follow the instructions in the document​​ “Automated Tuning Design 2017.pdf”​​ or​​ http://uk.mathworks.com/help/control/getstart/automated-tuning-design.html;​​ include bode plot as plot 2. Plot the results in your report. You will use P controller and then follows by PI controller, please note the difference in value as the transfer function of the DC motor is slightly difference.

Take screen shots of the setting and plots and note down the four main system characteristics with PI controller…

 

 

It is necessary to further improve the system performance using a compensator, in this case a PID controller. You are required to improve the system performance, i.e.:

Steady-state error remain at 0

Rise time <​​ 0.25Sec

Settling time < 0.75Sec

Overshoot < 16%

Gain Margin > 45dB

Phase margin > 63°

 

This could be achieved by combining the​​ graphical tuning method​​ for better results. After automated tuning, update compensator,​​ click on graphical tuning, move the poles of the system and make adjustment on Bode diagram, you should see better system response on the step response, you should also see changes synchronised on the automated tuning window (notice changes to the compensator C).​​ Record and append your compensator C in the report in each case.

 

3B) PID Controller Tuning in Simulink

After this, you will use another method for tuning the controller, using the​​ PID tuner within Simulink. But first you need to represent the DC Motor model in Simulink. You will need to​​ build a model as follows (samples shown are based on different transfer function):

Start the Simulink application and create a new​​ model named “DC_motor_open_loop.mdl” or other name of choice.​​ Model the DC motor using Simulink –​​ Continuous – Transfer Fcn; Sources – Step; Sinks - Scope blocks​​ (for visualisation and analysis of the system later on). Display the Simulink model and step response of the system.​​ Note that the transfer function:​​ dc_motor =​​ tf([1.3],[1.3 14 43]))

Please note that the step time for the step input is 1 s. You may ignore the labelling of the signals. You may inspect the step input and system output by double-clicking on the scope.

Next, it is necessary to modify the model as below; you may save it as “DC_motor_autotune.mdl” or other​​ name of choice.​​ 

Next you will need to carry out automated tuning of the PI controller using the Simulink PID Controller Block. You should do this by following the steps described in the “PID Controller Tuning in Simulink 2017.pdf” document or​​ http://uk.mathworks.com/help/slcontrol/gs/automated-tuning-of-simulink-pid-controller-block.html.

 

  • Plot the system responses and discuss if the above​​ requirements have been achieved.

  • Compare and contrast the PID tuning based on SISO Design Tool and Simulink

  • Analyse and discuss the results and findings where appropriate.

  • Carry out literature search and briefly describe and discuss method(s) for implementing PID controller in real life (i.e. the hardware used and the necessary software implementation) – refer to references from Blackboard as necessary. These have also been covered in the lecture in details.

Pay attention to write your own analysis, discussions and draw some simple conclusions. ​​ 

Write with your own understanding and own words, never share your writing with anyone, or use any “copy-paste-modify” techniques in your report.

Part d) is essential for good marks on Part C.

This is essential if​​ you want to get 60% or above.

 

Preparation of report:

This coursework will contribute 15% of your final total marks for this module, with the following distribution (out of 100%):​​ Part A (20%), Part B (30%), Part C (50%).​​ Do not copy and paste external materials by just quoting references – do not repeat lab procedures by simply copy and paste. Label your diagrams with number and descriptions - all three parts should have some analysis, discussion and conclusions where appropriate.

Deadline for submission:​​ 23.59 Wed 12 April 2017. Please submit to FOTAC and via TurnItIn (which will be provided on BlackBoard​​ two weeks before deadline). You are encouraged to submit weeks before the deadline for better quality of life​​ .​​ 

No intentional or accidental​​ Plagiarism please!

 

 

Appendix:​​ 

PID Tuner (based on Simulink)​​ provides a fast and widely applicable single-loop PID tuning method for the Simulink(R) PID Controller blocks. ​​ With this method, you can tune PID parameters to achieve a robust design with the​​ desired response time.

​​ A typical design workflow with the PID Tuner involves the following tasks:

  • Launch the PID Tuner. ​​ When launching, the software automatically computes a linear plant model from the Simulink model and designs an initial controller.

  • Tune the controller in the PID Tuner by simply adjusting the response time. ​​ The tuner computes PID parameters that robustly stabilize the system.

  • Export the parameters of the designed controller back to the PID Controller block and simulate controller performance in Simulink.

References:

  • Automated Tuning Design

http://uk.mathworks.com/help/control/getstart/automated-tuning-design.html

 

  • SISO Example: The DC Motor

http://uk.mathworks.com/help/control/getstart/linear-lti-models.html

 

 

  • MATLAB Control System Toolbox ​​ - Getting Started Guide

http://uk.mathworks.com/help/pdf_doc/control/get_start.pdf

 

  • Interactive Control Systems Tutorial

http://uk.mathworks.com/academia/student_center/tutorials/controls-tutorial-launchpad.html?s_tid=srchtitle

 

  • Simulation and Animation of a Quarter-Car Automotive Suspension Model

http://www.mathworks.com/matlabcentral/fileexchange/35478-simulation-and-animation-of-a-quarter-car-automotive-suspension-model

 

http://blogs.mathworks.com/seth/2013/04/21/implementing-a-pid-controller-on-an-arduino-board/#view_comments

http://www.maelabs.ucsd.edu/mae156alib/control/PID-Control-Ardunio.pdf

 

  • PID Control Made Easy Matlab

https://www.youtube.com/watch?v=XYrVbEG4EOw&ebc=ANyPxKrJMAVo74_lqRk_bbuTV-ZBfp3hrx7zfMD_DTOuHOlM6kVtLGKvi_XCmUW3XrNguXos6vf1iOHTTsMzhWjhi2oC3YHz1Q

 

  • Making Control System Development Easier with MATLAB and Simulink-Introduction to Dynamic Simulation

https://www.youtube.com/watch?v=c8Fjk9TF6Y8

 

 

19