ADL3 Internal G sensor calibration

Discussion and support for current Advanced Dash Loggers, Sport Dash Loggers and Club dash loggers

ADL3 Internal G sensor calibration

Postby David Ferguson on Sat Mar 13, 2010 4:20 am

I was working with my first ADL3, and noticed that the calibration for the internal G-sensor didn't seem quite right. My observations were based on bench top-use where after zeroing the internal G channels, I set the dash on it's side to measure +/- 1.0 g. I found that I had to set the lateral G-sensor to 125 mV/G, while the longitudinal and vertical G-sensor was best at 120 mV/G.

Lastly, this dash is mounted into the car tipped back at a 25 degree angle (so long G & vert G are offset when static). Does the dash compensate for that if I zero the long G sensor when mounted? Or should I zero it in the vertical position, then use an I2 Math Channel to generate a corrected Long G (and VertG)? something like: CorrLongG = (SensorLongG - offset) * Sine(25 deg)

The online help is unusually silent (for MoTeC) on this topic, the inputs topic saying that the only internal sensors are battery voltage and device temperature. Any advice or information would be appreciated.
David Ferguson
Pro User
 
Posts: 1379
Joined: Fri Nov 07, 2008 2:45 am
Location: Paso Robles, California

Re: ADL3 Internal G sensor calibration

Postby Holmz on Sat Mar 13, 2010 2:51 pm

David Ferguson wrote:I was working with my first ADL3, and noticed that the calibration for the internal G-sensor didn't seem quite right. My observations were based on bench top-use where after zeroing the internal G channels, I set the dash on it's side to measure +/- 1.0 g. I found that I had to set the lateral G-sensor to 125 mV/G, while the longitudinal and vertical G-sensor was best at 120 mV/G.

Lastly, this dash is mounted into the car tipped back at a 25 degree angle (so long G & vert G are offset when static). Does the dash compensate for that if I zero the long G sensor when mounted? Or should I zero it in the vertical position, then use an I2 Math Channel to generate a corrected Long G (and VertG)? something like: CorrLongG = (SensorLongG - offset) * Sine(25 deg)

The online help is unusually silent (for MoTeC) on this topic, the inputs topic saying that the only internal sensors are battery voltage and device temperature. Any advice or information would be appreciated.


Assuming that the car pitches and that the roads are NOT level adds complexity.
If you move the unit on the bench, and adjust the gain to show 1 G then it sounds like you are doing it right.
You'll want to have it on its LHE and RHS to make sure that the offset is correct, and ditto for top an bottom sides for longitudinal.

I think that at the very least the equation should be:
CorrLongG = (SensorLongG - offset) / Sine(25 deg)
but that is clearly not right as 25 degrees goes to zero... So this looks more like it:
CorrLongG = (SensorLongG - offset) /Cosine(25 deg)

This is not the most accurate.
If the unit is not too far off with respect to roll and pitch (i.e. the sensors are close to alignment to begin with), then all is pretty good as cos (small number) is close to 1.
But the 25 degrees, means that the pitch and longitudinal G will be off in a dynamic sense.
So the values will not be good in an absolute sense, but will just fine for relative comparison on the same circuit from lap to lap.
User avatar
Holmz
 
Posts: 521
Joined: Fri Dec 19, 2008 6:19 pm
Location: Australia and the USoA

Re: ADL3 Internal G sensor calibration

Postby Blu302 on Sat Mar 13, 2010 9:47 pm

Assuming all sensors are calibrated correctly, the direction will be a dynamic couple between 2 or more outputs. That said, if the ADL is leaning back (say 45Deg) and a forward motion of 1G is applied, there will be a ratio of 0.707G on the 2 outputs. If the forward motion was roughly 1.414G, there would be 1G output on each. Each output will change in a linear fashion to each other relative to angle. To be accurate you would need to have a 3d map to compensate given that the corrected output from the longitudinal and vertical will need to used with the lateral. Essentially as you lean the ADL back, the ratios will change in proportion to pythagoreas until it is laying on its' back where there will be only one output for forward motion. Should remember pythagoreas from school.

A squared + B squared = C squared

Sides of a triangle where A is longitudinal and B is vertical, giving C as the ratio between the both seeing as they act at right angles to each other. A table should be sufficient for correction but there are probably easier ways.

I hope it's not too much jargon and that it helps
____________________________________________________________________________

Blu302
BMW E46 M52TUB25 w/ cams, headers, exhaust, CAI
User avatar
Blu302
 
Posts: 127
Joined: Mon Jan 18, 2010 8:03 pm
Location: Melbourne

Re: ADL3 Internal G sensor calibration

Postby Holmz on Sat Mar 13, 2010 10:16 pm

Blu302 wrote:Assuming all sensors are calibrated correctly, the direction will be a dynamic couple between 2 or more outputs. That said, if the ADL is leaning back (say 45Deg) and a forward motion of 1G is applied, there will be a ratio of 0.707G on the 2 outputs. If the forward motion was roughly 1.414G, there would be 1G output on each. Each output will change in a linear fashion to each other relative to angle. To be accurate you would need to have a 3d map to compensate given that the corrected output from the longitudinal and vertical will need to used with the lateral. Essentially as you lean the ADL back, the ratios will change in proportion to pythagoreas until it is laying on its' back where there will be only one output for forward motion. Should remember pythagoreas from school.

