Hello all
I have been looking at a new project where I am hoping to use the Allegro A4989 http://www.allegromicro.com/~/media/Files/Datasheets/A4989-Datasheet.ashx, it seems like a very simple to use chip, however I am having a little issue.
What is the PWM frequency? It says that it uses a fixes off time, however the on time is hard to calculate as it completely depends on the inductance of the motor phase. The motor I intend to use has a phase current of 8A and an inductance of 12mH (running from a 48V supply). Using the inductance formula I get an on time of 2ms. However this will only happen once per step, then the off time comes into play when the current drops out the coil. From the data sheet I get 1.5us blank time, 21.75us fixed off time and 750ns Dead time. (I am using the 4Mhz clock frequency). This gives me a total of 22.5us total off period. Now if the voltage is 0 as PWM is off, what is the current level in the motor coil after 21.75us??? I need to know this so that I can use di to find out how long its going to take to reach the next trip level. The formula I used is the standard V = L di/dt.
I need to work out what the PWM frequency is to firstly calculate the Bootstrap capacitor value, and secondly calculate the Creg value.
Thank you for all your help in advance
I have been looking at a new project where I am hoping to use the Allegro A4989 http://www.allegromicro.com/~/media/Files/Datasheets/A4989-Datasheet.ashx, it seems like a very simple to use chip, however I am having a little issue.
What is the PWM frequency? It says that it uses a fixes off time, however the on time is hard to calculate as it completely depends on the inductance of the motor phase. The motor I intend to use has a phase current of 8A and an inductance of 12mH (running from a 48V supply). Using the inductance formula I get an on time of 2ms. However this will only happen once per step, then the off time comes into play when the current drops out the coil. From the data sheet I get 1.5us blank time, 21.75us fixed off time and 750ns Dead time. (I am using the 4Mhz clock frequency). This gives me a total of 22.5us total off period. Now if the voltage is 0 as PWM is off, what is the current level in the motor coil after 21.75us??? I need to know this so that I can use di to find out how long its going to take to reach the next trip level. The formula I used is the standard V = L di/dt.
I need to work out what the PWM frequency is to firstly calculate the Bootstrap capacitor value, and secondly calculate the Creg value.
Thank you for all your help in advance