Lecture 6 - Dynamics Flashcards
(67 cards)
dynamics deal with systems that…
unfold in time (differential equations / rates of change)
Dynamics is needed to understand…
- sensors - muscles - commands
dynamic operators
- differentiator (simplest) 2. integrator (simple) 3. leaky integrator (slightly complex)
what does a differentiator do?
input: u output: x where x = u’
defining property of a dynamic operator
output at any moment depends not on the instantaneous value of its input, but on how the input unfolds through time (things happening before/after the instance)
Derivative of a ramp
constant Positive value if ramp slopes up Neg if ramp slopes down
Derivative of a sinusoid
another sinusoid, 90 degrees out of phase (1/4 cycle)
When is the derivative of a sinusoid at max value (peak)? At min value? At 0?
max: f(x) slopes up, crossing the axis (biggest pos change) min: f(x) slopes down, crossing axis (biggest neg change) zero: f(x) peaks (no change)
Derivative of a higher-frequency sinusoid
larger amplitude sinusoid, 90 degrees out of phase
Define: integrator
input: u output x where x = ∫u dt (or x’ = u)
Properties of integrator as input changes
HOSE BUCKET ANALOGY Positive u = increasing x Negative u = decreasing x 0 u = constant x
Given zero input, an integrator…
maintains its current output forever
Explain leaky integrator
Analogy: bucket with hole leak rate depends on size of hole (c) and water pressure/volume of water in the bucket (x) leak rate = cx Rate of change of x = inflow (u) - leak (cx) x’ = u - cx
Equation for leaky integrator / general equation
x’ = u - cx x’ = bu - cx (b and c are positive constants)
another name for leaky integrator. Why?
lowpass filter Respond strongly to low-frequency inputs, but weakly to high-freq inputs (not enough time due to sluggish reaction time)
how do leaky integrators respond to inputs? Why? (think of water pouring into empty bucket)
dragged-out, sluggish way As x increases, bu-cx decreases ∴ x’ decreases x’ decreases as x increases When x is big enough that bu = cx, x’ = 0 x reaches a constant level, which is constant as long as u does not change
Analogy for when input drops in a leaky integrator
- Turn off hose 2. Water level drops quickly 3. Water level decreases slowly because less volume in bucket = less water pressure = slower x’ = bu - cx = 0 - cx = -cx
What are lowpass filters good for?
removing noise from signals (block high frequency signals without distorting lower frequency signals)
Noise
When signals are contaminated by noise, noise is usually higher-frequency than the desired signal
highpass filters respond…
weakly to low-freq inputs but strongly to high-freq inputs
equation for highpass filter
x’ = bu’ - cx
when input changes suddenly, highpass filters…
respond but then quickly fade away
highpass filter is interested in…
changes
What happens when u increases to a new constant level in a highpass filter?
x steps to a new value higher than u, but drops down back to 0 soon after