GenBoard/Manual/Config/ManifoldAbsolutePressure (2006-03-16 04:43:08)

[[Manual: Detailed.Sensor.Manifold.Config]]

Note that kpaofs meaning changed in firmware 1.0.12, appr. 2005-05-21

kpaofs name was intentionnaly changed to kpaoffs so make mtt warns if old kpaofs is used instead of new kpaoffs. (bin/make_conf.pl could be made cleverer to automatically calculate)

Default KPAFAC_UNIT=2 assumed:

calculate NEW config.kpaoffs = (config.kpafac * config.kpaofs) /256 +128

because old formula was\n

k = ( config.kpaofs + sensor ) * config.kpafac / 256;

new formula is:\nÿ2ÿ

Notes:

Some old and new values:

MAP range[kPa] config.kpafac old config.kpaofs new config.kpaoffs
400 0xC8 0x00 0x80
400 0xC8 0x30 0x9E
254 0x7F 0x52 0xA8
254 0x7F 0x00 0x80
104 0x34 0x00 0x80

Original behavior - (select with kpafac=00) not really useful

Warning! This is history! kpafac!=00 is the way to go, much better precision, bigger range and easy calibration. This old method will be dropped!

Basically all that had to be done is to define what sensor was being used. To maintain compatibility with MegaTune, the values were somewhat obscure.

Bad names inherited from motorola ms. Look for config11..config13 explanation in old sources, snapshot here: http://caffrey.dk/megasquirt/files/veconst.h

Configuration Parameter: config11
Bit Value: upper half: number of cyls-1, bit0 0:mpx4115ap, 1:mpx4250ap
Example: config11=30

read it in global.h and URL above. Leave this 00, especially the speed_density bits. It requires experience to get sane results if this is nonzero.

Q: What factory-installed sensor is supported?

A: Almost any factory sensor is supported that has analog voltage output (not frequency output like some Ford MAP sensors). The GM 1Bar sensors are frequently used with kpafac=34 (=decimal 52 = 104kPa MAP range). VAG (VW, Audi, Porsche, Skoda, Seat) MAP sensors are also analog voltage output so easy to use.


Special pressure sensors for the brave

If you are otherwise good at measurement theory, ask for details how to use a low-signal (40..150mV signal, v3.x only !) sensor:

Only if you really need higher than 1.5 bar boost, because it requires some calibration (3 calibration values: gain, gain(temp), offset(boardTemp)).

See [calibration experiment] against the MPX4250AP sensor. It seems that only gain is essential to measure, the typical value from datasheet can be used for gain(temp).

Note that at 4V supply (leaving 1V for series resistor used for sensor-element temperature measurement) an MPX700A's (my calibration value) 120mV/700kPA is almost as high as the MPX2200A's 40mV/200kPa. Unfortunately the MPX200A is out of fashion.


See also