MEGAsquirt A place to collectively sort out this megasquirt gizmo

The Great A/C FAQ

Thread Tools
 
Search this Thread
 
Old 09-15-2008, 04:32 PM
  #101  
Junior Member
 
holy driver's Avatar
 
Join Date: Jun 2008
Posts: 71
Total Cats: 0
Default

Yeah, that sounds pretty smart. Adding a DC offset to the idle code doesn't seem *that* hard... As far as a "series of resistors" ... you can just use a big fatty shunt to measure the current output by the alternator, then all you have left is the A/C and the PS pump (since those are mechanical). Presumably those two would just be high/low rather than variable.
The OEM already does it, that's why the outputs are there.
What outputs are you referring to? You mean the "outputs that tell the motor that it's on" such as pin 1Q for the A/C?
holy driver is offline  
Old 01-07-2009, 03:13 PM
  #102  
Senior Member
iTrader: (4)
 
karter74's Avatar
 
Join Date: Feb 2006
Location: Centennial, CO
Posts: 684
Total Cats: 23
Default

Just out of curiousity, is this a secret DIYAutotune does not want to disclose to the public? I know it would make a lot of people happy (like me! ) and IMO the people that want a complete plug-in EMS solution, aren't gonna see the schematics and suddenly want to do it themselves. Most people look at that stuff like a foreign language and don't want any part of it.

Just thinking out loud.....
karter74 is offline  
Old 01-07-2009, 06:00 PM
  #103  
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,047
Total Cats: 12
Default

Probably more they don't want competition? My little '99+ board will probably at some point compete with them, if they get motivated to make one. I'd assume they are working on one. I just like the little board better, for different reasons, more configurable, etc. It IS how they make their living so it's understandable they'd be a little gaurded. Also I tend to be very aware when I get free info from a source like that not to share it in a way that could hurt them, without express permission to do so.

Yeah - the PS pump and AC have signals to let you know when they are doing something, should be straight forward. But you're always input limited on MS.

To me, MS is just a patch to get things working until I come up with something better. :-)
AbeFM is offline  
Old 01-07-2009, 06:16 PM
  #104  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,020
Total Cats: 6,588
Default

Originally Posted by karter74
Just out of curiousity, is this a secret DIYAutotune does not want to disclose to the public?
I'm afraid I can't quite figure out what it is you're referring to. Bear in mind that while the MSPnP is a proprietary creation of DIY, inside the box it's mostly a stock 3.57 MS1 board, with a daughterboard attached to do the Miata-specific interfacing. DIY is not the inventor of the MegaSquirt, they don't own the MegaSquirt design, they didn't write the code, and they don't even manufacture the base MegaSquirt boards. They just happened to be the ones who came up with the rather brilliant idea to take an open-source ECU design and package it in such a way that non-engineers can plug it in and run it without having to build or wire anything.

With regard to what Abe says, I do tend to agree. In fact, I'm a bit surprised about how open the folks from DIY have typically been about the inner goings-on of the MSPnP, insofar as the design of their input and output circuits. It's not rocket science and the stuff is pretty easy to reverse-engineer if you've got one in your hand, but usually all you have to do is ask "How are you guys doing this on the PnP" and they'll tell you, even if it's in a public forum. Trade secrets aside, it really reinforces what a cool bunch of guys they are.
Joe Perez is offline  
Old 01-07-2009, 06:46 PM
  #105  
Senior Member
iTrader: (4)
 
karter74's Avatar
 
Join Date: Feb 2006
Location: Centennial, CO
Posts: 684
Total Cats: 23
Default

I realize that DIY isn't the creator of Megasquirt or anything else of that nature, I was just wondering what the circuit was they created to make the A/C function correctly (IE bumping up idle when it turns on). Obviously to make it PNP they made a simple daughterboard for the 3.57 PCB, I just wanted to know how the handled the A/C part of it.

If my post came off like I didn't understand what the MSPNP was, I apologize. I also fully respect keeping certain things under wraps as you are trying to make a business out of it, but like you said, they are usually extremely open to helping out the MS community here on things, so I figured maybe they would share what they did to make it work with the PNP. If not, no harm in asking I figure.
karter74 is offline  
Old 01-07-2009, 07:01 PM
  #106  
Junior Member
 
holy driver's Avatar
 
Join Date: Jun 2008
Posts: 71
Total Cats: 0
Default

Originally Posted by karter74
I was just wondering what the circuit was they created to make the A/C function correctly (IE bumping up idle when it turns on).
The A/C part is just a slightly different approach to doing the same thing as Joe's instructions in the first post. They do NOT do any idle compensation and rely on the closed loop idle control to keep the car from stalling. DIY doesn't do anything to prevent the idle dip when the compressor kicks on (or else I wouldn't have fried that chip in my PNP).
holy driver is offline  
Old 03-15-2009, 11:36 AM
  #107  
Newb
 
Skuzzle's Avatar
 
Join Date: Feb 2009
Posts: 40
Total Cats: 0
Default

just had a thought on this..
What reason do we have for turning AC off at WOT.
I've built this circuit, but can i not change the settings in megatune to use this circuit to turn off AC when below 1400 rpm instead ?

Hence solving idle problem as AC wont be on at idle.

Surely the AC at WOT off is just to gain back a few horses the compressor will be robbing
Skuzzle is offline  
Old 03-15-2009, 06:03 PM
  #108  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

But turning the A/C off at 1400 rpm or lower means when you're stuck in traffic you don't get cold air.
richyvrlimited is offline  
Old 03-16-2009, 07:40 AM
  #109  
Newb
 
Skuzzle's Avatar
 
Join Date: Feb 2009
Posts: 40
Total Cats: 0
Default

dont get stuck in traffic that much over here to be honest, either way it'd make more sense to change the firmware to allow for the WOT off and a ICV pulse at compressor on.
Skuzzle is offline  
Old 03-16-2009, 07:44 AM
  #110  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Originally Posted by Skuzzle
dont get stuck in traffic that much over here to be honest, either way it'd make more sense to change the firmware to allow for the WOT off and a ICV pulse at compressor on.
there is a better idle code being work on (PID loop), that may well negate any need for a ICV pulse.

it's only a setting change to disable A/C below 1400rpm, so try it out
richyvrlimited is offline  
Old 03-16-2009, 10:20 AM
  #111  
Newb
 
Skuzzle's Avatar
 
Join Date: Feb 2009
Posts: 40
Total Cats: 0
Default

in megatune what exactly would i change and to what, soz its a bit confusing for me.. i figured out the above TPS one but the below a value confuses me.
Skuzzle is offline  
Old 03-19-2009, 05:21 PM
  #112  
Junior Member
iTrader: (1)
 
Duckie_uk's Avatar
 
Join Date: Apr 2008
Location: Bristol
Posts: 439
Total Cats: 0
Default

Originally Posted by AbeFM
Basically, you'd take an ADC (analog in) and have all your devices (your big honking stereo, AC compressor, power steering pump, basically anything that 1) puts load on the motor, and 2) has an output to tell the motor it's on) and run those to a series of resistors, which would put a analog voltage on the ECU in.

Then, for higher voltages on that pin, you would increase the idle accordingly. The OEM already does it, that's why the outputs are there.
Given that all of these devices only tell the ECU that they are on or off. Why not put the inputs in to a summing amp and then use the different resistor weighting on each input to supply the amount of bump that the idle needs for that particular device or combination of devices.
Duckie_uk is offline  
Old 03-19-2009, 05:33 PM
  #113  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Originally Posted by Skuzzle
in megatune what exactly would i change and to what, soz its a bit confusing for me.. i figured out the above TPS one but the below a value confuses me.
It's the Hysterisis bit, (assuming the output assigned to A/C has hysterisis, otherwise you'll have to swop them around).
richyvrlimited is offline  
Old 09-09-2009, 02:17 AM
  #114  
Junior Member
 
SideDraft's Avatar
 
Join Date: May 2007
Posts: 46
Total Cats: 0
Default

Originally Posted by Joe Perez
I had previously been running the two values given by DIY in these cells- closed = 18, minimum = 19, and fidgeting with all the other values. Today, I spent some time looking back through some of my recent logs and found that while in a stable, warm, closed-loop idle, my IAC DC tended to be in the 23-24 range, and almost never below 22.

So I entered 22 into the minimum cell. It's a bloody miracle.
I set mine at 20 and a bloody miracle indeed....no more dip
SideDraft is offline  
Old 09-10-2009, 11:34 PM
  #115  
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,047
Total Cats: 12
Default

Originally Posted by Duckie_uk
Given that all of these devices only tell the ECU that they are on or off. Why not put the inputs in to a summing amp and then use the different resistor weighting on each input to supply the amount of bump that the idle needs for that particular device or combination of devices.
I thought that was what I was saying? :-)
AbeFM is offline  
Old 09-11-2009, 02:19 AM
  #116  
Junior Member
iTrader: (1)
 
Duckie_uk's Avatar
 
Join Date: Apr 2008
Location: Bristol
Posts: 439
Total Cats: 0
Default

Originally Posted by AbeFM
I thought that was what I was saying? :-)
Man I posted that a while ago. I think when I wrote it I was under the impression that you wanted to have an ADC input for each device.

Looking back it seems pretty obvious.

I cant even get closed loop idling to work on an engine with no additional loads. Maybe I should hold back on the suggestions
Duckie_uk is offline  
Old 09-12-2009, 02:22 AM
  #117  
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,047
Total Cats: 12
Default

MS-I or MS-II? If it's MS-II there's no shame in that. If it's MS-I.. I hate to be the one to tell you this, but there is shame in that. Sorry.
AbeFM is offline  
Old 03-27-2011, 09:59 AM
  #118  
Senior Member
iTrader: (9)
 
Rallas's Avatar
 
Join Date: Oct 2006
Location: Lexington SC
Posts: 1,176
Total Cats: 35
Default

What happened to the pictures at the start of this thread?
Rallas is offline  
Old 08-02-2011, 02:43 PM
  #119  
Senior Member
iTrader: (7)
 
Marc D's Avatar
 
Join Date: Jul 2007
Location: Milpitas, CA
Posts: 1,047
Total Cats: 1
Default

Does anyone have the schematics for getting the a/c to work on an NB miata? It apparently disappeared here. Really appreciate it. Thanks!
Marc D is offline  
Old 08-02-2011, 02:58 PM
  #120  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

its pretty simple.

what's your ECU?


You'd jump 1P to 1S. That will trigger the a/c compressor when the a/c switch is pressed

From 1S, run a diode (banded end towards 1S) to 1I, this will enable the a/c fan.

You don't even need the diode, only if the main fan and cooling fan have been paralleled, this will prevent the a/c fan from activating when the cooling fan comes on.
Braineack is offline  


Quick Reply: The Great A/C FAQ



All times are GMT -4. The time now is 06:49 AM.