Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Accelerometer Data Capture

Status
Not open for further replies.

jpanhalt

Advanced Member level 3
Joined
Jun 28, 2010
Messages
722
Helped
216
Reputation
442
Reaction score
217
Trophy points
1,323
Activity points
6,948
I am using a Memsic MXD2020EL (100 Hz) accelerometer and a PIC12F683 at 4 MHz to develop an inclinometer for pallet forks on the front of a tractor.

The MXD2020EL outputs a PWM signal whose duty cycle varies with tilt relative to Earth. One can input the PWM signal directly ("digital" input) or use an integrator/low-pass filter to convert the digital signal to analog, and then input that through a 10-bit A/D converter. If I use the digital approach, I will probably use polling of the input pin to capture the data from which the duty cycle will be calculated.

While it is tempting to think the digital input might be more accurate and hence better, I am not so sure of that, even in a static case. Moreover, the front-end loader on a tractor is not a smooth ride. The inherent filtering provided by the analog approach might be an advantage.

At this moment, I am making a board that will allow me to test both approaches. I am asking here whether anyone has experience with similar thermal accelerometers and can relate their experience or advise relative to the two methods of capturing the data.

Regards, John
 

Use the PWM outputs and if necessary do digital filtering
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top