Re: DIY AC Servo Drive - ATMega based
Hi Mihai
One simple thing you could add is a voltage divider to one (or 2) of the A-D pins to be able to measure the power supply voltages for "Low Voltage detection".
This lets you only enable the output if the voltage is over 15 volts , because if the voltage dips lower, then you will blow the mosfets if they are under biased.
Also you can measure the voltage rise during braking and fault if it is over a limit.
It also tells you if main power is on.
Larry
Manufacturer of CNC routers and Viper Servo Drives
www.LarkenCNC.com and www.Viperservo.com