Mechanical Equivalent Circuits


Differential equations are the heart of a vast array of engineering theory, and as such, one can create models of entirely different branches of physics by using circuit theory.

The usefulness of this concept here is that electronics engineers can gain insight into mechanical systems by using their circuit knowledge. They can also use standard electronics tools like SPICE to incorporate mechanical outputs, such as motors or temperature rise.
In the recent past, this was useful for designing analog computers to solve mechanical problems.

Electrical Fundamentals

The fundamental electrical components are resistors, capacitors and inductors.
Their voltage-current relationships are:
$$v(t) = i(t)R$$
$$i(t) = C \frac{dv}{dt}$$
$$v(t) = L \frac{di}{dt}$$

Mechanical Dynamics Fundamentals

The key equations of motion are Newton’s laws, the main one being:
$$F(t) = ma(t) = m\frac{dv}{dt}$$
In a rotational system, we have:
$$M(t) = I\frac{dw}{dt}$$

Thermal Fundamentals

The steady state thermal equation is:
$$T = P\theta + T_{env}$$

Dynamically there is Newton’s law of cooling:
$$\frac{dT}{dT} = \frac{T_{env} – T}{t_0}$$

Steady State Circuit

The steady state temperature rise equation is identical to the solution of a DC resistor circuit.

The equivalents are:
Voltage (V) = temperature (°C)
Current (A) = power (W)
Resistance ($$\Omega$$) = thermal resistance (°C/W)

The solution is then very intuitive:
Temperature rise is caused by heat flow through a non-zero thermal resistance, exactly how voltage difference is caused by current flow through non-zero electrical resistance.

The power is a current source, the resistance a resistor, and the ambient temperature is the reference voltage. The resulting voltage at the current source is the new temperature of the device.

Typically a component datasheet will provide a $$\theta_{j-a}$$ which is the thermal resistance from thr component junction (j) to the ambient (a) environment. This can easily be added to a SPICE simulation.

Dynamic Circuit

Having established thr equivalence above, we can choose an electrical element to represent the thermal time constant.

Since temperature is similar to voltage and the thermal time constant slows it down, a capacitor is the appropriate electrical element (inductors slow down current).

A capacitor added in parallel to the current source results in an equation identical to Newton’s law of cooling:
$$i_c(t) = C \frac{dv}{dt}$$
$$i_c(t)R = RC \frac{dv}{dt}$$
$$v(t) = RC \frac{dv}{dt}$$
$$\frac{dv}{dt} = \frac{v_c(t) – v_{ref}}{RC}$$
$$\frac{dT}{dt} = \frac{T(t) – T_{env}}{t_0}$$
Therefore, the thermal time constant is equivalent to RC, which is the familiar electrical time constant.

What is Digital?

Often electronics are divided into analog and digital circuits.
Analog refers to circuits that operate on waveforms that are continuous in the mathematical sense.
That means that any value of amplitude or time may exist in the circuit, so if there is 0 and 5, there can also be the possibility of 2, 3, and 4.9999.

Except for in quantum physics, all real values are continuous. Therefore all circuits are really analog. However, that fact isn’t very useful, so what is being digital all about?

Continue reading “What is Digital?”

Common-Mode Voltage


Common-mode voltage is a term that seems to come from the world of differential amplifiers but finds itself being used generically in the EMC domain.

An ideal differential amplifier only sees the difference between its inputs:
$$v_o = A (v_h – v_l)$$

Each of the two inputs can be defined as two common components, a differential and a common mode.
$$v_h = v_{cm} + \frac{v_{id}}{2}$$
$$v_l = v_{cm} – \frac{v_{id}}{2}$$

The differential amplifier then ideally outputs:
$$v_o = Av_{id}$$

In reality, there is a finite common-mode rejection ratio, CMRR, such that:
$$v_o = Av_{id} + CMRRv_{cm}$$

Logic Levels

Logic circuits always specify the voltage levels required for correct operation.
Binary digital circuits of course have 1’s and 0’s, which are typically defined as high and low voltage respectively.
There are several different standards for logic levels and it is important to know the implications of mixing logic families with different standards.

Continue reading “Logic Levels”

Waveforms

Waveforms need to be quantitatively defined in many different ways.

Peak value: maximum instantaneous value

Peak to peak value: difference between maximum and minimum instantaneous values throughout the entire range

RMS value: room-mean-square. Provides power equivalent value as if the waveform was DC.
\(RMS = \sqrt{\frac{1}{T}\int^T_0 x^2(t)dt}\)

Frequency: repetition rate per second of a periodic waveform

Period: duration in seconds of a repetitive waveform
$$x(t + T) = x(t)$$

Power and Energy

