Jump to content

Open collector

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by ClueBot NG (talk | contribs) at 22:30, 7 December 2010 (Reverting possible vandalism by 206.77.152.9 to version by FrescoBot. False positive? Report it. Thanks, ClueBot NG. (102668) (Bot)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A simplified schematic of the externalized (open) collector of an integrated circuit (IC).

An open collector is a type of output on many integrated circuits (IC). Instead of outputting a signal of a specific voltage or current, the output signal is applied to the base of an internal NPN transistor whose collector is externalized (open) on a pin of the IC. The emitter of the transistor is connected internally to the ground pin. If the output device is a MOSFET the output is called open drain and it functions in a similar way.


Function

In the picture above, the transistor base is labeled "IC Output". This is an internal output from the internal IC logic to the transistor. From the point of view of the transistor, this is the input which controls the transistor switching. The external output is the transistor collector, and the transistor acts as an interface between the internal IC logic and parts external to the IC.

The output essentially acts as either an open circuit (no connection to anything) or a connection to ground. The output usually has an external pull-up resistor, which raises the output voltage when the transistor is turned off. When any transistor connected to this resistor is turned on, the output is forced to nearly 0 volts. Open-collector outputs can be useful for analog weighting, summing, limiting, etc., but such applications are not discussed here.

Applications of open-collector devices

One useful property is not needing to connect the pull-up resistor to a voltage similar to that of the chip supply (Vcc); a lower or higher voltage can be used instead. Open collector circuits are therefore sometimes used to interface different families of devices that have different operating logic voltage levels or to control external circuitry that requires a higher voltage level (e.g. a 12 V relay).

Another advantage is allowing to connect more than one open-collector output to a single line. If all outputs attached to the line are in the high-impedance (i.e., logic 1) state, the pull-up resistor will hold the wire in a high voltage state. If 1 or more of the device outputs are in the ground (i.e., logic 0) state, they will sink current and pull the line voltage near ground. Open-collector devices are commonly used to connect multiple devices to a bus (i.e., one carrying interrupt or write-enable signals). This enables one device to drive the bus without interference from the other inactive devices - if open-collector devices are not used, then the outputs of the inactive devices would attempt to hold the bus voltage high, resulting in unpredictable output.

By tying the output of several open collectors together, the common line becomes a "wired AND" (positive-true logic) or "wired OR" (negative-true logic) gate. A "wired AND" behaves like the boolean AND of the two (or more) gates in that it will be logic 1 whenever (all) are in the high impedance state, and 0 otherwise. A "wired OR" behaves like the boolean OR for negative-true logic, where the output is LOW if any one of its inputs is low. Such circuit constructions are termed "wired-AND" and "wired-OR", respectively.

One problem with open-collector devices is power consumption, since they tend to require higher current minimums for correct operation. Even in the 'off' state, they often have a few nanoamps of leakage current (the exact amount varies with temperature).

A Three-state logic device is unlike an open collector device, because it has transistors to source and sink current in both logic states, as well as a control to turn off both transistors and isolate the output.

SCSI-1 devices use open collector for electrical signaling. [1] SCSI-2 and SCSI-3 may use EIA-485.

Active-low wired-OR / active-high wired-AND circuit using open-drain gates.

MOSFET

The word "drain" in the term "Open-drain" refers to the drain terminal of a MOSFET. (The analogous term for BJT devices is open collector.) Open-drain outputs can be useful for analog weighting, summing, limiting, etc., but only applications in digital logic will be discussed. An open drain terminal is connected to ground in the low voltage (logic 0) state, but has high impedance in the logic 1 state. This prohibits current flow, but as a result, such a device requires an external pull-up resistor connected to the positive voltage rail (logic 1).

Note that microelectronic devices using open drain signals (such as microcontrollers) may provide a 'weak' internal pull-up resistor to connect the terminal in question to a positive voltage source/rail like Vdd of the device. Such weak pullups, often on the order of 100 kilohm, reduce power usage by keeping input signals from floating. External pullups are stronger (perhaps 3 kilohm) to reduce signal rise times (as with I²C) or to minimize noise (as on system RESET inputs). Internal pullups can often be disabled for cases where there is an external one, or in other cases where they are not needed.

References

  1. ^ "Overview of SCSI Standards & Cables". 081214 scsita.org
  • "Open Collector Outputs".
  • "Chapter 4: Circuits" (PDF). Honeywell Solid State Technical Documentation.
  • Horowitz, Paul (1989). The Art of Electronics (Second Edition ed.). Cambridge University Press. {{cite book}}: |edition= has extra text (help); Unknown parameter |coauthors= ignored (|author= suggested) (help)

External links

[1]