Mathematical Models of Systems
In questa pagina 5
An introduction to systems
Examples of physical and artificial systems: encoders/decoders; equalizers for audio applications; the mass-spring system, or even a more detailed version of it, drawn as a block
u +-----------+ y
-------> | Sigma x | ------->
+-----------+where is the system, the input, the output and the state of the system. For the mass-spring system with damping (previously we assumed ):
Note: in this course we study systems where . There are more advanced courses where systems of the type
with , , , are the subject.
Bank account (a discrete-time example, a simplification of a real bank account):
where is the previous balance (the deposit), is the interest and is the money flow.
More sophisticated examples:
- Estimators: given the output , or part of it, they allow us to find an estimate of the state.
- Controllers: given a reference signal they typically use and to generate such that .
- Regulators: estimators + controllers.
Definition of a system
Definition (system). A system is a triple where are families of signals and is a map from to :
with the input signal and the output signal.
- Continuous time: .
- Discrete time: .
- Hybrid systems: or . For example the sampler: for a fixed (the sampling time).
Basic operators
Since systems are operators on signals, it is useful to have a catalogue of simple ones (properties of these operators are discussed in Properties of Systemsdefinitions of static, dynamic, time-invariant, causal, anticausal, acausal, omnicausal, linear and BIBO-stable systems, with examples, counterexamples and a long set of worked classification exercises.Properties of Systems →).
Temporal shift , . Then .
Temporal scaling , , .
x(t) supported on [-1,1] compression alpha>1 (alpha=2) dilation 0<alpha<1 (alpha=1/2)
support [-1, 1] support [-1/2, 1/2] support [-2, 2]If we also have to perform a temporal inversion: , where is the time reversal.
The composition ( is applied after ) gives .
Caveat: in general. Indeed .
Integrator. Let . In continuous time , in discrete time . The integrator is
Amplifier , .
Derivative operator and its discrete counterpart, the difference operator:
- backward: (causal; this is the one we will use);
- forward: .
An anticausal difference operator can also be defined; however in general.
Example: the RC circuit
A voltage source drives a series resistor and capacitor , with current and capacitor voltage :
i(t) -> R
+---/\/\/\---+
| |+
(~) v_s(t) === C v_c(t) v_s(t) --> [ Sigma_RC ] --> v_c(t)
| |-
+------------+The model is a dynamic system. We will see that .
From physics, the electric charge satisfies and . Therefore
so the system is an integrator.
Basic system interconnections
- Series (cascade): , so .
- Parallel: both systems receive and their outputs are added: .
- Feedback: to be seen in the course on Control Systems.
For LTI systems the series and parallel connections translate into associativity and bilinearity of convolution: see Properties of Discrete-Time Convolutionalgebraic properties of the discrete convolution (time invariance, commutativity, associativity, bilinearity, neutral element, support), its link with correlation and a set of worked examples including the rectangle-by-rectangle graphical method.Properties of Discrete-Time Convolution →.
Versione ripasso
- System: a triple , families of signals, a map (input , output , state ). Continuous: ; discrete: ; hybrid: the sampler .
- In this course the output equals the state, ; the general state-space form is , .
- Models: mass-spring-damper ; bank account ; RC circuit (dynamic), and (integrator).
- Basic operators: shift : ; scaling : (compression , dilation , time reversal); integrator or ; derivative; backward difference (causal); amplifier .
- Composition: gives , while gives ; they differ.
- Interconnections: series ; parallel ; feedback (Control Systems).
- Typical mistake: swapping the order of shift and scaling.