US20090072869A1 - Sample and hold circuit and related data signal detecting method utilizing sample and hold circuit - Google Patents
Sample and hold circuit and related data signal detecting method utilizing sample and hold circuit Download PDFInfo
- Publication number
- US20090072869A1 US20090072869A1 US11/854,560 US85456007A US2009072869A1 US 20090072869 A1 US20090072869 A1 US 20090072869A1 US 85456007 A US85456007 A US 85456007A US 2009072869 A1 US2009072869 A1 US 2009072869A1
- Authority
- US
- United States
- Prior art keywords
- data signal
- reference voltage
- sample
- hold circuit
- switching module
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 24
- 239000003990 capacitor Substances 0.000 claims abstract description 28
- 238000010586 diagram Methods 0.000 claims description 37
- 238000005070 sampling Methods 0.000 claims description 21
- 238000011084 recovery Methods 0.000 claims description 6
- 230000003247 decreasing effect Effects 0.000 claims description 4
- 239000008186 active pharmaceutical agent Substances 0.000 description 5
- 101000885321 Homo sapiens Serine/threonine-protein kinase DCLK1 Proteins 0.000 description 4
- 102100039758 Serine/threonine-protein kinase DCLK1 Human genes 0.000 description 4
- 230000007423 decrease Effects 0.000 description 3
- 238000004088 simulation Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C27/00—Electric analogue stores, e.g. for storing instantaneous values
- G11C27/02—Sample-and-hold arrangements
- G11C27/024—Sample-and-hold arrangements using a capacitive memory element
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C27/00—Electric analogue stores, e.g. for storing instantaneous values
- G11C27/02—Sample-and-hold arrangements
- G11C27/024—Sample-and-hold arrangements using a capacitive memory element
- G11C27/026—Sample-and-hold arrangements using a capacitive memory element associated with an amplifier
Definitions
- the present invention relates to a sample and hold circuit and a related data signal detecting method utilizing the sample and hold circuit, and particularly relates to a sample and hold circuit for detecting height of an eye diagram and a related data signal detecting method utilizing said sample and hold circuit.
- FIG. 1A is a circuit diagram illustrating a prior art eye diagram measuring circuit 100 .
- the eye diagram measuring circuit 100 operates at high speed and needs high speed elements, i.e. the comparator, phase interpolator and D flip-flops.
- the cost of the eye diagram measuring circuit 100 is high and the yield is low since it has high speed elements.
- FIG. 1B is a circuit diagram illustrating a prior art sample and hold circuit 110 .
- the sample and hold circuit includes a switching module 101 , two capacitors 103 , 104 and a comparator 105 .
- the switching module 101 is used for sampling the data signal according to the turning on or turning off of said switching module 101 .
- the capacitors 103 , 104 are used for storing the sampled value, and the comparator 105 is used for comparing the sampled value and a reference voltage.
- the bandwidth of the sample and hold circuit 100 and the speed of the comparator 105 are limited, the sampled value may be different from the actual data signal, and some error of the sampling value may occur accordingly.
- An objective of the present invention is therefore to provide a sample and hold circuit and a related method for detecting a parameter of a data signal, which utilizes a reference voltage to approach the height of a data signal gradually, in order to obtain the eye diagram height of the data signal.
- Another objective of the present invention is to provide a sample and hold circuit and a related method for measuring the eye diagram width of the data signal by utilizing a digital controlled delay line (DCDL).
- DCDL digital controlled delay line
- Still another objective of the present invention is to provide a sample and hold circuit and a related method for omitting a data signal that does not match specifications by referring to a specific voltage.
- One embodiment of the present invention discloses a sample and hold circuit for detecting a parameter of a data signal, which comprises: a first switching module, wherein the sample and hold circuit samples the data signal according to the turning on or off of the first switching module; at least one capacitor, coupled to the first switching module; a second switching module, coupled to the capacitor; a controllable reference voltage source, for providing a first reference voltage to charge/discharge the capacitor via the second switching module according to a control signal; a first comparator, coupled to the capacitor, for comparing a voltage drop on the capacitor and the first reference voltage to generate a first comparing result; and a control circuit, coupled to the controllable reference voltage source and the first comparator, for generating the control signal according to the first comparing result.
- the sample and hold circuit according to the present invention can further comprise: a second comparator, coupled to the capacitor, for comparing the data signal and a second reference voltage to generate a second comparing result; and a decision circuit, coupled to the first comparator and the second comparator, for validating the data signal according to the first comparing result and the second comparing result.
- the sample and hold circuit according to the present invention can also comprise: a digital controlled delay line, for receiving a clock signal and delaying the clock signal to generate a desired clock signal according to a control word; and a pulse generator, coupled to the digital controlled delay line, the first switching module and the second switching module, for generating pulse signals to control the first switching module and the second switching module according to the desired clock signal to adjust the sampling time of the sample and hold circuit.
- Another embodiment of the present invention discloses a data signal detecting method for detecting a parameter of a data signal, which comprises: (a) providing a first reference voltage; (b) sampling the data signal to generate a sampled value; (c) comparing the sampled value and the first reference voltage; (d) repeating the step (a), and the step (b) and the step (c) for a predetermined times; (e) decreasing the first reference voltage if the reference voltage is higher than any of the sampled value; increasing the first reference voltage if the first reference voltage is lower than all the sampled values.
- Other characteristics of the data signal detecting method can be obtained according to the above-mentioned circuit, and are thus omitted for brevity.
- the capacitor is pre-charged before the sample and hold circuit samples a data signal, the sampling problem for high speed is improved, and a comparator with lower speed can be used. Also, low and high levels of the data signal can be easily determined by application of only two comparators and reference voltages according to the present invention. Furthermore, the width of the eye diagram can be easily measured by utilizing the DCDL.
- FIG. 1A is a circuit diagram illustrating a prior art eye diagram measuring circuit 100 .
- FIG. 1B is a circuit diagram illustrating a prior art sample and hold circuit.
- FIG. 2 is a circuit diagram illustrating a sample and hold circuit according to an embodiment of the present invention.
- FIG. 3 is a schematic diagram illustrating the operation timing of the sample and hold circuit shown in FIG. 2 .
- FIG. 4 is a schematic diagram illustrating the comparing operation of the sample and hold circuit shown in FIG. 2 .
- FIG. 5 is a circuit diagram illustrating that the sample and hold circuit shown in FIG. 2 further includes a second reference voltage to determine if the data signal is valid.
- FIG. 6 is a schematic diagram illustrating the operation of the sample and hold circuit shown in FIG. 5 .
- FIG. 7 is a circuit diagram illustrating that the sample and hold circuit shown in FIG. 2 further includes a structure to adjust sampling time.
- FIG. 8 is a flow chart illustrating a data signal detecting method corresponding to the sample and hold circuit shown in FIG. 2 .
- FIG. 9A is a schematic diagram illustrating the simulation result of the sample and hold circuit shown in FIG. 2 .
- FIG. 9B is a diagram illustrating the relation of different reference voltages and data signal height.
- FIG. 10 is schematic diagram illustrating the sampling result of the sample and hold circuit shown in FIG. 2 .
- FIG. 2 is a circuit diagram illustrating a sample and hold circuit 200 according to an embodiment of the present invention.
- the sample and hold circuit 200 is located between a transmitter 213 and a receiver 215 of a signal, but this is not meant to limit the scope of the present invention.
- the sample and hold circuit 200 can, of course, be provided in other positions and be utilized for other applications.
- the sample and hold circuit 200 comprises a first switching module 201 , two capacitors 203 , 204 , a second switching module 205 , a controllable reference voltage 207 , a comparator 209 and a control circuit 211 .
- the sample and hold circuit 200 samples a data signal DS according to the turning on or off of the first switching module 201 .
- the controllable reference voltage source 207 is used for providing a first reference voltage V ref1 to charge/discharge the capacitors 203 , 204 via the second switching module 205 according to a control signal CS.
- the first comparator 209 is used for comparing a voltage drop VS on the capacitor 203 , 204 and the first reference voltage V ref1 to generate a first comparing result CR 1 .
- the control circuit 211 is used for generating the control signal CS according to the first comparing result CR 1 .
- FIG. 3 is a schematic diagram illustrating the operation timing of the sample and hold circuit 200 shown in FIG. 2 . According to FIG.
- the timing relation between pre-charging, sampling, and comparing can be defined more clearly.
- the pre-charging, sampling and comparing steps can be repeated for specific times to generate a set of comparing results, but it does not mean to limit the scope of the present invention.
- control circuit 211 generates the control signal CS to control the controllable reference voltage 207 according to the comparing results CR 1 .
- the controllable reference voltage 207 decreases the first reference voltage V ref1 if the first reference voltage V ref1 is higher than any of the sampled value and increases the first reference voltage V ref1 if the first reference voltage V ref1 is lower than all the sampled values. In one embodiment, such steps will be repeated until the first reference voltage V ref1 is almost equal to the minimum sampled value. In this way, the height of the data signal DS (that is, the height of the eye diagram of the data signal DS) can be obtained.
- FIG. 4 is a schematic diagram illustrating the comparing operation of the sample and hold circuit shown in FIG. 2 .
- the voltage drop Vs which equals the first reference voltage V ref1 , will decrease or increase according to whether it is higher or lower than the sampled value Vd.
- the voltage drop Vs on the capacitor 203 meets the rules as follows:
- sample and hold circuit 200 can utilize only one capacitor between terminal A and B to reach the same function. Such variation should also fall in the scope of the present invention.
- FIG. 5 is a circuit diagram illustrating that the sample and hold circuit 200 shown in FIG. 2 further includes a second reference voltage to determine if the data signal is valid.
- the sample and hold circuit 200 further comprises a second comparator 501 and a decision circuit 503 .
- the second comparator 501 is used for comparing the data signal and a second reference voltage V ref2 to generate a second comparing result CR 2 .
- the decision circuit 503 is used for validating the data signal according to the first comparing result CR 1 and the second comparing result CR 2 .
- the second comparator 501 and a decision circuit 503 are used for invalidating the data signal lower than the second reference voltage V ref2 , and the first reference voltage Vref 1 will not be changed for such a situation.
- the decision circuit 503 includes an XOR gate 505 and a latch 507 , but this is not meant to limit the scope of the present invention. Since the operation of the XOR gate 505 and the latch 507 is well known by persons skilled in the art, related details are omitted for brevity.
- FIG. 6 is a schematic diagram illustrating the operation of the sample and hold circuit shown in FIG. 5 .
- the second reference voltage V ref2 is lower than the first reference voltage V ref1
- three data signals DS 1 , DS 2 , DS 3 are taken as examples.
- the data signal DS 1 is higher than the first reference voltage V ref1
- the data signal DS 2 is lower than the first reference voltage V ref1 but higher than the second reference voltage V ref2
- the data signal DS 2 is lower than the second reference voltage V ref2 .
- the data signal DS 1 is regarded as higher than the first reference voltage V ref1 , thus the first reference voltage V ref1 will be increased as described above.
- the data signal DS 2 is regarded as lower than the first reference voltage V ref1 , thus the first reference voltage V ref1 will be increased as described above.
- the data signal DS 3 is regarded as low level data, so the data signal DS 3 will be invalidated such that the first reference voltage V ref1 will not be decreased.
- the control circuit 211 shown in FIG. 2 will only adjust the first reference voltage V ref1 according to the data signal with a high level but will not adjust the first reference voltage V ref1 according to the data signal with a low level.
- FIG. 7 is a circuit diagram illustrating that the sample and hold circuit 200 shown in FIG. 2 further includes a structure to adjust sampling time.
- the sample and hold circuit 200 further includes a digital controlled delay line 701 (DCDL) and a pulse generator 703 .
- the digital controlled delay line 701 is used for receiving a recovery clock signal RCLK from a recovery module 705 of the transmitter 213 shown in FIG. 2 and for delaying the recovery clock signal to generate a desired clock signal DCLK according to a control word.
- the pulse generator 703 which is coupled to the first switching module 201 and the second switching module 205 , is used for generating pulse signals to control the first switching module 201 and the second switching module 205 according to the desired clock signal DCLK to adjust the sampling time of the sample and hold circuit 200 .
- the digital controlled delay line 701 scans the data signal for at least one period, so the relation between the period and a control word CW for controlling the digital controlled delay line 701 will be obtained. Since the period of the data signal is fixed, the relation between the delay amount of the digital controlled delay line 701 and the control word CW can also be obtained. Therefore, the digital controlled delay line 701 can be controlled by the control word CW to generate a desired clock signal DCLK, and the pulse generator 703 can be controlled by the desired clock signal DCLK to optimize the sampling time of the sample and hold circuit 200 . It should be noted that, although the sample and hold circuit 200 shown in FIG.
- FIG. 7 utilizes the recovery clock signal from a transmitter as the clock source of the digital controlled delay line 701 , this is not meant to limit the present invention.
- the circuit shown in FIG. 7 can be utilized in other structures, and other clock signals can be utilized as the clock source of the digital controlled delay line 701 .
- FIG. 8 is a flow chart illustrating a data signal detecting method corresponding to the sample and hold circuit shown in FIG. 2 . As shown in FIG. 8 , the method comprises:
- steps 801 , 803 , 805 can be repeated for specific times and obtain a set of comparing values. Then enter step 807 .
- steps 801 , 803 , 805 , 806 , 807 are repeated until the first reference voltage is almost equal to the minimum sampled value.
- the method shown in FIG. 8 corresponds to the circuit shown in FIG. 2 . If the method corresponds to the circuit shown in FIG. 5 , it further comprises: comparing the sampled value and a second reference voltage lower than the first reference voltage level; and invalidating the data signal if the sampled value is lower than the second reference voltage.
- the method corresponds to the circuit shown in FIG. 7 , it further comprises: receiving a clock signal and delaying the clock signal to generate a desired clock signal according to a control word; and adjusting the sampling time of the data signal detecting method according to the desired clock signal.
- FIG. 9A is a schematic diagram illustrating the simulation result of the sample and hold circuit shown in FIG. 2 .
- the horizontal axis of FIG. 9A is the sampling phase, and the vertical axis of FIG. 9A is the value of a data signal.
- FIG. 9B shows the data error number (that is the number of comparing results that the data is lower than the first reference voltage V ref1 ) occurs for different V ref1 , and the V ref1 , which has a next V ref1 having zero error number, indicates the real data signal height.
- the V ref 0.236V has an error number 1
- the V ref 0.234V has an error number 0, thus the V ref 0.236V indicates the real data signal height.
- the real data signal height is 0.239 V, and the reason for this inaccuracy is non-avoidable elements and circuit inaccuracy. Such a minor error can be ignored or avoided by utilizing precise elements, if necessary.
- FIG. 10 is a schematic diagram illustrating the sampling result of the sample and hold circuit 200 shown in FIG. 2 .
- the horizontal axis of FIG. 9A is the sampling phase, and the vertical axis of FIG. 9A is the sampled value and the real data value.
- a circular point ⁇ indicates the real data value
- regions A, B and C the three values are similar or the same, but in other regions such as region D or E, the three values are different.
- the data signal has a curved region and the sampled value is the average value of the whole pulse width.
- the pulse range includes the curved region of the data signal, the sampled value will be decreased, and a difference between the real data value and the sampled value will occur.
- the width of a pulse signal should be well selected to meet the balance of the processing speed of circuit and data accuracy.
- the capacitor is pre-charged before the sample and hold circuit samples a data signal, the sampling problem for high speed is solved, and a comparator with lower speed can be used. Furthermore, low and high levels of the data signal can be easily determined by the application of only two comparators and reference voltages according to the present invention. Moreover, the width of the eye diagram can be easily measured by utilizing the DCDL.
Landscapes
- Manipulation Of Pulses (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
- 1. Field of the Invention
- The present invention relates to a sample and hold circuit and a related data signal detecting method utilizing the sample and hold circuit, and particularly relates to a sample and hold circuit for detecting height of an eye diagram and a related data signal detecting method utilizing said sample and hold circuit.
- 2. Description of the Prior Art
- Normally, an eye diagram is used to indicate the quality of a signal. Therefore, the width and height of an eye diagram are important parameters for the signal.
FIG. 1A is a circuit diagram illustrating a prior art eyediagram measuring circuit 100. As shown inFIG. 1A , the eyediagram measuring circuit 100 operates at high speed and needs high speed elements, i.e. the comparator, phase interpolator and D flip-flops. The cost of the eyediagram measuring circuit 100 is high and the yield is low since it has high speed elements. -
FIG. 1B is a circuit diagram illustrating a prior art sample and holdcircuit 110. As shown inFIG. 1B , the sample and hold circuit includes aswitching module 101, two 103, 104 and acapacitors comparator 105. Theswitching module 101 is used for sampling the data signal according to the turning on or turning off of saidswitching module 101. The 103, 104 are used for storing the sampled value, and thecapacitors comparator 105 is used for comparing the sampled value and a reference voltage. However, since the bandwidth of the sample and holdcircuit 100 and the speed of thecomparator 105 are limited, the sampled value may be different from the actual data signal, and some error of the sampling value may occur accordingly. - An objective of the present invention is therefore to provide a sample and hold circuit and a related method for detecting a parameter of a data signal, which utilizes a reference voltage to approach the height of a data signal gradually, in order to obtain the eye diagram height of the data signal.
- Another objective of the present invention is to provide a sample and hold circuit and a related method for measuring the eye diagram width of the data signal by utilizing a digital controlled delay line (DCDL).
- Still another objective of the present invention is to provide a sample and hold circuit and a related method for omitting a data signal that does not match specifications by referring to a specific voltage.
- One embodiment of the present invention discloses a sample and hold circuit for detecting a parameter of a data signal, which comprises: a first switching module, wherein the sample and hold circuit samples the data signal according to the turning on or off of the first switching module; at least one capacitor, coupled to the first switching module; a second switching module, coupled to the capacitor; a controllable reference voltage source, for providing a first reference voltage to charge/discharge the capacitor via the second switching module according to a control signal; a first comparator, coupled to the capacitor, for comparing a voltage drop on the capacitor and the first reference voltage to generate a first comparing result; and a control circuit, coupled to the controllable reference voltage source and the first comparator, for generating the control signal according to the first comparing result. The sample and hold circuit according to the present invention can further comprise: a second comparator, coupled to the capacitor, for comparing the data signal and a second reference voltage to generate a second comparing result; and a decision circuit, coupled to the first comparator and the second comparator, for validating the data signal according to the first comparing result and the second comparing result. The sample and hold circuit according to the present invention can also comprise: a digital controlled delay line, for receiving a clock signal and delaying the clock signal to generate a desired clock signal according to a control word; and a pulse generator, coupled to the digital controlled delay line, the first switching module and the second switching module, for generating pulse signals to control the first switching module and the second switching module according to the desired clock signal to adjust the sampling time of the sample and hold circuit.
- Another embodiment of the present invention discloses a data signal detecting method for detecting a parameter of a data signal, which comprises: (a) providing a first reference voltage; (b) sampling the data signal to generate a sampled value; (c) comparing the sampled value and the first reference voltage; (d) repeating the step (a), and the step (b) and the step (c) for a predetermined times; (e) decreasing the first reference voltage if the reference voltage is higher than any of the sampled value; increasing the first reference voltage if the first reference voltage is lower than all the sampled values. Other characteristics of the data signal detecting method can be obtained according to the above-mentioned circuit, and are thus omitted for brevity.
- According to the above-mentioned circuit and structure, since the capacitor is pre-charged before the sample and hold circuit samples a data signal, the sampling problem for high speed is improved, and a comparator with lower speed can be used. Also, low and high levels of the data signal can be easily determined by application of only two comparators and reference voltages according to the present invention. Furthermore, the width of the eye diagram can be easily measured by utilizing the DCDL.
- These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
-
FIG. 1A is a circuit diagram illustrating a prior art eyediagram measuring circuit 100. -
FIG. 1B is a circuit diagram illustrating a prior art sample and hold circuit. -
FIG. 2 is a circuit diagram illustrating a sample and hold circuit according to an embodiment of the present invention. -
FIG. 3 is a schematic diagram illustrating the operation timing of the sample and hold circuit shown inFIG. 2 . -
FIG. 4 is a schematic diagram illustrating the comparing operation of the sample and hold circuit shown inFIG. 2 . -
FIG. 5 is a circuit diagram illustrating that the sample and hold circuit shown inFIG. 2 further includes a second reference voltage to determine if the data signal is valid. -
FIG. 6 is a schematic diagram illustrating the operation of the sample and hold circuit shown inFIG. 5 . -
FIG. 7 is a circuit diagram illustrating that the sample and hold circuit shown inFIG. 2 further includes a structure to adjust sampling time. -
FIG. 8 is a flow chart illustrating a data signal detecting method corresponding to the sample and hold circuit shown inFIG. 2 . -
FIG. 9A is a schematic diagram illustrating the simulation result of the sample and hold circuit shown inFIG. 2 . -
FIG. 9B is a diagram illustrating the relation of different reference voltages and data signal height. -
FIG. 10 is schematic diagram illustrating the sampling result of the sample and hold circuit shown inFIG. 2 . - Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will appreciate, electronic equipment manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
-
FIG. 2 is a circuit diagram illustrating a sample and holdcircuit 200 according to an embodiment of the present invention. In this case, the sample andhold circuit 200 is located between atransmitter 213 and areceiver 215 of a signal, but this is not meant to limit the scope of the present invention. The sample and holdcircuit 200 can, of course, be provided in other positions and be utilized for other applications. As shown inFIG. 2 , the sample andhold circuit 200 comprises afirst switching module 201, two 203, 204, acapacitors second switching module 205, acontrollable reference voltage 207, acomparator 209 and acontrol circuit 211. The sample and holdcircuit 200 samples a data signal DS according to the turning on or off of thefirst switching module 201. The controllablereference voltage source 207 is used for providing a first reference voltage Vref1 to charge/discharge the 203, 204 via thecapacitors second switching module 205 according to a control signal CS. Thefirst comparator 209 is used for comparing a voltage drop VS on the 203, 204 and the first reference voltage Vref1 to generate a first comparing result CR1. Thecapacitor control circuit 211 is used for generating the control signal CS according to the first comparing result CR1. - The operation of the sample and hold
circuit 200 is summarized as follows. Initially, thesecond switching module 205 is turned on (conductive) and thefirst switching module 201 is turned off (non-conductive), such that thecapacitor 203 is pre-charged to the first reference voltage Vref1. Then thefirst switching module 201 is turned on and thesecond switching module 205 is turned off, such that the sample and holdcircuit 200 samples the data signal DS via thefirst switching module 201 to generate a sampled value. After that, thecomparator 209 compares the sampled value and the first reference voltage Vref1 to generate the first comparing result CR1.FIG. 3 is a schematic diagram illustrating the operation timing of the sample and holdcircuit 200 shown inFIG. 2 . According toFIG. 3 , the timing relation between pre-charging, sampling, and comparing can be defined more clearly. The pre-charging, sampling and comparing steps can be repeated for specific times to generate a set of comparing results, but it does not mean to limit the scope of the present invention. - Next, the
control circuit 211 generates the control signal CS to control thecontrollable reference voltage 207 according to the comparing results CR1. Thecontrollable reference voltage 207 decreases the first reference voltage Vref1 if the first reference voltage Vref1 is higher than any of the sampled value and increases the first reference voltage Vref1 if the first reference voltage Vref1 is lower than all the sampled values. In one embodiment, such steps will be repeated until the first reference voltage Vref1 is almost equal to the minimum sampled value. In this way, the height of the data signal DS (that is, the height of the eye diagram of the data signal DS) can be obtained. -
FIG. 4 is a schematic diagram illustrating the comparing operation of the sample and hold circuit shown inFIG. 2 . As shown inFIG. 4 , the voltage drop Vs, which equals the first reference voltage Vref1, will decrease or increase according to whether it is higher or lower than the sampled value Vd. In this case, the voltage drop Vs on thecapacitor 203 meets the rules as follows: -
Vs=V ref+(V d −V ref)(1−e −T/RC)=V ref +k(V d −V ref). - Since the operation according to this equation is well known by persons skilled in the art, it is omitted for brevity.
- It should be noted that although two capacitors are utilized for explaining the embodiment shown in
FIG. 2 , it does not mean to limit the scope of the present invention. For example, the sample and holdcircuit 200 can utilize only one capacitor between terminal A and B to reach the same function. Such variation should also fall in the scope of the present invention. -
FIG. 5 is a circuit diagram illustrating that the sample and holdcircuit 200 shown inFIG. 2 further includes a second reference voltage to determine if the data signal is valid. As shown inFIG. 5 , the sample and holdcircuit 200 further comprises asecond comparator 501 and adecision circuit 503. Thesecond comparator 501 is used for comparing the data signal and a second reference voltage Vref2 to generate a second comparing result CR2. Thedecision circuit 503 is used for validating the data signal according to the first comparing result CR1 and the second comparing result CR2. In this embodiment, thesecond comparator 501 and adecision circuit 503 are used for invalidating the data signal lower than the second reference voltage Vref2, and the first reference voltage Vref1 will not be changed for such a situation. In this embodiment, thedecision circuit 503 includes anXOR gate 505 and alatch 507, but this is not meant to limit the scope of the present invention. Since the operation of theXOR gate 505 and thelatch 507 is well known by persons skilled in the art, related details are omitted for brevity. -
FIG. 6 is a schematic diagram illustrating the operation of the sample and hold circuit shown inFIG. 5 . InFIG. 6 , the second reference voltage Vref2 is lower than the first reference voltage Vref1, and three data signals DS1, DS2, DS3 are taken as examples. As shown inFIG. 6 , the data signal DS1 is higher than the first reference voltage Vref1, the data signal DS2 is lower than the first reference voltage Vref1 but higher than the second reference voltage Vref2, and the data signal DS2 is lower than the second reference voltage Vref2. In this case, the data signal DS1 is regarded as higher than the first reference voltage Vref1, thus the first reference voltage Vref1 will be increased as described above. Also, the data signal DS2 is regarded as lower than the first reference voltage Vref1, thus the first reference voltage Vref1 will be increased as described above. The data signal DS3 is regarded as low level data, so the data signal DS3 will be invalidated such that the first reference voltage Vref1 will not be decreased. In other words, thecontrol circuit 211 shown inFIG. 2 will only adjust the first reference voltage Vref1 according to the data signal with a high level but will not adjust the first reference voltage Vref1 according to the data signal with a low level. -
FIG. 7 is a circuit diagram illustrating that the sample and holdcircuit 200 shown inFIG. 2 further includes a structure to adjust sampling time. As shown inFIG. 7 , the sample and holdcircuit 200 further includes a digital controlled delay line 701 (DCDL) and apulse generator 703. The digital controlleddelay line 701 is used for receiving a recovery clock signal RCLK from arecovery module 705 of thetransmitter 213 shown inFIG. 2 and for delaying the recovery clock signal to generate a desired clock signal DCLK according to a control word. Thepulse generator 703, which is coupled to thefirst switching module 201 and thesecond switching module 205, is used for generating pulse signals to control thefirst switching module 201 and thesecond switching module 205 according to the desired clock signal DCLK to adjust the sampling time of the sample and holdcircuit 200. - The operation of the sample and hold
circuit 200 shown inFIG. 7 is summarized as follows. First, the digital controlleddelay line 701 scans the data signal for at least one period, so the relation between the period and a control word CW for controlling the digital controlleddelay line 701 will be obtained. Since the period of the data signal is fixed, the relation between the delay amount of the digital controlleddelay line 701 and the control word CW can also be obtained. Therefore, the digital controlleddelay line 701 can be controlled by the control word CW to generate a desired clock signal DCLK, and thepulse generator 703 can be controlled by the desired clock signal DCLK to optimize the sampling time of the sample and holdcircuit 200. It should be noted that, although the sample and holdcircuit 200 shown inFIG. 7 utilizes the recovery clock signal from a transmitter as the clock source of the digital controlleddelay line 701, this is not meant to limit the present invention. The circuit shown inFIG. 7 can be utilized in other structures, and other clock signals can be utilized as the clock source of the digital controlleddelay line 701. -
FIG. 8 is a flow chart illustrating a data signal detecting method corresponding to the sample and hold circuit shown inFIG. 2 . As shown inFIG. 8 , the method comprises: -
Step 801 - Provide a first reference voltage.
-
Step 803 - Sample the data signal to generate a sampled value.
-
Step 805 - Compare the sampled value and the first reference voltage.
- In one embodiment, steps 801, 803, 805 can be repeated for specific times and obtain a set of comparing values. Then enter
step 807. -
Step 807 - Decrease the first reference voltage if the first reference voltage is higher than any of the sampled values and increase the first reference voltage if the first reference voltage is lower than all the sampled values
- In one embodiment, steps 801, 803,805,806,807 are repeated until the first reference voltage is almost equal to the minimum sampled value.
- As described above, the method shown in
FIG. 8 corresponds to the circuit shown inFIG. 2 . If the method corresponds to the circuit shown inFIG. 5 , it further comprises: comparing the sampled value and a second reference voltage lower than the first reference voltage level; and invalidating the data signal if the sampled value is lower than the second reference voltage. - Similarly, if the method corresponds to the circuit shown in
FIG. 7 , it further comprises: receiving a clock signal and delaying the clock signal to generate a desired clock signal according to a control word; and adjusting the sampling time of the data signal detecting method according to the desired clock signal. - Other detailed characteristics of the data signal detecting method will be easily obtained according to the above-mentioned description, and are thus omitted for brevity.
-
FIG. 9A is a schematic diagram illustrating the simulation result of the sample and hold circuit shown inFIG. 2 . The horizontal axis ofFIG. 9A is the sampling phase, and the vertical axis ofFIG. 9A is the value of a data signal.FIG. 9B shows the data error number (that is the number of comparing results that the data is lower than the first reference voltage Vref1) occurs for different Vref1, and the Vref1, which has a next Vref1 having zero error number, indicates the real data signal height. As shown inFIG. 9A , the Vref 0.236V has anerror number 1 and the Vref 0.234V has anerror number 0, thus the Vref 0.236V indicates the real data signal height. In this case, the real data signal height is 0.239 V, and the reason for this inaccuracy is non-avoidable elements and circuit inaccuracy. Such a minor error can be ignored or avoided by utilizing precise elements, if necessary. -
FIG. 10 is a schematic diagram illustrating the sampling result of the sample and holdcircuit 200 shown inFIG. 2 . The horizontal axis ofFIG. 9A is the sampling phase, and the vertical axis ofFIG. 9A is the sampled value and the real data value. A circular point indicates the real data value, a triangular point ▴ indicates the sampled value from a pulse signal with a width=100 ps, and a square point ▪ indicates the sampled value from a pulse signal with a width=150 ps. As shown inFIG. 10 , in some regions such as regions A, B and C, the three values are similar or the same, but in other regions such as region D or E, the three values are different. The reason for this situation is that the data signal has a curved region and the sampled value is the average value of the whole pulse width. Thus, if the pulse range includes the curved region of the data signal, the sampled value will be decreased, and a difference between the real data value and the sampled value will occur. Thus the width of a pulse signal should be well selected to meet the balance of the processing speed of circuit and data accuracy. - According to the above-mentioned circuit and structure, since the capacitor is pre-charged before the sample and hold circuit samples a data signal, the sampling problem for high speed is solved, and a comparator with lower speed can be used. Furthermore, low and high levels of the data signal can be easily determined by the application of only two comparators and reference voltages according to the present invention. Moreover, the width of the eye diagram can be easily measured by utilizing the DCDL.
- Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US11/854,560 US7495479B1 (en) | 2007-09-13 | 2007-09-13 | Sample and hold circuit and related data signal detecting method utilizing sample and hold circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US11/854,560 US7495479B1 (en) | 2007-09-13 | 2007-09-13 | Sample and hold circuit and related data signal detecting method utilizing sample and hold circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| US7495479B1 US7495479B1 (en) | 2009-02-24 |
| US20090072869A1 true US20090072869A1 (en) | 2009-03-19 |
Family
ID=40364621
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US11/854,560 Expired - Fee Related US7495479B1 (en) | 2007-09-13 | 2007-09-13 | Sample and hold circuit and related data signal detecting method utilizing sample and hold circuit |
Country Status (1)
| Country | Link |
|---|---|
| US (1) | US7495479B1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130082684A1 (en) * | 2011-10-04 | 2013-04-04 | Analog Devices, Inc. | Voltage monitor |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9455752B2 (en) * | 2014-09-11 | 2016-09-27 | Intel Corporation | Apparatus and method for adaptive common mode noise decomposition and tuning |
| US10446255B2 (en) * | 2016-06-13 | 2019-10-15 | International Business Machines Corporation | Reference voltage calibration in memory during runtime |
| US9997254B2 (en) | 2016-07-13 | 2018-06-12 | Nxp Usa, Inc. | Sample-and-hold circuit |
| US9984763B1 (en) * | 2016-11-30 | 2018-05-29 | Nxp Usa, Inc. | Sample and hold circuit |
| CN114255819B (en) * | 2020-09-24 | 2023-09-05 | 长鑫存储技术有限公司 | Interface circuit performance evaluation method and related equipment |
| CN114614826B (en) * | 2022-03-25 | 2024-07-09 | 晶艺半导体有限公司 | Sample-hold refreshing circuit, method and electronic device |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030117676A1 (en) * | 2001-11-26 | 2003-06-26 | Nobuo Nakamura | Solid-state image pickup device and clamp control method therefor |
| US7177610B2 (en) * | 2001-01-12 | 2007-02-13 | Silicon Laboratories Inc. | Calibrated low-noise current and voltage references and associated methods |
| US20070052452A1 (en) * | 2005-09-08 | 2007-03-08 | Mediatek Inc. | Sample/hold circuit module |
| US7279941B2 (en) * | 2005-01-21 | 2007-10-09 | Sanyo Electric Co., Ltd. | Voltage-frequency conversion apparatus and method of changing reference voltage thereof |
| US7312783B2 (en) * | 2004-10-14 | 2007-12-25 | Sony Corporation | Light emitting element drive device and display apparatus |
| US7332916B2 (en) * | 2005-03-03 | 2008-02-19 | Semiconductor Technology Academic Research Center | On-chip signal waveform measurement apparatus for measuring signal waveforms at detection points on IC chip |
-
2007
- 2007-09-13 US US11/854,560 patent/US7495479B1/en not_active Expired - Fee Related
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7177610B2 (en) * | 2001-01-12 | 2007-02-13 | Silicon Laboratories Inc. | Calibrated low-noise current and voltage references and associated methods |
| US20030117676A1 (en) * | 2001-11-26 | 2003-06-26 | Nobuo Nakamura | Solid-state image pickup device and clamp control method therefor |
| US7312783B2 (en) * | 2004-10-14 | 2007-12-25 | Sony Corporation | Light emitting element drive device and display apparatus |
| US7279941B2 (en) * | 2005-01-21 | 2007-10-09 | Sanyo Electric Co., Ltd. | Voltage-frequency conversion apparatus and method of changing reference voltage thereof |
| US7332916B2 (en) * | 2005-03-03 | 2008-02-19 | Semiconductor Technology Academic Research Center | On-chip signal waveform measurement apparatus for measuring signal waveforms at detection points on IC chip |
| US20070052452A1 (en) * | 2005-09-08 | 2007-03-08 | Mediatek Inc. | Sample/hold circuit module |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130082684A1 (en) * | 2011-10-04 | 2013-04-04 | Analog Devices, Inc. | Voltage monitor |
| US9081038B2 (en) * | 2011-10-04 | 2015-07-14 | Analog Devices, Inc. | Voltage monitor |
Also Published As
| Publication number | Publication date |
|---|---|
| US7495479B1 (en) | 2009-02-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7495479B1 (en) | Sample and hold circuit and related data signal detecting method utilizing sample and hold circuit | |
| US9355708B2 (en) | Memory control circuit for adjusting reference voltage and associated memory control method | |
| US7876629B2 (en) | Memory control methods capable of dynamically adjusting sampling points, and related circuits | |
| KR100840800B1 (en) | Test device, phase adjustment method, and memory controller | |
| US7644324B2 (en) | Semiconductor memory tester | |
| EP3174056B1 (en) | Data reception chip | |
| US10523223B2 (en) | Phase-locked loop circuit calibration method, memory storage device and connection interface circuit | |
| US10916278B1 (en) | Memory controller and memory data receiving method for generate better sampling clock signal | |
| KR102455198B1 (en) | Voltage controlled delay line gain calibration | |
| EP3174057B1 (en) | Control method for data reception chip | |
| US11456749B2 (en) | Timing margin detecting circuit, timing margin detecting method and clock and data recovery system | |
| EP3174058B1 (en) | Data reception chip | |
| US10134466B2 (en) | Data reception chip | |
| US11955971B2 (en) | Integrated transmitter slew rate calibration | |
| US9083357B2 (en) | Frequency locking system | |
| CN110311555B (en) | A digital integral differential low-voltage linear regulator and its control method | |
| EP3174055B1 (en) | Data reception chip | |
| US9824728B2 (en) | Method for performing memory interface calibration in an electronic device, and associated apparatus and associated memory controller | |
| US10902896B2 (en) | Memory circuit and method thereof | |
| US11736099B1 (en) | Clock detecting circuit | |
| US20200118607A1 (en) | Timing calibration system and a method thereof | |
| CN110135206B (en) | Card detector and card detection method | |
| US7282962B1 (en) | Inverted-phase detector | |
| KR100968447B1 (en) | Semiconductor integrated circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AS | Assignment |
Owner name: FARADAY TECHNOLOGY CORP., TAIWAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:HSU, JEN-CHIEN;LU, HUNG-WEN;SU, CHAU-CHIN;AND OTHERS;REEL/FRAME:019819/0482 Effective date: 20070911 |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
| FPAY | Fee payment |
Year of fee payment: 4 |
|
| FPAY | Fee payment |
Year of fee payment: 8 |
|
| FEPP | Fee payment procedure |
Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| LAPS | Lapse for failure to pay maintenance fees |
Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| STCH | Information on status: patent discontinuation |
Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |
|
| FP | Lapsed due to failure to pay maintenance fee |
Effective date: 20210224 |