Top Banner
Design and Verification of Speed-Independent Multiphase Buck Controller Danil Sokolov 1 , Victor Khomenko 1 , Andrey Mokhov 1 , Alex Yakovlev 1 , David Lloyd 2 1 Newcastle University, UK; 2 Dialog Semiconductor, UK
24

Design and Verification of Speed-Independent Multiphase ...

Apr 30, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Design and Verification of Speed-Independent Multiphase ...

Design and Verification ofSpeed-Independent

Multiphase Buck Controller

Danil Sokolov1, Victor Khomenko1, Andrey Mokhov1,Alex Yakovlev1, David Lloyd2

1Newcastle University, UK; 2Dialog Semiconductor, UK

Page 2: Design and Verification of Speed-Independent Multiphase ...

Motivation

2 / 19

• Efficient implementation of power converters is paramount

• Extending the battery life of mobile gadgets• Reducing the energy bill for PCs and data centres

(5+3% of global electricity production)

• Need for responsive and reliable control circuitry - little digital

• Millions of control decisions per second for years

• An incorrect decision may permanently damage the circuit

• Poor EDA support

• Synthesis is optimised for data processing - big digital

• Ad hoc solutions are prone to errors and cannot be verified

Page 3: Design and Verification of Speed-Independent Multiphase ...

Basic buck converter: Schematic

3 / 19

control

Th_nmos

Th_pmos

buck

V_ref

V_0

R_lo

ad

PMOS

NMOS

I_max

gp_ack

oc

uv

zc

gn_ack

gp

gn

over-current (oc)

under-voltage (uv)

zero-crossing (zc)

• In the textbook buck a diode is used instead of NMOS transistor

Page 4: Design and Verification of Speed-Independent Multiphase ...

Basic buck converter: Informal specification

4 / 19

UV UV OC

I_max

current

no ZC late ZC

OC

PMIN

early ZC

PMOS OFF

ZC

PMOS O

FF

NM

OS O

N

NMOS OFF

PMIN

ZC

NMOS

OFF

PMOS

ON

NM

OS

OFF

NMOS O

N

PMOS O

FF

NM

OS O

N

PMOS O

FF

PMOS

ON

UV OC

timeNMOS

OFF

PMOS

ON

NMINNMIN PMIN

• no ZC – under-voltage without zero-crossing

• late ZC – under-voltage before zero-crossing

• early ZC – under-voltage after zero-crossing

Page 5: Design and Verification of Speed-Independent Multiphase ...

Multiphase buck converter: Schematic

5 / 19

Th_pmos

I_max

NMOS[1]

gn1

gn_ack1 Th_nmos

zc1

V_0

PMOS[N]

gp_ackN

ocN

hl

zero-crossing (zc)

Th_nmos

V_0

NMOS[N]

under-voltage (uv) V_ref

gnN

PMOS[1]

gp1

Th_pmos

gp_ack1

I_maxover-current (oc)

oc1

zcN

uv

gn_ackN

gpN

V_minhigh-load (hl)

control

buck

R_lo

ad

Page 6: Design and Verification of Speed-Independent Multiphase ...

Multiphase buck converter: Informal specification

6 / 19

• Normal mode

• Phases are activated sequentially

• Phases may overlap

• High-load mode

• All phases are activated simultaneously

• Benefits

• Faster reaction to the power demand

• Heat dissipation from a larger area

• Decreased ripple of the output voltage

• Smaller transistors and coils

Page 7: Design and Verification of Speed-Independent Multiphase ...

Synchronous design

7 / 19

• Two clocks: phase activation (~5MHz) and sampling (~100MHz)

Easy to design (RTL synthesis flow)

Response time is of the order of clock period

Power consumed even when idle

Non-negligible probability of a synchronisation failure

• Manual ad hoc design to alleviate the disadvantages

Verification by exhaustive simulation

Page 8: Design and Verification of Speed-Independent Multiphase ...

Asynchronous design

8 / 19

• Event-driven control decisions

Prompt response (a delay of few gates)

No dynamic power consumption when the buck is inactive

