← Selected work

03 / State feedback / nonlinear sampled control

Inverted Pendulum Control.

Our team used state feedback to balance an inverted pendulum by moving a cart beneath it. The original footage shows both recovery and loss of balance. A separately specified 2026 reference connects that behavior to a nonlinear plant, calibrated sensing, sampled feedback and bounded motor force.

Context2021 hardware · separate 2026 reference
My role / team2021 project team · state-space control
Evidence statusOriginal hardware footage · reproducible digital extension

Original hardware / December 2021

Watch the response.

Two continuous excerpts from the same experiment. Normal speed, original audio, and the full portrait frame.

01 / Recovery

Small perturbations

The rod is nudged by hand. The cart moves beneath it and the rod returns toward upright. 8.3 seconds · normal speedDownload clip ↓
02 / Loss of balance

A larger perturbation

A larger push is followed by growing rod motion. The controller does not recover upright balance in this excerpt. 6.0 seconds · normal speedDownload clip ↓

2021 project team. These are qualitative demonstrations; the clips do not measure disturbance size or a stability threshold.

Keep cart position and rod angle in the same loop

The upright rod is unstable, so correcting angle alone can send the cart down the track. The documented apparatus used a cable-driven DC motor, two potentiometers and end-of-track switches. Position and rod angle were measured; cart velocity and angular velocity were calculated. All four states contribute to one motor command.

Connect the saved calibration to a stated model

The surviving workbook records a 1.021 kg cart, a 0.65 kg rod with 0.56 m length, sensor scales and four feedback gains. The new reference uses those dimensions and explicitly interprets the gains as force feedback in SI units. That input scaling and sign convention are new modeling choices: the original firmware, sample interval and final gain units remain unconfirmed.

Make the digital implementation explicit

The reference samples simulated position and angle every 5 ms, estimates their velocities with filtered differences and limits applied force to 12 N. Quantized sensor and actuator mappings are included. Arming requires a near-upright, nearly stationary state; travel, angle, limit-switch and invalid-data faults latch zero-force shutdown until reset and explicit rearming. These are tested software interfaces, with no claim of deployment on the original hardware.

Measure the prediction within its operating range

In the nominal nonlinear simulation, a 3-degree release reaches 37.88 mm of cart excursion and 8.154 N peak force. During the last second of a six-second run, cart error stays below 0.851 mm and rod angle below 0.086 degrees. The four tested releases at plus or minus 1 and 3 degrees meet the stated recovery criterion. Those are new numerical predictions, not measurements extracted from the clips.

Show where the reference stops recovering

A larger angular-velocity disturbance drives the force into saturation and trips the angle limit. The high-drag sensitivity remains inside the trip limits but misses the six-second position criterion. A finite map of 81 velocity disturbances after arming has 43 recoveries and 38 trips; it is a sampled study rather than a guaranteed stability boundary. Independent solver, energy, linearization and calibration checks support the model within its declared assumptions.

Preserve what the two clips establish

The first clip shows recovery toward upright after small hand-applied disturbances. A larger push is followed by loss of balance in the second. The footage does not isolate whether saturation, travel, estimation or model error caused that failure. It also does not establish a numerical disturbance threshold or identify the original controller timing.

2026 sampled nonlinear reference

Simulated cart position, rod angle and bounded motor force for recovery, higher drag and an angle-limit trip
A nominal 3-degree release, high-drag sensitivity and larger angular-velocity disturbance. The disturbance curve ends at sampled shutdown. These are predictions, separate from the hardware clips. Open image at full size ↗

2026 finite disturbance study

Finite simulated disturbance map distinguishes recovery from trips
81 velocity disturbances applied after arming: 43 meet the recovery criterion and 38 trip. Each cell is a separate simulation; no continuous or physical stability boundary is established. Open image at full size ↗

Project context

2021 Purdue project team. Original hardware footage and calibration are preserved; the 2026 sampled nonlinear reference is separate digital work, with no new physical validation.

Historical photographs, footage, and plots retain their original dates. Later digital reconstructions are identified separately; their numerical checks do not establish hardware performance.