I am designing an H-Bridge for my arduino board to control a dc motor with PWM signals. I have a few issues with my design:
There is a spike current of 120A the first miliseconds of my simulation and then cools down as it is expected. Where does it come from and how do I fix it?
Also, how do I calculate the current I am getting through the motor based on Vcc?
Is there anything I have not taken in mind for my design?