behavioural modeling and simulation of a switched-current ... · si pll core main si content of si...

27
1 Electronic Systems Design Group University of Southampton, UK School of Electronics and Computer Science Behavioural Modeling and Simulation of Behavioural Modeling and Simulation of a Switched a Switched - - Current Phase Locked Loop Current Phase Locked Loop Peter R. Wilson, Reuben Peter R. Wilson, Reuben Wilcock Wilcock , , Bashir Bashir Al Al - - Hashimi Hashimi & Andrew D. Brown & Andrew D. Brown Electronic Systems Design Group Electronic Systems Design Group School of Electronics and Computer Science School of Electronics and Computer Science University of Southampton, UK University of Southampton, UK [email protected] [email protected]

Upload: others

Post on 04-Mar-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

1

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

Behavioural Modeling and Simulation of Behavioural Modeling and Simulation of a Switcheda Switched--Current Phase Locked LoopCurrent Phase Locked Loop

Peter R. Wilson, Reuben Peter R. Wilson, Reuben WilcockWilcock, , BashirBashir AlAl--HashimiHashimi & Andrew D. Brown& Andrew D. Brown

Electronic Systems Design GroupElectronic Systems Design GroupSchool of Electronics and Computer ScienceSchool of Electronics and Computer Science

University of Southampton, UKUniversity of Southampton, [email protected]@ecs.soton.ac.uk

Page 2: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

2

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

IntroductionIntroduction

As part of our current IC design efforts we need to design As part of our current IC design efforts we need to design some mid range (low frequency?) Phase Locked Loops.some mid range (low frequency?) Phase Locked Loops.

We are looking at 100MHzWe are looking at 100MHz--500MHz FSK applications.500MHz FSK applications.

We need to integrate onto a process of 120nm.We need to integrate onto a process of 120nm.

Page 3: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

3

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

Key Analogue Design Issues…Key Analogue Design Issues…Main technique to tackle poor output conductance of short Main technique to tackle poor output conductance of short channel devices is channel devices is cascodingcascoding..With DSM, threshold voltage does not scale linearly with With DSM, threshold voltage does not scale linearly with supply voltage which reduces the possibility of supply voltage which reduces the possibility of cascodingcascodingtechniques.techniques.Lower supply voltages directly impact on the dynamic range Lower supply voltages directly impact on the dynamic range of voltage mode circuits. of voltage mode circuits. DSM processes often either do not support passive DSM processes often either do not support passive component integration or their sizes/costs are prohibitive. component integration or their sizes/costs are prohibitive.

Page 4: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

4

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

Switched Cap or Switched Current?Switched Cap or Switched Current?

0.1

1

10

100

1990 1995 2000 2005 2010 2015Year

FOM

(MH

z/pW

)

SI(A) SI(AB) SC(gtsc=0.08V) SC(gtsc=0.16V)

FOM=f(area,power,SNR)

Page 5: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

5

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

Suitability of SI for DSMSuitability of SI for DSMAddressing the DSM problems with SI:Addressing the DSM problems with SI:

• Recent SI memory cells use neutralisation techniques to improve output conductance hence no cascoding necessary

• Current mode ensures suitability for low supply voltages• Analogue functionality with NO passive components

• Smaller area• Suitability for any digital process

Main practical issues with SI:Main practical issues with SI:• The operation of SI circuits depends on the parasitic themselves

hence have no choice but to use transistor level simulators• Hand design of even simple blocks can take time

Page 6: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

6

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

Background: Switched CurrentsBackground: Switched Currents““Switched Currents” (SI) is a current domain sampled data Switched Currents” (SI) is a current domain sampled data signal processing technique.signal processing technique.

• Drain current maintained, despite the gate opened, through the gate-oxide capacitance of the device.

• The most basic building block of SI is a memory cell• SI circuits require only a basic digital process

Switched Currents have been around for a while Switched Currents have been around for a while –– but it is but it is now that Digital processes have stretched away from their now that Digital processes have stretched away from their Analogue counterparts that it has become more attractive Analogue counterparts that it has become more attractive as a means of closing the gap.as a means of closing the gap.

Page 7: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

7

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

Switched Currents in a nutshellSwitched Currents in a nutshell

If the switch is closed, and If the switch is closed, and assuming ideal conditions, the assuming ideal conditions, the circuit operates as a current circuit operates as a current mirror.mirror.On opening the switch, the circuit On opening the switch, the circuit operates as a current mode track operates as a current mode track and hold and hold –– as C2 keeps the drain as C2 keeps the drain current in M2 flowing. current in M2 flowing. Capacitors C1 and C2 can be the Capacitors C1 and C2 can be the MOS transistor’s effective gateMOS transistor’s effective gate--source capacitances, Cgs1 and source capacitances, Cgs1 and Cgs2 respectively. Cgs2 respectively.

