Chapter 3 Special Diodes

Exa 3.1 Page No 53

In [2]:
# given data
Vin= 12.0##  V
V_LED= 2##  V
Rs= 470##  Ω
Vs= Vin-V_LED##  V
# The LED current 
I= Vs/Rs##  A
I= I*10**3##  mA
print "The LED current = %.2f mA"%I
The LED current = 21.28 mA

Exa 3.2 Page No 53

In [3]:
# given data
Vin= 5.0##  V
V_LED= 2.0##  V
Rs= 470.0##  Ω
Vs= Vin-V_LED##  V
# When supply voltage is 5 V, the LED current
I= Vs/Rs##  A
I= I*10**3##  mA
print "When supply voltage is 5 V, the LED current = %.2f mA"%I
Vin= 10##  V
Vs= Vin-V_LED##  V
# When supply voltage is 10 V, the LED current
I= Vs/Rs##  A
I= I*10**3##  mA
print "When supply voltage is 10 V, the LED current = %.2f mA"%I
Vin= 15##  V
Vs= Vin-V_LED##  V
# When supply voltage is 15 V, the LED current
I= Vs/Rs##  A
I= I*10**3##  mA
print "When supply voltage is 15 V, the LED current = %.2f mA"%I
Vin= 20##  V
Vs= Vin-V_LED##  V
# When supply voltage is 20 V, the LED current
I= Vs/Rs##  A
I= I*10**3##  mA
print "When supply voltage is 20 V, the LED current = %.2f mA"%I
When supply voltage is 5 V, the LED current = 6.38 mA
When supply voltage is 10 V, the LED current = 17.02 mA
When supply voltage is 15 V, the LED current = 27.66 mA
When supply voltage is 20 V, the LED current = 38.30 mA

Exa 3.4 Page No 61

In [4]:
# given data
C1= 560.0##transistor capacitance at 1V = %.2f pF
C2= 30##transistor capacitance at 10V = %.2f pF
# The tuning range 
tuningRange= C1/C2#
print "The tuning range = %.2f"%tuningRange
The tuning range = 18.67

Exa 3.5 Page No 68

In [5]:
# given data
Vin_min= 20.0##  V
Vin_max= 40.0##  V
Vz= 10.0##  V
Rs= 820.0##  Ω
# The minimum zener current,
Iz_min= (Vin_min-Vz)/Rs##  A
# The maximum zener current, 
Iz_max= (Vin_max-Vz)/Rs##  A
# The output voltage,
Vout= Vz##  V
Iz_min= Iz_min*10**3##  mA
Iz_max= Iz_max*10**3##  mA
print "The minimum zener current = %.2f mA"%Iz_min
print "The maximum zener current = %.2f mA"%Iz_max
print "The output voltage = %.2f V"%Vout
The minimum zener current = 12.20 mA
The maximum zener current = 36.59 mA
The output voltage = 10.00 V

Exa 3.6 Page No 70

In [6]:
# given data
Rs= 820.0##  Ω
Rz= 17.0##  Ω
R_T= Rs+Rz##  Ω
Vz= 10.0##  V
Vin_min= 20.0##  V
Vin_max= 40.0##  V
# The minimum zener current 
Iz_min= (Vin_min-Vz)/R_T##  A
# The maximum zener current 
Iz_max= (Vin_max-Vz)/R_T##  A
# The minimum output voltage 
Vout_min= Vz+Iz_min*Rz##  V
# The maximum output voltage 
Vout_max= Vz+Iz_max*Rz##  V
Iz_min= Iz_min*10**3##  mA
Iz_max= Iz_max*10**3##  mA
print "The minimum zener current = %.2f mA"%Iz_min
print "The maximum zener current = %.2f mA"%Iz_max
print "The minimum output voltage = %.2f V"%Vout_min
print "The maximum output voltage = %.2f V"%Vout_max
The minimum zener current = 11.95 mA
The maximum zener current = 35.84 mA
The minimum output voltage = 10.20 V
The maximum output voltage = 10.61 V

Exa 3.7 Page No 72

In [7]:
# given data
P= 100.0## power rating = %.2f mW
V= 6.2##  V
# The maximum current rating 
I_ZM= P/V##  mA
print "The maximum current rating = %.2f mA"%I_ZM
The maximum current rating = 16.13 mA

Exa 3.8 Page No 73

