ASDesign A
ASDesign A
1.1 Resistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.1.5 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.2 Inductor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2.4 Practice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.3 Capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1.4 Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.1 diode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.4 Transistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3 Integrated Circuits 32
4 Operational Amplifier 45
4.1 Presentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
4.2.5 Integrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
4.2.6 Derivator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
4.2.8 Adder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
The voltmeter is used to measure voltage(in volt The ammeter is used to measure current(in am-
(V)). Its symbol is as shown on figure2. pere (A)). Its symbol is as shown on figure3.
It can be of two types: -AC voltmeter or ,- DC It can be of two types: -AC ammeter or ,- DC
voltmeter. ammeter.
V A
Figure 2: The voltmeter symbol Figure 3: The ammeter symbol
Hz
Figure 6: The frequency-meter symbol
Figure 4: The ohmmeter symbol
F H
Figure 5: The capacy-meter symbol Figure 7: The henry-meter symbol
The frequency-meter is used to measure the fre- Many others exist and are not listed here.
Resistor Connections
R R
Calculations in theory can result in any value.
Figure 1.1: Resistor symbols
That value can be within or out of the normal-
ized values. To produce those values practi-
The voltage U across a resistor R in a circuit is cally, the designer must combine normalized
given by the ohm’s law U = RI and expressed values available around. The combination can
in Volts (V). be connection in series, connection in parallel,
mixed connections.
The current flowing through that resistor is:
I = UR . Resistors connected in Series
Example:
R1 R2
What is the voltage across a 100kΩ resistor
with 20µA flowing through it? Figure 1.2: Resistors Connected in series
Exercise:
As a designer, you did calculations and came
out with resistor value 192kΩ. Looking in your
component box, you see packets of resistors(10 Figure 1.4: ohmmeter symbol
resistors per packet) with values: R1 = 100kΩ,
R2 = 10kΩ, R3 = 1kΩ, R4 = 2.2kΩ, R5 =
180kΩ.
How will you manage to obtain that resistance
you are looking for?
1.1.1 Physical Identification
R1
R2
Figure 1.3: Resistors in parallel
Reading resistance using digit code their top. That code helps in their value identi-
fication. In that number or code, the last digit
As everything is going to smallest sizes, surface is the multiplier. The number of digit helps in
mounting resistors have a digit code printed on identifying the series.
Potentiometer
LDR
1.1.5 Practice
Do the following steps:
(a) tell if the theoretical formula RT = 7. Give your own definition of this compo-
∑ni=1 Ri is true regarding the practi- nent.
cal result.
(b) explain what can be the causes of
Potentiometer
their difference.
1.2 Inductor
The voltage VL across a inductor L in a circuit
is given by VL = L didtL where iL represents the
Figure 1.17: Inductor current flowing through the inductor.
Example: Exercise:
Inductors L1 = 100µH, L2 = 100µH, L3 = As a designer, you did calculations and came
3.3mH are connected in series. out with inductor value 50µH. Looking in your
What is the corresponding total inductance? component box, you see packets of inductors(5
inductors per packet) with values: L1 = 100µH,
Solution:
L2 = 10µH.
LT = ∑ni=1 Li = L1 + L2 + L3
How will you manage to obtain that inductance
NA: LT = 100µH + 100µH + 3.3mH =
you are looking for?
3.5mH = 3500µH
The device used to measure inductance is the
Exercise:
self-meter or inductance-meter.
As a designer, you did calculations and came
out with inductor value 210µH. Looking in
your component box, you see packets of induc-
tors(5 inductors per packet) with values: L1 =
100µH, L2 = 10µH, L3 = 1mH, L4 = 220µH.
How will you manage to obtain that inductance 1.2.1 Physical Identification
you are looking for?
4. read the result on the device screen. If the (a) tell if the theoretical formula LT =
meter is an auto-range, its will give the ∑ni=1 Li is true regarding the practi-
direct result. but if not, some adjustments cal result.
in calibration may be necessary to get a (b) explain what can be the causes of
good reading of the result. their difference.
1.3 Capacitor
combine normalized values available around.
The combination can be connection in series,
connection in parallel, mixed connections.
C1 C2
(b) polarized capacitor
Figure 1.22: Capacitors connected in series
Figure 1.21: capacitor symbol
C2
C1
Figure 1.23: Capacitors connected in parallel
Example:
Capacitors C1 = 100µF, C2 = 2200µF, C3 =
47µF are connected in parallel.
What is the corresponding total inductance?
Figure 1.26: Capacitor packages
Solution:
CT = ∑ni=1 Ci = C1 + C2 + C3
NA: CT = 100µF + 2200µF + 47µF = 1.3.2 Reading the capacitor’s value
2347µF
Capacitor value can be measured directly using
Exercise: measuring device or read on the package using
As a designer, you did calculations and came text code.
out with capacitor value 3200µF. Looking in
your component box, you see packets of ca-
pacitors(20 capacitors per packet) with values: Reading capacity using measuring device
C1 = 2200µF, C2 = 10µF, C3 = 1000µF.
How will you manage to obtain that capacity To read capacitor’s value using capacy-meter,
you are looking for? follow these steps:
1.3.4 Practice
Reading capacity using text code
We are full of theory! Let’s apply it now.
Polarized capacitors have very simple and ex-
pressive text on their body for their value to be
Connection
known; A capacitor marked with: 1000µF 16V
is a 1000µF capacitor, able to support maxi-
Select four capacitors C1 = 100µF , C2 =
mum voltage of 16V.
100µF.
Ceramic capacitors have digit code like; 102 A:Do the following processes:
which means :
C = 10 ∗ 102 pF = 1000pF = 1nF. 1. compute CTa = C1 + C2 = F
The basic unit there is pF, so: 2. connect C1 in parallel with C2 and
104 ⇒ C = 10 ∗ 104 pF = 100000pF = 100nF measure with the device : CTb =
223 ⇒ C = 22 ∗ 103 pF = 22000pF = 22nF F
331 ⇒ C = 33 ∗ 101 pF = 330pF
47 ⇒ C = 47pF 3. compare CTa and CTb and:
15 ⇒ C = 15pF (a) tell if the theoretical formula CT =
∑ni=1 Ci is true regarding the practi-
cal result.
(b) explain what can be the causes of
1.3.3 How to choose a capacitor
their difference.
1.4 Relay
1.4.1 Physical Identification
Relays are used when it comes the time to con- • SPST relay type: Single Pole Single
trol heavy load or high voltages with just few Throw relay
voltage and small current. The coil of the relay
• Coil voltage: 12 VDC. This relay’s con-
is controlled by the small voltage and current,
tacts operate when 12V DC is applied on
its contacts are used as switch for the high volt-
its coil pins;
age part or the heavy load of he circuit. One
of the advantages is that the two stages(small • under 250V AC, it can handle 10A when
voltage and heavy part) are isolated one from contacts are closed.
another. The voltage needed to control the coil
depends on the relay. It can be: 5V, 6V, 9V, 12V, • under 24V DC, it can handle 10A when
24V, 48V. contacts are closed.
The contacts , depending on the manufac-
turer prescription, can support big current when
closed (5A, 10A,. . . ) and an amount of voltage
when open (110V AC, 240V AC,. . . ).
Some relay contacts are normally open, others
normally closed. Important characteristics of a
relay are:
• the voltage the contacts can support when The figure1.29 present a relay with these char-
open. acteristics:
• under 240V AC, it can handle 16A when 1. identify the coil and supply it with indi-
contacts are closed. cated voltage;
References
https://www.hobby-hour.com/electronics/smdcalc.php
https://www.electronicsdesignhq.com/resistors/
http://www.resistorguide.com/resistor-color-code/
https://learn.sparkfun.com/tutorials/light-emitting-diodes-leds/all
A K
Figure 2.3: Zener diode
Light Emitting Diode(LED) is a diode that Note: Never connect LEDs in parallel. If want-
generate light. At the human eye level, that ing to connect LEDs in parallel, each LED must
light can be visible (common LED) or invisi- have its own protecting resistor.
ble(Infrared LED). Visible lights generated by
LEDs are of different colors (RED, GREEN, Depending on the color, characteristics are not
BLUE, YELLOW, WHITE). The more com- the same for all LEDs. The figure2.5 gives some
mon characteristic of LED are Forward Voltage information concerning LED’s colors:
Figure 2.7: High luminosity 3. connect the black probe on the cathode
and the red probe on the anode;
VB E
E B
B VB
B
E
C
Vcc
E
(b) PNP transistor
Figure 2.17: PNP transistor as switch
Figure 2.15: transistor symbol
The transistor is a triode component. There are Note that the voltage drop when saturated VCE sat
two types of transistor: - The NPN transistor is not zero in practice as assumed in the theory.
and the PNP transistor. Transistors can be used in amplification or in
commutation. In commutation, we consider the
When a positive voltage is applied to the base
states ON and OFF while in amplification, the
of a NPN transistor, its emitter and collector are
space between these two extremities are consid-
”short-circuited”, and it reacts like a switch.
ered.
C
B Transistors are used in:
VB E
Vcc
C
• audio amplifiers;
B
VB E
Vcc
• oscillators;
Transistor packages vary according to the power they can support. They have 3 pins (Base, Collec-
tor, Emitter).The code marked on the transistor helps in identifying the component using datasheet
or internet. some codes are: 2N2222 , BC547, BC557, BD243, BD244, TIP41, TIP42.
References
https://www.fluke.com/en-us/learn/best-practices/test-tools-basics/digital-multimeter
how-to-test-diodes-using-a-digital-multimeter
https://www.astuces-pratiques.fr/electronique/le-transistor-bipolaire-test-au-multime
8 7 6 5
3.1.2 case of SIL package
Pin count
direction
Point Single In Line (SIL) : Here pins are ranged on a
single line. To count, the user faces the written
1 2 3 4
side of the component and take the pin left pin
Figure 3.1: DIP package pin count as the first. The counting direction is from left
• type the chip text followed by ”datasheet” in the browser’s edit box and search for it ;
• if needed for later offline usage, download a copy in ”*.PDF” format and keep.
3.2.2 The good way to use a data you are looking for, and focus on it. Ignore the
sheet other informations.
Power supply voltage fluctuation can bring As the circuit clock speed increases, a large
noise and affect the IC functioning. In order amount of noise is generated; the technique to
to suppress these noises and make the IC op- filter changes. Simple decoupling capacitor can
erate normally, a good decoupling circuit must no more work there. Other way filters are used
be made. In low clock speed circuit, the decou- here.
Vcc
Figure 3.19: Logic gate connection , pull-down For practical usage, it is good to know some ref-
erences when looking for a logic gate to use.
3.4.3 How to choose a logic gate IC OR gate IC references: 4071 is a quad-2 in-
puts OR gate, 4072 is a Dual-4 inputs OR gate.
This task is easy when some elements are NOR gate IC references: 4001 is a quad-2 in-
known: puts NOR gate, 4002 is a Dual-4 inputs NOR
gate.
• the environment where the device will
function: is it noisy? XOR gate IC references: 4030, 4070,
74HC386, 74LS386 are quad-2 inputs XOR
• the supply voltage available for the cir- gate.
cuit;
XNOR gate IC references: 4077 is a quad-2
• the number of inputs needed for an oper-
inputs XNOR gate.
ation;
AND gate IC references: 4081 is a quad-2 in-
• ...
puts AND gate, 4082 is a Dual-4 inputs AND
gate.
Logic gates are also used in multi-
vibrators(Monostable, astable), in other digital NAND gate IC references: 4011, 7400 are
functions( RS flip flop, JK flip flop, adder,. . . ). quad-2 inputs NAND gate, 4012 is a Dual-4 in-
Many circuits are made combination of a lot of puts NAND gate. , 4023 is a Triple-3 inputs
logic gates. NAND gate, 4068 is an 8 inputs NAND gate.
In Out
GND
V Vout
in
+
-
mode(saturation). They are active components,
since they can never operate without power sup- 1 2 3 4
In- In+ -VCC
ply.
Figure 4.2: Single OPAMP internal disposition
Operational amplifier is a common and well
used component in electronics. It comes in dif-
ferent packages, some with only one OpAmp, Some references of dual operational amplifiers
other with two OpAmp, . . . circuit: -LM358 , -T L072, -T L082, -NE5532,
-AD644 . The Operational amplifiers are dis-
posed in the DIP(Dual Inline Package) as on
+
figure4.3.
-
+VCC Out In- 2 In+2
8 7 6 5
(a) without power supply pins
-
+ +
-
+
(b) with power supply pins
-
• e− = vo
• The differential input voltage ε ap-
proaches zero when negative feedback is
• e+ = e− ⇒ vi = vo
applied around the ideal operational am-
plifier: (ε = e+ − e− ' 0).
vo
So the voltage gain Av = =1vi
The input impedance is infinite.
To work in linear mode, some simple steps are
The output impedance is the one of the opera-
used:
tional amplifier, hence 0Ω.
The voltage follower is used to interface two el-
ements without influencing their impedances;to
1. find the voltage at the non-inverting input isolate circuits or devices from one another and
e+ ; prevent undesired interaction.
Other names for it are impedance adapter, elec-
trical buffers.
2. find the voltage at the inverting input e− ; The feedback resistor inserted in case of pic-
ture4.4a must never be infinite, always take fi-
nite values. Note that the feedback resistor is
3. equate the two voltages.( That gives the necessary only for current-feedback OpAmps.
possibility to find the requested expres- With voltage follower, source with low current
sion ). capabilities can drive a heavy load.
vi vo
R 4.2.4 Linear Current generator
f
R
-
Z
i R L i
Figure 4.5: Non inverting amplifier vo
vi UR UZ
• e+ = vi
Figure 4.7: Linear current generator
• e− = R
R + R f vo
• e+ = e− ⇒ vi = R
R+R f vo • e+ = 0
Rf
• vo = (1 + R )vi • our main interest there is the current flow-
ing through R and ZL .
So the voltage gain Av = = (1 + Rf ) vo R vi + UR − e− = 0 ⇔ vi + Ri − e− = 0;
vi
The input impedance Zi is infinite: Zi = ∞. as e+ = e− , we have vi + Ri − 0 = 0 ⇔
The output impedance Zo is zero: Zo = 0 Ri = −vi
⇒ i = − vRi
That same current flows trough the
4.2.3 Inverting amplifier impedance ZL , considered here as the
load.
+
ZL receives a current depending only on the in-
-
vo
put voltage vi and the input impedance R.
vi R R
f
4.2.5 Integrator
Figure 4.6: Inverting amplifier
+
• e+ = 0
- ZC
Rvo +R f vi i R i
• e− = R+R f
vo
vi UR
Rvo +R f vi UZ
• e+ = e− ⇒0= R+R f
v R
2 4 -
• e− + UZ − vo = 0 ⇔ vo = UZ = UC
vo
The current flowing trough a capacitor is R
2
R1
given by Ic = C dU C
dt ;
v
1
Since UC = vo , Ic = C dv
dt
o
⇒ dvo = CIc dt
⇒ dvo = −v i
dt Figure 4.10: Subtractor
R RC
−vi
⇒ vo = RC dt
R4
• e+ = R3 +R4 v2 = 1
R v2
1 + R3
4
v1 R2 +R1 vo
The output signal is the integration of the input • e− = R1 +R2 v2 = 1
R1 +R2 (v1 R2 + vo R1 )
signal according to time.
R4
• e+ = e− ⇔ R3 +R4 v2 = 1
R1 +R2 (v1 R2 +
vo R1 )
R4 ( R1 + R2 )
4.2.6 Derivator ⇔ R3 +R4 v2 = (v1 R2 + vo R1 )
R4 ( R1 + R2 )
⇔ R3 +R4 v2 − v1 R2 = vo R1
R4 ( R1 + R2 )
+ ⇔ v − v1 RR21 = vo
R1 ( R3 + R4 ) 2
R4 (R1 +R2 )
ZC -
R
vo = v − v1 RR12
R1 (R3 +R4 ) 2
i i
vo
vi UR
UZ
R4 (R1 +R2 )
vo = k2 v2 − k1 v1 with gains k2 = R1 (R3 +R4 )
and
R2
Figure 4.9: Derivator k1 = R1 The input signal v1 is amplified by gain
k1 and subtracted from amplified v2 . The func-
tion realized is called a subtractor.
• e+ = 0
• UR = vo = RIC
4.2.8 Adder
• vi = −UC = 0
+
• The current flowing trough the capacitor
i -
IC = C dU C
dt ; v1 R
vo
Hence UR = vo = RIC = RC dU
dt =
C
v2 R2 R
f
−RC dv
dt
i
v3
R3
vo = −RC dv
dt
i
⇔0= v1
+ + + v2 v3 vo e- vo
R1 R2 R3 Rf
v1 v2 v3
⇔ vo = −R ( + + f R1 R2 R3 )
v1 v2 v3
vo = −R f ( R1 +R2 + R3)
Figure 4.12: with asymmetric supply
commutation mode +
e+
-
In commutation mode, there is no negative e- vo
-Vcc
feedback. The output takes only two possible
states, those states are the extremes of the power
supply. To analyze in commutation mode, some Figure 4.13: with symmetric supply
simple steps are used:
Vi
8
6
LED
-
Figure 4.15: waveforms of simple comparator
with asymmetric supply ON OFF ON OFF
0 10ms 20ms 30ms 40ms
t
-
4.3.2 Simple Comparator with sym- Figure 4.17: waveforms of simple comparator
with symmetric supply
metric power supply
R
Vcc
1
+
R3
-
R
v R2 vo In some applications, the output fluctuates too
i -Vcc
much as the threshold is unique and the in-
put varies in a fast way. That fluctuation can
Figure 4.16: simple comparator with symmetric be slowed down or corrected using a double
supply threshold.
Vo
Vcc
+ LED
v OFF ON OFF ON
i vo 0 10ms 20ms 30ms 40ms
t
-
Figure 4.19: Schmitt Trigger wave-
Figure 4.18: Schmitt Trigger form(asymmetric power supply)
R2 va +R1 vo
e+ = R1 +R2
e− = vi
Case supplied with asymmetric power sup-
ply Case supplied with symmetric power supply
*At the beginning, let’s consider that v0 = VCC . *At the beginning, let’s consider that v0 = VCC .
R2 R1 R2 R1
⇔ e+ = R1 +R2 va + R1 +R2 vo ⇔ e+ = R1 +R2 va + R1 +R2 vo
R2 R1 R2 R1
⇔ e+ = R1 +R2 va + R1 +R2 VCC ⇔ e+ = R1 +R2 va + R1 +R2 VCC
This is the high threshold: This is the high threshold:
+ R2 R1 + R2 R1
eH = R1 +R2 va + R1 +R2 VCC eH = R1 +R2 va + R1 +R2 VCC
*When vo = 0V . *When vo = VCCV .
⇔ e+ = R1R+2R2 va + R1R+1R2 (0) ⇔ e+ = R2 R1
R1 +R2 va − R1 +R2 VCC
⇔ e+ = R1R+2R2 va ⇔ e+ = R2 R1
R1 +R2 va − R1 +R2 VCC
This is the low threshold: This is the low threshold:
eL+ = R1R+2R2 va eL+ = R2 R1
R1 +R2 va − R1 +R2 VCC
e+L t
-8
Vo
Vcc
LED
• the accuracy;
As Operational amplifiers are Integrated cir-
cuits, it is difficult to identify them using a spe- The document SBOA092B(HANDBOOK OF
cial form. The datasheet is where to find infor- OPERATIONAL AMPLIFIER APPLICA-
mations. TIONS) of Texas Instrument is a good support
Regular IC of operational amplifiers contents to handle operational amplifiers in theory and
one ,two ,four operational amplifiers. practice.
http://www.freebookcentre.net/electronics-ebooks-download/Microcontroller-Interfacing
.html