C1 C2

M2M1

Iin Iout

S1

Cgs1 Cgs2

M 2M 1

Iin Iout

S1

Page 8: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

8

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

So what’s the problem?So what’s the problem?We have developed design methods and tools (to a certain We have developed design methods and tools (to a certain extent) to design using SI extent) to design using SI We have successfully designed example circuits, produced We have successfully designed example circuits, produced silicon and it works silicon and it works BUT:BUT:

• Each design is handcrafted• The parameters need tuning• Simulations take days (higher level behavioural modeling is still

hardly used by IC designers)If we could only run many simulations If we could only run many simulations earlyearly in the design in the design phase using an architectural model, then we could establish phase using an architectural model, then we could establish the key design parameters the key design parameters quicklyquickly..

Page 9: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

9

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

Model of the SI Memory CellModel of the SI Memory Cell

SI circuits can appear very complex but SI circuits can appear very complex but they all rely on simple building blocks.they all rely on simple building blocks.

We have developed behavioural models We have developed behavioural models of the basic memory cell using fast of the basic memory cell using fast behavioural switch models to replace behavioural switch models to replace the transistor models the transistor models

• allows much faster simulations, but retains some of the intrinsic switching behaviour of the design.

• Essential to model non-ideal behaviour since this is fundamental to SI operation (i.e. Cgs)

11 11

'1

'1

'1

'1

'1

'1

'1

'1

Cp Cp

CnCn

'2

'2

'2

'2

'2

'2

'2

'2

CpCp

Cn Cn

1 2

1 1

Page 10: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

10

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

MAST memory cell modelMAST memory cell modelUsing MAST allows the model to be created using mixed Using MAST allows the model to be created using mixed analoganalog and digital functions, with direct control of the and digital functions, with direct control of the interfaces and switching elements.interfaces and switching elements.

The sections of the model allow for a structured approach to The sections of the model allow for a structured approach to the implementation of the key functions required.the implementation of the key functions required.

• Note only a subset of the model is shown for clarity and simplicity

Page 11: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

11

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

MAST memory cell modelMAST memory cell modelThe The when(event_onwhen(event_on()) function ()) function waits for a digital even on the waits for a digital even on the clock input that drives the basic clock input that drives the basic switching element in the memory switching element in the memory cellcellThe model remains in the digital The model remains in the digital domain to create a sample of the domain to create a sample of the internal voltage internal voltage vgsvgs, called , called vgs_dvgs_d..This is extremely fast and does This is extremely fast and does not add ANY overhead to the not add ANY overhead to the analoganalog model/simulationmodel/simulation

when(event_on(phi)) {if (phi == l4_1) {schedule_event(time,sw,1)

}else {schedule_event(time,vgs_d,vin)schedule_event(time,sw,0)

}}values {vin = v(inp) - v(inm)if(sw==1) {iin = ic + vin*gmvgs = vin

}else {iin = vgs*gmvgs = vgs_d

}}equations {ic = d_by_dt(c*vin)i(outp->outm) += iin/gmi(inp->inm) += iin

}

Page 12: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

12

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

MAST memory cell modelMAST memory cell modelThe values section is handling the The values section is handling the basic basic analoganalog functionality of the functionality of the memory cell and calculating the memory cell and calculating the scaled current during the tracking scaled current during the tracking phase (phase (swsw = 1)= 1)

Note that in the else part of the if Note that in the else part of the if statement the value of statement the value of vgsvgs is set to is set to the stored digital value the stored digital value –– this is the this is the memory aspect of the cellmemory aspect of the cell

when(event_on(phi)) {if (phi == l4_1) {schedule_event(time,sw,1)

}else {schedule_event(time,vgs_d,vin)schedule_event(time,sw,0)

}}values {vin = v(inp) - v(inm)if(sw==1) {iin = ic + vin*gmvgs = vin

}else {iin = vgs*gmvgs = vgs_d

}}equations {ic = d_by_dt(c*vin)i(outp->outm) += iin/gmi(inp->inm) += iin

}

Page 13: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

13

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

MAST memory cell modelMAST memory cell modelThe equations section of the The equations section of the model calculates the correct input model calculates the correct input and output currents and output currents it also models the effect of the it also models the effect of the input capacitance on the response input capacitance on the response of the cell.of the cell.

