Sinking and Sourcing

Innen: apaboard
A lap korábbi változatát látod, amilyen Bkbadmin (vitalap | szerkesztései) 2017. május 6., 12:11-kor történt szerkesztése után volt. (Új oldal, tartalma: „category:Fogalmak <categorytree mode=all style="float:right; clear:right; margin-left:1ex; border:1px solid gray; padding:0.7ex; background-color:white;">Edu</categ…”)
(eltér) ← Régebbi változat | Aktuális változat (eltér) | Újabb változat→ (eltér)
Ugrás a navigációhoz Ugrás a kereséshez

Sinking and Sourcing

http://digital.ni.com


What Is the Difference Between the Terms Sinking and Sourcing?


Hardware: FieldPoint, Digital I/O (DIO), Compact FieldPoint, Multifunction DAQ (MIO)


Problem: I am setting up the digital inputs and outputs on my system, and I want to make sure that I have enough current to drive the correct digital level. How do I know whether to use the sinking or the sourcing digital I/O?

Solution: Sinking and Sourcing are terms used to define the control of direct current flow in a load. A sinking digital I/O (input/output) provides a grounded connection to the load, whereas a sourcing digital I/O provides a voltage source to the load.

Consider a simple circuit that consists of one digital input connected to a digital output. The circuit needs a voltage source, a ground, and a load. A sourcing digital I/O provides the voltage needed for the circuit. A sinking digital I/O provides the ground needed in the circuit. The digital input provides the load required for the circuit to work.

Figure 1 shows a sinking digital output that is connected to a sourcing digital input. In this circuit, the load is pulled to ground because of the sinking digital input provided. Figure 1: Sinking Digital Output Circuit SinkingOutput.png

Figure 2 shows a sourcing digital output that is connected to a sinking digital input. In this circuit, the load is pulled up to receive voltage because the sourcing digital input has been provided. Figure 2: Sourcing Digital Output Circuit SinkingInput.png

Because both a voltage source and a ground reference are needed in order to create a complete circuit, you must have a sourcing input or output connected to a sinking output or input. If you wish to connect a sourcing input to a sourcing output or a sinking input to a sinking output, you will need to add an additional resistor. For further information on connecting two I/O of the same type, please refer to