ULN2003 sinking 5 and 12 volt signals. Where to tie common pin.
Dave E
Posts: 52
Hello all.
I am using a ULN2003 IC to boost the power of my stamp outputs. The issue is that I am sinking both 5 and 12 volt signals. I assume that I tie the kick back diode common pin (pin 9 on ULN2003)·to +12 volts since that is the higher of the two voltages used.
See page 4 of the attached N&V article for a functional drawing of the IC.
The reasoning is that if the diode common pin is at +12 volts then under normal circumstances , that is with the output off so no pins actively sinking current,·depending on weather the output is tied to a 5 or 12 volt inductive load (relay coil), the·diode will have either 5 or 12 volts at the anode and 12 volts on the cathode so the diode will not be forward biased.
However, if the common pin is tied to +5 volts, then the diode associated with the 12 volt relay coil will have 12 volts on the diode anode and 5 volts on the diode cathode. This will forward bias (with gusto) the diode.
So, can someone confirm that as a general rule of thumb, when using the ULN2003 ICs, the common cathode pin should be tied to the higher supply voltage when using more than one supply voltage on the load side of the outputs.
Thanks for the input.
Dave E
Post Edited (Dave E) : 4/23/2009 1:07:52 AM GMT
I am using a ULN2003 IC to boost the power of my stamp outputs. The issue is that I am sinking both 5 and 12 volt signals. I assume that I tie the kick back diode common pin (pin 9 on ULN2003)·to +12 volts since that is the higher of the two voltages used.
See page 4 of the attached N&V article for a functional drawing of the IC.
The reasoning is that if the diode common pin is at +12 volts then under normal circumstances , that is with the output off so no pins actively sinking current,·depending on weather the output is tied to a 5 or 12 volt inductive load (relay coil), the·diode will have either 5 or 12 volts at the anode and 12 volts on the cathode so the diode will not be forward biased.
However, if the common pin is tied to +5 volts, then the diode associated with the 12 volt relay coil will have 12 volts on the diode anode and 5 volts on the diode cathode. This will forward bias (with gusto) the diode.
So, can someone confirm that as a general rule of thumb, when using the ULN2003 ICs, the common cathode pin should be tied to the higher supply voltage when using more than one supply voltage on the load side of the outputs.
Thanks for the input.
Dave E
Post Edited (Dave E) : 4/23/2009 1:07:52 AM GMT
Comments
I thought I had things right but this was the first time that I was using two different voltage levels and I do not remember seeing anything about this in the data sheet.
Thanks again,
Dave E
If the COM pin is at 12V and·some coil's source voltage·is a separate 5V supply then the diode for that gate is not across that coil.
The OP proposes exactly to,·owing to·some false notion of economy,·run 5V and 12V inductive loads from the same 2003, mixing it up:
It's not me, it's him.· OK?
Correct me if I am wrong, please, but the kick back diodes are for bypassing spikes caused by collapsing magnetic fields. These spikes can be in the form of many tens or hundreds of volts. After all, spark plug sparks are generated with collapsing magnetic fields. When the 5 volt coil collapses it generates a neg. spike, that voltage is placed on the anode of the bypass diode. If the cathode is at +5 then the output of the ULN will see a max of +5.7 ish volts. If the cathode is at +12 then the output will see a max of 12.7 volts. This is the same voltage that would be seen at the output if that output were used to sink a 12 volt signal. Per the specs, the output is good to 50 volts. The only difference I can see is that it might take a few milliseconds longer to collapse the field. Other than that, I see no issue as long as the load is purely inductive.
Dave E
Post Edited (Dave E) : 4/25/2009 1:21:31 AM GMT
Go ahead and do what you want to do, though, my work here is done.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
Will add individual diodes to the +5 coils.
Dave E
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering