Open Collector
Q is the value in the internal register corresponding to the output pin.
Usual CMOS output: When Q is high, P is off and N is on. When Q is low, P is
on and N is off.
(TTL is the same except P is PNP and N is NPN)
Vcc-------+
|
---[ P channel FET
| |
Q ---| +----------Out
| |
---[ N channel FET
|
Vss-------+
Open drain output: When Q is high, N is on, output sinks current. When Q is
low, N is off, output is high-impedance.
Vcc-------+ (a pullup resistor between Vcc and Out gives you a logic 1 when
N is off)
+--------- Out
|
Q ---[ N channel fet
|
Vss-------+
This configuration is
often used in what is called 'wired OR'. Any number of open-drain
devices can sit on the same bus, with an external pull-up resistor.
The un-asserted state is high (negative logic). Any one of the
devices on the bus can pull the signal low to its asserted state,
hence creating an OR function on the bus.
The open-collector is often used on interrupt lines. A number of
devices sit on the one interrupt signal, and any one of the devices
can assert the signal by driving it low. You can add and remove
devices from the bus as necessary. This wouldn't be possible with
normal logic outputs, because one device would be driving the bus high
while another would be driving it low. But an open drain can't drive
a signal high, hence the need for an external pull-up. It can only
pull a signal low.
file: /Techref/logic/opencollector.htm,
1KB, , updated: 2005年7月27日 09:34, local time: 2025年9月4日 04:29,
owner:
JMN-EFP-786,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://techref.massmind.org/techref/logic/opencollector.htm"> Open Collector</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to techref.massmind.org!
.