A squared + B squared = C squared

Sides of a triangle where A is longitudinal and B is vertical, giving C as the ratio between the both seeing as they act at right angles to each other. A table should be sufficient for correction but there are probably easier ways.

I hope it's not too much jargon and that it helps


Yeah but A is this case is longitudinal and B would have to be vertical-G... To you have a 3 axis accelerometer or 2-axis?

so if you only have long-G you need to divide by cosine(lean-back).
User avatar
Holmz
 
Posts: 521
Joined: Fri Dec 19, 2008 6:19 pm
Location: Australia and the USoA

Re: ADL3 Internal G sensor calibration

Postby Blu302 on Sun Mar 14, 2010 9:24 am

I probably got the sensors mixed a bit but the side to side G force will be unaffected, so doesn't matter if a 2 or 3 axis sensor is being used depending on orientation. Using Cosine doesn't account for a bump in the road or angular velocity around a track as one can stay constant while the other changes. Both sensors need to be taken into consideration as the force output is a compound of them both.
____________________________________________________________________________

Blu302
BMW E46 M52TUB25 w/ cams, headers, exhaust, CAI
User avatar
Blu302
 
Posts: 127
Joined: Mon Jan 18, 2010 8:03 pm
Location: Melbourne

Re: ADL3 Internal G sensor calibration

Postby Martin on Tue Mar 16, 2010 4:22 am

Motec,

Is it possible to add this into the ADL3 softare to input a tilt angle of the ADL3 for Gforce reading puposes?
User avatar
Martin
Pro User
 
Posts: 640
Joined: Thu Jul 10, 2008 2:57 am
Location: Pretoria, Suid Afrika

Re: ADL3 Internal G sensor calibration

Postby JamieA on Mon Mar 22, 2010 10:08 am

yes, it does need to be done, and is on the list of things to do, but hasn't yet made it to the top of the list.
JamieA
 
Posts: 454
Joined: Wed Apr 30, 2008 3:16 pm
Location: Melbourne, Australia

Re: ADL3 Internal G sensor calibration

Postby Martin on Tue Mar 23, 2010 3:34 pm

id like to see this list....... :)
User avatar
Martin
Pro User
 
Posts: 640
Joined: Thu Jul 10, 2008 2:57 am
Location: Pretoria, Suid Afrika

Re: ADL3 Internal G sensor calibration

Postby David Ferguson on Thu Aug 05, 2010 2:33 pm

I've been working with another ADL3 on the bench, and noticed that it gets really warm if left powered on and connected to Ethernet for say 30 minutes (not sure if Ethernet had anything to do with it, but wanted to note that) The dash was not supplying power to anything external. The G-sensor calibration changed over that time (at 70degF, I zeroed, and sent the configuration; 30 minutes later the dash was 133 degF, and the G-sensors were reading like .17 - .19).

Is it expected that the G-sensor calibration will change with temperature? Can Motec build in a compensation for this?

Any update on support for dash tilt?
David Ferguson
Veracity Racing Data
David Ferguson
Pro User
 
Posts: 1379
Joined: Fri Nov 07, 2008 2:45 am
Location: Paso Robles, California

Re: ADL3 Internal G sensor calibration

Postby DarrenR on Fri Aug 06, 2010 2:25 pm

See the attached ADL3 config.
In the Advanced Maths calculations you will see the calculations for Corrected Long and Vert G and also Pitch and Roll calculation. The Dash mounting angle is a 'Constant' value.
I also push the G sensor values through channel maths to filter them, just for nice stable readings while testing.

The calculation fully compensates the G sensors for the mounting angle in the Pitch direction only. So if the dash was pitched 45deg forward, longitudinal G force (vehicle acceleration) would affect the G long and G vert sensor equally by half. The corrected values shows the correct G long, and no G vert, for example.
The Dash still need to be squarely mounted laterally. Lateral G could be compensated also in the same way but figuring this out hurt my head enough. :)

Setting the dash mounting angle at 0 keeps the G long corrected and G Vert corrected the same as the filtered values, but increasing the mounting angle (as a remote control in monitor channels) puts a phase offset on the sensors. This also carries through to the pitch and roll calculation.

Pitch and Roll gives you 0 deg when the dash is at its mounting angle and goes +/-180 deg in all directions. Note there is a small glitch at 90 deg... Also it is only correct when acceleration due to gravity is the only acceleration applied, so it won’t work for lean angle on a bike...

We have found all G sensors tend to drift a little bit with temperature, some worse than others. It is always best to calibrate the G sensor Zero point with the Dash at normal operating temperature. Span should also be calibrated every so often. Using the 'custom' calibration and calibrating the dash on a level surface using 'read value' is better that entering the zero and span voltages.

Two things to note is you can't zero the corrected values, you have to zero the sensor values with the dash square to the ground. And vertical G must read 1G when static, not 0.

Any Questions?
Attachments
Angle Corrected G and Pitch Roll calc.D51
(474.42 KiB) Downloaded 1333 times
Darren Reynolds
MoTeC Research Centre - Melbourne, Australia.
DarrenR
MoTeC
 
Posts: 176
Joined: Thu May 01, 2008 2:15 pm
Location: Melbourne, Australia

Next

Return to ADL3, SDL3 and CDL3

Who is online

Users browsing this forum: No registered users and 6 guests