276 points · by GavCo · 3y ago · 106 comments
For example, if you have a track that does a L on top side, and copper plane on bottom side, with an alternating signal, the return path will follow the L and not go back in a straight line.
Those links have some explanations:
https://resources.altium.com/p/what-return-current-path-pcb
https://www.nwengineeringllc.com/article/how-to-design-your-...
https://electronics.stackexchange.com/questions/360472/real-...
Now going from circuit theory to physics, we would see that inductance is not the property of an individual component called the "inductor", but it's the result of the magnetic field of the current around a closed loop of a circuit. Thus, every circuit must have a parasitic inductance. To a first approximation, this inductance is proportional to the loop area enclosed by the circuit. Thus, for high-speed digital / RF signal transmission, we often want to make the return conductor be as close to the signal conductor as possible [1]. This is why ground planes are often used in circuit boards, and why twisted pairs are often used in cables.
[0] The point of transition depends on many factors, including the physical size of the circuit. Sometimes it can be as low in the 100 kHz range.
[1] I ignored the issue of characteristic impedance
School physics teaches us that metals are perfect conductors of electric field, so the field in the large conductor should be the same across it, and not follow the L shape.
But it's only true for a stationary situation, basically DC. At higher frequencies the fact that the conductor (every part if it!) has some capacitance and inductance starts to play a major role in how a fast-changing signal propagates over it. Both the capacitance and the inductance of the part of the large conductor under the L-shaped conductor on the other side are affected by the L-shaped conductor.
These considerations could help see the result as "more intuitive".
I was also a bit surprised by this. But I do recall doing equations regarding capacitive and inductive reactance. In both cases there is a frequency-dependent effect which alters the shape of the waveform. It being frequency dependent, it disappears in the presence of DC (inductors becoming irrelevant and capacitors becoming nonconductive).
So I can kind of see it. But not enough to turn it into a return-path-is-suprising type example.
Basically, capacitance and inductance are important for oscillating signals. And that plane has a huge capacitance.
> Two players take turns coloring the edges of an arbitrary graph. One player has the goal of connecting two distinguished vertices by a path of edges of their color. The other player aims to prevent this by using their color instead (or, equivalently, by erasing edges). The game is commonly played on a rectangular grid; this special case of the game was independently invented by American mathematician David Gale in the late 1950s and is known as Gale or Bridg-It.
That game, if modeled as an electrical circuit of resistors has the property that the best play is the one with the most voltage across it.
https://boardgamegeek.com/boardgame/123102/bird-cage
> The game's original incarnation was as a machine built by the game's designer, noted engineer Claude Shannon. The machine would choose its' move by measuring electrical resistance between its' sides of the square and would reportedly win "almost always" when making the first move.
However the static electromagnetic field in the DC circuit propagates through the material at near light-speed once the battery switch is thrown, which is a bit different. I suppose if you could throw a switch and turn gravity on or off it would be a closer analogy, i.e. the idea would be to fill the (sealed) maze with water in a zero-g environment (it would fill everywhere equally, comparable to the electons in the conductor with the power off), then turn on the gravity (or the pressure differential for the pipe version) and see what happened.
I mean, you could, insofar as you can mechanically control the height difference between the start and end of the maze.
I think the real problem with the analogy was just that the hydrodynamic version wasn't a circuit in the sense that the electrical version was. The water just falls out of the system, so of course you can't control the pressure difference :)
The exit of the hydrodynamic version should have been a (sealed) pipe that flows into an (open) buffer-chamber thatis after the maze; from which a pump operating on a control system then brings pumps water back to the (open) buffer-chamber that sits before the maze.
Additionally, said pump's speed should be determined by the water-level imbalance between the two buffer-chambers, such that it's always trying to bring the two chambers into water-pressure equilibrium. (This pump is then a proper hydrodynamic analogue of a generator: two terminals with a constant height [voltage] differential between them, that pumps faster or slower [= varies current] to maintain the same potential difference in the system, whether the system is loaded or unloaded.)
Then "turning off gravity" would just mean moving everything (the input buffer, maze, output buffer, and pump) from being in a vertically descending sequence (where the pump would be doing constant work to maintain the potential difference despite the "load"), to being on a flat plane (where everything would reach potential equilibrium, and the pump would then turn off.)
And you could then represent AC flow, by just alternatingly raising and lowering the two chambers, and using a bidirectional pump.
E.g. he says something to the tune of
electrons take a few ns. running around, and then settle down in the maze.
IIRC electron flow in a medium is relatively slow, something on the order of centimeters per second. So it's not electrons which settle some potentials by moving quickly, but the electric potential finds its equilibrium. And it finds its equlibrium by electrons exchanging virtual photons (carries of electromagnetic force)?https://www.youtube.com/watch?v=2Vrhk5OjBP8
I’m actually not sure if that makes his explanation more accurate because it’s informed by that, or more regrettably forced metaphor. But the whole series of videos from different creators is worth watching if you want to understand the whole “electrons are moving” thing.
This is not modelled well with the water mazes/analogy.
This way the water level changes probably can propagate faster then water moves. Though probably to get this result we'll need to make a "deeper" maze. I mean make walls higher so a cross section of a path would have bigger area, so a slow flow multiplied by this area would give us a big volume of a water moving. Big enough to raise level of a water fast in a whole section of the maze.
The movement of water molecules is typically much slower than the wave speed of water.
When you turn on flow to a filled pipe, the water is reluctant to enter the pipe faster than other water is leaving the opposite end (mediated by pressure waves).
The pepper demonstration in the video is a good analogy to show how the resistance information of every possible path (or, really, stub) is "back-propagated" to the branching point. No, it's not a perfect description of what is really going on, but I dare say there's no such thing. Just better and better models.
If I have a wire that connects from (+) to (-) on a battery, and a dozen wires that branch off of (-) and go nowhere, how does the current "know" not to waste time trying each of those stubs? This video explains that.
You're still saying "path of least resistance" though.
A very important part of the answer is that it doesn't find it. All paths carry electricity.
So "take all paths" isn't begging the question, it's correcting the question, and "weighted by resistance" isn't begging the question, it's giving a pretty easy answer to anyone that understands the concept of "resistance" in a non-electrical sense that some paths let things through more easily than others.
And if you have a bunch of stubs, the electricity does go onto them. It just gets stuck at the end.
How does water "solve" a maze to an open tap?
Water doesn't actually "solve" a maze either https://youtu.be/81ebWToAnvA
And I put "solve" in quotes precisely because it does no such thing.
But a water molecule interacting with pressure gradients and waves is about the best eli5 or even eli18 that I've seen, with both particle and wave representations.
But maybe that's just because I'm a hydraulics engineer and "get it."
Also light doesn't act like electricity or water, it just bounces at the reflection angle. There is no volume or pressure. Also there is no such thing as a light 'particle'. That is an abstract concept to make simulation easier.
That said, the demonstrations are pretty compelling and well executed. I particularly liked the use of an IR camera to visualize the resistive power loss in the maze. Super cool.
electricity and magnetism
1) electricity of magnetism => electrical side of the electromagnetic force
leads to
2) electricity from magnetism => generating electricity from a magnetic force
leads to
3) edm => electronic dance music
leads to
4) excitement from attraction => the feeling of excitement ('electric' metaphor for excitement) from meeting someone you're attracted to ('magnetic' metaphor for attraction between two people)
I say "approximate" because, as has been discussed in this thread, the current actually follows every possible path to some extent, weighted by their resistance. So when there multiple branching paths with similar costs, they will have similar current flow, and the current along each path is not constant. So in general it can be difficult to find the exact minimum resistance path just by measuring the current.
It's not going to save you any time, since wiring up every path is basically the same as brute forcing every path anyway, but it would work.
Yes, you can solve TSP in linear time using electricity.
First step is to construct a circuit with a single source, and multiple independent paths -- one for each possible TSP graph traversal. Constructing this circuit can take a bit of time, but after that, finding the shortest path will be extremely fast.
Essentially an analog computer. Some of the reason people want quantum or DNA computers to exploit physical mechanisms beyond stacks of binary gates.