<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Example Simulink model &amp; scripts for continuous-time sigma-delta ADC</title>
	<atom:link href="http://www.circuitdesign.info/blog/2008/09/example-simulink-model-scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.circuitdesign.info/blog/2008/09/example-simulink-model-scripts/</link>
	<description>Tutorials and Insights in Electronics and Circuit Design</description>
	<lastBuildDate>Wed, 07 Sep 2011 12:13:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: PoojanWagh</title>
		<link>http://www.circuitdesign.info/blog/2008/09/example-simulink-model-scripts/comment-page-1/#comment-687</link>
		<dc:creator>PoojanWagh</dc:creator>
		<pubDate>Tue, 16 Feb 2010 05:41:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitdesign.info/2008/09/example-simulink-model-scripts/#comment-687</guid>
		<description>Hi, Daniyal. The ADC I have is a very specific type of ADC: a signma-delta ADC (and a continuous-time one at that). It is pretty complicated. If you&#039;re building a controller, I&#039;d suggest a Nyquist ADC. Sigma-Delta&#039;s themselves include a feedback loop. Adding a feedback loop around the ADC amounts to having two interacting loops to stabilize. Not an easy task.

Anyway, I&#039;ll attempt to answer your questions:
1. Mainly because it wasn&#039;t germain to what I&#039;m trying to model. You would need a decimation filter, but that&#039;s done in the digital domain and is predictable and relatively easy to design.
2. Yes. This amounts to having a higher resolution and will only make things better. However, if you have a 12-bit quantizer to begin with, you might not need a sigma-delta (certainly not a continuous-time one).
3. This is difficult. The gains are sort of trial-and-error to keep the loop stabilized. There are some attempts to predict what they should be, but most people use them as starting points for their trial-and-error.
4. The output of the ADC shouldn&#039;t have any additional delay. The integrators in the simulink model are there to form an error amplifier. The delays they introduce are taken into account when looking at loop stability. So, the integrators introduce some (ideal) delay that should be accounted for when designing your feedback loop.

