ADXL103 Calculation: Get Equation for Tilt Angle into MPU

  • Thread starter Thread starter fredfmah
  • Start date Start date
  • Tags Tags
    Calculations
AI Thread Summary
The discussion focuses on deriving an equation for tilt angle using the ADXL103 accelerometer. The chip outputs a voltage of 2.500 V at 0g, with a sensitivity of 1000mV/g. The user notes that the output changes with tilt, specifically that it alters by approximately 17.5 mg per degree when perpendicular to gravity. They propose a method to calculate tilt by measuring the change in DC output as the chip is tilted and suggest an equation for output voltage based on tilt angles. The conversation concludes with the user considering using the ADXL202 for its simplicity.
fredfmah
Messages
4
Reaction score
0
Dear experts,
I'm trying to get an equation for tilt angle into a MPU. This is no problem if you can find the equation.
The ADXL103 data sheet is indeed mysterious in that it is about a chip that measures acceleration. and yet gives no formula for the relation between input signal and the output signal. i.e. Input g and output delta mV

I can see that when the chip is flat on the Earth's surface the output is zero , referenced to half of the supply voltage .

This is the information, the useful starting information:

PAGE3
-------
So the DC output is 2.500 V at 0g
The next part of the specification gives SENSITIVITY "typical" as 1000mV/g

PAGES 6 to 8
--------------
Great load of graphs on statistical information which shows sources of error. Great, but this is later when the beast is functioning.

PAGE9
-------
The theory of operation, but still no equation o/p = function(i/p)

PAGE10
---------
All good basic theory on filtering and responses, fine if we know the o/p we are filtering.
Self test mentions that 750mg change in output produces a delta of 750mV, (typical I suppose )

PAGE11
---------

There is a slight whiff of an equation. Just looking at the x-axis response.

"When the accelerometer is perpendicular to gravity, its output changes
nearly 17.5 mg per degree of tilt. At 45°, its output changes at
only 12.2 mg per degree, and resolution declines. "

Going back to PAGE3
'SENSITIVITY "typical" as 1000mV/g'
Taking a mean for my small range of 0º to 15º ; (17.5+12.2)/2 =15mg per degree
So if for example my tilt is 5º then the acceleration, Ax = 75mg

Wait a minute, this is putting the cart before the horse, because
I need to calculate Ax and then I can get the degrees from...

PITCH = ASIN(Ax/1 g)

If anyone can see the relation between tilt_angle and the DC output of this chip, I would be most grateful.

Other wise I'll just have to put it on a wooden table. Tweak the orientation for exactly 2.5000V
Then carefully change the angle with respect to the table in 3 steps of 5º Measure the change in DC output
and interpolate to get the 1degree steps from 0 to 15º

Cheers
Fred
 
Engineering news on Phys.org
You posted the info you seem to be asking for from page 3. :confused:
So if you turn the chip upside down you should get a reading of 0.5v.
 
Dear Notime , I hadn't thought of that!
Seriously,
The equation for output V I think I can deduce would have the form
V = k2 *2500 + k1 *500*sinA for positive angles ;
V = k2 *2500 - k1 * 500*sinA for negative angles,
But I also note the ADXL202 is 1999, betteer to use current offering 2003, and it also looks simpler, the ADXL103

Thanks anyway,
Bye
Fred
 
Thread 'How can I find the cleanout for my building drain?'
I am a long distance truck driver, but I recently completed a plumbing program with Stratford Career Institute. In the chapter of my textbook Repairing DWV Systems, the author says that if there is a clog in the building drain, one can clear out the clog by using a snake augur or maybe some other type of tool into the cleanout for the building drain. The author said that the cleanout for the building drain is usually near the stack. I live in a duplex townhouse. Just out of curiosity, I...
Hi all, I have a question. So from the derivation of the Isentropic process relationship PV^gamma = constant, there is a step dW = PdV, which can only be said for quasi-equilibrium (or reversible) processes. As such I believe PV^gamma = constant (and the family of equations) should not be applicable to just adiabatic processes? Ie, it should be applicable only for adiabatic + reversible = isentropic processes? However, I've seen couple of online notes/books, and...
Back
Top