The present invention relates to a sample-hold circuit in which a capacitor and an analog switch are combined with each other and relates, in particular, to a sample-hold circuit suitable for use in an LCD (Liquid Crystal Display) drive circuit or the like that outputs an LCD drive voltage to an LCD panel. The present invention also relates to a semiconductor device that has the sample-hold circuit.
In recent years, attention has been paid to a TFT (Thin Film Transistor) LCD panel characterized by a low voltage, a lightweight and a thin configuration as a display device that takes the place of CRT (Cathode Ray Tube) in a computer and a television set.
Reference is made below to a case where an LCD driver of 300 outputs is employed, data of one pixel is constructed of 6 [Bit]×3 (corresponding to red, green and blue (abbreviated as RG-B hereinbelow))=18 [Bit] and the input is taken in by 6 [Bit]×3 (RGB) at a time.
An LCD driver 107 is constructed of a first line memory 101 that samples data of each pixel, a second line memory 102 that holds data of one display line, a DA converter (digital-to-analog converter) 103, an LCD drive output amplifier circuit 104, a control section (control circuit) 105 and a reference power supply section 106.
The data of pixels are successively inputted to the LCD driver 107 every pixel. In concrete, the control section 105 controls the first line memory 101 and successively stores the inputted data into the first line memory 101. Since the input is taken in by 6 [Bit]×3 (R-G-B) at a time, data intake is to be performed 100 times in order to take in the data of 300 outputs.
The data of one line is stored into the first line memory 101, and thereafter, the data of the first line memory 101 is transferred to the second line memory 102 by a signal from the control section 105. The DA converter 103 converts the digital data stored in the second line memory 102 into analog data. The conversion is performed by selecting an appropriate voltage out of 64-level voltages produced by the reference power supply section 106 on the basis of the input digital data. Subsequently, the selected voltage is subjected to impedance conversion in the LCD drive output amplifier 104 and outputted from the LCD driver 107. The output is given to the source line (X-direction) of the LCD panel, and a display on the LCD panel is achieved.
In recent years, the DA converter size tends to increase in accordance with a finer resolution. For example, a fourfold size results when the 64-level DA converter is modified to 256-level gray scale, and a sixteenfold size results in the case of 1024-level gray scale. Since a DA converter is provided for each output in the LCD driver of the construction shown in
As a method capable of avoiding the increase in the chip area, there is a method of sequentially carrying out DA conversion (digital-to-analog conversion) and storing the result into a sample-hold circuit.
As shown in
When the input image data is taken in, the DA converter 120 operates. In detail, the DA converter 120 converts the input image data into analog data and outputs the converted analog data to an analog S/H (Sample-Hold) circuit part 121.
The conversion timing is controlled by the control section 205. The output from the DA converter 120 to the analog S/H circuit part 121 can be transferred on one signal line with regard to each of the colors (R-G-B) Therefore, the circuit scale subsequent to the DA converter 120 is not increased even when the gray scale levels of the DA converter 120 are increased. Since the DA converter 120 is a general DA converter, no description is provided for the circuit construction.
The sample-hold circuit part shown in
A general sample-hold circuit part can be constructed of an analog switch and a capacitor. However, when a sample-hold circuit part is employed in an LCD driver, it is necessary to sample data of the next stage while an LCD panel is driven by the held voltage. In this case, a sample-hold circuit part is constructed of analog switches 110 and 112, and capacitors 111 and 113 as shown in
The analog voltage from the DA converter 120 is held in the capacitor 111 by a signal CK, the voltage held in the capacitor 111 is transferred to the capacitor 113 by a signal LP, and the capacitor 113 holds the voltage. While the voltage held in the capacitor 113 drives the LCD panel through the LCD drive output amplifier 104, the sample-hold circuit part constructed of the analog switch 110 and the capacitor 111 samples the data of the next stage.
Although the sample-hold circuit part of
In
The voltage taken in the capacitor portion 111 is referred to as voltage 1. The analog switch 112 is controlled to be turned on and off by a signal LP controlled by the control section 205. The sampling voltage 1 is transferred to the capacitor 113 during the period in which the analog switch 112 is in the on state. The voltage transferred to the capacitor 113 is referred to as voltage 2.
The analog S/H circuit part 121 in
Subsequently, the voltage 1 is transferred by a signal from the control section 205 and becomes the voltage 2, and the voltage 2 is subjected to impedance conversion by the LCD drive output amplifier 104 and outputted. The output is given to the source line (X-direction) of the LCD panel, and the display on the LCD panel is achieved.
In the LCD driver 207 of the structure shown in
If the sample-hold circuit in which the capacitor and the analog switch are combined with each other is employed as described above, the area occupied by the output circuit portion can largely be reduced, and therefore, a high-definition LCD drive circuit excellent in quality can be manufactured. However, there is a problem that accurate sampling cannot be performed since a parasitic capacitance owned by the analog switch is actually varied by the turning on and off of switching. Accordingly, there is a problem that the sample-hold circuits of the constructions shown in
JP H07-86935 A discloses the problem caused by the parasitic capacitance of the analog switch in the sample-hold circuit shown in
As shown in
However, the method has a problem that the error cannot sufficiently be corrected. Moreover, the method has a problem that a time for charging the capacitor 305 with electric charge in the sampling operation (time for charging the capacitance) becomes long to prolong the sampling time although no influence is exerted on the circuit operation subsequent to the sample-hold circuit since the synthetic capacitance of the capacitors 301 and 305 is adjusted so as to become reduced after the sampling of the input voltage by switching over the analog switches 303 and 304.
An object of the present invention is to provide a sample-hold circuit capable of correcting the voltage variation of the sample-hold circuit attributed to the variation in the parasitic capacitance of the analog switch caused by turning on and off the analog switch without increasing the capacitance of the capacitor of the sample-hold circuit
In order to achieve the above object, there is provided a sample-hold circuit comprising:
a first analog switch;
a first sampling capacitor connected between an output terminal of the first analog switch and a ground;
a second analog switch whose input terminal is connected to a node between the first analog switch and the first sampling capacitor;
a second sampling capacitor connected between an output terminal of the second analog switch and the ground; and
a control section for performing first control for turning on the first and second analog switches, thereafter performing second control for turning off the second analog switch in a state in which the first analog switch is on, subsequently performing third control for turning off the first analog switch in a state in which the second analog switch is off and subsequently performing fourth control for turning on the second analog switch in a state in which the first analog switch is off.
According to the present invention, the control section turns on the first and second analog switches by the first control, thereafter turns off the second analog switch by the second control, subsequently turns off the first analog switch by the third control and thereafter turns on the second analog switch by the fourth control. Therefore, a change in the sampling voltage that is the voltage at the node between the second analog switch and the second sampling capacitor and is changed by the parasitic capacitance (stray capacitance) of the second analog switch when the second analog switch is turned off by the second control and a change in the sampling voltage changed by the parasitic capacitance of the second analog switch when the second analog switch is turned on by the fourth control can cancel each other. Therefore, a sampling voltage error due to the parasitic capacitances of the first and second analog switches can be corrected. Therefore, accurate sampling can be performed, and display on the LCD panel, for example, can be achieved much more elaborately than in the conventional case.
Moreover, according to the sample-hold circuit of the present invention, the effect of the parasitic capacitance of analog switches can be canceled. Therefore, it is unnecessary to increase the capacitance of the capacitor so that the effect of the parasitic capacitance of the analog switches is reduced unlike the conventional practice. Therefore, the sampling capacitance of the capacitor can be made much smaller than in the conventional case. Therefore, the time for charging the sampling capacitance can be remarkably shortened, and the sampling time can be remarkably reduced.
In one embodiment, the control section performs the first, second, third and fourth controls during a period in which an input voltage applied to an input terminal of the first analog switch does not substantially change.
One embodiment further comprises a digital-to-analog converter that outputs an analog voltage based on external input digital data, wherein the input voltage is the analog voltage outputted from the digital-to-analog converter.
In one embodiment, the first sampling capacitor has a capacitance equal to a capacitance of the second sampling capacitor.
According to the embodiment, the capacitance of the first capacitor is equal to the capacitance of the second capacitor. Therefore, the change in the sampling voltage when the second analog switch is turned off and the change in the sampling voltage when the second analog switch is turned on can be brought close to each other, and this allows the amount of cancellation to be increased. Therefore, the sampling voltage error can further be reduced.
According to the embodiment, the parasitic capacitance of the first analog switch is equal to the parasitic capacitance of the second analog switch, and therefore, the sampling voltage error can further be reduced.
In one embodiment, the first sampling capacitor and the second sampling capacitor are built in an identical integrated circuit, and
the first sampling capacitor is roughly identical to the second sampling capacitor.
According to the embodiment, by making the layout of the components (electrode plate etc.) of the first sampling capacitor and the layout of the components of the second sampling capacitor roughly equal to each other, the capacitances of the first and second capacitors can be equalized, and the sampling voltage error can further be reduced.
In one embodiment, the first analog switch and the second analog switch are built in the integrated circuit that has the first sampling capacitor and the second sampling capacitor and wherein,
the first analog switch is constituted of a plurality of transistors, the second analog switch is constituted of a plurality of transistors, and
a layout of the plurality of transistors that constitute the first analog switch is equal to a layout of the plurality of transistors that constitute the second analog switch.
According to the embodiment, the parasitic capacitance of the first analog switch is equal to the parasitic capacitance of the second analog switch, and the capacitances of the first sampling capacitor and the second capacitor are equal to each other. Therefore, the sampling voltage error can further be reduced.
Moreover, according to the embodiment, the sampling voltage error due to the parasitic capacitances of the analog switches can be corrected. Therefore, it is unnecessary to increase the sampling capacitors in order to reduce the voltage error due to the parasitic capacitances of the analog switches, and the effects of reducing a chip area thereof and shortening the sampling time in the sample-hold circuit are also produced.
A semiconductor device of one embodiment comprises the sample-hold circuit.
Since the semiconductor device of the embodiment has the sample-hold circuit, the desired sampling voltage can accurately be taken out by the sample-hold circuit, and the sampling time in the sample-hold circuit can remarkably be shortened. Therefore, the quality of the semiconductor device can remarkably be improved.
According to the sample-hold circuit of the present invention, which has the control section, the two analog switches for correction and the two sampling capacitors and in which the timing of turning on and off the two analog switches is shifted by the control section, the error generated by the combination of the sampling capacitors and the analog switches can be corrected with high accuracy, and the desired sampling voltage can be obtained.
Moreover, according to one embodiment, the sampling capacitor is divided into two, one analog switch is inserted between the two sampling capacitors, and further the two analog switches and the two sampling capacitors have same sizes, respectively. Therefore, by adjusting the timing of turning on and off the analog switches, the error in the hold voltage due to the parasitic capacitance of the analog switches can be corrected. Therefore, it is only required to determine the capacitance value taking the sampling rate and the operation speed of the subsequent circuits into consideration, and it is unnecessary to set a large capacitance for reducing the error in the hold voltage due to the parasitic capacitance of the analog switches. Therefore, the chip area can be reduced, and the sampling time can be reduced.
The present invention will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only, and thus are not intended to limit the present invention, and wherein:
The present invention will be described in detail below by the embodiment shown in the drawings.
As shown in
The input voltage A is applied to an input terminal of the first analog switch 1. The first sampling capacitor 3 is connected between an output terminal of the first analog switch 1 and the ground. One end of a wiring line is connected to a node between the first analog switch 1 and the first sampling capacitor 3, and the other end of the wiring line is connected to an input terminal of the second analog switch 2.
The second sampling capacitor 4 is connected between the output terminal of the second analog switch 2 and the ground. An electrical potential (node voltage) at the node between the second analog switch 2 and the second sampling capacitor 4 with respect to the ground is taken out as the sampling voltage C.
The input voltage A in
A time indicated by t2 (>t1) in
As shown in
Moreover, as shown in
The input voltage A at level b is applied to the input terminal at this point of time. Therefore, the voltage applied to the first sampling capacitor 3 is the input voltage A at level b, and the voltage B between the first analog switch 1 and the first sampling capacitor 3 is at level b.
Next, third control is performed at the timing t4 (>t3). That is, the first analog switch 1 is turned off by the control signal of the control section 33. Since the first analog switch 1 is turned off at the timing t4, the parasitic capacitance of the first analog switch 1 changes, and this changes the voltage B that is the node voltage between the first analog switch 1 and the first sampling capacitor 3 to a voltage shifted by a voltage α2 from the voltage at level b of the input voltage. In this case, since the voltage α1 and the voltage α2 have same voltage due to the circuit construction and sequence, the sampling voltage of the voltage B has level e.
Next, fourth control is performed at the timing t5 (>t4). That is, the second analog switch 2 is turned on by the control signal of the control section 33. Since the second analog switch 2 is turned on at the timing of time t5, the parasitic capacitance of the second analog switch 2 changes, and this changes the voltage C that is the node voltage between the second analog switch 2 and the second sampling capacitor 4 to a voltage shifted by a voltage α3 from the voltage at level b. At this time, the voltages of α2 and α3 have same voltage. This is described with reference to
In
As shown in
It is assumed that the first and second capacitors 3 and 4 shown in
Attention should be paid here to the fact that, since the voltage relations of the gate to the source S and drain D of the analog switch 2 is restored when the analog switch 2 is turned off and thereafter turned on again unless a leakage current is generated, the variation in the parasitic capacitance is also restored and the voltage of the capacitor is restored to the original voltage A. Therefore, due to the variation in the parasitic capacitance of the analog switch 2 at the time of switching between the on and off states performed in the structure shown in
If the state of
In the case of the circuit diagram of
When the initial voltage of the capacitors 3 and 4 of
Therefore, when the analog switch 2 of
Actually, the voltage across both ends of the second analog switch 2 of
Input image data of 6 [Bit]×3 (RGB) (=18 [Bit]) is inputted to the LCD driver 17 at a time. The DA converter 120 converts LCD display digital data into analog data and outputs the analog data to the analog S/H circuit part 11. Moreover, the analog S/H circuit part 11 samples and holds the analog data from the DA converter 120 and outputs an LCD drive voltage.
In detail, the DA converter 120 converts the input image data into analog data expressed by voltage data of 64-level gray scale. The DA converter 120 has. converters of three circuits and is able to process data of the colors (RGB) at a time.
The DA converter 120 sequentially transfers the analog value obtained after the DA conversion to the analog S/H circuit part 11. That is, when the input image data is taken in, the DA converter 120 operates to convert the input image data into the analog data and outputs the converted analog data to the analog S/H circuit part 11.
The conversion timing is controlled by the control section 13. The output from the DA converter 120 to the analog S/H circuit part 11 can be transferred on one signal line with respect to each of the colors (RGB).
The analog S/H circuit part 11 shown in
The first sample-hold circuit part 12 and the second sample-hold circuit part 13 are connected to one input of an LCD drive output amplifier 104. This is structured so that, while one sample-hold circuit is driving the LCD panel through the LCD drive output amplifier 104, the other sample-hold circuit samples and holds the driving voltage of the next stage as in the conventional structure of
The first sample-hold circuit part 12 and the second sample-hold circuit part 13 are incorporated into an identical large scale integrated circuit (LSI) as one example of the integrated circuit (not shown). The first analog switch 1 and the second analog switch 2 are each constructed of a plurality of transistors, and the layout of the plurality of transistors that constitute the first analog switch 1 and the layout of the plurality of transistors that constitute the second analog switch 2 are same in the large scale integrated circuit. Likewise, the first analog switch 6 and the second analog switch 7 are each constructed of a plurality of transistors, and the layout of the plurality of transistors that constitute the first analog switch 6 and the layout of the plurality of transistors that constitute the second analog switch 7 are same in the large scale integrated circuit.
Moreover, in the large scale integrated circuit, the layout of components (electrode plate etc.) of the first sampling capacitor 3 and the layout of components of the second sampling capacitor 4 are identical to each other. Likewise, the layout of components (electrode plate etc.) of the first sampling capacitor 8 and the layout of components of the second sampling capacitor 9 are identical to each other.
Moreover, in the large scale integrated circuit, the layout constructions of the first sample-hold circuit part 12 and the second sample-hold circuit part 13 are also identical.
In
As shown in
In the case where the first analog switch 1 and the second analog switch 2 are constructed of identical analog switches and the first sampling capacitor 3 and the second sampling capacitor 4 are constructed of identical capacitors when the sample-hold circuit of the embodiment is part of the integrated circuit, the error of the sample-hold circuit can structurally be reduced.
For example, the first analog switch 1 is constructed of a p-channel transistor and an n-channel transistor. Further, the p-channel transistor of the first analog switch 1 and the p-channel transistor 8 (see
When the sample-hold circuit of the embodiment is built in a semiconductor device such as an LCD drive device or an analog signal processor, the sampling voltage error attributed to the parasitic capacitance can be corrected and reduced in the sample-hold circuit of the semiconductor device such as the LCD drive device or the analog signal processor, and it becomes unnecessary to increase the sampling capacitance in the sample-hold circuit by virtue of the correction effect. Therefore, the chip size can be reduced, and the sampling time can be reduced. Therefore, the performance of the semiconductor device can be remarkably improved.
Embodiments of the invention being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications as would be obvious to one skilled in the art are intended to be included within the scope of the following claims.
Number | Date | Country | Kind |
---|---|---|---|
P2005-094708 | Mar 2005 | JP | national |
This nonprovisional application claims priority under 35 U.S.C. §119(a) on Patent Application No. 2005-094708 filed in Japan on Mar. 29, 2005, the entire contents of which are hereby incorporated by reference.