Alternator field control circuit

Hardware inside and outside of the ECU
User avatar
kb1gtt
contributor
contributor
Posts: 3777
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Alternator voltage control

Post by kb1gtt »

As noted above and here http://rusefi.com/forum/viewtopic.php?f=4&t=286&start=55 This is the list I think we should consider for a thermally protected P-MOSFET, apparently called a Hight Side Switch (HSS) by ST.

For above 1A I get concerned with using SO-8 packages as the heat will be hard to get out of the chip and it will be hard to uphold the rated amp of that chip. Much like the hi/low is only able to do 1/8 amps when it's technically rated for 2A. The thermal properties become important when you go higher in current.

$4.20 2ch http://octopart.com/vnd5e025aktr-e-stmicroelectronics-17417297 also has eval board http://octopart.com/ev-vnd5e025ak-stmicroelectronics-25737927 for $20
$3.25 2ch http://octopart.com/vnd7020ajtr-e-stmicroelectronics-30039249
$3.18 2ch http://octopart.com/vnd5e025mktr-e-stmicroelectronics-18186948
$3.95 2ch http://octopart.com/vnd5e025bktr-e-stmicroelectronics-21218838
$2.38 1ch http://octopart.com/vn7020ajtr-e-stmicroelectronics-31115209
$2.99 1ch http://octopart.com/vnd7030ajtr-e-stmicroelectronics-30039251

My favorite is VND5E025AK-E, as it has 3 potential drop in replacements so it should be good for long term and it has an off the shelf eval board so faster development cycle. Then my next runner up is VND7020AJ-E because it's cheapest per channel.

Code: Select all

$/1	  PT#	        ch  volts amps mohm Vmax '$/ch	pkg           notes
$3.25	VND7020AJ-E	 2	28	63	22	40	$1.63	PowerSSO-16	
$2.38	VN7020AJ-E	  1	28	63	20	40	$2.38	PowerSSO-16	
$2.99	VND703AJTR-E	1	28	56	31	40	$2.99	PowerSSO-16	
$3.95	VND5E025BK-E	2	28	60	25	41	$1.98	PowerSSO-24	
$4.20	VND5E025AK-E	2	28	60	25	41	$2.10	PowerSSO-24	Eval $20
$4.20	VND5E025MK-E	2	28	60	25	41	$2.10	PowerSSO-24
Welcome to the friendlier side of internet crazy :)
User avatar
AndreyB
Site Admin
Posts: 14727
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Alternator voltage control

Post by AndreyB »

kb1gtt wrote:My favorite is VND5E025AK-E, as it has 3 potential drop in replacements so it should be good for long term
You are the boss. Need a board :)

2nd channel would be useful if someone needs VTEC with constant 2A current.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14727
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Alternator voltage control

Post by AndreyB »

russian wrote:You are the boss. Need a board :)
Image just placed an order
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14727
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Alternator voltage control

Post by AndreyB »

PowerSSO-24 board has arrived. Need pin#1 marker and the larger heatsink vias would be easier to work with, but the main thing is that everything aligns right.

I do not have the diodes yet, how essensial are they to try the board?
You do not have the required permissions to view the files attached to this post.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
kb1gtt
contributor
contributor
Posts: 3777
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Alternator voltage control

Post by kb1gtt »

The diode is critical, needed for fly-back topology.

Added reminder in knownissues.txt about the pin1 indicator.
Welcome to the friendlier side of internet crazy :)
User avatar
AndreyB
Site Admin
Posts: 14727
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Alternator voltage control

Post by AndreyB »

Looks like the hardware side of Dodge Neon high-side field control wire is taken care of now, next step the software.

Check the video - notice how voltage changes bit by bit while I am increasing PWM duty cycle, and then it suddenly runs away. Looks like PID would be needed?

[video][/video]
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
kb1gtt
contributor
contributor
Posts: 3777
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Alternator voltage control

Post by kb1gtt »

Very nice, very nice. In terms of software you probably want to filter the analog signals some, to smooth out that needle. The PID will not like the noise either.

How hot did the chip get?
Welcome to the friendlier side of internet crazy :)
User avatar
AndreyB
Site Admin
Posts: 14727
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Alternator voltage control

Post by AndreyB »

kb1gtt wrote:How hot did the chip get?
I think it was slightly warmer then the rest of the engine bay in that area.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14727
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Alternator voltage control

Post by AndreyB »

Now configurable via Tuner Studio

Image
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
kb1gtt
contributor
contributor
Posts: 3777
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Alternator voltage control

Post by kb1gtt »

Great and thanks for that offset thing. One request, can you put a note on it some where that notes output % duty = Pterm + Iterm + Dterm + offset%

Hmmmm, it might also be good to also post the general algo some where on that screen. Such that those of us who want to know the details of what kind of PID we are dealing with (mostly how the I term is handled) it would help show that with out requiring jumping into the code.

As a note to others who might come across this thread. The offset is for a kind of manual tuning. For example, if the P, I and D set to 0, the output will equal the offset% which means manual control. You can then manually adjust the output duty until you reach 14V. At this point you know what the PID loop should be adjusting too, which can be handy when tuning. AKA if you know where you should be you'll have some insight to see if you are getting there correctly.
Welcome to the friendlier side of internet crazy :)
gptech2444
Posts: 46
Joined: Mon Jan 22, 2018 9:01 pm

Re: Alternator field control circuit

Post by gptech2444 »

What was the end result of the alternator control?

I ended up getting a westfield alternator board for my 2003 MX5.
User avatar
AndreyB
Site Admin
Posts: 14727
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Alternator field control circuit

Post by AndreyB »

It just works :)
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
gptech2444
Posts: 46
Joined: Mon Jan 22, 2018 9:01 pm

Re: Alternator field control circuit

Post by gptech2444 »

russian wrote:
Wed Apr 11, 2018 12:05 am
It just works :)
Ok, but where and how do I get hold of this circuit? And where is it documented to set it up?

edit

I've ordered the IC from Mouser, was $4.73aud
gptech2444
Posts: 46
Joined: Mon Jan 22, 2018 9:01 pm

Re: Alternator field control circuit

Post by gptech2444 »

Is it as simple as this? Where do you place the diode for flyback?
You do not have the required permissions to view the files attached to this post.
User avatar
AndreyB
Site Admin
Posts: 14727
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Alternator field control circuit

Post by AndreyB »

Is not miata alternator controlled by just logic level pwm signal? I believe my 2001 miata controls the alternator with only frankenso as is.

On dodge neon yes we used that large mosfet with the small addon board. I need to document better when i get home on Saturday
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
gptech2444
Posts: 46
Joined: Mon Jan 22, 2018 9:01 pm

Re: Alternator field control circuit

Post by gptech2444 »

russian wrote:
Wed Apr 11, 2018 11:34 am
Is not miata alternator controlled by just logic level pwm signal? I believe my 2001 miata controls the alternator with only frankenso as is.

On dodge neon yes we used that large mosfet with the small addon board. I need to document better when i get home on Saturday
Yes, you are correct, I thought we still needed some external chip before the alternator.
https://rusefi.com/wiki/index.php?title=Vehicle:Mazda_Miata_1999
Post Reply