UliEngineering Python kütüphanesini kullanarak üst direnç değeri ve bölme oranı verildiğinde bir gerilim bölücünün alt direncini kolayca hesaplayabilirsiniz:
Ω
⚠
⚠
bottom_resistor_by_ratio.py
from UliEngineering.Electronics.VoltageDivider import *
from UliEngineering.EngineerIO import *
# 10k üst direnç ve 0.5 oran için alt direnci hesapla
rbottom = bottom_resistor_by_ratio("10k", 0.5)
print(f"Bottom resistor (ratio 0.5, top 10k): {format_value(rbottom, 'Ω')}")
# 9k üst direnç ve 0.1 oran için alt direnci hesapla
rbottom = bottom_resistor_by_ratio("9k", 0.1)
print(f"Bottom resistor (ratio 0.1, top 9k): {format_value(rbottom, 'Ω')}")Örnek çıktı
bottom_resistor_by_ratio_output.txt
Bottom resistor (ratio 0.5, top 10k): 10.0 kΩ
Bottom resistor (ratio 0.1, top 9k): 1.00 kΩAlt direnç şu formülle hesaplanır: $R_{bottom} = R_{top} \times \frac{ratio}{1 - ratio}$; burada oran $V_{out}/V_{in}$‘dir.
İlgili yazılar
Check out similar posts by category:
Hesaplayıcılar Elektronik Python
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow