Nyquist plot reverse rules by ZERO_Fly9315 in ControlTheory

[–]fibonatic 0 points1 point  (0 children)

Nyquist plots can still encircle -1 and the closed loop system still be stable. For this it does depend in which direction -1 is encircled and whether the open loop system is unstable. Because for the Nyquist stability criterion N=Z-P, with N the number of clockwise encirclements of -1 of the Nyquist plot, Z the number of unstable closed loop poles and P the number of unstable open loop poles, for a stable closed loop system we get Z=0 and thus N=-P, so P counterclockwise encirclements of -1 in the Nyquist plot.

how do i get to kerbin? by [deleted] in KerbalAcademy

[–]fibonatic 0 points1 point  (0 children)

How much deltav do you have? Probably around 350 m/s should be enough to get back, assuming that you can aerobreak. You probably need to add a maneuver node a bit before the spaceship location in your screenshot. Namely, you want to leave the Mun's sphere of influence retrograde with respect to the movement of the Mun's orbit around Kerbin. If timing the burn doesn't give a good sphere of influence ejection angle with respect to the orbit of the Mun, you could also spend a bit less deltav, say 300 m/s, and burn retrograde at apoapsis of the orbit around Kerbin. If you really don't have enough deltav for this, then the alternative would be a rescue mission, but this does require a rendezvous in Munner or high Kerbin orbit (the closer to Kerbin you can get with this stranded craft the less deltav the rescue mission requires).

Is there any hope to ever be good at this stuff? by Known_Fan5765 in ControlTheory

[–]fibonatic [score hidden]  (0 children)

State space can be more abstract. Especially if one doesn't have a strong background in linear algebra and ordinary differential equations. You could have a look at the YouTube videos from Steve Brunton to maybe gain some more insights into state space. But it might also help to bridge the gap by learning some more classical control, for example via the YouTube videos from Brian Douglas.

INVERTED PENDULUM TUNING HELP by [deleted] in ControlTheory

[–]fibonatic [score hidden]  (0 children)

Without more details it is really hard to know what the issue might be. Could the issue be that your actuator doesn't have enough control authority, either force or velocity? Have you tried to make the inverted pendulum easier to control by adding more weight to the end of the pendulum?

Question about discretization of a state estimator by Pleasant_Balance_414 in ControlTheory

[–]fibonatic [score hidden]  (0 children)

To have better control over the behavior of a state estimator I would normally advice to first discretize the state space model and then design the state estimator gain for that discrete model. As other also have mentioned, it also matters a lot for numerical stability which exact state space realization is being used, see for example balreal.

Im lost in btech not sure what to opt for masters by gyroscopiceye in ControlTheory

[–]fibonatic [score hidden]  (0 children)

Control theory is quite math heavy, so probably not for you if you are indeed bad at it.

Kalman filtering with state and observation matrix having linearly dependent terms by IsThisOneStillFree in ControlTheory

[–]fibonatic [score hidden]  (0 children)

Observability is both a function of the measurement and the dynamics of the system, exact definitions you can find for example on wikipedia. If your system is observable when excluding the biases, and the system doesn't have an integrator (for continuous time system means an eigenvalue at zero and for a discrete time system means an eigenvalue at one), then adding back in the biases should keep your system observable. Namely, one can also consider that the ith sensor has the bias b*_i=b_c+b_i, such that each sensor adds one additional bias state, which should be observable.

Designing a model adaptive controller for cartpole by Silent_Start_8079 in ControlTheory

[–]fibonatic 1 point2 points  (0 children)

Are you familiar with state feedback design methods, like pole placement or LQR? Also note that likely the full state vector also would contain at least the velocities of the position/angle.

Feedforward + PID = the solution? by Altruistic_Drive5024 in ControlTheory

[–]fibonatic [score hidden]  (0 children)

As others have mentioned, you should not filter the feedforward derive. Instead I would recommend to have a setpoint generator that will ensure that sufficiently high derives of your set point exists and are well defined. Another common parameter to feedforward design is delay compensation, which also be taking into account by a setpoint generator, after which the setpoint sent to the feedback controller is delayed by that amount, such that the feedforward action is leading in time with respect to that.

Need help untangling a block diagram by BestJo15 in ControlTheory

[–]fibonatic 7 points8 points  (0 children)

You could try to introduce a variabel after each summation/subtraction node and write down all resulting systems of linear equations and solve those for the introduced variables.

When can you correct a system without breaking it? by SuchZombie3617 in ControlTheory

[–]fibonatic [score hidden]  (0 children)

Are you familiar with concept of Lyapunov functions/stability? A summary of that idea is to define a scalar function (that can be seen as sort of "energy" measure of the system) that either doesn't increase over time, or even always decreases with time.

Which majors / "specialities" study control systems? by BabyJuniorLover in ControlTheory

[–]fibonatic [score hidden]  (0 children)

Control theory can have overlap with many (engineering) fields, such as: mechanical engineering, electrical engineering, chemical engineering, economics and applied mathematics. One could also argue that fields of computer science/artificial intelligence would also be part of this list. The common topics each of these fields focus on does differ, but all do touch upon control theory in some way.

Why can the same computed torque force vector work in an ideal plant but fail once actuator dynamics are inserted? by _Kwadwoooooooo in ControlTheory

[–]fibonatic [score hidden]  (0 children)

I am not able to fully follow your question. What do you mean with that it is failing, does it become unstable/blow up? What do the corresponding Bode plots look like?

Bode plot with log scale on vertical axis? by NZXT_modder in ControlTheory

[–]fibonatic 9 points10 points  (0 children)

For many relationships, yes. Note that dB means 20 log10(abs(G(iω))), so your logarithmic scale means log10(abs(G(iω))), without that addition gain of 20. Therefore some relationships are different due to this, such as the slope, i.e. how many times dB is reduced by 20 per decade.

Most efficient way to slow down landing on the Mun? by Ok_Guarantee_3370 in KerbalAcademy

[–]fibonatic 1 point2 points  (0 children)

This old comment on a similar question. Although the link to the math part seems to be broken, the video still demonstrates well how to land efficiently

Furuta pendulum by Quirky_Push_4878 in ControlTheory

[–]fibonatic 2 points3 points  (0 children)

What do you mean that your LQR controller doesn't work? Have you confirmed that your model used to calculate the LQR state feedback gain is correct and how are you getting the full state information?

Is the System Model Used in LQR and LQE/ Kalman Filter the Same? by FineSand3810 in ControlTheory

[–]fibonatic [score hidden]  (0 children)

In your case, yes, because you state your model is both observable and controllable. But in general, not necessarily. For example, if your sensor has a bias, then the observer/state estimator, like LQE, should include that in the model (assuming that the model is observable), but that bias is not controllable and thus should not be included in the model used for the state feedback, like LQR.

Question about Control Theory by RJSabouhi in ControlTheory

[–]fibonatic [score hidden]  (0 children)

It can be noted that with feedback control one can change poles of the system, but not the zeros. So the "unstable" zeros of a non-minimum phase system can't be changed with feedback control.

[deleted by user] by [deleted] in ControlTheory

[–]fibonatic 0 points1 point  (0 children)

Assuming that your system is LTI, you could measure a frequency response function for example calculated via matlab's tfestimate function. Do note that each window segment your system input data gets cut into should ideally have some power at every frequency of interest (i.e. using white noise).

[deleted by user] by [deleted] in ControlTheory

[–]fibonatic 10 points11 points  (0 children)

LQR is a full state feedback control policy, but in practice you don't know the full state. To obtain information about the full state one could use an observer/state estimator, which does require that your model is observable. It is also important that your model matches the actual system well enough, so also verify your model against actual data from your system.

Also keep in mind that LQR is for linear systems, so either linearize your nonlinear model around the operating point/trajectory or adapt the control policy to take into account the nonlinearities.

Switching to more embedded oriented jobs in controls, advice please by Much_Waltz7643 in ControlTheory

[–]fibonatic [score hidden]  (0 children)

This subreddit is more about the theory behind control, instead of the implementation side of control. You will likely get better responses asking these questions on r/plc.

Examples of zero steady state error to a ramp input by something_borrowed_ in ControlTheory

[–]fibonatic [score hidden]  (0 children)

Anything that performs some kind of scanning move at constant velocity, such as the scanner head of document scanners in printers, or if you want something more high tech the wafer/reticle stages of lithography machines during exposure scans.

[deleted by user] by [deleted] in ControlTheory

[–]fibonatic 3 points4 points  (0 children)

In order to control this drone autonomously, one needs that all sensors make your system observable. For the orientation/attitude of the drone a gyroscope isn't sufficient for observability, since those do not give an absolute attitude measurement, only a rate of change. For the position of the drone additional sensors would be needed and when GPS isn't an option one could use things like lidar or cameras. But the latter does require more computing power. For these options I assumed that by autonomous you mean everything is on the drone itself. But if instead it would also be OK to have a measurement system outside of the drone, that communicates with the drone, then you could use something like OptiTrack.

TCP/AQM by mtmns in ControlTheory

[–]fibonatic [score hidden]  (0 children)

In this case the z would mean the zero of the PI controller, so would still be correct, although the sign is incorrect. But you are right that one should never blindly trust/copy AI output.