Introduction: my personal experience with the synthesis problem
During my Ph.D. I started to study some old books of Circuit Theory by authors such as Guillemin, Newcomb, Belevitch and Anderson. I was truly amused since, surprisingly for an Electrical Engineer, many of the principles I found in those texts were completely new for me. Moreover, the books were written in such an extraordinary compelling way that truly became a source of inspiration during my days in Southampton.
This time I will elaborate on a particular topic of Circuit Theory that challenged me in many ways: the Synthesis of port-driven impedances. In fact I must admit that despite of my best attempts, I was not able to make a significant contribution to the topic, so I had to move on and work on some other research directions. Although of course I am very far from considering myself as a brilliant student, there is some sort of justification in my failed attempts, namely, many issues in the synthesis of port-driven impedances have remained as an open problem since the 1930s. This situation naturally means that solving such issues is not trivial at all, considering that many minds, sharper than mine, have obtained moderate achievements after a significant effort. In order to understand the challenges, let us first recall what the problem is about - we can describe it in the following way:
"Given a transfer function $Z(s):=N(s)D(s)^{-1}$ that satisfies certain physical constraints, obtain a port-driven electrical circuit consisting of inductors, capacitors and resistors; whose impedance function coincides with the given transfer function."
First off, I am aware that the term "certain physical constrains" is rather vague, but I wrote it on purpose in order to devote this post to the explanation of such constraints. Once such physical restrictions are properly introduced unambiguously, i.e. in mathematical terms, we will obtain a test that will permit to check if a given transfer function qualifies as an impedance. Later on, we have to find the corresponding electrical circuit that satisfies such impedance specification (though this will be a matter of a second part in a new post).
Developing a mathematical condition for passive circuits
Some transfer functions violate the laws of nature and consequently cannot be realized as an electrical circuit. In order to prove this statement it is enough to find a counterexample. For instance, consider the impulse response of a transfer function $\frac{1}{s-1}$, the output has a trajectory $y(t)=e^{t}+y(0)$. However, since no energy is coming into the circuit for $t>0$, there is simply no way to generate the corresponding electrical/magnetic field that would lead to such unbounded output.
The example above may seem exaggerated, however we can still use it to make a simple but crucial observation about the physics of port-driven electrical circuits, constructed by inductors, capacitors and resistors; namely, such circuits do not generate energy by themselves, i.e. they are passive.
We will now introduce a time-domain condition that is equivalent to such passivity property. Recall from the typical convention of power flow, positive power with respect to external sources corresponds to the power that is oriented into an electrical circuit which can be either use to store energy in inductors/capacitors or dissipated as heat by resistors, while negative power refers to the power that flows from the electrical circuit to the external source. In Electrical Engineering the power that is dissipated by resistors is called active power.
Let us consider for example the case of (co)sinusoidal one-port voltages and currents defined as $v(t)=V\cos(\omega t+\phi_v)$ and $i(t):=I\cos(\omega t+\phi_i)$. The variables $v(t)$ and $i(t)$ are conjugate, which means that their product has dimension of power, i.e.
$p(t):=v(t) i(t)=V I \cos(\omega t+\phi_v) \cos(\omega t+\phi_i)$ .
After some straightforward mathematical manipulations, we obtain
$p(t):=\frac{1}{2}VI \cos(\phi_v-\phi_i) +\frac{1}{2}VI \cos(2\omega t+\phi_v+\phi_i)$ .
From this example of trajectories we can easily notice that the power oriented into an electrical circuit can be positive or negative at certain instants of time. This is not surprising since it is well-known that while resistors (instantaneously) dissipate power, inductors and capacitors have only the property to store and release energy with a certain time delay. It follows that such effect of releasing energy that was stored in the past, might result in a close imitation to the "generation" of energy over a limited interval of time. Consequently, since we are determined to find a condition that captures the passivity of an electrical circuit, notice that imposing the condition $p(t)\ge 0$ would be rather conservative, precisely because passive circuits may also momentaneously "return" power to their external source due to capacitors and inductors.
On the other hand, since we know that such negative power corresponds to a temporary effect and moreover, it comes from the external source in a first place, it is thus enough to consider the total average power that has been oriented into the circuit, i.e.
$P:=\int_{-\infty}^{+\infty} p(t) dt \ge 0$. (1)
Of course we are in a sort of problem here, since we must assume that this integral is solvable, which requires compact support trajectories. This issue can be easily solved if we assume that any circuit under consideration starts at rest and ends at rest.
Positive-realness
There exist conditions equivalent to equation (1), as summarized in the following proposition.
Proposition 1. Consider an n-port driven circuit with vector of port voltages $V$ and their corresponding conjugate vector of port currents $I$. Consider an input-output representation with input $I$ and output $V$ defined as $Z(s)=N(s)D(s)^{-1}$. The following statements are equivalent.
- The n-port driven circuit is passive.
- $\int_{-\infty}^{+\infty} V^\top I dt \ge 0$ for all $V$ and $I$ of compact support that satisfy the laws of the circuit.
- $\Re\{Z(j\omega)\}\ge0$ for all $\omega\in\mathbb{R}$.
- $N(-j\omega)^\top D(j\omega)+D(-j\omega)^\top N(j\omega)$ for all $\omega\in\mathbb{R}$.
We have already elaborated on the equivalence between statements 1 and 2. So in order to prove the rest of the proposition we can e.g. notice that the integral in statement 2 corresponds to the active power of the circuit, the power that is dissipated by resistors due to the Joule effect corresponding with a quadratic function. Consequently, by applying Parseval's theorem we can find the equivalence with the frequency domain inequalities in statements 3 and 4. The readers that are particularly interested in the technical details may want to have a look at Prop. 5.2 in
Willems, J. C., & Trentelman, H. L. (1998). On quadratic differential forms. SIAM Journal on Control and Optimization, 36(5), 1703-1749.
Statement 4 is officially called positive-real condition. Moreover, note that statement 3 corresponds to the well-known definition of the real component of an impedance function evaluated at $s=j\omega$, i.e. the resistance. By imposing it to be positive, we are restricting the type of impedance function that can be possibly found in real-life, since a negative resistance would violate the second law of thermodynamics -implying that it can reverse the process of dissipation. It is true that in real-life we can find some circuits that can, for practical purposes, be regarded as negative resistors (e.g. the local approximation of a constant power load); however, such circuits are thus non-passive and need some "active component" or power source that permit them to behave in such way.
Sinusoidal case: phasor analysis
Curiously we, Electrical Engineers, are very much used to use a special case of passivity, though we particularly focus on:
- sinusoidal trajectories for currents and voltages;
- the frequency domain (phasor analysis);
- a very particular angular frequency $\overline{\omega}:=2\pi\overline{f}$, where $\overline{f}$ is a nominal frequency, e.g the utility frequency;
- a steady state operation, a particular solution of the linear differential equations that implies sinusoidal trajectories of constant phase, frequency and magnitude;
- (not always but in many undergraduate courses, transient analysis and in the study of radial lines,) the 1-port
( scalar) case of an impedance.
In the case of (co)sinusoidal trajectories we can consider the passivity condition by integrating over a fixed period (this is called cyclo-passivity), i.e.
$\frac{1}{2\pi} \int_{-\infty}^{+\infty} p(t) dt = \frac{1}{2}VI \cos(\phi_v-\phi_i) \ge 0$.
By Euler's identity, the right hand side of the equation can be computed by taking the real part of
$VI e^{j\phi_v}e^{-j\phi_i}= \underbrace{VI \cos(\phi_v-\phi_i)}_{\ge 0}+jVI \sin(\phi_v-\phi_i)$.
$VI e^{j\phi_v}e^{-j\phi_i}= \underbrace{\frac{1}{2}VI e^{j\phi_v}e^{-j\phi_i}+ \frac{1}{2}VI e^{-j\phi_v}e^{j\phi_i}}_{\mbox{Real part}} + \underbrace{\frac{1}{2}VI e^{j\phi_v}e^{j\phi_i}-\frac{1}{2}VI e^{-j\phi_v}e^{j\phi_i}}_{\mbox{Imaginary part}}\ge 0$. (4)
Moreover, note that this expression actually involves the Fourier transform of port voltages and currents, evaluated at a very particular frequency $\omega:=\overline{\omega}$. Therefore for a given impedance $Z(j\omega):=\frac{V(j\omega)}{I(j\omega)}=\frac{n(j\omega)}{d(\omega)}$, we can take the real part of equation (4) and impose the condition:
$\frac{1}{2}n(-j\omega)d(j\omega)+\frac{1}{2}n(-j\omega)d(j\omega)\ge 0$ with $\omega=\overline{\omega}$.
This corresponds to condition 4 in Proposition 1, evaluated at a very particular frequency $\overline{\omega}$. Notice that the real and imaginary parts of (4) in fact correspond to the classical definitions of active- and reactive- power respectively. Consequently, now it is more evident that imposing the active power to be positive, is totally equivalent to impose the net power flowing into the circuit to be positive as well, which corresponds almost obviously to condition (1).
A final remark:
It is true that we always pursue the application of practical knowledge, but the rigor in the mathematics of the old circuit theory is certainly beneficial to open our eyes to the whole picture regarding our applications, considering that there are plenty of relevant issues that are still open problems. Here I am not only talking about the synthesis problem that will be introduced in a second part post, but also other things such as the characterization of reactive power for non-sinusoidal trajectories, which is still a striking problem and a hot debate among Electrical Engineers nowadays.