Current Sourcing (拉電流) and Current Sinking(灌電流)

本文详细解释了电子学中电流源和电流阱的概念,通过电路图直观展示了两种配置的区别。电流源是指设备向负载供电,而电流阱则是指电流从电源经过负载流入设备。文章还提供了具体的实例,如微控制器如何在不同配置下控制LED。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Current Sourcing and Sinking

Current sourcing and sinking is often mentioned in relation to electronics, digital systems and microcontrollers, but what is current sourcing and what is current sinking?
Current sourcing and sinking refers to the way that an external load is connected to a circuit, system, microcontroller or other electronic device.

Circuit Diagram

The circuit diagram below shows the difference between current sourcing and current sinking.
1070734-20170718100738849-1844461733.png

Current Sourcing (left) and Current Sinking (right)

The load in the circuit diagram is shown as a 1k resistor, but can be any load that draws a current such as an LED and series resistor, the coil of a relay, a light bulb, etc.
The device in the circuit diagram can be any electronic circuit or device such as a microcontroller, FPGA, CPLD, logic circuit, etc.

Current Sourcing

When a load is connected to a device so that the device supplies current to the load (sources current) then the configuration is said to be current sourcing.
An example is a series resistor and LED connected between a microcontroller pin and GND. When the microcontroller pin is switched high (logic 1) then the microcontroller will source current to the load. In this configuration a logic 1 will supply power to the load (switch the LED on) and a logic 0 will switch power to the load off (switch the LED off).

Current Sinking

When a load is connected to a device so that current flows from the power supply through the load and into the device, then the configuration is said to be current sinking. When current flows into the device, it is said to be sinking current.
An example of current sinking is when a series resistor and LED is connected between power (e.g. +5V) and a microcontroller pin. When the microcontroller pin is switched high (logic 1) then the current to the load is switched off. When the microcontroller switches the pin low (logic 0), current flows through the load.

Reference

https://startingelectronics.org/articles/current-sourcing-sinking/

转载于:https://www.cnblogs.com/youchihwang/p/7199004.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值