I get the strong impression that what you want isn&#039;t really a continuous-time sigma-delta, but rather some sort of PWM controller that involves an ADC. If you&#039;re still interested, email poojanwagh at this domain and I&#039;ll take a look at it.</description>
		<content:encoded><![CDATA[<p>Hi, Daniyal. The ADC I have is a very specific type of ADC: a signma-delta ADC (and a continuous-time one at that). It is pretty complicated. If you&#8217;re building a controller, I&#8217;d suggest a Nyquist ADC. Sigma-Delta&#8217;s themselves include a feedback loop. Adding a feedback loop around the ADC amounts to having two interacting loops to stabilize. Not an easy task.</p>
<p>Anyway, I&#8217;ll attempt to answer your questions:<br />
1. Mainly because it wasn&#8217;t germain to what I&#8217;m trying to model. You would need a decimation filter, but that&#8217;s done in the digital domain and is predictable and relatively easy to design.<br />
2. Yes. This amounts to having a higher resolution and will only make things better. However, if you have a 12-bit quantizer to begin with, you might not need a sigma-delta (certainly not a continuous-time one).<br />
3. This is difficult. The gains are sort of trial-and-error to keep the loop stabilized. There are some attempts to predict what they should be, but most people use them as starting points for their trial-and-error.<br />
4. The output of the ADC shouldn&#8217;t have any additional delay. The integrators in the simulink model are there to form an error amplifier. The delays they introduce are taken into account when looking at loop stability. So, the integrators introduce some (ideal) delay that should be accounted for when designing your feedback loop.</p>
<p>I get the strong impression that what you want isn&#8217;t really a continuous-time sigma-delta, but rather some sort of PWM controller that involves an ADC. If you&#8217;re still interested, email poojanwagh at this domain and I&#8217;ll take a look at it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amitv singh tajput</title>
		<link>http://www.circuitdesign.info/blog/2008/09/example-simulink-model-scripts/comment-page-1/#comment-678</link>
		<dc:creator>amitv singh tajput</dc:creator>
		<pubDate>Thu, 07 Jan 2010 06:26:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitdesign.info/2008/09/example-simulink-model-scripts/#comment-678</guid>
		<description>i m also working on that we can share our view</description>
		<content:encoded><![CDATA[<p>i m also working on that we can share our view</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniyal</title>
		<link>http://www.circuitdesign.info/blog/2008/09/example-simulink-model-scripts/comment-page-1/#comment-666</link>
		<dc:creator>Daniyal</dc:creator>
		<pubDate>Tue, 22 Dec 2009 16:59:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitdesign.info/2008/09/example-simulink-model-scripts/#comment-666</guid>
		<description>I have some question if u&#039;d be kind enough. I must say I am new to ADC&#039;s, we have an ADC with our machine tools controller but we don&#039;t know anything about it except for its sampling frequency and resolution (12-13) bits. So since we were modelling the whole controller so we needed to simulate an approximate model of the ADC as well. Anyways.
1- Why the your ADC does not have any filtering and decimation at the output ?
2- Can i replace your &#039;sign&#039; block with a 12 bit quantizer ?.
3- Wha about the Gain in the integrators block ? I mean can we actually compute them or just arbirary. 
4- Our ADC does not have any delays at its output (since it will actually destroy the whole controller). So these simulink integrators, do they have substancial delays ?</description>
		<content:encoded><![CDATA[<p>I have some question if u&#8217;d be kind enough. I must say I am new to ADC&#8217;s, we have an ADC with our machine tools controller but we don&#8217;t know anything about it except for its sampling frequency and resolution (12-13) bits. So since we were modelling the whole controller so we needed to simulate an approximate model of the ADC as well. Anyways.<br />
1- Why the your ADC does not have any filtering and decimation at the output ?<br />
2- Can i replace your &#8217;sign&#8217; block with a 12 bit quantizer ?.<br />
3- Wha about the Gain in the integrators block ? I mean can we actually compute them or just arbirary.<br />
4- Our ADC does not have any delays at its output (since it will actually destroy the whole controller). So these simulink integrators, do they have substancial delays ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PoojanWagh</title>
		<link>http://www.circuitdesign.info/blog/2008/09/example-simulink-model-scripts/comment-page-1/#comment-665</link>
		<dc:creator>PoojanWagh</dc:creator>
		<pubDate>Sun, 20 Dec 2009 06:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitdesign.info/2008/09/example-simulink-model-scripts/#comment-665</guid>
		<description>What specifically are you confused about? Do you have the simulink output (sampled digital words) in a matlab variable (vector)? If so, it should be pretty easy.</description>
		<content:encoded><![CDATA[<p>What specifically are you confused about? Do you have the simulink output (sampled digital words) in a matlab variable (vector)? If so, it should be pretty easy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krishna</title>
		<link>http://www.circuitdesign.info/blog/2008/09/example-simulink-model-scripts/comment-page-1/#comment-656</link>
		<dc:creator>krishna</dc:creator>
		<pubDate>Thu, 17 Dec 2009 12:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitdesign.info/2008/09/example-simulink-model-scripts/#comment-656</guid>
		<description>hii there, 
                    I am doing project on delta sigma ADC for gsm receiver .... i have developed a simulink model and now i should develop a code that runs the FFT for the model that i have develped i am a bit confused in developing the related code for the model that i have developed ..could u please help me in developing the FFT code for the model that i had build........</description>
		<content:encoded><![CDATA[<p>hii there,<br />
                    I am doing project on delta sigma ADC for gsm receiver &#8230;. i have developed a simulink model and now i should develop a code that runs the FFT for the model that i have develped i am a bit confused in developing the related code for the model that i have developed ..could u please help me in developing the FFT code for the model that i had build&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Poojan Wagh</title>
		<link>http://www.circuitdesign.info/blog/2008/09/example-simulink-model-scripts/comment-page-1/#comment-646</link>
		<dc:creator>Poojan Wagh</dc:creator>
		<pubDate>Mon, 16 Nov 2009 12:26:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitdesign.info/2008/09/example-simulink-model-scripts/#comment-646</guid>
		<description>Take a look here: http://www.circuitdesign.info/blog/2009/01/non-radix-2-fft-in-cadenceoceanskillspectre-using-cadenc-ipc-to-talk-to-matlab-or-anything-else/
It has more than what you need, but all the pieces are described in the post. You should be able to use that to compute SNR. The dynamic range is merely the range of inputs (or outputs) between 0 dB SNR and maximum SNR. If your ADC behaves well, this is equal to the maximum SNR.</description>
		<content:encoded><![CDATA[<p>Take a look here: <a href="http://www.circuitdesign.info/blog/2009/01/non-radix-2-fft-in-cadenceoceanskillspectre-using-cadenc-ipc-to-talk-to-matlab-or-anything-else/" rel="nofollow">http://www.circuitdesign.info/blog/2009/01/non-radix-2-fft-in-cadenceoceanskillspectre-using-cadenc-ipc-to-talk-to-matlab-or-anything-else/</a><br />
It has more than what you need, but all the pieces are described in the post. You should be able to use that to compute SNR. The dynamic range is merely the range of inputs (or outputs) between 0 dB SNR and maximum SNR. If your ADC behaves well, this is equal to the maximum SNR.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bukhari</title>
		<link>http://www.circuitdesign.info/blog/2008/09/example-simulink-model-scripts/comment-page-1/#comment-645</link>
		<dc:creator>Bukhari</dc:creator>
		<pubDate>Mon, 16 Nov 2009 11:59:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitdesign.info/2008/09/example-simulink-model-scripts/#comment-645</guid>
		<description>hi. i am doing project on Sigma delta analogue to digital converter and i need the matlab code for that how to calculate the Dynamic range and how to design the whole code?
thanks</description>
		<content:encoded><![CDATA[<p>hi. i am doing project on Sigma delta analogue to digital converter and i need the matlab code for that how to calculate the Dynamic range and how to design the whole code?<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wagh</title>
		<link>http://www.circuitdesign.info/blog/2008/09/example-simulink-model-scripts/comment-page-1/#comment-643</link>
		<dc:creator>wagh</dc:creator>
		<pubDate>Thu, 29 Oct 2009 20:43:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitdesign.info/2008/09/example-simulink-model-scripts/#comment-643</guid>
		<description>Sorry, John. I can&#039;t offer much help. In fact, I don&#039;t know why you&#039;d want to simulate an ADC using Matlab unless it was some sort of algorithmic ADC (SAR, Sigma-Delta) that involved some signal processing. Basically, your plain-old flash ADC just does one thing: y = round(x * L)/L -- assuming x is +/- 1 and L is the # of levels you want to quantize to.

If you want to look at things like SNR and sampling, it&#039;s pretty easy to hand-compute it, and for sampling, pure Matlab isn&#039;t really suited (Simulink is better). Maybe you knew that already.</description>
		<content:encoded><![CDATA[<p>Sorry, John. I can&#8217;t offer much help. In fact, I don&#8217;t know why you&#8217;d want to simulate an ADC using Matlab unless it was some sort of algorithmic ADC (SAR, Sigma-Delta) that involved some signal processing. Basically, your plain-old flash ADC just does one thing: y = round(x * L)/L &#8212; assuming x is +/- 1 and L is the # of levels you want to quantize to.</p>
<p>If you want to look at things like SNR and sampling, it&#8217;s pretty easy to hand-compute it, and for sampling, pure Matlab isn&#8217;t really suited (Simulink is better). Maybe you knew that already.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John well</title>
		<link>http://www.circuitdesign.info/blog/2008/09/example-simulink-model-scripts/comment-page-1/#comment-639</link>
		<dc:creator>John well</dc:creator>
		<pubDate>Thu, 01 Oct 2009 13:11:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitdesign.info/2008/09/example-simulink-model-scripts/#comment-639</guid>
		<description>Hi,

I am learning matlab(Self teaching using books) but one question is really giving some headache. I hope   you can help me with that:

write a computer program to simulate an analog to digital converter using matlab. tha a/d must have the following specifications:

  full-range input of +- x volt
 y bit resolution
 z sampling frequency

Please , I really need your help or if you can recommend me some books that deals with such things; it will really help me.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am learning matlab(Self teaching using books) but one question is really giving some headache. I hope   you can help me with that:</p>
<p>write a computer program to simulate an analog to digital converter using matlab. tha a/d must have the following specifications:</p>
<p>  full-range input of +- x volt<br />
 y bit resolution<br />
 z sampling frequency</p>
<p>Please , I really need your help or if you can recommend me some books that deals with such things; it will really help me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Poojan Wagh</title>
		<link>http://www.circuitdesign.info/blog/2008/09/example-simulink-model-scripts/comment-page-1/#comment-276</link>
		<dc:creator>Poojan Wagh</dc:creator>
		<pubDate>Tue, 12 May 2009 17:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitdesign.info/2008/09/example-simulink-model-scripts/#comment-276</guid>
		<description>Gilbert: A simulink model for a 3rd order should be pretty simple. Just replace the 2nd-order noise-shaping filter with a 3rd-order.</description>
		<content:encoded><![CDATA[<p>Gilbert: A simulink model for a 3rd order should be pretty simple. Just replace the 2nd-order noise-shaping filter with a 3rd-order.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

