Transistor Switch for R2R Ladder DAC Circuit

  • Thread starter Thread starter khaing071
  • Start date Start date
  • Tags Tags
    Switch Transistor
Click For Summary

Discussion Overview

The discussion revolves around the construction of a two-way switch for an R2R ladder DAC circuit. Participants explore the suitability of using transistors, particularly MOSFETs, as switch elements in this context, while addressing the operational requirements of the DAC.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant inquires about using a transistor as a switch in an R2R ladder DAC circuit, seeking suggestions for suitable devices.
  • Another participant suggests that CMOS gates are preferable for driving the inputs of the DAC, questioning the need for discrete transistors.
  • A different viewpoint proposes that using MOSFETs as the switch element could be effective, recommending a combination of PMOS and NMOS for low resistance.
  • Concerns are raised regarding the necessity of a bidirectional switch in the context of the R2R ladder DAC, with a call for clarification from the original poster (OP).
  • The OP explains the operation of the switches in the DAC, indicating that they connect the resistor network to ground or reference voltage based on digital input, and expresses difficulty in implementing a transistor switch.
  • Another participant reiterates the suggestion to use CMOS gates for driving the inputs, emphasizing their effectiveness in real-world applications.
  • Advice is given to the OP regarding the learning curve of SPICE simulation software, recommending that they first draw the schematic by hand and calculate expected signal levels before using SPICE for simulation.

Areas of Agreement / Disagreement

Participants express differing opinions on the best approach to implement the switch in the R2R ladder DAC, with no consensus reached on the necessity of a bidirectional switch or the use of transistors versus CMOS gates.

Contextual Notes

The discussion highlights the OP's unfamiliarity with electronic devices and the complexity of integrating SPICE simulation with circuit design, indicating potential challenges in understanding the circuit's operation.

khaing071
Messages
3
Reaction score
0
hey! friends
i have to construct a two-ways switch. Can i use a transistor in that case. i means i am constructing a R2R ladder DAC circuit. in that circuit, there is a switch in two ways- originally ground and connect to ref voltage when switch is on. Please suggest me, which device is the most suitable for that switch.
 
Engineering news on Phys.org
khaing071 said:
hey! friends
i have to construct a two-ways switch. Can i use a transistor in that case. i means i am constructing a R2R ladder DAC circuit. in that circuit, there is a switch in two ways- originally ground and connect to ref voltage when switch is on. Please suggest me, which device is the most suitable for that switch.

Welcome to the PF.

For an R-2R ladder DAC, it is generally much better to use CMOS gates to drive the inputs. Why do you want to use discrete transtors to drive the inputs? It will take at least two transistors and resistors per input (pull up and pull down), versus 1 gate per input, and you can get up to 8 gates per tiny SOIC package...
 
I think he means using the transistor as the switch element itself, not to control the switch. MOSFETs would be the easiest to use as the switch element. If you use a PMOS and an NMOS in parallel the switch should have fairly low, uniform resistance across the voltage range. You can find some ICs that have them already connected as analog switches (check Analog Devices) or you could use discrete transistors.
 
Yeah, I honestly don't get the dual requirements of a bidirectional switch (in which case your suggestion is good), versus him saying he wants to build an R-2R ladder DAC. I'm not familiar with any need for a bidirectional switch in a ladder DAC, just drive elements for the inputs to the ladder.

Guess we'll need the OP to clear that up for us. khaing071 ??
 
First of all thanks a lot to berkeman and davidrit for your suggestions. I'm not familiar with
the electronic devices but I've to construct the R-2R DAC. In theorectical circuit diagram there are switches for each bit according to the resolution of DAC. The switches are controlled by the digital input of the DAC ('1' on, '0' off). the operation of the switch is when "off" state it connects the resistor network to ground and when "on" it connects the resistor network to reference voltage. My first idea is to use a transistor as that switch, but it was not worked. so if u don't mind,please tell me which device would be the most suitable one. I've to construct 14 bit DAC and using the Pspice Schematics software. Thank you.
 
khaing071 said:
First of all thanks a lot to berkeman and davidrit for your suggestions. I'm not familiar with
the electronic devices but I've to construct the R-2R DAC. In theorectical circuit diagram there are switches for each bit according to the resolution of DAC. The switches are controlled by the digital input of the DAC ('1' on, '0' off). the operation of the switch is when "off" state it connects the resistor network to ground and when "on" it connects the resistor network to reference voltage. My first idea is to use a transistor as that switch, but it was not worked. so if u don't mind,please tell me which device would be the most suitable one. I've to construct 14 bit DAC and using the Pspice Schematics software. Thank you.


Use CMOS gates to drive the inputs of the ladder high and low, as I've already suggested. That is how real-world ladder DACs are driven. As long as you don't load the CMOS gates too much, they drive their outputs rail-to-rail, so the accuracy of your ladder DAC is pretty good and linear.
 
khaing071, berkeman's suggestion should work for you.

Taking a step back, it sounds like SPICE may be new to you and the circuit is new. Trying to learn SPICE and a circuit at the same time makes it much harder to do either.

Have you drawn your schematic by hand and hand calculated expected signal levels? You really need to do that if you are just starting out. SPICE is useful for quickly calculating how well things should work but you need to get an understanding of the circuit at a simple level first.

After your hand schematic makes sense then take the time to build up simple sections of the circuit in SPICE and simulate them. Then connect them together. That way things like how to call the correct model file and setup the analysis statements can be worked out without worrying about a complex circuit at the same time.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 42 ·
2
Replies
42
Views
6K
Replies
30
Views
3K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
18
Views
9K
  • · Replies 33 ·
2
Replies
33
Views
5K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 24 ·
Replies
24
Views
4K