when(event_on(phi)) {if (phi == l4_1) {schedule_event(time,sw,1)

}else {schedule_event(time,vgs_d,vin)schedule_event(time,sw,0)

}}values {vin = v(inp) - v(inm)if(sw==1) {iin = ic + vin*gmvgs = vin

}else {iin = vgs*gmvgs = vgs_d

}}equations {ic = d_by_dt(c*vin)i(outp->outm) += iin/gmi(inp->inm) += iin

}

Page 14: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

14

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

An obvious question here?An obvious question here?Why not use V*Why not use V*--AMS?AMS?

We did We did -- we developed models in VHDLwe developed models in VHDL--AMS, VerilogAMS, Verilog--AMS, AMS, Spectre etc Spectre etc etcetc..

Mast was the quickest from a design perspectiveMast was the quickest from a design perspective• Simple and quick to create models• Easy to debug (!)• Excellent analysis tools

caveat.. BUT….. A relatively poor Cadence integrationcaveat.. BUT….. A relatively poor Cadence integration

Page 15: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

15

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

SI PLL CoreSI PLL CoreA novel 2A novel 2ndnd order PLL architecture was used that does not require a order PLL architecture was used that does not require a phase detector and offers benefits including small area, low powphase detector and offers benefits including small area, low power and er and compatibility with a standard digital CMOS process.compatibility with a standard digital CMOS process.

Perfect example of the application of SI to a fundamental blockPerfect example of the application of SI to a fundamental block

( )

⎟⎟⎠

⎞⎜⎜⎝

⎛⎟⎟⎠

⎞⎜⎜⎝

⎛ −−

⎟⎟⎠

⎞⎜⎜⎝

⎛ −−

=

gsc

mgsc

gsc

emm

ed

CFgCF

CFgAg

K

πππ

πθπ

θ

2exp1

