Transistor switch formulas
An NPN switch takes I_b = (V_in − 0.7 V) / R_b into its base. Saturated, it keeps only V_CE(sat) ≈ 0.2 V, so the load sets I_c = (V_cc − 0.2 V) / R_L, and the base needs I_c / β, given k = 2 to 10 times that: R_b = (V_in − 0.7 V) / I_b.
הנוסחאות
| נוסחה | מה היא נותנת | סמלים |
|---|---|---|
I_b = (V_in − V_BE) : R_b | base current from a pin through R_b | V_BE ≈ 0.7 V for a conducting silicon transistor; R_b in Ω gives I_b in A |
I_c = (V_cc − V_CE(sat)) : R_L | load (collector) current, saturated | V_CE(sat) ≈ 0.2 V; valid while β × I_b is at least this current |
I_b = I_c : β | least base current that saturates | β (h_FE) = the current gain from the data sheet; use its lowest value |
I_b = k · I_c : β | base current with an overdrive k | k = 2 to 10 makes sure the transistor saturates even with a low β |
R_b = (V_in − V_BE) : I_b | base resistor for a base current | with I_b = I_c / β it gives the largest R_b that still saturates |
I_c = β · I_b | collector current when not saturated | when β × I_b is less than (V_cc − 0.2 V) / R_L: the transistor is only partly on |
P = V_CE(sat) · I_c | power wasted in a saturated transistor | leaving out the small base power V_BE × I_b |
P_L = (V_cc − V_CE(sat)) · I_c | power in the load | or I_c² × R_L; the supply gives V_cc × I_c in all |
R = (V_cc − V_f − V_CE(sat)) : I | series resistor of an LED switched by a transistor | V_f = the LED's forward voltage (about 2 V red, 3.2 V white) |
V_out = V_CE(sat) | NOT gate output, input high | the transistor saturates and pulls the collector low |
V_out = V_cc · R_L : (R_c + R_L) | NOT gate output, input low, with a load | the transistor is off, so R_c and the load make a divider; with no load V_out = V_cc |
V_C = V_cc + V_D | collector at switch-off with a flyback diode | the diode across the coil, cathode towards +V_cc, carries the coil's current round; V_D ≈ 0.7 V |
V_C = V_cc + V_D + V_Z | collector at switch-off with a diode and a zener | the zener lets the current die away faster, so the relay drops out sooner |
דוגמה פתורה
הדוגמה הזו נוצרת באותו קוד שיוצר את שאלות התרגול. פתחו את הפתרון כדי לראות כל שלב.
The lamp must switch fully on, with V_CE(sat) = 0.2 V across the transistor. The base gets 3 times the least base current I_c : β, and V_BE = 0.7 V. What base resistor R_b is needed? Give your answer to 3 significant figures.
תשובה: 2.38 kΩ. The load current, then k · I_c : β for the base, and R_b takes V_in − V_BE: R_b = (3.3 V − 0.7 V) : 1.093 mA ≈ 2.38 kΩ.
הצגת דרך הפתרון
- רשמו מה נתון: V_in = 3.3 V, V_cc = 12 V, R_L = 270 Ω, β = 120, k = 3.
- First the collector current with the transistor saturated: I_c = (12 V − 0.2 V) : 270 Ω ≈ 43.70 mA.
- Then the base current, k times the least: I_b = 3 · 43.70 mA : 120 ≈ 1.093 mA.
- R_b takes the pin voltage less V_BE at that base current: R_b = (V_in − V_BE) : I_b.
- חשבו ועגלו ל-3 ספרות משמעותיות: R_b = (3.3 V − 0.7 V) : 1.093 mA ≈ 2.38 kΩ.
- Check: a bigger R_b gives less base current; a smaller one only drives it harder. תשובה: 2.38 kΩ.
למה לא האחרות?
- 3.02 kΩ Leaves out V_BE; the base-emitter junction takes 0.7 V of the pin voltage.
- 7.14 kΩ Leaves out the overdrive k; that is only the least base current I_c : β.
זכרו: Base resistor: R_b = (V_in − V_BE) : I_b, with I_b = k · I_c : β; the largest R_b gives just I_c : β. דף נוסחאות
טעויות נפוצות
אלה התשובות השגויות שמוצעות בשאלות התרגול, והטעות שמובילה לכל אחת מהן.
- Using 0.7 V for the saturated transistor: collector to emitter it keeps only V_CE(sat) ≈ 0.2 V.
- Giving the base only I_c / β: a low β or a warm transistor then leaves it partly on; use 2 to 10 times that.
- Taking β × I_b as the current when the transistor is saturated: the load limits it to (V_cc − 0.2 V) / R_L.
- Putting the flyback diode the wrong way round: with its anode at +V_cc it shorts the supply when the transistor turns on.
שאלות
מהי הנוסחה של base current from a pin through R_b?
I_b = (V_in − V_BE) : R_b. סמלים: V_BE ≈ 0.7 V for a conducting silicon transistor; R_b in Ω gives I_b in A.
מהי הנוסחה של load (collector) current, saturated?
I_c = (V_cc − V_CE(sat)) : R_L. סמלים: V_CE(sat) ≈ 0.2 V; valid while β × I_b is at least this current.
מהי הנוסחה של least base current that saturates?
I_b = I_c : β. סמלים: β (h_FE) = the current gain from the data sheet; use its lowest value.