Transistor Switch for R2R Ladder DAC Circuit

In summary: It sounds like you are trying to learn SPICE and the circuit at the same time. This can be really difficult, and can lead to mistakes. You should start by drawing the schematic by hand and hand calculating expected signal levels, and then build up simple sections of the circuit in SPICE and simulate them. Once you have a good understanding of the circuit, you can then connect them together.
  • #1
khaing071
3
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
  • #2
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...
 
  • #3
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.
 
  • #4
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 ??
 
  • #5
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.
 
  • #6
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.
 
  • #7
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.
 

What is a Transistor Switch in a R2R Ladder DAC Circuit?

A transistor switch is a type of electronic switch that uses transistors to control the flow of current in a circuit. In a R2R ladder DAC circuit, the transistor switch is used to select which resistors in the ladder are connected to the output, allowing for the conversion of digital signals into analog signals.

How does a Transistor Switch work in a R2R Ladder DAC Circuit?

In a R2R ladder DAC circuit, the transistor switch is controlled by the digital input signal. When the input signal is high, the transistor switch is turned on, allowing current to flow through the corresponding resistor in the ladder. When the input signal is low, the transistor switch is turned off, preventing current from flowing through that resistor.

What are the advantages of using a Transistor Switch in a R2R Ladder DAC Circuit?

Using a transistor switch in a R2R ladder DAC circuit allows for a more compact and efficient design compared to using mechanical switches. Transistor switches also have faster switching speeds, allowing for more precise control over the output signal.

What are the limitations of a Transistor Switch in a R2R Ladder DAC Circuit?

One limitation of using a transistor switch in a R2R ladder DAC circuit is that it requires a constant power supply to maintain the output voltage, as opposed to mechanical switches which can retain the voltage without power. Additionally, transistor switches may introduce some distortion to the output signal due to their non-linear characteristics.

Are there any alternative methods for implementing a R2R Ladder DAC Circuit without a Transistor Switch?

Yes, there are other methods for implementing a R2R ladder DAC circuit, such as using mechanical switches, relays, or other types of electronic switches. However, these alternatives may have their own limitations and may not be as efficient or precise as using a transistor switch.

Similar threads

Replies
42
Views
2K
Replies
30
Views
1K
  • Electrical Engineering
Replies
12
Views
594
  • Electrical Engineering
Replies
1
Views
765
  • Electrical Engineering
2
Replies
49
Views
2K
Replies
9
Views
1K
Replies
18
Views
8K
  • Electrical Engineering
Replies
24
Views
3K
Replies
37
Views
3K
  • Electrical Engineering
Replies
3
Views
1K
Back
Top