Electrical and Electronic FoundationsIntroductionMechatronic systems combine mechanical structures, sensors, actuators, control algorithms, power electronics, and embedded computation. All of these subsystems depend on electrical quantities and circuit laws. A motor controller cannot be designed safely without understanding voltage, current, power, impedance, transients, and measurement uncertainty. Similarly, a sensor interface may fail because of an incorrect reference node, an overlooked tolerance, or an instrument connected in the wrong mode. This chapter establishes the circuit-analysis language used throughout analog and digital electronics. It develops direct-current (DC) and alternating-current (AC) concepts, Kirchhoff’s laws, network theorems, first-order transients, frequency response, schematic interpretation, datasheet use, tolerances, and laboratory safety. Learning ObjectivesBy the end of this chapter, you should be able to: - Define charge, voltage, current, power, energy, resistance, capacitance, and inductance.
- Apply Ohm’s law and Kirchhoff’s current and voltage laws.
- Analyze series and parallel circuits and use Thévenin, Norton, and superposition methods.
- Represent sinusoidal steady-state quantities with impedance and phasors.
- Determine time constants and responses of first-order RC and RL circuits.
- Interpret frequency-domain behavior using transfer functions, gain, and phase.
- Read schematics and datasheets while accounting for tolerances and loading.
- Use laboratory instruments safely and recognize measurement limitations.
1. Electrical Quantities and UnitsElectric charge is measured in coulombs (C). Electric current is the rate of flow of charge: i(t) = dq(t)/dt Here, i(t) is current in amperes (A), q(t) is charge in coulombs, and t is time in seconds. Conventional current is defined as the movement of positive charge, even though conduction in metals is mainly due to negatively charged electrons. Voltage is energy per unit charge. Between nodes a and b, vab = dw/dq where vab is voltage in volts (V), w is energy in joules (J), and q is charge in coulombs. A voltage source establishes a potential difference; it does not necessarily force current unless a closed path exists. Instantaneous electrical power is p(t) = v(t)i(t) Power is measured in watts (W). Under the passive sign convention, current enters the terminal marked positive. Positive power means that the element absorbs power; negative power means that it delivers power. Energy transferred over an interval is W = ∫t1t2 p(t) dt Energy is measured in joules. Batteries, for example, deliver energy, whereas resistors convert electrical energy mainly into heat. Resistance and Ohm’s LawFor an ideal resistor, v = iR where R is resistance in ohms (Ω). Ohm’s law applies to a linear resistor with constant resistance. Real components may be non-ohmic: incandescent lamps, thermistors, diodes, and semiconductor junctions have resistance that changes with voltage, current, temperature, or operating point. Combining power and Ohm’s law gives three useful resistor relations: p = vi = i2R = v2/R These expressions apply to a resistor under the passive sign convention. They must not be used indiscriminately for capacitors or inductors. Capacitors and InductorsA capacitor stores energy in an electric field. Its constitutive relation is iC(t) = C dvC(t)/dt where C is capacitance in farads (F). Capacitor energy is wC = 1/2 C vC2 Voltage across an ideal capacitor cannot change instantaneously if its current is finite. At DC steady state, an ideal capacitor behaves as an open circuit. An inductor stores energy in a magnetic field: vL(t) = L diL(t)/dt where L is inductance in henries (H), and wL = 1/2 L iL2 Current through an ideal inductor cannot change instantaneously if its voltage is finite. At DC steady state, an ideal inductor behaves as a short circuit. Practical capacitors and inductors have leakage, series resistance, parasitic inductance, saturation limits, and frequency-dependent behavior. 2. Circuit Models, Nodes, Branches, and LoopsA circuit model is an abstraction of a physical system. It represents sources and components using idealized relationships. A node is a region connected by ideal conductor and therefore at one voltage. A branch is a circuit element between two nodes. A loop is a closed path. A reference node, or ground, is assigned zero voltage. Ground is a measurement reference, not automatically a protective-earth connection. In equipment, signal ground, chassis ground, and protective earth may be connected together, separated, or connected through controlled impedance. Kirchhoff’s LawsKirchhoff’s current law (KCL) follows from conservation of charge: ∑ ik = 0 At any node, currents entering may be assigned positive signs and currents leaving negative signs, or vice versa, provided the convention is consistent. Kirchhoff’s voltage law (KVL) follows from conservation of energy in a lumped circuit: ∑ vk = 0 Around any closed loop, the algebraic sum of voltage rises and drops is zero. KVL is most directly applicable when magnetic coupling and time-varying flux external to the modeled loop are negligible. At high frequencies, distributed electromagnetic effects may require transmission-line or field models. Worked Example 1: Resistive NetworkA 12 V ideal source supplies a 2 Ω resistor in series with a parallel combination of 6 Ω and 3 Ω. The parallel equivalent is Rp = (6 × 3)/(6 + 3) = 2 Ω The total resistance is RT = 2 + 2 = 4 Ω, so the source current is IT = 12/4 = 3 A The voltage across the parallel network is Vp = IT Rp = 3 × 2 = 6 V. Branch currents are therefore I6 = 6/6 = 1 A and I3 = 6/3 = 2 A. KCL is satisfied because 1 + 2 = 3 A. The source delivers P = 12 × 3 = 36 W, while the resistors absorb 36 W in total. 3. Network Analysis and TheoremsSeries and Parallel RulesIn a series connection, the same current flows through every element and resistances add: Rs = R1 + R2 + ... + Rn In a parallel connection, the same voltage appears across each branch and conductances add: 1/Rp = ∑k=1n 1/Rk For two resistors, Rp = R1R2/(R1 + R2). These formulas require actual series or parallel topology; visual proximity on a schematic is not sufficient. Voltage and Current DivisionFor series resistors, the voltage across R2 is V2 = Vs R2/(R1 + R2) For parallel branches, current division for two resistors gives I1 = IT R2/(R1 + R2) The opposite resistor appears in the numerator because the lower-resistance branch carries more current. Thévenin and Norton EquivalentsAny linear two-terminal network can be represented, over a specified operating range, by a Thévenin voltage source VTH in series with RTH, or a Norton current source IN in parallel with RN. For resistive networks, RTH = RN, IN = VTH/RTH VTH is the open-circuit terminal voltage. RTH can be found by deactivating independent sources—ideal voltage sources become shorts and ideal current sources become opens—or by RTH=VOC/ISC when appropriate. Dependent sources must remain active; a test source may be required. These equivalents simplify load analysis. If a load RL is connected to a Thévenin source, the load voltage is VL = VTH RL/(RTH + RL) SuperpositionIn a linear circuit containing multiple independent sources, the total response is the algebraic sum of responses produced by each source acting alone. When a source is deactivated, an ideal voltage source is replaced by a short circuit and an ideal current source by an open circuit. Superposition applies to voltage and current, not directly to power, because power is nonlinear in voltage and current. 4. DC and AC Circuit ConceptsDC quantities are constant with time in the ideal case. AC quantities vary, commonly as sinusoids: v(t) = Vm cos(ωt + φ) Here Vm is peak voltage, ω = 2πf is angular frequency in rad/s, f is frequency in hertz, and φ is phase angle. For a sinusoid, the root-mean-square value is VRMS = Vm/√2 The RMS value is the equivalent DC value that produces the same average power in a resistor. It applies to a pure sinusoid; non-sinusoidal waveforms require calculation from XRMS = √[(1/T)∫0T x2(t)dt] Impedance and PhasorsIn sinusoidal steady state, differentiation becomes multiplication by jω, where j = √(-1). The impedances of ideal components are ZR = R ZC = 1/(jωC) ZL = jωL Impedance is measured in ohms and may be written in rectangular form Z = R + jX or polar form |Z|∠θ. Phasors represent sinusoidal magnitude and phase; they do not represent arbitrary transients. For a series circuit, impedances add. Ohm’s law becomes V = IZ The phase angle of impedance is θ = tan-1(X/R) where X is reactance. A positive reactance is inductive; a negative reactance is capacitive. Worked Example 2: Series RC CircuitA 10 V RMS, 1 kHz source drives a series circuit containing R = 1.0 kΩ and C = 100 nF. The capacitive reactance magnitude is |XC| = 1/(2πfC) = 1/[2π(1000)(100 × 10-9)] ≈ 1592 Ω Thus Z = 1000 - j1592 Ω, with magnitude |Z| = √(10002 + 15922) ≈ 1879 Ω The RMS current magnitude is I = 10/1879 ≈ 5.32 mA. The current leads the source voltage because the circuit is capacitive. The resistor voltage magnitude is approximately 5.32 V RMS, while the capacitor voltage magnitude is approximately 8.47 V RMS. Their arithmetic sum exceeds 10 V because their phase angles differ; phasor addition is required. 5. Transient ResponseA transient is the temporary response following switching or a change in excitation. The natural response of a stable first-order circuit decays exponentially. The general form is x(t) = x(∞) + [x(0^+) - x(∞)]e-t/τ, t ≥ 0 Here x(0^+) is the value immediately after switching, x(∞) is the final value, and τ is the time constant. At approximately one time constant, 63.2% of a step change has occurred; after about five time constants, the response is within approximately 0.67% of its final value. For an RC circuit, τ = ReqC where Req is the resistance seen by the capacitor with independent sources deactivated. For an RL circuit, τ = L/Req where Req is the resistance seen by the inductor. These formulas assume linear components, a lumped circuit, constant parameters, and zero relevant initial energy unless initial conditions are explicitly included. A capacitor’s voltage and an inductor’s current are continuous at an ideal switching instant: vC(0^+) = vC(0^-), iL(0^+) = iL(0^-) Worked Example 3: RC ChargingA 5 V source is connected through R = 10 kΩ to C = 100 μF, initially uncharged. The time constant is τ = (10,000)(100 × 10-6) = 1 s. The capacitor voltage is vC(t) = 5(1 - e-t/1) V At t = 2 s, vC = 5(1-e-2) ≈ 4.32 V. The initial current is 5/10,000 = 0.5 mA, and it decreases exponentially toward zero. 6. Frequency-Domain ConceptsA linear time-invariant system can be described by a transfer function. For zero initial conditions, H(s) = Vout(s)/Vin(s) where s is the complex frequency variable. The frequency response is obtained by setting s = jω. Magnitude is often expressed in decibels: GdB = 20 log10|H(jω)| For power ratios, the corresponding expression is 10 log10(P2/P1). The use of 20 applies to voltage or current ratios when impedances are equal or appropriately accounted for. For a simple RC low-pass filter with output across the capacitor, H(jω) = 1/(1 + jωRC) Its cutoff angular frequency and frequency are ωc = 1/(RC), fc = 1/(2πRC) At cutoff, the magnitude is 1/√2 of the low-frequency value, corresponding to −3.01 dB, and the phase is −45°. The ideal asymptotic slope above cutoff is −20 dB per decade. Real filters are affected by source resistance, load resistance, component tolerances, parasitic capacitance, and measurement equipment. 7. Schematics, Datasheets, and TolerancesA schematic communicates connectivity, reference designators, values, polarity, signal direction, and test points. Read it by tracing nodes rather than relying on physical layout. Common conventions include R for resistor, C for capacitor, L for inductor, D for diode, Q for transistor, U or IC for integrated circuit, and J for connector, although organizational standards vary. A datasheet should be read in layers: - absolute maximum ratings: limits that must never be exceeded;
- recommended operating conditions: intended operating range;
- electrical characteristics: guaranteed or typical performance under stated conditions;
- timing and dynamic data: switching, propagation, settling, or frequency behavior;
- application information: useful circuits that may not be guaranteed;
- package and thermal data: physical and heat-dissipation constraints.
Typical values are not guarantees. “No connection” pins must be treated according to the manufacturer’s instructions. A maximum rating is not an operating target. Component tolerances affect circuit performance. If a resistor has nominal value R and tolerance ±t, its allowed range is Rmin = R(1-t), Rmax = R(1+t) where t is expressed as a decimal. For R = 10 kΩ and t = 5%, the range is 9.5 kΩ to 10.5 kΩ. Worst-case analysis uses extreme combinations; statistical tolerance analysis requires justified probability assumptions and should not replace safety margins. 8. Laboratory Instruments and SafetyA digital multimeter measures voltage in parallel and current in series. Connecting an ammeter directly across a voltage source can create a short circuit because its internal resistance is low. Before measuring resistance or continuity, power must be removed and capacitors discharged safely. An oscilloscope displays voltage versus time. Its probe attenuation setting must match the instrument setting. Standard bench oscilloscope grounds are commonly connected to protective earth; attaching the ground clip to a non-ground node can short that node to earth and damage equipment. Differential probes or isolated measurement methods are required where appropriate, but isolation ratings must be verified rather than assumed. A function generator may have a specified output impedance, often 50 Ω. Its displayed amplitude may refer to a particular load condition, so the actual circuit voltage can differ when the load is high impedance or mismatched. Probe capacitance and input resistance load high-impedance nodes and can alter frequency response. Safe practice includes de-energizing before rewiring, using current-limited supplies, checking polarity and ranges, inspecting leads, keeping one hand away from hazardous circuits when appropriate, and following institutional electrical-safety procedures. Low-voltage laboratory circuits can still damage components, produce high currents, or store dangerous energy in capacitors and inductors. Safety is an engineering responsibility, not merely a laboratory formality. 9. Illustrative Application: Sensor Interface for a Mobile RobotBackgroundConsider an illustrative mobile robot using a resistive analog position sensor. The sensor forms a voltage divider powered from 5 V, and a microcontroller reads its output with a 0–5 V analog-to-digital converter (ADC). ProblemThe sensor’s nominal resistance is 10 kΩ, but its tolerance is ±20%. The ADC input has finite leakage and the wiring is exposed to motor noise. The design must provide a predictable voltage, avoid exceeding the ADC input range, and produce a stable reading. Analysis and ApproachThe sensor and a fixed resistor form a divider. If the sensor resistance is RS and the fixed resistor is RF, with output measured across RF, Vout = VS RF/(RS + RF) Choosing RF = 10 kΩ gives a nominal midscale output when RS = 10 kΩ. However, at the sensor extremes caused by tolerance, the output changes substantially. The designer therefore uses the sensor’s actual specified range, not only its nominal value, to calculate ADC limits. A small RC low-pass filter can reduce high-frequency motor noise. Its cutoff frequency must be well above the required control bandwidth but low enough to attenuate switching noise. The ADC datasheet must be checked for maximum source impedance and acquisition time; an excessively large series resistance can prevent the sample-and-hold capacitor from charging accurately. A prototype is tested with a current-limited supply. The multimeter verifies DC levels, while the oscilloscope checks ripple and transient behavior. Measurements are repeated at minimum and maximum sensor positions and under motor operation. If the output can exceed the ADC rails during faults, a series resistor and suitable clamping or protection network may be required, subject to leakage and signal-integrity analysis. Outcome and Learning PointsThe successful design is not obtained by applying a divider formula alone. It requires tolerance analysis, loading analysis, bandwidth selection, protection, datasheet interpretation, and safe measurement. The same reasoning applies to temperature sensors, pressure transducers, potentiometers, and many actuator feedback circuits. 10. Limitations and Contemporary PracticeIdeal circuit theory is powerful but limited. At high frequency, interconnects have distributed impedance, ground is not equipotential, and electromagnetic coupling becomes significant. At high current, conductor resistance and thermal effects matter. Semiconductor behavior is nonlinear, and models must be selected according to the required accuracy. Modern design increasingly uses simulation, automated tolerance analysis, and computer-aided schematic checking. These tools improve productivity but do not replace physical reasoning or measurement. AI-assisted design tools can suggest circuits, identify possible errors, and summarize datasheets, but engineers must verify equations, models, ratings, provenance, and safety implications. An unverified generated circuit is not evidence of compliance or reliability. Good engineering practice includes explicit assumptions, documented test conditions, traceable component choices, conservative ratings, controlled revisions, and independent review for safety-critical designs. Applicable electrical, EMC, machinery, and laboratory regulations must be identified for the product’s intended environment and jurisdiction. Chapter SummaryElectrical engineering begins with conserved quantities and clearly defined reference directions. Current is charge flow, voltage is energy per charge, and power is the rate of energy transfer. Ohm’s law describes ideal linear resistance, while capacitors and inductors relate current and voltage through derivatives and store field energy. KCL and KVL provide the foundation for systematic circuit analysis. Series-parallel reduction, divider rules, superposition, Thévenin equivalents, and Norton equivalents simplify linear networks. Sinusoidal steady-state circuits are analyzed with RMS quantities, phasors, and complex impedance. Transient behavior is governed by initial conditions and time constants, while frequency-domain analysis describes gain, phase, bandwidth, and filtering. Practical mechatronics requires more than correct algebra. Schematics, datasheets, tolerances, loading, parasitic effects, instrument limitations, and electrical safety determine whether a design works reliably. Simulation and AI tools are valuable assistants, but engineering judgment and verification remain essential. Key TermsCharge: Electrical quantity measured in coulombs. Current: Rate of charge flow, measured in amperes. Voltage: Energy difference per unit charge, measured in volts. Power: Rate of energy transfer, measured in watts. Resistance: Opposition to current in a resistive element, measured in ohms. Capacitance: Ability to store energy in an electric field, measured in farads. Inductance: Ability to store energy in a magnetic field, measured in henries. Node: Connected region having one electrical potential in the circuit model. KCL: Kirchhoff’s current law; algebraic current sum at a node is zero. KVL: Kirchhoff’s voltage law; algebraic voltage sum around a loop is zero. Impedance: Complex opposition to sinusoidal current, measured in ohms. Phasor: Complex representation of sinusoidal magnitude and phase. Reactance: Imaginary component of impedance. Time constant: Parameter governing first-order exponential response. Transfer function: Ratio of output to input in the transform domain under zero initial conditions. Tolerance: Permitted deviation from a nominal component value. Thévenin equivalent: Voltage source and series resistance representation of a linear two-terminal network. Norton equivalent: Current source and parallel resistance representation of a linear two-terminal network. RMS value: Effective value of a periodic quantity for resistive power comparison. Review QuestionsShort Answer Questions- Define voltage and explain its unit.
- State Kirchhoff’s current law and identify the conservation principle behind it.
- Why does an ideal capacitor behave as an open circuit at DC steady state?
- What is the difference between a typical datasheet value and a maximum rating?
- Why must an ammeter be connected in series?
Long Answer Questions- Explain the passive sign convention and derive the three resistor power expressions from Ohm’s law.
- Describe Thévenin and Norton equivalents, including how independent sources are deactivated.
- Explain phasors and impedance for resistors, capacitors, and inductors in sinusoidal steady state.
- Derive the first-order RC charging response and interpret the meaning of one and five time constants.
- Discuss how component tolerances, source impedance, load impedance, and oscilloscope probes affect measurements.
Analytical / Application Questions- A 24 V source feeds a 4 Ω resistor in series with 8 Ω and 12 Ω in parallel. Determine total current, parallel voltage, and each branch current.
- Design an RC low-pass filter with a nominal cutoff frequency of 1 kHz using a 10 nF capacitor. Calculate the required resistance and explain at least two practical nonidealities.
- A sensor divider is connected to an ADC whose input has finite leakage and limited acquisition time. Propose a measurement and validation procedure that checks voltage range, loading, noise, tolerance, and safe instrument connection.
Multiple Choice Questions with AnswersQuestion 1A 12 V source is connected to a 4 Ω resistor. What current flows under the ideal resistor model? A. 0.33 A B. 3 A C. 16 A D. 48 A Correct Answer: B. 3 A Question 2Which law states that the algebraic sum of currents at a node is zero? A. Ohm’s law B. Faraday’s law C. Kirchhoff’s current law D. Kirchhoff’s voltage law Correct Answer: C. Kirchhoff’s current law Question 3At DC steady state, an ideal capacitor behaves as a: A. Short circuit B. Current source C. Resistor of 1 Ω D. Open circuit Correct Answer: D. Open circuit Question 4Which impedance represents an ideal inductor? A. R B. 1/(jωC) C. jωL D. 1/(jωL) Correct Answer: C. jωL Question 5A 10 kΩ resistor has a tolerance of ±5%. What is its minimum allowed value? A. 9.0 kΩ B. 9.5 kΩ C. 10.05 kΩ D. 10.5 kΩ Correct Answer: B. 9.5 kΩ Question 6For a first-order RC circuit, the time constant is: A. R/C B. C/R C. RC D. 1/(RC) Correct Answer: C. RC Question 7In superposition analysis, an ideal independent voltage source is deactivated by replacing it with a: A. Short circuit B. Open circuit C. Capacitor D. Current source Correct Answer: A. Short circuit Question 8At the cutoff frequency of a first-order low-pass filter, the voltage magnitude is approximately: A. 0.01 of its passband value B. 0.5 of its passband value C. 0.707 of its passband value D. 2 times its passband value Correct Answer: C. 0.707 of its passband value Question 9A multimeter configured to measure current should generally be connected: A. In parallel with the source B. In series with the branch C. Across an open switch only D. Across a capacitor while powered Correct Answer: B. In series with the branch Question 10Which statement about power superposition is correct? A. Power can always be superposed directly from individual source powers. B. Superposition applies directly to power because power is linear. C. Superposition applies to voltage and current, but power must be calculated from the total response. D. Superposition applies only to nonlinear circuits. Correct Answer: C. Superposition applies to voltage and current, but power must be calculated from the total response.
|