I would like to know how to write a program to brake the electric car?
is it just reversing the voltage of the car??
Thank you.....
it is quite urgent....TT....
I would like to know how to write a program to brake the electric car?
is it just reversing the voltage of the car??
Thank you.....
it is quite urgent....TT....
Breaking, as the term means with electric motors, is the shorting of the two motor leads together. This creates a low resistance load on the motor.
Lefty
Breaking, as the term means with electric motors
is hitting it very hard with a wrecking ball.
If you don't know how electrical motors work... writing software to brake a motor is not urgent. Trust us on that one.
how can we know how to program for hardware that you have not defined at all? give us some circuits to work with. "the electric car" could mean anything.
writing software to brake a motor is not urgent
It is if you're in it!
are the wheels all powered by one motor or individual, and what kind of brakes are you controlling. is this a full size car or an rc car?
Maybe its a broken Prius....
Thanks all to help me....^^
I am going to build anti-lock braking system (ABS) in electric car ....for my FYP
I have tried to short the two leads of the motor by controlling the H-bright, however, the braking performance is not good enough, which means the regenerative power is not enough to brake the car.
can I use a power to brake it, such as reverse the voltage? and how can I do this in programming??
I am going to build anti-lock braking system (ABS) in electric car ....for my FYP
I sincerely hope FYP means Final Year Project, and that you are only in your first year. Otherwise, you have an awful lot to learn about electric cars, regenerative breaking, breaks in general, circuit design, and what "in over your head" means.
There is a reason that electric cars do not come with Arduinos as standard equipment. Using an Arduino to control a professionally designed H-Bridge is one thing. Using an Arduino to control a newbie designed H-bright is another thing entirely.
Knowing what to enable is fundamental to correct performance. You don't even know that, at this point.
- using the 48V DC motor (series type), 1888rmp
What is 1888rmp supposed to tell us?
I hate it when I'm right... LOL
Nice jokes though.
Good luck on your project. Sounds interesting. I'm also building an electric car, and wish more students were interested in electric cars.
It's surprising that shorting the motor did not generate enough braking force. Are you sure you did it correctly?
If so, you are right that you can get more braking force by reversing the voltage and applying current to the motor. But I've never seen it done.
As others have noted, if you really want to do anti-lock braking, you need a better motor controller than just the simple H-bridge in the schematic you posted. Are you using an Arduino in your design already?
also, how can abs work when you only have one brake?
do you have 3 diffs? and you would need a break on each wheel.