MEGAsquirt A place to collectively sort out this megasquirt gizmo

Alternator control in future firmware for MS3

Thread Tools
 
Search this Thread
 
Old 02-07-2012, 01:34 AM
  #1  
Elite Member
Thread Starter
 
Zaphod's Avatar
 
Join Date: Mar 2006
Location: Schwarzenberg, Germany
Posts: 1,553
Total Cats: 101
Default Alternator control in future firmware for MS3

As Ken originally wanted to add the feature already in alpha 18 I asked him about the feature:

*snip*
Zaphod wrote:
Hi Ken, at the moment I am building my MS3X and before I have to build the somewhat complicated alternator control circuit for my Miata, I'd like to know how the software solution will be working - which outputs will be available for the function or better which outputs will be usable.
Could you eventually give me a short explanation.

Thanks a lot
Sven from Germany

*reply*
The outputs available should be the same as any of the PWM features.

Right now I plan on it being an "on/off" implementation with a low voltage threshold and a hysteresis, and a high threshold also with hysteresis, so when voltage goes above a certain point it turns off the high output on the alternator and when it goes low it turns on tha output. When it is on it will feed forward its on status to idle control to allow response to any extra load it causes.

Ken
*snip off*

As I am not too much electronically inclined -
Would you think that this is sufficient for the 99- cars? Or won't this work on our cars (and I will have to build the circuit....)

Thanks
Greets
Zaphod is offline  
Old 02-07-2012, 02:19 AM
  #2  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

This doesn't sound like a good way to control a Miata alternator- I would think that this would cause the system voltage to oscillate.

In particular, I'm confused by "when voltage goes above a certain point it turns off the high output on the alternator," which sounds to me like a description of some alternator which is internally regulated but is externally switchable between two output levels, rather than one whose field coil has no internal controls at all. Does such a thing exist?
Joe Perez is offline  
Old 02-07-2012, 03:09 AM
  #3  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

A simple hysteretic controller would work so long as the hysteresis band is like 0.05 V or so, and the delay in the decision is < something like 50 us. Or the polling is at 50 us. My hardware controller circuit works that way. It's a hysteretic PWM controller with a minimum on and off time, with a variable maximum.

If the delays are too long then you *will* get oscillation. Early versions of the hydra software was like this.
JasonC SBB is offline  
Old 02-07-2012, 08:55 AM
  #4  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

Y8s tried this with the existing outputs, just a simple if > 14v then turn off; something simple like that. It did oscillate--tripped too slow.

But y8s was the one working with Ken to get the MS to control it.
Braineack is offline  
Old 02-07-2012, 10:19 AM
  #5  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

yeah the standard outputs are way too slow to control alt based on system voltage.

I'll work with ken on it since he has been responsive about implementing it for 1.2. their priority is finishing alphas for 1.1 and then betas for 1.1 and releasing 1.1 firmware.
y8s is offline  
Old 02-07-2012, 08:40 PM
  #6  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

why not just build it in hardware? It's just 2 TO92 parts a transistor and a couple of R's and C's.
JasonC SBB is offline  
Old 02-08-2012, 12:08 PM
  #7  
Senior Member
 
WestfieldMX5's Avatar
 
Join Date: Nov 2007
Location: Belgium
Posts: 999
Total Cats: 73
Default

Saboteur here on the forum even made a pcb for it. He might still have some left.
Found more info here and pics here: http://mx5cartalk.com/forum/viewtopic.php?f=55&t=48722
WestfieldMX5 is offline  
Old 02-08-2012, 12:42 PM
  #8  
Elite Member
Thread Starter
 
Zaphod's Avatar
 
Join Date: Mar 2006
Location: Schwarzenberg, Germany
Posts: 1,553
Total Cats: 101
Default

I already built the circuit... (apart from 1 cap) ;-)))
Zaphod is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Rick02R
WTB
3
01-03-2016 07:18 PM
russian
Miata parts for sale/trade
6
10-08-2015 03:01 PM
The Gleas
MEGAsquirt
3
10-01-2015 09:30 AM
ihiryu
General Miata Chat
9
09-28-2015 10:22 AM



Quick Reply: Alternator control in future firmware for MS3



All times are GMT -4. The time now is 07:10 AM.