Docsity

Embedded Systems Programming: Topic 13 - Load Analysis for Embedded Systems - Prof. Stephe, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Embedded Systems Programming: Topic 13 - Load Analysis for Embedded Systems - Prof. Stephe and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Embedded Systems Programming

ETEE 3285

Topic 13: Load Analysis

Objective

 To understand hardware constraints on embedded systems

 Define:

 Noise Margins  Load Currents and Fanout  Capacitive Loads  Transmission Line Effects and Characteristics  and Ground Bounce

 Look at TTL & CMOS Static (DC) and Dynamic (AC)

Characteristics

 Look at interfacing TTL and CMOS

 Perform a detailed Load Analysis

Luck?

 It is possible to get lucky with a design:

 Get a system to function by just interconnecting components

 By just considering the logic design

 It is much more difficult to be able to guarantee that your

design will work under all possible conditions

 When timing or loading problems appear in a design:

 Looks like intermittent failures or

 Sensitivity to temperature changes

 Sensitivity to humidity, etc

Skill

 A worst-case design takes into account all available

information regarding the components to be used

 A detailed analysis will provide documented proof that

the design will work reliably

 It is much better to design using worst-case design rules

rather than attempt to correct problems later

 Worst-case design efforts result in direct cost and time

savings

Voltage Levels

VIH-MIN: Minimum Input Low Voltage VIL-MAX: Maximum Input Low Voltage

VDD

Gnd

VIH-MIN

VIL- MAX

VOH-MIN

VOL-MAX

VOH-MIN: Minimum Output High Voltage VOL-MAX: Maximum Output Low Voltage

Noise Margins

NMHIGH High-Level Noise Margin

NMLOW Low-Level Noise Margin

NMHIGH=VOH-MIN-VIH-MIN
VDD

Gnd

VIH-MIN

VIL-MAX

VOH-MIN

VOL-MAX

NMLOW=VIL-MAX-VOL-MAX

High Fanout

10

A

When Gate A is producing a logic “1” output, and is driving too many “Gate

Bs,” IOH increases, causing the output voltage to drop (because the voltage

across R is increasing). This will cause Vo to drop, possibly below an

identifiable Logic “1” (2v).

IOH I

IH

V?

  • IIH
IIH
IIH

Vo

B B B^ B
B B B^ B
B B B^ B
B B B^ B

Low Currents

A B

IIL
IOL

Vo = 0.4v

Currents leaving a device are considered positive (IIL)

Currents entering a device are considered negative (IOL)

Capacitive Loads

 The capacitive load is defined as the parallel combination

of all the input capacitances of the driven gates, plus

stray capacitances in the wiring and traces on the board

 CL, is the driving device’s test load capacitance used by

the manufacturer for specifying the AC characteristics

 This specification is usually listed in the test conditions or

notes for the timing specifications of the chip

 You may have to hunt a little bit for it

Capacitive Loads

 All the AC characteristics will be valid as specified if the

sum of the load capacitances (including the stray wiring

capacitance) is less than the specified CL

 CL > actual Cload = Cin1 + Cin2 + … + Cwiring

 If the actual CL is greater than specified CL, then the

clock needs to be slowed down

 Additional capacitances will increase the rise and fall times of the signal
line in question

V (^) o for

V (^) o for

VDD

Gnd 0 Time

CL > actual Cload

CL < actual Cload

Actual Capacitive Loads

 Of course, actual values can vary quite a bit

 Actual wiring capacitive load values depend on:

 The physical dimensions of the trace

 Proximity to surrounding signals

 Distance from a ground plane

 The dielectric constant of the circuit board material.

CMOS DC Characteristics

 A common design problem involves calculating how

many LS-TTL loads a CMOS output can drive

 We’ll use the example as found in the Arnold book

 CMOS Parameters

Capacitive Load Analysis

 The AC parameters would not be the limiting factor in this

case

 The CMOS output is specified with a CL of 150 pF

 Each LSTTL input is only 10 pF

 10 loads would present 100 pF

 stray wiring capacitance would be less than 50 pF

 Presents an AC load of less than the 150 pF CMOS IC’s output

load handling capability

 But ………How many additional CMOS loads could be added?

How many additional CMOS?

 A DC (static) and an AC (dynamic) answer

 From a DC point of view  All the CMOS output sink current (IOL)is used up  So - no loads could be added  However, there is negligible current in a CMOS input  The DC sink current is not the practical limit

 The real limitation is the capacitive loading (AC)

 The test load was specified as 150 pF (CL)  CL on the CMOS gate output would be 100 pF (ten LS-TTL loads of 10 pF each)  CMOS capacitive loading was specified at CL =150 pF  50 pF left over to drive the additional CMOS loads  CMOS Cin is 25 pF  remaining CL /Cin of additional CMOS inputs = 50 pF/25 pF = 2