Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Kai Klaas
04/19/08 20:38
Modified:
  04/19/08 20:49

Read: 972 times
Germany


 
#153728 - What do you want to do at all?
Responding to: Asok Sankar Rudra's previous message


Asok, it's impossible to say something useful as long as we do not know what the purpose of your circuit is!

I can only tell what goes through my head when looking at your scheme:

1. A R-2R-ladder DAC usulally must consist of very exact values of R and 2R. So, as Richard already mentioned, narrow tolerated 34k and 68k resistors would be a better choice.

2. The reason for such big R-2R-ladder resistors probably is that the standard 8051 cannot source relevant currents. A better alternative would be to use a 74HCMOS buffer to guarantee stable logic high levels. Only with such a buffer this R-2R-ladder gives rather exact results. Unfortunately, we don't know, whether your R-2R-ladder DAC must give precise values at all.

A circuit using a HCMOS-buffer can be seen here:



3. A R-2R-ladder usually must not be loaded by additional currents. So, the additional 68k resistor (behind the R-2R-ladder) should be omitted. There seems to be no reason for it anyway. The same is valid for the high pass filter formed by 22nF (22kpF = 22nF?) and 68k in series, in front of LM386. Such a load destroys the exact performance of R-2R-ladder DAC, by introducing uneven steps in the DAC stairway. In the lower scheme a FET-OPamp can be seen, which works as a high ohmic buffer, allowing the R-2R-ladder DAC to work properly.

4. The 22nF cap (22kpF = 22nF?) at output of R-2R-ladder is an allowed load forming a low pass filter in combination with the source resistance of R-2R-ladder (about 33kOhm). But do you really want a corner frequency of 1 / 2 / pi / 33kOhm / 22nF = 220Hz?

5. The 10µF cap arround LM386 gives a gain setting of 200. Do you really want such a high gain? There's no need for it, due to the rather high signal coming from the R-2R-ladder.

6. A R-2R-ladder DAC usually consists of a much higher resolution for tone generation. What you show is a 4bit DAC, which results in extreme noise and distortion. Why not using more bits?

Kai

List of 8 messages in thread
TopicAuthorDate
8051 LM386      Asok Sankar Rudra      04/19/08 17:10      
   You can use a different power supply      Jim Deas      04/19/08 19:06      
   What you have here ...      Richard Erlacher      04/19/08 19:14      
   What do you want to do at all?      Kai Klaas      04/19/08 20:38      
      Music Machine      Asok Sankar Rudra      04/20/08 06:07      
         Ok, then 4 bit is enough      Kai Klaas      04/22/08 09:59      
      Thanks Kai      Asok Sankar Rudra      04/20/08 07:12      
   Link      Kai Klaas      04/20/08 22:56      

Back to Subject List