In the past I've taken the magnitude of an accelerometer digitally, using the following equation:
magnitude = sqrt(x^2 + y^2 + z^2)
However, in order to do this I need to sample all three accelerometer planes (x, y, and z) which takes up three channels in my DAQ. This is fine for a single accelerometer, but now that I'm starting to use multiple accelerometer this means I need a lot of channels!
Seeing as I'm just taking the magnitude anyway, I was wondering how I would perform the same calculation in hardware, prior to sampling the planes, so that I only have to sample one channel per accelerometer as opposed to three.
Would someone be able to show me what the circuitry would look like for me to perform this magnitude calculation?
Thanks in advance.