Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Capacitor mismatch modeling in matlab

Status
Not open for further replies.

je01911

Junior Member level 1
Junior Member level 1
Joined
Jun 16, 2009
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,390
Hi.

Before start to design the SAR ADC, i want to simulate the relationship between capacitor mismatches of CDAC and SAR ADC using matlab.

when capacitor mismatch ratio is 'sigma' and Cu is unit capacitance,

plz check the equation and next matlab code

capacitor mismatch ratio ~ N(0,sigma^2)

when i want to make the capacitors with mismatch using matlab

Code:
for i = 1 : bit

    C(i) = 0; //reset the variable before declare i th capacitance (1 = MSB, bit = LSB)

    for j = 1 : 2^(bit-i)

        C(i) = C(i) + Cu + sigma*randn(); //make and sum the unit capacitors with mismatch

    end


end

C(bit+1) = Cu + sigma*randn() //LSB capacitor

There are some papers about maximum ENOB and mismatch ratio.

However i cant plot the relationship between them like papers.

So, i cant be sure about my matlabe code

please check the equation and code
 
Last edited by a moderator:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top