Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current...

62
Embedded Systems Power Supply

Transcript of Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current...

Page 1: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Embedded Systems

Power Supply

Page 2: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Consideration

• Voltage– Output voltage– In put voltage

• Current• Ripple• Power Consumption• Isolation• Interference• Protection

Page 3: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Linear Regulator

• Easy• Higher reliability• Low efficiency• Higher temperature

Page 4: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Linear Regulator

• LM78XX & LM79XX• Peak current (1A), change with voltage

difference • Vin < 35V• Vin – Vout > 5V• Thermal protection• Over current protection

Page 5: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Linear Regulator

Page 6: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Linear Regulator

Need enough voltage margin according to

working current

Page 7: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Linear Regulator

Page 8: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Linear Regulator

Page 9: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

LDO

• Low drop voltage 15mV~150mV• Higher efficiency • Larger current (500mW)

Page 10: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

LM1117

LM1117

Page 11: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

LM1117 adj

LM1117

Page 12: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

LDO

TPS60100

Charge Pump

3.3V I/O Voltage 200mA

TPS7301

LDO

1.8V Core Voltage

1N41

48

1N58

17

From Battery

From Battery

Page 13: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

DC-DC Convert

• Why DC-DC convert?– High efficiency– Step-up

• Shortcomings– Complex– Noise– Start-up current– Inductor

Page 14: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

DC-DC Convert

• Types– Step-up (boost)– Step-down (buck)– Invert

• Components– Inductor– Transformer– Capacitor– Diode– Feedback circuitry

Page 15: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Boost

Page 16: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Boost

Page 17: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Boost

Page 18: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Boost

Page 19: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Boost

Page 20: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Boost

Page 21: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Boost

Page 22: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Buck

Page 23: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Buck

Page 24: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Buck

Page 25: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Invert

Page 26: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Flyback

Page 27: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Flyback

Page 28: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Push-pull

Page 29: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

DC-DC Convert Components

• MOSFETOn resistorMax currentVoltage

• DIODEOn voltagePeak currentSpeed

• InductorPeak Current

Page 30: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Charge Pump

• Simple• High efficient• Low current• Ripple

Page 31: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Charge Pump (Double Voltage)

V+

V+ 2V+

Page 32: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Charge Pump (Double Voltage)

- +

Page 33: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Charge Pump (Negative Voltage)

V+ V-V+

Page 34: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Charge Pump (Negative Voltage)

+

-

Page 35: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Charge Pump

Page 36: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Charge Pump (Negative Voltage)

Page 37: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Charge Pump

Page 38: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Multiple Voltage

Page 39: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Battery

• Type• Capacity• Voltage change during discharge• Current leakage• Charging circuits• Protection

Page 40: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Battery

• Ni-Cd– Long history– Low self-discharge current– Relative low capacity– Memory effect– Charge stops at dv/dt<0

Page 41: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Battery

Page 42: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Battery

• Ni-MH– Relative high capacity– No memory effect– Higher self-discharge current– Charge stops at dv/dt=0

Page 43: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Battery

• Li+– 4.2V– Larger energy density– Strict charge requirements– Internal protection circuit

Page 44: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Battery

Page 45: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Battery

Page 46: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Battery

Page 47: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Charge steps

• Waiting for battery attached (Li+)• Start charge cycle• If battery voltage to low (2.45V), start trickle

charge (40mA)• Normal charge• Enter intermittence mode when battery

voltage reach float voltage• Stop charge when timer-out

Page 48: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Battery

Charge Protection

DC-DC LDO

LDO

booster control

Main voltage outputs

standby voltage

on/off

• inputted voltage may be higher or lower that 3.3V

• Never cutoff standby voltage

• Need battery charging protection circuits

Page 49: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Power over Ethernet (PoE)

• IEEE P802.3af• Category 5 Cable• 44~57V,typically 48V。• Max current 550mA, Max startup current

500mA。• Provide 5 stage power supply: 3.84~12.95W

Page 50: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Connection

2schemes

11 2 33 4 5 66 7 8Rx Tx TxRx

DC+ DC DC

11 22 33 4 5 66 7 8Rx Tx TxRx

DC+ DC

usign data pin

using idle pin

Page 51: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Implement of PoE

占用空闲管脚的连接

48V

Page 52: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

PoE device probe

detect the value of RPD to determine whether it

support POE120nF capacitor parallel with

25KΩ±5%

Page 53: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Detect power class of PD

Apply different voltage and measure current to discover the

power class of PD

Page 54: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Power System Design

Steps1. Collect voltage & current data2. Construct power tree3. Verify current of each path4. Verify efficiency on each node5. Adjust tree structure

Page 55: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Module Voltage Current Note

CPU 1.8V 80mA Core voltage. Can be shut down in sleep mode

3.3V 100mA IO voltage, memory sub-system voltage. Should be stable enough

Audio 3.3V 10mA CODEC, analog sub-system voltage, can be shutdown. Low noise voltage

3.3V 10mA CODEC, digital sub-system voltage, can be shutdown

5V 20mA Power Amp, can be shutdown. Low noise voltage

LCD 3.3V 50mA Digital signal. Keep power-on sequence, can be shutdown

-12V 5~10mA Keep power-on sequence, can be shutdown

5V >100mA Backlight invert, can be shutdown

Page 56: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Design• Power tree– Source

• Battery• Wall adapter

– Different branched for different voltages– Separate one voltage branches if necessary

• Analog-Digital• Shutdown function• Interference• Current• Protection

– Move branches to reduce power consumption– Select chipsets for the implementation

Page 57: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Bad Design Example

Step-up Step-down

Battery

5V

LCD Backlight

CPLD

CPU & Memory

1.8V

Buttons, LEDs

External Power in

Charge LDO

LDO

Step-up

3.3V

3.3V

Audio Power Amp.

Audio CODEC

LCD module

Step-up

Page 58: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Good Design Example

DC-DC

Battery

5V

LCD Backlight

CPLD

CPU & Memory

1.8V Buttons,

LEDs

External Power in

Charge LDO

Step-down

DC-DC

3.3V

3.3V

Audio Power Amp.

Audio CODEC

LCD module

DC-DC

Buttons

LDO

DC-DC

4V

4.2V ~ 2.7V

LDO

LDO LDO

3.3V

5V

12V

Charge Pump

5V

Page 59: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Design Example

LM317

LM7805

7v 2A

CPLD

CF

LCD

Audio, Touch screen, RS232,

IrDA, BSR, BCR, Bus

LEDs

TPS7333 TPS7333

TPS7333

LM7805

USB

Backlight voltage inverter

4.2v 1500mA

LM317 Processor

board

5v 1500mA

To extended

port

4.2v 1500mA

5v 1500mA

To extended

port

No limit on power efficiency

Page 60: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Hand held dev. using USB charging(example)

Page 61: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Power on order

TPS60100

Charge Pump

3.3V I/O Voltage 200mA

TPS7301

LDO

1.8V Core Voltage

1N41

48

1N58

17

From Battery

From Battery

Ensure on startup, Vcore won’t be higher than Vio too much

Viocannot be higher that Vcore too much

Vio

Vcore

Page 62: Embedded Systems Power Supply. Consideration Voltage – Output voltage – In put voltage Current Ripple Power Consumption Isolation Interference Protection.

Power on order——Implement by power tree