How to use this calculator
Choose estimator correction gains that make an ideal two-state observer forget its initial error at prescribed rates.
- Enter A11 (1/s), A12 (state 1/state 2/s), A21 (state 2/state 1/s), A22 (1/s), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Two state Luenberger observer gains explained
Calculate two observer gains that place the estimation-error poles of a measured two-state linear system at the supplied locations.
How the calculation works
x̂′=Ax̂+Bu+L(y−Cx̂); eig(A−LC)={p,q}. Compute L by dual pole placement on (Aᵀ,Cᵀ).
Sensor innovation y−Cx̂ corrects each state through a separate gain. These are observer gains, so they are not substituted into the actuator feedback law.
Set up the calculation
a— A11 (1/s)- First row, first column of the state matrix.
b— A12 (state 1/state 2/s)- Contribution of state two to the time derivative of state one.
c— A21 (state 2/state 1/s)- Coupling from the first state into the second derivative.
d— A22 (1/s)- Second row, second column of the state matrix.
h— C1 (output/state 1)- Sensor sensitivity to the first state.
k— C2 (output/state 2)- Sensor sensitivity to the second state.
p— Observer pole 1 (1/s)- First real eigenvalue of A−LC.
q— Observer pole 2 (1/s)- Second desired real estimator error pole.
Limits of this model
The model must be observable; only real target poles are supported. Noise amplification and sample-rate limits are not optimized.
Check this example
A11 (1/s) = 0; A12 (state 1/state 2/s) = 1; A21 (state 2/state 1/s) = -2; A22 (1/s) = -3; C1 (output/state 1) = 1; C2 (output/state 2) = 0; Observer pole 1 (1/s) = -8; Observer pole 2 (1/s) = -9.
- Observer gain L1: 14 state 1/output/s
- Observer gain L2: 28 state 2/output/s
- Error-dynamics trace: -17 1/s
A position sensor in the default model uses estimator poles −8 and −9 per second, faster than the uncontrolled plant.
Reading the outputs
L1 and L2 scale the same scalar innovation into the two state derivatives; trace checks the intended error dynamics.
Frequently asked questions
Why use poles faster than the plant?
This can reduce estimation lag, but very fast poles amplify sensor noise.
Is this a Kalman filter?
No. Gains come from selected poles rather than noise covariance.
Does the known actuator input need to be measured again?
The observer uses the known input Bu; the correction term uses the measured output.
How do I use the Two state Luenberger observer gains calculator?
Enter A11 (1/s), A12 (state 1/state 2/s), A21 (state 2/state 1/s), A22 (1/s), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Two state Luenberger observer gains?
A11 (1/s) = 0; A12 (state 1/state 2/s) = 1; A21 (state 2/state 1/s) = -2; A22 (1/s) = -3; C1 (output/state 1) = 1; C2 (output/state 2) = 0; Observer pole 1 (1/s) = -8; Observer pole 2 (1/s) = -9. Observer gain L1: 14 state 1/output/s Observer gain L2: 28 state 2/output/s Error-dynamics trace: -17 1/s A position sensor in the default model uses estimator poles −8 and −9 per second, faster than the uncontrolled plant.
Background or definition reference: SciPy state-feedback pole placement.