52
Analog and Digital Grounds Electronics Analog and Digital Grounds Terry Sturtevant Wilfrid Laurier University May 31, 2017 Terry Sturtevant Electronics Analog and Digital Grounds

Electronics- Analog and Digital Grounds

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Electronics- Analog and Digital Grounds

Analog and Digital Grounds

ElectronicsAnalog and Digital Grounds

Terry Sturtevant

Wilfrid Laurier University

May 31, 2017

Terry Sturtevant Electronics Analog and Digital Grounds

Page 2: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Analog and Digital Grounds

digital noise; fast, lots of currentanalog noise; slow, low current

Terry Sturtevant Electronics Analog and Digital Grounds

Page 3: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Analog and Digital Grounds

digital noise; fast, lots of current

analog noise; slow, low current

Terry Sturtevant Electronics Analog and Digital Grounds

Page 4: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Analog and Digital Grounds

digital noise; fast, lots of currentanalog noise; slow, low current

Terry Sturtevant Electronics Analog and Digital Grounds

Page 5: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Connection resistance

Terry Sturtevant Electronics Analog and Digital Grounds

Page 6: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Connection resistance

Consider a trace on a circuit board.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 7: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Connection resistance

Consider a trace on a circuit board.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 8: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Connection resistance

Consider a trace on a circuit board.

area

Terry Sturtevant Electronics Analog and Digital Grounds

Page 9: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Connection resistance

Consider a trace on a circuit board.

length

Terry Sturtevant Electronics Analog and Digital Grounds

Page 10: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Connection resistance

Copper resistivity ρ ≈ 1.56× 10−8Ω−mTrace dimensions ≈ mm ×mm/100× length(cm)Resistance R ≈ 10−8length/

(10−3 × x10−5)

→ 1Ω/mVoltage fluctuation on lines ∆V = (∆I) R;

Thus mA fluctuation→mV/m fluctuation. This includesfluctuations on power and ground lines. The farther you get frompower and ground connections, the more noise you get on powerand ground lines.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 11: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Connection resistance

Copper resistivity ρ ≈ 1.56× 10−8Ω−m

Trace dimensions ≈ mm ×mm/100× length(cm)Resistance R ≈ 10−8length/

(10−3 × x10−5)

→ 1Ω/mVoltage fluctuation on lines ∆V = (∆I) R;

Thus mA fluctuation→mV/m fluctuation. This includesfluctuations on power and ground lines. The farther you get frompower and ground connections, the more noise you get on powerand ground lines.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 12: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Connection resistance

Copper resistivity ρ ≈ 1.56× 10−8Ω−mTrace dimensions ≈ mm ×mm/100× length(cm)

Resistance R ≈ 10−8length/(10−3 × x10−5)

→ 1Ω/mVoltage fluctuation on lines ∆V = (∆I) R;

Thus mA fluctuation→mV/m fluctuation. This includesfluctuations on power and ground lines. The farther you get frompower and ground connections, the more noise you get on powerand ground lines.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 13: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Connection resistance

Copper resistivity ρ ≈ 1.56× 10−8Ω−mTrace dimensions ≈ mm ×mm/100× length(cm)Resistance R ≈ 10−8length/

(10−3 × x10−5)

→ 1Ω/m

Voltage fluctuation on lines ∆V = (∆I) R;

Thus mA fluctuation→mV/m fluctuation. This includesfluctuations on power and ground lines. The farther you get frompower and ground connections, the more noise you get on powerand ground lines.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 14: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Connection resistance

Copper resistivity ρ ≈ 1.56× 10−8Ω−mTrace dimensions ≈ mm ×mm/100× length(cm)Resistance R ≈ 10−8length/

(10−3 × x10−5)

→ 1Ω/mVoltage fluctuation on lines ∆V = (∆I) R;

Thus mA fluctuation→mV/m fluctuation. This includesfluctuations on power and ground lines. The farther you get frompower and ground connections, the more noise you get on powerand ground lines.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 15: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Connection resistance

Copper resistivity ρ ≈ 1.56× 10−8Ω−mTrace dimensions ≈ mm ×mm/100× length(cm)Resistance R ≈ 10−8length/

(10−3 × x10−5)

→ 1Ω/mVoltage fluctuation on lines ∆V = (∆I) R;

Thus mA fluctuation→mV/m fluctuation.

This includesfluctuations on power and ground lines. The farther you get frompower and ground connections, the more noise you get on powerand ground lines.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 16: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Connection resistance

Copper resistivity ρ ≈ 1.56× 10−8Ω−mTrace dimensions ≈ mm ×mm/100× length(cm)Resistance R ≈ 10−8length/

(10−3 × x10−5)

→ 1Ω/mVoltage fluctuation on lines ∆V = (∆I) R;

Thus mA fluctuation→mV/m fluctuation. This includesfluctuations on power and ground lines.

The farther you get frompower and ground connections, the more noise you get on powerand ground lines.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 17: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Connection resistance

Copper resistivity ρ ≈ 1.56× 10−8Ω−mTrace dimensions ≈ mm ×mm/100× length(cm)Resistance R ≈ 10−8length/

(10−3 × x10−5)

→ 1Ω/mVoltage fluctuation on lines ∆V = (∆I) R;

Thus mA fluctuation→mV/m fluctuation. This includesfluctuations on power and ground lines. The farther you get frompower and ground connections, the more noise you get on powerand ground lines.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 18: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Effect of noise on power and ground lines

AnalogConsider an op amp with a gain of 1000(inverting amp),assumes “ground” is zero;if off by few mv with an input signal of mv, effect could bevery large.

DigitalMay produce glitches.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 19: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Effect of noise on power and ground lines