In [8]:
# given data
Vz= 12.0##  V
Vout= Vz##  V
Vin= 25.0##  V
R_S= 180.0##  Ω
R_L= 200.0##  Ω
# The value of I_S 
I_S= (Vin-Vout)/R_S##  A
# The value of I_L 
I_L= Vout/R_L##  A
# The value of I_Z 
I_Z= I_S-I_L##  A
I_S= I_S*10**3##  mA
I_L= I_L*10**3##  mA
I_Z= I_Z*10**3##  mA
print "The value of I_S = %.2f mA"%I_S
print "The value of I_L = %.2f mA"%I_L
print "The value of I_Z = %.2f mA"%I_Z
The value of I_S = 72.22 mA
The value of I_L = 60.00 mA
The value of I_Z = 12.22 mA

Exa 3.9 Page No 73

In [11]:
# given data
print "(i) For 200 Ω load resistance"
R_L= 200.0##  Ω
Vz= 12.0##  V
Vout= Vz##  V
Vin= 25.0##  V
R_S= 180.0##  Ω
# The value of I_S 
I_S= (Vin-Vout)/R_S##  A
# The value of I_L 
I_L= Vout/R_L##  A
# The value of I_Z 
I_Z= I_S-I_L##  A
I_S= I_S*10**3##  mA
I_L= I_L*10**3##  mA
I_Z= I_Z*10**3##  mA
print "The value of I_S = %.2f mA"%I_S
print "The value of I_L = %.2f mA"%I_L
print "The value of I_Z = %.2f mA"%I_Z
print "(ii) For 400 Ω load resistance"
R_L= 400##  Ω
# The value of I_S 
I_S= (Vin-Vout)/R_S##  A
# The value of I_L 
I_L= Vout/R_L##  A
# The value of I_Z 
I_Z= I_S-I_L##  A
I_S= I_S*10**3##  mA
I_L= I_L*10**3##  mA
I_Z= I_Z*10**3##  mA
print "The value of I_S = %.2f mA"%I_S
print "The value of I_L = %.2f mA"%I_L
print "The value of I_Z = %.2f mA"%I_Z
print "(iii) For 600 Ω load resistance"
R_L= 600##  Ω
# The value of I_S 
I_S= (Vin-Vout)/R_S##  A
# The value of I_L 
I_L= Vout/R_L##  A
# The value of I_Z 
I_Z= I_S-I_L##  A
I_S= I_S*10**3##  mA
I_L= I_L*10**3##  mA
I_Z= I_Z*10**3##  mA
print "The value of I_S = %.2f mA"%I_S
print "The value of I_L = %.2f mA"%I_L
print "The value of I_Z = %.2f mA"%I_Z
print "(iv) For 800 Ω load resistance"
R_L= 800##  Ω
# The value of I_S 
I_S= (Vin-Vout)/R_S##  A
# The value of I_L 
I_L= Vout/R_L##  A
# The value of I_Z 
I_Z= I_S-I_L##  A
I_S= I_S*10**3##  mA
I_L= I_L*10**3##  mA
I_Z= I_Z*10**3##  mA
print "The value of I_S = %.2f mA"%I_S
print "The value of I_L = %.2f mA"%I_L
print "The value of I_Z = %.2f mA"%I_Z
print "(v) For 1 kΩ load resistance"
R_L= 1*10**3##  Ω
# The value of I_S 
I_S= (Vin-Vout)/R_S##  A
# The value of I_L 
I_L= Vout/R_L##  A
# The value of I_Z 
I_Z= I_S-I_L##  A
I_S= I_S*10**3##  mA
I_L= I_L*10**3##  mA
I_Z= I_Z*10**3##  mA
print "The value of I_S = %.2f mA"%I_S
print "The value of I_L = %.2f mA"%I_L
print "The value of I_Z = %.2f mA"%I_Z
(i) For 200 Ω load resistance
The value of I_S = 72.22 mA
The value of I_L = 60.00 mA
The value of I_Z = 12.22 mA
(ii) For 400 Ω load resistance
The value of I_S = 72.22 mA
The value of I_L = 30.00 mA
The value of I_Z = 42.22 mA
(iii) For 600 Ω load resistance
The value of I_S = 72.22 mA
The value of I_L = 20.00 mA
The value of I_Z = 52.22 mA
(iv) For 800 Ω load resistance
The value of I_S = 72.22 mA
The value of I_L = 15.00 mA
The value of I_Z = 57.22 mA
(v) For 1 kΩ load resistance
The value of I_S = 72.22 mA
The value of I_L = 12.00 mA
The value of I_Z = 60.22 mA

Exa 3.10 Page No 73

In [12]:
# given data
R_Z= 7.0##  Ω
I_Z1=12.2##  mA
I_Z2=60.2##  mA
deltaV_Z=(I_Z2-I_Z1)*R_Z##  mV
deltaV_Z= deltaV_Z*10**-3##  V
Vz= 12##  V
# The output voltage,
Vout= Vz+deltaV_Z##  V
print "The output voltage = %.2f V"%Vout
The output voltage = 12.34 V

