MAF Analyzer
Read the manual to see if your question is answered there before posting. If you have questions about MS1/Extra or MS2/Extra or other non-B&G code configuration or tuning, please post them at http://www.msextra.com The full forum rules are here: Forum Rules, be sure to read them all regularly.
-
Bruce Bowling
- Site Admin
- Posts: 285
- Joined: Mon Feb 16, 2004 4:25 pm
- Location: Baltimore, MD
MAF Analyzer
http://www.microsquirt.info/mafmap.htm#MAF_analyzer
What this program does is to fit a series of measurement points to a mathematical model. With this fitted model it is then possible to generate the dense 1024 points needed in a maffactor.inc file for microsquirt/MS2/Sequencer. The measurement points can come from a magazine, Internet, or actual flow/response measurements. The program uses two different numerical least-squares methods to reduce the data (depending on if there is zero-flow response data available) and provides an error analysis on the functional fit compared to the measured data.
The zip file contains a detailed writeup on the operation of the Maf Analyzer program, and some example flow test runs for GM LT1/LS1/LS2, Ford Lightning and Infiniti Q45 sensors, with the generated output maffactor.inc files available on the website link (above).
- Bruce
Re: MAF Analyzer
The most significant additions to the 2.905 code are:
For indexing spark and AFR tables the SAE PID 43 option should be used. This is considered the best way of handling this and is explained in the MAF Analyzer document.
There is a new ouput variable, synch status, that may help with identifying VR sensor problems. It will show up on a datalog next to the Trigger+- status. The Synch status codes are:
0 = Looking for 2 consecutive regular teeth
1 = Looking for missing teeth
2 = Waiting for Delay Teeth to pass
3 = Achieved full synch
There were also significant improvements for CAN working with GPIO devices such as the transmission controller.
- Attachments
-
- megasquirt-II_v2905.ini
- (116.64 KiB) Downloaded 91 times
-
- Monitor_v2.905.abs.zip
- (37.96 KiB) Downloaded 90 times
-
Bruce Bowling
- Site Admin
- Posts: 285
- Joined: Mon Feb 16, 2004 4:25 pm
- Location: Baltimore, MD
Re: MAF Analyzer
Let me follow-up with the significance of the sync status output when you are debugging a VR sensor setup. This, along with the trigger+/- are all you need to debug VR tach issues - they go a long way in understanding what the code is thinking...grippo wrote: There is a new ouput variable, synch status, that may help with identifying VR sensor problems. It will show up on a datalog next to the Trigger+- status. The Synch status codes are:
0 = Looking for 2 consecutive regular teeth
1 = Looking for missing teeth
2 = Waiting for Delay Teeth to pass
3 = Achieved full synch
How I would use it is the following: when installing on an engine, just hook up the power and VR sensor. Next, crank the engine and watch the Sync value. If all is well the Sync will march up from 0 to 1 to 2 to 3 and stay at 3 forever - if so then you have good sync.
- Lets say you have do not have the VR connected. When you crank, the Sync will stay at 0 - this is your indication that no signal is getting into the microsquirt.
- This time, lets say the VR is hooked up with the leads reversed. Crank the engine. The Sync will count from 0 to 1 to 0 to 1 to 0, etc. In this case, reverse the leads.
- To check for noise in the system, look at the Trigger +/- variable. What this does is clean up noise by either putting in or taking out a tooth where one should not be. For example, often with missing tooth wheels, at high RPM, during the place where there is the missing tooth the VR circuit may trigger. This is due to the "phantom tooth" effect. The firmware will detect this tooth and automatically throw it out - and it will increment the Trigger+/- variable. So the firmware basically "recovers" from the incorrectly added tooth and everything is OK, but to let you know.
The code will only recover from one added/missing tooth per revolution - if it encounters more that 1 badly-placed tooth it resets sync to 0 and starts all over again - this is your indication that there is VR noise coming in....
Note that during the start-to-run transistion, there ay be some added/removed teeth and the trigger+/- may change a few counts. This is normal. But, once the engine is running the trigger +/- should stay constant. I
- Bruce
-
ca434sbc4
- MegaSquirt Newbie
- Posts: 27
- Joined: Sun May 02, 2004 7:39 am
- Location: Calgary Alberta Canada
Re: MAF Analyzer
Re: MAF Analyzer
- Attachments
-
- maffactor.inc
- Q45 maffactor.inc
- (7.24 KiB) Downloaded 83 times
Re: MAF Analyzer
Re: MAF Analyzer
Code: Select all
0.5V 1480
1.0V 6560
1.5V 17510
2.0V 36260
2.5V 66260
3.0V 125660
3.5V 188550
4.0V 291120
4.5V 427450
5.0V 605990