Styx
Active Member
I'm am scratching my head to see if it is possible to use single-rail OPAMPS (so I don't have to create dual-rails) in a project I am looking into
There is a time-varying signal between +10V and -10V. It cannot be treated as an AC signal since the signal could dwell at a level for a significant period of time(ie cannot high-pass + DCoffset)
.
Its basically a speed demand that I can receive from a box of tricks.
Now I want to generate a signal that is HIGH when it is >0V and LOW when it is <0V.
Likewise I want a signal that is just the absolute of this time-varying singal
Simple enough with a dual-supply: comparator cct to produce a HIGH/LOW based upon the sign of the signal and a precision rectifier BUT is it possible todo with single-supplies? I have been sketching and simulating different methods to basically pot it down and offset it by a a bit (say x0.5 + 5 to make it a 0->10V signal on 5V) but it doesn't seem possible.
or am I wrong?
There is a time-varying signal between +10V and -10V. It cannot be treated as an AC signal since the signal could dwell at a level for a significant period of time(ie cannot high-pass + DCoffset)
Code:
----\ /----------------------------------
\ /--------------------------------/
\------------------------/
Its basically a speed demand that I can receive from a box of tricks.
Now I want to generate a signal that is HIGH when it is >0V and LOW when it is <0V.
Likewise I want a signal that is just the absolute of this time-varying singal
Simple enough with a dual-supply: comparator cct to produce a HIGH/LOW based upon the sign of the signal and a precision rectifier BUT is it possible todo with single-supplies? I have been sketching and simulating different methods to basically pot it down and offset it by a a bit (say x0.5 + 5 to make it a 0->10V signal on 5V) but it doesn't seem possible.
or am I wrong?