Class ControlSystems
java.lang.Object
org.episteme.natural.engineering.control.ControlSystems
Control systems analysis.
Modernized to use typed Quantities for Time and Frequency.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classPID controller output. u(t) = Kp*e + Ki*∫e*dt + Kd*de/dt Operating on abstract mathematical signals (Real). -
Method Summary
Modifier and TypeMethodDescriptionstatic RealBode magnitude for first-order system.firstOrderPhase(Quantity<Frequency> omega, Quantity<Frequency> omegaCutoff) Bode phase for first-order system.static RealFirst-order system step response. y(t) = K * (1 - e^(-t/τ))static RealgainMargin(Real gainAtPhaseCrossover) Gain margin in dB.static Quantity<Dimensionless> Overshoot percentage.Peak time for second-order underdamped system. tp = π / wdphaseMargin(Quantity<Angle> phaseAtCrossover) Phase margin from open-loop gain and phase at crossover.Rise time estimate for second-order system. tr ≈ (π - φ) / wdstatic RealSecond-order system step response (underdamped).settlingTime(Quantity<Frequency> wn, Real zeta) Settling time (2% criterion). ts ≈ 4 / (ζ * ωn)static RealsteadyStateError(Real Kp) Steady-state error for type 0 system with step input. ess = 1 / (1 + Kp)
-
Method Details
-
firstOrderStepResponse
-
secondOrderStepResponse
-
riseTime
-
peakTime
-
overshoot
Overshoot percentage. %OS = 100 * e^(-ζπ / sqrt(1-ζ²)) -
settlingTime
-
steadyStateError
-
phaseMargin
-
gainMargin
-
firstOrderMagnitude
-
firstOrderPhase
-