12-26-2008, 03:45 AM
|
#41 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
gentle throttle ramp-up added to software
New feature added! Gentle Ramp up of throttle. There's a problem if you accelerate too fast from 0 RPM. A motor has about 0.01 Ohms of internal resistance, or even as small as 0.001 Ohms for a really big one. Also, the inductance is very small, like 60 uH or so. The inductance resists a change in current, which is helpful in current limiting. However, 60 uH is TINY! A worst case senario can see a 4 amp increase in a millionth of a second! So, it's tough to limit the current when it's growing so fast. So, one thing you can do is restrict the rate of growth of the PWM duty. For example, if you ram the gas pedal to the ground almost instantly, the software will make you wait like 5 or 10 seconds or whatever until it reaches 100% PWM duty. It doesn't limit how fast you can slow down, though. It is tested and working.
That buys me some extra time to monitor the current increase and shut things down if the current gets to high.
I still have about 91% of the space on the chip available! ya! Maybe I'll add space invaders if there's not much else to do.
|
|
|
The Following User Says Thank You to MPaulHolmes For This Useful Post:
|
|
Today
|
|
|
Other popular topics in this forum...
|
|
|
12-26-2008, 10:26 PM
|
#42 (permalink)
|
Losing the MISinformation
Join Date: Oct 2008
Location: Southern Missouri
Posts: 393
Thanks: 15
Thanked 3 Times in 3 Posts
|
Quote:
Originally Posted by MPaulHolmes
I still have about 91% of the space on the chip available! ya! Maybe I'll add space invaders if there's not much else to do.
|
Hey, have a little fun, and make the spaceships go vertical, and let them be the battery voltage sensors, a la the LED bargraph battery monitor, and then have your gun start shooting when the batteries reach their lower limit!
__________________
The brake pedal is my enemy. The brake pedal is my enemy. The brake pedal...
|
|
|
12-26-2008, 10:56 PM
|
#43 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
space invader battery monitor
I'm going to use that. That's good... That's really good. It gets boring driving sometimes. It would be awesome to have a video game built in to the battery monitor.
Update: My wife and I got a junky dremel from harbor freight that wobbled like crazy, so we returned it, and got a DREMEL® from Lowe's, with a diamond tip fine engraving thing and a slightly bigger non-diamond engraving thing. I'm using them to etch the 5 ounce (of copper per square foot) PCB that came in the mail today! bam! MOst people buy a weird solution of strange liquid and let the copper sit in it for a long time, but my baby would drink that.
The already etched one is a practice 1 ounce pcb from radio shack.
Last edited by bennelson; 12-27-2008 at 11:31 AM..
Reason: special character insertion
|
|
|
12-26-2008, 11:12 PM
|
#44 (permalink)
|
Losing the MISinformation
Join Date: Oct 2008
Location: Southern Missouri
Posts: 393
Thanks: 15
Thanked 3 Times in 3 Posts
|
Neat! Boy, I hope you use heavier-duty parts than the ones they used in those Logisystems controllers that kept blowing out the backs of the cases. By the way I'm reading some of the blogs on them, I'm wondering if that wasn't a problem with not having a good pre-charge resistor in place...???
__________________
The brake pedal is my enemy. The brake pedal is my enemy. The brake pedal...
|
|
|
12-26-2008, 11:28 PM
|
#45 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
I almost bought a logisystem controller. I guess I'm glad I didn't now! I'll have quite a bit of safety margin built in to the car version. Lots of mosfets to keep things way under specs.
Last edited by MPaulHolmes; 12-27-2008 at 12:24 PM..
|
|
|
12-27-2008, 05:58 PM
|
#46 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
New Software Feature Added: Current Limiting
I've added current limiting to the software. So, now I can choose any max current, and it won't go above that. This will be good for testing what the max current should be.
I also etched the power section on the 5 ounce PCB. It's way thicker than that ghetto stuff from radio shack! holy cow! The dremel did a pretty good job. I think a mill might work a little better, but still this is a good cheap solution.
|
|
|
12-27-2008, 09:00 PM
|
#47 (permalink)
|
Losing the MISinformation
Join Date: Oct 2008
Location: Southern Missouri
Posts: 393
Thanks: 15
Thanked 3 Times in 3 Posts
|
Hey, it don't have to be pretty to work! You should have let the person that did those thumbnails do the work!!!
Is that a sim farm game going on there in the background???
Hey, I just thought of something you might be able to use for a mill. Find a mom 'n pop sign store in the area, (or on eBay) and see if you can get your hands on an old sign scroll, or mill, or whatever they call them. You know, the things they use to etch those plastic signs that say "MEN" and "LADIES".
...or is that what you already had in mind???
__________________
The brake pedal is my enemy. The brake pedal is my enemy. The brake pedal...
|
|
|
12-27-2008, 09:14 PM
|
#48 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
It's a farm game on facebook. You buy seeds and animals, and then harvest stuff so you can buy barns and chicken coops and stuff like that. I'll check on your idea about the mill. It doesn't have to be the usual 1.5 HP or whatever. Just something that can cut a thin layer of copper in a straight line.
|
|
|
The Following User Says Thank You to MPaulHolmes For This Useful Post:
|
|
12-27-2008, 09:49 PM
|
#50 (permalink)
|
Batman Junior
Join Date: Nov 2007
Location: 1000 Islands, Ontario, Canada
Posts: 22,530
Thanks: 4,078
Thanked 6,978 Times in 3,613 Posts
|
Paul & Sabrina: you amaze me. (Well, anybody who's not slow at projects, like me, amazes me.)
A thought after seeing the temp protection circuit: you might want to ramp up the current when exiting thermal protection cut-off. Same if you incorporate low voltage cut-off.
I've hit the low voltage protection feature with the junk batteries we first had in the ForkenSwift, and it was pretty violent: First gear, going slowly up a little hill, controller cuts current, car coasts to a stop. Foot still on throttle, pack voltage rebounds above the threshold, car jerks forward. Pack voltage falls, controller cuts current, car stops. Pack voltage rebounds, car lurches. Stops! Lurches! Stops!
Just a thought. Either that, or incorporate a high pedal safety feature that gets checked any time the controller goes from 0 current to some current request.
|
|
|
The Following User Says Thank You to MetroMPG For This Useful Post:
|
|
|