Instantaneous power is always given by:
$$p(t) =v(t) i(t)$$
This result is simple but when discussing power consumption it is the average power that is needed.
To calculate average we first obtain the total energy used:
$$E = \int^T_0 v(t) i(t)dt$$
Then we simply divide by the time interval to obtain average power:
$$P = \frac{E}{T}$$

For DC voltage and current the integration simplifies into a multiplication, with the familiar:
$$E = VIT, P = VI$$

For a resisitive device one can use Ohm’s Law:
$$P = \frac{1}{T}\int^T_0 \frac{v^2(t)}{R}dt$$
This is the origin of the RMS value, such that:
$$P = \frac{V^2_{RMS}}{R}$$

Radiation

Radiation refers to the transmission of electromagnetic energy through propagating waves in free space.

There are two components to an EM wave – electric and magnetic.
A radiation source will inevitably be dominant in either electric or magnetic fields.

Magnetic Sources

A magnetic field is generated by current, and loop geometries emphasize magnetic fields.
A coil geometry strengthens magnetic fields by the square of the number of turns.
These structures are associated with inductance and low impedance.

Example magnetic sources:
-multi-turn coils
-loops
-apertures (openings) in metal structure

Electric Sources

Electric field is generated by voltage between conductive elements. This is the most common antenna type.

Larger surface areas tend to increase electric field.
These structures are associated with capacitance and high impedance.

Example electric sources:
-monopoles and dipoles
-parallel plates
-horn antennas
-wire antennas

Interference Model

A general model for electrical interference is quite simple and very powerful.
Any interference problem is composed of 3 elements:
1) Source
2) Coupling path
3) Victim

If any of the 3 components are removed or hardened then the interference problem is resolved.

Sources

Sources are what generate the electrical noise that causes the interference.
Often noise is a high frequency phenomenon but not necessarily.
In actuality it is the rate of change, or fast, large edges that create the most problems.
A pulse of 1 V amplitude and 1 ns rise time has theoretically the same coupled amplitude as 100 V with 100 ns rise time.
Low frequency noise is also possible with certain coupling paths.

Coupling Paths

A coupling path is what allows the energy from the source get to the victim.
This includes electric field, magnetic field, EM waves, and common impedance.

Common impedance is when two different circuits share a conductor, coupling energy through its non-zero impedance (V = IZ). This is the only mechanism that can couple DC energy betwren circuits.

Victims

A victim is a circuit, typically a sensitive one, that cannot function correctly in the presence of the electrical interference.
Often this means analog systems such as audio or RF communication, but even digital systems are susceptible to strong interference.

Capacitance

Capacitance is physically defined as the ratio of stored charge on two electrodes to the voltage between them.

\(C = Q/V\)

This is a very broad definition and it can apply to any two objects though typically it is reserved for conductive ones.

All objects have a capacitance to all other objects in the vicinity. This makes capacitance very difficult to measure or control in any general way.

An electronic component designed to maximize its capacitance is called a capacitor, however all devices have intrinsic capacitance.

Ohm’s Law

Ohm’s law is one of the first equations taught to electronics students, showing the voltage-current relationship in a resistor.
It can be derived from Maxwell’s equations and holds true for linear homogenous materials. This typically means pure metals.
Any device designed to meet Ohm’s law is a called a resistor.

Really, Ohm’s law doesn’t need any basis in physics because it’s just a defined as a ratio of voltage to current.

\(R = V/I\)

Nothing is 100% Ohmic because the equation is limited by the construction of devices and material properties.
This includes:
-materials heat up as they dissipate power, which changes their resistance
-at some temperature a material will melt or otherwise change, destroying the device
-at high enough voltages materials will break down and will spontaneously conduct
-dissimilar metals generate small voltages based on the thermoelectric effect
-chemical residues can generate voltages from galvanic action
-mechanical strain creates voltage in piezoelectric materials
-at extremely low voltage the intrinsic noise of a device will dominate the intended signal
-certain current mechanisms operate with fundamentally different physics, including ionic fluids or charged particle streams (electron beams, particle accelerators)

The ratio interpretation allows the intuition of Ohm’s law to be used as a conceptual tool with many more applications that just resistors.
All devices have an intrinsic voltage-current relationship which can be linear, non-linear or even be a multi-valued function.
At any point one can define a differential or small-signal resistance:

\(R = \frac{dV}{dI}\)

This idea is used with surprising frequency even if rarely discussed. Incandescent lightbulbs have such a strong temperature dependency in normal use that one needs to discuss “cold” and “hot” resistances.
Constant power loads (like switching DC-DC regulators) have a negative differential input resistance which is important to their application.
Perhaps most importantly, the majority of active devices are characterized for input and output resistance despite the behaviour being created by complex, non-linear device physics.
It is this non-linear that forces any component datasheet to specify in detail the operating point, including temperature and voltage ranges.

Understanding that a resistance is very often more than just Ohm’s law is a key point in understanding electronic devices.