Network Topology
In questa pagina 7
A network of components is described in two independent ways: the topology (how components are interconnected, regardless of their type) and the constitutive relations of the components. This note covers the first: Kirchhoff's laws, the graph of a network, and the independent topological equations. It builds on the lumped model of Electric Current, Voltage and the Circuit ModelElectric charge, current and current density, the electrostatic and electric field, voltage as the line integral of the electric field, and how these quantities lead to the lumped circuit model where currents and voltages are scalar functions of time.Electric Current, Voltage and the Circuit Model → and on the port description in 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 →. Series and parallel connections and the actual solution of networks are in 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 →.
1. Kirchhoff's laws
Kirchhoff's current law (KCL) and Kirchhoff's voltage law (KVL) are two postulates of circuit theory, independent of the "type" of components in the network (they are also called the first and second Kirchhoff principles). KCL gives linear relations among network currents; KVL gives linear relations among network voltages.
Kirchhoff's current law
Take any closed surface , entirely finite, that intersects the network only at terminals (it does not intersect any closed boundary surface of components and does not pass through any end-point or node). KCL: at every instant the algebraic sum of the currents of the terminals intersected by is zero,
Sign rule. Orient (inward or outward). Each intersected current is taken with its reference direction: if the reference direction agrees with the orientation of the current is taken with its sign, otherwise with the sign changed. The opposite rule (current taken with its sign when its reference is opposite to the orientation of ) gives the same relation multiplied by , hence equivalent.
KCL represents the assumption of the model that the current field is solenoidal while remaining external (or tangential) to the closed boundary surfaces of the components.
Example. Outward orientation of and currents with the given references: with the first rule ; with the second rule (the same equation times ).
Remark (n-terminal element). A closed surface that intersects all and only the terminals of an -terminal element (parallel and very close to its boundary surface) gives a relation among its currents. With all currents taken as outward:
Kirchhoff's voltage law
Take any closed line entirely at finite distance that intersects the network only at nodes (it does not intersect any component boundary surface and has no points in common with the terminals except the end-points). KVL: at any instant the algebraic sum of the voltages encountered between successive nodes, moving along in an arbitrary orientation starting from an arbitrary node and returning to it, is zero,
Sign rule. Orient and move along it. A voltage between two consecutive nodes is taken with its sign if, going from one node to the next, it is crossed from the sign to the sign; otherwise with the sign changed. The opposite rule gives the same equation times .
KVL represents the assumption of the model that the electric field is conservative while remaining external (or tangential) to the closed boundary surfaces of the components.
Example. Four nodes 1, 2, 3, 4 on , visited in the order 1, 2, 3, 4, 1, with voltages whose signs are as in the figure (the arrow of a voltage points from its to its sign): ; equivalently, with the other rule, .
Remark (n-terminal element). Number the end-points and go through them once in sequence, returning to 1 (path touching only end-points): Analogous relations hold for any end-points, starting from any of them and returning to the start.
2. Graph of a network
Consider networks of two-terminal elements, whose topology is of more immediate intuition. The topology is described by a graph: a set of points (nodes) and a set of segments (arcs, branches), each branch connecting a pair of nodes.
Construction. Draw one graph node for each network node and one graph branch for each two-terminal element. The graph has nodes and branches. Lengths of branches and positions of nodes are irrelevant; only the interconnections must be correct. In the graph all elements are the same kind of segment (the type of component is not shown).
Example used in the slides: a network with 4 nodes (1 to 4) and 5 two-terminal elements , hence , . Reconstructed from the cut-sets and trees listed in the slides, the branches are: between nodes 1 and 2, between 2 and 3, between 3 and 4, between 4 and 1, between 1 and 3 (this is consistent with the cut-sets and node sets listed below).
a1
1 ------- 2
| \ |
| \ a5 | a2
a4| \ |
4 ------- 3
a3
(a5 joins node 1 to node 3)- Connected graph: given any two nodes it is possible to move from one to the other along branches. A disconnected graph consists of separate connected parts; if the parts do not influence each other they are really separate circuits. For networks of two-terminal elements the treatment refers to a connected graph.
- Planar graph: it can be drawn on a plane without branch crossings. A network is planar if its graph is planar. (Example of a non-planar graph: five nodes with ten branches in the slides.)
3. Loop, mesh, cut-set, tree, cotree
Loop. A connected subgraph (a subset of branches and nodes) forming a closed path such that at each node of the loop 2 and only 2 branches of the loop are connected. A graph generally has more than one loop. A closed path with 3 branches of the path meeting at some node is not a loop (in the example, a thick closed path with 3 branches connected at nodes 1 and 3).
Mesh. For a planar graph, a mesh is a loop that bounds a surface, lying on the plane, containing no elements of the graph. For a connected planar graph the number of meshes is
Example: , , so . Drawing the graph differently on the plane changes which loops are meshes, but their number stays .
Cut-set. The set of branches cut by (passing through) a closed surface surrounding an arbitrary volume that includes one or more nodes of the graph. The surface intersects the graph at branches, not at nodes; it has an orientation (outgoing or incoming). Example (graph of 5 branches above): is a cut-set (surface ); is a cut-set (surface ).
Node as a cut-set. The set of branches incident to a node is a cut-set. In the example: node 1: ; node 2: ; node 3: ; node 4: .
Tree. All the nodes of the graph plus a set of branches that connect them so that the tree is connected without forming any loop. A graph usually has many trees. The number of tree branches is
Why: two nodes need one branch to be connected, and not more than one (a loop would form): 2 nodes, 1 branch. Each further node requires exactly one branch connecting it to a previous node (connected), and no further branch (no loop). So branches nodes .
Cotree. The set of branches complementary to a given tree; each tree has its cotree. Its number of branches is
equal to the number of meshes of a planar graph.
4. Analysis of a network of two-terminal elements: unknowns
Consider a network of two-terminal elements and nodes, with connected graph and time-varying voltages and currents. Take as unknowns the voltage and current of each element: unknowns ( voltages and currents).
- If the element currents are known, all currents in the network are known.
- Two nodes may not be joined by an element, so their voltage is not among the unknowns; but it is derivable. Potential is defined up to a constant: set to zero the potential of one node; choose a tree; moving from the zero node to the "next" node through a tree branch, the potential difference is the voltage of that branch (with attention to sign), giving the next node's potential; proceed until all node potentials are known. Then the voltage between any pair of nodes follows.
So the analysis problem reduces to the voltages and currents of the elements.
5. Independent KVL and KCL equations
The equations available are KCL, KVL and the element equations.
Independent KVL equations (tree-cotree)
Take a tree and its cotree. A cotree branch connects two nodes R and S; since the tree contains all nodes and is connected, a path of tree branches joins R and S. The cotree branch plus that path is a loop. Write KVL on it. Repeat for each cotree branch. Each such equation contains an unknown not present in the others (the voltage of its "own" cotree branch), so they are all independent. Their number is
- For a connected planar graph the KVLs written on the meshes () are independent. The limit: it applies only to planar graphs; the advantage: meshes are usually identified more immediately than tree-cotree loops.
- Several trees (and cotrees) exist, so different systems of independent voltage equations can be chosen.
- These are topological equations (they depend only on the interconnection).
Independent KCL equations (tree-cotree)
Take a tree branch (say ): it connects two parts of the tree, each with at least one node. A closed surface enclosing one of the two parts is crossed only by cotree branches plus the chosen tree branch: a cut-set made of one tree branch and cotree branches. Write KCL on it. Repeat for every tree branch. Each equation contains the current of its "own" tree branch not present in the others, so all are independent. Their number is
- For a connected graph (even non-planar), KCL written at all nodes except one arbitrarily chosen node gives independent equations. Nodes are identified more immediately than cut-sets.
- Different trees give different systems of independent current equations; these are also topological equations.
Counting
Using KCL and KVL one gets mutually independent equations, , which depend only on the topology, are linear and homogeneous, and do not depend on the type of components.
Maximum number. Assume the full system is linear with unique solution. The constitutive equations are independent and are constraints on the unknowns; the topological relations must supply more, so independent equations from KVL and KCL are impossible. Since and independent equations have been written, these are the maximum numbers of independent KVL and KCL equations.
6. The system of 2l equations
Add the constitutive equations of the two-terminal elements (mutually independent, since each involves a different "specific" branch; for generic elements they can be nonlinear). The result is a system of equations in unknowns, made of two subsystems of equations each: topological (Kirchhoff) and constitutive, built independently.
In general the equations are not guaranteed independent, so the system may have no solution or a non-unique one. In the course existence and uniqueness are assumed unless indicated.
Example of impossible connection
Two ideal voltage sources in parallel, V and V, between nodes A and B (). With currents and voltages as in the figure:
The system has no solution: the connection of two ideal (independent) voltage sources with different impressed voltages is impossible.
7. Power conservation
For a network of two-terminal elements, with voltages and currents taken at the same instant and the same convention for all elements, at every instant
With the load convention for all elements, the sum of the powers exchanged by all elements is zero at every instant. It could also be derived from conservation of electric energy (power is energy per unit time).
Versione ripasso
Kirchhoff
- KCL: on any closed surface cutting only terminals. Sign: if the reference agrees with the surface orientation, otherwise (the opposite rule gives the same equation times ). For an -terminal element, all outward: .
- KVL: along a closed line through nodes. if crossed from to , otherwise.
- KCL: current field solenoidal outside components. KVL: electric field conservative outside components. Independent of the type of component.
Graph
- Node of graph network node; branch two-terminal element; nodes, branches. Connected graph assumed.
- Loop: closed path with exactly 2 loop branches at each node. Mesh: loop bounding an empty region (planar graph).
- Cut-set: branches crossed by a closed surface enclosing nodes; the branches incident to a node form a cut-set.
- Tree: all nodes, connected, no loops, branches. Cotree: the rest, .
Counting
- Unknowns: ( voltages, currents).
- Independent KCL: (all nodes but one). Independent KVL: (meshes if planar, or tree-cotree loops). Total topological equations; constitutive equations; these are the maximum numbers.
- Topological equations are linear and homogeneous and do not depend on the component type.
- Node potentials: set one to zero, move along a tree.
Power conservation: same convention on all elements, at every instant.
Impossible connections: e.g. ideal voltage sources in parallel with different values (no solution of the system).
Typical mistakes
- Counting a closed path with 3 branches at a node as a loop.
- Writing KCL on all nodes and treating the equations as independent (only are).
- Mixing sign rules inside one equation (choose the orientation once and keep it).
- Forgetting that the number of meshes formula is for connected planar graphs.