On the Internet, I can see some questions about resistance pull-up and drop-down. The pull-up and drop-down operations at the input end are very simple but also very important. The purpose of resistance is described below:
1. Resistance:
------- The connection resistance is used to prevent the input from being suspended.
------- Weaken the interference of external current on the chip
------- Protection of protection diodes in CMOS, the general current is not greater than 10mA
------- Pull-up, drop-down, and throttling
------- Changes the level of potential, often used in TTL-CMOS matching
------- Fixed status when pin is suspended
------- Increase the Driving Capability of high-level output.
------- Provide current for OC Gate
2. Definition:
Pull-up: a resistor is used to connect to the power supply.
Drop-down: through a resistor to the ground.
------- Pulling up is to embed uncertain signals through a resistor at a high level! The resistor can throttling at the same time! The same is true for the drop-down!
------- The upper PULL mode injects current into the device, and the drop-down mode is the output current.
------- Weak and strong only have different resistance values for the pull-up resistor. There is no strict distinction between them.
------- The capability of non-collector (or drain) open-circuit output circuits (such as common door circuits) to increase current and voltage is limited, the pull-up resistance function is mainly used for the output current channel of open collector output circuit.
3. Why do we need to use the pull resistance:
------- When used for single-key trigger, if the IC itself does not have an internal resistance, in order to make the single-key remain in the not triggered status or return to the original status after being triggered, A resistor must be connected to the outside of the IC.
------- The digital circuit has three states: high level, low level, and high resistance. In some applications, high resistance is not expected. You can use the pull-up or drop-down resistor to make it stable, depends on the design requirements!
------- I/O port is generally used, some can be set, some cannot be set, some are built-in, some need to be external, the output of I/O port is similar to the C of a transistor, when C is connected to the power supply through a resistor, the resistor becomes the upper C resistor, that is, if the port is normal, it is high, when C is connected to the ground through a resistor, the resistor is called a drop-down resistor, so that the port is usually low, for example: when a port connected with an active/standby resistor is set to an input state, its normal state is high, which is used to detect low-level input.
------- The pull-up resistor is used to provide current when the bus drive capability is insufficient. The pull current is generally used, and the drop-down resistance is used to absorb the current.
Generally, up/down pulling is useful in two ways: 1) Improving the drive capability of the output signal and 2) determining the level of the input signal (preventing interference ).
8051 of users know that the cpu I/O is usually blocked (up to 5 V), which is mainly used to improve the output drive capability. Because 8051 of the CPU is not a standard I/O port, the output is low and can absorb 20mA of the current at ordinary times, however, when the output is high, it is pulled up through a large internal resistor. When the output is high, the drive capability is poor. Therefore, the level output driving capability is improved through external pull-up.
Generally, each base pole of a transistor has two resistors. One Throttling is an upper or lower drop. The upper and lower latencies are mainly used to determine the level of the input signal. In fact, the goal is to prevent interference, because the input interface of the device generally has a large internal resistance and is vulnerable to interference. The uplink/downlink resistance reduces the input impedance and improves the anti-interference capability.
Generally, components do not need to use the input port to connect to the pull or drop-down resistance. Note that the output interface is not needed.
Example:
In the figure, the two resistors are respectively the drop-down resistor and the top-up resistor. The top-up resistor is to increase the potential of point A, and the drop-down resistor is to lower the potential of point, some of the 12 K in the figure are not drawn, or none.
Their role is to give the node a fixed level when the circuit drive is closed.
|