I am trying to convert a 5hz (can go up to 50hz with external trigger) PWM signal to a proportional DC voltage for input into a flight controller. The flight controller (Unmanned aerial vehicle) take a 0-5v voltage to determine distance, but the sensor outputs 0-5v PWM. I know about the integrator circuit but on the O-scope it appears this does not work well for low frequencies. I get a alternating voltage in the form of a sinusoidal wave that is flat in most places. I need more like a 0.77in/volt type configuration. Because it is on a RC aircraft, size and weight are crucial.
I am using the Senscomp Mini-A (although the last two pins do not match the senscomp datasheet). It auto triggers at 5hz which is fine for me, and produces a PMW of 5hz (although on o-scope it appears to have a 200ms period with doesnt compute, think i am reading scope wrong). I using this with the APM 2.6 (arducopter) which uses a arduino mega. I do not want to modify the code so that i do not introduce bugs in the FC or throw off the timing of the software (could end up crashing a large quad into something and loosing lots of money, if not hurt someone).
I know just enough about electronics to get myself in trouble most of the time although I have been playing with them for 20+ years. I do have a o-scope, a fluke 95 50mhz scopemeter and function generator
It appears i need an integrator with a sample/hold circuit but not sure how that would work out given size and weight constraints.
Many thank for you ideas and consideration. Its always what seems to be the simple things that throw me for a loop.
Thanks!!!
sirmuzz
I am using the Senscomp Mini-A (although the last two pins do not match the senscomp datasheet). It auto triggers at 5hz which is fine for me, and produces a PMW of 5hz (although on o-scope it appears to have a 200ms period with doesnt compute, think i am reading scope wrong). I using this with the APM 2.6 (arducopter) which uses a arduino mega. I do not want to modify the code so that i do not introduce bugs in the FC or throw off the timing of the software (could end up crashing a large quad into something and loosing lots of money, if not hurt someone).
I know just enough about electronics to get myself in trouble most of the time although I have been playing with them for 20+ years. I do have a o-scope, a fluke 95 50mhz scopemeter and function generator
It appears i need an integrator with a sample/hold circuit but not sure how that would work out given size and weight constraints.
Many thank for you ideas and consideration. Its always what seems to be the simple things that throw me for a loop.
Thanks!!!
sirmuzz