r/ControlTheory • u/MobileAirport • 4h ago
r/ControlTheory • u/DenoisedNeuron • 17h ago
Other Lyapunov stability and PID control, explained visually (free study slides)
galleryI've been studying Lyapunov stability and PID control through the animated videos of Prof. Giordano Scarciotti (Imperial College London, YouTube channel Prof Gio), and put together two slide decks for my own study:
- Lyapunov stability and Lyapunov functions (55 slides): stability vs attractivity vs asymptotic stability, energy intuition with the pendulum, a step-by-step graphical proof of Lyapunov's direct method, and why generalized Lyapunov functions are needed beyond energy.
- The PID controller (32 slides): from open loop and bang-bang control to P, PI and PID, steady-state error and tuning.
The slides follow the videos closely, with a few extra notes where the videos skip details. All figures are stills from his videos, shared with his permission.
PDFs: https://github.com/giusalfieri/control-theory-notes
Original videos:
- Lyapunov Stability: https://www.youtube.com/watch?v=W8YpgG0KuOo
- Lyapunov Functions: https://www.youtube.com/watch?v=dpZnYiGWLT0
- PID: https://www.youtube.com/watch?v=9gZojywQPBY
Feedback (pun intended) is very welcome, especially if you spot mistakes or imprecise statements.
r/ControlTheory • u/Lamuraille17 • 1d ago
Professional/Career Advice/Question How exposed are applied mathematics, control theory and robotics careers to AI automation?
Hi everyone,
I'm currently pursuing a Master's degree in Applied Mathematics and Computer Science, specializing in Data Science, in Russia.
I've been reading quite a few discussions lately about AI replacing data scientists, the entry-level job market becoming increasingly saturated, and people advising others to move toward software engineering or cybersecurity.
This has made me think about my own career path, because I feel that my academic background is somewhat different from that of a typical Data Analyst or generalist Data Scientist.
My Master's research is focused on Control Theory and Robotics, particularly:
- Iterative Learning Control (ILC) for a gantry robot performing repetitive movements.
- Optimal controller design using Linear Matrix Inequalities (LMIs).
- State estimation using Kalman filters.
- Stochastic disturbances, including Ornstein–Uhlenbeck processes.
- Comparing Gradient and Heavy Ball control algorithms under different noise conditions.
- Working with MATLAB, YALMIP and SeDuMi.
I'm also taking a course in satellite engineering and space communications, with an interest in CubeSat projects.
What interests me is the combination of applied mathematics, optimization, control systems, robotics and data-driven methods.
My questions are:
- Would you consider this profile closer to Control Systems Engineering, Robotics, Applied Mathematics or Data Science?
- Are these fields less exposed to AI-driven automation than general-purpose Data Analysis and Data Science, or are they likely to face similar changes?
- How vulnerable are entry-level positions in robotics, control engineering and industrial automation?
- What additional skills would you recommend developing to remain competitive over the next 5–10 years?
I'm particularly interested in hearing from people who actually work in robotics, control engineering, industrial automation or applied machine learning.
I'm not looking for reassurance. I'd genuinely appreciate honest opinions, including criticism of my current skill set and career direction.
Thanks!
r/ControlTheory • u/baseeeballlz • 2d ago
Technical Question/Problem Best EtherCAT motion controller setup when a standard PLC isn't cutting it?
Once you scale past a handful of synchronized axes or need tight cycle times without jitter, what hardware are you reaching for instead of standard PLC motion libraries?
r/ControlTheory • u/HotelFirm3622 • 2d ago
Technical Question/Problem How to tune PID, how to simulate in Simulink
Hello friends, I'm working on a self balancing robot and this is the plant I have, I used Claude to derive the transfer functions and the state space model:


**Plant (motor voltage -> chassis tilt).** Derived with Newtonian mechanics, treating the motor as a velocity source:
Theta(s)/V(s) = -0.2901 s / (s^2 - 44.27)
- Unstable pole at +6.65 rad/s (the robot falls over)
- Zero at the origin (a constant voltage gives no steady tilt)
- Negative gain (positive voltage first tips the body backward)
**State space** (states: x1 = theta [rad], x2 = w = theta_dot + 0.2901*V):
A = [0 1; 44.27 0] B = [-0.2901; 0] C = [1 0] D = 0
Using values from Claude: P = 72.4 and I = 928, this is my output waveform:

How do I make sure the PID values I chose actually work?
r/ControlTheory • u/Life_Thanks_1964 • 2d ago
Educational Advice/Question Question to professors, researchers and engineers on usage of LLM for the research
As a PhD student working on controls. I was curious to know some your thoughts on how LLM should/ should not be used. I’ve sort of realised that the PhD programs during pre-AI era was a bit different than what it is now and I sometimes wonder if I am missing some of the rigour which others in the past undergone that has been helpful in their professional/ research journey. Having said that, I also understand that the times have changed and I must adapt to the new way of learning and leverage this powerful technology into good use.
I just wanted to know how I can make use of these tools to be well versed in the field and carry out good quality research in my field and prevent myself from intellectual and understanding deficit ( becoming entirely relied on it and is not able to conduct research without it)
r/ControlTheory • u/AliHosseiniLaqa • 2d ago
Technical Question/Problem Opinion on the project title
Hello my friends.
I was given a project titled "Intelligent Guidance Controller Design for UAVs under Strong Time-Varying Winds with User-Defined Path Convergence Time". Honestly, I worked on prescribed time controllers before, but about designing an intelligent one, not that much. To give more information by the word "intelligent", I am talking about guidance laws which make the UAV to go in a certain path. For example, if the temperature is below 30 degrees, the UAV must go right. This is just a simple example. I really appreciate your ideas on this project topic and also would like to know how hard and time-consuming it is. Thanks in advance. Edit: everyone is so appreciated to share their experience and idea. Thank you very much.
r/ControlTheory • u/Refractal_ • 3d ago
Professional/Career Advice/Question How to choose a specification/major within Control Engineering?
Hello, I just recently started university as a Mechanical Engineering major, and have realized since then that I really want to get into controls engineering, and I'm having a lot of trouble deciding how to specify and which major to go with.
I'd really love to get some advice on what helps you make decisions like these, what your favorite (and/or least favorite) part about your experience in your sector control engineering has been, whether you think major really matters or if I'd be able to get a career with either, or any other advice you'd have. :D
Here is my current pro-con list for the main options I'm considering.
| --------- | Electrical Engineering ("Information & Systems Sciences" track) | Mechanical Engineering ("Automation & Controls" track) |
|---|---|---|
| Pros | - Far cooler classes - I like the deeper math theory (currently in Diff-eq and enjoying it) - Cooler career by far - Slightly better pay (Not that important / this is only a consideration if everything else is equal**) - More of the careers I'd want to go into generally want electrical (From what I've seen) | - Would have lighter semesters to graduate on same schedule - I've always enjoyed 3D design and have spent most of my life doing it - Far more experience (I believe I currently have the qualifications for a couple research positions out here) - One company I've been looking at for long-term goals is currently hiring |
| Cons | - Have to take more classes per semester to graduate with same schedule - Have far less experience (More unlikely to get research/internship role for a while) | - Less interesting work (in my opinion) - Takes hobby & turns it into career (could make hobby seem less fun) - Far fewer employers for the roles I'm interested in generally want Mechanical (again from what I've seen) |
Whether it be PLCs, more complex control theory work on deep learning machines learning from state-space simulations or the 3D design for all of the automation/robotics part designs, everything seems so cool some advice. :)
Thank you so much, I really appreciate any and all help! :D
r/ControlTheory • u/modeloop • 3d ago
Other We built a browser-based tool for modeling controllers and generating embedded C

Hi everyone! We’d like to share a new model-based design environment with anyone interested in trying it out. It’s free and you can start modeling right in your browser without installing any desktop software.
It's called Modeloop and we've spent some years to build but we think it has a lot of interesting features.
DIAGRAMS
In the diagram editor, you can build control algorithms by combining basic blocks from the standard library and use finite state machines (FSMs) to define operating modes and the transitions between them. You can organize your diagram into nested subsystems and schedule different functions to run at different rates. For example, you could run a motor’s current loop at 10 kHz, its speed loop at 1 kHz, and its diagnostics at 100 Hz.
You can also edit any model either graphically or as text. For example:
previous = UnitDelay(filtered_value, initial=20.0)
new_sample = 0.2 * raw
memory = 0.8 * previous
filtered_value = new_sample + memory
filtered = filtered_value
The model format is open, and models are saved as JSON, without obscure proprietary formats that lead to vendor lock-in. There’s also a built-in version control system that lets you commit your diagrams and push them to GitHub, for example.
ENGINE
Modeloop’s engine is written in Rust to give users maximum performance while minimizing wait times, especially during compilation and simulation. You can also write unit tests for specific parts of the model, create different scenarios, and view test coverage for the automatically generated code.
Modeloop supports both Model-in-the-loop and Software-in-the-loop simulations. The broader documentation is here.
We’d love to hear your feedback on the product, which parts you love, and especially what’s unclear or could be improved.
Link: https://modeloop.app/
r/ControlTheory • u/Elfish2 • 4d ago
Asking for resources (books, lectures, etc.) What is the best way to learn C++ for control theory implementation? Should I learn python or C++?
My background:
I'm a 5th year mechatronics engineering student that is good with matlab/simulink and is looking to expand my skills for my future career in automation/control/robotics.
I already know the basics of C++ from the course I took in college. Also, I am pretty good at 86 assembly programming. I heared that python is only used for simulations but that is what I use matlab/simulink for.
r/ControlTheory • u/Lopsided_Ad7312 • 5d ago
Professional/Career Advice/Question Calling Kerala’s control-theory crowd: How did you turn the math into a career?
I'm a B.Tech Mechatronics graduate from Kerala, genuinely interested in pursuing a career in control systems engineering, particularly the mathematical and theoretical side of the field.
I'm trying to connect with people who actually work with things like system dynamics, feedback control, state-space methods, modelling and simulation, system identification, motion control, robotics, and related areas.
Just to clarify, I'm not referring to PLC/SCADA, conventional industrial automation, or computer science/software development roles. My interest is in engineering control systems and their underlying theory and applications.
I have a few questions:
- Are there people in Kerala currently working in this area, either in industry or research?
- What kind of companies, industries or research organisations offer these opportunities?
- How did you get into this field? What was your educational and career path?
- Given how niche this specialisation seems to be, how did you find your first opportunity?
- What skills, projects or higher studies would you recommend to someone trying to enter this field?
I'd especially like to hear from people working in Kerala, but even if you're originally from Kerala and built your career elsewhere, I'd really appreciate hearing your experience.
I'm not just looking for job openings. I'm genuinely trying to understand how people build a career in this field, what the reality looks like, and what direction someone starting out should take.
Even a conversation or a few words of advice would be valuable.
(used chatgpt to refine this post.)
r/ControlTheory • u/Mental-Past-2104 • 5d ago
Technical Question/Problem How are you choosing Q, R, Rd, and Qf for nonlinear MPC?
I have been tuning nonlinear MPC weights offline with an Optuna closed-loop study around CasADi/IPOPT. The outer objective combines tracking error, control-rate smoothness, and constraint margin, and the search outputs Q, R, Rd, and Qf for the local controller.
What I am unsure about is where derivative-free search actually loses to an analytical starting point:
- Linearizing around an operating point and using LQR / DARE (especially for
Qfand relativeR/Rdscaling) often lands closer than a cold Optuna box, and black-box search wastes a lot of trials when the plant is already near a decent margin. - Hard state bounds make a nominal scalarized cost lie: weights that score best on the nominal rollout often ride right on the constraint boundary and go infeasible or sluggish under a small disturbance or model mismatch.
I have been testing this across three plants—a differential-drive robot, a battery peak-shaving dispatch problem, and a root-zone irrigation model:
- Plant models and scripts: https://github.com/kaiden8/autotunempc-examples
- Editable JSON payloads I have been testing against: https://autotunempc.com/try
For those of you tuning nonlinear MPC in practice: do you anchor Q/R (or Qf via DARE) analytically and only search a few scalar multipliers, treat the diagonals as free parameters, or evaluate the outer cost over disturbed/Monte Carlo rollouts?
r/ControlTheory • u/HotelFirm3622 • 6d ago
Technical Question/Problem Filter coefficient PID?
what is a filter coefficient in PID in matlab?
r/ControlTheory • u/HotelFirm3622 • 6d ago
Technical Question/Problem Need help with self-balancing robot
Hi all, I'm working on a self-balancing robot, im a senior student whos already taken control systems and I was just wondering on whether simulating this robot is feasible in simulink. I asked claude to help me with the equations of motions and transfer functions and this is what I got. I was wondering if this transfer equation seems reasonable, im using two DC motors, and I gave it my motor datasheet, I just need some help understanding how to actually use this now in Simulink, how can you tune PID on simulink, and I was very surprised to see why PD doesn't work on it's own, from my research on other self balancing robot builds they recommend never using an I term. Thanks!




