You need to know what right-half-plane zeros are
jbconsulting.substack.com
jbconsulting.substack.com
"A LOT (Polish airline) airplane is about to land in New York City; as they align for final approach, the first officer notifies the passengers that those seated on the right can now see the Statue of Liberty. A number of passengers get up from their seats left of the aisle and lean over the people seated on the right to get a glimpse of the statue. Plane promptly crashes.
Why? There were too many Poles in the right half of the plane.
I'll lead myself out.
I do know what a “pole” refers to, but I don’t follow the crash bit.
In the joke, a Pole (person of Polish origin) was in the left of the (air) plane. When they crossed the aisle to look out the window, the (air) plane became unstable and crashed (pole in the right hand plane).
*My control systems professor loved to explain using an example of a driver as a control system. The system (car + human driver) seeks to minimize error against the lines on the road. If the driver starts drinking, one of the system's poles will move right. The car will start overshooting first, then will start weaving, before finally crashing when the driver is too drunk.
After the plane crashed, one survivor was stranded in the wilderness. Miles from civilization, he cried and screamed until he got hoarse. Then he mounted the horse and rode back to civilization. Back at home, he found himself locked out of his house, since he lost his house keys with his luggage on the plane. He sat on the porch and sang various lamentations, until he found the right key and unlocked the door.
If there are 10 comments explaining what a key is in the context of music and I add another that says "I understand what the key refers to but how was the door opened", one can only assume I lack the knowledge that keys open doors.
Sometimes people understand the more complex behaviours but somehow miss the simpler explanations, it's happened to me before.
P.S. The other note is that for real linear time invariant systems the region of convergence of the series/Laplace transform of the system must be positive for the system to be causal -- and thus real and implementable. So the joke could also have been modified to get a magical and unstable plane.
If this was the first day of any class I took, I would have dropped it before the second day.
University is good because you'll meet lots of people who are smarter than you are.
I flunked out of high school despite getting A's and B's on all my tests because I never did my homework which was always at least 50% of our grade.
Trigonometry was so interesting to me as a 15 year old that I decided to make it my internet alias. 95+% on every test (even trig identities!), still got a C in the class, with the teacher taking me aside 1-on-1 to tell me "I'm breaking the rules to give you this C when I'm supposed to be giving you an F because you only did 2 of the 30 homework assignments."
I get the idea of motivating students to do their homework failing them when they test perfect doesn't make sense.
I like it when the homework allows the students to skip questions on the test. That way you reward the work but still let's the students catch up if they didn't do the homework.
https://www.researchgate.net/publication/253627368_Feedforwa...
A dynamic control system is modeled by a set of dynamic equations, usually expressed as partial derivatives. To analyze the behaviour of such a system, the equation is solved or approximated in the complex time domain. The relevant part of the solution is where the real part of time is positive, i.e. the right-half plane.
A pole is a coordinate for which the dynamic equations have no solution (y = 1/z has a pole at z=0), which results in undefined or uncontrolled behaviour.
Instead we get waffle like:
> Again roughly speaking, zeros describe mathematically how a system reacts to some input in the short term, while poles describe how a system reacts in the long term.
I know it's "roughly" speaking, but isn't it too rough?
The students in the classroom next door always knew when Prof Lipovski told his joke because everybody along the hallway could hear the loud groan emanating from our room.
Generic airline, specifically Polish people were asked to move to the left side of the plane. Because "Poles in the right half plane cause instability."
(As for application in economics, economist Steve Keen, for one, explicitly models time delays and dynamics, with results worth learning from, AFAIK.)
When he reached the cockpit, however, he took one look at all of the controls on the modern aircraft and realized that he wasn't going to be able to operate it. When the chief steward asked why, he replied, "I am just a simple Pole in a complex plane".
I'll follow lb1lf out.
The hard part is actually the maintenance crews. A modern fighter plane requires constant intensive mainentance, they generally spend much more time being worked on than they spend actually in the air. And this maintenance work requires a lot of specific skills that don't necessarily translate well or at all between aircraft types.
(sorry)
For those that don't know, Polish (and other Eastern European) migration was a major issue raised by some in the Brexit campaign.
My gripe with the article is that the author tries to wow you with some obscure technical points about a system which is unmodeled and he does not understand, to wave his hands at a vague conclusion. If he had made the same point using common English phrases that encapsulate the idea (“positive feedback loop”, “we have to let it get worse before it gets better”, etc), then it would be a lot clearer how wispy his argument is.
I have only read the linked article, I think the followup might be available, but I'm not going to read it before posting this -- because this article was meant to be clickbait, to get you hooked and possibly mis-informed.
The article as it stands (incomplete) contains some classic argument fallacies.
It is an "appeal to authority", by attempting to explain control theory. This person knows something.
The examples all result in bad things, airplanes crashing, hard drives (crashing - perhaps a stretch). Bicycle at the edge of a cliff. Eating too much ice cream. Chernobyl. This is a possible "appeal to emotion".
The final issue is an "incomplete comparison". The graph at the bottom of the article shows housing prices -- all of the previous examples have mathematical models which can explain the behavior. For the last graph no model (the equations) is presented. Without a model you cannot use control theory to analyze the zeros and poles.
The last graph wants you to believe in a continuing upward trend, the fallacious argument, implies that whatever the Canadian political change that has been made is going to make this trend to zero, despite the intention to keep it trending upwards.
Background: A long time ago, as a mathematics undergraduate, I did take a course in control theory, it was run out of the engineering department. It was somewhat awkward as quite a few mathematical terms were not-quite-the-same. I get the same unease when reading this for poles, zeros and right-half-planes. Any engineering textbooks that use j for sqrt(-1) instead of i (because that is taken) is an indicator. Yup, this could be construed as an "appeal to authority".
It could be that the reader fails to understand the explanation and instead treats the writer as a trustworthy authority. That would not make the argument an appeal to authority or even fallacious.
It could be that the analogy is poorly justified, which would make the argument incomplete, or it could even be that the writer failed to understand some subtle aspect of the second topic that makes the analogy inappropriate. Neither of these would be appeals to authority.
If they made the argument "I am an expert in control theory, therefore what I think about Canadian politics is correct", that would be an appeal to one's own authority. But I didn't see anything like that in the article.
How is that an appeal to authority?
You saw my post on X, now believe what I say on Y.
"Now that you know what right-half-plane zeros are, in this article I'm going to begin a deep-dive into a control-systems-based analysis of a certain feedback system that is drawing particular public attention today: inflation."
And all of the statements made in the walkback "a bit of a preamble" -- basically issuing caveats or disclaiming all of what was said before. A classic "I got you here", but I'm going to disclaim all of that, you are a fool to read anything that follows.
It would be an (incompetent) appeal to authority if it said "now that you've seen that I know my stuff when it comes to systems theory, you know that this thing I say about economics is true".
That should be the default assumption, no? Today’s Control Theory has never been shown to be predictive of the economy or politics, wouldn’t you agree? The article framed the discussion as if control theory is useful, purposely implied it’s utility, and did not state it’s known lack of scientific validity, which is indeed leaving some very inconvenient facts out, right? Saying that they left it open with a ‘judge for yourself’ is not a great counter to the critique of the argument style. There is an intentional framing here that fails to list the alternatives, tries to establish itself as ‘correct’ via implication, and pivots to a separate topic that is unproven to be relevant. Pretending to be unbiased while presenting a one-sided set of “information” is a pretty common type of appeal to authority.
> Now that you know what right-half-plane zeros are, in this article I'm going to begin a deep-dive into a control-systems-based analysis of a certain feedback system that is drawing particular public attention today: inflation.
In my mind, this is explicitly drawing a connection between the author's engineering background, particularly in control theory, and the current topic, inflation. To be clear, it would be fine if the author wanted to make a _mathematical_ connection between control theory and inflation. However, since the author does not explain right-half-plane zeros with any meaningful technical detail, the rhetorical effect is an appeal: "just trust me on this." Then the author switches topics _and explicitly connects the two topics_. I cannot speak for the person you're replying to, but this rhetoric is what bothers me.
[1] https://jbconsulting.substack.com/p/on-shelter-futures-part-...
EDIT: Looks like VogonPoetry already replied while I was typing this up.
For me to be taught, my parents ceded authority to the school to appoint credible teachers. Those teachers will have an identity, qualifications and perhaps a reputation. There are consequences for failing or abusing this position.
This is the way a lot of traditional things work.
To directly answer your question, no. A teacher that taught addition would likely be excellent for teaching multiplication.
But, I don't think this is how the internet now works, especially in the social media space. There is infinite identity, which creates trust problems for reputation and credibility. Applying traditional models breaks down. At the moment the dominant factor appears to be who can win a popularity content.
Hacker News is interesting in that karma is currency to build credibility and reputation. This model has flaws too. In my opinion, rewarding the most popular is not a long term winning strategy for a society or community. The demand for change only comes from dissenters. Dissenters and different opinions are the engines of change for any society / community, otherwise, without change, it would stagnate and fall into decline.
But, in the face of infinite identity what is the collective actually trying to say?
In general, appeal to authority as a fallacy applies to subjects that are opinion-based or contentious.
When someone gives reasons, their argument rests on those reasons, not on their supposed authority as an expert on the topic.
There are a lot of similar posts online about people trying to use chaos theory (or what they believe chaos theory is), "systems theory", and other obscure concepts to explain why, for example, climate change will be the end of us all, or the global economy will enter a depression, or any other extremely pessimistic macro scenario. I see three reasons why these people are doing it. (1) To draw attention to themselves as someone with a superior intellect (which they actually aren't) (2) To construct an analysis no one has constructed before, in a "all these professional economists are saying the same thing, but here's why they're all misleading themselves, thanks to my ace card of a theory" kind of way, and (3) A love for the hyperbole, for dramatic outcomes.
A classic economic prediction like "Inflation pressures will potentially slow down growth in the short term, but the behavior of the economy over the next 12 months remains unpredictable" is not enough. It MUST be "A catastrophic economic collapse is inevitable", or "We are going back to the Middle Ages by the end of the decade", or "Hundreds of millions will die in the next few years".
There are, to me some language red flags. The followup article now uses "we' -- suggesting this is not the work of an individual. This was not present in the initial post.
An attempt is made to build a model. Curiously a visual programming model is now used. No explicit differential equations are given. If the equations are not given there is no way to check the model. So "pole" and "zero" analysis is mute.
There are no tests to validate this model against past situations - an easy and free test, the past history is known. If the model that has been created and can predict the future, why would was it not run it against the past and show the predictive success?
The built model is only presented against the current situation -- is it circumstantial / opinion based.
My understanding of science is -- build a model that can predict the future / what happens accurately, i.e. matches the measurements. The consensus agrees that this is the (current) best model.
Prices are ultimately influenced by a sentiment factor, a value derived from a I have no idea what human feeling / property. Some power "enabled" humans have been endowed with a much higher influence on this parameter. Where is this value expressed in the predictive equations?
This will result in a drastic increase in what a relatively small number of homeowners need to pay to stay in their home. Specifically, those who bought a house to live in in the last 3-4 years.
>possibly causing a market crush.
Before losing their home, this relatively small number of people (plus a larger number of those who will experience much more moderate mortgage payment increases) will cut back on spending for literally everything else. This will have a very significant impact on the rest of our economy. Which, in fact, is the whole point of inflation targeting - cool down the economy when inflation is out of control.
Also those who renewed in the last 3-4 years. Which realistically means most of those who bought in the last 20-25 years.
That's likely over half of all homeowners - not so small a fraction after all!
No. Those who paid the exorbitant prices of the last 3-4 years. I've renewed recently, and borrowed the ~$100k remaining on my mortgage at a historically low rate. If I had to renew at twice that rate it would not make a huge impact on my finances, because I'm currently paying interest on a five-figure principal.
Across all Canadians, we're talking about $1.5 trillion (CAN) in mortgage debt. That's on par with the GDP. If you hike the interest rates to match your inflation, that's like sucking 5% of your GDP into interest payments. This will be a pretty dramatic event, no matter how it is distributed.
No, everyone in Canada has to renew their mortgage at least every 5 years, into whatever the prevailing interest rate market is at that time.
The classic knob to influence inflation is interest rates. This can be also be modeled. Non-politicised civil servants have a good record of being able to do a reasonable job at this - only if the politics are removed. In my opinion, removing all political allegiance for civil servant agencies is probably the best way to get better long term stability and prosperity.
However, we have what's called a stress-test. In order to get a mortgage at the previously low 5-year fixed rates of 2%, you still had to qualify as though the rates were >5%. This means that if rates go up to 5% everyone should still be able to afford their payments.
I don’t mean to be alarmist or anything here. It has just been on my mind as a recent home buyer. The stress test was performed on my finances under conditions which have already changed (for the worse).
I doubt the bottom will fall out of things, but I expect this to bite some people and to hear about it in the medias.
As an American, this is easily misinterpreted to mean the mortgages are expected to be paid off in 3-5 years, which would be mind-blowing if true, because it would mean that either houses are super cheap, or only the rich are buying.
IMO, adjustable-rate mortgages are almost a scam. Are there any legal protections in place to disallow a bank from deciding "In the next period, we're going to raise your rate to 20% because fuck you the CEO wants another yacht"?
Just like one oil company could triple the gas price if they want. Doesn’t mean people will keep getting their gaz there however.
The author clearly knows a lot about control theory, but this seems to have led to an idea that he knows a lot about everything. This is a theme I see all too frequently in people who list “systems thinking” as one of their areas of expertise (like this author).
I have the benefit of the doubt and read the second article looking for perhaps some actual modeling and references to econ literature, but he merely refers to a couple papers and then admits that his model was home-grown and will be simpler. Some parts of it might be right, but this has too many elements of “I’m an expert in one thing therefore I’m qualified to talk about everything” for me.
>So "pole" and "zero" analysis is mute.
Moot.
First person plural ("we") is normal in technical and scientific writing.
The followup definitely uses the "I" (for opinion) initially, but then switches to "we".
As a reader I am not a participant in "we" unless I agree with the statements being made. I think it is this is what made me frosty and say who is this other person, because it isn't me.
This makes it really hard for them to write an article for non-technical people. To do so, they would have to connect the human side of things to the systems theory side of things. Which they can't do, because they don't understand the human side of things.
They aren't using bad-faith arguments to convince you that they are correct. They simply have no idea how to talk to you. They are in fact trying to be helpful, by presenting what they think is really useful information to understand and control the world with. Their help is useless to you, but they are trying.
Their analysis argues that roughly 4% of mortgages are replaced every year while 96% retain the same rates. This makes it hard to argue interest rates have the desired effect size but that doesn’t stop them from trying.
It doesn't model it at all. The trajectory of ex-shelter CPI is taken as an input. For the provided scenarios, all non-shelter components are assumed (as a scenario premise, not a prediction) to instantly return to a 2% growth rate and stay there.
The article is kind of a "layman's article" to put it politely. I am erring towards the side of hocus pocus -- if economics were that well behaving and linear and composable as the author models, it would be a solved field years now. And control theory wouldn't exist as a field for 50 years, as it would have been solved. Do the components diverge? Where in the complex plane are they defined to begin with? Anyways.
Also: if you should learn something: Central Banks have a terrible track record, and despite what they keep saying are political. The joke is that they are the blind driver with a gas and break pedal that have a 2 years delay. So good luck to us all.
It seems, that he tries to explain an important concept in control theory but does not explain the meaning of "plane" at all. Even worse: He uses airplanes as an example.
Isn't it terribly confusing for non-control-theory people? If I don't know control theory, then how on earth would I know that he means a 2D-plane? And what's this "minimum-phase-system" he mentions once? Is a pole a number? And what about RHP poles?
I would be interested in how readers without a background in control theory and higher maths understood that article and what questions arose.
Oh wow, i didn't notice that. It's either pretty clever, or unfortunate wording.
I think the author is using a lot of words to say "things often need to get a bit worse in order to start getting better"
And a second important point: You mustn't ever get into a state where the "things getting worse at first" already pushes you over a red line (see the example of the plane that loses even more altitude before it rises again. If you hit the ground in between you don't care that you theoretically would have risen later on).
For example, a virus that takes 10 IQ points off people who've been infected with it might make China more apt to consume Disney movies, while it might plow America straight into the ground.
>> Control theorists like to classify the behaviour of dynamical systems based on what we call poles and zeros. … Again roughly speaking, zeros describe mathematically how a system reacts to some input in the short term, while poles describe how a system reacts in the long term.
"Let’s say our airplane is running in auto-pilot. We’ve sent a request to gain altitude, so the flight controller tilts the elevators to initiate a climb. But suddenly the airplane is losing altitude, moving farther away from our target? Do we pull up even harder?"
It's ok.
To the degree that some field of math can be best exemplified by various types of aircraft stalls, this didn't do a great job of explaining either the types of stalls or the feedbacks (what you might call negative REPL loops) leading to them.
I agree it's ok.
Edit: removed ambiguity
First of all, I'd call airplane/plane an "aircraft" instead, not because that's what aviators and Wikipedia editors do, but because it's super confusing in an article about some other thing called "plane".
And, as an aviator would probably tell you, in order to climb you should care more about the throttle (i.e. increase power) than about them elevators! So, in many cases there is absolutely no such dip.
And, I know of no aircraft capable of achieving that loopy flight path using just elevators. That would require quite a bit of kinetic energy, to say the least.
The bike counter-steering example clicked instantly with me, but I guess not many people have an intuition about that. I rode for decades before learning this and I think most other cyclists are not aware as well. (Most motorbike instructors teach that however.)
An autopilot responds the same way, where an altitude error input affects the throttle control. (wincing... when implemented with classical SISO controls...).
Veritasium did a video on this:
If you are writing something just minimise the number of non informative sentences. They probably could have explained poles, planes, etc all in the same space instead of rambling. Cutting to the examples and then giving the definition would have been better.
Just cutting out this junk:
> Again roughly speaking, zeros describe mathematically how a system reacts to some input in the short term, while poles describe how a system reacts in the long term.
and similar waffle would be good. It's so vague as to be counter-productive.
The conclusions in the article aren't easily drawn from the vague tools we're given, in my opinion. Maybe I'm just not the target audience, but I don't really understand who that is.
To answer the confusion about poles...I think the teaching method of, 'here are some terms you won't understand until later' is very common, isn't it. I bet it even has a name
Tilt originated from Poker and it's usually a state of emotional frustration and confusion.
It's most commonly used if you're going on a losing streak and then you become so frustrated that you start playing worse because you cannot focus anymore.
Part of it, as I see it, is that you are using that frustration to fuel further efforts, which ends up in a downward spiral feedback loop
https://gaming.stackexchange.com/questions/190507/what-is-th...
But it's really so foundational to understanding concepts of stability, resonance, information/energy flow (from the conceptual perspective), and the simple analytical tools for building a solid conceptual base. It takes a semester to hammer home that step response matters, positive feedback bad, negative feedback usually good, and topologies are useful.
The more I specialize in graphics the more I realize I need much more knowledge about signal processing than we were taught at the university.
Anti-aliasing (AA) is a very clear example where the lack of it leads to moiré patterns and jaggies. Understanding a lot of AA techniques is simplified by seeing the frame not as a discrete set of pixels but as a continuous signal being sampled (and can be sampled at multiple sub-pixel points per pixel).
A lot of other screen effects are essentially filters applied to the graphical signal (sobel, gaussian blur, ...) and understanding them from a signal processing view helps understanding how to modify and optimize them. A good example here is identifying whether your effect is a separable filter which can be split into a horizontal and vertical pass.
Seeing the image as a continuous signal/field being sampled is also the theoretical basis for a lot of visual effects used in physically-based rendering and things like screen-space ambient occlusion.
Finally, if you want to write your own ray-tracer it really helps to be able to take this view of things once you get past the basics.
https://www.youtube.com/watch?v=Pi7l8mMjYVE&list=PLMrJAkhIeN...
> familiar with Nyquist-Shannon's theorem
BTW: In control theory there is also https://en.wikipedia.org/wiki/Nyquist_stability_criterion
Applied Digital Signal Processing by Manolakis & Ingle is the book I always turn to for reference and the code examples don't suck. Oppenheim & Schafer is a classic but frankly only useful as a reference, that tome is a bit dated otherwise. The Scientists and Engineer's guide to DSP is also not bad as a practical text.
Thank you!
Those lessons might have been hard-won on my part, but I definitely still use them. The general concepts (feedback loops etc) are applicable basically everywhere in life, and I still find uses for literal actual math (like using a convolution kernel to do rolling window sampling in numpy).
You need it in economics, biology, chemistry, physics, computer science, statistics, electrical engineering, robotics , automation, logistics, ...
It should be taught like calculus or linear algebra, so that everyone gets gist of the basics before learning to apply it into their specific field.
It will be seen that the motion of a machine with its governor consists in general of a uniform motion, combined with a disturbance which may be expressed as the sum of several component motions. These components may be of four different kinds:-
(1) The disturbance may continually increase.
(2) It may continually diminish.
(3) It may be an oscillation of continually increasing amplitude.
(4) It may be an oscillation of continually decreasing amplitude.
The first and third cases are evidently inconsistent with the stability of the motion; and the second and fourth alone are admissible in a good governor. This condition is mathematically equivalent to the condition that all the possible roots, and all the possible parts of the impossible roots, of a certain equation shall be negative.
That is, in the left half-plane.
(Terminology has changed. Maxwell says "disturbance" where today, the term "error" would be used. Today, "disturbance" means an input which disturbs stability, while error is an output.)
Maxwell got so much right in that paper, and it was a long time before anybody picked up on that result.
Now, where it looks like the author is going is into economic territory. Basic economics talks about "economic equilibrium". The concept is that restoring forces will bring supply and demand into equilibrium. But basic control theory tells us that may not happen. Any system with delay in it can potentially be unstable. Too much delay, and even simple systems will not stabilize.
The real trouble with sigmoids is when the saturation point is beyond physically meaningful quantities of the system. See the tacoma narrows bridge collapse.
When a real world system goes non linear (like the Tacoma Narrows case) you don’t get a sigmoid but something catastrophic.
(If you graph the amplitude of the vibrations they increase and increase — and then — if it was a sigmoid they’d level out and stay at the max amplitude… but in reality they go to zero as there is no bridge left to vibrate.)
When a company is “growing exponentially” it may saturate the market and then the growth slows in a nice sigmoid function. That’s common. But if, for example, the investors insist that the company must maintain the growth at all costs… it breaks laws, gets destroyed and there’s no company left to grow. No exponential curve, no sigmoid, no signal at all.
Both the sigmoid and the total collapse are typical real world results of what a simple model would expect to be an unbounded exponential curve.
So in trad undergrad control theory instability implies "And then the system blows up" - numerically, literally, or sometimes both.
But depending on the system you can end up in regions of recursive instability which are better modelled by logistic/chaos theory:
Fascinating subject though, in engineering class it was quite surprising how this bunch of functions tracing lines and dots on the complex plane would be relevant to just about everything. Perhaps the first lesson is that even if you know how a system works, you can't just take the inverse function to control what comes out.
Author here. Yes! Very fair criticism. I was trying to strike a balance between making the concept approachable for those who don't have a background involving complex numbers, but that certainly leaves the name of the concept more confusing. I should add it in a footnote at least.
And I did honestly not think about the potential for confusion between plane // airplane. An airplane was the most familiar example system I could think of to explain the concept. Oops!
> Perhaps the first lesson is that even if you know how a system works, you can't just take the inverse function to control what comes out.
That's a great point too. It probably even deserves its own article.
Stuff like Nyquist criterion just sort of appears out of nowhere as functions.
I guess the big one is feedback being the magic, and then the complex plane tells you where that blows up.
Techniques often need very strong assumptions about the systems being modeled, which severely limits their usefulness.
In fact, CT is sort of the antitheses of the currently most hyped way of modeling systems: Machine Learning.
Also systems modeling is not the same as control theory. You could indeed utilize machine learning to model a system, which you could then control by classical controllers. On the other hand, control algorithms that use machine learning are a thing.
Perhaps just a coincidental namespace collision: Process ID, not Proportional-Integral-Derivative.
Black's canonical 1934 paper[1] Stabilized Feedback Amplifiers, which had an outsized influence on EE classical control theory, may have something to do with that:
Results of experiments, however, seemed to indicate something more was involved and these matters were described to Mr. H. Nyquist, who developed a more general criterion for freedom from instability applicable to an amplifier having linear positive constants.
...which directly cites Nyquist's canonical 1932 paper[2] Regeneration Theory.
This reminds me of the famous (possibly apocryphal) story of the algebraic geometer of middle eastern descent who was brought aside by Air Marshals for talking about how a particular problem could be solved by “blowing up points on a plane”
Also see page 4 here: https://web.mit.edu/2.14/www/Handouts/PoleZero.pdf
edit: I looked at the first few pages of the paper but I feel none the wiser, at all.
edit2: Ah... "the poles and zeros of a transfer function may be complex, and the system dynamics may be represented graphically by plotting their locations on the complex s-plane". The transfer function (whatever that is) is a rational function of the complex variable s, i.e. (in my words) it's a fraction with complex polynomials for numerator and denominator. The zeros are the roots of the numerator and the poles are the roots of the denominator.
Ok, I still don't know what the transfer function is or means or comes from, but am much less in the dark, thank you! :-)
Some things in life leave a lasting impression[1]. :eye_roll:
It sounds like what you're looking for is an explanation of root locus analysis[2].
In the simplest control case, a transfer function is nothing more than the expression of a continuous closed-loop LTI system's output Y(s) over its input X(s) in the Laplace domain, conveniently abstracted as its forward path G(s) and negative feedback path H(s).
From there, Routh-Hurwitz method[3] can be used to determine stability of the system.
...and I will continue to use j, thanks.
[1] https://youtu.be/1rqJl7Rs6ps?t=1828
[2] https://en.wikipedia.org/wiki/Root_locus
[3] https://en.wikipedia.org/wiki/Routh%E2%80%93Hurwitz_stabilit...
edit: Took a lil while to work out that LTI system is Linear time-invariant system.
I'd like to chime in with a more intuition-based explanation of what transfer functions are, from my recollections of college control theory classes in both electrical signals and a more general "systems engineering" application:
Basically, the transfer function is a different perspective on modelling/representing a system's output as a function of its input. Classically, when modelling and/or reasoning about a system in physics, the perspective we adopt is that of "input" being the forward advance of time (and sometimes initial conditions) and "output" being the amplitude of the physical quantity(ies) or dimension(s) of the system that interest(s) us. The transfer function, then, is when we switch perspectives to consider the "input" to be a sinusoidal signal (characterized by amplitude and phase over time), and the "output" is the new amplitude and phase of that signal [after "traversing" the system]. Of course, you're actually working with a closed-loop, but most input/output systems can be modeled as a closed-loop if you sufficiently broaden the system's boundaries.
This turns out to be useful for/in several reasons/contexts:
- many physical phenomena are sine waves (or, thanks to Fourier, a sum of sometimes many different sine waves), and often times a system's purpose (to us humans) is to control such a phenomena precisely along the lines of "do this to the amplitude, and/or adjust the phase like so" - dampening, feedback loops, more sophisticated processes like hysteresis, maintaining a steady state given incoming perturbations, etc. In these cases the transfer function ends up being the mathematical expression of that system's function in the "domain language" of that problem, so to speak.
- It turns out that often, when working with systems whose "classical" representation involve components like exponentials or sine and cosine of time (which are "just" complex exponentials of those quantities), the corresponding transfer functions are "simple" fractions of polynomials. More precisely, passing into the Langrange domain allows transforming a differential equation problem into a complex polynomial fractions problem - often much easier to crunch/solve. Furthermore, in the Lagrange domain, de-phasing a signal by pi/2 is equivalent to simply adding 1/(j * signal's frequency) to that signal (if I recall correctly). This makes much of the math more accessible to human intuition, and especially on more complex systems that have several "moving parts" the linear quality of polynomials becomes invaluable.
Personally, I remember quickly adopting, once I'd grokked it, the transfer function perspective when trying to reason about the effect of introducing a capacitor into an existing circuit - analog or DC[0] - as well as things like how the material properties of a door contribute to its behavior as a low-pass filter on sound waves. Sitting down and doing the math, the formulas that I would arrive at spoke much more clearly to me. Also, you are sort of adopting a "time-agnostic" (or perhaps time-invariant) perspective, where the system itself does not change over time. Instead, its' input is characterized by how it behaves over time, and the transfer function (especially when plotted) gives you a clear, direct sense of what the output's "behavior over time" will accordingly be. Notably, it's here that the zeroes of the OP become so meaningful.
[0]: part of what initially started making things "tick" for me was when a professor explained that an impulse on an input signal (i.e. a quasi-instant variation, then back to the preceding "steady state" value of it - i.e. a DC current "turning on"), to a transfer function, "looks like" a sine wave signal with a constant amplitude but monotonously increasing phase offset - again I forget if the rate is constant, polynomial, exponential or what.
edit: By "Lagrange" did you possibly mean to write "Laplace"? I confuse those two gentlemen too. p.s. I just learnt Lagrange was Italian! born Giuseppe Luigi Lagrangia.
the author should have clarified this, you are correct, as the author also makes clear he is writing for a non-technical audience.
He probably forgot to mention it because the concept is so fundamental to signal processing that he assumed it was common knowledge.
Not that I think they should use the math. Just skip the systems lectures and the "there is math behind this" and go straight to the analysis.
So what happens to something like a jet fighter that is in level flight with the engines at maximum power if the pilot uses the elevators to raise the nose?
Depending on the configuration an F-16 has a T/W a little under 1.1, while a transport category aircraft (an airliner) will have a T/W somewhere between 0.20 and 0.35. Totally different performance characteristics.
Essentially, you have potential energy (altitude) and kinetic energy (speed), and you trade one for the other. For safe range of inputs, your lift is function of pitch and airspeed, with drag as result. Increasing pitch increases lift (most of the time) at expense of increased drag. Lift gets you higher raising your potential energy, which you can spend back on glide, exchanging it for kinetic energy necessary for airflow. With powered plane, you provide extra kinetic energy that can be spent on higher lift. You use your stick to manipulate energy/speed, and in fact it's common to descend while pulling the stick on purpose.
A fighter jet with TWR above 1 has enough extra energy that it's going to be able to maneuver rapidly (afterburner/reheat exists for it, even, as jet engines are slow to spool up). Plane with lower TWR, or with significant mass, is going to behave closer to glider (heavy planes like airliners make energy management a big issue)
Also a pure zero action is supposed to cancel the input completely. Not at first but completely (restricting the discussion to linear systems).
Zeros effects are not so trivial to untangle as the article suggests unfortunately but fun read anyways and very nice flow.
Thank you for your input! I wonder if you might have misread that example. In this system there's indeed a RHP0 in the transfer function from ice cream consumption happiness. A continuously increasing rate of ice cream intake results in exactly no effect on the output.
ddot y + 2 dot y + y = dot u - 2 u
As long as my input is pure C exp(2t) independent of C I see no happiness and it's not working on my mood. In your example input u effect is cancelled by decay of y cancelling the guilt. Making it not a zero.
In my personal case eating celery is a zero i see absolute no point eating it :) no harm and no benefit just pointless chewing
In a glider you can't do that so there when in level flight you have a limited amount of forward momentum available to help you climb if the air itself isn't moving up, you are continuously trading altitude for speed and vv (easy to see in a dive: everybody expects you to gain speed in a dive because can all relate so something falling, it's obvious the reverse has to happen when you climb and the stall speed is a design parameter of the aircraft at a given altitude combined with a bunch of other factors).
https://aviation.stackexchange.com/questions/27693/how-does-...
If you pitch up you can only exchange speed for a little bit of altitude, briefly.
Very good article, and well worth your time to read.
The interesting thing is that his modelling concludes that raising interest rates is inflationary which is what Warren Mosler also says.
Anyone interested in what to do about inflation would enjoy the recent Macro n Cheese podcast episode featuring Randall Wray
Of course that is easier said than done; adding a sleep() to your control loop to ignore the initial misdirection is also very bad. The right way to solve this is to not just tell the control loop to "go up", but to plan a realistic trajectory that the control loop can execute. That way, the error between the desired trajectory and the actual trajectory will be much smaller, and the closer the error is to zero, the less chance of a control loop to go wild.
I don't know if many people often ride their bicycle on cliff edges, but many plane (as in airplane) accidents occur because it's difficult / impossible to recover from a stall near the ground.
Every time this comes up there is a big debate with a bunch of people saying counter steering is required. Please, go out and try it. Drive perfectly straight along a painted line. Lean left, turn left. Lean right, turn right. There is no requirement for counter steering.
Also, leaning is very similar to counter steering; counter steering makes the bike "fall" on the side where you want to go.
Interestingly, you can also steer a horse without doing anything on the reins; the horse will usually go where you put your weight; I think it's because it needs to compensate for the weight differential; or maybe it takes it as a hint about which way you're looking. In any case it works.
I would also mention, that we essentially design controllers to shift the poles and zeroes of the total system (which consists of the plant system and the controller system) to more desirable positions, than those of the plant system alone.
Comments: The OP is a troubling covert political statement. The real issue here seems to be US midterm elections / climate change / COVID / appeal to authority.
It's very visible and pronounced on heavier bikes, like motorcycles. Especially if you try riding a very heavy cruiser bike -- you'll immediately notice that countersteering is the only way to turn it. No matter how you try to lean it, it won't respond and will just go straight, but it'll respond very easly to handlebar inputs.
But what he really talks about seems to be the opposite: Actions which case some mild harm in the short term but increase well-being in the long term. So I guess something like working out or going on a diet or making a downpayment for a house?
Except the failure mode is also counterintuitive: Normally, we tend to overvalue the short-term downsides of those actions and therefore shy away from them, missing out on the long-term benefits. But he talks about a situation where we overvalue the long-term benefits but ignore the short-term and overdo the action until the short-term harm becomes critical.
So, e.g. someone working out, getting muscle-ache - and then working out more to counter the ache - which will only lead to more of it until the workout actually starts to become detrimental to their health.
It's easy to see how this would trip up automated control loops, but I don't really see how this has practical application outside of control theory.
https://en.wikipedia.org/wiki/State-space_representation
I recall going through this at university and it being a bit of a struggle. Looking back at it now, this stuff makes a lot more sense. A decade+ of practical experience probably helps.
So, if we think knowing theory is useful in cracking hard problems, why is it wrong to asses its knowledge in an interview?
I've done a lot of useful work in feedback systems without ever really grokking Laplacian notation and the notion of complex frequency in general. A lot of the actual numerical methods used in real life boil down to a few canned formulas. But I know enough about the underlying theory to appreciate where the canned formulas come from, and fully intend to sit down some day and go through the whole process. Articles like this are interesting if only for the occasional gems in the comments, such as John N.'s pointer to Maxwell's 'On Governors' paper that I'd never run across before.
At the same time, I don't see much upside in making hiring decisions on the basis of whether someone can regurgitate a bunch of textbook math. I'd rather spend the interview talking about control problems the candidate has dealt with personally, how they were handled, and what the candidate learned from them.
You say "people on HN seems to enjoy this kind of articles" which seems reasonable, given the comments here. But then you jump to "we think knowing theory is useful in cracking hard problems".
Going from the first to the second is not quite so clear. That is, someone may enjoy such an article and even learning some theory, but not necessarily because they think they will directly apply it. People sometimes just enjoy learning stuff or reading about it and then forgetting it.
You also make a second jump, because other factors may be involved. Maybe the theory asked in the interviews is completely unrelated to the things involved in the job. The job may not even require cracking hard problems. These are frequent occurrences -in my experience, at least-, and clearly seem compatible with thinking that knowing theory is good in general.
I graduated in 1991 with BSEE and the curriculum was a rush to get us to diffeq and linear systems because 90% of the remaining three years of classes were taught using S and Z plane analysis. My engineering professors were incapable of introducing a concept without starting with a differential equation.[1]
For the author to spend so much time explaining control theory, then sort of give up on it, was disappointing. Ironically, knowledge of control systems and warnings about them should pervade the thought process of the thinker and prevent them from making grandiose claims. Perhaps OP only has a topical knowledge but can spin a good yarn.
[1] I'm a career programmer, but I always start my thoughts with a d/dt: whether it's an RTOS project, a graph GraphQL endpoint, or USB driver. I guess "if all you have is a hammer..."
By the time you have a perfectly reasonable model of a system that is good enough such that computing the transfer function’s poles actually tell you something interesting about the system, there’s way more you can say about the system than “it is stable.”
There are maybe some lessons to be drawn from basic “classical” control theory, but many are better stated by just analyzing the system directly.
(As a side note, I’m not saying there’s Zero value in analyzing transfer functions, just that it’s a long way to the top from there.)
It's almost good. It would be good if it dropped the pretensions to technicality.
Human Factors for Drone Pilots
https://www.youtube.com/watch?v=UHYjl0u2UMA
Based on what real pilates need to know about human physiology as it relates to steering airplanes.
Poles in the right half-plane indicate instability. Zeros in the right half-plane indicate something a little more subtle. I believe the article is about the latter.
An explanation of the Laplace transform is coming! This is an article, not a book.
[0] https://jbconsulting.substack.com/p/on-shelter-futures-part-...
In other words if you can have a wage/price spiral you can have a profit/price spiral and an interest/price spiral for the same reasons.
[0]:https://new-wayland.com/blog/interest-price-spiral/
Once you abandon the concepts of general equilibrium and a fixed amount of money for what happens in reality, then the functional control mechanisms get a whole lot more interesting.
I didn't know what right-half-plane zeroes are. I knew some of the examples it gave (Veritasium has a fun video on the bicycle steering phenomenon), but not that there was a category they all fit into. Neat.
But I got squinty when the author said the intended audience was everybody, and got a hunch it was going to wander into the current economy ... which it did, sort of, except that in this case, "wandering" into the subject meant, "wrap it up with a graph and then point at it and go, see! See! I can predict the economy now!"
The follow-up at https://jbconsulting.substack.com/p/on-shelter-futures-part-... goes into more detail and concludes that interest rate hikes will increase inflation over the next 5-ish years, but there's no "part 2" in the series to be found (paywalled?).
There are lots of graphs and the author tries to build a case out of several arguments, buuuuut in the end it feels like that IASIP conspiracy board meme. I smell a faint whiff of gish galloping here and there, but one thing that stands out to me is that the author chooses to normalize housing costs against inflation, but there's no mention of wage stagnation anywhere.
Rents and housing costs can't rise a whole lot more, certainly not to the extent the author seems to be predicting, because people can't afford them. This is already a conversation happening in every housing market in at least several countries. In the US, pick literally any local subreddit and ask if anyone knows of an affordable place to rent, I dare you. There's already a huge epidemic of unhoused people and van-dwelling is more popular than it has ever been, and consumers are currently getting squeezed in a lot of directions. Here, one of the things in my browser history before this article was this thread: https://old.reddit.com/r/news/comments/v8knl5/gas_prices_hit...
So, if wages don't rise to meet these costs, then something big is going to break way before the cost increases the article is doomsaying.
House prices are passively controlled because there's only so much money to spend on housing?
Full stop.
dy/dt = dx/dt + Ax
is it the case that y = f(x,t)?
thanks
If you squint a little bit most systems looks like a feedback loop and my not very confident interpretation is, judging from the last picture, that the author thinks we have a runaway inflation problem (zeros on the right hand side of the plane) and we might or might not have the controls to move them to the left hand side to tame it.
Edit since some people are confused by this apparently: You can steer your bike away from the edge of a cliff by leaning to initiate the turn instead of countersteering. This makes the author's advice of "Don’t ride your bicycle on the edge of a cliff" much less critical.
That is impossible. If you lean your body left while biking in a straight line, the bike will lean right to keep your center of gravity above the track.
For bike and body to be leaning left, the bike must already be in a turn. Or else, it must be in the middle of a fall.
Two-track vehicles always begin a turn with a countersteering move which induces a fall in the opposite direction. Then the steering immediately switches in the falling direction, to convert the fall into a turn.
(In the absence of wind anyway. A left turn could plausibly start without a countersteer if a gust of wind blows over the bike into a left lean; the subsequent left steer and turn will supply the compensating acceleration to prevent a fall.)
A bicycle is always countersteering. A bicycle whose steering column is locked out, prevented from turning, cannot be ridden. It will fall over.
A bicycle doesn't require a rider in order to maintain balance, either. Above a certain speed, a bicycle can correct itself. This is due to countersteering. Whenever the bicycle accidentally steers slightly to the right, it begins to fall to the left, and this provokes a left steer which prevents a fall.
A rider who doesn't understand countersteering nevertheless intuitively "bootstraps" the turn out of these small wobbles, gradually increasing the tilt and and degree of turn, through a sequence of small counter-steering maneuvers.
You cannot lean without countersteering first; the lean happens because you induced a fall in the desired direction, through a tiny countersteering move. With the tiny, subconscious counter-steers, you induce only small tilts. I suspect it takes multiple small counter-steering maneuvers to "build up" a decent tilt for a sharp turn, which takes time.
Once I learned to deliberately countersteer, I then started doing it all the time. I hardly take any turn (big or small) on a bicycle without pushing forward the handle-bar on that side.
If you don't make deliberate countersteering your main steering method, so that it becomes second nature, you will not be able to count on yourself to use it in an emergency.
At low speeds on e.g. a light MTB stop pedaling, lift your butt off the saddle, lean bike far into desired side balancing your body and handlebars to keep going straight. You have most of what's needed to turn. You may countersteer but your line does not veer into the direction of countersteer, counter to illustrations.
Riding edge of a cliff is not a great idea anyway because balancing a bicycle tends to require countless small adjustments even due to pedaling alone.
It's good enough if you already understand it and know what to look for; just not the best for convincing someone who doesn't believe the physics.
A steering column which somehow turns right without your hands will induce a countersteer to the left the same way as if you had used your hands.
That's irrelevant; bicycles countersteer to keep stable, without a rider present (above a certain speed).
If the riderless experiment were repeated with a bike whose steering is locked out, it would fall down rather quick.
The bike seems to be initially leaning to the left, because it was induced into motion that way by the experimenter. Yet in spite of this, it recovers by tilting to the right.
If there was a human on that bike wanting to turn, here they would continue leaning, turning, and pedaling in the correct amounts.
But because there's no human to keep their weight leaned to the left, then 3. The left turn of the handlebars causes the road contact points to move to the left of the center of gravity, so that 4. It starts turning right.
If you'd prefer, I can explain the concept of the right-half-plane zero using only abstract systems described by transfer functions. But I suspect that will be less effective from an education standpoint.
I maintain that countersteering a bicycle is an excellent example of a RHP0, and it's no coincidence that a translating inverted pendulum also has an RHP0 in its control solution.
I also am one of those cyclists and, at least prior to the pandemic, commuted by bicycle every day.