EP0660529B1 - Digital/analog converting circuit - Google Patents

Digital/analog converting circuit Download PDF

Info

Publication number
EP0660529B1
EP0660529B1 EP94118890A EP94118890A EP0660529B1 EP 0660529 B1 EP0660529 B1 EP 0660529B1 EP 94118890 A EP94118890 A EP 94118890A EP 94118890 A EP94118890 A EP 94118890A EP 0660529 B1 EP0660529 B1 EP 0660529B1
Authority
EP
European Patent Office
Prior art keywords
digital
signal
analog
resistance
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
EP94118890A
Other languages
German (de)
French (fr)
Other versions
EP0660529A1 (en
Inventor
Shinichi C/O Mitsubishi Denki K.K. Hirose
Minoru C/O Mitsubishi Electric Abe
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of EP0660529A1 publication Critical patent/EP0660529A1/en
Application granted granted Critical
Publication of EP0660529B1 publication Critical patent/EP0660529B1/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/66Digital/analogue converters
    • H03M1/72Sequential conversion in series-connected stages
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/06Continuously compensating for, or preventing, undesired influence of physical parameters
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/66Digital/analogue converters
    • H03M1/74Simultaneous conversion
    • H03M1/78Simultaneous conversion using ladder network
    • H03M1/785Simultaneous conversion using ladder network using resistors, i.e. R-2R ladders

Definitions

  • This invention relates to a digital/analog converting circuit, particularly to so-called R-2R type digital/analog converting circuit, more specifically, to a digital/analog converting circuit capable of switching an output/non-output of an analog signal obtained by converting a digital signal as well as capable of solving a non-linear range of a digital/analog converting characteristic generated when a non-output function of an analog signal is provided.
  • FIG. 1 is a block diagram showing a configuration of a one-chip microcomputer in which a conventional R-2R type digital/analog converting circuit 8 is built in, and which is capable of switching the output/non-output of an analog signal to the outside.
  • a signal input/output terminal 2 which is capable of inputting and outputting of a signal to the outside is provided.
  • a CPU 3 ROM 4
  • RAM 5 data register 6, D/A (digital/analog) converter select register 7, digital/analog converting circuit 8, switching circuit 9, digital signal input/output port 10 and bus 11 are built in.
  • the CPU 3, ROM 4, RAM 5, data register 6, D/A converter select register 7 and digital signal input/output port 10 are connected to each other by the bus 11.
  • Data held in the D/A converter select register 7 is given to the switching circuit 9 and the digital signal input/output port 10.
  • Digital data held in the data register 6 is inputted to the digital/analog converting circuit 8, and the analog signal after the digital/analog conversion is outputted to the outside from the signal input/output terminal 2 through the switching circuit 9.
  • the digital signal inputted from the outside to the signal input/output terminal 2 is to be inputted to the digital signal input/output port 10.
  • the switching circuit 9 when the switching circuit 9 is turned to ON by the data held in the D/A converter select register 7, an analog signal converted from a digital signal by the digital/analog converting circuit 8 is outputted to the signal input/output terminal 2.
  • the switching circuit in the case where the switching circuit is turned to OFF, when a digital signal is inputted to the signal input/output terminal 2 from the outside, the digital signal is inputted to the digital signal input/output port 10.
  • the one-chip microcomputer 1 can also output a digital signal from the digital signal input output port 10 to the signal input/output terminal 2.
  • FIG. 2 is a circuit diagram showing a configuration of the digital/analog converting circuit 8 and the switching circuit 9.
  • Reference character DT designates a digital signal, which is composed of a plurality of bits (n bits) of the MSB to the LSB.
  • Each of reference characters B 1 , B 2 ⁇ B n designates a non-inverting buffer having an output resistance value of r. To one end of each of these non-inverting buffers B 1 , B 2 ⁇ B n , the signal of each bit of the aforementioned digital signal is inputted.
  • Each of characters D 1 , D 2 ⁇ D n designates a resistance having a resistance value 2R-r. To the one end of each of these resistances D 1 , D 2 ⁇ D n , the output side (the other end) of the aforementioned each of the non-inverting buffers B 1 , B 2 ⁇ B n is connected.
  • the other end of the resistance D 1 is grounded through a serial circuit of resistances E 1 , E 2 ⁇ each having a resistance value R and resistance E n having a resistance value 2R.
  • the other end of the resistance D 2 is connected to a connecting node between the resistances E 1 and E 2 , and the other end of the resistance D n is connected to the one end of the non-grounded side of the resistance E n .
  • the other end of the resistance D1 is also connected to one end of a parallel circuit of a P channel MOS transistor Q P and an N channel MOS transistor Q N .
  • This parallel circuit configures the switching circuit 9 shown in FIG. 1. From the other end of the parallel circuit of the MOS transistor Q P and the MOS transistor Q N , an analog signal AN is outputted.
  • An ON/OFF control signal S C which ON/OFF controls the MOS transistors Q P and Q N is inputted to a gate of the MOS transistor Q N as well as to a gate of the MOS transistor Q P through an inverter IV.
  • FIG. 3 is a circuit diagram showing a common configuration of each of the non-inverting buffers B 1 , B 2 ⁇ B n .
  • the output side of the inverter IV B to which each bit of the digital signal DT is inputted, is connected to a gate of the P-channel MOS transistor Q PB and to a gate of the N-channel MOS transistor Q NB which are connected in series.
  • a power potential V D is given, and to the other end, a ground potential V S is given. From the connecting node of the MOS transistors Q PB and Q NB , a digital signal is outputted.
  • each of the non-inverting buffers B 1 , B 2 ⁇ B n corresponding to a signal of each bit of the digital signal DT is given to the resistance group comprising the resistances D 1 , D 2 ⁇ D n and the resistances E 1 , E 2 ⁇ E n , so that a digital signal is converted into an analog signal.
  • an analog signal of 2 n steps of voltage level of 0, V D /2 n ⁇ ⁇ (2 n -1)V D ⁇ /2 n is obtained.
  • the digital/analog converting circuit 8 performs digital/analog conversion.
  • the ON/OFF control signal S C becomes in "L” level and all of the inputs of the non-inverting buffers B 1 , B 2 ⁇ B n are in "L” level, the digital/analog conversion is not performed.
  • the ON/OFF control signal S C is in "H” level, an analog signal AN obtained by converting a digital signal is outputted from the switching circuit 9, and when the ON/OFF control signal S C is in "L” level, the analog signal AN is not to be outputted from the switching circuit 9.
  • the present invention has been devised in consideration of such problems as aforementioned which the so-called R-2R type digital/analog converting circuit has, and the object of the invention is to provide a digital/analog converting circuit capable of switching the output/non-output of an analog signal obtained by converting a digital signal and reducing the nonlinearly error by making the voltage level of an analog signal change linearly for the change of a digital signal.
  • the digital/analog converting circuit related to the invention is the so-called R-2R type digital/analog converting circuit, and is provided with each first switching element capable of being in the non-output state and positioned at the input side of a each resistance to which a signal of each bit of a digital signal is inputted, and with a second switching element capable of being in the non-output state and positioned between a group of resistances connecting the output sides of the aforementioned resistances in a state of a ladder and a positive or negative reference potential, and is so configured that the first switching elements and the second switching element are switched to an output state or non-output state respectively by a control signal.
  • each of the first switching elements and the second switching element when each of the first switching elements and the second switching element are in the output state, each of the first switching elements selects positive or negative reference potential corresponding to an inputted signal of each bit to output it to each resistance, and the second switching element connects the resistance to the reference potential. Therefore, an analog signal is outputted according to the positive or negative reference potential selected by each first switching element.
  • each first switching element when each of the first switching elements and the second switching element are in the non-output state, each first switching element does not output positive or negative reference potential to each resistance, and the second switching element cuts out the resistance from the reference potential. Thereby, a digital signal is not converted to an analog signal. Accordingly, the output/non-output of an analog signal can be switched, and electric current does not flow through a resistance in the non-output state.
  • FIG. 5 is a circuit diagram showing an example of a configuration of the digital/analog converting circuit related to the invention.
  • a character in each () shows a resistance value.
  • Reference character DT designates a digital signal, which is composed of a plural bits (n bits) of the MSB to the LSB.
  • Reference characters B 1 , B 2 ⁇ B n respectively show non-inverting buffers each being a three-state buffer whose output resistance value is r. To each one end of these non-inverting buffers B 1 , B 2 ⁇ B n , a signal of each bit of the aforementioned digital signal DT is inputted.
  • Each of the reference characters D 1 , D 2 ⁇ D n designates a resistance of resistance value of 2R-r. To one end of each of the resistances D 1 , D 2 ⁇ D n , the output side (the other end) of each of the aforementioned non-inverting buffers B 1 , B 2 ⁇ B n is connected.
  • the other end of the resistance D 1 is grounded through a serial circuit composed of resistances E 1 , E 2 ⁇ each having a resistance value of R, resistance D n+1 having a resistance value of 2R-r and a MOS transistor 20.
  • the other end of the resistance D2 is connected to a connecting node between the resistances E 1 and E 2 .
  • the other end of the resistance D n is connected to the one end of the side to which the MOS transistor 20 of the resistance D n+1 is not connected. From the other end of the resistance D 1 , an analog signal AN is outputted.
  • an ON/OFF control signal S B is given to control terminals of the non-inverting buffers B 1 , B 2 ⁇ B n and a gate of the MOS transistor 20, an ON/OFF control signal S B is given.
  • Resistances values of the resistances D 1 , D 2 ⁇ D n+1 is selected in consideration of the on-resistance of the non-inverting buffers B 1 , B 2 ⁇ B n , and the MOS transistor 20. That is, on-resistance of each of the non-inverting buffers B 1 , B 2 ⁇ B n and on-resistance of the MOS transistor 20 are made equal.
  • a digital/analog conversion circuit 12 is composed of the non-inverting buffers B 1 , B 2 ⁇ B n , the resistances D 1 , D 2 ⁇ D n , the resistances E 1 , E 2 ⁇ and the MOS transistor 20.
  • FIG. 6 is a circuit diagram showing a common configuration of each of the non-inverting buffers B 1 , B 2 ⁇ B n .
  • a signal of each bit of the digital signal DT is inputted to one input terminal of a NAND circuit ND of CMOS configuration and to one input terminal of a NOR circuit NR of CMOS configuration.
  • the ON/OFF control signal S B is inputted to the other input terminal of the NAND circuit ND and an inverter I.
  • the output of the inverter I is inputted to the other input terminal of the NOR circuit NR.
  • the output of the NAND circuit ND is inputted to a gate of a P channel transistor Q PB , and the output of the NOR circuit NR to a gate of an N channel transistor Q NB .
  • a potential V D which is a positive reference potential is given, and to the other end, a potential V S which is a negative reference potential is given.
  • the potential V D or V S is outputted from the connecting node of the transistor Q PB and the transistor Q NB .
  • the potential V D or V S outputted from each of the non-inverting buffers B 1 , B 2 ⁇ B n is given to a resistance group composed of the resistances D 1 , D 2 ⁇ D n , D n+1 and the resistances E 1 , E 2 ⁇ , so that the digital signal DT is converted into the analog signal AN.
  • an analog signal of 2 n steps of voltage level of 0, V D /2 n ⁇ ⁇ (2 n -1)V D ⁇ /2 n is obtained.
  • electrical characteristic is considered when the digital/analog converting circuit is in the operation of digital/analog conversion.
  • an analog signal obtained by converting a digital signal by the digital/analog conversion circuit 12 is given to a load resistance L shown in FIG. 5
  • electric potential does not drop in the digital/analog converting circuit 12 when the resistance value of the load resistance L is infinite (no load), and the analog potential after digital/analog conversion is given intact to the load resistance L.
  • the digital/analog conversion characteristic is a linear characteristic as shown by a broken line X in FIG. 7.
  • the output potential of the digital/analog converting circuit 12 becomes output potential R L /(R+R L ) at the time of no load since the output resistance of the digital/analog converting circuit 12 is R.
  • R L is a resistance value of the load resistance L.
  • the digital/analog conversion characteristic is the one shown by a solid line W in FIG. 7, which is lowered a little in full-scale as compared with the case of the broken line X showing the digital/analog conversion characteristic when the resistance value of the load resistance L is infinite and causes a full-scale error.
  • FIG. 8 is a circuit diagram showing a configuration of another embodiment of the digital/analog conversion circuit related to the invention.
  • signal outputting means V HL for outputting a signal of "H" level or “L” level is provided, and the output thereof is inputted to one end of a non-inverting buffer B n+2 provided in place of the MOS transistor 20.
  • the other end of the non-inverting buffer B n+2 is connected to one end of the resistance D n+1 .
  • the non-inverting buffer B n+1 has a configuration as shown in FIG. 6 similarly to the other non-inverting buffers B 1 , B 2 ⁇ B n , and to the control terminal thereof, the ON/OFF control signal S B is inputted.
  • the configuration other than that shown in FIG. 8 is same as the configuration shown in FIG. 5, and the same parts are designated by the same reference characters and the explanation therefor will be omitted.
  • the non-inverting buffers B 1 , B 2 ⁇ B n , B n+1 are in the non-output state, a signal corresponding to a digital signal from each of the non-inverting buffers B 1 , B 2 ⁇ B n is not outputted, and a signal of "H" level or "L” level is not outputted from the non-inverting buffer B n+1 . That is, an analog signal becomes in the non output state without being digital/analog converted as well as current does not flow through the resistance D n+1 uselessly.
  • FIG. 9 is a block diagram showing a configuration of a one-chip microcomputer of CMOS configuration in which the digital/analog converting circuit of the invention is built in.
  • the CPU 3, ROM 4, RAM 5, data register 6, D/A converter select register 7, digital/analog converting circuit 12, digital signal input/output port 10 and bus 11 are built in.
  • the CPU 3, ROM 4, RAM 5, data register 6, D/A converter select register 7 and digital signal input/output port 10 are connected to each other by a bus 11.
  • the data held by the D/A converter select register 7 is given to the digital/analog converting circuit 12 and the digital signal input/output port 10.
  • the digital data held by the data register 6 is inputted to the digital/analog converting circuit 12, and the analog signal after digital/analog conversion is outputted to the outside from the signal input/output terminal 2.
  • the digital signal inputted from the outside to the signal input/output terminal 2 is inputted to the digital signal input/output port 10.
  • the digital signal input/output port 10 becomes in the enable state and the digital/analog converting circuit 12 becomes in the non output state respectively. Accordingly, the function of the signal input/output terminal 2 becomes the one for inputting/outputting a digital signal through the digital signal input/output port 10.
  • the MOS transistor 20 or the non-inverting buffer B n+1 in the digital/analog converting circuit 12 becomes in the non-output state, as aforementioned. Therefore, current does not flow through the MOS transistor 20 or the non-inverting buffer B n+1 . Accordingly, even when a digital signal is inputted from the outside to the signal input/output terminal 2 while an analog signal is not outputted, there is no possibility that the voltage level of the digital signal is not changed.
  • the terminal of the digital/analog converting circuit is also used for the digital signal input/output port, however, the terminal of the digital/analog converting circuit may also be used for the digital signal input port or the digital signal output port.
  • the digital/analog converting circuit is built in a one-chip microcomputer, however, this is only an example, and it is a matter of course that the same effect can be obtained by applying the digital/analog converting circuit to other than the one-chip microcomputer.
  • a digital signal is inputted to a non-inverting buffer, however, it is possible to use an inverting buffer in place of a non-inverting buffer.
  • the digital/analog converting circuit since the digital/analog converting circuit is not so configured that the output/non-output of an analog signal obtained by converting a digital signal is switched by the switching circuit using a transistor, the linearity of the digital/analog conversion characteristic is not to be damaged by the on-resistance of the transistor. Therefore, a digital signal can be converted into an analog signal in high accuracy all over the region in which a digital signal changes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Analogue/Digital Conversion (AREA)

Description

BACKGROUND OF THE INVENTION Field of the Invention
This invention relates to a digital/analog converting circuit, particularly to so-called R-2R type digital/analog converting circuit, more specifically, to a digital/analog converting circuit capable of switching an output/non-output of an analog signal obtained by converting a digital signal as well as capable of solving a non-linear range of a digital/analog converting characteristic generated when a non-output function of an analog signal is provided.
Description of Related Art
FIG. 1 is a block diagram showing a configuration of a one-chip microcomputer in which a conventional R-2R type digital/analog converting circuit 8 is built in, and which is capable of switching the output/non-output of an analog signal to the outside.
In the one-chip microcomputer 1, a signal input/output terminal 2 which is capable of inputting and outputting of a signal to the outside is provided. In the one-chip microcomputer 1, a CPU 3, ROM 4, RAM 5, data register 6, D/A (digital/analog) converter select register 7, digital/analog converting circuit 8, switching circuit 9, digital signal input/output port 10 and bus 11 are built in.
The CPU 3, ROM 4, RAM 5, data register 6, D/A converter select register 7 and digital signal input/output port 10 are connected to each other by the bus 11. Data held in the D/A converter select register 7 is given to the switching circuit 9 and the digital signal input/output port 10. Digital data held in the data register 6 is inputted to the digital/analog converting circuit 8, and the analog signal after the digital/analog conversion is outputted to the outside from the signal input/output terminal 2 through the switching circuit 9. The digital signal inputted from the outside to the signal input/output terminal 2 is to be inputted to the digital signal input/output port 10.
In the one-chip microcomputer 1, when the switching circuit 9 is turned to ON by the data held in the D/A converter select register 7, an analog signal converted from a digital signal by the digital/analog converting circuit 8 is outputted to the signal input/output terminal 2. On the other hand, in the case where the switching circuit is turned to OFF, when a digital signal is inputted to the signal input/output terminal 2 from the outside, the digital signal is inputted to the digital signal input/output port 10. The one-chip microcomputer 1 can also output a digital signal from the digital signal input output port 10 to the signal input/output terminal 2.
FIG. 2 is a circuit diagram showing a configuration of the digital/analog converting circuit 8 and the switching circuit 9.
Reference character DT designates a digital signal, which is composed of a plurality of bits (n bits) of the MSB to the LSB.
Each of reference characters B1, B2 ··· Bn designates a non-inverting buffer having an output resistance value of r. To one end of each of these non-inverting buffers B1, B2 ··· Bn, the signal of each bit of the aforementioned digital signal is inputted.
Each of characters D1, D2 ··· Dn designates a resistance having a resistance value 2R-r. To the one end of each of these resistances D1, D2 ··· Dn, the output side (the other end) of the aforementioned each of the non-inverting buffers B1, B2 ··· Bn is connected.
The other end of the resistance D1 is grounded through a serial circuit of resistances E1, E2 ··· each having a resistance value R and resistance En having a resistance value 2R. The other end of the resistance D2 is connected to a connecting node between the resistances E1 and E2, and the other end of the resistance Dn is connected to the one end of the non-grounded side of the resistance En.
The other end of the resistance D1 is also connected to one end of a parallel circuit of a P channel MOS transistor QP and an N channel MOS transistor QN. This parallel circuit configures the switching circuit 9 shown in FIG. 1. From the other end of the parallel circuit of the MOS transistor QP and the MOS transistor QN, an analog signal AN is outputted. An ON/OFF control signal SC which ON/OFF controls the MOS transistors QP and QN is inputted to a gate of the MOS transistor QN as well as to a gate of the MOS transistor QP through an inverter IV.
FIG. 3 is a circuit diagram showing a common configuration of each of the non-inverting buffers B1, B2 ··· Bn.
The output side of the inverter IVB, to which each bit of the digital signal DT is inputted, is connected to a gate of the P-channel MOS transistor QPB and to a gate of the N-channel MOS transistor QNB which are connected in series. To one end of the serial circuit of the P channel MOS transistor QPB and the N channel MOS transistor QNB, a power potential VD is given, and to the other end, a ground potential VS is given. From the connecting node of the MOS transistors QPB and QNB, a digital signal is outputted.
In the following, explanation will be given on the operation of the conventional digital/analog converting circuit 8 and the switching circuit 9.
When a signal of each bit of the digital signal DT is inputted to each of the non-inverting buffers B1, B2 ··· Bn, the output of the inverter INB to which a signal of "H" level (or "L" level) is inputted becomes "L" level (or "H" level), and the MOS transistor QPB (or QNB) is turned to ON so that a signal of the power potential VD (or ground potential VS), that is, "H" level (or "L" level) is outputted. And the signal outputted from each of the non-inverting buffers B1, B2 ··· Bn corresponding to a signal of each bit of the digital signal DT is given to the resistance group comprising the resistances D1, D2 ··· Dn and the resistances E1, E2 ··· En, so that a digital signal is converted into an analog signal. From the digital/analog converting circuit 8 of n bits, an analog signal of 2n steps of voltage level of 0, VD/2n ··· {(2n-1)VD}/2n is obtained.
And when the ON/OFF control signal SC becomes in "H" level, the digital/analog converting circuit 8 performs digital/analog conversion. On the contrary, when the ON/OFF control signal SC becomes in "L" level and all of the inputs of the non-inverting buffers B1, B2 ··· Bn are in "L" level, the digital/analog conversion is not performed. When the ON/OFF control signal SC is in "H" level, an analog signal AN obtained by converting a digital signal is outputted from the switching circuit 9, and when the ON/OFF control signal SC is in "L" level, the analog signal AN is not to be outputted from the switching circuit 9.
By the way, in the case where the analog signal AN, which is obtained by converting a digital signal into an analog signal and outputted from the switching circuit 9, is given to a load resistance L as shown in FIG. 2, when the resistance value of the load resistance L is extremely high, electric current seldom flows through the load resistance L. Therefore, since electric current seldom flows through the switching circuit 9, electric current of the analog signal seldom flows through the load resistance L. Therefore, as shown in FIG. 4 by a broken line X, the voltage level of the analog signal after converting the digital signal changes linearly.
But when the resistance value of the load resistance L is low, the electric potential is dropped by the on-resistance of the MOS transistors QP and QN of the switching circuit 9. In a predetermined range of the input potential of the on-resistance, there is an area where the on-resistance becomes extremely high. Therefore, when the electric current of the load resistance L is large, as shown by the solid line Y in FIG. 4, in a predetermined range H of a digital signal, the voltage level of an analog signal does not change linearly with respect to the digital signal. So, there is a problem that conversion accuracy of a digital signal to an analog signal is reduced when the resistance value of the load resistance is small.
In order to improve the precision of digital to analog conversion for such a change of a digital signal, the voltage level of an analog signal had better change linearly. Therefore, it is necessary to widen the channel width W of the transistors QP and QN of the switching circuit 9 so as to reduce the on resistance. But in such a case, various problems generated at the time of integrating the digital/ analog converting circuit in a microcomputer, especially in a one-chip microcomputer.
SUMMARY OF THE INVENTION
The present invention has been devised in consideration of such problems as aforementioned which the so-called R-2R type digital/analog converting circuit has, and the object of the invention is to provide a digital/analog converting circuit capable of switching the output/non-output of an analog signal obtained by converting a digital signal and reducing the nonlinearly error by making the voltage level of an analog signal change linearly for the change of a digital signal.
The digital/analog converting circuit related to the invention is the so-called R-2R type digital/analog converting circuit, and is provided with each first switching element capable of being in the non-output state and positioned at the input side of a each resistance to which a signal of each bit of a digital signal is inputted, and with a second switching element capable of being in the non-output state and positioned between a group of resistances connecting the output sides of the aforementioned resistances in a state of a ladder and a positive or negative reference potential, and is so configured that the first switching elements and the second switching element are switched to an output state or non-output state respectively by a control signal.
In the digital/analog converting circuit related to the invention, when each of the first switching elements and the second switching element are in the output state, each of the first switching elements selects positive or negative reference potential corresponding to an inputted signal of each bit to output it to each resistance, and the second switching element connects the resistance to the reference potential. Therefore, an analog signal is outputted according to the positive or negative reference potential selected by each first switching element. On the other hand, when each of the first switching elements and the second switching element are in the non-output state, each first switching element does not output positive or negative reference potential to each resistance, and the second switching element cuts out the resistance from the reference potential. Thereby, a digital signal is not converted to an analog signal. Accordingly, the output/non-output of an analog signal can be switched, and electric current does not flow through a resistance in the non-output state.
The above and further objects and features of the invention will more fully be apparent from the following detailed description with accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a block diagram showing an example of an internal configuration of a one-chip microcomputer in which a conventional R-2R type digital/analog converting circuit is built in;
  • FIG. 2 is a circuit diagram showing an example of a configuration of a conventional R-2R type digital/analog converting circuit and the switching circuit;
  • FIG. 3 is a circuit diagram showing an example of a configuration of a non-inverting buffer shown in FIG. 2;
  • FIG. 4 is a graph showing a digital/analog converting characteristic in case of using a conventional R-2R type digital/analog converting circuit and a switching circuit;
  • FIG. 5 is a circuit diagram showing an example of a configuration of an R-2R type digital/analog converting circuit related to the invention;
  • FIG. 6 is a circuit diagram showing a configuration of a non-inverting buffer shown in FIG. 5;
  • FIG. 7 is a graph showing a digital/analog conversion characteristic of the R-2R type digital/analog converting circuit related to the invention;
  • FIG. 8 is a block diagram showing an example of a configuration of another embodiment of the R-2R type digital/analog converting circuit related to the invention; and
  • FIG. 9 is a block diagram showing an example of an internal configuration of a one-chip microcomputer building in the R-2R type digital/analog converting circuit of the invention.
  • DESCRIPTION OF THE PREFERRED EMBODIMENTS
    In the following, explanation will be made on the present invention referring to drawings showing the embodiments thereof.
    FIG. 5 is a circuit diagram showing an example of a configuration of the digital/analog converting circuit related to the invention. In FIG. 5, a character in each () shows a resistance value.
    Reference character DT designates a digital signal, which is composed of a plural bits (n bits) of the MSB to the LSB.
    Reference characters B1, B2 ··· Bn respectively show non-inverting buffers each being a three-state buffer whose output resistance value is r. To each one end of these non-inverting buffers B1, B2 ··· Bn, a signal of each bit of the aforementioned digital signal DT is inputted.
    Each of the reference characters D1, D2 ··· Dn designates a resistance of resistance value of 2R-r. To one end of each of the resistances D1, D2 ··· Dn, the output side (the other end) of each of the aforementioned non-inverting buffers B1, B2 ··· Bn is connected.
    The other end of the resistance D1 is grounded through a serial circuit composed of resistances E1, E2 ··· each having a resistance value of R, resistance Dn+1 having a resistance value of 2R-r and a MOS transistor 20. The other end of the resistance D2 is connected to a connecting node between the resistances E1 and E2. The other end of the resistance Dn is connected to the one end of the side to which the MOS transistor 20 of the resistance Dn+1 is not connected. From the other end of the resistance D1, an analog signal AN is outputted. To control terminals of the non-inverting buffers B1, B2 ··· Bn and a gate of the MOS transistor 20, an ON/OFF control signal SB is given. Resistances values of the resistances D1, D2 ··· Dn+1 is selected in consideration of the on-resistance of the non-inverting buffers B1, B2 ··· Bn, and the MOS transistor 20. That is, on-resistance of each of the non-inverting buffers B1, B2 ··· Bn and on-resistance of the MOS transistor 20 are made equal.
    A digital/analog conversion circuit 12 is composed of the non-inverting buffers B1, B2 ··· Bn, the resistances D1, D2 ··· Dn, the resistances E1, E2 ··· and the MOS transistor 20.
    FIG. 6 is a circuit diagram showing a common configuration of each of the non-inverting buffers B1, B2 ··· Bn.
    A signal of each bit of the digital signal DT is inputted to one input terminal of a NAND circuit ND of CMOS configuration and to one input terminal of a NOR circuit NR of CMOS configuration. The ON/OFF control signal SB is inputted to the other input terminal of the NAND circuit ND and an inverter I. The output of the inverter I is inputted to the other input terminal of the NOR circuit NR. The output of the NAND circuit ND is inputted to a gate of a P channel transistor QPB, and the output of the NOR circuit NR to a gate of an N channel transistor QNB. To one end of a series circuit of the P channel transistor QPB and N channel transistor QNB, a potential VD which is a positive reference potential is given, and to the other end, a potential VS which is a negative reference potential is given. The potential VD or VS is outputted from the connecting node of the transistor QPB and the transistor QNB.
    Next, explanation will be given on the operation of such a digital/analog converting circuit of the invention as aforementioned.
    When a signal of each bit of the digital signal DT is inputted to one end of each of the non-inverting buffers B1, B2 ··· Bn and the ON/OFF control signal SB becomes in "H" level, the state of the non-inverting buffers B1, B2 ··· Bn become in the output state (enable) and the MOS transistor 20 becomes in the output state (enable) so that the resistance Dn+1 is connected to the potential VS. The potential VD or VS outputted from each of the non-inverting buffers B1, B2 ··· Bn is given to a resistance group composed of the resistances D1, D2 ··· Dn, Dn+1 and the resistances E1, E2 ···, so that the digital signal DT is converted into the analog signal AN. In the digital/analog conversion circuit of n bits, an analog signal of 2n steps of voltage level of 0, VD/2n ··· {(2n-1)VD}/2n is obtained.
    Here, electrical characteristic is considered when the digital/analog converting circuit is in the operation of digital/analog conversion. When an analog signal obtained by converting a digital signal by the digital/analog conversion circuit 12 is given to a load resistance L shown in FIG. 5, electric potential does not drop in the digital/analog converting circuit 12 when the resistance value of the load resistance L is infinite (no load), and the analog potential after digital/analog conversion is given intact to the load resistance L. And the digital/analog conversion characteristic is a linear characteristic as shown by a broken line X in FIG. 7.
    On the other hand, when the resistance value of the load resistance L is low, the output potential of the digital/analog converting circuit 12 becomes output potential RL/(R+RL) at the time of no load since the output resistance of the digital/analog converting circuit 12 is R. Here, RL is a resistance value of the load resistance L. Thereby, the digital/analog conversion characteristic is the one shown by a solid line W in FIG. 7, which is lowered a little in full-scale as compared with the case of the broken line X showing the digital/analog conversion characteristic when the resistance value of the load resistance L is infinite and causes a full-scale error.
    But, in the circuit of the invention shown in FIG. 5, since there is no switching circuit (the one designated by reference numeral 9 in FIG. 1 and FIG. 2) conventionally provided for switching the output/non-output of the analog signal obtained by converting the digital signal, an effect of potential drop of an on-resistance caused by the above-mentioned fact is not caused, therefore a non-linear error by the on-resistance does not generate. Accordingly, all over the region in which a digital signal changes, an accuracy of the digital/analog conversion is improved.
    On the other hand, when the ON/OFF control signal SB becomes in "L" level, the non-inverting buffers B1, B2 ··· Bn and the MOS transistor 20 become in no output state, the digital signal from each of the non-inverting buffers B1, B2 ··· Bn becomes in the non-output state, and the resistance Dn+1 is cut off from the ground potential side. Thereby, the analog signal becomes not-output state as well as the current flowing the resistance Dn+1 is cut off. Therefore, when an analog signal is not outputted, current is not consumed uselessly.
    FIG. 8 is a circuit diagram showing a configuration of another embodiment of the digital/analog conversion circuit related to the invention.
    In this embodiment, signal outputting means VHL for outputting a signal of "H" level or "L" level is provided, and the output thereof is inputted to one end of a non-inverting buffer Bn+2 provided in place of the MOS transistor 20. The other end of the non-inverting buffer Bn+2 is connected to one end of the resistance Dn+1. The non-inverting buffer Bn+1 has a configuration as shown in FIG. 6 similarly to the other non-inverting buffers B1, B2 ··· Bn, and to the control terminal thereof, the ON/OFF control signal SB is inputted. The configuration other than that shown in FIG. 8 is same as the configuration shown in FIG. 5, and the same parts are designated by the same reference characters and the explanation therefor will be omitted.
    Next, explanation will be given on the operation of the other embodiment of the digital/analog converting circuit of the invention shown in FIG. 8.
    When a signal of "L" level, for example, is outputted from the signal outputting means VHL, the ON/OFF control signal SB is made become in "H" level, and the non-inverting buffers B1, B2 ··· Bn and Bn+1 are made be in the output state, the analog signal AN of the 2n steps of voltage level of 0, VD/2n ··· {(2n-1)VD}/2n is outputted corresponding to input values of the digital signal DT from the MSB to the LSB.
    When the signal outputting means VHL outputs a signal of "H" level and all of the signals of each bit of the digital signal DT become in "H" level, the analog signal AN of voltage level VD is outputted. Concerning all of potentials of these 2n+1 steps, a constant resistance characteristic of the output resistance R of the digital/analog converting circuit is obtained as a resistance value in every case.
    On the other hand, when the ON/OFF control signal SB becomes in "L" level, the non-inverting buffers B1, B2 ··· Bn, Bn+1 are in the non-output state, a signal corresponding to a digital signal from each of the non-inverting buffers B1, B2 ··· Bn is not outputted, and a signal of "H" level or "L" level is not outputted from the non-inverting buffer Bn+1. That is, an analog signal becomes in the non output state without being digital/analog converted as well as current does not flow through the resistance Dn+1 uselessly.
    FIG. 9 is a block diagram showing a configuration of a one-chip microcomputer of CMOS configuration in which the digital/analog converting circuit of the invention is built in.
    In the one-chip microcomputer 1, the CPU 3, ROM 4, RAM 5, data register 6, D/A converter select register 7, digital/analog converting circuit 12, digital signal input/output port 10 and bus 11 are built in. The CPU 3, ROM 4, RAM 5, data register 6, D/A converter select register 7 and digital signal input/output port 10 are connected to each other by a bus 11. The data held by the D/A converter select register 7 is given to the digital/analog converting circuit 12 and the digital signal input/output port 10.
    The digital data held by the data register 6 is inputted to the digital/analog converting circuit 12, and the analog signal after digital/analog conversion is outputted to the outside from the signal input/output terminal 2. The digital signal inputted from the outside to the signal input/output terminal 2 is inputted to the digital signal input/output port 10.
    Next, explanation will be given on the one-chip microcomputer 1.
    According to the contents of the program stored in the ROM 4, when the CPU 3 sets the data for selecting the digital signal input/output port 10 in the digital/analog converter select register 7, the digital signal input/output port 10 becomes in the enable state and the digital/analog converting circuit 12 becomes in the non output state respectively. Accordingly, the function of the signal input/output terminal 2 becomes the one for inputting/outputting a digital signal through the digital signal input/output port 10.
    When data is set in the data register 6 from the CPU 3, and further, data selecting the digital/analog converting circuit 12 is set in the digital/analog converter select register 7, the digital signal input/output port 10 becomes in the non-output state, that is, the state where neither pull-up nor port output is performed, and the digital/analog converting circuit 12 becomes in the output state. Accordingly, the function of the signal input/output terminal 2 becomes the one for outputting an analog signal from the digital/analog converting circuit 12.
    When the digital/analog converting circuit 12 is in the non-output state, the MOS transistor 20 or the non-inverting buffer Bn+1 in the digital/analog converting circuit 12 becomes in the non-output state, as aforementioned. Therefore, current does not flow through the MOS transistor 20 or the non-inverting buffer Bn+1. Accordingly, even when a digital signal is inputted from the outside to the signal input/output terminal 2 while an analog signal is not outputted, there is no possibility that the voltage level of the digital signal is not changed.
    In this embodiment, the terminal of the digital/analog converting circuit is also used for the digital signal input/output port, however, the terminal of the digital/analog converting circuit may also be used for the digital signal input port or the digital signal output port.
    Also in this embodiment, the digital/analog converting circuit is built in a one-chip microcomputer, however, this is only an example, and it is a matter of course that the same effect can be obtained by applying the digital/analog converting circuit to other than the one-chip microcomputer. Further, a digital signal is inputted to a non-inverting buffer, however, it is possible to use an inverting buffer in place of a non-inverting buffer.
    As aforementioned, since the digital/analog converting circuit is not so configured that the output/non-output of an analog signal obtained by converting a digital signal is switched by the switching circuit using a transistor, the linearity of the digital/analog conversion characteristic is not to be damaged by the on-resistance of the transistor. Therefore, a digital signal can be converted into an analog signal in high accuracy all over the region in which a digital signal changes.
    When an analog signal after converting a digital signal is not outputted, since the resistance for converting a digital signal into an analog signal is separated from the positive or negative reference potential, current does not flow through the resistance uselessly. Therefore, even when a digital signal is inputted from the outside to the signal input/output terminal, there is no possibility that the voltage level is changed.

    Claims (3)

    1. A digital/analog converting circuit, comprising: n number of first switching elements (B1, B2 ··· Bn) each of which has an output resistance value r and an input, to each input an input signal of each bit of a digital signal (DT) of n bits (MSB, ···, LSB) is inputted, and each switching element is switched to the state of outputting the positive (VD) or negative reference potential (VS) corresponding to the input signal in response to a control signal (SB) or switched to the state of non-outputting;
      n number of first resistances (D1, D2 ··· Dn) each of which has a resistance value 2R-r, and one end of each is connected to the output of said respective first switching element;
      n-1 number of second resistances (E1, E2 ··· En-1) each of which has resistance value R, and each of which connects the other ends of said n number of first resistances (D1, D2 ··· Dn) in the form of a ladder and in the bit order of said digital signal;
      a second switching element (20) which has an on-resistance value r, whose one end is connected to the positive or negative reference potential, and which is switched to the state of outputting the positive or negative reference potential from the other end according to the control signal (SB) or switched to the non-outputting state; and
      a resistance (Dn+1) which has a resistance value 2R-r, and which connects the other end of said second switching element (20) and the other end of the first resistance (Dn) corresponding to the lowest bit of said digital signal;
      whereby the other end of said first resistance (D1) is switched to the state of outputting said digital signal converted into an analog signal corresponding to said control signal (SB).
    2. A digital/analog converting circuit as set forth in Claim 1, wherein
      each of said first switching elements (B1, B2 ··· Bn) is composed of a three-state buffer, and
      said second switching element (20) is composed of a MOS transistor whose one end is connected to a source potential or a ground potential.
    3. A digital/analog converting circuit as set forth in Claim 1, wherein
      each of said first switching elements (B1, B2 ··· Bn) and the second switching element (20) is composed of a three-state buffer, and
      signal outputting means (VHL) for generating a positive or negative reference potential and giving it to said second switching element (20) is provided.
    EP94118890A 1993-12-27 1994-11-30 Digital/analog converting circuit Expired - Lifetime EP0660529B1 (en)

    Applications Claiming Priority (2)

    Application Number Priority Date Filing Date Title
    JP33070593A JP3551200B2 (en) 1993-12-27 1993-12-27 Digital / analog conversion circuit
    JP330705/93 1993-12-27

    Publications (2)

    Publication Number Publication Date
    EP0660529A1 EP0660529A1 (en) 1995-06-28
    EP0660529B1 true EP0660529B1 (en) 1998-11-11

    Family

    ID=18235643

    Family Applications (1)

    Application Number Title Priority Date Filing Date
    EP94118890A Expired - Lifetime EP0660529B1 (en) 1993-12-27 1994-11-30 Digital/analog converting circuit

    Country Status (5)

    Country Link
    US (1) US5602552A (en)
    EP (1) EP0660529B1 (en)
    JP (1) JP3551200B2 (en)
    KR (1) KR0149707B1 (en)
    DE (1) DE69414538T2 (en)

    Families Citing this family (3)

    * Cited by examiner, † Cited by third party
    Publication number Priority date Publication date Assignee Title
    US5815104A (en) * 1997-03-20 1998-09-29 Sigmatel, Inc. Method and apparatus for digital to analog conversion
    JP4116190B2 (en) * 1999-05-06 2008-07-09 日本テキサス・インスツルメンツ株式会社 DA converter and AD converter
    US8487800B2 (en) * 2011-11-14 2013-07-16 Semtech Corporation Resistive digital-to-analog conversion

    Family Cites Families (7)

    * Cited by examiner, † Cited by third party
    Publication number Priority date Publication date Assignee Title
    DE3145889A1 (en) * 1981-11-19 1983-05-26 Siemens AG, 1000 Berlin und 8000 München INTEGRATED DIGITAL / ANALOG CONVERTER
    JPS6190521A (en) * 1984-10-09 1986-05-08 Nippon Gakki Seizo Kk Digital analog converter
    US4779029A (en) * 1985-03-11 1988-10-18 Ncr Corporation Digitally compensated multiplying digital to analog converter
    JPS6333014A (en) * 1986-07-26 1988-02-12 Canon Inc Digital analog converting circuit
    US4833473A (en) * 1987-10-05 1989-05-23 Harris Semiconductor Patents, Inc. Digital to analog converter with switch function compensation
    JPH0734542B2 (en) * 1988-06-29 1995-04-12 日本電気株式会社 D-A conversion circuit
    JPH0377430A (en) * 1989-08-19 1991-04-03 Fujitsu Ltd D/a converter

    Also Published As

    Publication number Publication date
    EP0660529A1 (en) 1995-06-28
    KR0149707B1 (en) 1998-12-15
    US5602552A (en) 1997-02-11
    JPH07193504A (en) 1995-07-28
    KR950022163A (en) 1995-07-28
    DE69414538D1 (en) 1998-12-17
    JP3551200B2 (en) 2004-08-04
    DE69414538T2 (en) 1999-05-06

    Similar Documents

    Publication Publication Date Title
    US6914547B1 (en) Triple resistor string DAC architecture
    US5243347A (en) Monotonic current/resistor digital-to-analog converter and method of operation
    JPH0810832B2 (en) Digital-to-analog converter
    US6522280B2 (en) Adjustable digital-to-analog converter
    US4695826A (en) High accuracy digital-to-analog converter having symmetrical current source switching
    US8937568B2 (en) D/A converter
    EP0378840A2 (en) Digital to analog converter having single resistive string with shiftable voltage thereacross
    EP0466145B1 (en) D/A converter
    JP3439515B2 (en) Digital / analog converter
    US6181265B1 (en) Non-linear digital-to-analog converter
    EP0660529B1 (en) Digital/analog converting circuit
    JPH0629850A (en) A/d converter
    US6999016B2 (en) D/A converter and semiconductor device
    US5220306A (en) Digital signal comparator for comparing n-bit binary signals
    US7423571B2 (en) Resistor-string digital/analog converter circuit and semiconductor device including the same circuit
    US7277036B2 (en) Digital-to-analog converting circuit
    US5629702A (en) Analog to digital converter
    US5894426A (en) Maximum/minimum value determination apparatus
    EP2782256B1 (en) A digital to analogue converter
    US20040125004A1 (en) D/A converter for converting plurality of digital signals simultaneously
    US7358886B2 (en) Voltage output digital-to-analog converter circuit
    US20060176202A1 (en) Digital-to-analog converter using plural transistors having the same operating characteristics
    JPH10215179A (en) D/a converter
    JP2797349B2 (en) A / D converter
    JPH02188029A (en) Current dividing circuit

    Legal Events

    Date Code Title Description
    PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

    Free format text: ORIGINAL CODE: 0009012

    AK Designated contracting states

    Kind code of ref document: A1

    Designated state(s): DE FR GB

    17P Request for examination filed

    Effective date: 19950620

    GRAG Despatch of communication of intention to grant

    Free format text: ORIGINAL CODE: EPIDOS AGRA

    17Q First examination report despatched

    Effective date: 19980506

    GRAG Despatch of communication of intention to grant

    Free format text: ORIGINAL CODE: EPIDOS AGRA

    GRAH Despatch of communication of intention to grant a patent

    Free format text: ORIGINAL CODE: EPIDOS IGRA

    GRAH Despatch of communication of intention to grant a patent

    Free format text: ORIGINAL CODE: EPIDOS IGRA

    GRAH Despatch of communication of intention to grant a patent

    Free format text: ORIGINAL CODE: EPIDOS IGRA

    GRAA (expected) grant

    Free format text: ORIGINAL CODE: 0009210

    AK Designated contracting states

    Kind code of ref document: B1

    Designated state(s): DE FR GB

    REF Corresponds to:

    Ref document number: 69414538

    Country of ref document: DE

    Date of ref document: 19981217

    ET Fr: translation filed
    PLBE No opposition filed within time limit

    Free format text: ORIGINAL CODE: 0009261

    STAA Information on the status of an ep patent application or granted ep patent

    Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT

    26N No opposition filed
    REG Reference to a national code

    Ref country code: GB

    Ref legal event code: IF02

    PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

    Ref country code: FR

    Payment date: 20061108

    Year of fee payment: 13

    PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

    Ref country code: DE

    Payment date: 20061123

    Year of fee payment: 13

    PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

    Ref country code: GB

    Payment date: 20061129

    Year of fee payment: 13

    GBPC Gb: european patent ceased through non-payment of renewal fee

    Effective date: 20071130

    PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

    Ref country code: DE

    Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

    Effective date: 20080603

    REG Reference to a national code

    Ref country code: FR

    Ref legal event code: ST

    Effective date: 20080930

    PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

    Ref country code: GB

    Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

    Effective date: 20071130

    PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

    Ref country code: FR

    Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

    Effective date: 20071130