Analog

Consider an op amp with a gain of 1000(inverting amp),assumes “ground” is zero;if off by few mv with an input signal of mv, effect could bevery large.

DigitalMay produce glitches.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 20: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Effect of noise on power and ground lines

AnalogConsider an op amp with a gain of 1000

(inverting amp),assumes “ground” is zero;if off by few mv with an input signal of mv, effect could bevery large.

DigitalMay produce glitches.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 21: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Effect of noise on power and ground lines

AnalogConsider an op amp with a gain of 1000(inverting amp),

assumes “ground” is zero;if off by few mv with an input signal of mv, effect could bevery large.

DigitalMay produce glitches.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 22: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Effect of noise on power and ground lines

AnalogConsider an op amp with a gain of 1000(inverting amp),assumes “ground” is zero;

if off by few mv with an input signal of mv, effect could bevery large.

DigitalMay produce glitches.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 23: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Effect of noise on power and ground lines

AnalogConsider an op amp with a gain of 1000(inverting amp),assumes “ground” is zero;if off by few mv with an input signal of mv, effect could bevery large.

DigitalMay produce glitches.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 24: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Effect of noise on power and ground lines

AnalogConsider an op amp with a gain of 1000(inverting amp),assumes “ground” is zero;if off by few mv with an input signal of mv, effect could bevery large.

Digital

May produce glitches.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 25: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Effect of noise on power and ground lines

AnalogConsider an op amp with a gain of 1000(inverting amp),assumes “ground” is zero;if off by few mv with an input signal of mv, effect could bevery large.

DigitalMay produce glitches.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 26: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Solution to noise problems - analog

Digital and analog grounds should be separated to minimizeproblems with analog signals due to digital noise on power andground lines.Keep separate power and grounds (so digital noise absent); onlyjoin once near supply.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 27: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Solution to noise problems - analog

Digital and analog grounds should be separated to minimizeproblems with analog signals due to digital noise on power andground lines.

Keep separate power and grounds (so digital noise absent); onlyjoin once near supply.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 28: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Solution to noise problems - analog

Digital and analog grounds should be separated to minimizeproblems with analog signals due to digital noise on power andground lines.Keep separate power and grounds (so digital noise absent);

onlyjoin once near supply.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 29: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Solution to noise problems - analog

Digital and analog grounds should be separated to minimizeproblems with analog signals due to digital noise on power andground lines.Keep separate power and grounds (so digital noise absent); onlyjoin once near supply.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 30: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Separate grounds; MCP3008 (Microchip)

Terry Sturtevant Electronics Analog and Digital Grounds

Page 31: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Separate grounds; MCP3008 (Microchip)

Terry Sturtevant Electronics Analog and Digital Grounds

Page 32: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Separate grounds; MCP3008 (Microchip)

“If no ground plane is utilized, both grounds must be connected toVSS on the board.”

Terry Sturtevant Electronics Analog and Digital Grounds

Page 33: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

From MCP3008 datasheet (Microchip)

Terry Sturtevant Electronics Analog and Digital Grounds

Page 34: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

From MCP3008 datasheet (Microchip)

“If a ground plane is available, both digital and analog ground pinsshould be connected to the analog ground plane.”

Terry Sturtevant Electronics Analog and Digital Grounds

Page 35: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Separate grounds; ADC0804 (National Semiconductor)

Terry Sturtevant Electronics Analog and Digital Grounds

Page 36: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Separate grounds; ADC0804 (National Semiconductor)

Terry Sturtevant Electronics Analog and Digital Grounds

Page 37: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Separate grounds; ADC0804 (National Semiconductor)

“Note:The separate A Gnd point should always be wired to the DGnd.”

Terry Sturtevant Electronics Analog and Digital Grounds

Page 38: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

From ADC0804 datasheet (National Semiconductor)

Terry Sturtevant Electronics Analog and Digital Grounds

Page 39: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

From ADC0804 datasheet (National Semiconductor)

Can you identify which symbol is for each type of ground?

Terry Sturtevant Electronics Analog and Digital Grounds

Page 40: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Solution to noise problems - digital

Use filter capacitors from Vcc to ground near IC to smooth thefluctuations as close to the device as possible; The value istypically 0.01→ 0.1µF

Terry Sturtevant Electronics Analog and Digital Grounds

Page 41: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Solution to noise problems - digital

Use filter capacitors from Vcc to ground near IC to smooth thefluctuations as close to the device as possible;

The value istypically 0.01→ 0.1µF

Terry Sturtevant Electronics Analog and Digital Grounds

Page 42: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Solution to noise problems - digital

Use filter capacitors from Vcc to ground near IC to smooth thefluctuations as close to the device as possible; The value istypically 0.01→ 0.1µF

Terry Sturtevant Electronics Analog and Digital Grounds

Page 43: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Filter capacitors

Here’s an ordinary circuit board.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 44: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Filter capacitors

Here’s an ordinary circuit board.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 45: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Filter capacitors

Terry Sturtevant Electronics Analog and Digital Grounds

Page 46: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Filter capacitors

Notice the filter capacitors.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 47: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Filter capacitors

Notice the filter capacitors.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 48: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Filter capacitors

Notice the filter capacitors.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 49: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Filter capacitors

Here are more.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 50: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Filter capacitors

Here are more.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 51: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Filter capacitors

Find some more.

Terry Sturtevant Electronics Analog and Digital Grounds

Page 52: Electronics- Analog and Digital Grounds

Analog and Digital GroundsConnection resistanceEffect of noise on power and ground linesSolution to noise problems

Filter capacitors

Find some more.

Terry Sturtevant Electronics Analog and Digital Grounds