Trying to answer a successive approximation question

  • Thread starter Thread starter Femme_physics
  • Start date Start date
  • Tags Tags
    Approximation
Click For Summary

Discussion Overview

The discussion revolves around understanding a successive approximation question related to a digital-to-analog converter (DAC) and its operation. Participants explore the mechanics of successive approximation, its comparison to other methods, and clarify misconceptions about the conversion process.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant presents a calculation involving a DAC connected to a reference voltage and questions its validity.
  • Another participant expresses agreement with the initial calculation, while a subsequent post suggests there may be a small error without specifying it.
  • A participant seeks clarification on the operation of a successive approximation converter, questioning how rebooting bits leads to a closer approximation of the final value.
  • There is a correction regarding the identification of the device as a DAC rather than an A/D converter, leading to further discussion on the nature of successive approximation.
  • Participants discuss the efficiency of successive approximation compared to continuous methods, with one arguing that it requires fewer steps to reach a final value.
  • Another participant reflects on the educational value of understanding different ADC methods, suggesting that simpler models aid comprehension.
  • There is a discussion about the correct denominator in a calculation, with differing opinions on whether both proposed values are acceptable.
  • Clarifications are made regarding the number of possible values represented by bits in digital systems.
  • A participant expresses enthusiasm for electronics and a desire to help classmates understand the material better.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the initial calculation's validity, and there are competing views regarding the correct interpretation of the device type (DAC vs. ADC). The discussion remains unresolved on several technical points, particularly regarding the operation of successive approximation and the implications of different denominators in calculations.

Contextual Notes

Some participants express uncertainty about the definitions and operations of DACs and ADCs, and there are unresolved questions about the specifics of the calculations presented. The discussion also reflects a mix of educational challenges and varying levels of understanding among participants.

Who May Find This Useful

This discussion may be useful for students studying electronics, particularly those interested in digital-to-analog conversion methods and the principles of successive approximation in analog-to-digital converters.

Femme_physics
Gold Member
Messages
2,548
Reaction score
1
The following component is connected to a reference voltage of Vref = 6V. The component is given the value (2C)16 to convert. Calculate Vout.

http://img69.imageshack.us/img69/7396/figuringout.jpg

Basically I treated this supposedly successive approximation converter like any other converter is this calculation..hope it's valid?
 
Last edited by a moderator:
Physics news on Phys.org
Looks good to me. :smile:
 
Thank you!
 
One tiny error... :wink:
 
NascentOxygen said:
One tiny error... :wink:

What? :rolleyes: What could that be?
 
Femme_physics said:
What could that be?
What we're discussing in your other thread. :rolleyes:
 
Which? I made way too many heh...:wink:
 
Femme_physics said:
Which? I made way too many heh...:wink:
I've suggested they create another sub-forum, Femmes_Forum. ☺[/size]
 
Lol ;)
 
  • #10
Did I actually made a tiny error? Can you please point it out, I can't see it.
 
  • #11
I need to provide an explanation of how this A/D converter with 8 bits work based on successive approximation...but I'm still not sure I understand how successive approximation works. According to my notebook,
"
In this type of converter there is a logic system that's comprised of a shift register. The logic system provides a logic '1' to DAC from the MSB till the LSB, although if the comparator outputs '0' the logic system reboots the bit and this way you get binary digit that gets closer to the final number in each period. And Vout gets closer to Vin.
"

...But if the logic system REBOOTS the bit how come we get a binary number closer to the final number?

If I reboot my computer it just reboots my computer, it doesn't get me closer to any value.
 
  • #12
For starters, it's a DAC and not an A/D converter.

"Rebooting" the bit only means that it sets the bit to zero.
It's similar to rebooting your computer, which sets ALL bits to zero. ;)
 
  • #13
I like Serena said:
For starters, it's a DAC and not an A/D converter.
Well they've made a mistake in the question...don't look at me.

"Rebooting" the bit only means that it sets the bit to zero.
It's similar to rebooting your computer, which sets ALL bits to zero. ;)

Yes, but Successive Approximation graph is like this:

http://img85.imageshack.us/img85/7590/sasan.jpg

How...does...it do it?

The explanation doesn't let me know that
 
Last edited by a moderator:
  • #14
Femme_physics said:
Well they've made a mistake in the question...don't look at me.

I am looking at you. :)
Your problem statement shows a DAC, but a successive approximation converter is an ADC...
Yes, but Successive Approximation graph is like this:
http://img85.imageshack.us/img85/7590/sasan.jpg

How...does...it do it?

The explanation doesn't let me know that

So we are talking about an ADC now.

It starts with the most significant bit, which corresponds to the number 128.
In your case the input has a higher voltage, so this bit is set, and we move on the the second bit.

