Open Collector Vs. Totem Pole Outputs

In summary, the optocoupler is more robust than a transistor, but you would need to investigate the specs.
  • #1
cepheid
Staff Emeritus
Science Advisor
Gold Member
5,199
38
Hi,

I have an electrically-actuated shutter that can be either in the "closed" or "open" positions. I want to use optoelectronic switches (slotted switches with an infrared LED source and photodiode detector) at either end that will detect whether the shutter is closed or open. The opto switches I am looking at come in either the open collector output or totem pole output variety (both common output stages used in the TTL logic family, from what I gather). I basically have to make a choice between one or the other. From what I can tell, applications of open collector outputs are the ability to connect the output through a pull up resistor to a supply that is *different* from the chip supply (if interfacing two different kinds of devices). Another application I read about on wikipedia was that several open collector outputs can be tied together to one wire, implementing a sort of logic AND or logic OR configuration (depending on whether you're using positive-true or negative-true logic). Neither of these applications is relevant to me. Since the input pin of the controller to which I'm sending the opto switch signals is rated for 5-24 V, and the Vcc supply to the opto switch is meant to be 5 V, it seems to me that a totem pole output would be fine, and consumes less power overall (in general).

My question is, I've never had to deal with either of these types of outputs before. Are there relative advantages or disadvantages that I've missed. Which type would you choose for this application?
 
Engineering news on Phys.org
  • #2
The main advantage to the logic output is generally that it is faster than you can achieve with the open collector output. So my suggestion would be to look at the speed requirements that you have, and partially base your decision on those. The TTL output is a little more expensive, as you pay for the extra speed. Is there a price difference in the units that you are considering?
 
  • #3
Thanks for your reply berkeman!

The OPTEK website doesn't give prices, nor do their datasheets. This is not uncommon, based on my past experience. My supervisor claims that our distributor would be Digikey, but I can't find OPTEK listed as a manufacturer on their site, nor can I find this product in the optoelectronics category of their catalogue. So I'm sort of stuck. As for the speed requirements, I'll have to look into that, but I should point out that all of the high speed inputs on the controller I'm using are taken up anyway (the controller's purpose is to do something else entirely, and I'm just taking advantage of leftover auxiliary I/O's for these sensors). So I'm left with the low speed inputs.
 
  • #4
You might try running the part numbers through findchips.com -- they check a set of distributors for you, including Digikey.

And on my speed comments, I just meant to check your error budget in speed. The slow rise times of O.C. output gates can introduce offsets and errors in your readings.
 
  • #5
play safe

Hi cepheid
me an old :approve: engineer used to transistors (remember them?)

If the shutter is inductive (a coil) then I might run it anyway, from a transistor separate from the opto device, but run from its output in some way perhaps via a base resistor (etc...). Thats merely because I don't know the optocoupler capabilities, or the power the shutter demands.

Yes open collector (which is what an external transistor would be) is more robust with inductive loads, you never really know what a totem pole pair on a chip gets up to when driving inductive load, the logic outputs are not necessarily designed to have a 'lively' load, and as you know, inductance creates voltage transients as it's switched off, the stored power in the inductor tries to get back into the driving device to escape. :uhh: (technical explanation!)

Thats why often its open collector used, for slower inductive apps, with a diode to suppress switchoff tansients which could destroy the driving semiconductor. Whether you use the open collector optocoupler, or an external transistor, is your decision.

Ideally you do need to investigate the optocoupler spec. if you're driving inductive load directly from its 5volt logic output. But for instance relays are inductive.. if its specified to run a small relay then it might directly run your shutter.

Try it, see if it explodes..:wink:
 

1. What is the difference between an open collector and a totem pole output?

An open collector output is a type of output configuration in which the collector terminal of a transistor is left unconnected, while a totem pole output is a type of output configuration in which both the collector and emitter terminals of a transistor are connected to the output.

2. Which type of output is better for driving external loads?

Totem pole outputs are generally better for driving external loads because they can source and sink current, while open collector outputs can only sink current.

3. Can both open collector and totem pole outputs be used in the same circuit?

Yes, both types of outputs can be used in the same circuit, but they must be connected in a specific way to ensure proper functionality.

4. What are the advantages of using open collector outputs?

One advantage of open collector outputs is that they can be easily connected to other open collector outputs in a wired-OR configuration, allowing multiple outputs to control a single load. They also have a lower power consumption compared to totem pole outputs.

5. When should I use a totem pole output versus an open collector output?

Totem pole outputs are better suited for driving high current loads or for applications where both sourcing and sinking current is necessary. Open collector outputs are more suitable for low power applications or when multiple outputs need to be connected in a wired-OR configuration.

Similar threads

  • Electrical Engineering
Replies
5
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
8K
  • Electrical Engineering
2
Replies
49
Views
5K
Replies
3
Views
4K
  • DIY Projects
Replies
3
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
34
Views
2K
  • Electrical Engineering
Replies
4
Views
3K
  • General Engineering
Replies
8
Views
1K
  • Electrical Engineering
Replies
1
Views
5K
Back
Top