What comfort zones do you find for these parameters

Assignment Help Simulation in MATLAB
Reference no: EM131758097

Problem 1

We consider a simple quadrotor, such as that shown in Fig. 1. We are

1757_Quadrotor.jpg

Figure 1: quadrotor

interested in controlling the vertical motion of the machine. The altitude can be changed by acting on the angular speed of an electric motor that turns the propellers. In turn, the propellers produce an upwards vertical force by pumping air downwards. The quadrotor's altitude above the ground can be measured via a infrared laser probe (LIDAR) when the quadrotor is close to the ground (altitude less than 2 meters above the ground). When the quadrotor's altitude is higher, the only reliable sensor is a pressure altimeter. The LIDAR provides altitude information at a nominal rate of 50 updates per second (or one update every 20 msec). The pressure altimeter runs a lot slower: it can provide altitude information at nominally two updates per second. We consider two control algorithms: One for high altitudes, and one for low altitudes. To make matters more precise, the quadrotor is a dynamical system consisting of the following elements: First, there is the dynamics of the electric motor and its propellers. The force response f of the propeller to a desired force fd satisfies the simplified differential equation

df/dt = 7.4f + 7.4fd. (1)

1. Using the programming language of your choice, simulate the "response" of the propeller when fd and f were originally at zero and fd follows the "step" profile shown in Fig. 2. For this simulation, use

1045_Profile.jpg

Figure 2: step

the approximation

df/dt ≈ (f(t + dt) - f (t))/ dt

with dt = 0.01 sec. Plot f (t) vs. time.

2. The rest of the vehicle is given by the differential equation

d/dt.z = v

d/dt.v = f,

where z is the altitude of the quadrotor, and v is its velocity.

A linear altitude controller for low altitude (altitude < 2m) was designed for the quadrotor as the differential equation:

dxc/dt= -5xc + 5(z - zd)

fd = 2.45xc - 2.5(z - zd),

where zd is the desired altitude of the quadrotor. xc is the state of the controller, in other terms, the controller is a dynamical system. xc has no particular significance a priori. Another linear altitude controller for high altitude (altitude > 2m) was designed for the quadrotor as the differential equation

dxc/dt = -xc + (z - zd)

fd = 99/800xc - 0.125(z - zd)

In this equation, xc is, again, the state of the controller. Qualitatively discuss the properties of both controllers: For example, is one "faster" than the other?

3. A Matlab simulation is provided to you. This simulation contains the effects of both the "low altitude" controller and the "high altitude" controller. The main file is "exam.m" and there is a function named "propag.m". Run the program and explain what it does relative to the system description above.

4. Explain the meaning of the parameters "dt", "total time", "sample length", and "duration".

5. What "comfort zones" do you find for these parameters from the viewpoint of simulating the system? Are these "comfort zones" the same?

6. Based on the simulation given to you, write a simulation to get the response of the helicopter to a 2m step up input, knowing the helicopter is at 1 meter altitude to begin with. Be careful when writing your simulation as the helicopter goes through the 2m boundary and must therefore switch controller at that point.

Problem 2

Write a one-page essay on the following topic

In, the authors propose a survey of Security, Safety and Privacy issues for UAVs. They list a set of common threats to be addressed to allow for the safe operation of UAV in the civilian airspace. Yet, one may note there are several challenges when modelling and then analysing these systems. In [2], the authors report on dependency loops between analysis (see section 2). These means that one need to consider the system as a whole, and not as a separate set of concerns (e.g. safety, security, performance, etc).

Taking the topic of CPS at large, select for one class of systems, two concerns (and associated analysis). Illustrate how optimising the system for one concern affects the other. Impact may be positive or negative. You are encouraged to go beyond the provided references and propose your own. You may consider safety, security, performance, energy, accuracy in reaching a goal (e.g. a position, a speed, etc.), etc.

Reference no: EM131758097

Questions Cloud

Positive association between weight and gas mileage : The following graph plots the gas mileage (miles per gallon) of various cars from the same model year versus the weight of these cars in thousands of pounds.
What is the present value of an annuity : What is the present value of an annuity in which $100 is paid each year for 6 years, assuming a discount rate of 4% and the first payment.
Compute the net income for the current year : Compute the net income for the current year, The only entries in Retained Earnings were for net income and a dividend declaration
Create an evaluation tool to assess your training plan : In your assignments, you are asked to create an evaluation tool to assess your training plan. Surveys are the most common form of assessment.
What comfort zones do you find for these parameters : What "comfort zones" do you find for these parameters from the viewpoint of simulating the system? Are these "comfort zones" the same
Corporation weighted average cost of capital : What is the corporation weighted average cost of capital?
What is the corporation cost of external equity : Dividends are expected to grow at $4.58 per share. What is the corporation's cost of external equity?
What effect does low outlier have on the correlation : The figure below is a scatterplot of reading test scores against IQ test scores for 14 fifth-grade children.
Tax cost of debt for the newly issued bonds : Rueven's flotation expenses on the new bonds will be $50 per bond. What is the pre tax cost of debt for the newly issued bonds?

Reviews

len1758097

12/9/2017 5:17:57 AM

?The provided address for article [1] in the second problem of the test gives a 404 Not Found error. Please use the link Taking the topic of CPS at large, select for one class of systems, two concerns (and associated analysis). Illustrate how optimising the system for one concern affects the other. Impact may be positive or negative.

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