r/ControlTheory • u/Remarkable_Strike596 • 6d ago
Professional/Career Advice/Question Amazon Automation Engineer Intern – Houston, TX
I recently received an offer for an L4 Automation Engineer Internship at Amazon in Houston, TX, for Summer 2027. I'm an electrical engineering student and would be relocating to Houston for the summer.
I was wondering if anyone has experience with this role, particularly regarding full-time return offers and location flexibility.
A few questions:
- What does a typical day look like for an Automation Engineer Intern?
- How common are full-time return offers for Automation Engineer Interns?
- If I receive a full-time return offer, would I be required to stay in Houston, or could I request a position at an Amazon facility in northeastern area?
- Has anyone successfully received a return offer for a different location than their internship?
- How is the work-life balance, salary progression, and overall career growth in this role?
Would really appreciate some feedback!
r/ControlTheory • u/Strong_Boy_757 • 6d ago
Professional/Career Advice/Question How to not get demotivated while looking at research from machine learning?
So I was casually looking up some random ML researcher and I clicked on one of their publication with thousands of citations. I immediately noticed that the mathematical content was really really thin as compared to a paper in the control fields. It was just a modification of some base model, some description of the model using fairly basic algebra, no proofs, pure simulation study.
I think this just reminds me of something I've repeatedly noticed. Most machine learning models are essentially dynamical systems, x_dot = F(x, u), y = C(x), which in principle should be as complicated as other dynamical systems. BUT most machine learning researchers (especially in deep learning) only studies the easy part of the equation, which is precisely,
y = C(x)
Here, C is a neural network. They modify C in a thousands of ways. Each new modification results in a new publishable "architecture". The performance is often quite subjective. The motivation is not strong. The research is also quickly perishable and rarely if ever provide any new lasting insights.
Yet strangely, all these papers get cited thousands and thousands of times, which make them look very important. The authors also leverage that to get into some of the top positions in industry and industry reciprocate by only hiring people who published in ML conferences.
In other words, I feel that ML researchers are doing 1/10th of the work but get 10x the glory as compared to other computational fields (control, signal, op research...). Of course, there are several quite influential ML works with broad impact.
It seems quite difficult for any student of control to remain a positive attitude when seeing this.
r/ControlTheory • u/Kirito-San8432 • 9d ago
Other Some robotics projects I've been working on — MuJoCo, balancing robots, and Franka Panda
I recently participated in Brazil's National Science and Technology Week (SNCT), where I had the opportunity to present some of my robotics and AI projects to students, including high school students exploring possible engineering careers.
I also put together this 2.5-minute video showing a few robotics experiments I've been working on:
- Humanoid robot: motion simulation using MuJoCo.
- Two-wheeled balancing robot: experiments with a physical prototype and a MuJoCo environment running 300 simulated robots simultaneously.
- Franka Panda: multiple robotic manipulators simulated in chess environments, including the integration of a chessboard interface with the robot's movements.
My main interests are robotic control, simulation, reinforcement learning, and integrating different software components into robotic systems.
These projects are still evolving, and there are several aspects I'd like to improve, especially regarding control strategies and the connection between simulation and real-world robotics.
I'm sharing this to exchange ideas and learn from others working on similar projects.
I'd be interested in hearing your thoughts, particularly on simulation workflows and control approaches. Any feedback or suggestions are welcome!
r/ControlTheory • u/Kazablancaz • 12d ago
Professional/Career Advice/Question GNC Engineer, now what?
Hi everyone,
I recently finished my MS in mechanical engineering (focus on simulation modeling and controls) and started as a GNC engineer at a well established aerospace company.
My team does very little actual GNC design, though. The work is mostly system integration and testing: hardware validation, software updates to subsystem components, and hardware-in-the-loop testing. The system is already mature and in production, so I haven't needed to use my modeling, simulation, or controls background.
There's an upside. The pace lets me learn aerospace terminology and understand the system as a whole, and my role requires broad knowledge of many subsystems. But I worry my title is a bit misleading, and that if I want to move into more technical work later, my academic skills will fade.
I'd like a side project where I can work on the GNC side directly, with a platform that's ready to use. I tried building a drone before, but I spent most of my time debugging hardware (ESP32s, sensors, ESCs) when what I really want is to write and tune control algorithms.
Any suggestions for projects, platforms, or simulation environments? Perspectives, ideas or stories are greatly appreciated!!!
r/ControlTheory • u/Invariant_n_Cauchy • 12d ago
Other NeurIPS 2026 (Main Track) : Systems and Control Papers
If you'd like to find papers related to dynamic systems & control (to appear) at NeurIPS 2026,
here is an explorer.
https://santoshrajkumar.github.io/pages/neurips2026_dsc/
r/ControlTheory • u/Dependent-Regular792 • 13d ago
Professional/Career Advice/Question Temor a la hora de salir al mundo laboral
Estoy cursando mi tercer año de Ingeniería Electrónica Industrial Y automática, pero tengo una sensación de que en la universidad no me estoy preparando de verdad, tengo ciertos conocimientos teóricos, pero mucha falta de experiencia práctica que no siento que vaya a adquirir en este año y el siguiente, personas que estén en el sector o hayan tenido sensaciones similares, qué consejos me darían, cómo puedo intentar ganar experiencia o aprender de forma autónoma algo más enfocado a la parte práctica de este sector.
Gracias.
r/ControlTheory • u/Invariant_n_Cauchy • 13d ago
Other IEEE T-AC Paper Explorer
Ever wondered what top researchers and institutions published in IEEE T-AC ?
Here is a explorer that considers every T-AC paper from 2000 to 2026 (so far, getting updated even new one appears).
https://santoshrajkumar.github.io/pages/pub_exp/tac/
r/ControlTheory • u/ee_control_z • 13d ago
Technical Question/Problem Can You Simulate A Buck Converter Successfully With Type II Compensator Without Current Feedback?
Hello,.
I am currently designing a "Peak Current Control Mode" buck converter. If you design the Type II compensator, can you simulate the buck converter successfully without implementing the current feedback yet? Or do you have to implement the current feedback as well when testing it? The reason that I am asking is that I am attempting to simulate the plant with the Type II compensator ONLY but it is not regulating based on the calculated values. I am hoping to validate the Type II compensator first prior to implementing the current feedback (with slope compensation). However, I am not sure if this is allowed. Is it REQUIRED you HAVE to test it along with current feedback?
Can someone please provide insight/clarity.
Thank you.
r/ControlTheory • u/Invariant_n_Cauchy • 14d ago
Other IEEE CDC 2026 Paper Explorer
Interested in looking up topics, papers, authors, and institutions, more interactively ?
Also, want to know about the ranking of institutions, authors, or areas by the number of papers?
Here is an interactive link: https://santoshrajkumar.github.io/cdc2026/
r/ControlTheory
•
u/gtd_rad
•
15d ago
Technical Question/Problem Help with autoregression model (system identification)
This is my first time attempting system identification of a simple battery / inverter. From what I understand, you can use either the measured or predicted values as previous values in the regression mode. I'm able to get a good fit using measured values (one-step prediction), but when attempting "free running simulation" using the prediction as previous values, I get a first-order like response and the max pole value is always close to 1.
I a using na = 2, nb = 2, nk = 1 and also tried a bunch of different combinations, but they all give me relatively the same results.
Could it be maybe my data doesn't have enough dynamic activity to fit the data or something? I'm a bit lost as to what else I can try.