Hi all… Just working on options in a decay circuit to allow different thresholds (e.g. Voltages) to trigger different decay curves.
Lets say, for discussion, the there are three different bands of level, and I want each to have a different decay (those who have read my other posts will understand!)… Let's say Va; Vb; and Vc (high / mid / low)
The idea is that when a control signal is in the Va area it has a given decay rate; once it drops below a threshold into Vb region it instantly changes to a different decay rate; and then finally once dropping below another threshold is enters Vc region and a different decay rate.
The decay circuits are easy to get up and running; but I want to automatically switch between the circuits quickly and accurately (well - basically switch between resistors in a circuit) depending on which V band the control voltage is in.
Logic seems the way, and as always I've been reading a whole lot, and close - but "getting confused" again :
Although the end product will probably adopt some kind of multiplexer with logic switching, I'll likely model a bit more from basic logic setups. But I'd like to get some basics right first…
I'm currently assuming that it's ok to use comparators to establish when my CV is over the thresholds (super fast and accurate), and then feed these into logic gates which will then determine via a little logic matrix which analog switch is open. I should be able to get this set up; but I'm wondering if this is not the right approach in practice? Particularly using the comparator to create the logic signal which will then be used to control the logic matrix and switches.
I'm assuming the comparator will be good because is has no "mystery zone" like it seems TTL and CMOS gates have. But my comparators will spit out AC + and - signals, whereas gates seem to spit out a tidy DC. A few questions:
If I have e.g. a comparator spitting out 15V p2p AC; and an analog gate wants (e.g.) up around 5V for an ON condition, can I just attenuate the 15V p2p down to 2.5 p2p AC, and and then offset +2.5V to get a 0-5V on / off digital signal? OR is that completely not necessary, because there's a much quicker easier way of creating a DC logic signal for my purpose?! (keeping in mind I want accurate switching between threshold zones, and I'm concerned about that "mystery zone" in TTL and CMOS gates)
(by the way - yes ---> the 15 p2p AC could simply start at 5V… I guess my question is more about: is raising up an AC via DC offset an ok way to create a logic signal?… Or what's a recommended way to achieve this?)
Many thanks for any help!
Lets say, for discussion, the there are three different bands of level, and I want each to have a different decay (those who have read my other posts will understand!)… Let's say Va; Vb; and Vc (high / mid / low)
The idea is that when a control signal is in the Va area it has a given decay rate; once it drops below a threshold into Vb region it instantly changes to a different decay rate; and then finally once dropping below another threshold is enters Vc region and a different decay rate.
The decay circuits are easy to get up and running; but I want to automatically switch between the circuits quickly and accurately (well - basically switch between resistors in a circuit) depending on which V band the control voltage is in.
Logic seems the way, and as always I've been reading a whole lot, and close - but "getting confused" again :
Although the end product will probably adopt some kind of multiplexer with logic switching, I'll likely model a bit more from basic logic setups. But I'd like to get some basics right first…
I'm currently assuming that it's ok to use comparators to establish when my CV is over the thresholds (super fast and accurate), and then feed these into logic gates which will then determine via a little logic matrix which analog switch is open. I should be able to get this set up; but I'm wondering if this is not the right approach in practice? Particularly using the comparator to create the logic signal which will then be used to control the logic matrix and switches.
I'm assuming the comparator will be good because is has no "mystery zone" like it seems TTL and CMOS gates have. But my comparators will spit out AC + and - signals, whereas gates seem to spit out a tidy DC. A few questions:
If I have e.g. a comparator spitting out 15V p2p AC; and an analog gate wants (e.g.) up around 5V for an ON condition, can I just attenuate the 15V p2p down to 2.5 p2p AC, and and then offset +2.5V to get a 0-5V on / off digital signal? OR is that completely not necessary, because there's a much quicker easier way of creating a DC logic signal for my purpose?! (keeping in mind I want accurate switching between threshold zones, and I'm concerned about that "mystery zone" in TTL and CMOS gates)
(by the way - yes ---> the 15 p2p AC could simply start at 5V… I guess my question is more about: is raising up an AC via DC offset an ok way to create a logic signal?… Or what's a recommended way to achieve this?)
Many thanks for any help!