View unanswered posts | View active topics It is currently Fri Nov 24, 2017 3:06 am



Reply to topic  [ 691 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12 ... 70  Next
Puma board for FreeEMS 
Author Message
1N4001 - Signed up
User avatar

Joined: Tue Jun 10, 2008 5:17 pm
Posts: 1607
nitrousnrg wrote:
Am I making sense?

I think so. I might recommend planning for a larger regulator if possible. I believe yours are large enough, but this is also an area where it's easy to over build for little $ and little effort. Over building seems like cheap insurance to me. I believe you are saying that the switched 12V will power a pin on FreeEMS and then FreeEMS can choose to power down the larger regulator via a transistor switch. Is that correct? Seems reasonable to me.


Fri Oct 08, 2010 9:39 am
Profile
LQFP144 - On Top Of The Game
User avatar

Joined: Tue Jun 24, 2008 5:31 pm
Posts: 468
Quote:
I might recommend planning for a larger regulator if possible. I believe yours are large enough, but this is also an area where it's easy to over build for little $ and little effort. Over building seems like cheap insurance to me

Its reasonable. I bought LM2937 (500mA) and LM2940 (1A). I like the 2937 because it is really precise (is in charge of driving the analog circuits too)
Current consumption is one thing to measure, I guess its near 200mA in that regulator.

Quote:
I believe you are saying that the switched 12V will power a pin on FreeEMS and then FreeEMS can choose to power down the larger regulator via a transistor switch. Is that correct? Seems reasonable to me.


Image
(I put the left side of R4 to 12v or gnd, allowing or not the current flow through the pnp)

It could drive the npn base directly from the switched 12v, or drive it from a cpu pin. Or both (the only minor issue of using both would be cpu protection)

I think the car key must power off all the extra circuits, so a hardware switch would be right. Also, it could help to prevent the initial pin polarity problems: if everything is powered down, cpu doesn't count, and polarity could be resolved with simple pullups/pulldowns instead of the xor gates. It would be right to switch everything on only when the cpu is ready (ie, not during a reset or bootload)

Ah, one more critical thing to measure: check the voltage drop between emitter and collector in the pnp.
.

_________________
Marcos


Fri Oct 08, 2010 12:45 pm
Profile
1N4001 - Signed up
User avatar

Joined: Tue Jun 10, 2008 5:17 pm
Posts: 1607
I think I'm still a bit confused about your goal with that transistor switch. It looks like your giving FreeEMS the ability to switch off the 12V supply for things like the larger regulator, perhaps also the inj and ign?

Why use a Transistor instead of a MOSFET for the high side drive? Perhaps better yet, a relay. A transistor's e can cause some pain in the tuckas issues, and it would have to dissipate a fair bit of heat to keep saturated. A MOSFET could help decrease power consumed in the MCU case. However both would still have a leakage current when turned off. For low bandwidth / low cycle count, it's hard to beat the dissipated power and power capabilities of a dry contact.


Sat Oct 09, 2010 9:44 am
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14879
Location: Home sweet home!
I've started a thread purely on the seperation of constant power and switched power subject :

viewtopic.php?f=9&t=903

Let's continue that general topic there and leave this one for Marcos' product :-)

Fred.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Sat Oct 09, 2010 10:58 am
Profile WWW
LQFP144 - On Top Of The Game
User avatar

Joined: Tue Jun 24, 2008 5:31 pm
Posts: 468
nice, let's move it to another thread, after a little answer:
I've put the pnp just to make it easier to see how it works. A MOSFET should be there. A 10A solid state relay is around 20usd in digikey, I could overlooked that...

_________________
Marcos


Sat Oct 09, 2010 12:14 pm
Profile
LQFP144 - On Top Of The Game
User avatar

Joined: Tue Jun 24, 2008 5:31 pm
Posts: 468
So far, this is what I'm implementing.

Image

Vref is just the regulator output... not a proper reference.

EDIT: nicer drawing

_________________
Marcos


Last edited by nitrousnrg on Sun Oct 10, 2010 4:21 pm, edited 1 time in total.



Sat Oct 09, 2010 1:21 pm
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14879
Location: Home sweet home!
leccion ingles: "i could overlook that" or "i could have overlooked that" but not what you have :-) which is it?

Which reminds me, I have a lot of catching up to do on my Espanyol study! :-(

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Sat Oct 09, 2010 1:24 pm
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14879
Location: Home sweet home!
RPM input prelim circuit from ages ago, which reminds me, do you plan to support logic level inputs as well as VR? If so, you need to condition them somehow anyway. This shows that at the time I drew it, I didn't think inversion was required for VR stuff, but it was required for non vr stuff.

http://i260.photobucket.com/albums/ii15 ... ration.png

PS, what is "EN" ?

PPS, do you mean "motor drivers, ign drivers, injection drivers" and "motor ign injection" in those two boxes in your diagram?

Fred.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Sat Oct 09, 2010 1:42 pm
Profile WWW
LQFP144 - On Top Of The Game
User avatar

Joined: Tue Jun 24, 2008 5:31 pm
Posts: 468
Quote:
leccion ingles: "i could overlook that" or "i could have overlooked that" but not what you have :-) which is it?

"i could have overlooked that" hehe
I saw your spanish git repo this week, and almost mail you, just to complete some of the unknown words.
Quote:
RPM input prelim circuit from ages ago, which reminds me, do you plan to support logic level inputs as well as VR? If so, you need to condition them somehow anyway. This shows that at the time I drew it, I didn't think inversion was required for VR stuff, but it was required for non vr stuff.

Do you know if a LM1815 or MAX9926 can handle digital inputs? VR signals are much more tough than 0-5v, or 0-12v square signals. I was wondering if I can use the same circuit to interface VR or Halls.
What is the difference between VR and non VR, regarding inversion?
Quote:
PS, what is "EN" ?
PPS, do you mean "motor drivers, ign drivers, injection drivers" and "motor ign injection" in those two boxes in your diagram?

EN = enable
and wow, I've to edit that image... is too confusing. Yep, 5v are associated with drivers, 12v with driven actuators.

I checked kicad's footprints against my new, shiny components. So far I can tell my printer is not even close to a 1:1 scale ¬¬

_________________
Marcos


Sat Oct 09, 2010 3:32 pm
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14879
Location: Home sweet home!
LM1815 definitely can't handle a square wave. I don't know about the other. It's 5am, too tired to think about inversion stuff right now. :-)

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Sat Oct 09, 2010 5:21 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 691 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12 ... 70  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.