The second bit corresponds to the value 64, for a total of 128+64=172.
In your case the input has a lower voltage, so this bit is reset (or "rebooted" if you will).
So we remain at 128 and try the 3rd bit next (corresponding to 32, for a total of 128+32=160).

And so on...
 
Last edited by a moderator:
  • #15
So it's basically doing guesswork based on constant numbers?

I don't see how could it be necessarily faster than the continuous method?

I am looking at you. :)
Your problem statement shows a DAC, but a successive approximation converter is an ADC...

Ah..you're right, the question is not about the pic I posted
 
  • #16
Femme_physics said:
So it's basically doing guesswork based on constant numbers?

I don't see how could it be necessarily faster than the continuous method?

Not guess work, but successive measurements which determine each bit.

In 8 steps the analog input signal is converted into the 8-bit number 175.The alternative method that counts from 0 up, would need 175 steps to count up to 175.Now I'd say that 8 steps is a marked improvement over 175 steps.
(It's a gem in electronic engineering. ;)
 
  • #17
Why do we even use the continuous one if it's so crappy? A matter of cost?
 
  • #18
I think it's a matter of exercise and education.

If they'd give you the schematic of a direct conversion ADC, that'd be pretty overwhelming.
But the principle given by a count-from-zero circuit makes the material understandable.
And ultimately it does the same thing, just slower.
 
  • #19
Ah...understood. :) Perfectly... I like it. Thanks. Do you know what made Nascent Oxygen say my calculation was wrong?
 
  • #20
I believe NascentO2 meant there should be (28-1) in the denominator instead of 28.
As far as I'm concerned both would be okay.

Since your teacher gave you 28 in the denominator, I'd say there was no error.
 
  • #21
I like Serena said:
I am looking at you. :)
Your problem statement shows a DAC, but a successive approximation converter is an ADC...So we are talking about an ADC now.

It starts with the most significant bit, which corresponds to the number 128.
In your case the input has a higher voltage, so this bit is set, and we move on the the second bit.

The second bit corresponds to the value 64, for a total of 128+64=172.
In your case the input has a lower voltage, so this bit is reset (or "rebooted" if you will).
So we remain at 128 and try the 3rd bit next (corresponding to 32, for a total of 128+32=160).

And so on...

Just to clarify,

8 bits =256

10 bits = 1024etc etc...?
I like Serena said:
I believe NascentO2 meant there should be (28-1) in the denominator instead of 28.
As far as I'm concerned both are okay.

Since your teacher gave you 28 in the denominator, I'd say there was no error.
Gotcha :)

PS how fast am I?
 
  • #22
Femme_physics said:
Just to clarify,

8 bits =256

10 bits = 1024


etc etc...?

Yes.



Gotcha :)

PS how fast am I?

Wheeeeeeeeeeeeeeeeeeee! :D
 
  • #23
hehe..you rock!

When I say:8 bits =256

10 bits = 1024I know the left side is called bits...what do you call the right side? Number of values?
 
  • #24
Yes.

8 bits means that the number of possible values is 256.

Furthermore the most significant bit represents the value 128.
And the least significant bit represents the value 1.
 
  • #25
Thanks for the clarification...ohh a big blog update is coming up soon :)
 
  • #26
You seem to be enthusiastic about electronics now! :)
So are you going to electrify cardboard men any time soon?

I'll be waiting for your blog update!
 
  • #27
Oh yea, I'm always super enthusiastic before an external test. Truth is we got 3 more months but we haven't covered "power systems" good enough (translating that term from Hebrew). Worst of all, we were given a notebook without final answers written out, and our teacher seems to be neglecting a lot of material and letting us figure a lot for ourselves. (he's a good teacher in terms of explaining the material, just negligent in terms of scope of material since it's his first year teaching).

I made it a personal mission to help my classmates (and myself) get to the answers and be able to explain it. I plan to volunteer my time in explaining electronics to struggling classmates. I solved nearly all of the exercise books in terms of the stuff we were taught so far. It's passover break so I was finally able to get a lot of work done!

Thanks a lot to you all. Yea, really enthusiastic about electronics indeed! :) NascentOxygen wasn't joking when he said they ought to open a femme_physics subforum :P

I'm getting my 1st year mechanics groove back on! :wink:

Thanks to you all...really...
 
  • #28
Volunteering time to help classmates?
Where did you get that from? :smile:
 
  • #29
I just checked your blog... but... where are the solutions to the electronic exercises?
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 48 ·
2
Replies
48
Views
7K
  • · Replies 39 ·
2
Replies
39
Views
7K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 29 ·
Replies
29
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 0 ·
Replies
0
Views
4K