r/ControlTheory • • Oct 22 '20

Why is output not called input?

0 Upvotes

The variable or signal names in negative feedback loop diagrams are so inconsistent field to field, it's crazy. The output is not the output of the actuator, but the output from the sensor (often), or sometimes the output from the actuator with disturbances added. Every signal in a loop is an input to a loop element and output from another loop element or the outside. I like the terms from process control - the *controlled variable* is maintained at its *setpoint or reference level*; and the manipulated variable is countering disturbances.


r/ControlTheory • • Dec 26 '25

Technical Question/Problem What if we describe gravity as a controlling action?

0 Upvotes

We are already used to control systems in our daily lives. We know they are valid and work, but what if this theory applied to the universe itself?

My idea here is that to avoid system divergence (instability), 'Gravity' would act as the Controller. The curvature of space and time dilation would be the mechanisms to ensure that the Lyapunov Function of the system has a negative derivative.


r/ControlTheory • • Aug 19 '25

Technical Question/Problem MPC is overrated

0 Upvotes

what the title says.

MPC in the confounds of quadratic programming and the hessians is just super overrated and not very approachable in practice.

The idea of a predictive controller with other control structures though is beautiful.


r/ControlTheory • • Mar 03 '26

Other Improved PID design Spoiler

3 Upvotes

One of the problems with a traditional PID design is that the Integral Term demands that the Error term must sum to zero over time. This means that the system must overshoot the Setpoint, over time, as much as it undershoots it. This behavior of the Integral term causes an undesirable overshoot of the setpoint. and can cause system oscillation about the setpoint value, in some cases.
I have found an easy way to improve the PID behavior. When the plant is undershooting the setpoint, the error term will have a positive value, and when the system is overshooting, the error term will have a negative value. The sign of the error term can be used to determine whether the system is overshooting or not.
Therefore, to decrease the magnitude and duration of the system overshoot, whenever the sign of the error term is positive (undershooting), the contribution of the Integral term = 1*Ki, and whenever the error term is negative (overshooting), the contribution of the Integral term = 2*Ki. The system is still stable, but the plant overshoot is lower in magnitude and reaches zero error more quickly.

The pseudo-code looks like this:

Error = Setpoint - Feedback
Pterm = Kp * Error
Iterm = Summation ( Ki * Error * (Error >=0) ? 1 : 2)
Dterm = Kd * Derivative(Error)
PIDout = Pterm + Iterm + Dterm

When you model this design, you will find that the magnitude and duration of system overshoots are greatly reduced, allowing you to apply a greater Ki gain value, and you will observe improved system accuracy and stability overall.

Test the system response under two special conditions:
* system response to a step change in the setpoint,
* While the system is holding steady at the setpoint value, observe the system response to a sudden "bump" disturbance to the feedback value, like the sudden application of an external force to the system.

See if you do not prefer the improved PID design behavior.

Please let me know what you think of this.


r/ControlTheory • • Mar 20 '26

Other Modelica vs Matlab

1 Upvotes

Hey all,

Today I would like to ask our dear community of control nerds about your views on the epic control systems battle:

Modelica vs Matlab

Modelica is more of a supporting language and requires the surrounding development of packages and interfaces for the proper support of control systems development in an open-source environment. While, Matlab has the full suite integration, as long as you or your company pay your sweet license fees.

Hence, I hereby want to open the discussion on why would choose one vs the other.

Maybe some of you haven’t even heard of Modelica, which means Matlab has done a good job keeping it out of yours hears, and forcing you to develop a unique skill within Matlab. But, I have seen that BMW supports Modelica so it’s at least well used in the Industry as well.

What’s your take on this Royal Rumble?


r/ControlTheory • • Apr 17 '20

I want to use this with a kalman filter, but honestly I dont even know how I could get data from this even if I knew all the constants

Post image
0 Upvotes

r/ControlTheory • • Aug 30 '23

chatGPT for papers and literature reviews

0 Upvotes

Hey all, we're 2 grad students doing our thesis right now.

We thought that chatGPT could definitely help in writing papers/reports, especially in finding existing work and related works. However, it often made stuff up so we decided to build our own version backed by real papers.

We found it quite useful for 2 cases:

  • having a headstart in a field you don't know well yet

  • writing the draft of the literature review of a paper you need to submit

Very curious to hear your thoughts!

https://seaml.es/science


r/ControlTheory • • Sep 05 '26

Other Can control eventually be "one-shot" by AI?

0 Upvotes

I have not heard of any serious discussion on the impact of AI on control.

We know that AI can effortlessly produce the proof to many advanced math, it can also write millions of lines of functional code based on written prompts. Anthropic has recently produced demos of their AI writing software-hardware interfaces/device drivers that allows it to control any set of hardwares ("Model Hardware Standard").

This seems to me that control engineering/theory is at the very center of the cross-hair.

Is it possible to one-shot any control engineering project through the usage of AI in the future? Similar to what it has already done to AI research "end-to-end automation of AI research/the AI scientist": https://www.nature.com/articles/s41586-026-10265-5

What would be the thing that prevents AI from simply taking over the jobs of control theorists/engineers?


r/ControlTheory • • Jun 28 '26

Professional/Career Advice/Question Personal Project

0 Upvotes

I spent the last year building a control system ID + code gen tool from scratch. Looking for 1-2 real systems to test it on.

Free, just want feedback and a reference.

So I've been building this thing as a side project for about a year now. It's a Python pipeline that:

- takes logged input/output data from a real system

- fits a model to it (ARX, OE, ARMAX, subspace methods, etc.)

- designs a controller automatically (PID, LQR, MPC and a few others)

- spits out working C code and Python code you can actually deploy

I've been testing it on synthetic data, DC motors, thermal systems, mass-spring stuff, some nonlinear processes, and it's holding up. But synthetic data only gets you so far.

I need to run it on something real to know if it actually works outside my own benchmarks.

So I'm looking for 1-2 people who have a real system and some logged data and wouldn't mind letting me run it through the pipeline.

What you'd get:

- a report with the identified model, controller performance, stability margins

- the generated C/Python code

- all yours to use however you want, no strings attached

What I'd ask in return:

