Implement a pid controller

Assignment Help Simulation in MATLAB
Reference no: EM132705453

Handout

Last week you programmed your robot controller to use a Finite State Machine or Subsumption architecture. This week we will be taking a look at feedback loops, specifically the PID controller. This controller should be used to allow you to follow the wall more accurately. I recommend you look through the lecture slides, and the ‘PID without a PhD' article linked on the module shell first.

This work is the second part to the Lab Portfolio assignment forming of 20% of the module mark. You will need to submit a report of around 2 sides, and your code contained in the appendix of this report. Further help for the report is contained in Week 4's Lab Handout and on blackboard under the assessment tab.

Task 1: Implement a PID Controller
- Start with the proportional controller.
- Find a way to store a set of previous error values, this will be used for the integral and derivative part of PID.
- Next, implement the Derivative section.
- Finally, the Integral section.
- You may need to limit the action - if the output of the PID controller is too large, set the action to a maximum threshold, e.g. "if output > 0.3 then output = 0.3" (where 0.3 is m/s of the turn speed of the Pioneer robot in VREP).

Task 2: Tune your PID Controller
- Tune the PID controller using the technique from the lecture, compare different tuning parameters to each other, which one is the best?
- Optional: Try other methods found from your own research. Which one do you find easier to follow?
- Remember to include this task in your report - and include images from the testing. Put the robot in different situations (i.e. by corners) to see how well the controller performs.

Reference no: EM132705453

Questions Cloud

Examine three significant changes brought forth by tax cuts : How do examine three significant changes brought forth by the Tax Cuts and Jobs Act and discuss at least two advantages and/or disadvantages of each.
Identify ethical perspectives in global organization : Identify a global organization with a multinational presence. Identify ethical perspectives in the global organization.
How measure the effectiveness of budgeting : Has post-1970 "budgetary reform" simply been a struggle for power between the legislative bodies and the executive, or have they been sincere efforts
How could you as health care administrator employ strategies : While this article is focused on the clinical side of patient care, how could you as a health care administrator employ these strategies in your own position?
Implement a pid controller : Implement a PID Controller - Find a way to store a set of previous error values, this will be used for the integral and derivative part of PID
Political interests of american citizens : Discuss one effect that the two-party system of the U.S. has on the political interests of American citizens.
Explain the significance of npv : Explain the significance of NPV, IRR, MIRR, PB, DPB and PI and make a convincing argument for the acceptance or rejection of this investment.
What is salvage value : What is salvage value? Why do we 'recover' NWC?
Emergency earthquake preparedness : What challenges might the organization face in implementing and maintaining the operations of the emergency earthquake preparedness?

Reviews

Write a Review

Simulation in MATLAB Questions & Answers

  Calculate the stress intensity factor

Use the three-parameter zone finite element method or the boundary collocation method to calculate the stress intensity factor K, at the crack tip for the plate

  Build a simulation using newtons laws of motion

Build a new and different simulation of your own using Newtons laws of motion and Show the code and describe how it works

  Write the specification of load mover

Write the specification of LOAD MOVER detailed of the whole design and precise for automatic control section and divide the design into various modules and Is the kernel required if yes which one?

  Design the automatic control section using statecharts

Aim of this project is to design an embedded system which can move loads from one place to another. The system can be operated manually, automatically and wirelessly.

  Need an expert who can model a drill in simulink

Need an expert who can model a drill in Simulink. Working model of a drill needing for an improvment to behave more realistically as a drill to drill through plastic block.

  Project is on load frequency control using fpid

Project is on load frequency control using FPID tuned using GA and PSO algorithm and the system is a two area system.

  Number of packets received with time

Let x be the number of packets received with time -

  Build a matlab based graphical user interface

Build a Matlab based graphical user interface (GUI) that operates in conjunction with a base Matlab/ Simulink simulation program. Any base simulation is considered acceptable.

  Build a matlab based graphical user interface

Build a Matlab based graphical user interface (GUI) that operates in conjunction with a base Matlab/ Simulink simulation program. Any base simulation is considered acceptable.

  Simulate the standardised sum of independent

Simulate the standardised sum of independent and identically distributed variates - Fit a linear regression model as in Q5, and plot your estimates for β0 and β1 as N increases, together with a line indicating their true values. Supply your code.

  Plot the original periodic square wave

Plot the original periodic square wave on the same graph. Comment on the difference between the original periodic square wave and its truncated Fourier series presentation.

  Use matlab to plot the function

Plot the original periodic square wave on the same graph. Comment on the difference between the original periodic square wave and its truncated Fourier series presentation.

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