Notices
MEGAsquirt A place to collectively sort out this megasquirt gizmo

Amazingly sane idle settings with PWM board

Old Dec 12, 2010 | 08:07 PM
  #1  
kday's Avatar
Thread Starter
Junior Member
 
Joined: Aug 2008
Posts: 223
Total Cats: 0
From: Boston
Default Amazingly sane idle settings with PWM board

I finally installed the jbperf pwm multiplier board. Now 0% idle DC is fully open and 100% idle DC is fully closed. Previously it was closed at 8% and open at 30%. (The old values were on a 1990 engine; those settings didn't work at all with the 1996, which is what motivated me to switch to the PWM board.) I'm using a 16 multiplier and running it inverted.

I could never get closed loop idle to work right with ms2extra, but I'm going to give it another try now that there is a more meaningful DC range.

The only weird thing is that at 0 RPM the MS2 is outputting garbage on the idle pin -- the valve is very noisy when the engine is off because of this. Known bug?

At 200 RPM on the stim it looks good:


At 0 RPM it's weird:




It looks like the MS2 is outputting garbage and confusing the PWM board.
Old Dec 13, 2010 | 08:47 AM
  #2  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 80,552
Total Cats: 4,368
From: Chantilly, VA
Default

Probably why is seems everyone's valves hum with key ON. I haven't been having an trouble with idle valve on 90-00 cars. I know y8s just installed his MS3 with the PWM board, I should be able to bear witness to it in the next day or two.
Old Dec 13, 2010 | 09:00 AM
  #3  
Reverant's Avatar
Elite Member
iTrader: (10)
 
Joined: Jun 2006
Posts: 6,020
Total Cats: 369
From: Athens, Greece
Default

On my 2002, the idle valve would hum even with the stock ECU. The hum is the result of the high-frequency operation, as the idle valve works even when the engine is off (but the ignition is on).
Old Dec 13, 2010 | 09:19 AM
  #4  
kday's Avatar
Thread Starter
Junior Member
 
Joined: Aug 2008
Posts: 223
Total Cats: 0
From: Boston
Default

Originally Posted by Reverant
On my 2002, the idle valve would hum even with the stock ECU. The hum is the result of the high-frequency operation, as the idle valve works even when the engine is off (but the ignition is on).
That was my first thought, but the signal coming out of the ms2 shouldn't be different at 0 and 200 RPM -- both should be the crank duty setting. You can see in the traces that the frequency is way higher than the ~500 Hz expected during those solid black periods. It may be that even if the ms2+pwmboard is working perfectly the valve will hum, but it isn't a hum that I'm getting -- it's a very odd warbling/rattling noise.
Old Dec 13, 2010 | 09:25 AM
  #5  
Reverant's Avatar
Elite Member
iTrader: (10)
 
Joined: Jun 2006
Posts: 6,020
Total Cats: 369
From: Athens, Greece
Default

Did you ground the A_GND pad to a good, noise-free ground?
Old Dec 13, 2010 | 09:41 AM
  #6  
kday's Avatar
Thread Starter
Junior Member
 
Joined: Aug 2008
Posts: 223
Total Cats: 0
From: Boston
Default

Hmm. I ran separate wires from GND and A_GND to a common ground point, but I can't say for sure that it is good and noise free. There are two other microcontrollers on that ground plane that work fine at 0 RPM.

I guess the question then would be what makes the ground noisy at 0 RPM and fine at 200 RPM?
Old Dec 13, 2010 | 09:53 AM
  #7  
Reverant's Avatar
Elite Member
iTrader: (10)
 
Joined: Jun 2006
Posts: 6,020
Total Cats: 369
From: Athens, Greece
Default

Looks like the input signal itself is fucked up when RPM==0. The high frequency noise is making the PWM board think that THAT is in fact the signal, so it multiplies it and that's probably what you see on the scope.

Does it make the humming noise and do you get the HF noise on the input signal when the car is idling?
Old Dec 13, 2010 | 10:29 AM
  #8  
y8s's Avatar
y8s
DEI liberal femininity
iTrader: (8)
 
Joined: Jun 2005
Posts: 19,338
Total Cats: 574
From: Fake Virginia
Default

I get a hum at the PWM frequency... I'm using 390Hz though I have two of the PWM boards. I just got lazy and it works pretty well. I never noticed a hum when the stock ECU was doing the work. Maybe there's a gentler way to control the valve?
Old Dec 13, 2010 | 12:12 PM
  #9  
kday's Avatar
Thread Starter
Junior Member
 
Joined: Aug 2008
Posts: 223
Total Cats: 0
From: Boston
Default

Originally Posted by Reverant
Does it make the humming noise and do you get the HF noise on the input signal when the car is idling?
There's no evident noise when idling. But I the car is pretty loud right now, so a steady hum wouldn't be obvious. The clacking and banging that happens at 0 RPM (audible from 20+ feet away) is definitely not present at idle.
Old Dec 13, 2010 | 04:22 PM
  #10  
muythaibxr's Avatar
Junior Member
 
Joined: May 2007
Posts: 248
Total Cats: 0
From: Columbia, MD
Default

Yeah, looking at that scope trace, that looks like a bug. I'll have to look into it.

The good news for ms3 users is that they are most likely using one of the ms3's hardware channels. They don't need that extra board, and it is unlikely that the output will do anything odd at 0 RPM.

Ken
Old Dec 13, 2010 | 04:45 PM
  #11  
kday's Avatar
Thread Starter
Junior Member
 
Joined: Aug 2008
Posts: 223
Total Cats: 0
From: Boston
Default

Thanks Ken. Before you spend any time on it let me try the release firmware, as James suggested over on msextra. I'm still running a beta from Feb '09 (2.1.0m)
Old Dec 13, 2010 | 05:57 PM
  #12  
muythaibxr's Avatar
Junior Member
 
Joined: May 2007
Posts: 248
Total Cats: 0
From: Columbia, MD
Default

Alright. I'll keep an eye on this and the thread on msextra.

Ken
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Zaphod
MEGAsquirt
47
Oct 26, 2018 11:00 PM
stoves
Suspension, Brakes, Drivetrain
5
Apr 21, 2016 03:00 PM
90 Turbo
MEGAsquirt
19
Oct 19, 2015 03:23 PM
The Gleas
MEGAsquirt
3
Oct 1, 2015 09:30 AM
mx592
Suspension, Brakes, Drivetrain
1
Oct 1, 2015 12:45 AM


Thread Tools
Search this Thread

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