View Single Post
Old 05-14-2012, 07:44 AM   #722 (permalink)
MPaulHolmes
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,202 Times in 765 Posts
Quote:
if the sensor current signal go above a high threshold (positive current) or go below a low threshold (negative current), the comparator output (all outputs are /ORed) trigger the /fault entry of the microcontroller, which instantaneously shut down the PWM signals.
That's exactly what I do too. I also add some NAND flip-flops and a p-channel mosfet so that Vcc of all high side optocouplers goes to zero.
__________________
kits and boards
  Reply With Quote