How to use this calculator
Design full-state feedback gains for a controllable two-state plant and two chosen real closed-loop poles.
- 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 feedback pole placement explained
For the negative-feedback convention u = −Kx, the selected gains make the characteristic polynomial of A−BK equal to (s−p)(s−q). A reachable single-input pair is required; the gain values depend on the state and input scaling.
Inputs, symbols, and units
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.
g— B1 (state 1/input/s)- First component of the actuator input vector.
j— B2 (state 2/input/s)- Second component of the actuator input vector.
p— Desired real pole 1 (1/s)- First desired eigenvalue of A−BK.
q— Desired real pole 2 (1/s)- Second desired real eigenvalue; may equal the first.
Formula and method
u=−Kx; K=[0,1][B,AB]⁻¹[A²−(p+q)A+pqI]. Desired characteristic polynomial is (s−p)(s−q).
The negative-feedback convention is built into u=−Kx. State availability is assumed; pole placement does not select gains for noise or actuator constraints.
A worked scenario
A11 (1/s) = 0; A12 (state 1/state 2/s) = 1; A21 (state 2/state 1/s) = -2; A22 (1/s) = -3; B1 (state 1/input/s) = 0; B2 (state 2/input/s) = 1; Desired real pole 1 (1/s) = -4; Desired real pole 2 (1/s) = -5.
- Feedback gain K1: 18 input/state 1
- Feedback gain K2: 6 input/state 2
- Closed-loop trace: -9 1/s
Move the default plant poles from −1 and −2 to −4 and −5 using both state measurements.
Assumptions and edge cases
Only a single actuator and two real target poles are supported. A singular reachability matrix is rejected.
Reading the outputs
K1 and K2 multiply the first and second states respectively; trace provides a simple pole-sum check.
Frequently asked questions
May a gain be negative?
Yes; its sign depends on state and actuator conventions.
Can poles be repeated?
The analytic single-input formula permits repeated real target poles.
Do faster poles always help?
No. They can increase control effort and sensitivity to unmodeled dynamics.
How do I use the Two state feedback pole placement 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 feedback pole placement?
A11 (1/s) = 0; A12 (state 1/state 2/s) = 1; A21 (state 2/state 1/s) = -2; A22 (1/s) = -3; B1 (state 1/input/s) = 0; B2 (state 2/input/s) = 1; Desired real pole 1 (1/s) = -4; Desired real pole 2 (1/s) = -5. Feedback gain K1: 18 input/state 1 Feedback gain K2: 6 input/state 2 Closed-loop trace: -9 1/s Move the default plant poles from −1 and −2 to −4 and −5 using both state measurements.
Background or definition reference: SciPy state-feedback pole placement.
Read our calculation methodology.