Electrical and Electronic System ModelsIntroductionElectrical subsystems are central to mechatronic products. Sensors convert physical variables into electrical signals; power converters regulate energy; motors transform electrical energy into mechanical motion; and electronic controllers determine how the complete system behaves. A useful model must therefore represent both the electrical laws governing instantaneous variables and the dynamic storage of energy in inductors, capacitors, magnetic fields, and mechanical inertia. This chapter develops models for circuits, power-electronic converters, electromagnetic components, motors, and drives. The emphasis is on models suitable for simulation and control design. The engineer must decide whether a model should be switching-level, averaged, linearized, or purely static. That decision depends on the purpose of analysis, the time scale of interest, and the required accuracy. Learning ObjectivesBy the end of this chapter, the reader should be able to: - Formulate circuit models using Kirchhoff’s voltage and current laws.
- Derive state-space models for RLC networks.
- Explain equivalent circuits and their limitations.
- Model diodes, switches, PWM converters, and DC-link dynamics.
- Construct electromagnetic and electromechanical energy-conversion models.
- Derive the basic equations of DC and induction motors.
- Select an appropriate model fidelity for simulation and control.
- Validate an electrical model using physical laws, units, and experimental data.
1. Modeling FoundationsAn electrical model consists of variables, constitutive relationships, interconnections, parameters, initial conditions, and assumptions. The principal variables are voltage v(t) in volts and current i(t) in amperes. Passive sign convention assigns positive current entering the terminal marked positive for voltage. Under this convention, instantaneous power absorbed by an element is p(t) = v(t)i(t) where p is in watts. Positive power denotes absorption; negative power denotes delivery. The fundamental interconnection laws are: Kirchhoff’s current law (KCL): the algebraic sum of currents at a node is zero. ∑ ik(t) = 0 Kirchhoff’s voltage law (KVL): the algebraic sum of voltages around a closed loop is zero. ∑ vk(t) = 0 These laws follow from charge conservation and energy conservation in the lumped-circuit approximation. They are most appropriate when circuit dimensions are much smaller than the electromagnetic wavelength associated with the highest relevant frequency. The constitutive equations of ideal passive elements are: | Element | Constitutive equation | Stored or dissipated energy |
|---|
| Resistor R | v = Ri | Dissipates power i2R | | Inductor L | v = L(di/dt) | WL = 1/2 Li2 | | Capacitor C | i = C(dv/dt) | WC = 1/2 Cv2 |
The ideal relations assume constant parameters, negligible parasitic effects, and compatible reference directions. In real components, resistance, leakage, saturation, core loss, and parasitic capacitance may be important. 2. Dynamic Circuit Models2.1 First-order circuitsFor a series RL circuit driven by a voltage source vs(t), KVL gives vs(t) = Ri(t) + L(di(t)/dt) Hence, di(t)/dt = −(R/L)i(t) + (1/L)vs(t) The time constant is τL = L/R for R > 0 and L > 0. If the source is suddenly changed to a constant value V, the current is i(t) = V/R + [i(0) − V/R]e^(−t/τL) This expression assumes ideal switching at t = 0, constant parameters, and no magnetic saturation. The inductor current cannot change instantaneously because that would require an unbounded voltage. For a series RC circuit, KVL and the capacitor relation give RC(dvC/dt) + vC(t) = vs(t) The time constant is τC = RC The capacitor voltage cannot change instantaneously in a finite-current circuit. These continuity properties are valuable checks when constructing simulation models. 2.2 State-space formulationA state is a minimum variable set that, together with the input and parameters, determines future behavior. Energy-storage variables are usually natural states: inductor currents and capacitor voltages. A general continuous-time state model is ẋ(t) = f(x(t), u(t), t) y(t) = g(x(t), u(t), t) where x is the state vector, u the input vector, and y the output vector. For a linear time-invariant model, ẋ = Ax + Bu y = Cx + Du The matrices A, B, C, and D describe dynamics, input coupling, output selection, and direct feedthrough, respectively. Consider a source feeding a series resistor and inductor, with capacitor voltage as a second state in a series RLC loop. Let x1 = i and x2 = vC. KVL gives vs = Ri + L(di/dt) + vC and i = C(dvC/dt) Therefore, di/dt = −(R/L)i − (1/L)vC + (1/L)vs dvC/dt = (1/C)i The state-space matrices for output y = vC are A = [ [−R/L, −1/L], [1/C, 0] ] B = [ [1/L], [0] ], C = [0 1], D = [0] The model is valid for fixed R, L, and C and for a lumped, linear circuit. If the inductor saturates, L becomes current-dependent and the model becomes nonlinear. 2.3 Frequency-domain and equivalent modelsFor sinusoidal steady-state analysis, differentiation may be replaced by multiplication by jω, where ω is angular frequency in radians per second. The impedances of ideal elements are ZR = R, ZL = jωL, ZC = 1/(jωC) These are not time-domain dynamic models; they apply only to linear circuits under sinusoidal steady-state conditions. They are useful for frequency response, filtering, and impedance matching. The Thevenin equivalent of a linear two-terminal network is a voltage source Vth in series with resistance or impedance Zth. The Norton equivalent is a current source IN in parallel with the same impedance. For a resistive network, Vth = IN Rth The equivalent is valid at the selected terminals and for the assumed operating conditions. A nonlinear load or a network containing active switching devices may require a local linearization rather than a single global equivalent. 3. Semiconductor and Power-Electronic ModelsPower electronics changes the topology of a circuit. Consequently, a converter is often a hybrid system: continuous states evolve according to differential equations, while discrete switch states change according to gate signals and device conditions. 3.1 Diodes and controlled switchesAn ideal diode conducts when forward biased and blocks when reverse biased. A practical piecewise-linear model may use vD = VF + rD iD when conducting, where VF is the forward-voltage approximation and rD is the incremental resistance. When blocking, iD ≈ 0. Reverse recovery, leakage, junction capacitance, and thermal dependence may be added when switching transients matter. An ideal transistor switch has two states: ON, approximately a short circuit, and OFF, approximately an open circuit. Real switches have conduction resistance, voltage limits, switching losses, dead time, and finite transition duration. A simulation model should not ignore these features when predicting efficiency, electromagnetic interference, or device stress. 3.2 Buck converterFor an ideal buck converter operating in continuous-conduction mode, the switch connects the source voltage Vin to the inductor for a fraction D of each switching period. Under steady-state volt-second balance, D Vin + (1 − D)(−Vo) = 0 so Vo = D Vin Here D is duty ratio, Vo output voltage, and Vin input voltage. The relationship assumes ideal components, continuous inductor current, constant output voltage over one switching period, and sufficiently high switching frequency. The two switching submodels are: ON state: diL/dt = (Vin − Vo)/L OFF state: diL/dt = −Vo/L Averaging over one switching period gives diL/dt = [D Vin − Vo]/L For an output capacitor and resistive load Rload, dvo/dt = [iL − vo/Rload]/C The averaged model is efficient for control design but cannot reproduce individual switching ripple, diode recovery, or high-frequency electromagnetic interference. 3.3 DC-link capacitorA DC-link capacitor connected to a converter satisfies Cdc(dvdc/dt) = iin − iload where iin is current entering the capacitor from the source-side converter and iload is current delivered to the load-side converter. Its energy is Wdc = 1/2 Cdc vdc2 A useful design check follows from energy balance. If a current imbalance ∆i persists for a short interval ∆t, then approximately ∆vdc ≈ (∆i ∆t)/Cdc provided the voltage change is small and Cdc is constant. 4. Electromagnetic Components and Energy Conversion4.1 Magnetic circuitsFor a magnetic path with mean length lm, cross-sectional area Ac, and permeability μ, reluctance is ℜ = lm/(μ Ac) Magnetomotive force is 𝓕 = Ni, where N is turns and i is current. The approximate magnetic flux is Φ = Ni/ℜ This magnetic-circuit analogy assumes a reasonably uniform flux path and neglects leakage and fringing. Ferromagnetic materials are nonlinear because permeability varies with flux density and may exhibit hysteresis. For a coil with constant inductance, flux linkage is λ = Li, and induced voltage is v = dλ/dt = L(di/dt) In general, if inductance depends on position or current, the more fundamental relation is v = dλ(i,x)/dt. 4.2 TransformersAn ideal transformer with turns ratio n = N1/N2 satisfies V1/V2 = N1/N2 = n and, neglecting losses, I1/I2 = N2/N1 = 1/n The apparent power is approximately conserved. Real transformer models include winding resistance, leakage inductance, magnetizing inductance, and core-loss resistance. These additions are necessary for voltage regulation, inrush-current, and transient studies. 4.3 Electromechanical couplingIn an electromechanical device, electrical and mechanical domains are coupled through force or torque. A general energy-based relation uses co-energy W′. Electromagnetic torque is Te = (∂W′/∂θ)i where θ is mechanical position and the derivative is taken at constant current. This relation is particularly useful for reluctance and permanent-magnet machines, although the exact co-energy function depends on the machine model. Mechanical dynamics are represented by J(dωm/dt) = Te − TL − Bωm where J is rotor inertia in kg·m², ωm angular speed in rad/s, Te electromagnetic torque, TL load torque, and B viscous-friction coefficient in N·m·s/rad. Position satisfies dθm/dt = ωm. Coulomb friction, gear backlash, and elastic couplings may be added when relevant. 5. Motor and Drive Models5.1 Separately excited DC motorThe armature circuit is modeled by Va = Ra ia + La(dia/dt) + eb The back electromotive force is eb = Ke ωm and electromagnetic torque is Te = Kt ia In SI units, Ke and Kt have numerically equal values when consistent mechanical and electrical units are used. Combining the equations gives the state model with states ia and ωm: dia/dt = [Va − Ra ia − Keωm]/La dωm/dt = [Kt ia − TL − Bωm]/J The model assumes constant field flux. It is widely used for servo drives because it clearly separates electrical current dynamics from mechanical speed dynamics. Worked Example: DC Motor AccelerationAn illustrative motor has Ra = 2 Ω, La = 0.5 H, Ke = Kt = 0.1, J = 0.02 kg·m², and B = 0.001 N·m·s/rad. A step voltage of 12 V is applied, with zero load torque and initial rest. At the initial instant, ωm = 0 and ia = 0, so dia/dt = 12/0.5 = 24 A/s The initial torque rate is therefore dTe/dt = Kt(dia/dt) = 0.1 × 24 = 2.4 N·m/s The initial angular acceleration is zero because the current initially is zero. After the current rises, torque accelerates the rotor. This illustrates why a motor model must include both electrical and mechanical states; a static voltage-to-speed gain cannot predict starting current or acceleration. 5.2 Permanent-magnet synchronous motorFor a surface-mounted permanent-magnet synchronous motor in the rotating d–q reference frame, a common model is vd = Rs id + Ld(did/dt) − ωe Lq iq vq = Rs iq + Lq(diq/dt) + ωe(Ld id + ψf) Electromagnetic torque is Te = (3/2)p[ψf iq + (Ld − Lq)id iq] where Rs is stator resistance, Ld and Lq are d–q inductances, ψf is permanent-magnet flux linkage, p is the number of pole pairs, and ωe = pωm is electrical angular speed. The first torque term is magnet torque; the second is reluctance torque. This model assumes balanced three-phase quantities and a defined Park transformation. Parameter conventions and sign conventions must be stated because different software packages use different transformations. 5.3 Induction motor equivalent circuitThe per-phase steady-state equivalent circuit contains stator resistance and leakage reactance, a magnetizing branch, and rotor quantities referred to the stator. Rotor slip is s = (ωs − ωm)/ωs where ωs is synchronous mechanical angular speed expressed consistently with ωm. The rotor resistance term referred to the stator is commonly represented as R′r/s. As slip approaches zero, rotor current and torque decrease; at standstill, s = 1. A steady-state equivalent circuit is suitable for torque–speed prediction and efficiency estimation. It does not directly reproduce electromagnetic transients unless additional differential equations are used. 6. Switching, Averaging, and LinearizationThree model levels are particularly important: | Model | Main purpose | Strength | Limitation |
|---|
| Detailed switching | Device stress, ripple, EMI | Captures switching events | Computationally expensive | | Averaged nonlinear | Control and energy flow | Efficient and physically meaningful | Omits switching ripple | | Linearized small-signal | Stability and frequency response | Enables transfer functions and control design | Valid near an operating point |
For a nonlinear model ẋ = f(x,u), linearization about equilibrium (x0,u0) uses perturbations ∆x and ∆u: ∆ẋ = A∆x + B∆u where A = ∂f/∂x |_(x0,u0), B = ∂f/∂u |_(x0,u0) The approximation is accurate for sufficiently small perturbations and away from discontinuities such as switch transitions, saturation boundaries, and diode conduction changes. A converter may require separate linear models for different operating modes. 7. Simulation Practice and ValidationA reliable simulation workflow begins with a physical specification: voltage and current ranges, switching frequency, mechanical load, thermal limits, and required outputs. The engineer then selects states, writes equations, defines initial conditions, and chooses parameter values from datasheets or experiments. Important validation checks include: - Dimensional consistency: every term in an equation must have compatible units.
- Continuity: inductor current and capacitor voltage should not jump without a physically justified impulse.
- Energy balance: input energy should equal stored energy, delivered energy, and losses within numerical tolerance.
- Limiting cases: setting resistance to zero, load torque to zero, or duty ratio to zero should produce physically sensible behavior.
- Steady-state checks: derivatives should approach zero in a constant operating condition.
- Parameter sensitivity: uncertain resistance, inductance, friction, and delay should be varied to determine robustness.
Numerical solvers must be selected with regard to stiffness and discontinuity. Fast switching and slow mechanical motion can create widely separated time scales. Variable-step solvers may be efficient for continuous models, whereas fixed-step solvers are often preferable for real-time control implementation. Solver tolerances should not be treated as substitutes for correct equations. 8. Applied Case: Servo-Driven Conveyor AxisBackgroundConsider an illustrative conveyor axis driven by a permanent-magnet motor through a reduction gearbox. A current-controlled inverter supplies the motor, while an encoder measures position. The axis must move packages accurately and reject disturbances caused by changing loads. ProblemA purely static motor model predicts speed from commanded voltage but fails to predict current peaks, acceleration time, DC-link ripple, and position error during load changes. Excessive current may also trigger inverter protection. AnalysisThe model is divided into four interacting parts: - A DC-link capacitor model describes bus-voltage variation.
- An averaged inverter model converts duty commands into d–q voltages.
- The motor d–q equations predict currents and electromagnetic torque.
- The mechanical equation predicts speed and position through the gearbox.
The load torque is reflected to the motor shaft. For an ideal gearbox with speed ratio N = ωm/ωL, reflected load inertia is approximately JL,ref = JL/N2 and reflected torque is TL,ref = TL/N where motor speed is ωm, load speed is ωL, load inertia is JL, and load torque is TL. These relations assume negligible gearbox losses and a rigid transmission. Approach and SolutionThe design uses a detailed switching model initially to check semiconductor current and voltage stress. An averaged motor-drive model is then used to tune the current and position controllers. Finally, a linearized model around the rated operating point is used to examine bandwidth and disturbance rejection. Friction and belt compliance are included after experimental tests reveal position oscillation near a structural resonance. OutcomeThe multi-fidelity approach reduces simulation time while preserving the details needed for each engineering decision. The switching model identifies ripple and peak current; the averaged model supports controller tuning; and the mechanical extension explains oscillation that was absent from the rigid-body model. Learning PointsA model should be no more detailed than necessary, but no less detailed than the phenomenon being investigated. Electrical, power-electronic, and mechanical states must be connected through explicit energy and torque relationships. Validation against measured current, speed, and bus voltage is essential before using the model for safety-critical decisions. 9. Limitations, Safety, and Contemporary PracticeElectrical models can conceal hazards if ideal switches, zero delays, or unlimited current are assumed. Design verification must consider overvoltage, short circuits, isolation, grounding, thermal rise, electromagnetic compatibility, and safe discharge of capacitors. Standards and institutional procedures should govern insulation coordination, protective devices, machine safety, and functional safety. Model governance is also important. Engineers should record parameter sources, sign conventions, transformations, assumptions, solver settings, and validation evidence. Reproducible models are easier to audit and less likely to cause unsafe design decisions. Modern digital twins increasingly combine first-principles models with measured data. Machine-learning estimators can identify friction, temperature-dependent resistance, battery state, or unmodeled load torque. However, data-driven components should be bounded and validated against physical constraints. AI may assist parameter estimation and fault detection, but it does not remove the need for conservation laws, safety analysis, and human engineering approval. Chapter SummaryElectrical and electronic models are built from Kirchhoff’s laws, element constitutive equations, energy-storage relationships, and electromechanical coupling. Resistors dissipate energy, whereas inductors and capacitors store it and create dynamic states. State-space models provide a systematic representation for simulation and control. Power converters are hybrid systems whose topology changes with switching state. Detailed switching models capture ripple and device stress; averaged models describe slower energy flow; and linearized models support local stability and controller design. Motors require both electrical and mechanical equations, with back electromotive force and torque providing the principal coupling. Equivalent circuits are useful but valid only under their stated assumptions. Reliable engineering practice requires dimensional checks, energy-balance checks, sensible limiting cases, parameter validation, and awareness of numerical and safety limitations. The appropriate model is determined by the engineering question, not by maximum mathematical complexity. Key TermsKirchhoff’s current law: Conservation of current at an electrical node. Kirchhoff’s voltage law: Conservation of voltage around a closed loop. Passive sign convention: Reference convention in which positive current enters the positive-voltage terminal. State variable: A variable that, with inputs and parameters, determines future system behavior. Time constant: Characteristic exponential-response time of a first-order system. Impedance: Frequency-domain ratio of sinusoidal voltage to current. Thevenin equivalent: A two-terminal voltage-source representation of a linear network. Norton equivalent: A two-terminal current-source representation of a linear network. Duty ratio: Fraction of a switching period for which a switch is commanded on. Continuous conduction: Converter operation in which inductor current does not reach zero. Averaged model: Model obtained by averaging switching-state equations over a switching period. DC link: Intermediate electrical energy-storage stage, commonly containing a capacitor. Magnetic reluctance: Opposition offered by a magnetic path to flux production. Flux linkage: Total magnetic flux linked by a winding, usually represented by λ. Back electromotive force: Voltage induced by motion in an electromechanical device. Slip: Relative speed difference between synchronous field and rotor in an induction motor. Linearization: Local approximation of a nonlinear model about an operating point. Model fidelity: Degree to which a model represents physical detail. Energy balance: Accounting of supplied, stored, converted, and dissipated energy. Review QuestionsShort Answer Questions- State Kirchhoff’s current law and explain its physical basis.
- Why are inductor current and capacitor voltage normally continuous at a switching instant?
- Define duty ratio and state the ideal continuous-conduction buck-converter voltage relation.
- What is the difference between a detailed switching model and an averaged model?
- Identify the electrical and mechanical states in the basic DC-motor model.
Long Answer Questions- Derive the state-space equations of a series RLC circuit and state the assumptions used.
- Explain Thevenin and Norton equivalents, including their applicability and limitations.
- Derive the averaged inductor-current and capacitor-voltage equations of an ideal buck converter.
- Explain how back electromotive force and electromagnetic torque couple the electrical and mechanical parts of a DC motor.
- Compare switching, averaged nonlinear, and small-signal linearized models for drive-system design.
Analytical / Application Questions- A buck converter has Vin = 48 V and duty ratio D = 0.25. Under ideal continuous-conduction assumptions, calculate the average output voltage and explain why the result may differ in a practical converter.
- A DC motor has Ra = 1 Ω, La = 0.2 H, Ke = 0.08, and is initially at rest with 10 V applied. Calculate the initial armature-current derivative and explain the subsequent role of back emf.
- Design a validation plan for a motor-drive model intended to predict current ripple, acceleration time, and steady-state speed. Identify measurements, parameter uncertainties, and acceptance criteria.
Multiple Choice Questions with AnswersQuestion 1Which variable is naturally selected as a state for an ideal inductor? A. Inductor voltage B. Inductor current C. Resistor power D. Switch duty ratio Correct Answer: B. Inductor current Question 2For an ideal buck converter in continuous-conduction steady state, the average output voltage is A. V_in/D B. (1−D)V_in C. D V_in D. V_in + D Correct Answer: C. D V_in Question 3What does Kirchhoff’s current law express? A. Conservation of charge at a node B. Conservation of angular momentum C. Conservation of magnetic reluctance D. Conservation of resistance Correct Answer: A. Conservation of charge at a node Question 4The time constant of a series RL circuit is A. R/L B. L/R C. RL D. 1/(RL) Correct Answer: B. L/R Question 5In a DC motor, back emf is primarily proportional to A. Rotor speed B. Load inertia only C. Armature resistance only D. Duty ratio only Correct Answer: A. Rotor speed Question 6Which model is most appropriate for studying individual semiconductor switching transients? A. Static gain model B. Detailed switching model C. Steady-state Thevenin model D. Rigid mechanical model Correct Answer: B. Detailed switching model Question 7The energy stored in an ideal capacitor is A. C v B. 1/2 C v² C. 1/2 L i² D. R i² Correct Answer: B. 1/2 C v² Question 8For an ideal transformer, if the turns ratio N₁/N₂ increases, the voltage ratio V₁/V₂ A. Decreases to zero B. Equals N₁/N₂ C. Equals N₂/N₁ only for current D. Becomes independent of turns Correct Answer: B. Equals N₁/N₂ Question 9Linearization of a nonlinear model is generally valid A. Only near a selected operating point B. At every switching transition C. Only when all parameters are zero D. Without any assumptions Correct Answer: A. Only near a selected operating point Question 10For a gearbox with speed ratio N = ω_m/ω_L and negligible losses, reflected load inertia is A. J_L N² B. J_L/N C. J_L/N² D. N/J_L Correct Answer: C. J_L/N²
|