electronic systems - a1 23/04/2009electronic systems - a1 23/04/2009 2008 ddc - 2006 storey 3 page 3...

37
Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 1 Page 1 23/04/2009 - 1 ElnSysA1 - 2008 DDC ELECTRONIC SYSTEMS A – INTRODUCTION A.1 – Organization and contents » Goals and organization » Systems and modules » Analog and digital signals » Benefits of digital electronics Politecnico di Torino - ICT school Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 2 Page 2 23/04/2009 - 2 ElnSysA1 - 2008 DDC INDUSTRIAL ENGINEERING DIGITAL ELECTRONICS MATH, INFORMATICS, PHYSICS, CIRCUITS, .. Basic concepts, functions, signals, …. Courses in Electronics ELECTRONIC SYSTEMS ELECTRONIC DEVICES ANALOG ELECTRONICS

Upload: others

Post on 22-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 1Page 1

23/04/2009 - 1 ElnSysA1 - 2008 DDC

ELECTRONIC SYSTEMS

A – INTRODUCTION

A.1 – Organization and contents

» Goals and organization

» Systems and modules

» Analog and digital signals

» Benefits of digital electronics

Politecnico di Torino - ICT school

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 2Page 2

23/04/2009 - 2 ElnSysA1 - 2008 DDC

INDUSTRIALENGINEERING

DIGITAL ELECTRONICS

MATH, INFORMATICS, PHYSICS, CIRCUITS, .. Basic concepts,

functions, signals, ….

Courses in Electronics

ELECTRONIC SYSTEMS

ELECTRONIC DEVICES

ANALOG ELECTRONICS

Page 2: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 3Page 3

23/04/2009 - 3 ElnSysA1 - 2008 DDC

Goals of the “Electronics” courses

• Electronic systems– Basic concepts and techniques.

» Systems as a set of functional units, defined by external parameters (models),

» Use of feedback

» Analog and digital signals and circuits: benefits and drawbacks

» Interfaces and power handling» Examples of applications

• Unique course in electronics for industrial engineers– What can be done with electronics

• First of a sequence for ICT engineers– Applications and design in the following

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 4Page 4

23/04/2009 - 4 ElnSysA1 - 2008 DDC

Course content

• Electronic systems• Sensors and actuators• Bode plots• Amplification• Control and feedback• Operational amplifiers• Semiconductors and diodes• Field-effect and bipolar transistors• Power electronics

Page 3: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 5Page 5

23/04/2009 - 5 ElnSysA1 - 2008 DDC

What you should already know

• Circuit theory– RLC networks with controlled sources, Laplace transform (s)

• Mathematics– Linear equation systems, Differential equations (order I)

• Informatics – Boolean algebra, logic operators

• Physics – Basic mechanics, electric and magnetic fields

• Signal theory– Frequency domain analysis (qualitative)

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 6Page 6

23/04/2009 - 6 ElnSysA1 - 2008 DDC

Content of this lesson (A1)

• Course goals• Course organization• Exams • Prerequisites• Why “Electronic systems”• An example of system• Function and structure• Signals in the time and frequency domains• Analog and digital signals• Benefits of digital electronic systems

Page 4: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 7Page 7

23/04/2009 - 7 ElnSysA1 - 2008 DDC

Course goals

• Develop skills, competencies, and abilities to:

– Translate the application requirements into specifications» how the specific application can be built as an electronic

system

– Design at the system level» functional characteristics, external behavior of modules

» interface among modules

– Design at the circuit level» internal structure of modules

» design flow of modules

» error analysis

– Experimental verification of circuits behavior

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 8Page 8

23/04/2009 - 8 ElnSysA1 - 2008 DDC

Grouping of course contents

• A Introduction

• B Transducers and amplifiers

• C Operational amplifiers and feedback

• D Electronic devices

• E Logic circuits

• F Processing systems

Page 5: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 9Page 9

23/04/2009 - 9 ElnSysA1 - 2008 DDC

Module organization

• Room lessons and exercises– every week:

» 2+2+2+2 h lesson/exercise, or

» 2+2+2 h lesson/exercise +3 h laboratory (to be confirmed)

• Total load (planned)– 15 lessons x 2h 30 + 60 (homework)

– 5 exercises x 2h 10 + 10

– 5 labs x 3h 15 + 8

– total hours 55 78

– 55 room_hours + 78 self-study_hours = 133/27 ≈ 5 credits

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 10Page 10

23/04/2009 - 10 ElnSysA1 - 2008 DDC

Learning resources – book

• Reference textbook:– Neil Storey

– Electronics: A Systems Approach

– Prentice Hall, 2006, ISBN-13:9780131293960

• student resources– http://wps.pearsoned.co.uk/ema_uk_he_storey_electronic_3/

42/10999/2815814.cw/index.html

– Solved exercises

– Self-evaluation tests

Page 6: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 11Page 11

23/04/2009 - 11 ElnSysA1 - 2008 DDC

Learning resources - website

• Course website:– http://ulisse.polito.it/matdid/

3ing_eln_L1740_TO_0/ETLCEnTO/index.htm

– Copies of slides

– Solved exercises, Examples of written tests, …

• FTP site: exchange of reports, homework, ..

• Other suitable textbooks– R.C. Jaeger, T.N. Blalock: Microelectronics

McGraw Hill, 2004

– J. Millman, A. Grabel: Microelectronics (II ed.), McGraw Hill/Boringhieri

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 12Page 12

23/04/2009 - 12 ElnSysA1 - 2008 DDC

Learning resources in italian

• Course website (same course held in Torino):– http://ulisse.polito.it/matdid/

3ing_eln_L1740_TO_0/ETLCEnTO/index.htm

• Texbook (in italian):– Zappa: Fondamenti di Elettronica (II ed.), Esculapio, 2002

– Zamboni, Graziano: Introduzione all'analisi dei SistemiElettronici, CLUT, 2006 (collection of exercises)

• Distance learning course:– http://corsiadistanza.polito.it/on-line/Sistemi_ele/index2.htm

Page 7: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 13Page 13

23/04/2009 - 13 ElnSysA1 - 2008 DDC

Examples and tests

• Examples (during the lesson)– Simple problems, fully solved

• End-of-lesson tests (slide at the end of each lesson)– Test to verify understanding of basis issues, or

– Summary of lesson contents

• Room tests (sessions of exercises)– Statement of a problem

– Sequence of questions

– Require aggregation of contents from several lessons

• Samples of solved written tests (course website)

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 14Page 14

23/04/2009 - 14 ElnSysA1 - 2008 DDC

Test goals

• Faults must be identified as soon as possible– Before delivery to final customer

– “missed learning” must be corrected before exam

• Goal of tests (self evaluation)– Find quickly “missed learning”

• Goals of exercises – Apply theory to new cases

• An Engineer will carry out design, not exams, but …– To become engineers you have (also) to pass exams

– To pass exams you must be able (also) to solve exercises

Page 8: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 15Page 15

23/04/2009 - 15 ElnSysA1 - 2008 DDC

Laboratory experiences: why ?

• Engineering: maths & realworld � models + experiments

• The course includes lab experiments, aimed to– Verify models towards real cases

– Verify correctness of design procedures

– Practice teamworking & communication

• Manuals and guides in the website

• Needs homework– Preliminary workplan, role definition, design, simulations

– Report writing (will be evaluated)

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 16Page 16

23/04/2009 - 16 ElnSysA1 - 2008 DDC

Exam procedures

• Detailed document “Exams” in the website

• Final mark F– F = 0,8 S + 0,2 L + [miniproject], + [lesson notes prize]

• S: Exam (written exercise + oral discussion)– End of course: single question, about 15’

– Other times: shorter exercise + 30’ oral discussion

• L: lab reports– Unique mark for the whole group

– Penalties for missed experiments

Page 9: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 17Page 17

23/04/2009 - 17 ElnSysA1 - 2008 DDC

Cooperation and team-working

• The engineer never works alone: organization and cooperation are part of real work environments

– Lab exercises aim also to exploit cooperation in the workplace: carrying out the experience and writing the report are collective responsibility of the working group.

– Only with proper preliminary organization and task assignment among the people in the group the experiment can be completed in the available time.

– Learn to cooperate effectively and organize your work

– Better to set-up mixed skill & language teams

• the cooperation principle does not apply to exams

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 18Page 18

23/04/2009 - 18 ElnSysA1 - 2008 DDC

Exam supplement

• A cell-free course

• Each ring � mandatory homework (required to pass the exam)

– Radiation levels of cell phones, comparison with regulations

– Structure and operation of silent bells (vibracall)

– …

Page 10: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 19Page 19

23/04/2009 - 19 ElnSysA1 - 2008 DDC

Content of this lesson (A1)

• Course goals• Course organization• Exams • Prerequisites• Why “Electronic systems”• An example of system• Function and structure• Signals in the time and frequency domains• Analog and digital signals• Benefits of digital electronic systems

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 20Page 20

Storey, Electronics: A Systems Approach, 3rd Edition © Pearson Education Limited 20061.20

Electronic systems

� A system can be defined asAny closed volume for which all theinputs and output are known.

� Examples include:– an automotive system– an air conditioner.

� Inputs and outputs will reflect the nature of the system.

1.2

Page 11: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 21Page 21

23/04/2009 - 21 ElnSysA1 - 2008 DDC

Systems and modules

• Any electronic system is composed by interconnected modules.

MODULE

MODULE

INTERCONNECTIONS

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 22Page 22

23/04/2009 - 22 ElnSysA1 - 2008 DDC

?

??

Why do we start from systems ?

• Most designers use modules and functional units designed and/or built by other people.

Page 12: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 23Page 23

23/04/2009 - 23 ElnSysA1 - 2008 DDC

Functional units

• To use functional units, one should know the external behavior, not the internal structure.

– What the module does ?» FUNCTION

– How much power is needed ?» POWER SUPPLY

– How is information exchanged with other units ?

» SIGNALS

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 24Page 24

23/04/2009 - 24 ElnSysA1 - 2008 DDC

What is a “signal” ?

• In electronic systems information is carried byelectric quantities

– Voltages, current

– Frequency, pulse width

– …..

• Information is associated to changes of these quantities:

– Signal

– Any electrical variable with an associated information

Page 13: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 25Page 25

23/04/2009 - 25 ElnSysA1 - 2008 DDC

Role of the engineer

• Real-world systems are complex– We need methods to analyze and design them

• The engineer can divide a complex problem in a set of smaller ones � each “small” problem is solvable

• Need to know decomposition and description techniques

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 26Page 26

23/04/2009 - 26 ElnSysA1 - 2008 DDC

Function and structure

• The system can be described in terms of – Function:� what should the system do� which are interactions (with external world)

– Structure� how the system is built� how can we design and build it

• Described by – Block diagrams

– Object-relations

– Use case

Page 14: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 27Page 27

23/04/2009 - 27 ElnSysA1 - 2008 DDC

The sample system

• Example of (low complexity) system:

Air conditioner

– Uses a variety of functional units

– Interface to various sensors and actuators

– A good set of samples for electronic applications

• Steps – Functional definition

– Structure (block diagram)

– Analysis of some functional units

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 28Page 28

23/04/2009 - 28 ElnSysA1 - 2008 DDC

Functional specification

• What should the system do?– Keep constant temperature in a defined area

• Detailed operations– Measure the air temperature in two positions T1 and T2

– Evaluate a weighted average T = W1 T1 + W2 T2

– Compare with the reference temperature

– Evaluate if heating or cooling is required

– Turn-on heater or cooler

– Activate fan

– Show actual temperature on a LCD display

– ……

Page 15: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 29Page 29

23/04/2009 - 29 ElnSysA1 - 2008 DDC

Block diagram / use cases

• Which are the elementary units?– Thermometers

– Heater

– Cooler

– Processing

– User interface (display + knobs/keys)

• How they interact internally and with external world?– Temperature measurements

– Set target, display current temperature

– Turn ON/OFF power devices (cooler, heater)

– Activate fan

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 30Page 30

23/04/2009 - 30 ElnSysA1 - 2008 DDC

Block diagram and structure

• How is the system built?

Page 16: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 31Page 31

23/04/2009 - 31 ElnSysA1 - 2008 DDC

Input sensors

• Temperature measurements– External: air

– Internal: » Refrigerator unit» Motors

• From temperature to voltage (or current)– Temperature sensors, defined by

» Input range,

» Precision» O(I); if linear: gain

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 32Page 32

23/04/2009 - 32 ElnSysA1 - 2008 DDC

ELECTRONIC SYSTEM

Generic system structure

• Most signal processing used digital circuits– Signals must be converted from analog to digital, than again

to analog:» ANALOG/DIGITAL (A/D) conversion

» DIGITAL/ANALOG (D/A) conversion

DIGITALSYSTEM

A/D D/A

ANALOG SIGNALS

Page 17: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 33Page 33

23/04/2009 - 33 ElnSysA1 - 2008 DDC

Signal conversion

• External world: analog• Internal processing: digital

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 34Page 34

23/04/2009 - 34 ElnSysA1 - 2008 DDC

Output actuators

• Refrigerator motor (ON/OFF)

• Fan (speed control)

• Air flow direction (position control)

• All these are Actuators

Page 18: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 35Page 35

23/04/2009 - 35 ElnSysA1 - 2008 DDC

Motor control: functions

• What should a motor control do?

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 36Page 36

23/04/2009 - 36 ElnSysA1 - 2008 DDC

Motor control: block diagram

• How can we build a motor control system?

Page 19: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 37Page 37

23/04/2009 - 37 ElnSysA1 - 2008 DDC

Motor control: electric diagram

• Which are elementary devices, and how are they connected?

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 38Page 38

23/04/2009 - 38 ElnSysA1 - 2008 DDC

Motor control: device datasheet

• Which are the features of commercial devices used?

Page 20: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 39Page 39

23/04/2009 - 39 ElnSysA1 - 2008 DDC

Why do we start from “systems” ?

• To use functional units, one should know the external behavior, not the internal structure.

– What the module does ?» FUNCTION

– How much power is needed ?» POWER SUPPLY

– How is information exchanged with other units ?

» SIGNALS

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 40Page 40

23/04/2009 - 40 ElnSysA1 - 2008 DDC

• Signals (carry information)• Power supply (carry energy)

• The power is distributed as DC voltage (Vsu).

Vsu

GND

INFOIN

INFOOUT

Where does power come from ?

Page 21: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 41Page 41

23/04/2009 - 41 ElnSysA1 - 2008 DDC

The power supply system

• Goal: distribute power with– Low heating

– Low pollution (batteries !)

– High efficiency

• Functional units – Mains power supply, batteries, …

– Voltage regulators, battery chargers

– Power handling units

• A complex subsystem

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 42Page 42

23/04/2009 - 42 ElnSysA1 - 2008 DDC

Content of this lesson (A1)

• Course goals• Course organization• Exams • Prerequisites• Why “Electronic systems”• An example of system• Function and structure• Signals in the time and frequency domains• Analog and digital signals• Benefits of digital electronic systems

Page 22: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 43Page 43

23/04/2009 - 43 ElnSysA1 - 2008 DDC

Why do we start from “systems” ?

• To use functional units, one should know the external behavior, not the internal structure.

– What the module does ?» FUNCTION

– How much power is needed ?» POWER SUPPLY

– How is information exchanged with other units ?

» SIGNALS

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 44Page 44

23/04/2009 - 44 ElnSysA1 - 2008 DDC

Various types of signals

• Analog/digital• High/low/very low level

– Mike vs loudspeaker

• Frequency range– Audio vs RF

• Waveform – Sinewave, squarewave

• Information encoding– Cell phones

– Digital TV

• …

Page 23: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 45Page 45

23/04/2009 - 45 ElnSysA1 - 2008 DDC

Signals in the air conditioner

• Input– Temperature

– User setting

• Output– Refrigerator power

– Fan power

– Setting display

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 46Page 46

23/04/2009 - 46 ElnSysA1 - 2008 DDC

Low frequency signals

• In the circuits handling temperature and position the information changes very slowly: low frequency signals

• Example: sine signal (tone):– v(t) = V sin (ωt + φ)

– V = peak value (volt, V)

– ω = angular frequency (radians/second), (frequency f = ω/2π, hertz, Hz)

– φ = phase (radians, rad)

Page 24: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 47Page 47

23/04/2009 - 47 ElnSysA1 - 2008 DDC

Analog signals

• audio

• Triangular wave

• temperature

tempo frequenza

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 48Page 48

23/04/2009 - 48 ElnSysA1 - 2008 DDC

Radiofrequency signal

• The remote control circuit uses high frequency signals Radio Frequency (RF), around 800 MHz.

– Needs special amplifiers and wiring (coax cables).

• Example: RF carrier at 800 MHz

– Time domain

– Frequency domain

t

1,2 ns

f

800 MHz

Page 25: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 49Page 49

23/04/2009 - 49 ElnSysA1 - 2008 DDC

Time domain representation

A signal can be represented in the time domain ….

X axis: time

Y axis:amplitude

instrument: oscilloscope

t = 0

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 50Page 50

23/04/2009 - 50 ElnSysA1 - 2008 DDC

Frequency domain representation

…. or in the frequency domain:

asse X: frequenza

Y axis:amplitude

Instrument: spectrum analyzer

f = 0

fundamental

II harmonic

III harmonic

noise

Page 26: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 51Page 51

23/04/2009 - 51 ElnSysA1 - 2008 DDC

Time-frequency relation

• Quick changes of the signal corresponds to high frequency components

time frequencyF = 0

bandwidth

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 52Page 52

23/04/2009 - 52 ElnSysA1 - 2008 DDC

Signal spectrum

• Periodic/not periodic» Spectrum with lines (∆F = 1/T) / continuous spectrum

• Limited in the time domain (from t = T1 to t = T2)» Unlimited bandwidth (from f = 0 to f = ∞)

• Limited bandwidth (from fA to fB)» Unlimited in the time domain (from t = -∞ to t = + ∞)

• Steep changes» high frequency components

• Actual signals» ~limited in time & frequency (few power out T1-T2 and F1-F2)

• Spectrum simulator for various waveforms: material � simulator and SW � signal spectrum

Page 27: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 53Page 53

23/04/2009 - 53 ElnSysA1 - 2008 DDC

Analog signals

• Analog signals are continuous– in the time domain: is defined for any time instant (within an

assigned interval 0, T)

– in the amplitude domain: can assume any value (within an assigned interval 0, S)

• Parameters:– Amplitude interval

» max and min values (dynamic range),

» DC component (if any)

– Spectral content» bandwidth, spectrum shape t

AS

0

0 T

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 54Page 54

23/04/2009 - 54 ElnSysA1 - 2008 DDC

Digital signals

• A digital signal is a sequence of numbers, in most cases binary (base 2)

– Discrete in the time domain: defined only at sometime instant (within a defined interval)

– Discrete in the amplitude domain: can assume only some values(within a defined interval)

8 bits, 28 = 256 values

t1

t2

t3

t4

t5

Page 28: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 55Page 55

Storey, Electronics: A Systems Approach, 3rd Edition © Pearson Education Limited 20061.55

� Discrete signals are often described as digital signals.

� Many digital signals take only two values and are referred to as binary signals.

Representation of digital signals

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 56Page 56

23/04/2009 - 56 ElnSysA1 - 2008 DDC

Where do we find digital signals ?

• Most evident– Computers and information processing systems

• Most electronic systems contain digital parts– Audio and video equipment

– Cellular and cordless phones

• Embedded electronic systems– Cars

– Planes

– White goods

– …

Page 29: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 57Page 57

23/04/2009 - 57 ElnSysA1 - 2008 DDC

Errors with digital representation

• Values defined only at discrete times � Sampling– Sampling interval Ts, sampling rate Fs = 1/Ts

– Can represent signals with bandwidth Fa < Fs/2 (Nyquist-Shannon theorem)

» example: Fs = 20 kHz, Fa < 10 kHz

• Finite number of values � Quantization– N bit : 2N values, therefore

– Quantization error εQ = 100/2N % = 1M/2N PPM» example: 28 = 256 εQ = 0,4 %

• Simulator of quantization effects on Ulisse website at: learning material � simulators and SW � quantization

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 58Page 58

23/04/2009 - 58 ElnSysA1 - 2008 DDC

Binary signals representation

• Time evolution of a binary signal is represented by a bit sequence:

– Two state symbols 1/0, or H/L

– Defined at Ts intervals (samples)

Ts

valueH

L

time

Page 30: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 59Page 59

23/04/2009 - 59 ElnSysA1 - 2008 DDC

Ts

H

L

Timing diagrams

• States are represented by different voltage levels» High state � H, 1, ... → 3 V

» Low state � L, 0, ... → 0,5 V

• The sequence of states becomes a timing diagram, similar to analog signals representation

value

timeH L H H L1 0 1 1 0

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 60Page 60

23/04/2009 - 60 ElnSysA1 - 2008 DDC

Noise and disturbance

All signals include a variable amount of random noise

the noise does not carry useful information

Page 31: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 61Page 61

Storey, Electronics: A Systems Approach, 3rd Edition © Pearson Education Limited 20061.61

Distortion

� All systems distort electricalsignal to some extent– examples include clipping,

crossover distortion andharmonic distortion.

� Distortion is systematicand is repeatable.

1.3

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 62Page 62

Storey, Electronics: A Systems Approach, 3rd Edition © Pearson Education Limited 20061.62

� All systems also add noiseto the signals that pass through them.

� Unlike distortion, noise israndom and not repeatable.

� Noise cannot be removed from analog signals

� With proper techniques, noise can be removedfrom digital signals.

Noise

Page 32: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 63Page 63

23/04/2009 - 63 ElnSysA1 - 2008 DDC

Analog signal degradation

• Any processing or amplification step adds noise.

• For an analog signal the noise represents a not recoverable information loss.

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 64Page 64

23/04/2009 - 64 ElnSysA1 - 2008 DDC

Digital signal degradation

• In a digital signal degradation caused by noise can be recovered, if limited within defined boundaries.

Page 33: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 65Page 65

23/04/2009 - 65 ElnSysA1 - 2008 DDC

Digital signal level restore

Thanks to amplitude discretization of digital signals, the levels can be restored to original values by comparison with a threshold

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 66Page 66

23/04/2009 - 66 ElnSysA1 - 2008 DDC

Digital signal recovery

• Digital signal can be recovered at regular intervals– Effects of noise do not cumulate

• Recovery allows to use long digital processing chains, to carry out complex operation

– Not possible with analog technique, due to noise cumulative effects

• To avoid information loss– Noise must be limited

– Signal must be periodically rebuilt.

• Simulator of noise effects on Ulisse website: material � simulator and SW � segnale analogico/digitale con rumore

Page 34: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 67Page 67

23/04/2009 - 67 ElnSysA1 - 2008 DDC

Towards external world

• Physical interfaces (transducers and actuators) handle in most cases analog signals

• The Electronic system uses analog signal to interact with the external world

ELECTRONICSYSTEM

ANALOG SIGNALS

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 68Page 68

23/04/2009 - 68 ElnSysA1 - 2008 DDC

A/D/A sequence

• Today electronics is mainly digital– signals must be translated from analog to digital, and then

from digital to analog:» ANALOG/DIGITAL (A/D) conversion

» DIGITAL/ANALOG (D/A) conversion

ELECTRONIC SYSTEM

NUMERICSYSTEM

A/D D/A

ANALOG SIGNALS

Page 35: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 69Page 69

23/04/2009 - 69 ElnSysA1 - 2008 DDC

ELETTRONICSYSTEM

Analog ���� Digital ���� Analog

• Most part of electronic systems includes:– interfaces towards the analog external world (front-end)

– A/D conversion

– Numeric signal handling

– D/A conversion

– interfaces towards the analog external world (back-end)

ADC

Numeric system DAC

Actuators and analog

back-end

Sensors and analog

front-en

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 70Page 70

23/04/2009 - 70 ElnSysA1 - 2008 DDC

Changes in electronic systems

• Electronics systems are moving towards digital

A/D

Numericsystem

D/A Actuat

Sens

A/D

Numeric system

Actuators and analog back-end

Sensors and analog

front-end

timeD/A

Page 36: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 71Page 71

23/04/2009 - 71 ElnSysA1 - 2008 DDC

Electronics is going towards digital

• Only digital techniques allow complex processing– They do not cumulate noise

– Digital integrated circuit have higher complexity then analog ones

• Automatic tools for design and testing of digital ICs are available

– Digital ICs have lower cost

• The behavior of a digital circuit can be easily modified

– Software

– Programmable logic circuits

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 72Page 72

23/04/2009 - 72 ElnSysA1 - 2008 DDC

Limits of digital

• Intrinsic errors caused by– Amplitude quantization

(errors related with bit number N),

– Time sampling(errors related with sampling rate).

• Digital variable are represented using analog signals (V, I, …)

– High speed digital signals requires analog techniques

• Some signals can be only analog (RF, …)– The boundary is continuously moving

(over ~1000 MHz almost everything is analog)

Page 37: Electronic Systems - A1 23/04/2009Electronic Systems - A1 23/04/2009 2008 DDC - 2006 Storey 3 Page 3 23/04/2009 - 3 ElnSysA1 - 2008 DDC Goals of the “Electronics” courses • Electronic

Electronic Systems - A1 23/04/2009

2008 DDC - 2006 Storey 73Page 73

23/04/2009 - 73 ElnSysA1 - 2008 DDC

Lesson A1 – final test

• Develop an example of functional (what does) and structural (how is built) descriptions for a system.

• The mains voltage (220V, 50 Hz) can be considered a signal?

• Which part of the spectrum use temperature signals?

• How many values can be represented with 8 bits?

• How are usually represented logic states?

• Describe the benefits of analog signals and systems

• Do all electronic systems have some analog part ?