# How is it possible to achieve this functionality?

I want to control two units 0-10V control inputs simultaneously and inverted way.
For instance if the unit1 input is 5V the unit2 output will be OFF(zero V) and vice versa.

I could do this with using a comparator and its inverting input but there is one more condition I need to achieve. I want to set the outputs to a same voltage value as well.

Basically I want to simultaneously set both units outputs by a potentiometer(any voltage between zero to 10V) but still their outputs will remain inverted(when uni1 is ON unit2 is OFF vice versa). How can this be achieved in a way without using microcontroller?

EDIT:

I hope this makes more clear:

-When FunGen is ON unit1 must be ON and unit2 must be OFF

-When FunGen is OFF unit2 must be ON and unit1 must be OFF

-An interface(like I draw with dashed rectangle) must adjust the voltages to unit1 and unit2 same value when any of them receives voltage). The voltage value must be able to be set from zero to 10V.

Precision is not important down to 5% is fine for me and zero volt can be 0.2V.

Edit 2:

• What should the value of unit 2 be when unit 1 is 0.1V? 0.001V? 0.9V? 0.999V? When you say "output zero" what is the actual maximum allowable voltage? Is there ever a situation where unit2 is something other than zero or 8V? What do you mean by "analogue way"? Is it OK to use comparators and op amps? Mar 13 '20 at 11:27
• You are right sorry, precision is not that important 5% between outputs is fine and zero can be 0.2V something . Mar 13 '20 at 11:31
• You didn't write how input1 relates to output1... only that output2 should be 0. Mar 13 '20 at 11:32
• Alright I will make a drawing Mar 13 '20 at 11:33
• I voted to close this question until the OP can clarify this into something that makes sense. The OP keeps talking about ON and OFF states which means digital and yet demands some analog 0 to 10V setting. As it stands now it is unanswerable and the actual goal is elusive. Mar 13 '20 at 12:21

Select an open drain inverter, and if you can't get an open drain input source, run it through an open drain buffer. Buffer your potentiometer through an op amp or emitter follower, and run your pullups to that voltage. If you have a dual gang potentiometer, you can use each wiper as a pullup.

• i.stack.imgur.com/tUmve.png Would this be something close to you mentioned? Mar 13 '20 at 13:32
• That's exactly it. Mar 13 '20 at 14:36

It appears that what you were asking was as follows:

simulate this circuit – Schematic created using CircuitLab

Figure 1. A design for the analog selector is required.

Table 1. Control strategy.

5 V Control      OUT1                    OUT2
===========      ======================  ======================
0 V            0 V                     Potentiometer voltage
5 V            Potentiometer voltage   0 V