Joe, decide on power or torque limiting (these are 2 different things), the= n implement it. It is a closed loop so you just do Pwmcontrol =3D (limiting)? Demand: Demand - LimitingSignal; Cycle by cycle current limiting is another thing, and is actually a good idea, but that requires that you see the individual current pulses. It may be, that individual pulse current limitin= g is all you really want, and that is best done in hardware alone imho. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .