What’s All This Sink and Source Current Stuff?

What’s All This Sink and Source Current Stuff?


Anyone who has connected to the digital outputs of data acquisition or data logger systems has wrestled with  sink and source current specs, and they continue to be a topic of confusion for many. When does sink current matter, and what is it? Same for source current.

References to sink and source current are made relative to the current switching device inside the system. In most cases, that’s a simple transistor. Source current refers to the ability of the digital output port to supply current. Sink current refers to the ability of the port to receive current. The following figure may help.

In the above, our goal is to light a simple light-emitting diode using the switching ability of a digital output port. The top shows a current source application, and the bottom a current sink approach. Notice the direction of current in both cases: Source supplies current and sink receives current. When the port supplies (or sources) current it’s limited by the current limiting resistor R. You may or may not be able to draw enough current to light the LED depending upon its current requirements, but in any event you won’t damage the port. Let’s assume that the LED lights very dimly (or not at all) so that sourcing current is not an option. In other words, the digital port cannot provide (or source) enough current. What can you do?

One option is to provide your own power source, one that can provide adequate current, use the port to control whether or not the current flows, and thus turn the LED on and off. This configuration is shown at the bottom, of the figure. Now the digital port no longer supplies (sources) current but is configured to receive (or sink) it. To prevent damage to the port you need to be cognizant of its maximum sink current spec. Sinking more than this figure will fry transistor switch Q and render the digital port permanently inoperative.

Now let’s put some meat on this application and assume that the maximum current sink spec for a given digital output port is 10 mA. We ignore any LEDs that require more current than 10 mA and locate one that’s rated for 5 mA and has a forward voltage of 2 V. Ignoring the ON resistance of Q (usually very small), we can calculate Rsink to be (5-2)/0.005 = 600 Ohms to ensure that the port doesn’t sink more than 5 mA, well below its 10 mA maximum rating.

A final point is to note that the control signal at Q’s base for the current source versus the sink application is inverted. A logical 1 applied to Q’s base in the current source application turns the LED off. A logical 1 turns it on for the current sink application.


tips:from http://www.dataq.com/blog/faqs/whats-all-this-sink-and-source-current-stuff/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值