Applied Electronics Course Overview
Applied Electronics Course Overview
COURS
MASTER 1, Automation and Industrial Computing
Applied Electronics
In general, this course 'applied electronics' will allow the student to discover other
necessary functions of electronics. We are much more interested, in this course, in
the identification of the type and function of such an electronic component in a global system.
The main chapters of this module are:
Reminder on the charging and discharging of a capacitor and the transistor in switching.
The operational amplifier (OA) and circuits based on the OA.
Generation of pulses or signals.
CAN and CNA converters.
Study of active filters.
Introduction to the principles of PCB (Printed Circuit Board) design.
Indeed, the weekly hourly volume of the module is: 1h30 of Lectures, 1h30 of Tutorials.
is a coefficient of 2 (4 credits). The evaluation mode: Continuous Assessment (40%) + Exam (60%).
Let C be the capacitance of the capacitor to accumulate charges. It depends on the size of the
capacitors, their shape, the thickness of the dielectric,...etc. It is measured in farads (F). The
the relationship between the accumulated charge Q and the voltage across a capacitor is: UC = Q / C.
When the capacitor is charged, the voltage across its terminals is that of the generator which has
allowed to load it.
It is a transitional regime, that is to say a regime that lasts only a short moment.
direct current cannot be established in such a circuit, because the chain of conductors is
interrupted by the dielectric of the capacitor. i
dQ
Knowing that:E U C U R okay
dt E UC C
UR
dQ Q dQ dU C
UR Ri R and youC C
dt C dt dt R
dQ dU C dU C
So: UR R RC from where E U C RC
dt dt dt
t
The solution to this equation is:U C E(1 e RC
)
UC(V)
t (ms)
τ 3τ 5τ
The variation in the intensity of the current flowing through the circuit as a function of time is given by:
t
dQ dU C E
i C e RC
dt dt R
i(mA)
E/R
i = f(t)
t (ms)
τ 3τ 5τ
The energy stored in the capacitor in the form of electrostatic energy
in the capacitor) depends on its charge (P = UCThe energy stored at the end of a
tempstest :Energie = 0,5 C (UC)2.
UC(V)
E
t (ms)
τ 3t 5τ
t
dQ dU C E
In this situation:i C e RC
dt dt R
i(mA)
t (ms)
τ 3 tau 5τ
470µF / 10 V
Filtering
Straightening
1N4007 +
1N4007
The upper and lower parts of the output voltage waveform are called the residual voltage; it must be
as low as possible. High-capacity capacitors are used to reduce it.
capacitor. The variations are often rapid (switching noise for example), one
often calls upon ceramic capacitors. If slow variations are to be stopped (residue
for example, in the case of sector undulation, a higher capacity is required, and then one uses
chemical capacitors. If one wants to eliminate slow or fast variations, one uses a
association formed by a ceramic capacitor and a chemical one as already indicated.
II-1- Principle
A transistor is used in switching when its mode of operation is similar to
a switch. In reality, its polarization only allows for two modes of operation by
opposition to operation in linear mode (amplification): blocked or saturated.
Transistor passing: IC 0.
Blocked transistor :IC= 0.
Saturated transistor: VCE 0.
We consider a transistor connected in common emitter configuration, with a biasing through resistance of
base RBA switch can connect the resistance [Link] at the generator E or to the ground.
In amplifier mode, the operating point is placed in the middle of the line.
charge (point C). The relation IC IBallows to deduce the collector current from the value of the
base current and 0 < VSE.
If the base current is zero, the collector current is zero (IC IB) and VSE (point A). The
transistor is stuck.
If the base current is very high, the collector current is high, but it cannot exceed
the valueICmax= E / RCwhen we grow IBbeyond the valueBmax= E / IB, the
tension VCEbecomes very weak (point B). The base is then saturated (VBC= VBE+ VEC) and the
the transistor is saturated.
A transistor operates in switching mode when its base current is either very low.
(stuck transistor) can be very intense (saturated transistor). In relation to the generator and the resistor
RCthe saturated transistor behaves like a closed switch and the blocked transistor like a
open switch. In this operation, the power dissipated in the transistor P = [Link]
always weak.
The transistors used in switching are designed so that the switching duration is the
as low as possible.
If the input of the circuit (resistance RB) is connected to E, the output voltage VSis null. If
Note: There are several basic functions of electronics, performed using transistors.
operating in switching mode.
Circuit
switch
Circuit of
order
Bipolar transistor
MOSFET Transistor
In short, the switching arrangement of a transistor can be broken down into two circuits:
control circuit (input circuit) and switched or controlled circuit (output circuit).
floors that coexist just at this level. For this, we will think of components that
isolating the fragile electronic control circuits of the relay (this task is often left to
of opto-couplers).
VL VL
The value of the control voltage (Ve), relative to the mass, can be between 1.5
and some 10 V, provided that the value of R2 is adjusted. Assuming that we wish to control
a LED according to the following schematic:
With classic transistor type 2N2222 With BC517 type Darlington transistor
Darlington Montage
Cde >
The control voltage, coming from an output of a CMOS, TTL, or PIC logic circuit, is
applied to the input Cde. The value of the bias resistor R1 must be adjusted to
to have a base current that is sufficient to properly saturate the
transistor, while not risking burning it out. To calculate the value of R1, it is necessary to know the
gain The transistor used. The freewheeling diode D1 is essential.
If the available control current is less than 1 mA, it is advisable to use a circuit.
Darlington type allowing current amplification. For example, the small Darlington of
BC517 type or the TIP122 Darlington if you need more power.
Indeed, it is still possible to ensure a more effective decoupling (isolation between 2 floors).
by using an opto-isolator for example. It is not uncommon to use a transistor
MOSFET as a switching power element.
Exemple:
When Ve = 0, then VBE= 0 andIB= 0 : the transistor is blocked (ICIE= 0). So the relay is
in open circuit (Urel = Rrel . IC= 0).
When Ve = 5 V, we have VCC= VCEUrel. However, the transistor must be saturated.
So VCE= VCE_satand then VCC= VCE_sat+ Rrel xIC IC= (VCC= VCE_sat) / Rrel
IC(12-0.2)/310 = 0.038 A = 38 mA.
IB_minIC/ = 0.038 / 200 = 0.19 mA. We take a safety factor of 1.5 to be sure.
that the transistor will be well saturated. So: IB_satIB_minx 1.5 = 0.28 mA.
1 : Offset Adjustment
2: Reverse entry
3: Non-inverting input
4: Food (-)
5: Offset Adjustment
6 : Exit
7: Nutrition (+)
8: Not Connected
LM 741
Indeed, the µA741 circuit contains 24 transistors, 11 resistors, and one capacitor.
Practically, all operational amplifiers have the same internal structure. With
some external components, they can perform a wide variety of useful functionalities in
signal processing and signal generation.
An AOP has at least 2 inputs, 2 power pins, and 1 output. The input
The input Ve+ is called non-inverting while the input Ve- is called inverting; due to their
role in the input/output relationships of the amplifier. The potential difference between these two
input is called input differential voltage.
Real AOP: Real AOPs have a number of limitations. The real AOP has flaws.
VS 15
For example, for VCC+/- 15 V and A0= 200,000 : e 75 µV
A0 200,000
The presence of an infinite differential gain implies that even the slightest difference in potential between the
two entries of the AOP will lead it to saturate.
Conclusion:
Such an assembly is often uncontrollable; because it is too sensitive (very small linear area).
The AOP will almost always be used with a feedback, thus in a closed loop.
e = Ve [Link]
VSA0.e
VS= A0( And [Link]) Equivalent of a comparator in
a feedback loop
VS A0
Ve 1 A 0 K
VS
We ask:A V
Ve
Conclusion: SiA0.K >> 1le gain AVno longer depends on A0, but only from the factor K which is
often a report of resistances and therefore perfectly controllable.
In short, the AOP can work in linear mode (amplifiers, filters, etc.).
in switching mode (comparators, triggers, astables, etc.). To achieve a mode
linear, it is necessary for the circuit to have negative feedback, that is to say a connection between
the output and the input "–" of the AOP. The operation is, however, in switching if the assembly
has a positive feedback, that is to say a connection between the output and the '+' input of the operational amplifier
For the linear regime, the voltages present at the two inputs of the operational amplifier are
Important remarks:
Offset voltage: output offset voltage, due to the internal constitution of the operational amplifier.
Offset voltage adjustment: the adjustment is possible using a mounted potentiometer.
as below.
The currents in the inputs of the op-amp circuit are very low. It is accepted for the calculations.
Inverting amplifier
VS
AV
Ve
R2 I2 R2 R2
So: AV (car I1 = I2) VS And
R1 I1 R1 R1
Master 1 Automation and Industrial Computing; Semester 2 13
Academic Year: 2019/2020 Course, Applied Electronics. Presented by Dr. S. ABADLI
Non-inverting amplifier
VS
AV
Ve
R1 R2
So: AV
R1 R2 AV
R1 R1
Voltage follower
e previously.
Vs = Ve ( 1 + R2 / R1 ) Vs = Ve (-R2 / R1)
Differential amplifier
Vs = ( Vp - Vn ) × ( R2 / R1 )
The assembly only performs its function if the resistors indicated in the diagram are
respected. The resistance of each of the two inputs is at least R1(it is not constant).
Inverter integrator
Inverse derivative
Vs = -RC dVe / dt
For example: V
VEP
VEN
Weather
VS
+Vsat
Time
Vsat
V+
V
Ve
VS
+VSat
Ve
V+ V Vs = +VSat
VSat
V+ < VVs
=VSat
This circuit is also called a 'Schmitt Trigger'. It is a voltage comparator that has
two different tipping thresholds. VHcorresponds to the value of hysteresis. Its value
corresponds to:VH= VPVN= ( R1 / (R1+R2) )×(+VSat(−VSat))
Fc
The astable circuit is implemented using an op-amp wired as a hysteresis comparator (trigger of
Schmitt) associated with an RC cell. The AOP then operates in switching mode (saturated state).
the functional diagram is as follows: R1
Schmitt trigger
We are going to demonstrate that this circuit + Vcc
I
generate a rectangular periodic signal.
i+
We are going to calculate the frequency of the C +
-Vcc
output signal Vs as a function of R1, R2,
You Vs
R3and C. R2
V3 R3
This circuit has two feedback loops: one negative through the resistor R.1and the
capacitor C, as well as a positive one via a voltage divider. If we only consider the
positive reaction, one can easily recognize an inverter Schmitt trigger. We compare the
tension V+ At the voltage across the capacitor C, there will therefore be a notion of time to take into account.
in account (charging/discharging of C).
The input voltage equations of the operational amplifier are:
R3
V V3 VS
R 2R3
dVc d V
I = -C -C
dt dt
d V
V VS RI
1 = -R1C
dt
d V
VSV R1C
dt
The voltage V+ is thus produced through the divider bridge, while the voltage V respond to a
first order differential equation (that of a R circuit)1C of 1erorder).
Vs
Vsat
Capacitor discharge
Since Vs = -Vsat the capacitor discharges through the resistor R1.
When it is fully discharged, we always have (Vc = 0) > (V3= VB), the capacitor is
negatively charged and therefore the voltage Vc becomes negative.
When Vc reaches and becomes less than the value VB on a Vc < (VB= V3) the AOP ceases its
discharge. It tilts again and the output voltage Vs is: Vs = +VSat.
The operation subsequently reproduces in a similar manner and the signal Vs is periodic.
The graphical representation of the variations of Vs and Vc over time is as follows:
VCVV SS
+VSat
VH
VB
VSat
With:Viis the initial voltage across the capacitor (at the beginning of the considered instant).
Vfis the final voltage across the capacitor (end of charging or discharging).
at t = 0 to VC(0) = Vi VB
at t = ∞ →VC(∞) = VfVSat
R3 R3
VH VSat and VB VSaturday
R 2+R3 R 2R3
tC
R3 R3
VSatVSat( VSatVSat)e R1C
R 2R 3 R 2R3
tC
R3 R3 R 2+2 R
1 + (− -1) e R1C
t CR1C ln 3
R 2R 3 R 2R3 R2
at t = 0 → VC(0) = ViVH
at t = ∞ VC(∞) = Vf VSat
tD
R3 R3
VSat- VSat( VSatVSat)e R1C
R 2R3 R 2R3
tD
R3 R3 R22 R
1 - ( e R1C
t DR1C ln 3
R 2R3 R 2R3 R2
In reality, yC= tDsince the time constant τ = R1It's the same.
Signal period T
R 2+2 R
T=tCtD2 R1C ln 3
R2
If R2= R3we obtain: T = 2 R1C ln 3
Brooch Description
GND Mass
TRIG Trigger, start the timing. Detect when the voltage is below 1/3 of [Link]
OUT Output signal
RESET Reset, timer interruption
CONT Access to the internal reference (2/3 of VCC)
THRES Trigger the end of the timing when the voltage reaches 2/3 of VCCgoing up
DISCH Terminal for discharging the timing capacitor
VCC Supply voltage, generally between 5 and 15V
The NE555 also exists in a dual version called NE556. It can supply a current
up to 200 mA. Indeed, there are several versions of integrated circuit (bipolar versions:
NA555, SE555, SA555 & CMOS versions: LMC555, ICM7555, ...etc.).
2 comparators
3 resistors (voltage divider 1/3
VCCand 2/3 VCCserve as references
to the comparators)
1 SET - RESET flip-flop
1 switch
1 timing transistor for
discharge the external capacitor.
When powered on, the capacitor C charges through the two resistors Ra.
and Rb of 1/3 VCCat 2/3 VCCMeanwhile, TRIGGER activates the output to a high state.
The capacitor then discharges through the resistance Ra (via pin 7) of 2/3 of
VCCto 1/3 VCCMeanwhile, TRIGGER activates the output to a low state.
Indeed, the first oscillation upon power-up (high state output) is longer than
the following (transition of Vc from 0 V to 2/3 of VCCat the boundaries of C).
2 VCC
3
VCC
3
The oscillation frequency as well as the duty cycle are determined as follows:
The oscillation period T depends on the charge time tc and the discharge time td:
T = tc + td = ( R1R2) C ln(2) + R2C ln(2) ( R1+2R2) C ln(2)
T ≈ 0.693 ( R1+2R2) C
R 1R2
R 1+2R2
Note:
It is desirable that R1must be greater than 5 kΩ to limit the current in the transistor
discharge.
1+ R2must be less than 4.3 MΩ so that the current supplied by the inputs is
R
negligible compared to the charge current.
VCC
VCC
VCC/2
The function performed is therefore an inversion. If the transistors are strictly identical, we
obtains the transfer characteristic above. The switching occurs for Ve = VCC2.
VH
5V
G A B
iC
VC
F
The capacitor is initially discharged (Vc = 0) and no current is flowing through it (iC=0).
In this case: VF= VCC, VA= 0 and VB= VCC
VBVA= VCC
The capacitor C tends to charge under the voltage VCCthrough the resistance R1; the
The potential at point F therefore decreases exponentially.
At the moment t1when VF< VCC/2, VAV-scale CCand VB At 0, this voltage variation of
The capacitor C is tending to charge under the voltage VCCthrough the resistance R1the
The potential at point F therefore grows exponentially.
At the moment t2, when VFVCC/2, VAscale to 0 and VBto VCC, the tension front of VCCis
transmitted by the capacitor, VFpassing then to VCC/2 + VCC= 3 VCC/2.
The capacitor C now tends to charge under the voltage [Link].
VFdecreases until it reaches VCC/2 at the moment t3date of the new switch, start of
next cycle.
You
VCC
2
VCC
2
Vs
VCC
VF
3VCC
2
VCC
VCC
2
VCC
2
of t1to you2VBVA=-VCC
Vc(t) = A1+ B1e (t-t1)/
OrVc(t1) = VCC/2 so: A1=-B1+ VCC/2 etVc(∞) = -VCC= A1→B1= 3VCC/2
So: Vc(t) = -VCC(1-3 e (t-t1)/ / 2)
of t2to you3: VBVA= VCC
Vc(t) = A2+ B2e (t-t2)/
OrVc(t2) = -VCC/2 so: A2-B2VCC/2 etVc(∞) = VCC= A2B2=-3VCC/2
So: Vc(t) = VCC (1 - 3 e (t-t2)/ / 2)
The cyclic ratio being equal to 1/2, t2t1represents a half-period. Let's continue
the expression of Vc(t) between the moments t1and t2and let's write that at the moment t2, Vc is worth : -VCC/2.
Vc(t) = -VCC(1-3 e (t2-t1)/ / 2) = -VCC/2.
Note:
the value of R2must be at least 10 times greater than that of R1Furthermore, the values
of C and of R1must not be too weak, as the inverter 2 cannot provide a current
at very high output.
It is always possible to put a resistance R1variable, which allows for adjustment of the
output frequency of the astable.
It is possible to vary the duty cycle α of the rectangular signal.
A multivibrator can be made using NAND or NOR gates.
In this case, the capacitor C charges under the voltage [Link] P1and under-V CC, à
traverse (1-P1).
3
VCC
2
T=
VCC
VP
VN
The capacitor, initially uncharged, tends to charge through R under the voltage
exit Vs = VCC, but as soon as Ve > VPat the moment t1, Vs drops to 0 V.
The capacitor discharges until the moment t.2, for which Vc = VN, Vs tilting at
VCCThe capacitor C is recharging again until time t.3where Ve = VP, …etc.
dVC
RC VCVS
dt
of t1to you2, Vs = 0 and therefore: Vc(t) = VPe (t-t1)/ VCC
of t2to you3, Vs = VCCand thus: Vc(t) = VCC+ ( VN– VCC) e (t-t1)/
(t2-t1)/
The period T = (t3-t2) + (t2t1) with :Vc(t
2) = VPe = VNt2 - t1 = τLn(VP/VN)
Vc(t3VCC+ ( VN– VCC) e (t3-t2)/
VP V V
So:T = R C ln ( ) + R C ln( CC N )
VN (VCCVP)
This is a setup that has 2 states (one stable state and one unstable state). This one being in the state
stable, a control or trigger pulse changes it from the stable state to the state
unstable. The duration of the unstable state is independent of the shape and intensity of the impulse of
command but depends more on an RC circuit.
The monostable performs a timing function, used whenever one wants to
trigger a device with a delay. Depending on the setups or the timing needs,
The timing can range from a few microseconds to several tens of minutes.
+ Vcc
i
e +
i
+
V0 -Vcc C
i
Vref R
And R2 Vs
R1
V+ VC
Vref
VrefVCVSat
i=
R 1R2
VrefVCVSat
V VrefR1i = VrefR1
R 1R2
VrefVSatVrefVSat 2R1VSat
V Vref-R1 Vref
R 1R2 R 1R2
C
i
R2 Vs = -VSat
R1
V+ VC
Vref
The capacitor will discharge aiming for the value -[Link]. This discharge happens at
through the resistances (R1+ R2), as long as e+ < 0 ; Vs = -VSatla fin de l'état instable correspond
+
to e = 0 (at time t3At that moment:
VrefVCVSat
e V 0 VrefR1 0
R 1 R2
Vref(RR
1 2)=R1( VrefVCVSat)
R2
VCVref VSat
R1
C
R2 i
VCVref VSat
R1 R2 Vs = + VSat
R1
VSatVCVref V+ VC
i=
R 1R2 Vref
V VrefR1i
R2
2VSat-Vref Vref
R1
V VrefR1
R 1R2
R2
2VSatVref(1+ )
R1 2R1VSat
V Vref R1
R 1R2 R 1R2
And
VCC VC
1 RP 1
3 + 3
t 2 2
i
C
And Vs1 R VR Vs
VCC
In the initial steady state, the capacitor C is completely discharged: the current i = 0, Vc = 0.
VR= VCC, Vs = 0 and VS1= VCC.
In the unstable state, at the moment t = t1a positive triggering voltage (VCC) :
Ve = VCC, VS1= 0 , Vc = 0 , VR= 0 , Vs = VCC. VC
3 +
The capacitor C charges, aiming for the value VCC,
with a time constant τ = RC. i
C
t/ VS1 R
Vc(t) = VCC(1 e) (increasing function). VR
VCC
If one assumes that the tipping threshold of the doors is close to VCC/ 2, the time required
for the switch can be calculated as follows:
Vc(t) = A+ B e t/
OrVc(0) = 0 so: A = -B and Vc(∞) = VCC= A → B = -VCC
So: Vc(t) = VCC(1 - e t/ )
Vc(t) = VCC(1 - e t/ ) = VCC/ 2.
So, the duration of the unstable state is:
t = [Link](2) ≈ 0.693 × R × C
t
t1
VS1
t
Vs
VCC
VC
1 1
3 + 3
2 2
C
And Vs1 R VR Vs
In the initial steady state, the capacitor C is completely discharged: Vc = 0, VR= 0 , Vs = VCC
and VS1= 0.
If a pulse arrives, causing level '0' to appear on the input Ve, the voltage at the output of
the first logic gate goes to VCCThis tension front Ve will be found entirely on
the input of the second logic gate: VRpass to VCCand switches to 0 V, thus allowing
the output at the logical state "0". The output being connected to the first input of the first gate, this
Logical level '0' will generate a memory state, which will keep the output of the first gate at
the logical state '1' (even if Ve changes state).
The capacitor C is charged through the resistor R under the voltage [Link] decreases
until VR< VCC/2 and at that moment Vs switches to VCC(CMOS logic gates).
) t/ R(t) = VCCe
Vc(t) = VCC(1 e etV t/
(decreasing function).
If we assume that the tipping point of the doors is close to VCC/2, the entrance of the
The second door will therefore show the state "1" as long as VR(t) > VCC/2.
The time required for this can be calculated as follows: VR(t) = VCCe = t/
VCC/ 2
So, the duration of the monostable pulse (the unstable state) is:
t = [Link](2) ≈ 0.693 × R × C
An electrical signal is the physical representation of the information it carries from its source.
to its recipient. In electronics, a signal most often carries information or
of an order. We distinguish two domains of electrical signals:
domain of analog signals, whose representative magnitude is continuous over time
time can take on an infinite number of different values,
domain of digital signals, whose representative magnitude is a binary value
(0 and 1). Digital signals do not vary continuously.
The transition from one domain to another will be made through converters, mixed components that
will manipulate analog voltages at the input and logical signals at the output or vice versa
The major advantage brought by the digitization of signals is the possibility of storage,
of data transformation and restitution; without them being modified.
Indeed, the digital domain is now predominant. It has developed significantly thanks to
the progress made by microprocessors and programming. Therefore, the processing of
data by programming also introduces flexibility in the design of product-based
of electronics: the same electronic circuit based on a processor will be able to process signals
different; only the program will change. This allows for cost reduction through standardization, the
the same board being used for several different functions. The analog electronics
required at best a change of components, at worst the design of a new board.
But, fundamentally, signals always have an analog nature. They therefore need to be amplified and
eventually extract them from noise signals. The analog domain will therefore always exist
at least upstream of any processing chain. Sometimes, we also need a signal
analog output from this processing chain: it will then be necessary to reconvert the data
digital to analog signal.
Note: Several types of converters are available in each category. These types
differ in their precision, their speed of information processing, their price,...etc.
In fact, when we want to digitize an analog signal (continuous signal), we will need to
discrétiser sur deux dimensions : le temps et l'amplitude. Il est impensable de décrire un signal
with an infinity of values; we will measure it at well-defined moments: that is what we
call the sampling.
As for the amplitude, within a voltage range of the input signal (between 0 V and VRef) on
to match a unique value: this is quantification. This value will then be encoded and
returned in binary form from the converter; to be processed by electronics
digital.
Resolution of a CAN
The term 'resolution' of a DAC or 'step size' or 'Quantum' refers to the smallest
variation in voltage applied at the input that causes a change of 1 LSB (Least Significant Bit)
Bit in English) on the output number N. Therefore, it is the width of a characteristic plateau of
transfer. The smaller the resolution, the more accurate the conversion.
In general, 'Q' is the resolution and 'n' is the number of bits of the converter. We
Express Q as follows: Q = VRef/ (2n The resolution is expressed in Volts.
Example: A voltage V is applied at the input of an 8-bit ADC.E= 6,326 V ; the voltage of
reference VRef= 10 V. Calculer la résolution Q ? Déterminer en décimal, puis en binaire le résultat
N of the conversion?
A titre d’exemple, la figure suivante montre la fonction de transfert d’un CAN 3 bits. Le
converter issued a finite number of numeric codes, corresponding to a range of
bounded analog input voltage: it is the conversion range of the converter (0-5 V, etc.).
N
111
110
101
100
011
010
001
000
Analog input
Digital release
CAN
VRef
Clock
Note: the dynamics of a signal is the ratio between the maximum voltage and the voltage
minimum that this signal can take.
For an 8-bit ADC, the dynamic range is 256, which can be expressed in dB (20 log(256) = 48 dB).
The excursion (accuracy in English) is the difference between the extreme values of the voltage V.E.
The conversion time or the establishment time TCis the minimum time required to
the converter to stabilize a numerical output after applying a voltage
stable analog input.
The sampling of an analog signal consists of taking samples at regular time intervals.
value of the signal. Each sampling is called a sample and we denote Tethe period
sampling ( S(t) = S(nTeIt is then necessary to keep the sample for the duration of the conversion.
through a blocker.
Note: To properly sample a signal, one must adhere to the 'Shannon' theorem.
who says that the sampling frequency of a signal must be greater than or equal to double the
maximum frequency contained in this signal (Fe≥2×FMax).
E/B
S(t)
S(nTe)
Te #
When the switch K is closed at time t0, the capacitor memorizes 95% of the voltage
analog signal of the input S(t); after a response time [Link]
K, the value S(t0is maintained if the capacitor does not discharge through the circuit
use. For this, it is necessary to have a large follower stage at the output
input impedance.
The sampler / Blocker combines the two previous schemes. The voltage across
C acquires the value of the input analog voltage after a time ta(acquisition time) and
remains at this value for a time th(hold)
Indeed, it is possible to improve this setup to speed up the charging of the capacitor by
a feedback achieved using a second follower circuit.
VE E/B VE
VE You
Logic of VEB t t
order
E/B
following elements:
A reference voltage VRef,
A network of 2Nmounted resistors
in series,
2N 1comparators
A logic decoder.
Decoder
D0
In practice, this arrangement has the disadvantage D1
N D2
of size: it is necessary to (2 -1) comparators for a
N-bit converter, i.e. 63 comparators
for a 6 bits and 255 for an 8 bits. The
The process quickly becomes limiting.
Ces convertisseurs sont très répondus car performants et bon marché. Le schéma de principe
is given in the figure below. It mainly contains a voltage reference, a
CNA, a comparator and a clock-driven logic sequencer.
The logic sequencer delivers a binary code to the input of the digital converter.
analog (DAC). The output voltage of this DAC is compared to the voltage to be measured VE, and in
Depending on the result, the binary code is modified to approximate the value to be found.
The simplest example of a logical sequencer is a binary counter that increments by one.
unit at each clock tick. All binary codes are successively compared to the
input voltage VE.
VE
VRef
A more concrete example is given in the figure below (basic principle reduced to 4 bits) of the
ADC_800 and derivatives.
D3 D2 D1 D0
VRef
Thus, at the summation point S, a voltage is obtained.V = VE The comparator
2
then compare the voltage V with 0 Volts:
If the voltage V > 0 ( E>VVRef/ 2 ), then the bit D3is kept at 1, otherwise this bit is discarded to 0.
Then, the successive approximation register sets bit D2 at level 1, the voltage
obtained at the summation point S is V = VE-D3VRef/ 2 -VRefAnd so on...
When the logic commands the start of a measurement, the integrator is reset.
(ramp) and counters. Then, the ramp voltage increases linearly with time.
When the first comparator switches to t0The door allows for pulse counting
delivered by the clock.
When the second comparator toggles, it closes this door, and the value contained in the
counters are locked and transmitted to the displays.
VRef
VE (t 1t0)
RC VE
VE
VRef
D3D2D1D0
Note: VEand VRefmust be of opposite signs. The advantage of this setup is that it is very
precise, however, it is very slow.
tension to smooth these discontinuities and try to get as close as possible to the original signal.
Transfer characteristic
The transfer characteristic is the graphical representation of the links between [Link] N.
The digital conversion range goes from 0 to (2N-1) ; N being the number of bits of the
converter. Indeed, the term 'full-scale voltage' of a DAC refers to the maximum voltage that it can
take the output. This full-scale voltage is obtained by applying to the input of the DAC the
the highest numerical value (in theory it is equal to VRefbut in reality she is < Vref).
For example, for a 3-bit CNA and VRef= 8 V : 000 001 010 011 100 101 110 111
D0
D1
D2
This example illustrates what was said earlier about the conversion range: the range
ranges from 0 to 7 V, and not 8 V (VRef), as for the CAN, since the last numerical state is 7.
+
AOP
D3 D2 D1 D0
N
Each bit of the binary word to be converted connects a current either to the ground (DI= 0) either towards
In general, the studied filters consist of passive elements. This means that they are
made using capacitors, coils, and resistors. When they are inserted into
in a circuit, they often cause unwanted signal attenuation. Additionally, during
the use of passive filters, for low frequencies, the value of the inductances is high and
Their dimensions are important. This presents particular problems for integration.
The use of operational amplifiers (OPAMPs) has enabled the development of a new
filter category. These filters are called active filters because the filtering cells (RC cells)
are jointly mounted to an amplifier stage. Indeed, active filters have
identical characteristics to passive filters but have a smaller footprint.
There are several types of active filters, each with specific characteristics.
We will focus more specifically on the most common filters.
When designing a passive filter, the characteristics are defined by the values of
elements and the application of formulas. This principle can also be used with an AOP. By
consequently, the AOP only compensates for losses and mainly adapts the input impedances
output of the filter. In this case, the AOP behaves linearly with frequency, but with a
non-unit gain. The following figure shows an example of a simple first-order passive low-pass filter.
(R-C) and asset mounted with an AOP.
+
R R
C C
And Vs And
Vs
R1
R2
In an active filter, we sometimes use the operational amplifier by modifying the voltage gain [Link] on
from the frequency (the feedback will be active and realized with a capacitor). In this case, the
gain AVwill vary depending on the frequency and will no longer be fixed as in the previous example.
The following figure shows a second example of a simple passive bipolar low-pass filter.
(two R cellsC) and active in feedback with an AOP.
C
+
R R R R
C C
And Vs And C
Vs
R1
R2
Note: The filters we have just seen are low-pass filters, but it is clear that their
The transformation into a high-pass filter is done with the same simplicity as for low-pass filters.
The assembly of the following figure is the combination of a passive high-pass cell R.C
and an op-amp set up as an inverting amplifier.
w
j
w1 1 1
H(jw) with: w0 etw1
w RC R2C
1 j
w0
Another assembly, the assembly of the following figure, is still the association of a passive cell.
type C high-passR and an AOP set up as a follower.
To obtain the transfer function of this filter, we apply the voltage divider formula.
tension considering the complex impedance ZC, as well as the complex voltages Ve and Vs:
Band-pass filter
In order to simplify the study, we consider that the R
resistances and capacities are equal two by two.
C
Let's consider the resulting impedances from the arrangement.
In the assembly of the following figure, one recognizes a cell R.C at the non-inverting input
and a divider bridge at the inverting input: R V R
And Vs
V-
2 -
R V+
1 +
V And And
1 j R C w
C Vs
And Vs And
V V-
2 1 j R Cw
Vs 1 j R C w
G(jw) G 1 G dB 0
And 1 j R C w
Note: The gain of the circuit is zero regardless of the frequency. This circuit has only
function to phase shift the output signal with respect to the input.
Vs Y1 Y3
And ( Y1 Y2Y3 Y4) Y3(Y4 Y2)
That is to say, we are looking to obtain a normalized transfer function H of the filter form
A
second order bass: H(jw) (m: the amortization factor)
w w 2
1 2 jm (j )
wC wC
By replacing each admittance with its expression in the general equation, we obtain:
1
R 1R2
H(jw)
1 1 1
( j C 1w) ( j C 2w) (jC2w j C 1w)
R1 R2 R2
1
H(jw)
1 C 2(R 1 R2) jw R 1R2C1C 2(jw)2
Identification according to the standardized form allows for the identification of:
A 1
1 1
R 1 R 2C 1C 2 wC
wC R 1R2C1C 2
2m C 2(R 1 R2)
C 2(R 1 R2) m
wC 2 R1R2C1C 2
To remedy the unit gain of this setup, it is possible to add a voltage divider in the
negative feedback loop. This is referred to as a Sallen and Key cell with variable gain.
Vs Y1 Y3
KA
And (Y1 Y2)(Y3 Y4) Y3(Y4 Y2K A) C
R R
With: +
R 1 R2
KA C
R2 And
Vs
R1
In the same way, we obtain: R2
1
H(jw) KA
1 ( 3 K A) j R Cw (j R Cw)2
Identification with respect to the previous normalized form allows for identifying:
R1 R 2
A KA
R2
1
wC
RC
1 R1 R1
2m 3 m 1
Q R2 2R2
C1C 2R 1R2( jw ) 2
H(jw)
1 R 1( C 1 C 2) jw R 1R2C1C 2(jw)2
The identification of parameters in relation to the normalized form allows for identifying:
A 1
1 1
R 1R 2C 1C 2 wC
wC R 1R2C1C 2
2m R 1( C 1 C 2)
R 1( C 1 C 2) m
wC 2 R1R2C1C 2
In the same way as before, it is possible to add a dividing bridge in the feedback loop.
negative reaction (variable gain).
R 1 R 2 R
A KA C C
R2
+
1
wC
RC
R
R1 You
Vs
m 1 R1
2R2 R2
1 1 R3 R 1
A ; (RC) 2 wC (1 )
3 wC R R 3 R3 R C
2m R3 3 R3
3 RC m
wC R R 3 2 R R 3
To change the gain of this circuit, it is possible to add a voltage divider in the loop.
negative feedback (as previously).
Rauch Structure
At node B:I Y3 I Y5
Y5
from where:VA VS
Y3
By replacing VAin the expression of node A, we obtain:
Y5 Y5 Y5 Y5
Y1 ( Ve VS) Y2 VS Y3 VS Y4( VS VS)
Y3 Y3 Y3 Y3
Y5 Y5 Y4
Y1 ( Ve VS) VS( Y2 Y3) VS( Y3 Y5)
Y3 Y3 Y3
Vs Y1 Y3
So:
And Y3Y4 Y5(Y1 Y2 Y3 Y4)
Vs Y1 Y3
And Y3Y4 Y5(Y1 Y2 Y3 Y4)
For the particular case R1= R2= R3= R :
1
H(jw) R3 C2
1 3jRC2w (j C1C 2wR)2 R1 R2
1
wC
+
R C1C 2
And C1 Vs
I- Generalities
A printed circuit board consists of an assembly of one or two thin layers of copper.
(single-sided or double-sided) separated by an insulating material. The insulating material of a PCB is
generally made of fiberglass embedded in epoxy. Epoxy is a resin
thermosetting, rigid and insulating.
The copper layers are etched onto the surface of the PCB using a chemical process to achieve
a set of tracks, ending with pads. These conductive tracks are used for
interconnections between the electronic components soldered on the chips.
We talk about 'single-sided' circuits when the copper tracks are only on one side.
face of the board, and 'double-sided' circuits when the copper conductive tracks are found
on both surfaces of the board. Indeed, single-sided and double-sided circuits can be
manufactured without using sophisticated equipment. On the other hand, the production of the cards
Multi-layer complexes (like computer cards) are only possible at the industrial level.
Plastic coating
Photoresin
Thin layer of copper
Epoxy (insulating support)
To create a printed circuit board, a film (mask, plate, or negative) is used, which is the drawing.
of the printed circuit board (tracks and pads) done on transparent paper. The tracks and pads
are drawn or printed with opaque black ink. The black will protect the resin.
photosensitive against UV rays, during the exposure step. The stencil must be applied on the
pre-sensitized surface before subjecting the circuit to intense UV radiation.
Step drawing: used to establish the layout template for the placement circuit of the components, whether it is
Structural diagram
The first step in creating an electronic circuit board is the input of the structural diagram.
of the electronic circuit. The components are placed using the built-in libraries.
Example of hair
To route the electronic circuit board, it is necessary to organize this mess by tracing the tracks, but
Note: The spacing between the 'legs' of the electronic components is given in 'pitch' (a
tenth of an inch) or in 'th' (one thousandth of an inch).
1 pouce = 2,54 cm ; 1 pas = 2,54 mm ; 1 th = 25,4µm
Routing
The steps to route a printed circuit board are as follows:
Outline of the map: draw the edge of the map to be created (a working grid of 1 mm
is used in most cases).
Placement of components: the placement of components is crucial, it is this that will
directly influence the routing difficulty of the board. The placement grid is 50th for
traditional components and CMS (Surface Mount Components)
can be placed with a finer grid. Indeed, it is always necessary to place first the
components that have mechanical constraints (specific location, such as
power supply,...etc.) then the placement of other components, grouping them by layer.
Path tracing: The path tracing is done manually, or by using the auto-function.
routing available on most CAD tools. The drawing grid is 25th and
sometimes 12th for certain components.
To be continued ....