Page 13 of 18

Re: Electric Vehicle C

Posted: March 26th, 2017, 8:04 pm
by windu34
NilaiVemula wrote:Our team's Electric Vehicle just got 5th in the Tennessee State Science Olympiad Division C Tournament, but our team overall got 1st. Our distance score was 29 cm and our time score was 4 sec with no bonus. (Our distance would have been more accurate, but the vehicle skid while braking.) For nationals, we want to improve our vehicle by allowing it to turn and get the bonus. Has anyone tried using a turning system in which they program their vehicle to make 90-degree turns to get off the center line at the beginning, turn right and travel for about 10-20 cm, turn left to be parallel with the center line, go forward through the cans, and then turn back onto the center line? We are currently debating whether that would be easier to program than having the car travel in an arc. The current set up of our vehicle has two motors, each driving its own front axle. This allows us to program different speeds for each motor.
Bad idea. You will lose too much accuracy and it will slow you down and the programming will be a pain and you will likely hit a can. Do the arc with fixed steering

Re: Electric Vehicle C

Posted: March 26th, 2017, 8:05 pm
by Bazinga+
NilaiVemula wrote:
Bazinga+ wrote:Here is my Electric Vehicle as well as the steering mechanism I used:

https://www.youtube.com/watch?v=pKC8MYR ... e=youtu.be

I highly recommend using the caliper steering method as it has worked very well for me and others that have used it, with the top 3 vehicles at MIT invitationals using this mechanism.
How did you attach the bearing block to the caliper?
Epoxy and metal clips. There was no cleaner way to do it since you can't drill into a hardened steel caliper :'(

Re: Electric Vehicle C

Posted: March 26th, 2017, 8:11 pm
by 4Head
NilaiVemula wrote:Our team's Electric Vehicle just got 5th in the Tennessee State Science Olympiad Division C Tournament, but our team overall got 1st. Our distance score was 29 cm and our time score was 4 sec with no bonus. (Our distance would have been more accurate, but the vehicle skid while braking.) For nationals, we want to improve our vehicle by allowing it to turn and get the bonus. Has anyone tried using a turning system in which they program their vehicle to make 90-degree turns to get off the center line at the beginning, turn right and travel for about 10-20 cm, turn left to be parallel with the center line, go forward through the cans, and then turn back onto the center line? We are currently debating whether that would be easier to program than having the car travel in an arc. The current set up of our vehicle has two motors, each driving its own front axle. This allows us to program different speeds for each motor.
We considered this, and concluded that it would be incredibly hard and impractical. As Bazinga demonstrated it's perfectly feasible to run the vehicle in an arc and be extremely accurate, so doing something like this is not necessary

Re: Electric Vehicle C

Posted: March 26th, 2017, 8:22 pm
by cubes
I am using a servo from an rc car for the steering of my EV but it seems that a change of just 1 degree in my Arduino program is enough to change the car from swerving to the left to the right. Are there any tips for controlling the direction of the EV using rc steering servos?

Re: Electric Vehicle C

Posted: March 26th, 2017, 8:32 pm
by Bazinga+
cubes wrote:I am using a servo from an rc car for the steering of my EV but it seems that a change of just 1 degree in my Arduino program is enough to change the car from swerving to the left to the right. Are there any tips for controlling the direction of the EV using rc steering servos?
Don't, servos are simply not precise enough for controlling steering.

Re: Electric Vehicle C

Posted: March 26th, 2017, 8:42 pm
by Bazinga+
Bazinga+ wrote:
cubes wrote:I am using a servo from an rc car for the steering of my EV but it seems that a change of just 1 degree in my Arduino program is enough to change the car from swerving to the left to the right. Are there any tips for controlling the direction of the EV using rc steering servos?
Don't, servos are simply not precise enough for controlling steering.
Unless you hear it somehow so the whole servo range of motion only covers like a couple degrees/couple millimeters.

Re: Electric Vehicle C

Posted: March 26th, 2017, 8:52 pm
by NilaiVemula
windu34 wrote:
NilaiVemula wrote:Our team's Electric Vehicle just got 5th in the Tennessee State Science Olympiad Division C Tournament, but our team overall got 1st. Our distance score was 29 cm and our time score was 4 sec with no bonus. (Our distance would have been more accurate, but the vehicle skid while braking.) For nationals, we want to improve our vehicle by allowing it to turn and get the bonus. Has anyone tried using a turning system in which they program their vehicle to make 90-degree turns to get off the center line at the beginning, turn right and travel for about 10-20 cm, turn left to be parallel with the center line, go forward through the cans, and then turn back onto the center line? We are currently debating whether that would be easier to program than having the car travel in an arc. The current set up of our vehicle has two motors, each driving its own front axle. This allows us to program different speeds for each motor.
Bad idea. You will lose too much accuracy and it will slow you down and the programming will be a pain and you will likely hit a can. Do the arc with fixed steering
Thanks

Re: Electric Vehicle C

Posted: March 26th, 2017, 8:53 pm
by NilaiVemula
Bazinga+ wrote:
NilaiVemula wrote:
Bazinga+ wrote:Here is my Electric Vehicle as well as the steering mechanism I used:

https://www.youtube.com/watch?v=pKC8MYR ... e=youtu.be

I highly recommend using the caliper steering method as it has worked very well for me and others that have used it, with the top 3 vehicles at MIT invitationals using this mechanism.
How did you attach the bearing block to the caliper?
Epoxy and metal clips. There was no cleaner way to do it since you can't drill into a hardened steel caliper :'(
Thanks. Also, what kind of gears did you use between the encoder and the axle? They look really fancy.

Re: Electric Vehicle C

Posted: March 26th, 2017, 8:59 pm
by windu34
cubes wrote:I am using a servo from an rc car for the steering of my EV but it seems that a change of just 1 degree in my Arduino program is enough to change the car from swerving to the left to the right. Are there any tips for controlling the direction of the EV using rc steering servos?
Use writeMicroseconds for more precision rather than write()

Re: Electric Vehicle C

Posted: March 26th, 2017, 9:01 pm
by windu34
Bazinga+ wrote:
NilaiVemula wrote:
Bazinga+ wrote:Here is my Electric Vehicle as well as the steering mechanism I used:

https://www.youtube.com/watch?v=pKC8MYR ... e=youtu.be

I highly recommend using the caliper steering method as it has worked very well for me and others that have used it, with the top 3 vehicles at MIT invitationals using this mechanism.
How did you attach the bearing block to the caliper?
Epoxy and metal clips. There was no cleaner way to do it since you can't drill into a hardened steel caliper :'(
Actually you can drill into hardened steel calipers and i am not the only one whos done it