2nd Homework: Cervical Syndrome

Slides:



Advertisements
Similar presentations
Math Review with Matlab:
Advertisements

MATLAB BASICS ECEN 605 Linear Control Systems Instructor: S.P. Bhattacharyya.
State Variables.
ENGR 110 Engineering Modelling and Design Control Systems Modelling II
ECEN/MAE 3723 – Systems I MATLAB Lecture 3.
1 Chapter 4 Curve Plotting with MATLAB MATLAB provides some very powerful features for plotting and labeling curves. These operations can be performed.
PLOTTING PHASE PORTRAITS WITH MATLAB:
Fundamentals of Electric Circuits Chapter 14 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Differential Equations Math Review with Matlab: Finding Solutions to Differential Equations S. Awad, Ph.D. M. Corless, M.S.E.E. D. Cinpinski E.C.E. Department.
Lab5 (Signal & System) Instructor: Anan Osothsilp Date: 20 Feb 07 Due Date 09 March 07.
1.3 ARRAYS, FILES, AND PLOTS + FOURIER SERIES BY MR. Q.
Bode Magnitude Plots Constructed Bode Actual Bode
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Laplace Transforms.
CHE 185 – PROCESS CONTROL AND DYNAMICS
SIMULINK Dr. Samir Al-Amer. SIMULINK SIMULINK is a power simulation program that comes with MATLAB Used to simulate wide range of dynamical systems To.
Frequency Response Analysis
Dr. / Mohamed Ahmed Ebrahim Mohamed Automatic Control By Dr. / Mohamed Ahmed Ebrahim Mohamed Web site:
1 ECE 3336 Introduction to Circuits & Electronics Note Set #12 Frequency Response More About Filters Spring 2015, TUE&TH 5:30-7:00 pm Dr. Wanda Wosik.
ME 270 Final Project Presentation Operational Amplifiers.
Chapter 6 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
MATLAB Harri Saarnisaari, Part of Simulations and Tools for Telecommunication Course.
Fourier Analysis of Discrete-Time Systems
Start Presentation September 27, nd Homework Problem In this homework problem, we wish to model a mechanical system. The problem deals with a simple,
ELECTRICA L ENGINEERING Principles and Applications SECOND EDITION ALLAN R. HAMBLEY ©2002 Prentice-Hall, Inc. Chapter 6 Frequency Response, Bode Plots,
Signals and Systems 1 Lecture 3 Dr. Ali. A. Jalali August 23, 2002.
Frequency Response Analysis
ECE 8443 – Pattern Recognition ECE 3163 – Signals and Systems Objectives: Frequency Response Response of a Sinusoid DT MA Filter Filter Design DT WMA Filter.
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Fourth Edition, by Allan R. Hambley, ©2008 Pearson Education, Inc. Lecture 17 Fourier Analysis, Low.
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. CHAPTER 6 Frequency Response, Bode.
BASIC OF INSRUMENTAION PROCESS & CONTROL -:Guided by:- Proff. Piyush Modi Dept. of Chemical Engg. Pacific School of Engg. Surat.
Electronics Technology Fundamentals Chapter 15 Frequency Response and Passive Filters.
Unit 2 Discrete System 中華技術學院電子系 蔡樸生 副教授 林盈灝 副教授.
Feedback Control System THE ROOT-LOCUS DESIGN METHOD Dr.-Ing. Erwin Sitompul Chapter 5
ECET 402 Help Bcome Exceptional / snaptutorial.com
Lesson 15: Bode Plots of Transfer Functions
Today we will graph linear equations in slope intercept form.
© Dr. Elmer P. Dadios - DLSU Fellow & Professor
MECH 373 Instrumentation and Measurements
Computer Application in Engineering Design
State Space Representation
MECH 373 Instrumentation and Measurements
ME375 Handouts - Spring 2002 MESB374 System Modeling and Analysis System Stability and Steady State Response.
SINUSOIDAL FREQUENCY ANALYSIS
Lesson 18: Integral Process Characteristics
DNT Control Principle Frequency Response Techniques DNT Control Principle.
ECET 402 Competitive Success/snaptutorial.com
ECET 402 Education for Service-- snaptutorial.com.
ECET 402 Teaching Effectively-- snaptutorial.com.
State Space Representation
Net 222: Communications and networks fundamentals (Practical Part)
OptiSystem-MATLAB data formats (Version 1.0)
Automatic Control System
Net 222: Communications and networks fundamentals (Practical Part)
OptiSystem-MATLAB data interchange model and features
Plotting and Analysis with Matlab
Frequency Response Analysis
Digital Control Systems (DCS)
Modeling in the Time Domain
Getting Started With Simulink
State Space Analysis UNIT-V.
Project 1: Brake System Modelling & Control
Frequency Response Method
دکتر حسين بلندي- دکتر سید مجید اسما عیل زاده
Frequency Response Analysis
VIBRATION.
VIBRATION.
ECEN 605 Linear Control Systems Instructor: S.P. Bhattacharyya
LECTURE 20: FOURIER ANALYSIS OF DT SYSTEMS
Frequency Response Analysis
The Frequency-Response Design Method
Presentation transcript:

2nd Homework: Cervical Syndrome Lower Body x 4 F I4 B3 k3 Upper Torso 2 B1 k1 k2 B2 I2 Head 1 I1 Arms 3 I3 Head Upper Torso Arms Lower Body x 1 x 2 x 3 x 4 F

1st Sub-problem Derive a state-space model for this system. Since this is a linear time-invariant system, put it in linear state-space form and simulate the system in Matlab. Simulate the system during 15 seconds. Use a sinusoidal force (F) with a frequency of 1.5 Hz. As the system is linear, the amplitude of the input signal is irrelevant. 1.0 represents an excellent value. The output is the distance between the head and the shoulder. The initial conditions of all state variables may be assumed as 0.0. This is acceptable, since only the deviation of the output from the stationary position is of relevance.

x F F(t) = FI4 + FB3 + Fk3 0 = FI3 + FB2 + Fk2 FB2 + Fk2 + FB3 + Fk3 = FI2 + FB1 + Fk1 FB1 + Fk1 = FI1 FB1 = B1· (v2 – v1 ) FB2 = B2· (v3 – v2 ) FB3 = B3· (v4 – v2 ) Fk1 = k1· (x2 – x1 ) Fk2 = k2· (x3 – x2 ) Fk3 = k3· (x4 – x2 ) FI1 = m1· dv1 dt dx1 = v1 FI2 = m2· dv2 dx2 = v2 FI3 = m3· dv3 dx3 = v3 FI4 = m4· dv4 dx4 = v4 Lower Body x 4 F I4 B3 k3 Upper Torso 2 B1 k1 k2 B2 I2 Head 1 I1 Arms 3 I3

 F(t) = FI4 + FB3 + Fk3 0 = FI3 + FB2 + Fk2 FB2 + Fk2 + FB3 + Fk3 = FI2 + FB1 + Fk1 FB1 + Fk1 = FI1 FB1 = B1· (v2 – v1 ) FB2 = B2· (v3 – v2 ) FB3 = B3· (v4 – v2 ) Fk1 = k1· (x2 – x1 ) Fk2 = k2· (x3 – x2 ) Fk3 = k3· (x4 – x2 ) FI1 = m1· dv1 dt dx1 = v1 FI2 = m2· dv2 dx2 = v2 FI3 = m3· dv3 dx3 = v3 FI4 = m4· dv4 dx4 = v4 F(t) = FI4 + FB3 + Fk3 0 = FI3 + FB2 + Fk2 FB2 + Fk2 + FB3 + Fk3 = FI2 + FB1 + Fk1 FB1 + Fk1 = FI1 FB1 = B1· (v2 – v1 ) FB2 = B2· (v3 – v2 ) FB3 = B3· (v4 – v2 ) Fk1 = k1· (x2 – x1 ) Fk2 = k2· (x3 – x2 ) Fk3 = k3· (x4 – x2 ) FI1 = m1· dv1 dt dx1 = v1 FI2 = m2· dv2 dx2 = v2 FI3 = m3· dv3 dx3 = v3 FI4 = m4· dv4 dx4 = v4 

 F(t) = FI4 + FB3 + Fk3 0 = FI3 + FB2 + Fk2 FB2 + Fk2 + FB3 + Fk3 = FI2 + FB1 + Fk1 FB1 + Fk1 = FI1 FB1 = B1· (v2 – v1 ) FB2 = B2· (v3 – v2 ) FB3 = B3· (v4 – v2 ) Fk1 = k1· (x2 – x1 ) Fk2 = k2· (x3 – x2 ) Fk3 = k3· (x4 – x2 ) FI1 = m1· dv1 dt dx1 = v1 FI2 = m2· dv2 dx2 = v2 FI3 = m3· dv3 dx3 = v3 FI4 = m4· dv4 dx4 = v4 F(t) = FI4 + FB3 + Fk3 0 = FI3 + FB2 + Fk2 FB2 + Fk2 + FB3 + Fk3 = FI2 + FB1 + Fk1 FB1 + Fk1 = FI1 FB1 = B1· (v2 – v1 ) FB2 = B2· (v3 – v2 ) FB3 = B3· (v4 – v2 ) Fk1 = k1· (x2 – x1 ) Fk2 = k2· (x3 – x2 ) Fk3 = k3· (x4 – x2 ) FI1 = m1· dv1 dt dx1 = v1 FI2 = m2· dv2 dx2 = v2 FI3 = m3· dv3 dx3 = v3 FI4 = m4· dv4 dx4 = v4 

 F(t) = FI4 + FB3 + Fk3 0 = FI3 + FB2 + Fk2 FB2 + Fk2 + FB3 + Fk3 = FI2 + FB1 + Fk1 FB1 + Fk1 = FI1 FB1 = B1· (v2 – v1 ) FB2 = B2· (v3 – v2 ) FB3 = B3· (v4 – v2 ) Fk1 = k1· (x2 – x1 ) Fk2 = k2· (x3 – x2 ) Fk3 = k3· (x4 – x2 ) FI1 = m1· dv1 dt dx1 = v1 FI2 = m2· dv2 dx2 = v2 FI3 = m3· dv3 dx3 = v3 FI4 = m4· dv4 dx4 = v4 FI4 = F(t) - FB3 - Fk3 FI3 = - FB2 - Fk2 FI2 = FB2 + Fk2 + FB3 + Fk3 - FB1 - Fk1 FI1 = FB1 + Fk1 FB1 = B1· (v2 – v1 ) FB2 = B2· (v3 – v2 ) FB3 = B3· (v4 – v2 ) Fk1 = k1· (x2 – x1 ) Fk2 = k2· (x3 – x2 ) Fk3 = k3· (x4 – x2 ) = FI1 / m1 dv1 dt dx1 = v1 = FI2 / m2 dv2 dx2 = v2 = FI3 / m3 dv3 dx3 = v3 = FI4 / m4 dv4 dx4 = v4 

