analysis and modeling of neural-recording adc

25
Analysis and Modeling of Neural-Recording ADC Mentors: Wolfgang Eberle Vito Giannini Progress Update: Summer Internship Vaibhav Karkare

Upload: yvonne

Post on 03-Feb-2016

49 views

Category:

Documents


0 download

DESCRIPTION

Progress Update : Summer Internship. Analysis and Modeling of Neural-Recording ADC. Vaibhav Karkare. Mentors: Wolfgang Eberle Vito Giannini. Neural Recording System. Traditional neural recording approach Transmission of raw data using wires Amplification and processing performed off-site - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Analysis and Modeling of Neural-Recording ADC

Click to edit Master title style

Analysis and Modeling of Neural-Recording ADC

Mentors:Wolfgang Eberle

Vito Giannini

Progress Update: Summer Internship

Vaibhav Karkare

Page 2: Analysis and Modeling of Neural-Recording ADC

2

Neural Recording System

Traditional neural recording approach– Transmission of raw data using wires– Amplification and processing performed off-site

Motivation for implantable integrated recording systems– Wireless transmission– Processing larger number of channels– Real-time control for BMIs

Page 3: Analysis and Modeling of Neural-Recording ADC

3

Constraints for Neural Recording System

Design constraints– Power density < 800 W/mm2

– Low area for ease of integration– Low sampling rates of 30 kHz/Channel

Lowest power ADCs areSAR CR ADCs

Approximate ADC constraints:– 10-bit resolution– Sampling frequency: 1

MSa/sec

Design goal:– Minimize power and

area

[1]

Page 4: Analysis and Modeling of Neural-Recording ADC

4

Notation for Non-Idealities of ADC

Static error definitions for a ADC [2]

Page 5: Analysis and Modeling of Neural-Recording ADC

5

Design Constraints for ADC

Constraints on ADC for neural recording not well defined in literature– Need to formulate constraints based on end result of the processing

Spike-sorting process [3]

Page 6: Analysis and Modeling of Neural-Recording ADC

6

Strategy for Defining Specifications

Sample neural data– Read from Neuralynx format

into Matlab– Quantized and converted back

into Neuralynx format

Osort software used for spike sorting [4]– Only known hardware-friendly

clustering algorithm

Two clustering accuracy metrics are defined– Difference being inclusion of

detection errors and false alarms [5]

Sample Neural Data

Spike-Sorting

Non-ideal quantizer

Spike-Sorting

Compare classification

results

Bird’s eye view of analysis approach

Page 7: Analysis and Modeling of Neural-Recording ADC

7

Number of bits needed

Most previous analysis calculates number of bits based on electrode thermal noise [6]

– Making quantization noise equal to thermal noise degrades SNR by up to 3 dB

– Thermal noise is uncorrelated with data while quantization noise is not

Knee of the curve lies around 9 bits– Reasonable assumption for

the ADC

– Matches commonly used number for ADC design in neural recording systems

Page 8: Analysis and Modeling of Neural-Recording ADC

8

Clustering Accuracy vs. DNL

Non-monotonic behavior of curves precludes identification of clear trend– Need for statistical averaging

Page 9: Analysis and Modeling of Neural-Recording ADC

9

CA Over Multiple DNL profiles

The mean classification accuracy is not a strong function of DNL– Indicates that the design of the ADC can sacrifice some DNL in favor

of savings in power / area

Page 10: Analysis and Modeling of Neural-Recording ADC

10

Variance of Accuracy

Higher DNLs also lead to higher variance in classification accuracy– Non-monotonic nature implies more averaging is needed

Page 11: Analysis and Modeling of Neural-Recording ADC

11

Conclusions: Part 1

Summary of this work:– Created automated simulation setup for evaluation of impact of

quantization error on spike-sorting results

– Initial results point towards classification accuracy being a weak function of DNL

– DNL around 1.5 LSB can be tolerated without significantly affecting classification accuracy

– Higher DNLs lead to lower classification accuracy and higher variance in classification results

Future Work:– Simulation over larger number of DNL profiles and large number of

data sets is required to establish validity of results

– Similar analysis can be performed to include other non-idealities in analog front-end

Page 12: Analysis and Modeling of Neural-Recording ADC

12

SAR ADC: Architecture

