Demonstration of PID controller regulating PWM to a motor

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
955 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 4, 2010

The PID controller is keeping the motor at ~60RPM regardless of load on the motor, by regulating the PWM pulse train. I'm putting pressure on the rubber tire (which unfortunately is not perfectly round so it's jumpy) to slow down the motor, forcing the PID controller to take action.

First view is looking at the motor/wheel/encoder itself.

Second view is looking at the oscilloscope showing the PWM outputs (wider pulse = more power).

Third view is looking at the debugging output coming from the microcontroller, showing the two channels and various control metrics.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (1)

Sign In or Sign Up now to post a comment!
  • Excellent.. I'm looking to do the same with a heating element instead of a motor. any more details or advice?

    Thanks

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more