HOME

TheInfoList



OR:

An open collector is a common type of output found on many integrated circuits (IC), which behaves like a switch that is either connected to ground or disconnected. 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 NPN
transistor upright=1.4, gate (G), body (B), source (S) and drain (D) terminals. The gate is separated from the body by an insulating layer (pink). A transistor is a semiconductor device used to Electronic amplifier, amplify or electronic switch, switch ...
is connected internally to the ground pin. If the output device is a
MOSFET The metal–oxide–semiconductor field-effect transistor (MOSFET, MOS-FET, or MOS FET) is a type of field-effect transistor (FET), most commonly fabricated by the controlled oxidation of silicon. It has an insulated gate, the voltage of which d ...
the output is called open drain and it functions in a similar way. For example, the
I²C I2C (Inter-Integrated Circuit, ), alternatively known as I2C or IIC, is a synchronous, multi-controller/multi-target (master/slave), packet switched, single-ended, serial communication bus invented in 1982 by Philips Semiconductors. It is wid ...
bus and
1-Wire 1-Wire is a device communications bus system designed by Dallas Semiconductor Corp. that provides low-speed (16.3 kbit/s) data, signaling, and power over a single conductor. 1-Wire is similar in concept to I²C, but with lower data rates and ...
bus are based on this concept.


Function

In the picture, the transistor base is labeled "IC output". This is a signal from the internal IC logic to the transistor. This signal controls the transistor switching. The external output is the transistor collector; the transistor forms an interface between the internal IC logic and parts external to the IC. On schematic component symbols, the open output is indicated with these symbols: * ⎐ for a pin that outputs low-Z L or hi-Z H (or ⎑ with an internal
pull-up resistor In electronic logic circuits, a pull-up resistor (PU) or pull-down resistor (PD) is a resistor used to ensure a known state for a signal. It is typically used in combination with components such as switches and transistors, which physically int ...
) * ⎏ for a pin that outputs hi-Z L or low-Z H (or ⎒ with an internal pull-down resistor) The output forms either an open circuit (also written "hi-Z" for high impedance) or a connection to ground. The output usually consists of an external
pull-up resistor In electronic logic circuits, a pull-up resistor (PU) or pull-down resistor (PD) is a resistor used to ensure a known state for a signal. It is typically used in combination with components such as switches and transistors, which physically int ...
, which raises the output voltage when the transistor is turned off. When the 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. A three-state logic device is unlike an open collector device, because it consists of transistors to source and sink current in both logic states, as well as a control to turn off both transistors and isolate the output.


Applications of open-collector devices

Because the pull-up resistor is external and does not need to be connected to the chip supply voltage, a lower or higher voltage than the chip supply voltage can be used instead (providing it does not exceed the absolute maximum rating of the chip's output). Open collector circuits are therefore sometimes used to interface different families of devices that have different operating voltage levels. The open-collector transistor can be rated to withstand a higher voltage than the chip supply voltage. This technique is commonly used by logic circuits operating at 5 V or lower to drive devices such as motors, 12 V
relay A relay Electromechanical relay schematic showing a control coil, four pairs of normally open and one pair of normally closed contacts An automotive-style miniature relay with the dust cover taken off A relay is an electrically operated switch ...
s, 50 V
vacuum fluorescent display A vacuum fluorescent display (VFD) is a display device once commonly used on consumer electronics equipment such as video cassette recorders, car radios, and microwave ovens. A VFD operates on the principle of cathodoluminescence, roughly ...
s, or Nixie tubes requiring more than 100 V. Another advantage is that more than one open-collector output can be connected to a single line. If all outputs attached to the line are in the high-impedance state, the pull-up resistor will hold the wire in a high voltage (logic 1) state. If one or more device outputs are in the logic 0 (ground) state, they will sink current and pull the line voltage toward ground. This wired logic connection has several uses. Open-collector devices are commonly used to connect multiple devices to one interrupt request signal or a shared bus such as
I²C I2C (Inter-Integrated Circuit, ), alternatively known as I2C or IIC, is a synchronous, multi-controller/multi-target (master/slave), packet switched, single-ended, serial communication bus invented in 1982 by Philips Semiconductors. It is wid ...
. This enables one device to drive the bus without interference from the other inactive devices. If open-collector devices were 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 of its inputs are low. This feature can be used to construct DACs.
SCSI Small Computer System Interface (SCSI, ) is a set of standards for physically connecting and transferring data between computers and peripheral devices. The SCSI standards define commands, protocols, electrical, optical and logical interface ...
-1 devices use open collector for electrical signaling. SCSI-2 and SCSI-3 may use EIA-485.


Disadvantages

One problem with open-collector devices is power consumption, since the pullup resistor dissipates power whenever the output is pulled low, and the higher the desired operating speed, the lower the resistor value (i.e. the stronger the pullup) needs to be, resulting in increased consumption. Even in the 'off' state, they often have a few nanoamperes of leakage current (the exact amount varies with temperature). A buffer opamp can be placed after to limit the current draw through the resistor.


MOSFET

The analogous connection used with MOS transistors is an open-drain connection. Open-drain outputs can be useful for analog weighting, summing, and limiting as well as digital logic. An open drain terminal is connected to ground when a high voltage (logic 1) is applied to the gate, yet presents a high impedance when a low voltage (logic 0) is applied to the gate. This high impedance state occurs because the terminal is at an undefined voltage (floating) thus such a device requires an external pull-up resistor connected to the positive voltage rail (logic 1) in order to provide a logic 1 as output. Microelectronic devices using open drain signals (such as microcontrollers) may provide a weak (high-resistance) ''internal'' pull-up resistor to connect the terminal in question to the positive
power supply A power supply is an electrical device that supplies electric power to an electrical load. The main purpose of a power supply is to convert electric current from a source to the correct voltage, current, and frequency to power the load. As ...
of the device. Such weak pullups, often on the order of 100 kΩ, reduce power usage by keeping input signals from floating and may avoid the need for an external pull-up component. External pullups are stronger (lower resistance, perhaps 3 kΩ) to reduce signal rise times (like with
I²C I2C (Inter-Integrated Circuit, ), alternatively known as I2C or IIC, is a synchronous, multi-controller/multi-target (master/slave), packet switched, single-ended, serial communication bus invented in 1982 by Philips Semiconductors. It is wid ...
) or to minimize noise (like on system inputs). Internal pullups can usually be disabled if they are not wanted.


Pseudo open drain (POD)

The pseudo open drain (POD) drivers have a strong pull-down strength but a weaker pullup strength. A pure open-drain driver, by comparison, has no pullup strength except for leakage current: all the pull-up action is on the external termination resistor. This is why the term "pseudo" has to be used here: there is some pull-up on the driver side when output is at high state, the remaining pull-up strength is provided by parallel-terminating the receiver at the far end to the HIGH voltage, often using a switchable, on-die terminator instead of a separate resistor. The purpose of all this is to reduce the overall power demand compared to using both strong pullup and strong pull-down, as in drivers such as HSTL. DDR4 memory uses POD12 drivers but with the same driver strength (34 Ω/48 Ω) for pull-down (RonPd) and pull-up (RonPu). The term POD in DDR4 referring only for termination type that is only parallel pull-up without the pull-down termination at the far end. The reference point (VREF) for the input is not half-supply as was in DDR3 and may be higher.
JEDEC The JEDEC Solid State Technology Association is an independent semiconductor engineering trade organization and standardization body headquartered in Arlington County, Virginia, United States. JEDEC has over 300 members, including some of the w ...
standardized the POD15, the POD125, the POD135 and the POD12 for 1.5V, 1.35V and 1.2V interface supply voltages. A comparisonPseudo-open drain and Center-tab termination type termination schemes
/ref> of both DDR3 and DDR4 termination schemes in terms of skew, eye aperture and power consumption was published in late 2011.


Open drain, drives high

Typically these outputs connect the pin to ground to represent low, and disconnect to represent high, but they can also connect the pin to the supply voltage to represent high, and disconnect to represent low. This is still "open-collector" or "open-drain", since the driving device is opposite polarity (PNP or P-channel). GPIO pins can usually be configured for either polarity.


See also

*
Common collector In electronics, a common collector amplifier (also known as an emitter follower) is one of three basic single-stage bipolar junction transistor (BJT) amplifier topologies, typically used as a voltage buffer. In this circuit the base terminal ...
* Push–pull output


References


External links

{{Logic Families Digital circuits