Selection and calculation of the pull-up and pull-down resistors on the "water-cooled resistor"
Selection and calculation of the pull-up and pull-down resistors on the "water-cooled resistor"
In various common technical documents, some technical specifications state that "unused pins must not be left floating; they must be connected to pull-up or pull-down resistors to ensure a definite working state."
This statement is basically correct, but it is not entirely accurate. The following will provide a detailed explanation.
The design of the pull-up and pull-down resistors on the pins has two main purposes:
One is that in normal operation or in the case of a single fault, the pins should not exhibit any abnormal states, such as the pins becoming disconnected due to the detachment of the connectors.
Secondly, from the perspective of power consumption, it means that during the long period of waiting state of the pin, the resistance of the pin port should not consume too much current, especially for battery-powered devices.
From the perspective of anti-interference, the signal port is preferably equipped with an upper pull-up resistor. When in standby mode, the source end input is usually in a high-impedance state. Without an upper pull-up resistor or a lower pull-down resistor, the input wire exhibits an antenna effect. Once the pin is subjected to radiation interference, the input state of the pin is very likely to be changed due to the induction. Therefore, this resistor must be added. The next question is whether to use an upper pull-up resistor or a lower pull-down resistor.
If a pull-down resistor is added, in normal conditions, the input will show a low level. However, when radiation interference comes in, it will be discharged to the ground through the pull-down resistor, resulting in a transition from Low to High, causing a false trigger. It's like a beggar; if you give him 100,000 yuan, his lifestyle will undergo a change from being poor to being rich.
However, if an upper pull-up resistor is added, in normal conditions, the input behaves as a high level. When external radiation interference comes in, it doesn't matter if it's low. The pull-up resistor will clamp the input terminal to a high level. If the radiation interference is strong and exceeds the Vcc level, the high-level interference on the wire will be discharged through the pull-up resistor to Vcc. No matter what the interference is, it will only cause a change from High to Higher, and will not result in a false trigger. It's like someone was originally a wealthy person, and you gave him 100,000 yuan. His lifestyle won't change in any way.
Next:
Related Posts
Understanding Aluminum Casing Wirewound Power Resistors: Applications and Benefits