Controlling a DC Motor with an Encoder

From Mech
Revision as of 12:54, 7 August 2006 by Stephens (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Controlling a brushed DC motor with an encoder is very common and serves as a good example of the basic programming of xPC models. Below you will find the xPC model code for controlling a DC motor, like the Maxon 6W motor in the lab.

XPC PID example.jpg
Personal tools