This invention is based on Japanese Patent Application No. 2004-250575, the content of which is incorporated by reference in its entirety.
1. Field of the Invention
This invention relates to a digital to analog converter applicable to digital AV equipment and so on.
2. Description of the Related Art
Conventionally, a digital to analog converter outputs an analog voltage proportional to a duty ratio of a pulse having a pulse width corresponding to the size of digital data. This pulse is generated by a pulse width modulation (PWM) circuit and hereafter referred to as a PWM signal.
An operation of this digital to analog converter will be described with reference to
The following equations establish that the output voltage Vout is proportional to the duty ratio of the PWM signal. Suppose that a PWM signal having a cycle t and a duty ratio n is outputted from the pulse width modulation circuit 51 as shown in
I1=(Vin−Vout)/R (1)
In this equation, R indicates a resistance value of the resistor 54. A period of the high level of the PWM signal is t·n, so that ΔQ1 is expressed by the following equation (2).
ΔQ1=I1·t·n=(Vin−Vout)t·n/R (2)
The following equation (3) is established for the capacitor 55.
ΔQ1=C·ΔV1 (3)
In this equation, C indicates a capacitance value of the capacitor 55. The following equation (4) can be established from the equations (2) and (3).
C·ΔV1=(Vin−Vout)t·n/R (4)
When the equation (4) is solved for ΔV1, the following equation (5) is established.
ΔV1=(Vin−Vout)t·n/(C·R) (5)
Next, the PWM signal becomes low level, shifting to the phase 2. At this time, suppose that a current I2 flows out of the capacitor 55 and the capacitor 55 is discharged, so that the output voltage varies by ΔV2. When ΔV2 is low enough and the variation of the current I2 caused by ΔV2 is negligible, the following equation (6) is established.
I2=Vout/R (6)
Since a period of the low level of the PWM signal is t·(1−n), a charge amount ΔQ2 flowing in the capacitor 55 is expressed by the following equation by assigning the equation (6).
ΔQ2=I2·t·(1−n)=Vout·t·(1−n)/R (7)
Furthermore, the following equation (8) is established for the capacitor 55.
ΔQ2=C·ΔV2 (8)
Therefore, the following equation (9) is established from the equations (7) and (8).
C·ΔV2=Vout·t·(1−n)/R (9)
By solving the equation (9) for ΔV2, the following equation (10) is established.
ΔV2=Vout·t·(1−n)/(C·R) (10)
When the circuit is stabilized, the following equation (11) is established.
ΔV1=ΔV2 (11)
When the equations (5) and (10) are plugged into the equation (11), the following equation (12) is established.
(Vin−Vout)t·n/(C·R)=Vout·t·(1−n)/(C·R) (12)
When the equation (12) is solved, the following equation is established.
Vout=n·Vin (13)
Thus, the output voltage Vout proportional to the duty ratio n of the PWM signal is obtained.
As shown in
As shown in
When the on-state resistance of the P-channel type MOS transistor M1 is indicated by Rp, the equation (1) is replaced with the following equation (1A).
I1I=(Vin−Vout)/(R+Rp) (1A)
Therefore, the equation (13) is replaced with the following equation (13A).
Vout=n·R/((1−n)·(R+Rp)+n·R)×Vin (13A)
Then, the output voltage Vout proportional to the duty ratio n of the PWM signal can not be obtained.
In
For obtaining the output voltage Vout proportional to the duty ratio n even when the input potential Vin is low, an integrator with an amplifier may be added to the circuit. However, there is a problem of forming a large-scale circuit.
The invention provides a digital to analog converter that includes a pulse width modulation circuit generating a pulse having a pulse width corresponding to digital data received by the pulse width modulation circuit, an inverter receiving the pulse generated by the pulse width modulation circuit, and a low-pass filter receiving an output of the inverter. The inverter includes a P-channel type MOS transistor and a first N-channel type MOS transistor that are connected in series between a high potential and a low potential. The pulse is applied to gates of the P-channel type MOS transistor and the first N-channel type MOS transistor. The inverter further includes a second N-channel type MOS transistor that is connected with the P-channel type MOS transistor in parallel to form a CMOS transmission gate having the P-channel type MOS transistor and the second N-channel type MOS transistor.
A digital to analog converter of an embodiment of the invention will be described with reference to
In this structure, the P-channel type MOS transistor M1 and the N-channel type MOS transistor M3 form a CMOS transmission gate. A power supply of the CMOS inverter 71 on a high potential side is Vdd, and a power supply thereof on a low potential side is 0V. The other structure is the same as that of the circuit shown in
In the digital to analog converter of this embodiment, when a PWM signal is high level (on a phase 1), 0V is applied to a gate of the P-channel type MOS transistor M1 and Vdd is applied to the gate of the N-channel type MOS transistor M3, so that both the MOS transistors turn on. On the other hand, when a PWM signal is low level (on a phase 2), Vdd is applied to the gate of the P-channel type MOS transistor M1 and 0V is applied to the gate of the N-channel type MOS transistor M3, so that both the MOS transistors turn off.
Therefore, when an input potential Vin (a power supply of the CMOS inverter 70 on a high potential side) is low, on-state resistance of the P-channel type MOS transistor M1 becomes high, but on-state resistance of the N-channel type MOS transistor M3 becomes low enough. This enables establishment of the equation (1) regardless of high or low input potentials Vin so that an output voltage Vout proportional to a duty ratio can be obtained at any time.
Furthermore, the digital to analog converter of this embodiment is formed by adding one N-channel type MOS transistor M3 and one CMOS inverter 71 to the circuit shown in
Number | Date | Country | Kind |
---|---|---|---|
2004-250575 | Aug 2004 | JP | national |