= FI1 / m1 dv1 dt = (FB1 + Fk1 ) / m1 = (B1· (v2 – v1 ) + k1· (x2 – x1 ) ) / m1 = – (k1 /m1 ) · x1 + (k1 /m1 ) · x2 – (B1 /m1 ) · v1 + (B1 /m1 ) · v2 = FI2 / m2 dv2 dt = (FB2 + Fk2 + FB3 + Fk3 - FB1 - Fk1) / m2 = (B2· (v3 – v2 ) + k2· (x3 – x2 ) + B3· (v4 – v2 ) + k3· (x4 – x2 ) - B1· (v2 – v1 ) - k1· (x2 – x1 )) / m2 = (k1 /m2 ) · x1 - ((k1+k2+k3 ) /m2 ) · x2 + (k2 /m2 ) · x3 + (k3 /m2 ) · x4 + (B1 /m2 ) · v1 - ((B1+B2+B3 ) /m2 ) · v2 + (B2 /m2 ) · v3 + (B3 /m2 ) · v4

= FI3 / m3 dv3 dt = (- FB2 - Fk2) / m3 = (- B2· (v3 – v2 ) - k2· (x3 – x2 )) / m3 = (k2 /m3 ) · x2 - (k2 /m3 ) · x3 + (B2 /m3 ) · v2 - (B2 /m3 ) · v3 = FI4 / m4 dv4 dt = (F(t) - FB3 - Fk3) / m4 = (F(t) - B3· (v4 – v2 ) - k3· (x4 – x2 )) / m4 = F(t) / m4 + (k3 /m4 ) · x2 - (k3 /m4 ) · x4 + (B3 /m4 ) · v2 - (B3 /m4 ) · v4 y = x1 – x2

1st Sub-problem Derive a state-space model for this system. Since this is a linear time-invariant system, put it in linear state-space form and simulate the system in Matlab. Simulate the system during 15 seconds. Use a sinusoidal force (F) with a frequency of 1.5 Hz. As the system is linear, the amplitude of the input signal is irrelevant. 1.0 represents an excellent value. The output is the distance between the head and the shoulder. The initial conditions of all state variables may be assumed as 0.0. This is acceptable, since only the deviation of the output from the stationary position is of relevance.

Matlab Code (1st Part)

Matlab Diary File (1st Part)

Matlab Simulation (1st Part)

2nd Sub-problem In order to be able to better analyze the resonance phenomena, we wish to obtain a Bode diagram of the system. To this end, we generate a logarithmic base of frequency values in the range from 0.01 Hz to 100 Hz by means of Matlab’s logspace function. The Bode function may now be used to compute the Bode diagram. The amplitude needs to be converted to decibels. Using the functions subplot, semilogx, grid, title, xlabel, and ylabel, the Bode diagram shall now be displayed on two separate graphs on the same page.

Matlab Bode Diagram (1st Part)

3rd Sub-problem Finally, we wish to perform a sensitivity analysis. We want to study the variability of the spring constant and the damper between head and upper torso. For this purpose, we assume a variability of these two parameters of 50%. Repeat the frequency analysis for the four worst-case combinations of the two parameters. Plot the maxima and minima of the amplitude and phase curves as a sensitivity Bode diagram.

Matlab Code (2nd Part)

Matlab Diary File (2nd Part)

Matlab Bode Diagram (2nd Part)