You are on page 1of 23

Basic Building Blocks of Embedded System

Microcontroller: CPU, I/Os, Memory,


Interrupts, Timers, Communications

Industrial Process
1
Sensor Output: Voltage, Current, Resistance
Vout = ±10V, 10V, ±5V, 5V, 1V, 05V
Microcontroller Input:
Vin= 3.3V, 5V or 0-to-5V)
Physical
Variable:

Temp
Humidity

Load:
Motor
Lights
Digital or Analog Output from the microcontroller:
• Microcontroller output: 3.3V, 5V with 2-20mAmp, Current,
• Load: 230/120VAC/10VDC/24VDC and 1, 2,5 100 Amps

Signal conditioning circuit in the input (SCC)


• To reduce or amplify or level shifting the sensor output to make it
compatible with the microcontroller digital input (3,3V or 5V) or
analog input (0-3.3V or 0-5V).
• To transfer it from I-V or R-V so that the microcontroller can read it
Signal conditioning in the output (driver circuit, such relays)
• to provide interface with high voltage load such 230/120VAC or
10VDC/20VDC
• As well as high load current (more than the GPIO 3-25mAmps) 2
Resistance temperature
detectors (RTDs):
RTDs are sensors used to measure
temperature by correlating the
resistance of the RTD element
with temperature

Industrial Process
3
Operational Amplifiers (“Op-Amp")

http://en.wikipedia.org/wiki/Operational_amplifier
A component level diagram of the common 741 op-amp. Dotted lines outline: current mirrors(red);
differential amplifier (blue); class A gain stage (magenta); voltage level shifter (green); output stage (cyan).

4
Operational Amplifier (Op Amp)
Operational Amplifier Real Value
Ideal Features:
 Input Impedance = ∞ 10MΩ
 Output Impedance = 0 Few Ωs
 Voltage Gain = ∞ 500,000
 Bandwidth = ∞ 10MHz

 Perfect Balance = Vout = 0 V- = V+

 There is no drift. Offset 100µV,


𝜇𝑉
5
𝐶
 Arithmetic Operations:
- Add (summer).
- Sub (differential).
- Integration.
- Differentiator.
http://www.youtube.com/watch?v=xaOF2SNktRY 5
The two basic types of operational amplifiers are called:
 Inverting and.
 Non-inverting.
 Follow

http://www.mccdaq.com/PDFs/specs/Signal-Conditioning.pdf
 The gain equals the ratio between the feedback and input resistor values.

Gain= Vo/Vin
Gain= Vo/Vin + 1

6
Av = (Rf /Ri) +1 = 11.

7
8
Voltage Comparator

9
http://pdf1.alldatasheet.com/datasheet-pdf/view/70329/LINER/LT1167C.html 10
11
12
Rectifiers, how do they work.
A rectifier consists of 1 or more diodes and a reservoir capacitor,
a.k.a. smoothing capacitor. It is used to change A.C. (Alternating
Current) voltages into D.C. (Direct Current) voltages.
• The upper picture shows a half-wave rectifier,
• The bottom picture a full-wave (bridge) rectifier.
The full-wave rectifier has a higher efficiency and lower
ripple voltage as the reservoir capacitor is charged more
often as both halves of the sine wave are used.

https://diyaudioheaven.wordpress.com/tutorials/power-supplies/rectifiers/
13
Before Regulation After Regulation

14
A voltage regulator generates a fixed output voltage of a preset magnitude that
remains constant regardless of changes to its input voltage or load conditions.

https://www.youtube.com/watch?v=GSzVs7_aW-Y
15
Dropout Voltage

Need
heat
sink

No
Need
heat
sink
16
Active Band Pass Filter

17
18
Digitally Adjustable Amplifier Gain

2 to 1 http://www.electronics-tutorials.ws/combination/comb_2.html
Multiplexer

19
http://www.farnell.com/datasheets/1840262.pdf 20
IC Packages
DIP (Dual in-line packages)

Quad Flat Packages

http://www.anterwell.com/Product/packinfo/tid/137.html

https://learn.sparkfun.com/tutorials/integrated-circuits/ic-packages
21
High-Speed CMOS Logic 16-Channel Analog
Multiplexer/Demultiplexer
http://www.farnell.com/datasheets/1840262.pdf 22
HIGH-SPEED CMOS LOGIC 16-CHANNEL
ANALOG MULTIPLEXER and DEMULTIPLEXER

http://www.ti.com/lit/ds/symlink/cd74hct4067-q1.pdf

23

You might also like