Electronic – Looking for device that help me split a n bit input bus, or n analog lines into two or more bus at output

microcontrollermultiplexerswitches

I looking for device that help me split a n bit input bus, or n analog lines into two or more bus at output

Please consideration concept diagram below.

concept diagram

At input there is n bit input bus, or n analog lines

At control there is 2 bit control:

  • 00: input signal not routed to output
  • 01: input signal routed only to output 1
  • 10: input signal routed only to output 2
  • 11: input signal routed to both output

I cannot think of any ready made digital logic device I buy at counted do this, hence need some help to realize this using ready made digital logic device.

Ready to use relay or logic ICs, anything is OK as long as parts easily available.

If digital logic used, must be able to support signals till 1Mhz, 0 to +5Vpp, low (like 100mA) current good enough

If analog drive like relay used, must be able to support signals till 100Hz, -50 to +50Vpp, 10Amp current

Important to keep the size compact. I am ready to use PIC microcontroller if it help

Best Answer

A couple ideas:

  1. Use two n-bit wide tri-state buffer devices. Tie one of your control bits to the enable input of each buffer. As an example, you could implement a 4 bit wide version of this circuit on a single 74LS240 chip. Since the enable inputs are often active low, you may need to invert you control signals. If you want the outputs to be in a certain state when inactive, add pull-up or pull-down resistors at the outputs.

  2. This would be pretty simple to implement on a CPLD. If you have the tools to do that, in my opinion, it would be a simpler solution than using an MCU.

  3. As you mention, you could implement with an MCU, using DIO pins to check the inputs and drive the outputs.