- honest feedback on whether the report and code are actually useful (this matters a lot to me as a solo dev, I want to know what's wrong with it).

- to be able to mention you as a reference on my CV.

- to be able to say "tested on [type of system] at [company/domain]",nothing sensitive.

I'd also need to know a bit about who you are and what the project is, just so I understand the context.

DM me if you're interested. I'll be straight with you about whether your system is a good fit or not.

Edit: this isn't a GPT wrapper. It's a proper identification and control pipeline. Happy to go into the technical details in the comments.


r/ControlTheory • • Oct 16 '26

Professional/Career Advice/Question Will AI have an impact on algorithmic development done by engineers?

1 Upvotes

Hey guys,

I think all of us agree that AI will/has an tremendous impact on software engineering.
But how about algorithmic development like we do as control engineers?

What are your thoughts and experiences for the future ?


r/ControlTheory • • Aug 04 '25

Asking for resources (books, lectures, etc.) Is anyone familiar with the "Steady State" problem?

1 Upvotes

In control systems modeling you can model dynamics easily, but but steady state is difficult, as described here: https://modelon.com/blog/steady-state-the-next-big-thing/. It sounds counterintuitive because it seems like a steady state should be easier to model.

Has anyone else ever encountered this? Is this a problem people are working to solve or is steady state something people have given up on?


r/ControlTheory • • Dec 27 '25

Technical Question/Problem Physics-based racing environment + PPO on CPU. Need advice on adding a proper world model.

0 Upvotes

ok so… I’ve been vibe-coding with Claude Opus for a while and built an F1 autonomous racing “digital twin” thing (CPU-only for now)… physics-based bicycle model env, PPO + GAE, telemetry, observe scripts, experiment tracking, ~80 tests passing, 1M steps in ~10–15 mins on CPU… it runs and it’s stable, but I’ve hit the ceiling — no world model yet (so not a true digital twin), no planning/imagination, no explainability, no multi-lap consistency, no racecraft/strategy… basically the agent drives but doesn’t think… I want to push this into proper model-based RL + closed-loop learning and eventually scale it on bigger GPUs, but doing this solo on CPU is rough, so if anyone here is into world models, Dreamer/MuZero-style stuff, physics+RL, or just wants to contribute/roast, I’d love help or pointers — repo: https://github.com/adithyasrivatsa/f1_digital_twin … not selling anything, just trying to build something real and could use extra brains.


r/ControlTheory • • Mar 11 '26

Other Innovation possibilities

0 Upvotes

Will there be a real innovative breakthrough in drone delivery industry ,related to control engineering or its other sub-ascpects, because the field seems to be growing (there is this company called skye air mobility, they secured series B funding,in India ).If so what would it look like .


r/ControlTheory • • Nov 28 '22

Practicality of optimal control theory

0 Upvotes

Im recently studying optimal control theory.(using that old book written by Donald Kirk).

It looks like to me those mathematical concepts carry little of practical significance.There is no matlab scripts as examples for implementation at all even tho i understand the theory,i dont even know where to start to write script for some real world problem lets say.

Im wondering is there real world direct application of those theorems in the modern control era?

As an engineer i feel like im wasting time studying it ..


r/ControlTheory • • Jan 05 '23

What can I comment abou this system based on Bode and Nyquist diagrams?

Thumbnail
gallery
6 Upvotes

r/ControlTheory • • Mar 29 '26

Technical Question/Problem Anyone please help.

0 Upvotes

While running an AHU, in DOL the RH sensor works fine. But by running using a VFD, the value goes down must be an error. Any one have faced such issues? Please suggest any solution for it. Thank you.


r/ControlTheory • • Dec 08 '25

Other Where precisely do the units of time sneak in to a transfer function?

1 Upvotes

Consider the transfer function 1/(s2 + 0.5*s + 1).

A tool like matlab might tell you that the peak gain of this system occurs at or around 1 rad/s. Sure, that's the conventional interpretation.

But, the transfer function itself doesn't mention seconds anywhere. All the uses of s are as the Laplace tranform variable, not as an abbreviation for the unit of seconds.

So perhaps on another planet with other conventions, the same transfer function peaks at 1 rad/blorzt.

Where, exactly, are the seconds being smuggled in by convention?


r/ControlTheory • • Mar 17 '25

Educational Advice/Question help

0 Upvotes

hi I'm a electrical engineer student and I wana work in oil and gas industry but I don't know what to do and what courses to take please help 🙏🏾


r/ControlTheory • • Dec 27 '21

Positioning sensor search

0 Upvotes

Hi, I’m trying to get under decimetre precision for the unmanned surface vehicle. Of course, if its possible to get even better with good estimator combined with 6 m accuracy cheap gps, really cool…Any suggestions on that and which gps to buy, as cheap as possible or links to communities where to search further? Thanks


r/ControlTheory • • May 02 '26

Asking for resources (books, lectures, etc.) Optimal Control Theory

2 Upvotes

I wasn't really sure where to even begin a search, but I was wondering if there was a more pragmatic version of control theory. Something like Goldratt's Theory of Constraints; balancing limited resources in a dynamic environment for maximum returns.

I know there's Optimal Control Theory, but it's more focused on deeper abstract logic and mathematics than wht I could apply to my life in business or wherever. Musk's "algorithm" is kind of what I'm looking for. Building feedback loops, etc. There's also lean manufacturing, which is great, but surprisingly doesn't talk much about maximizing returns or even TOC.


r/ControlTheory • • Apr 12 '26

Technical Question/Problem Sensitivity and Stability Analysis

Thumbnail
docs.google.com
0 Upvotes

Hey guys I'm an engineering student and I'm doing a project on systems sensitivity and robustness so I was wondering if any of you guys are willing to fill this form, It would help a lot


r/ControlTheory • • Mar 23 '22

Solving Valve Non Linearity with PID

0 Upvotes

Anyone have any source material for the following topic?


r/ControlTheory • • Nov 02 '20

I need asistance with matlab and simulink.

0 Upvotes

If anybody is bored enogh to help me with a simple excercise just to have a proper grasp on it. Feel free to PM . Thanks


r/ControlTheory • • Apr 02 '19

Bottle flip

2 Upvotes

I was doing this bottle flip thing then I suddenly thought that is it a control problem or we could bottle flip in a better way by applying control theory.