The FET's are too small, but atleast the firmware works as it's supposed to.
I think I'll use a table of angles so that there isn't any fractional error after multiple commutation-cycles. For now it's just a test and it works. It uses calculated pwm ratios vs angles instead of current. This will lead to a small imbalance in step size but hopefully useable. If not I'll have to calculate current instead of pwm, and adjust pwm to hit the required currents.
I'm using an Atmega48 programmed in AVR-GCC and some FET's for this test. Supply is 12v and motor is a 7.5°/step motor with 70 Ohm/phase found in some old electronics.
Link to this comment:
All Comments (0)