Exa 3.11 Page No 74

In [13]:
# given data
Vz= 12.0##  V
Vin= 15.0##  V
R_S= 200.0##  Ω
R_L= 1*10**3##  Ω
# The value of I_S 
I_S= (Vin-Vz)/R_S##  A
# The value of I_L 
I_L= Vz/R_L##  A
# The value of I_Z 
I_Z= I_S-I_L##  A
I_S= I_S*10**3##  mA
I_L= I_L*10**3##  mA
I_Z= I_Z*10**3##  mA
print "The value of I_S = %.2f mA"%I_S
print "The value of I_L = %.2f mA"%I_L
print "The value of I_Z = %.2f mA"%I_Z
The value of I_S = 15.00 mA
The value of I_L = 12.00 mA
The value of I_Z = 3.00 mA

Exa 3.12 Page No 75

In [15]:
# given data
print "(i) For 15 V input voltage"
Vin= 15.0##  V
Vz= 12.0##  V
R_S= 200.0##  Ω
R_L= 1*10**3##  Ω
# The value of I_S 
I_S= (Vin-Vz)/R_S##  A
# The value of I_L 
I_L= Vz/R_L##  A
# The value of I_Z 
I_Z= I_S-I_L##  A
I_S= I_S*10**3##  mA
I_L= I_L*10**3##  mA
I_Z= I_Z*10**3##  mA
print "The value of I_S = %.2f mA"%I_S
print "The value of I_L = %.2f mA"%I_L
print "The value of I_Z = %.2f mA"%I_Z
print "(ii) For 20 V input voltage"
Vin= 20##  V
# The value of I_S 
I_S= (Vin-Vz)/R_S##  A
# The value of I_L 
I_L= Vz/R_L##  A
# The value of I_Z 
I_Z= I_S-I_L##  A
I_S= I_S*10**3##  mA
I_L= I_L*10**3##  mA
I_Z= I_Z*10**3##  mA
print "The value of I_S = %.2f mA"%I_S
print "The value of I_L = %.2f mA"%I_L
print "The value of I_Z = %.2f mA"%I_Z
print "(iii) For 25 V input voltage"
Vin= 25##  V
# The value of I_S 
I_S= (Vin-Vz)/R_S##  A
# The value of I_L 
I_L= Vz/R_L##  A
# The value of I_Z 
I_Z= I_S-I_L##  A
I_S= I_S*10**3##  mA
I_L= I_L*10**3##  mA
I_Z= I_Z*10**3##  mA
print "The value of I_S = %.2f mA"%I_S
print "The value of I_L = %.2f mA"%I_L
print "The value of I_Z = %.2f mA"%I_Z
print "(iv) For 30 V input voltage"
Vin= 30##  V
# The value of I_S 
I_S= (Vin-Vz)/R_S##  A
# The value of I_L 
I_L= Vz/R_L##  A
# The value of I_Z 
I_Z= I_S-I_L##  A
I_S= I_S*10**3##  mA
I_L= I_L*10**3##  mA
I_Z= I_Z*10**3##  mA
print "The value of I_S = %.2f mA"%I_S
print "The value of I_L = %.2f mA"%I_L
print "The value of I_Z = %.2f mA"%I_Z
print "(v) For 35 V input voltage"
Vin= 35##  V
# The value of I_S 
I_S= (Vin-Vz)/R_S##  A
# The value of I_L 
I_L= Vz/R_L##  A
# The value of I_Z 
I_Z= I_S-I_L##  A
I_S= I_S*10**3##  mA
I_L= I_L*10**3##  mA
I_Z= I_Z*10**3##  mA
print "The value of I_S = %.2f mA"%I_S
print "The value of I_L = %.2f mA"%I_L
print "The value of I_Z = %.2f mA"%I_Z
(i) For 15 V input voltage
The value of I_S = 15.00 mA
The value of I_L = 12.00 mA
The value of I_Z = 3.00 mA
(ii) For 20 V input voltage
The value of I_S = 40.00 mA
The value of I_L = 12.00 mA
The value of I_Z = 28.00 mA
(iii) For 25 V input voltage
The value of I_S = 65.00 mA
The value of I_L = 12.00 mA
The value of I_Z = 53.00 mA
(iv) For 30 V input voltage
The value of I_S = 90.00 mA
The value of I_L = 12.00 mA
The value of I_Z = 78.00 mA
(v) For 35 V input voltage
The value of I_S = 115.00 mA
The value of I_L = 12.00 mA
The value of I_Z = 103.00 mA