EngineerPlay

⁦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.⁩

⁦A transistor switch: a pin drives the base through R_b, and the transistor switches a lamp on the supply V_cc⁩התוויות המוצגות, לפי סדר הציור: +, ⁦B⁩, ⁦C⁩, ⁦E⁩, ⁦R_L⁩, ⁦pin⁩, ⁦R_b⁩, ⁦V_in = 3.3 V⁩, ⁦V_cc = 12 V⁩, ⁦R_L = 270 Ω⁩, ⁦β = 120⁩, ⁦R_b⁩ = ?.+BCER_L⁦pin⁩R_bV_in = 3.3 VV_cc = 12 VR_L = 270 Ωβ = 120R_b = ?
הצגת דרך הפתרון
  1. רשמו מה נתון: ⁦V_in = 3.3 V⁩, ⁦V_cc = 12 V⁩, ⁦R_L = 270 Ω⁩, ⁦β = 120⁩, ⁦k = 3⁩.
  2. ⁦First the collector current with the transistor saturated: I_c = (12 V − 0.2 V) : 270 Ω ≈ 43.70 mA.⁩
  3. ⁦Then the base current, k times the least: I_b = 3 · 43.70 mA : 120 ≈ 1.093 mA.⁩
  4. ⁦R_b takes the pin voltage less V_BE at that base current: R_b = (V_in − V_BE) : I_b.⁩
  5. חשבו ועגלו ל-⁦3⁩ ספרות משמעותיות: ⁦R_b = (3.3 V − 0.7 V) : 1.093 mA ≈ 2.38 kΩ⁩.
  6. ⁦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 : β.⁩ דף נוסחאות

טעויות נפוצות

אלה התשובות השגויות שמוצעות בשאלות התרגול, והטעות שמובילה לכל אחת מהן.

שאלות

מהי הנוסחה של ⁦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⁩.