Visualizing Feedback control


I wrote a jsfiddle sample as a demo for my brother’s control systems class at NAIT to show the differences between closed-loop feedback controllers – the tiny algorithms behind cruise-control autopilots, and autofocus in your camera.

I have to generalize it to a PID object and so on, but it is fun to play with the coefficients – and I learned a thing or two I’d forgotten about digital controller behaviour, like sampling error and sampling bandwidth. And as all Control Systems engineers are warned: Turn up your Gains slowly!

Ideas for feedback loop tuning games? The unicyclist? better cruise control, Autopilot lander? Fill the acid vat?

http://jsfiddle.net/jufa/gWBbV/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s