1. Field of the Invention
The present invention is related to signal adjustment, and more particularly, to a signal adjustment circuit for signal transmission between chips.
2. Description of Related Art
Recently, with the rapid development of technology industries, many technical products are updated faster and faster. Hence, the speed of introducing new products into the market is increased dramatically. In order to provide more functions, most technical products, such as computer systems, need to be equipped with more micro-processing chips. To make sure that the chips can work normally and prevent signals transferred between chips from being affected by the circuit arrangement of the circuit board, technical products need to be tested and adjusted before be marketed. Thus, in order to meet the requirements of speedy production of new products, test and adjustment of chips should be competed in a short time period.
When signals are transferred between chips, the chip that receives the signals compares the received signals with a reference voltage to determine the data conveyed by the signals. For example, if the amplitude of the signal is larger than the reference voltage, the chips determines that the data “1” is conveyed by the signal; otherwise, if the amplitude of the signal is smaller than the reference voltage, the chips determines that the data “0” is conveyed by the signal. In general, when a tester finds that the signal transmission between chips is erroneous, he will use an auxiliary instrument to check the pins of the chip to measure the voltage of the received signals. Then, he will manually adjust the driving voltage of the chip that sends the signals or adjust the reference voltage of the chip that receives the signals until the signal transmission between the chips is correct. Moreover, the erroneous transmission between the chips may be caused because the transmission timing or the reception time of the chips is wrong. Hence, the tester needs to manually adjust the transmission time or the reception time to make the signal transmission between the chips correct.
In accordance with the above description, since the chips are adjusted manually in the prior art, the test and adjustment of the chips are not easy to be completed in a short time period. In addition, because the real reason for the erroneous transmission is not easy to be found, the proper adjustment is hard to be achieved. It results in the waste of time, and thus the production efficiency of new products is low. Hence, the competitiveness is reduced and transmission errors are easy to occur.
Furthermore, the chip only uses a reference voltage for comparison with the received signals and thus obtains the data conveyed by them. Hence, the chip determines the data conveyed by the received signal is “1” when the amplitudes of the signal is larger than the reference voltage, no matter how much the amplitude of the signal exceeds the reference voltage. Thus, in the test procedure, the tester will consider that the chip is okay when the amplitude of the received signal only exceeds the reference voltage a little. In this situation, the operation of the chip is easy to be affected by environment because the amplitude of the signal is usually reduced during transmission due to, for example, temperature or electromagnetic interference when in use. So, the amplitude of the signal that is originally larger than the reference voltage may become lower than it due to the affection of environment. Hence, the chip is easy to operate abnormally.
Aiming to resolve the problem mentioned above, a signal adjustment circuit with a reference circuit is proposed in the present invention. It is not only able to check precisely whether the signal transmission between chips is correct or not, but also to adjust the settings of the chips in a short time period. Thus, the test efficiency of chips is improved, the time consumption of test is reduced, and the competitiveness of the new products is increased.
An objective of the present invention is to provide a signal adjustment circuit with a reference circuit for improving the stability of signal transmission between chips.
Another objective of the present invention is to provide a signal adjustment circuit with a reference circuit and a decision unit for reducing time consumption of signal adjustment between chips.
The reference circuit of the present invention has a plurality of comparators. Each of the comparators has a reference voltage. The comparators compare the input signal respectively with the reference voltages to produce a plurality of comparison values to check whether the input signal is correct or not.
The signal adjustment circuit of the present invention is used to adjust a setting value of a first chip or a second chip. The signal adjustment circuit has a reference circuit and a decision unit. The first chip provides an output signal corresponding to an output value according to the setting value thereof. The second chip receives the output signal of the first chip according to the setting value thereof. The reference circuit has a plurality of reference voltages. Therein the reference circuit compares the output signal of the first chip with the reference voltages to produce a plurality of comparison values. The comparison values are then passed to the decision unit. After that, the decision unit checks the comparison values according to the output value and thereby determines whether the output signal of the first chip is correct or not. If the output signal of the first chip is erroneous, the decision unit produces an adjustment signal to adjust the setting value of the first chip or the second chip. In this way, the correctness of transmission between the two chips is maintained.
The above summaries are intended to illustrate exemplary embodiments of the invention, which will be best understood in conjunction with the detailed description to follow, and are not intended to limit the scope of the appended claims.
The features of the invention believed to be novel are set forth with particularity in the appended claims. The invention itself however may be best understood by reference to the following detailed description of the invention, which describes certain exemplary embodiments of the invention, taken in conjunction with the accompanying drawings, in which:
The present invention employs a plurality of reference voltages to check the electric potential of a received signal and performs the following adjustment operation according to the checking result. In this way, the present invention can make a decision more correctly.
Reference is made to
The second chip 20 receives the output signal sent from the first chip 10 according to its setting values. The setting values of the second chip 20 include reception timing. The signal received by the second chip 20 is passed to the reference circuit 30. The first comparator 32 of the reference circuit 30 compares the first reference voltage Vref1 with the received signal while the second comparator 34 compares the second reference voltage Vref2 with the received signal. Thereby, the first comparator 32 and the second comparator 34 provide a first comparison value and a second comparison value to compare with the output value to determine whether the received signal is correct or not. The output value is a pre-setting value. If the received signal is erroneous, the decision unit 40 sends an adjustment signal to the first chip 10 to adjust the setting values of the first chip 10 or to the second chip 20 to adjust the setting values of the second chip 20 or the reference voltages of the reference circuit 30. Such as the decision circuit 40 sends the adjustment signal to adjust the setting values of the second chip 20 which save into a register 50 of the second chip 20.
Reference is made to
If the output value is “1”, i.e. both the first comparison value and the second comparison value are the same as the output value, the decision unit 40 determines the received signal is correct and doesn't send out the adjustment signal. However, if the output value is “0”, the decision unit 40 determines both first comparison values and the second comparison value are different to the output value. Hence, the decision unit 40 sends out an adjustment signal to the first chip 10 and thus adjusts the setting values of the first chip 10 to lower the driving voltage. Each time the driving voltage can be reduced to the original value minus a quarter of the difference between first reference voltage Vref1 and the second reference voltage Vref2. The driving voltage is reduced again and again until the decision unit 40 determines that the first comparison value and the second comparison value are the same as the output value.
Reference is also made to
If the output value is “1”, i.e. the first comparison value is different to the output value, the decision unit 40 sends out an adjustment signal to the first chip 10 and thus adjusts the setting values of the first chip 10 to increase the driving voltage. Each time the driving voltage can be increased to the original value plus a quarter of the difference between first reference voltage Vref1 and the second reference voltage Vref2. The driving voltage is increased again and again until the received signal has an electric potential higher than the first reference voltage Vref1.
However, if the output value is “0”, the decision unit 40 determines the second comparison value is different to the output value. Hence, the decision unit 40 sends out an adjustment signal to the first chip 10 and thus adjusts the setting values of the first chip 10 to lower the driving voltage. Each time the driving voltage can be reduced to the original value minus a quarter of the difference between first reference voltage Vref1 and the second reference voltage Vref2. The driving voltage is reduced again and again until the received signal has an electric potential lower than the second reference voltage Vref2.
In this way, the present invention can prevent the signal transmission stability of the first chip 10 from being affected by external factors.
According to the above embodiment, when the output value is “1”, the received signal should be “1” since the reference voltage set inside the first chip 10 is the same as the second reference voltage Vref2. However, the voltage of the signal outputted from the first chip 10 may be reduced due to some reasons and thus is located between the first reference voltage Vref1 and the second reference voltage Vref2, so a signal transmission error occurs. According to the two comparison values provided by the reference circuit 30, a tester can determine the voltage of the received signal and makes the first chip 10 to increase its driving voltage. In this way, the voltage of the received signal can be adjusted to be higher than the first reference voltage Vref1. Thus, even though the voltage of the signal outputted from the first chip 10 is reduced due to some unknown reasons, it can still be kept higher than the second reference voltage Vref2, i.e. higher than the original reference voltage of the first chip 10. Thereby, the signal transmission error is avoided.
Reference is made to
If the output value is “1”, the decision unit 40 determines the received signal is erroneous and sends an adjustment signal to the first chip 10 to increase the driving voltage. Each time the driving voltage can be increased to the original value plus a quarter of the difference between first reference voltage Vref1 and the second reference voltage Vref2. The driving voltage is increased again and again until the voltage of the received signal is higher than the first reference voltage Vref1 and the second reference voltage Vref2. However, if the output value is “0”, the decision unit 40 determines both first comparison values and the second comparison value are the same as the output value. Hence, the decision unit 40 doesn't send an adjustment signal to the first chip 10.
In order to determine the potential of the received signal more precisely, the prevent invention can include a reference circuit having at least three comparators. Reference is made to
If the output value is “1”, i.e. the first comparison value is different to the output value, the decision unit 40 sends out an adjustment signal to the first chip 10 and thus adjusts the setting values of the first chip 10 to increase the driving voltage. Each time the driving voltage can be increased to the original value plus a quarter of the difference between first reference voltage Vref1 and the second reference voltage Vref2. The driving voltage is increased again and again until the received signal has an electric potential higher than the first reference voltage Vref1. In this way, signals can be successfully transmitted from the first chip 10 to the second chip 20 and the stability of transmission between the chips can thus be improved.
In the previous embodiments, if the driving voltage are adjusted several times and the comparison values are still not the same as the output value, the decision unit 40 determines that the problem may not occur in the driving voltage, but in the output timing of the first chip 10 or the reception timing of the second chip 20. Hence, the decision unit 40 further sends an adjustment signal to the first chip 10 to adjust the output timing of the fist chip 10, to the second chip 20 to adjust the reception timing of the second chip 20, or to the reference circuit 30 to adjust the reference voltages of the reference circuit 30 so as to make signals be successfully transmitted.
To sum up, the reference circuit of the present invention includes a plurality of comparators. Each of the comparators compares the received signal with a different reference voltage. Because the reference circuit uses a plurality of different reference voltages to compare with the received signal, the decision unit of the present invention can determine the electric potential of the received signal more precisely. That is beneficial for adjustment of the settings of the two chips. The reference circuit further includes a storage unit, which is used to store the comparison values. The decision unit of the signal adjustment circuit checks the comparison values according to the output value to determine whether the received signal is correct or not. The decision unit adjusts the settings of the fist chip or the second chip or the reference voltages of the reference circuit according to the checking result. Since the present invention can automatically perform the checking and adjustment operations, the time consumption for adjustment of the chips is reduced effectively.
Although the present invention has been described with reference to the preferred embodiments thereof, it will be understood that the invention is not limited to the details thereof. Various substitutions and modifications have been suggested in the foregoing description, and others will occur to those of ordinary skill in the art. Therefore, all such substitutions and modifications are embraced within the scope of the invention as defined in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
094120617 | Jun 2005 | TW | national |