Other well known advantages

Insufficient methodology and tool support

• Our goals

• Formal specification of power control behaviour• Reuse of existing synthesis methods• Formal verification of the obtained circuits• Demonstrate new advantages for power regulation

(power efficiency, smaller coils, ripple and transient response)

Page 9: Design and Verification of Speed-Independent Multiphase ...

High-level architecture: Token ring

9 / 19

Page 10: Design and Verification of Speed-Independent Multiphase ...

High-level architecture: Stage

10 / 19

Page 11: Design and Verification of Speed-Independent Multiphase ...

High-level architecture: Activation

11 / 19

Page 12: Design and Verification of Speed-Independent Multiphase ...

High-level architecture: Activation

11 / 19

Page 13: Design and Verification of Speed-Independent Multiphase ...

WAIT element

12 / 19

Page 14: Design and Verification of Speed-Independent Multiphase ...

WAIT element

12 / 19

• STG specificationRead-consume conflict

between output and input.

• ME-based solution • Gate-level implementation

can be removed

Page 15: Design and Verification of Speed-Independent Multiphase ...

High-level architecture: Charging

13 / 19

Page 16: Design and Verification of Speed-Independent Multiphase ...

High-level architecture: Charging

13 / 19

PMIN

early ZC

PMOS OFF

ZC

PMOS O

FF

NM

OS O

N

NMOS OFF

PMIN

ZC

NMOS

OFF

PMOS

ON

NM

OS

OFF

NMOS O

N

PMOS O

FF

NM

OS O

N

PMOS O

FF

PMOS

ON

UV OC

NMOS

OFF

PMOS

ON

NMINNMIN

Page 17: Design and Verification of Speed-Independent Multiphase ...

Synthesis flow

14 / 19

• Manual decomposition of the system into modules

• To create formal specification from informal requirements(feedback loop with engineers)

• To simplify specification and synthesis

• Some modules are reusable

• Some modules (WAIT and OPPORTUNISTIC MERGE) are

potential standard components

• Each component is specified using STGs

• Automatic synthesis into speed-independent circuits

Page 18: Design and Verification of Speed-Independent Multiphase ...

ZC_HANDLER module

15 / 19

Page 19: Design and Verification of Speed-Independent Multiphase ...

ZC_HANDLER module

15 / 19

• STG specification

Page 20: Design and Verification of Speed-Independent Multiphase ...

ZC_HANDLER module

15 / 19

• Speed-independent implementation

Page 21: Design and Verification of Speed-Independent Multiphase ...

Formal verification

16 / 19

• STG verification

• All standard speed-independence properties

• PMOS and NMOS are never ON simultaneously

(no short circuit)

• Some timers are used in a mutually exclusive way

and can be shared

• Circuit verification

• Conforms to the environment

• Deadlock-free and hazard-free under the given environment

Page 22: Design and Verification of Speed-Independent Multiphase ...

Tool support: WORKCRAFT

17 / 19

• Framework for interpreted graph models (STGs, circuits, FSMs,

dataflow structures, etc.)

• Interoperability between models

• Elaborated GUI

• Includes many backend tools

• PETRIFY – STG and circuit synthesis, BDD-based

• PUNF – STG unfolder

• MPSAT – unfolding-based verification and synthesis

• PCOMP – parallel composition of STGs

Page 23: Design and Verification of Speed-Independent Multiphase ...

Tool support: WORKCRAFT

18 / 19

Page 24: Design and Verification of Speed-Independent Multiphase ...

Conclusions

19 / 19

• Fully asynchronous design of multiphase buck controller

• Quick response time: few gate delays, all mutexes areoutside the critical path

• Reliable: no synchronisation failures

• Design flow is automated to large extent

• Automatic logic synthesis• Formal verification at the STG and circuit levels

• New standard components (WAIT and OPPORTUNISTIC MERGE)• Future work

• Measurements!• Development of WORKCRAFT to support hierarchical design• Co-simulation and co-verification of digital/analogue circuits• Better integration with the Synopsys and Cadence flows