Electric Circuits - Exam of 23 February 2023
Questa pagina non ha ancora la versione ripasso: qui sotto c'è il testo completo.
In questa pagina 5
Past exam of the course "Teoria dei Circuiti" (Information Engineering, University of Padua), session of 23 February 2023, theme A. It is the exam of the equivalent course taught in Italian, translated into English, because the English-language course does not publish its exams. The topics are all in the syllabus of this course. Total: 31 points = theory question 1 (8) + theory question 2 (8) + DC steady-state exercise (8) + sinusoidal steady-state exercise (7).
The official solution exists for the two exercises (not for the theory questions): the final results printed on the sheet are reproduced in "Result" and all of them were checked here with two independent methods (see the end of each solution). One intermediate sign error of the official handwritten solution is pointed out in Exercise 2.
Theory 1 (points 8)
Consider a network of two-terminal elements whose graph is connected. Call the number of branches and the number of nodes. For this situation write:
- the definition of loop (Italian maglia);
- the definition of cut-set;
- the definition of tree, and the number of branches of every tree;
- the definition of cotree, and the number of branches of every cotree.
Show the result
- Loop: a connected set of branches forming a closed path in which exactly 2 branches of the loop meet at every node of the loop.
- Cut-set: the set of branches crossed by a closed surface that encloses one or more nodes of the graph (the surface cuts branches, never nodes). The set of branches incident to one node is a cut-set.
- Tree: a connected set of branches that touches all nodes and contains no loop. Every tree has branches.
- Cotree: the set of the branches of the graph that do not belong to a given tree. Every cotree has branches.
Show the full solution
Graph of a network. The graph is built by drawing a point for every node of the network and a segment for every two-terminal element; only the interconnections matter, not lengths or positions (see Network TopologyKirchhoff's current and voltage laws as the two postulates of circuit theory, the graph of a network (nodes, branches, loops, meshes, cut-sets, trees, cotrees), how many independent KCL and KVL equations exist, and the resulting system of 2l equations and power conservation.Network Topology →). To keep an example at hand, take the graph with nodes and branches: between nodes 1 and 2, between 2 and 3, between 3 and 4, between 4 and 1, between 1 and 3 (a square with one diagonal).
Loop. A loop is a connected subgraph that is a closed path where 2 and only 2 branches of the loop reach each node of the loop. The condition on the number of branches is essential: a closed path that goes twice through the same node has 4 branches of the path at that node and is not a loop. In the example the loops are , and (the border of the square).
Loop and meshIn a planar graph a mesh is a loop that surrounds a window of the drawing, that is a region of the plane with no other branches inside. The number of meshes of a connected planar graph is l minus n plus 1. In the example the meshes are the two triangles, while the border of the square is a loop but not a mesh because it contains the diagonal. The exam asks for the loop only, but do not confuse the two words.
Cut-set. Take a closed surface that encloses one or more nodes of the graph and that crosses only branches (never a node). The set of branches crossed by the surface is a cut-set. In the example, the surface around node 1 crosses ; around node 2 it crosses ; a surface around nodes 1 and 2 together crosses . The surface has an orientation (outgoing or incoming currents) and Kirchhoff's current law holds for it: the algebraic sum of the currents of the branches of a cut-set is zero (Network TopologyKirchhoff's current and voltage laws as the two postulates of circuit theory, the graph of a network (nodes, branches, loops, meshes, cut-sets, trees, cotrees), how many independent KCL and KVL equations exist, and the resulting system of 2l equations and power conservation.Network Topology →, section on Kirchhoff's laws). Particular case: the branches incident to a node form a cut-set, and one recovers the KCL at the node.
Tree. A tree contains all the nodes of the graph and a set of branches that connects them without forming any loop. A graph generally has many trees. In the example (the path ) and are trees; is not a tree because it is a loop and does not touch node 4.
Number of branches of a tree: . Two nodes need one branch to be connected, and a second branch between the same two nodes would form a loop: 2 nodes, 1 branch. Each further node needs exactly one new branch: at least one to be connected to the nodes already in the tree, and not more than one, otherwise a loop would form. So the branches are one fewer than the nodes: . Example: , three branches in every tree.
Cotree. Given a tree, its cotree is formed by all the branches of the graph that are not in the tree. Every tree has its own cotree. The number of its branches is the total minus the tree branches: Example: ; the tree has the cotree .
Why it matters (not required by the question). The loops obtained by adding to the tree one cotree branch at a time give independent KVL equations, and the cut-sets made of one tree branch plus cotree branches give independent KCL equations; together equations (Network TopologyKirchhoff's current and voltage laws as the two postulates of circuit theory, the graph of a network (nodes, branches, loops, meshes, cut-sets, trees, cotrees), how many independent KCL and KVL equations exist, and the resulting system of 2l equations and power conservation.Network Topology →, section on independent equations).
Typical errors.
- Saying that a tree "connects all the nodes" without saying that it has no loop (or the opposite): both conditions are needed.
- Writing or instead of and .
- Defining the cut-set as "a set of branches" without the surface: not every set of branches is a cut-set.
Check done here: a script that lists all the subsets of branches of the example graph found 8 trees, all with 3 branches (cotrees with 2), 7 cut-sets and 3 loops, as in the text.
Theory 2 (points 8)
Charging transient of an R-C circuit.
- Draw the circuit diagram and indicate the reference directions adopted.
- Carry out the analysis of the circuit for and at the instant .
- Carry out the analysis for : derive the differential equation with respect to the chosen unknown, compute its solution and sketch the graphs, as functions of time, of the current and of the voltage of the ideal capacitor.
Show the result
- Circuit: ideal voltage source (constant), changeover switch S that acts at , resistor and capacitor in series; is the common current, and with the load convention ().
- : , . At : (state variable, continuous), while (it jumps).
- ODE: , with .
- , for .
- Graphs: rises from to with initial slope (about of at , about at ); jumps from to and decays to .
Show the full solution
1. Circuit and references.
S: position 1 for t < 0 (loop closed on itself),
position 2 for t > 0 (source inserted)
+------- 2 o o 1 ------+
| \ / |
(E) o R i = common current (R and C in series)
| | v_R = R i, v_C across C
+-----------------------C (+ on the side where i enters)Elements: ideal independent voltage source constant; resistor ; capacitor (initial voltage not given, to be found); changeover switch S with three terminals. For the terminals are connected so that R and C form a closed loop without the generator; for the generator is in series with R and C. , and the source are in series: one current for all (KCL). References: the current enters the terminal of and of (load convention), has the on the plate where enters, and the source has its terminal at the point from which leaves (see Circuit Elements, Ports and PowerHow an n-terminal element is described by n-1 currents and voltages, ports and m-ports, load and source conventions, electric power p = v i and passivity, the ideal wattmeter, Ohm's law and the ideal resistor, and the electrochemical generator that leads to the ideal voltage source in DC steady state.Circuit Elements, Ports and Power →). Constitutive equations: and (Capacitors and InductorsThe ideal capacitor (i = C dv/dt) and the ideal inductor (v = L di/dt) are dynamic two-terminal elements with memory, with continuous state variable (voltage, current), passive, storing the energy one half C v squared and one half L i squared, and behaving in DC steady state as an open circuit and a short circuit respectively.Capacitors and Inductors →).
2. Analysis for and at (the three-part analysis of First and Second Order TransientsWhen a switch changes a circuit with capacitors and inductors, the state variables (capacitor voltage, inductor current) stay continuous and the circuit moves exponentially (first order, time constant T) or with a damped shape (series RLC, three cases) to the DC steady state.First and Second Order Transients →).
For the network contains no source and is in DC steady state for a long time:
- the ideal capacitor in DC steady state is an open circuit: ;
- then ;
- KVL on the loop (no generator): , hence
At the switch inserts the generator. The voltage of the capacitor is a state variable and it is continuous when all voltages and currents stay bounded (Capacitors and InductorsThe ideal capacitor (i = C dv/dt) and the ideal inductor (v = L di/dt) are dynamic two-terminal elements with memory, with continuous state variable (voltage, current), passive, storing the energy one half C v squared and one half L i squared, and behaving in DC steady state as an open circuit and a short circuit respectively.Capacitors and Inductors →, section on the continuity of the voltage; in other words an abrupt change of would require an infinite current ): The current is not a state variable and may jump. Just after , KVL with the generator gives , so while : the current jumps. (If the exam sheet shows only a switch that closes, with the capacitor uncharged, the result is the same: the initial condition is then a given datum.)
3. Analysis for . Equations of the new network: KVL , KCL (series) one current , , . Take as unknown: substitute in the KVL: This is a first-order linear ODE with constant coefficients (the order is 1 because the circuit has one dynamic element). The solution is the sum of a particular solution and of the general solution of the homogeneous equation: .
- Particular solution (constant): , which is the DC steady-state value for (capacitor open, no current, no voltage on R).
- Homogeneous equation: .
Initial condition by continuity: : Current, from the capacitor equation: It agrees with the value found above, which is a useful check.
The other choice of unknown. If the unknown is , derive the KVL: , i.e. , homogeneous. Then and the initial condition is , which must be found from the KVL at as above; it is not . Using as initial condition of the current is the most common error of this question.
4. Graphs. Example with , , , so ; the time axis is in milliseconds.
Grafico interattivo: Voltage of the capacitor in volts, time in ms (T = 1 ms, E = 10 V): it starts from 0 and tends to E
Grafico interattivo: Current in mA, time in ms (T = 1 ms, E/R = 10 mA): it jumps to E/R at t = 0 and decays to 0
Features to show on the sketch:
- : continuous at , starts at with slope (the tangent at the origin meets the final value at ), reaches at and about at : the transient lasts about - time constants. For it is .
- : for , jumps to at , decays with the same time constant; at it is .
Energy check (optional). The energy dissipated in is , the energy stored in the capacitor at the end is , the generator delivers : half is dissipated and half stored, whatever is.
Typical errors. Drawing with a jump at ; drawing continuous at ; forgetting the "" in ; writing ; not stating the reference directions.
Checks done here: symbolic solution of the ODE with initial condition (same and ), numerical values and , mA, energy in the resistor .
Exercise 1 (points 8)
(DC steady-state exercise.) The network in the figure is in DC steady state. The values and the quantities impressed by the ideal voltage and current sources are known.
- For the network to the left of port AB (enclosed in the dashed box), determine:
- the value of the equivalent resistance at port AB ();
- the value of the open-circuit voltage at port AB, with the sign on node A ().
- Consider the network of the figure as a whole. Determine:
- the value of the voltage .
Data: , , , , , , , .
Description of the figure (to redraw it). Nodes: A (top), B (bottom), M (left middle), N (right middle), P (right, between and ), Q (between and ). Branches:
| element | value | between nodes | reference |
|---|---|---|---|
| A and M | |||
| A and N | |||
| M and B | |||
| (ideal voltage source) | M and N | terminal at M, terminal at N | |
| N and Q | |||
| (ideal current source) | B and Q | arrow from B towards Q | |
| A and P | |||
| (ideal voltage source) | P and B | terminal at P, terminal at B |
The dashed box (network to the left of the port) contains ; the port AB is formed by nodes A and B; outside the box there is the branch + between A and B.
Show the result
Show the full solution
The three results are those printed on the official sheet; the work below reproduces them and checks them with a second method.
Part 1a: equivalent resistance. The equivalent resistance of a one-port with independent sources is computed with the sources switched off: an ideal voltage source becomes a short circuit () and an ideal current source becomes an open circuit () (Network TheoremsThe substitution theorem lets a branch be replaced by a source imposing its own solution, Thevenin and Norton reduce any linear two-terminal network to a source with a resistor (series or parallel), and superposition is the tool used in their proofs.Network Theorems →, Thevenin's theorem, and Two-Terminal Elements and Series-Parallel ConnectionsAdynamic two-terminal elements (resistor, short and open circuit, switch, ideal voltage and current sources, ideal diode), their characteristics, series and parallel connections with equivalent elements, resistor equivalence, voltage and current dividers, source transformation, the linear resistive network system and the superposition principle, with the worked exercises of the lectures.Two-Terminal Elements and Series-Parallel Connections →).
- open: the branch + carries no current, so plays no role (a resistor in series with an open circuit). This is the typical trap: do not put in the calculation.
- short: nodes M and N coincide. Then (between A and M) and (between A and N = M) are both between A and the same node: they are in parallel:
- is between that node and B: in series with :
Part 1b: open-circuit voltage (port AB open, i.e. the branch + removed), by superposition of the effects (Network TheoremsThe substitution theorem lets a branch be replaced by a source imposing its own solution, Thevenin and Norton reduce any linear two-terminal network to a source with a resistor (series or parallel), and superposition is the tool used in their proofs.Network Theorems →, section on superposition). Two cases, with one source acting at a time; the sources switched off are replaced as above.
Only acting ( open). The branch + is open. Node B is then a dead end (connected only to , to the open and to the open port), so carries no current. The only closed loop is , , in series: is applied to the series of and (the source raises the potential of N by over M). Voltage divider on : Since carries no current, , so (potential of A above M by : of the of , fall on and on ).
Only acting ( short, so M and N coincide). The current flows from B up through and into the merged node M = N. From there it can return to B only through , because and lead to the open node A and carry no current. So carries from M to B: and because and carry no current.
Sum:
Part 2: the whole network. The left network is replaced by its Thevenin equivalent: a voltage source (with the terminal at A) in series with (Network TheoremsThe substitution theorem lets a branch be replaced by a source imposing its own solution, Thevenin and Norton reduce any linear two-terminal network to a source with a resistor (series or parallel), and superposition is the tool used in their proofs.Network Theorems →, Thevenin). The result is a single loop: Thevenin equivalent between A and B and the branch + between A and B. Let be the current in the branch + from A to B.
- On the branch of the right: and, since the terminal of is at B, ; with : .
- On the Thevenin equivalent: . Equating: and The negative sign means that A is at a lower potential than B: the generator (which pushes B above P by ) prevails over the of the left network.
Second method (Millman, one node). Both branches between A and B are of the type "source + resistor": A from the left Thevenin equivalent (as a Norton current towards A) and from the right branch; conductances :
Complete check with nodal analysis (script). Solving the whole network (potentials with ): , , , , current in (from M to N) , current in and in . Tellegen's theorem (conservation of power, Network TopologyKirchhoff's current and voltage laws as the two postulates of circuit theory, the graph of a network (nodes, branches, loops, meshes, cut-sets, trees, cotrees), how many independent KCL and KVL equations exist, and the resulting system of 2l equations and power conservation.Network Topology →, section on power conservation): absorbed power of the resistors , , , , , total ; delivered power of , of , of , total . The balance closes. In the same script: Thevenin by two experiments gives and , and the loop gives .
Typical errors.
- Keeping in the equivalent resistance (it is in series with the current source, which is open when switched off).
- Replacing with an open circuit, or with a short circuit.
- Writing the sign of without checking the position of the of (here the is on the side of B: contributes with as seen from A).
- Forgetting that is the voltage with the on A (as the text says), or assuming that is also valid with connected.
Exercise 2 (points 7)
(Sinusoidal steady-state exercise.) The network in the figure is in sinusoidal steady state. The parameters and the quantities impressed by the ideal generators are known: , .
- For the symbolic (phasor) network associated with the network to the right of port AB (in the dashed box), determine:
- the value of the equivalent impedance at port AB ();
- the value of the phasor of the open-circuit voltage at port AB, with the sign on node A ().
- Consider the network of the figure as a whole. Determine:
- the value measured by the ideal average-value wattmeter.
Data: , , , , , , , , .
Description of the figure (to redraw it). Nodes: B (bottom wire), S (top of ), D (between and the wattmeter), A, X (right end of ). Branches:
| element | value | between nodes | reference |
|---|---|---|---|
| (ideal voltage source) | S and B | terminal at S (top) | |
| S and D | |||
| wattmeter W, current terminals | D and A | terminal at D (left), terminal at A (right) | |
| wattmeter W, voltage terminals | A and B | terminal connected to node A, terminal connected to B | |
| A and B | |||
| A and X | |||
| (ideal current source) | B and X | arrow from B towards X | |
| X and B |
The dashed box (network to the right of the port) contains , , and .
Show the result
Show the full solution
Phasors and impedances (rms phasors, sine as reference: ; see Sinusoids and PhasorsA network is in sinusoidal steady state when all voltages and currents are sinusoids of the same frequency; each sinusoid is identified by its rms value and phase, i.e. by a complex number called phasor.Sinusoids and Phasors → and Sinusoidal Steady-State AnalysisIn sinusoidal steady state every element becomes a complex impedance or admittance, KCL and KVL hold for phasors, so the network becomes a linear algebraic circuit in the complex domain solved with the same methods as resistive circuits (dividers, superposition, mesh, nodal, Thevenin, Norton), with resonance in series and parallel RLC.Sinusoidal Steady-State Analysis →):
Part 1a: equivalent impedance of the box. With the generator switched off (open circuit) the series (between A and B, through X) is in parallel with : (The impedance of a series is the sum, the admittances of a parallel add up: Sinusoidal Steady-State AnalysisIn sinusoidal steady state every element becomes a complex impedance or admittance, KCL and KVL hold for phasors, so the network becomes a linear algebraic circuit in the complex domain solved with the same methods as resistive circuits (dividers, superposition, mesh, nodal, Thevenin, Norton), with resonance in series and parallel RLC.Sinusoidal Steady-State Analysis →, series and parallel.)
Part 1b: open-circuit voltage of the box. With the port open, the phasor current source injects its current into node X. From X the current can go to B in two ways: through , or through the series (to A and then through to B). The two branches are in parallel, so it is a current divider. Series branch: . Current in (from A to B): Compute , so . The open-circuit voltage is the voltage of (no current in the wire towards the left; has no effect on the voltage of A):
Part 2: the wattmeter. The ideal wattmeter measures the active power , , with its own references (AC PowerIn sinusoidal steady state the instantaneous power at a port has a constant term (the active power P) and a term at twice the frequency; P, the reactive power Q, the apparent power S and the complex power are the real part, imaginary part, magnitude and the product of the voltage phasor by the conjugate current phasor.AC Power →, ideal wattmeter): the current reference goes from the to the of the current terminals, the voltage reference has the on the voltage terminal. Its current terminals are a short circuit and its voltage terminals an open circuit, so it does not perturb the network. Here:
- the voltage terminals are connected to A () and B (): ;
- the current terminals are in series in the wire from to A, with the terminal on the side of A. The current reference goes from the terminal (A side) to the terminal (side of ): it points towards the left. If is the current flowing in the wire from towards A (to the right), then .
Simplification of the network. Replace the box with its Thevenin equivalent: a source with the at A, in series with (Network TheoremsThe substitution theorem lets a branch be replaced by a source imposing its own solution, Thevenin and Norton reduce any linear two-terminal network to a source with a resistor (series or parallel), and superposition is the tool used in their proofs.Network Theorems →, Thevenin in the phasor domain). The network is a single loop: , , the box. For a current flowing to the right into A and then through the equivalent impedance from A to B: Equating: The total impedance of the loop is (the reactances and cancel: resonance). Then The wattmeter quantities are and :
Meaning of the sign. The network at the right of the port absorbs (load convention): the generator delivers (reactive power apart), the resistor dissipates and the current source absorbs . The wattmeter is connected so that its references are those of a source convention for the network on its right, so it reads the opposite of the absorbed power: . Had the current terminals been connected the other way, it would have read .
Second method (superposition, as in the official solution). Phasor sources one at a time; the equivalent impedance of the box is in both cases.
- Only (the box is , with the source open): , (divider: ).
- Only (, i.e. short circuit): the source drives the loop with its at A: the current that flows out of the terminal and through the loop returns into B, so in the wire from towards A, to the right, the current is , and .
- Sum: and , equal to the first method.
Check with a complete nodal analysis (numeric script). Nodal analysis of the whole network (nodes A and X, ) gives , and : the same values. Complex power balance (Tellegen, AC PowerIn sinusoidal steady state the instantaneous power at a port has a constant term (the active power P) and a term at twice the frequency; P, the reactive power Q, the apparent power S and the complex power are the real part, imaginary part, magnitude and the product of the voltage phasor by the conjugate current phasor.AC Power →, conservation of complex power): absorbed of , of , of , of , of the source (it absorbs active power); delivered by the generator : . The sum of the absorbed complex powers is zero (to rounding), and the active powers satisfy .
Remark on the official handwritten solution. The final numbers printed on the sheet (, , ) are correct. In part 2 the official solution takes the voltage with the opposite reference, , which is fine if the current is then the one flowing to the right, (giving the same ). But for the source alone it writes the current as : the Thevenin source with its at A pushes the current out of A, towards the left, so towards the right it is . The official sum is instead of , and instead of . The active power is correct only by coincidence: for gives for both and (the imaginary part, i.e. the reactive power, is wrong). The handwritten page also writes the capacitance in nF: the correct unit is (only with one gets ).
Typical errors.
- Using the peak values instead of the rms values: the phasors here are rms because .
- Forgetting the conjugate of the current in .
- Wrong sign of the wattmeter reading: the sign depends on which current terminal is on the side of the load.
- Computing the current divider with the wrong impedances: the series is in parallel with , not alone.
- Forgetting that the of is on A and using it as a source with the opposite sign in the loop.
Self-assessment grid
| exercise | points | what must be there for full marks | typical errors |
|---|---|---|---|
| Theory 1 | 8 | Four correct definitions: loop (2 and only 2 branches of the loop at every node), cut-set (branches cut by a closed surface around some nodes), tree (all nodes, connected, no loop), cotree (complement of the tree); and , ideally with the reason | tree without the "no loop" condition; confusing loop and mesh; for the cotree; cut-set as an arbitrary set of branches |
| Theory 2 | 8 | Diagram with references; and with the reason; continuity of and jump of to ; ODE ; solution and ; two graphs with and the initial slope | initial condition of the current taken from ; with a jump; ; missing references; graphs without scale or time constant |
| Exercise 1 | 8 | (sources off, not counted); (superposition ); (Thevenin plus the branch - with the correct sign of ) | in the equivalent resistance; source replaced in the wrong way; sign of ; used with connected |
| Exercise 2 | 7 | Phasors and impedances ( for ); ; (divider); with the right orientation of the wattmeter | peak instead of rms; no conjugate; wattmeter sign; divider with wrong impedances |