Operation governed by passive charge sharing

Size of capacitor array dictated by matching requirements and size of unit capacitor

Water-level analogy of ADC operation

Architecture of SAR ADC [7]

Page 13: Analysis and Modeling of Neural-Recording ADC

13

Ideal Case Model

Comparator makes decisions using voltage difference

Model ADC using charge conservation– Solve for differential and common mode voltages

1

1 1 2

1

2 2 1

1

( ) ( ) (A.1)2

( ) ( ) (A.2)2

( 2)

2

ifi i i i i i i i

DDeq cm arr eq f arr f f

ifi i i i i i i i

DDeq cm arr eq f arr f f

i i iDDeq f arri

f i ieq arr

VC V SC V C V C V V

VC V SC V C V C V V

C V SC VV

C C

1

1

(A.3)

(A.4)

i icm cm cm

i i ieq eq arr

V V V

C C C

(A.5)

Page 14: Analysis and Modeling of Neural-Recording ADC

14

An Interesting Side-Note

We model three port capacitive network as an equivalent two-port capacitor– No return path for charge in

Carri from GND

Also a valid approximation in presence of parasitics– Provided sum of parasitic caps.

is lower than array and sampling caps.

– Not possible if Carri were

replaced by two separate single-ended capacitors

Page 15: Analysis and Modeling of Neural-Recording ADC

15

Symmetric Array Parasitics

1

1

1

2 (A.3)

2

(2 2) (A.4)

2

2 (A.5

i i i iDD DDeq f arr ti

f i i ieq arr t

i i iDDeq cm ti

cm i ieq t

i i i ieq eq t arr

C V SC V SC VV

C C C

C V C VV

C C

C C C C

)

1

1 1 2

1

2 2 1

( ) ( ) ( ) ( ) (A.1)2

( ) ( ) ( ) ( ) (A.2)2

ifi i i i i i i i i i

DD DDeq cm arr t eq t f arr f f

ifi i i i i i i i i i

DD DDeq cm arr t eq t f arr f f

VC V SC V u S C V C C V C V V

VC V SC V u S C V C C V C V V

Solution to the above system of simultaneous linear equations gives:

Page 16: Analysis and Modeling of Neural-Recording ADC

16

Effect of Symmetric Parasitics

Common mode drift with each conversion step– Due to top and bottom plate capacitances charged to different values– Can affect comparator decisions

Gain error in ADC characteristics– Assuming parasitics are proportional to array capacitance

Page 17: Analysis and Modeling of Neural-Recording ADC

17

Asymmetric Array Parasitics

11

12

1

2

( ) 2 (D.1)

2 2 (D.2)

2 (D.3)

( 2) (D.4)

i i i i iDDeq f arr t

i i i iDDeq cm t

i i i ieq arr t

i i i ieq arr b

C V C C V

C V C V

C C C

C C C

1

2

1 1 2 2 2 1 1 2 1

1 2 1 2 1 1 2 1

2 (D.5)

2 (D.6)

( ) ( ) ( ) ( ) (A

( ) ( ) ( ) ( )

i i ieq t

i i ieq b

i i i i i i i iif i i i i i i i i

C C

C C

V

1 1 2 2 2 1 1 2 1

1 2 1 2 1 1 2 1

1

.3)

( ) ( ) ( ) ( )1( ) (A.4)

2 ( ) ( ) ( ) ( )

( ) 4 (A.5)

i i i i i i i iicm i i i i i i i i

i i i i ieq eq t b arr

V

C C C C C

1

1 1 2

1

2 2 1

( ) ( ) ( ( ) ( ) ) ( ) (A.1)2

( ) ( ) ( ( ) ( ) ) ( ) 2

ifi i i i i i i i i i i

DD DDeq cm arr t eq t b f arr f f

ifi i i i i i i i i i i

DD DDeq cm arr t eq t b f arr f f

VC V SC V u S C V C u S C u S C V C V V

VC V SC V u S C V C u S C u S C V C V V

(A.2)

Separate terms for Vif1 and Vi

f2 , solve for Vi

f1 and Vif2 to obtain:

Page 18: Analysis and Modeling of Neural-Recording ADC

18

Effect of Parasitic Mismatch

Dependence of O/P on absolute single-ended voltage leads to DNL– Differential Voltage now depends on absolute voltage values

