The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Aug 5th, 2024, 9:20am
Pages: 1
Send Topic Print
Question about 'clans' in DStoolbox (Read 3039 times)
moore
Junior Member
**
Offline



Posts: 10

Question about 'clans' in DStoolbox
Aug 26th, 2010, 5:05am
 
ntf = clans(order, OSR,Q,rmax,opt)
I don't know exactly what do Q and rmax mean?

It is explained that Q=|h|-1. For 1 bit DSM, |h|<1.5 is a rule of thumb. If I just set |h|=1.5, does it mean that Q here is filled with 0.5?

Additionally, rmax is explained as the max radius for NTF poles. What performance does it relate to? Any rule of thumb? Because in the DStoolbox user guide, it is set to be 0.95, I guess it is a pretty large one?

Many thanks!
Back to top
 
 
View Profile   IP Logged
carlgrace
Senior Member
****
Offline



Posts: 231
Berkeley, CA
Re: Question about 'clans' in DStoolbox
Reply #1 - Aug 26th, 2010, 4:20pm
 
rmax relates to the stability of the modulator.  To be stable, all the poles of the modulator need to be inside the unit circle, but as you get closer to the unit circuit the phase margin of the loop degrades.  So, the trade off is between stability and performance (by performance I mean how well the loop filter rejects out-of-band noise).  It is set at 0.95 to give a lower bound on the phase margin.

Carl
Back to top
 
 
View Profile   IP Logged
moore
Junior Member
**
Offline



Posts: 10

Re: Question about 'clans' in DStoolbox
Reply #2 - Aug 27th, 2010, 6:09am
 
Thanks. But how about Q?
Back to top
 
 
View Profile   IP Logged
carlgrace
Senior Member
****
Offline



Posts: 231
Berkeley, CA
Re: Question about 'clans' in DStoolbox
Reply #3 - Aug 27th, 2010, 11:37am
 
Hi Moore,

Q in this context is the max noise gain.  You are confusing ||h||1 with h_inf in your question.  ||h||1 is all the impulse response values added up, and h_inf is the max out-of-bound gain of the NTF.  So, you shouldn't use Q=0.5 since that would not give enough LSBs for feeding back quantization noise.  You should start with 5 (as the documentation suggests) and vary it a bit, noting what happens with the SNR.  I imagine it will fail with Q=0.5, but I haven't got access to MATLAB right now to try it out.

Good luck.
Back to top
 
 
View Profile   IP Logged
moore
Junior Member
**
Offline



Posts: 10

Re: Question about 'clans' in DStoolbox
Reply #4 - Aug 27th, 2010, 4:59pm
 
Hi Carl:

Thanks for your reply.
I am still confused about clans.
It is illustrated in the document that "Q is the max number of quantization levels".
Does it mean that if I use 9 level quantization, Q will be 9?

Additionally, are you familiar with CT DSM?
If I have got [a,g,b,c] for a certain structrue of DT DSM, how can I fit CT's corresponding coefficient based on DT coefficient?

Many thanks!
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.