In this post, I will expose a numerical compensation technique for the acceleration measurements of an airframe, this kind of compensation require the knowledge of airframe angular rates. The measurements are usually available from an Inertial Measurement Unit. Gyroscopes measurements don’t need to be compensated.
Accelerometers measurements are affected by the position of the IMU respect to the center of gravity. In an ideal layout, the measurements don’t need to be compensated and the accelerometers are placed exactly over the center of gravity C.G., although that will rarely happen.
On many airframes, the center of gravity is located over or near the main spar that fact makes nearly impossible to put the sensor over the C.G.
Even on a middle wing or a low wing plane, this location is often crowded by standard RC equipment. As a general rule the closer is the IMU to the C.G the better; is to bear in mind that compensation for position offset reduces overall accuracy.
The C.G. position should be evaluated in the three dimensions; if the weight, typically affected by fuel consumption or the aerodynamic configuration of the airframe changes during the fly then also the C.G. position should be tracked. This kind of procedures will not be treated here.
The C.G. is the point of rotation of the entire airframe. Let’s use a body-fixed reference system; the origin is set to be coincident with C.G.
On a conventional plane, coordinate is defined along the airframe from aft to fore, is orientated along the right wing and points toward the ground. Angular rates respect axes are . Often is called roll rate, pitch rate and yaw rate. is positive rolling to right, is positive pitching up and is positive yawing right.
The IMU is installed, in the body reference frame, at coordinates. The IMU output is denoted as
Refer to the following figure. Let’s examine a planar case. We consider airplane symmetry plane and set to zero all the angular rates outside this plane; we suppose also small rotation misalignment between body and instrument reference frames . The variables for our problem are reduced to . If the IMU is placed at a certain distance from C.G. centripetal and tangential acceleration terms affect the measured acceleration.
By figure inspection we can write:
It is possible to write the transformation matrix from the body reference frame to
That is the explicit relation between measured acceleration and acceleration at C.G.
Suppose we’ve taken an acceleration measurement along x IMU axis of 3g; the IMU position is , that is equivalent to a pitch rate of 150° per second.
Calculated acceleration along at C.G. is 4.7g, we have 36% of offset error in the acceleration measurement. With this simple example is evident the magnitude of the error impact of a casual or undetermined placement of the IMU.
Extending this approach to the three dimensions we can write :
The last equation confirms our result for the reduced dimensions case previously presented.
Installation position can cause a relevant measurement error, that error is systematic and can be removed from the measurements using equation 45.1.
 Valdislav Klein and Eugene A. Morelli (2006), Aircraft System Idenification,AIAA
See Chapter 10. Equation 10.12
 Gainer, T.G., and Hoffman, S.(1972), Summary of Transformation Equations and Equation of motion Used in Free-Flight and Wind-Tunnel Data Reduction Analysis, NASA
Page 69 Case II, Formula A11-A12-A13
 Explicit calculation by ja72 in this link
I quote here in behalf of the reader:
Starting from the well known acceleration transformation formula between an arbitrary point _A_ and the center of mass _C_ with .
one can you the 3×3 [cross product operator](https://en.wikipedia.org/wiki/Cross_product#Conversion_to_matrix_multiplication) to transform the above into:
or in the form seen the linked post: