Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

6514 with OC buffer

I have a 6514 output signal that I can toggle between 0 & 5V via LabView. I send this signal to a SN7407N open-collector buffer.
The buffer is powered by a seperate 5V supply than the supply used to generate the input signal on the SCB100 board.
With the 6514 signal totally disconnected from the 7407 :
7407 input = 1.7V       7407 output = 0V
With the 6514 signal connected to the 7407 input & LOW (0V) :
7407 input  = 1.7V    7407 output = 0V
with the 6514 signal connected to the 7407 input & HI (5V) :
7407 input = 5V     7407 output = 0V

Using a pull-up resistor at the 7407 output just makes the 7407 output = 5V no matter what the input is.
I'm confused by several things :
* why the 1.7V exists in the first place ?
* why the 6514 signal value is not replicated at the 7407 input (even though I wired it straight to it!)

How should I connect the 6514 signal to make it buffered ?

Any help would be greatly appreciated.

ak
0 Kudos
Message 1 of 9
(4,691 Views)
I've gotten a better understanding of the issue. All I have now is the 6514 card driving a relay driver whose current draw is less than 0.1mA. (no buffer).
On the 6514, I use a 5V power supply for Vcc & connect the signal (in my case port 5 line 0) to the driver.
With LabView not even running :
             as soon as turn on my Vcc supply, I get 4V on the signal line !
I'm trying to understand why ?

When the signal is disconnected from the driver, everything works fine :
0V when Vcc = 5V & LabView not running or LabView sets the signal LOW
5V when Vcc = 5V & LabView sets the signal HIGH

ak

0 Kudos
Message 2 of 9
(4,682 Views)
Hi cig,

Regarding the SN7407N, I would recommend checking the datasheet for that IC to find out more information on the expected behavior.  To address your question about the relay driver, I'm assuming you are using a separate power supply for the driver than you are using to provide the Vcc input on your 6514.  If so, are you tying the grounds of those two power supplies together so that they share a common ground?  It could be that the driver is sitting at a higher potential than your Vcc power supply and results in the offset on the signal line.

Because the 6514 output and LabVIEW interaction is working without the driver in the setup, it leads me to believe there is an issue in the grounding when adding the relay driver.

Regards,
Andrew W
National Instruments
0 Kudos
Message 3 of 9
(4,668 Views)
Andrew,

   I tied the grounds together & here's what I observe :
               with LabView off : the 6514 output line when conected to the driver outputs 4V (should be 0V)
               with LabView on & output commanded to LOW : output line reads 4V (should be 0V)
               with LabView on & output commanded to HI : output line reads 5V (correct)

               with the 24V power supply for the driver turned off :
                           6514 output line commanded to LOW : 0V (correct)
                           6514 output line commanded to HI : 4V (should be 5V)

Seems like the driver chip is acting a low impedance load & pulls the output line down from 5 to 4V ?
I'll look into the datasheet for the driver.



0 Kudos
Message 4 of 9
(4,652 Views)
Hi cig,

If you isolate the relay driver with no connection to the 6514, what voltage do you read at the input of the relay driver with the 24V supply turned on?  If you have another relay driver chip that you have not interfaced with the 6514, does it read the same voltage when powered?  When the 24V supply is off, it does sound like the relay driver has a low input imedance that is causing the voltage to go down.  Also take into consideration that the 5V supply that you have connected to the 6514 could be providing more current to the relay driver than it is spec'd at, and the relay driver chip could have a short as a result.

Regards,
Andrew
0 Kudos
Message 5 of 9
(4,644 Views)
With the driver powered at 24V & isolated from the 6514 the input reads ~3.4V - this is OK per the spec sheet.
Then I connect the 6514 line & the input still reads 3.4 (should be 0).
I'm pretty sure that driver is good & has no shorts - when I use a flip switch, bypassing the 6514, I get all the right voltages at all the pins.

With 24V supply off :
I measured the driver input currents to be < 100uA in the flip switch circuit & the same when I connect the 6514 - this is well below the max source current per IO pin possible with the 6514 (~100mA if I remember right?). The voltages at the input are :
0V when commanded LO & 4V when commanded HI (should be 5).

The driver I'm using is the TI DRV101; it's input currents are < 80uA, so I'm expecting not to need a buffer when connecting the 6514 line to the DRV101. I know the 6514 can only source current, but I think that's ok.

0 Kudos
Message 6 of 9
(4,640 Views)
I looked at the spec sheet for your driver, and did see the information about how the input line defaults to 3.4 volts when floating.  It looks like when the 6514 is connected to the input pin of your driver and driven to LOW, it is not referencing the pin to ground but instead allowing it to float.  I have attached an image of the typical connection scheme for the 6514.  Make sure that you have the grounds connected so that when the card is set to output a LOW it references the input pin on your driver to ground rather than having it float.

Concerning having the 24V supply being off, the 4V that you see sounds like it is because the voltage is dividing down due to a lower impedance than when power is supplied to the driver.

Regards,
Andrew
Message 7 of 9
(4,623 Views)
Andrew,

    I think I'm getting the big picture. True - the shift from 5 to 4V is a consequence of driving a low-impedance load. This is why I have to buffer the 6514 outputs (just out of curiousity, why wasn't the 6514 built with buffered outputs to begin with ?).

    The 3.4V floating issue is something I also see when using the 7407 buffer. Attached is a picture of my schematic. When I don't use the 6514, the 7407 works fine. So the problem must be with introducing the DAQ card. I attach the 6514 signal & note that the 6514 GND is connected to the power supply GND. See the table of values I get when commanding the 6514 output HI & LO.

     I think the issue is that the 6514 can not sink current but can only source. When sending the output HI it's sourcing, when sending it LO it needs to sink but can't. Even if I connect the 6514 GND to A1, the 7407 still floats.
Do you agree ? Is there any way I can use the 6514 & have the ability to sink as well as source ?

ak

0 Kudos
Message 8 of 9
(4,615 Views)
Hi cig,

You're right, the 6514 is a sourcing output, whereas the 6515 is a sinking output.  It sounds like the 7407 buffer you are using has a sourcing input, and the best way to connect the output of the 6514 with a sourcing input involves the use of a pull-down resistor.  Here is a KnowledgeBase article that provides more detailed information about this:
How Do I Connect Two Sinking I/O or Two Sourcing I/O Together?

That should allow the input of the 7407 to not float when connected to the 6514 LOW.

Regards,
Andrew


Message 9 of 9
(4,580 Views)