Pages: 1 2 [3] 4   Go Down
Author Topic: Slotcar speed controller with display and electronic memory project  (Read 6407 times)
0 Members and 1 Guest are viewing this topic.
The Netherlands
Offline Offline
Sr. Member
****
Karma: 4
Posts: 332
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Altough the exponential power curve adding looked to be simple I am still working on it with help from other members here.
What I achieved in the meantime is regenerative breaking.

Normally when you like to break the car to reduce speed dramaticly you have to release the trigger to its zero position so the brake FET is switched on.

If you reduce speed by releasing the trigger the motor will have less internal braking and still carry high speed.

Now when you release the trigger and the speedValue is lower as the previous speedValue the brakes are ON and Speed FET OFF until the speedvalue of the trigger is level or higher again. This way you brake much later and does not have to release the trigger to full brake section. In the end this would save time and lower the lap time.

More to come

Paco
Logged

Never to old to learn and I learn every day

The Netherlands
Offline Offline
Sr. Member
****
Karma: 4
Posts: 332
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Did some more programming and added the QAB Quick Access Buttons for speedstart, speedcurve and brake on the controller handle.
The four red buttons are for the menu navigation.
Ordered BTS6143 fets ( High side smart N-channel fet) for the speed side and regular logic level N-channel fet for the brake.
Still a long way to go............... smiley-sweat

Paco


* IMG_0764.jpg (203.21 KB, 800x533 - viewed 56 times.)
Logged

Never to old to learn and I learn every day

The Netherlands
Offline Offline
Sr. Member
****
Karma: 4
Posts: 332
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Two steps further.

Breadboard stage has gone and we have a working prototype ready to use.
The upper DIY MEGA shield contains the 4 buttons for the MENWIZ menu navigation and 4 indication LED's.
Two fets for speed and brake rated at 8 AMP continous mode each at the top of the shield.
Also the BT module is connected and working.
Wireless BT connection with the previous made Visual basic program is working too.
Next step is to communicated with the SMARTPHONE by BT and control en view the settings from there.

Paco


* IMG_0803.jpg (214.69 KB, 800x533 - viewed 67 times.)
Logged

Never to old to learn and I learn every day

The Netherlands
Offline Offline
Sr. Member
****
Karma: 4
Posts: 332
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Update  smiley

We are now a long way since the start but we are making progress.
We swapped the handmade controller handle for a ready to buy version.
The potentiometer who was giving eratic values during testing is replaced by a linear hall sensor and a 10x10x4 mm neodyne magnet.
The 6 six buttons for 3 selectable main functions up and down now have 4 neighbour buttons which control the menu navigation.
The cable to the Mega is a ripped USB cable with "+", "-" and the analog values wires for the hall sensor and the menubuttons which work on an analog port too.
In the picture all looks to be connected but the Mega the display and the button board are mechanical seperated still.
More to come.

Paco


* IMG_1365.jpg (179.65 KB, 533x800 - viewed 64 times.)
Logged

Never to old to learn and I learn every day

The Netherlands
Offline Offline
Sr. Member
****
Karma: 4
Posts: 332
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

An other step.
We are currently wireless connected from conroller to the LAPTOP PC by BlueTooth.
This is only one direction communication.
PC screen shows all available settings in realtime.
The power curve screen also shown in realtime.
Now we like to set the controller by the PC screen in the other direction.

Paco




* ScreenHunter_02 Oct. 23 19.47.jpg (182.12 KB, 1680x1050 - viewed 50 times.)
Logged

Never to old to learn and I learn every day

The Netherlands
Offline Offline
Sr. Member
****
Karma: 4
Posts: 332
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

We replaced the 20x4 for a 16x2 and connected it to button pcb.
We had to replace the USB cable for a 6 wire telephone flatcable to get the I2C through it.
We placed the BT modul on the shield.

Paco


* IMG_1434.jpg (190.56 KB, 800x533 - viewed 45 times.)
Logged

Never to old to learn and I learn every day

Offline Offline
Newbie
*
Karma: 1
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Paco,

 smiley Very Nice Project!!!

What Means Regenerative Braking and his values ???

Steve
Logged

The Netherlands
Offline Offline
Sr. Member
****
Karma: 4
Posts: 332
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Steve,

Pull the trigger full to get full speed.
You reach a corner and have to reduce speed.
Now if you release the trigger fully it will brake to reduce speed like any regular controller.
When you enter the corner you have to pull the trigger again for let say 50%.
So you go from 100 to 0 to 50% to enter the corner.
This means lot of trigger travel and time.

Now with regenerative breaking.
You reach a corner and release the trigger to 50%.
As the regenrative brake hysteresys is set to 5% it will activate the break from 95 to 50% and then release the brake and go furhter with the speed of 50%.

So with this option you can brake later as you only release the trigger to the point you need to round the corner.
This reduces trigger movement time and also make the driving and control more smooth.
The hysteresys can be altered.

Now we also have speed brake.
If the trigger was pulled fully you carry more speed so you need more brake to reduce speed.
If the trigger was pulled 50% you carry less speed so you need less brake.

So speed brake is a speed dependable brake value.

Do you understand? :-)

Paco
Logged

Never to old to learn and I learn every day

Offline Offline
Newbie
*
Karma: 1
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Great !!!

Many thanks

When will be possible to see any "On Road Video" smiley-eek smiley-eek smiley-eek smiley-eek

I can't wait...  smiley-grin

Steve
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Any News???
Logged

The Netherlands
Offline Offline
Sr. Member
****
Karma: 4
Posts: 332
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, Yes,

Went to the track last friday but Murphys law dictated.
All what could go wrong went wrong.
Bluetooth connection with my laptop failed.
Some loose wires shorted and blew the BT modul later.

So this week I reworked the controller mechanics and switched to an Arduino Nano.
So now all is on the controller board. Only the driving FETS are on seperate PCB.

See picture of the latest controller. Again use the handmade handle.

Satisfied?  :-)

Paco


* IMG_1585.jpg (256.19 KB, 533x800 - viewed 57 times.)
Logged

Never to old to learn and I learn every day

The Netherlands
Offline Offline
Sr. Member
****
Karma: 4
Posts: 332
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Once again I have to park the project due to no time available.

Paco
Logged

Never to old to learn and I learn every day

Offline Offline
Sr. Member
****
Karma: 0
Posts: 346
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I fully approve of anything slot car related. But with all the time invested in this couldnt you just learn to drive them properly yourself? :-):-):-)

Only Joking, But Im Oldskool scalextric, I Thought Magnets Were Cheating When they Came Out. 

I Have Been Mulling Over The Idea Of A Turbo Boost And Brake For Years, And Im Thinking Of Using Arduino To Do It Soon , Hopefully With a gyro To Give some Type Of Traction Control. But My Main Concern.

Wouldnt The Extra Weight In The Car End Up Making It Slower And defating The Point Of It.?

I Like The Chopping Board Idea.   I May Use That Kn The Future. 
Logged

Offline Offline
Sr. Member
****
Karma: 0
Posts: 346
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The more i think about this, the more i miss playing With Scalextric.

I Hadnt Thought Of Having The Chip In The Controller, I Had Always planned To Have the Chip In The car And Measure Some Type Of Double Tap On The Gas To activate The Boost. 

I Assume Your Pwm Control Of mosfets Does The same Thing As The Variable Resistor In  The original Controller? Thus Being Totally Compatible With A Normal Scalextric Set?

Logged

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
   One way of keeping the weight low - as in low down where it helps rather than high up where it does not - is to use PCB as the chassis material. Lot of guys have done this in the past becuase its easy to solder home made chassis together this way. With a bit of though you could design an Arduino chassis.

Lots of examples here -
http://slotblog.net/topic/19762-even-more-pcb-chassis/

Duane B

rcarduino.blogspot.com
Logged


Pages: 1 2 [3] 4   Go Up
Jump to: