0
\$\begingroup\$

as a hobby I'm working on a ternary computer, using very basic building block.
in order to implement an half adder, I need a very basic component/circuit, that take the following input voltage, [-2,-1,0,1,2] and outputs this voltage [-1,0,0,0,1].
I don't want something that return -0.5 volts if given -1v, it has to be close to 0v.

does anyone know of any basic component that does this?

Input | output ============== -2 | -1 -1 | 0 0 | 0 1 | 0 2 | 1 
\$\endgroup\$
2
  • \$\begingroup\$ Do you really need to build this, if yes how many? I mean, is it acceptable for this circuit to require three or four opamps? \$\endgroup\$ Commented Apr 17, 2016 at 8:41
  • \$\begingroup\$ sure its OK to use several opamps. \$\endgroup\$ Commented Apr 17, 2016 at 9:17

1 Answer 1

3
\$\begingroup\$

Would this work? The comparators have an NPN open-collector output, with the emitter connected to the 'ground' indicated for the comparator.

schematic

simulate this circuit – Schematic created using CircuitLab

\$\endgroup\$
2
  • \$\begingroup\$ Your's in basically the same as mine but simpler. I'll delete and +1 \$\endgroup\$ Commented Apr 17, 2016 at 9:41
  • \$\begingroup\$ +1. Without power, speed, driving capabilities or any other spec that is the best you could probably get. \$\endgroup\$ Commented Apr 17, 2016 at 15:03

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.