Circuit Basics (5): Open drain

An alternate to tri-state logic is open drain output:

  • the output signal is applied to the base of an internal NPN transistor.
    • it controls the transistor switching.
  • The emitter is grounded internally.
  • The real output will be on the collector — open collector (the output is taken from between the collector and the emitter).  The output would be either
    • low, when the transistor is on, as the output is forced to nearly 0 volt; or
    • nothing (no current flows), also called “high-Z”, high impedance, when the transistor is off.

opendrain

In practice, a pull-up or pull-down resistor is required, to keep the digital output in a defined logic state. An external pull-up resistor can be used to raise the output voltage when the transistor is turned off.

The advantage of open drain circuit:

  • all the devices can pull the signal line low, but can not drive it high.
    • avoid conflicts where one device drives the line high, while another tries to pull it low.
    • inactive devices would not try to hold the line high.
    • pull up resistor can be external, no need to be connected to the chip supply voltage.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s