Mathematical Models of Electrical Systems
Electrical lumped-parameter systems are the counterpart of the mechanical ones in Mathematical Models of Mechanical SystemsThe lumped elements of mechanical systems (mass, spring, damper and their rotational versions, force and displacement sources, lever and gearbox) and the procedure that turns a free-body diagram into a linear ODE, worked on the mass-spring-damper system.Mathematical Models of Mechanical Systems →; the general framework is in Continuous-Time Modeling of Dynamic SystemsWhy control engineers need a model, white-box versus black-box modeling, the assumptions behind linear time-invariant lumped models, linear ODEs with constant coefficients, and the classification of lumped elements as passive or active.Continuous-Time Modeling of Dynamic Systems →.
Lumped elements in electrical systems
Convention for every element: is the current flowing into the element [A], is the voltage across the element, with the "+" sign where enters [V].
| Element | Law | Parameter |
|---|---|---|
| Resistor | resistance [Ohm] | |
| Capacitor | capacitance [F] | |
| Inductor | inductance [H] |
The resistor is dissipative, the capacitor and the inductor are accumulators (they store energy in the electric and magnetic field respectively).
Sources (active elements)
- Ideal voltage source: imposes a prescribed voltage independently of the current drawn.
- Ideal current source: imposes a prescribed current independently of the voltage across it.
Ideal transformer
With primary and secondary windings of and turns, currents flowing into the element and voltages (same convention as above):
The element is lossless: the algebraic sum of the input powers is zero, . It is the electrical analogue of the lever and of the gearbox.
Derivation of the mathematical model: Kirchhoff's laws
- Kirchhoff's current law (KCL): the algebraic sum of the currents entering a node is zero:
- Kirchhoff's voltage law (KVL): the algebraic sum of the voltage drops around a closed loop is zero:
Together with the law of each element, these give a set of equations in time-domain variables that can be reduced to a single ODE.
Example: series RLC circuit
A voltage source drives, in a single loop, a resistor , an inductor and a capacitor ; the loop current is and the output is the voltage across the capacitor.
R L
+--/\/\/---(((((---+------o
| |
(e) + i -> === C ^ v
| |
+------------------+------oKVL on the single loop, plus the element laws, with :
Derivation: from we get and ; substituting into the KVL gives .
Taking as the output, the model is a 2nd-order linear ODE with constant coefficients; compare it with the mass-spring-damper of Mathematical Models of Mechanical SystemsThe lumped elements of mechanical systems (mass, spring, damper and their rotational versions, force and displacement sources, lever and gearbox) and the procedure that turns a free-body diagram into a linear ODE, worked on the mass-spring-damper system.Mathematical Models of Mechanical Systems → (the two have the same structure). Its step response is studied in Second-Order System Step ResponseThe unit step response of a BIBO stable second-order system with complex conjugate poles is W(0) times one minus an exponentially decaying sinusoid, and its rise time, settling time and overshoot are approximately 1.8 over the natural frequency, 4.6 over the real part of the pole magnitude, and exp of minus pi times the damping ratio over the square root of one minus its square.Second-Order System Step Response →.
The same laws in the DC servomotor
The armature circuit of the DC motor in Course Overview and Laboratory SetupOrganisation of the Control Systems Laboratory course (credits, lab types, exam rules, prerequisites) and a preview of the whole model-to-real-system workflow, illustrated on the speed control of a DC servomotor.Course Overview and Laboratory Setup → is a series of the resistance , the inductance and the back-EMF generator ; KVL gives .
Versione ripasso
Convention: flows into the element, has "+" where enters.
Elements: resistor (dissipative); capacitor ; inductor (accumulators). Sources (active): ideal voltage source (prescribed ), ideal current source (prescribed ). Ideal transformer (lossless, ):
Kirchhoff: KCL at a node; KVL around a loop.
Series RLC (source , output ): , , , give a 2nd-order linear ODE with constant coefficients, same form as the mass-spring-damper.
Typical mistake: wrong sign convention for and (the "+" sign is where the current enters).