1. Field of Invention
The present invention relates to a method and a circuit for controlling an equalizer, and an equalizing system.
2. Description of Related Art
An equalizer is provided to compensate a signal for high-frequency loss in signal transmission. An equalization gain of the equalizer varies according to a peaking level. However, the signal may be interfered, and thus the signal contains a high-frequency component. After passing through the equalizer, the high-frequency component may be over-compensated. For applications of differential transmission technology, if a large intra-pair skew between a positive signal and a negative signal is present, a significant high-frequency component is generated and added to a transmission signal mixed from the two channels carrying the positive signal and the negative signal respectively. After passing through the equalizer, the high-frequency component of the transmission signal is amplified. Hence, spikes are produced in the equalized transmission signal, which may cause a phase-locked loop (PLL) circuit to lock to a phase and frequency different from that of the original transmission signal.
The invention discloses a method and a circuit for controlling an equalizer, and an equalizing system for determining if a phase and frequency are correctly locked. A peaking level of the equalizer continues being turned lower until the determination result indicates that the phase and frequency are correctly locked. Therefore, both high equalization gain for high-frequency component of the transmission signal without over-compensation and the correctness of frequency lock are ensured.
An aspect of the present disclosure is to provide a method for controlling an equalizer. The method includes providing a first level from a set of levels as a peaking level of the equalizer; equalizing a transmission signal by using the equalizer with the first level to obtain a first signal; providing a second level from the set of levels as the peaking level of the equalizer; equalizing the transmission signal by using the equalizer with the second level to obtain a second signal; determining a first frequency of the first signal; determining a second frequency of the second signal; comparing the first frequency and second frequency to obtain a comparing result; and determining the peaking level of the equalizer for following equalization of the transmission signal in accordance with the comparing result.
In one or more embodiments, if the comparing result indicates that the first frequency is substantially the same as the second frequency, the method further includes setting the second level as the first level; setting a new level from the set of levels as the second level; and repeating the equalizing steps with the first level and the second level.
In one or more embodiments, the peaking level is determined to be the second level for following equalization of the transmission signal if the comparing result indicates that the second frequency is substantially lower than the first frequency.
In one or more embodiments, the second level is lower than the first level.
In one or more embodiments, the first frequency and the second frequency is determined by counting rising or falling edges of the first signal and the second signal in a time period respectively.
In one or more embodiments, the set of levels is stored in a look-up table.
Another aspect of the present disclosure is to provide a circuit for controlling an equalizer. The circuit includes a sampler, a comparator and a selector. The sampler is for determining a first frequency of a first signal and a second frequency of a second signal, wherein the first signal is obtained from equalizing a transmission signal by using the equalizer with the first level as a peaking level of the equalizer, and the second signal is obtained from equalizing the transmission signal by using the equalizer with the second level as the peaking level of the equalizer. The comparator is coupled to the sampler for comparing the first frequency and the second frequency to obtain a comparing result. The selector is coupled to the comparator for determining the peaking level of the equalizer for following equalization of the transmission signal in accordance with the comparing result.
In one or more embodiments, the first level and the second level are provided from a set of levels stored in a look-up table.
In one or more embodiments, if the comparing result indicates that the first frequency is substantially the same as the second frequency, the selector sets the second level as the first level and sets a new level from the set of levels as the second level, and the equalizer equalizes the transmission signal with the set first level and the set second level to obtain the first signal and the second signal respectively.
In one or more embodiments, the selector determines the peaking level to be the second level for following equalization of the transmission signal if the comparing result indicates that the second frequency is substantially lower than the first frequency.
In one or more embodiments, the second level is lower than the first level.
In one or more embodiments, the circuit further includes a counter. The counter is coupled to the sampler for counting rising or falling edges of the first signal and the second signal in a time period for the sampler to determine the first frequency and the second frequency respectively.
Another aspect of the present disclosure is to provide an equalizing system. The equalizing system includes an equalizer and a detector. The equalizer is for equalizing a transmission signal with a first level as a peaking level thereof to obtain a first signal and for equalizing the transmission signal with a second level as the peaking level to obtain a second signal. The detector is coupled to the equalizer for detecting the first signal and the second signal. The detector includes a sampler, a comparator and a selector. The sampler is for determining a first frequency of a first signal and a second frequency of a second signal, wherein the first signal is obtained from equalizing a transmission signal by using the equalizer with the first level as the peaking level, and the second signal is obtained from equalizing the transmission signal by using the equalizer with the second level as the peaking level. The comparator is coupled to the sampler for comparing the first frequency and the second frequency to obtain a comparing result. The selector is coupled to the comparator for determining the peaking level of the equalizer for following equalization of the transmission signal in accordance with the comparing result.
In one or more embodiments, the first level and the second level are provided from a set of levels stored in a look-up table.
In one or more embodiments, if the comparing result indicates that the first frequency is substantially the same as the second frequency, the selector sets the second level as the first level and sets a new level from the set of levels as the second level, and the equalizer equalizes the transmission signal with the set first level and the set second level to obtain the first signal and the second signal respectively.
In one or more embodiments, the equalizing system further includes a memory unit for storing the look-up table.
In one or more embodiments, the selector determines the peaking level to be the second level for following equalization of the transmission signal if the comparing result indicates that the second frequency is substantially lower than the first frequency.
In one or more embodiments the second level is lower than the first level.
In one or more embodiments, the circuit further includes a counter. The counter is coupled to the sampler for counting rising or falling edges of the first signal and the second signal in a time period for the sampler to determine the first frequency and the second frequency respectively.
In one or more embodiments, the equalizing system further includes a divider. The divider is coupled between the equalizer and the detector for dividing the first signal and the second signal.
It is to be understood that both the foregoing general description and the following detailed description are by examples, and are intended to provide further explanation of the invention as claimed.
The invention can be more fully understood by reading the following detailed description of the embodiment, with reference made to the accompanying drawings as follows:
Reference will now be made in detail to the present embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
Referring to
The PLL circuit 120 locks to a phase and frequency by processing the equalized transmission signal. The detector 130 detects the equalized transmission signal for determining if the PLL circuit 120 locks to the correct phase and frequency according to the equalized transmission signal. If the detector 130 determines that the PLL circuit 120 fails to lock to the correct phase and frequency according to the equalized transmission signal, the peaking level of the equalizer 110 is turned lower for equalizing the transmission signal. The peaking level continues being turned lower until the detector 130 determines that the PLL circuit 120 locks to the correct phase and frequency according to the equalized transmission signal.
Referring to
In operation of the equalizing system 200, the equalizer 210 applies a first level and a second level to equalize the transmission signal. The transmission signal is equalized with first level and the second level respectively at different times. A first signal is obtained by passing the transmission signal through the equalizer with the first level. A second signal is obtained by passing the transmission signal through the equalizer with the second level. The first level and the second level are respectively the level LV1 and the level LV2 in the set of levels. The counter 232 counts rising or falling edges of the first signal and the second signal in a time period. The sampler 234 determines a first frequency of the first signal and a second frequency of the second signal according to counting results from the counter 232.
The comparator 236 compares the first frequency and the second frequency to obtain a comparing result. If the comparing result indicates that the second frequency is substantially lower than the first frequency, the selector 308 determines the peaking level to be the second level for following equalization of the transmission signal. The second frequency substantially lower than the first frequency implies that the PLL circuit 220 locks to the correct phase and frequency according to the equalized transmission signal.
Otherwise, if the comparing result indicates that the second frequency is substantially the same as the first frequency, the selector 238 sets the second to level as the first level and sets a new level from the set of levels as the second level. The second frequency substantially the same as the first frequency implies that the PLL circuit 120 fails to lock to the correct phase and frequency. In such condition, the level for equalizing the transmission signal needs to be set lower. For illustration, if the comparing result indicates that the second frequency is substantially the same as the first frequency for the first time, the new level is the level LV3 in the set of levels. For another illustration, if the comparing result indicates that the second frequency is substantially the same as the first frequency for the second time, the new level is the level LV4 in the set of levels. The equalizer 210 equalizes the transmission signal with the first level and the second level to obtain the first signal and the second signal respectively, and then the counter 232, the sampler 234 and the comparator 236 repeats the aforementioned actions in relation to the first level and the second level. The first frequency and the second frequency are continuously determined and compared until the comparing result indicates that the second frequency is substantially lower than the first frequency.
By realizing the above disclosure of the equalizing system 200, the maximum peaking level is determined for that the PLL circuit 220 can lock to the correct phase and frequency of the transmission signal. Therefore, both high equalization gain for high-frequency component of the transmission signal without over-compensation and the correctness of frequency lock are ensured.
Referring to
In operation 304, a transmission signal is equalized by using the equalizer with the first level and the second level to obtain a first signal and a second signal respectively. The transmission signal is equalized with first level and the second level respectively at different times.
In operation 306, a first frequency of the first signal and a second frequency of the second signal are determined. For illustration, the first frequency and the second frequency are determined by counting rising or falling edges of the first signal and the second signal in a time period.
In operation 308, the second frequency is compared with the first frequency to obtain a comparing result. If the comparing result indicates that the second frequency is substantially the same as the first frequency, operation 310 is performed. Otherwise, if the comparing result indicates that the second frequency is substantially lower than the first frequency, operation 312 is performed.
In operation 310, the second level is set as the first level, and a new level from a set of levels is set as the second level. Operation 304 is repeated after operation 310 is performed. For illustration, if the comparing result indicates that the second frequency is substantially the same as the first frequency for the first time, the new level is the level LV3 in the set of levels. For another illustration, if the comparing result indicates that the second frequency is substantially the same as the first frequency for the second time, the new level is the level LV4 in the set of levels.
In operation 312, a peaking level of the equalizer is determined to be the second level for following equalization of the transmission signal.
By performing the method 300, the maximum peaking level is provided for that a PLL circuit can lock to the correct phase and frequency of the transmission signal. Therefore, both high equalization gain for the transmission signal without over-compensation and the correctness of frequency lock are ensured.
Referring to
In summary, the equalizing system and method disclosed in the above embodiments includes equalized transmission signal detecting mechanism in which the equalized transmission signal is detected to determine if the correct phase and frequency of the transmission signal is locked. The peaking level of the equalizer is turned lower if the determination result indicates that the phase and frequency are not correctly locked. The peaking level continues being turned lower until the determination result indicates that the phase and to frequency are correctly locked. Therefore, both high equalization gain for high-frequency component of the transmission signal without over-compensation and the correctness of frequency lock are ensured.
Although the present invention has been described in considerable detail with reference to certain embodiments thereof, other embodiments are possible. Therefore, the spirit and scope of the appended claims should not be limited to the description of the embodiments contained herein.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims.
Number | Name | Date | Kind |
---|---|---|---|
20100046683 | Beukema et al. | Feb 2010 | A1 |