2024A-MEAM513-HW06
pdf
keyboard_arrow_up
School
University of Pennsylvania *
*We aren’t endorsed by this school
Course
513
Subject
Mechanical Engineering
Date
Apr 3, 2024
Type
Pages
3
Uploaded by SuperHumanWaspMaster925
Black Box Lab, State-Space Representation & PD Design 2024A MEAM 513/ESE 505 – Homework #6 – Upload by Friday 2024-03-22 @ 11:59PM 1 1.
Black Box Lab Analysis Make a pretty bode plot that shows your data from the lab as markers (no line). If you missed lab or you did the analog feedback project instead of measuring the frequency response, just make a note of that on your graph and use the data provided here. Now develop a dynamic model for the system that is inside the black box. You should be able to make a reasonable guess about the order of the system based on clues like the slope of the gain curve and the phase at high frequency. Do there appear to be any lightly damped modes in the system? Write the model in both state-space form and as a transfer function. Then add the bode plot that represents the model to the graph with your data. Be sure to use lines with no markers for the model. You should adjust the model until you get a decent fit. As a bonus for anyone who understands op-amps and RC circuits, here is a simple circuit diagram of the contents of the black box. Even a rudimentary understanding of the circuits might allow you to quickly create a reasonable state-space model of the system. Again, state models are often a very natural and intuitive way to write differential equations to describe system dynamics. If we design a proportional feedback controller, what gain would result in a phase margin of 60 degrees? Use the state-space representation of the system to determine the position of the closed-loop poles corresponding to this gain. (Hint: You can do this with a single call to the Matlab eig
command, once you have defined the A, B, and C matrices.) SUBMIT
: Your state matrices, your pretty graph, the value of the proportional gain you chose, and the locations of the closed-loop poles with that gain. Freq
[Hz]
Ranalog
[db]
PhaAnalog
[deg]
0.1
6.1
-6
0.5
5.7
-25
1
5
-47
2
2.3
-88
3
-1.1
-120
4
-4.7
-142
6
-11.5
-178
8
-17.1
-190
10
-20.6
-221
Black Box Lab, State-Space Representation & PD Design 2024A MEAM 513/ESE 505 – Homework #6 – Upload by Friday 2024-03-22 @ 11:59PM 2 2.
Robotic Car with Trailer In class, we derived a linear state-space model for a car-like robot with two trailers. The state matrices can be written as follows: 𝐴 = ൦
0
0
0
0
𝑎
−𝑎
0
0
0
𝑎
−𝑎
0
𝑎
0
0
0
൪
𝐵 =
𝑎
0
0
0
𝐶 = [
0
−1
−1
1
]
where 𝑎 =
. The (4,1) element of A and the (1,4) element of C are different from what we wrote in class because distances have been normalized by the length of the car, L
. Show that this model corresponds to the following scalar transfer function: 𝐺
(𝑠) =
𝑎
ସ
𝑠
ଶ
(𝑠 + 𝑎)
ଶ
where the output is the normalized distance of the second trailer from the wall and the input is the steering angle on the car. Both system representations have been implemented in the Simulink model provided on Canvas, using (a = 1.0/sec), which corresponds to the robot driving at a speed that takes one second to travel the length of the body
1
. Why didn’t we just use a regular unit step as the input to the open-loop system?
Oops!
There is at least one mistake
in the state-space implementation that makes the two outputs differ. Find and fix it and submit the resulting step-response graph. Also be sure to check out the Scope that shows the state response so you understand what is going on. 3.
Classical Control Design Let’s design a feedback controller for the plant using the “classical control” tools we learned in the first half of the class. Suppose we have a measurement of the distance of the second trailer from the wall, y
, and we want it to track a desired distance, y
d
. a.
Let’s see if a PD controller might work. In other words, let’s try 𝑢 = 𝐾
(𝑦
ௗ
− 𝑦) + 𝐾
(𝑦
ௗ
̇ − 𝑦̇)
Let’s
write
the
feedback
in
the
following
form
:
𝑢 = 𝐾𝐺
(𝑠)(𝑦
ௗ
− 𝑦) = 𝐾(𝑇
𝑠 + 1)(𝑦
ௗ
− 𝑦)
where
𝐾 = 𝐾
and 𝑇
=
ವ
ು
. For part (a), the only thing you have to submit is a short explanation of why it is reasonable not to use integral feedback for this problem. 1
You could also think of this as normalizing by the time it takes the robot to travel the body length, so instead of using “seconds” we are using “body_length_times”.
Black Box Lab, State-Space Representation & PD Design 2024A MEAM 513/ESE 505 – Homework #6 – Upload by Friday 2024-03-22 @ 11:59PM 3 b.
Okay, we have a two-parameter design problem. Solve it. Choose values of K
and 𝑇
in the controller to get the system to behave in a way that you think is reasonable. You may use whatever tools you want to do the design, including simulation, root locus and bode. But you don’t have to give details of the process. When you are done, implement the design in Simulink and show a closed-loop step response. c.
Once you have the final values of K
and 𝑇
, make a nice root locus (varying K
with 𝑇
fixed at the value of you chose), and use it to explain how your value of K
makes sense. d.
Finally, make a loop bode plot of 𝐾𝐺
(𝑠)𝐺
(𝑠)
and use it to explain why your design makes sense (hint: margins). SUBMIT
: An explanation of why we didn’t use integral feedback; a closed-loop step response; root locus with explanation; and a bode plot with explanation.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Documents
Related Questions
Identify the lines
arrow_forward
4. Documents business requirements use-case narratives.for only one process
note: please i want Documents like this in pic
arrow_forward
Don't Use Chat GPT Will Upvote And Give Handwritten Solution Please
arrow_forward
Problem 3 (40 points) (CCOs 1 & 3)/MatlabGrader
On Canvas, you will find a Matlab function file process.p that takes as input the variable x and returns as output the result of
a complicated process g (x). Copy the file into your working directory and use it as any other Matlab .m file or build-in intrinsic
Matlab function (just call it using its name process). The only difference between a .p and a .m file is that the source code of the .p
file is not visible.
Find all roots of g(x) in the interval 0 ≤ x ≤ 10 to a tolerance in function of at least 10-10 using mySecant from problem 2.
Recall that any .m or .p function file can be passed as an argument into another function by prefacing the function name by a
@, e.g., @process can be passed as an argument into any Matlab function that uses a function as an input argument, for example
fplot(@process,...) for plotting a function.
Store all found unique roots in a column vector root, the corresponding tolerances in function in a column…
arrow_forward
K
mylabmastering.pearson.com
Chapter 12 - Lecture Notes.pptx: (MAE 272-01) (SP25) DY...
P Pearson MyLab and Mastering
Mastering Engineering
Back to my courses
Course Home
Scores
Course Home
arrow_forward
mylabmastering.pearson.com
Chapter 12 - Lecture Notes.pptx: (MAE 272-01) (SP25) DY...
P Pearson MyLab and Mastering
Scores
arrow_forward
I need help with the first part and Matlab for this problem
arrow_forward
please put into DMS format with final solution. Thank you
arrow_forward
Question number 1
arrow_forward
Hartley Electronics, Inc., in Nashville, producesshort runs of custom airwave scanners for the defense industry.The owner, Janet Hartley, has asked you to reduce inventory byintroducing a kanban system. After several hours of analysis, youdevelop the following data for scanner connectors used in onework cell. How many kanbans do you need for this connector?Daily demand 1,000 connectorsLead time 2 daysSafety stock 12 dayKanban size 500 connectors
arrow_forward
I want to run the SGP4 propagator for the ISS (ID = 25544) I got from spacetrack.org in MATLAB. I don't know where to get the inputs of the function. Where do I get the inFile and outFile that is mentioned in the following function.
% Purpose:
% This program shows how a Matlab program can call the Astrodynamic Standard libraries to propagate
% satellites to the requested time using SGP4 method.
%
% The program reads in user's input and output files. The program generates an
% ephemeris of position and velocity for each satellite read in. In addition, the program
% also generates other sets of orbital elements such as osculating Keplerian elements,
% mean Keplerian elements, latitude/longitude/height/pos, and nodal period/apogee/perigee/pos.
% Totally, the program prints results to five different output files.
%
%
% Usage: Sgp4Prop(inFile, outFile)
% inFile : File contains TLEs and 6P-Card (which controls start, stop times and step size)
% outFile : Base name for five output files
%…
arrow_forward
Please do not rely too much on chatgpt, because its answer may be wrong. Please consider it carefully and give your own answer. You can borrow ideas from gpt, but please do not believe its answer.Very very grateful!
Please do not copy other's work,i will be very very grateful!!
arrow_forward
I was given a practice question for transforming equation. In the image I will have a slide the lecture note of an example of it being done but I do not understand what was done exactly. Please explain how to answer the question. Thank you
arrow_forward
You are watching a live concert. You can also find the concert streaming live on Spotify. About how far must you stand from the stage in order for
the live concert and the live stream to be perfectly in sync?
HINT: Assume the radio signal (Spotify) has to travel all the way around the Earth.
circumference of the Earth (average): 40,041,000 m
Speed of sound: 345 m/s
Speed of light: 300,000,000 m/s
arrow_forward
(PID solution with the requirements and simple explanation. Thx)
INSTRUCTION: Given three bare processes develop a control system using feedbackand feedforward concept/principle. Your output is a process and instrumentationdiagram (P & ID) using ISA's Instrument Identification and Symbols standards withexplanation.
PROCESS 2: The liquid level inside the tank is regulated at a value of 3.0 m on a condition ofcontinuous liquid inflow and outflow.
Requirements: Two feedback solutions One feedforward solution
arrow_forward
I need help with simulink. It is my first time using simulink. I am trying to make a simulink program turning on the LED on the board for 10sec for an Arduino Mega 2560. I have attached an image of what I tried to do. After I run, it just says no diagnostic. How do I know if I did this correctly or not?
arrow_forward
Make a simulink program turning on the LED on the board for 10sec. Can you write down the steps to create the simulink program because it is my first time using it.
arrow_forward
I need help solving this problem.
arrow_forward
Please follow the instructions and the requirements according to the pictures above and I kinda need the solution quickly. The language of the code is in Matlab, thank you in advance.
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Principles of Heat Transfer (Activate Learning wi...
Mechanical Engineering
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Cengage Learning

Automotive Technology: A Systems Approach (MindTa...
Mechanical Engineering
ISBN:9781133612315
Author:Jack Erjavec, Rob Thompson
Publisher:Cengage Learning
Related Questions
- Problem 3 (40 points) (CCOs 1 & 3)/MatlabGrader On Canvas, you will find a Matlab function file process.p that takes as input the variable x and returns as output the result of a complicated process g (x). Copy the file into your working directory and use it as any other Matlab .m file or build-in intrinsic Matlab function (just call it using its name process). The only difference between a .p and a .m file is that the source code of the .p file is not visible. Find all roots of g(x) in the interval 0 ≤ x ≤ 10 to a tolerance in function of at least 10-10 using mySecant from problem 2. Recall that any .m or .p function file can be passed as an argument into another function by prefacing the function name by a @, e.g., @process can be passed as an argument into any Matlab function that uses a function as an input argument, for example fplot(@process,...) for plotting a function. Store all found unique roots in a column vector root, the corresponding tolerances in function in a column…arrow_forwardK mylabmastering.pearson.com Chapter 12 - Lecture Notes.pptx: (MAE 272-01) (SP25) DY... P Pearson MyLab and Mastering Mastering Engineering Back to my courses Course Home Scores Course Homearrow_forwardmylabmastering.pearson.com Chapter 12 - Lecture Notes.pptx: (MAE 272-01) (SP25) DY... P Pearson MyLab and Mastering Scoresarrow_forward
- Hartley Electronics, Inc., in Nashville, producesshort runs of custom airwave scanners for the defense industry.The owner, Janet Hartley, has asked you to reduce inventory byintroducing a kanban system. After several hours of analysis, youdevelop the following data for scanner connectors used in onework cell. How many kanbans do you need for this connector?Daily demand 1,000 connectorsLead time 2 daysSafety stock 12 dayKanban size 500 connectorsarrow_forwardI want to run the SGP4 propagator for the ISS (ID = 25544) I got from spacetrack.org in MATLAB. I don't know where to get the inputs of the function. Where do I get the inFile and outFile that is mentioned in the following function. % Purpose: % This program shows how a Matlab program can call the Astrodynamic Standard libraries to propagate % satellites to the requested time using SGP4 method. % % The program reads in user's input and output files. The program generates an % ephemeris of position and velocity for each satellite read in. In addition, the program % also generates other sets of orbital elements such as osculating Keplerian elements, % mean Keplerian elements, latitude/longitude/height/pos, and nodal period/apogee/perigee/pos. % Totally, the program prints results to five different output files. % % % Usage: Sgp4Prop(inFile, outFile) % inFile : File contains TLEs and 6P-Card (which controls start, stop times and step size) % outFile : Base name for five output files %…arrow_forwardPlease do not rely too much on chatgpt, because its answer may be wrong. Please consider it carefully and give your own answer. You can borrow ideas from gpt, but please do not believe its answer.Very very grateful! Please do not copy other's work,i will be very very grateful!!arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Principles of Heat Transfer (Activate Learning wi...Mechanical EngineeringISBN:9781305387102Author:Kreith, Frank; Manglik, Raj M.Publisher:Cengage LearningAutomotive Technology: A Systems Approach (MindTa...Mechanical EngineeringISBN:9781133612315Author:Jack Erjavec, Rob ThompsonPublisher:Cengage Learning

Principles of Heat Transfer (Activate Learning wi...
Mechanical Engineering
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Cengage Learning

Automotive Technology: A Systems Approach (MindTa...
Mechanical Engineering
ISBN:9781133612315
Author:Jack Erjavec, Rob Thompson
Publisher:Cengage Learning