across parasitics– Estimated DNL of up to 3 LSB for 10% parasitics (with extreme

mismatch in top and bottom plate cap)

Page 19: Analysis and Modeling of Neural-Recording ADC

19

Modeling Junction Capacitances

In this analysis we focus on the non-linear S-D drain capacitances– Gate capacitances are expected not to significantly impact the

linearity of the ADC

0 (1 / )

Fit to simulated data gives:

0.7

0.37

mR Fj j

F

C C V

m

Page 20: Analysis and Modeling of Neural-Recording ADC

20

Polynomial Approximation

Diode equation leads to non-integer exponents– Equations do not easily converge with numerical methods

Use polynomial fit instead – Fits equally well with monotonic characteristics over range of interest

Page 21: Analysis and Modeling of Neural-Recording ADC

21

Modeling with Junction Parasitics

We have two equations in two variables and 5th order of the form:

( )Q C V dV

Re-write charge conservation with non-linear capacitors

5 5 4 4 3 34 0 4 1 3 1 3 1 2 2 2 1

2 21 1 1 1 0 0 0 1

5 5 4 4 3 34 0 4 2 3 1 3 2 2 2 2 2

2 21 1 1 2 0 0 0 2

( ) ( ) ( )

( ) ( )

( ) ( ) ( )

( ) ( )

A A A A A A A A Af f f

A A A A A Af f

A A A A A A A A Af f f

A A A A A A Af f

k V k V k V

k V k V

m V m V m V

m V m V

Need to use numerical methods– Unique solution does not exist

– The initial condition is derived by solving the equation without parasitic junction capacitances

Page 22: Analysis and Modeling of Neural-Recording ADC

22

Effect of Junction Parasitics

Even with symmetric parasitic values the non-linearity of the junction caps leads to DNL in the ADC– Junction caps are charged to different voltages

– ADC with 1.04 m switch for 60 fF capacitor has DNL contribution of 0.3 LSB due to parasitic junction capacitors

– DNL contribution dependent on ratio between array capacitor and switch size

Page 23: Analysis and Modeling of Neural-Recording ADC

23

Conclusions: Part 2

Summary of this work:– Modeled the effect of non-linearities on static characteristics of ADC

– Matlab model integrated with existing model which also includes comparator mismatch and thermal noise

– Parasitics of array capacitance lead to a CM drift

– Mismatch in parasitic capacitances leads to DNL

– Junction capacitances lead to DNL even when switches are perfectly symmetric

Future Work:– Validation of model with Cadence simulations

– Modeling dynamic non-idealities of ADC

– Combining Part 1 and Part 2 to have a application-specific optimized ADC

– Check out for options to better performance of previous ADC using trends shown by models

Page 24: Analysis and Modeling of Neural-Recording ADC

24

References/AcknowledgmentsREFERENCES

[1] B. Murmann, “ADC Performance Survey 1997-2009”, [Online] Available: http://www.stanford.edu/~murmann/adcsurvey.html

[2] B.Razavi, “Principles of Data Conversion System Design”, IEEE Press, 2005

[3] V. Karkare, S. Gibson, and D. Markovic, “A 130 W, 64-Channel Spike-Sorting DSP Chip”, ASSCC, Nov’09

[4] U. Reutishauser, E. Schuman, and A. Mamelak, “Online detection and sorting of extracellularly recorded action potentials in human medial temporal lobe recordings in vivo”, JNM, May’05

[5] S. Gibson, J.W.Judy, and D. Markovic, “Comparison of Spike-Sorting Algorithms for Future Hardware Implementation”, EMBC, Aug’08

[6] M.Chae, et. al., “Design Optimization for Integrated Neural Recording Systems”, JSSC, Sep’08

[7] J. Craininckx and G. Van der Plaas, “A 65fJ/Conversion-Step 0-to-50 MS/s 0-to-0.7 mW 9b Charge Sharing SAR ADC in 90nm Digital CMOS”, ISSCC, Feb’07

ACKNOWLEDGMENTS

Wolfgang Eberle, Vito Gianniani, Dejan Markovic, Sarah Gibson, and Ivan Gligorijevic.

Page 25: Analysis and Modeling of Neural-Recording ADC

25

Questions / Comments?