LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fpga accelerometer

Also take a look at Discrete Normalized Integrator on the FPGA Math & Analysis >> Control >> Discrete Linear Systems palette. It's basically just a simple accumulator implementation. You can see how it's implemented by right-clicking on the node and selecting Convert to SubVI.

Message 11 of 12
(544 Views)

Great,

 

 As you can see from the attached vi's i've followed everyones advice. The simulation waveform is helpful and i compared that to the live signal from the accelerometer. I can see the noise from the accelerometer from the oscilloscope, and i will add the filtering soon once the integrator is working correctly.

 

Since this integrator continuously adds the values up, is it normal practice to "reset" after the first integration between the first two values so the next two values can be integrated without the addition of previous values ?

 

If i was converting from displacement to acceleration in excel i can take the gradient twice leaving acceleration.   

 

 

integrator.png

 

Many Thanks

 

 

Download All
0 Kudos
Message 12 of 12
(524 Views)