2exp

)(

gsm

m

sCggsH2

)(+

=

AKd 66.0=

Page 16: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

16

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

SI PLL CoreSI PLL CoreMain SI content of SI PLL is the loop filterMain SI content of SI PLL is the loop filter

Loop filter operation is key to achieving the correct PLL loop Loop filter operation is key to achieving the correct PLL loop characteristics. It is essential to model the filter to determincharacteristics. It is essential to model the filter to determine correct e correct operation considering nonoperation considering non--ideal effects.ideal effects.Main advantages resulting from application of SI to PLL:Main advantages resulting from application of SI to PLL:

• Full integration of loop filter• Area reduction• Low power, and operation at low supply voltage

1 1Xi(z)

1+z-1

1-z-1Xo(z)

2 1

-1

Page 17: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

17

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

SI PLLSI PLLWe have used this concept to design a complete PLLWe have used this concept to design a complete PLL

• Details of the PLL design are given in recent papers – Wilcock, Wilson and Al-Hashimi, ISCAS 05 & Wilson and Wilcock, ISCAS 05

• Novel, implicit phase detection – hence no PD blockThe basic governing parameters of the PLL are The basic governing parameters of the PLL are

• switching element gain (a – default = 1.0) • current feedback gain ( b – default = 0.3).

Digital Filter ICO

DivideBy N

Φ1Φ2

Input

Output

Page 18: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

18

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

SI PLL SI PLL –– using bilinear transform structureusing bilinear transform structure

Digital Filter ICO

DivideBy N

Φ1Φ2

Input

Output

φ1

φ2+ -

+ -A1

bt_sampφ1

φ2

φ1

φ2+ -

+ -A2

bt_sampφ1

φ2

φ1

φ2+ -

+ -A3

bt_sampφ2

φ1

φ2

φ1+ -

+ -A4

bt_sampφ1

φ2

bt_sw

Iout

φ1 φ2

Iin

v2 v1

sm

sp

Each of these blocks ismodeled using semi-structural

or behavioural models

Behavioural ICO

Page 19: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

19

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

Basic SimulationBasic SimulationUsing this behavioural approach, a simulation with the initial Using this behavioural approach, a simulation with the initial nominal parameters was carried outnominal parameters was carried outThe input was an FSK signal varying between 99MHz and The input was an FSK signal varying between 99MHz and 101MHz101MHz

Page 20: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

20

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

Transistor Level SimulationTransistor Level SimulationWith the same basic architecture a transistor level With the same basic architecture a transistor level simulation was carried out using transistor level models simulation was carried out using transistor level models with the results shown below. The waveforms show the with the results shown below. The waveforms show the same basic loop response for the same parameterssame basic loop response for the same parameters

Page 21: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

21

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

Note on the responseNote on the responseYou may have noticed that the acquisition is asymmetric You may have noticed that the acquisition is asymmetric ––this is due to the nonthis is due to the non--linear phase detector gain, which is a linear phase detector gain, which is a trade off against stability hence the need for behavioural trade off against stability hence the need for behavioural models to investigate this design space.models to investigate this design space.The PD gain is dependant on input frequency and hence the The PD gain is dependant on input frequency and hence the PLL locks under damped to higher frequency and vice versaPLL locks under damped to higher frequency and vice versa

Page 22: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

22

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

Simulation ComparisonSimulation ComparisonThe The Transistor level modelTransistor level model took took 1 hour1 hour to run a single cycle to run a single cycle ––at a frequency of 10 times less. For an equivalent frequency at a frequency of 10 times less. For an equivalent frequency it would have taken around 10 hours for a single complete it would have taken around 10 hours for a single complete cycle. This was running on a cycle. This was running on a SparcSparc Ultra 10. Even using a Ultra 10. Even using a Linux simulation server we estimate simulation times of Linux simulation server we estimate simulation times of many minutes (perhaps a many minutes (perhaps a best of 20 minutesbest of 20 minutes).).The The switching behavioural modelswitching behavioural model took took 1.571.57 secondsseconds for the for the same simulation same simulation at full 100MHz rateat full 100MHz rate

Page 23: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

23

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

““What If” analysisWhat If” analysisThe vastly improved simulation The vastly improved simulation times allow us to carry out times allow us to carry out variation in parameters to variation in parameters to investigate the performance investigate the performance envelope of the design quickly.envelope of the design quickly.

A critical parameter is the loop A critical parameter is the loop feedback gain, and by varying this feedback gain, and by varying this we can obtain the optimal we can obtain the optimal parameter value for our parameter value for our applicationapplication

Page 24: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

24

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

120nm Silicon so far…120nm Silicon so far…A fully integrated 100MHz prototype chip is currently being fabrA fully integrated 100MHz prototype chip is currently being fabricated icated on a 120nm digital process (ST). The chip has a supply voltage oon a 120nm digital process (ST). The chip has a supply voltage of 1V, f 1V, power consumption of 5.9mW and an area of only 0.017mmpower consumption of 5.9mW and an area of only 0.017mm22 which is which is around 5% the size of a similar design based on a passive loop faround 5% the size of a similar design based on a passive loop filter.ilter.

aquisitionphaselocked

Page 25: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

25

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

ConclusionsConclusionsWe have used our design flow to successfully design a We have used our design flow to successfully design a serious PLL using SI targeted at a standard Digital DSM serious PLL using SI targeted at a standard Digital DSM process in less than 3 months.process in less than 3 months.Behavioural Behavioural modelingmodeling was an integral part of the design was an integral part of the design process and vital to its success.process and vital to its success.Design techniques to address low VDD issues are being Design techniques to address low VDD issues are being developed as we learn about the process issues.developed as we learn about the process issues.Next Silicon back in November 2005 at which time we can Next Silicon back in November 2005 at which time we can update the design community with results.update the design community with results.

Page 26: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

26

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

Final RemarksFinal RemarksA note by the design team is that it is often stated that A note by the design team is that it is often stated that languages and tools are effectively “for” a specific languages and tools are effectively “for” a specific application application -- this is not always the case. this is not always the case. This example highlights the fact that sometimes tools can This example highlights the fact that sometimes tools can be applied extremely effectively in areas where perhaps the be applied extremely effectively in areas where perhaps the vendor does not envisage or encourage their use. vendor does not envisage or encourage their use. The use of behavioural modeling is becoming even more The use of behavioural modeling is becoming even more critical as a design tool for AMS IC designs.critical as a design tool for AMS IC designs.The very simplicity and accessibility of MAST makes it an The very simplicity and accessibility of MAST makes it an attractive choice for mixed signal and mixed level integrated attractive choice for mixed signal and mixed level integrated circuit design circuit design –– for designersfor designers..

Page 27: Behavioural Modeling and Simulation of a Switched-Current ... · SI PLL Core Main SI content of SI PLL is the loop filter Loop filter operation is key to achieving the correct PLL

27

Electronic Systems Design Group

University of Southampton, UKSchool of Electronics and Computer Science

AcknowledgmentsAcknowledgments

EPSRC for funding the work (http://EPSRC for funding the work (http://www.epsrc.ac.ukwww.epsrc.ac.uk))

CMP for their excellent support (http://CMP for their excellent support (http://cmp.imag.frcmp.imag.fr))

My excellent design team! (http://My excellent design team! (http://www.esd.ecs.soton.ac.ukwww.esd.ecs.soton.ac.uk))