AE03 Automotive Control and Simulation Assignment

Assignment Help Simulation in MATLAB
Reference no: EM133020981

AE03 Automotive Control and Simulation - Cranfield UniversityAutomotive Control and Simulation

Design Exercise - Cruise Control

Cruise control systems are designed to reduce driver workload on long journeys by maintaining a constant speed. With cruise control, drivers can easily maintain a constant speed without the need to keep the right feet on pedals. (Modern adaptive cruise control also incorporates systems to reduce the speed to avoid collisions, though this is beyond the scope of this exercise - very similar principles would of course be involved!)

In this exercise, you are given a model for the powertrain for a novel electric vehicle and you are asked to design an adaptive cruise control for it. Your input is a ‘wheel torque demand' signal - controlling the total torque applied at the wheels. This can be positive or negative, and the transition between electronic braking and mechanical braking is seamless. You will be asked to explore the model in the exercise, and to explain how it works and what it is representing. The output is a sensor that measures speed in km/h. The sensor - like most real-world sensors - is ‘noisy'.

You will be taken through a design exercise through a series of five questions. You will start by obtaining models suitable for control design, then you will design and test controllers with different techniques. At the end of the assignment, you should have a good practical understanding of the concepts required to design a basic feedback controller. If you look at the intended learning outcomes for this module, you will see that they are covered in full by this assignment. As well as being a ‘summative' assessment, I hope it will be a useful deep learning opportunity.

Question 1. A sensor system for measuring electric current has the following schematic:

2359_figure.jpg

a) Write down the differential equations describing the relationship between the measured current and the output voltage.

b) Without using Simscape (i.e. using integrators and the equation methods taught in lectures) integrating this, implement a Simulink model of the sensor system. By considering a step input of up to 10 A, illustrate the outputs of your model. (Select a suitable timescale for plotting, so that the dynamics are obvious.)

c) Using Laplace transforms, convert your differential equation into a transfer function. Comment on the locations of any poles and zeros and explain how these relate to your observed simulation behaviour.

Question 2. You have been given a set of Simulink models representing the EV powertrain. The main one is called ‘m01_plant_model.slx'.

a) Examine the model, and briefly answer the following questions:

(i) Which (if any) blocks in the model represent nonlinearities? Is the overall model linear or nonlinear?

(ii) How are noise and disturbances modelled?

(iii) What are the model's states?

b) Write a MATLAB program to trim and linearize the version of the model in the file ‘linearization_model.slx' for a steady-state speed of 96 km/h. (You can use the supplied template to help you get started.) Include a listing for your program in your write-up, as well as the transfer function. Use Simulink to compare the linear model with the original nonlinear one.

If you can't solve this question, there is a MATLAB file containing the outputs you would have got, which you can use for the rest of the assignment.

Question 3. Use frequency domain loop-shaping to design a feedback controller for cruise control. Aim for: A stable system, with phase margin of at least 60 degrees.

Steady-state disturbance rejection such that the variation in speed is imperceptible in the Simulink model.

Peak-peak noise in throttle signal that is imperceptible when viewed in the Simulink model. No overshoot in response to a change in set point.
The fastest possible response to a change in set point that (a) doesn't cause an overshoot, and (b) doesn't exceed 0.3 g.

As a control engineer, not every specification you are given will be feasible. If you cannot meet the aims, you should make sensible compromises and describe any trade-offs you have considered.

Your answer should include plots, code samples, etc., that illustrate your design process. You should ensure that you include a Bode plot showing your gain and phase margins, Bode magnitude plots showing T(s), S(s) and C(s) S(s) - if you use a prefilter, you should also include R(s) = T(s) Q(s).

You should test your controller in Simulink, showing a screenshot of your model's top level and relevant plots. Consider small speed changes (a few km/h) and larger demands. How big can the angle be before you see significant effects from nonlinearities in your system?

Question 4. Repeat Question 3, but this time use a PID controller using the following controller structure:

C(s) = kpe(t) + ki∫e(τ)dt + kd     de(t)/dt

Design your controller in the frequency domain using proportional, PI and PD weights, as shown in lectures. Do not use a prefilter.

In addition to answering the specifics asked for in Question 3, comment on and the advantages and disadvantages of the simplified PID method compared to the ‘full' frequency-domain loop- shaping method.

(Do not use the MathWorks PID Tuner - it deals with stability margins and time-domain response, but it doesn't make it easy to factor in noise rejection, and the resulting controllers are not ‘pure' PID controllers.)

Question 5. Using the pole placement method, design an observer that can estimate the state variables. Implement this in Simulink and determine how effective it is.

Your answer should include the following:

a) The state space model you use, with the states clearly identified.

b) Relevant code snippets showing how you found the observer gains.

c) Your Simulink model with the observer added. (Don't forget to account for the operating point input u0 in your implementation.)

d) A comparison between your observer's state estimates and the state measurements from the model's measurement bus. Comment on how effective this is.

Attachment:- Automotive Control and Simulation.zip

Reference no: EM133020981

Questions Cloud

Determining the foreign exchange market : International arbitrage tends to allow for a more orderly foreign exchange market, which in turn reduces transaction costs incurred by MNCs.
Prepare the journal entries for Stepney Ltd : Prepare the journal entries for Stepney Ltd (lessee) on 1 July 2019 and 30 June 2020. Show all calculations (Lease liability, Right-of-use Asset
What is philosophy : What is Philosophy? Do you have a personal philosophy in life? If so, what is your personal philosophy? Explain/describe briefly
Prepare the journal entries to account for the lease : The annual lease payment includes an amount of $4 000 to cover annual maintenance and insurance costs. Prepare the journal entries to account for the lease
AE03 Automotive Control and Simulation Assignment : AE03 Automotive Control and Simulation Assignment Help and Solution, Cranfield University - Assessment Writing Service
Prepare the appropriate journal entries for December : Prepare the appropriate journal entries for December 31, 2012; December 31, 2013; December 31, 2014 and December 31, 2015 using the information given
What is the purpose of the statement of comprehensive income : What is the purpose of the Statement of Comprehensive Income? What are the 2 options currently allowed for reporting Comprehensive Income
How many bytes will be required to represent the whole film : Each frame is 420 x 270 pixels and a 24-bit RGB color encoding is being used. How many bytes will be required to represent the whole film
Differences between public cloud service delivery models : Discuss the differences between public cloud service delivery models and on-premise models. How do these differences affect how your data is gathered and manipu

Reviews

Write a Review

Simulation in MATLAB Questions & Answers

  Calculate the minimum net business income carol

Calculate the minimum net business income Carol would include in her 2019 personal income tax return. In preparing your solution, ignore GST and PST implication

  Write a code that will represent the complex exponential

Write a code that will represent the complex exponential form of the Fourier series for a triangular signal, half wave rectified signal, full wave rectified signal, and train of pulses signal, use the table that the instructor will give you during..

  How the solute concentration varies in time

Matlab Problem - Evaluate and demonstrate using appropriate mathematical tools and graphs how the solute concentration varies in time

  Determine interval of absolute stability for modified euler

MA7006 - Numerical Methods: Convergence and stability theory - University of Chester - Determine the interval of absolute stability for the modified Euler

  Derive the equations for the system in discrete time

Write (1) in state space formulation, as a continuous time linear time invariant system. Derive the equations for the system in discrete time

  Draw the bode diagram of the compensator

Draw the Bode diagram of the compensator. Draw the Bode diagram of the compensated system and show the phase margin.

  Is it possible tom will catch jerry in his life time?

Use Adam-Bashforth Technique with your result from Runge-Kutta method as initial step to compute when will Tom catch Jerry - Suppose Tom's acceleration is unknown someone found did not catch Jerry in 2 minutes. Is it possible Tom will catch Jerry in..

  Develop a MATLAB program for solving the problem

301023 Advanced Computational Fluid Dynamics Assignment, Western Sydney University, Australia. Develop a MATLAB program for solving the problem

  Transform cos to sin by using matlab

need to transform cos? (whatever the frequency is) to sin? by using MATLAB - Obtain Hilbert transformation of cosine signal x(t)=cos?? by using MATLAB

  Write down the controller tf of this given design

For the Loop shaping design show the desired closed loop gain design, and the plot of the actual loop gain design to match the desired one in order to meet the specs. Write down the controller TF of this design

  Collision avoidance static and dynamic obstacle

Collision avoidance static and dynamic obstacle at autonomous vehicles using MPC controller by using simulink - Need a simulink model of collusion avoidance

  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.

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