1. Field of Invention
The present invention relates to a signal detection system and method, and more particularly to a spread spectrum clock signal detection system for detecting whether a spread spectrum clock signal exists in a high speed serial data transmission system and a spread spectrum clock signal detection method therefor.
2. Description of Related Arts
Electromagnetic interference (EMI) are classified into two species: conducted interference and radiation interference. The conducted interference means coupling or interfering a signal in an electrical network into another electrical network by a conducting medium. The radiation interference means coupling or interfering a signal in an electrical network into another electrical network by an interference source through the space. In the design of the high-speed circuit board and its system, the elements, such as the high frequency signal lines, the pins of the integrated circuit, various connectors, and etc., could become radiation interference sources with the characteristics of antenna, which could emit electromagnetic waves and affect the normal work of other systems or other subsystems in the same system. Therefore, reducing electromagnetic interference is an important factor that the electronic system designer should consider.
In the high speed serial data transmission system, a spread spectrum clock circuit is often used to effectively reduce EMI radiation. However, while reducing EMI radiation with the spread spectrum clock circuit, the fact that the high speed serial data transmission system works in varying frequency increases the difficulty for the receiving terminal to receive the data, so it is necessary for the receiving terminal to verify the data sent by the sending terminal. Accordingly, the spread spectrum clock circuit could accurately and rapidly verify whether the data sent by the sending terminal is correct or conforms to the data transmission protocol. Therefore, the error could be located conveniently and the system parameters could be reasonably adjusted according to the spread spectrum clock signal output by the spread spectrum clock circuit. In such a manner that the high speed serial data transmission system always works in the best state under various data transmission protocols, and the spread spectrum clock circuit adjusts the clock data recovery circuit to work in the best parameters. So it is necessary to provide a spread spectrum clock signal detection system for detecting whether a spread spectrum clock signal exists in a high speed serial data transmission system and a spread spectrum clock signal detection method therefor.
In view of the above description, it is necessary to provide a spread spectrum clock signal detection system for detecting whether a spread spectrum clock signal exists in a high speed serial data transmission system and a spread spectrum clock signal detection method therefor.
A spread spectrum clock signal detection system is used to detect whether a spread spectrum clock signal exists in a high speed serial data transmission system. The spread spectrum clock signal detection system comprises:
a spread spectrum clock signal input terminal for inputting the spread spectrum clock signal;
a reference clock signal input terminal for inputting a reference clock signal;
a frequency difference detection module, connected with the spread spectrum clock signal input terminal and the reference clock signal input terminal, for detecting whether a frequency difference exists between the spread spectrum clock signal and the reference clock signal;
a spread spectrum pulse detection module, connected with the spread spectrum clock signal input terminal, the reference clock signal input terminal and the frequency difference detection module, for determining which of the spread spectrum clock signal and the reference clock signal has a higher frequency;
a spread spectrum value calculating module connected with the spread spectrum pulse detection module, for calculating a frequency difference between the spread spectrum clock signal and the reference clock signal;
a spread spectrum value reference input terminal, connected with the spread spectrum value calculating module, for inputting a spread spectrum value reference clock; and
an output module, connected with the spread spectrum value calculating module, for outputting an output signal comprising an information of magnitude and direction of a spread spectrum value, wherein the spread spectrum clock signal detection system judges whether the spread spectrum clock signal exists according to the information of the magnitude and direction of the spread spectrum value.
A spread spectrum clock signal detection method, for detecting whether a spread spectrum clock signal exists in a high speed serial data transmission system, comprises steps of:
inputting a spread spectrum clock signal to a frequency difference detection module and a spread spectrum pulse detection module by a spread spectrum clock signal input terminal; inputting a reference clock signal to the frequency difference detection module and the spread spectrum pulse detection module by a reference clock signal input terminal;
detecting whether a frequency difference exists between the spread spectrum clock signal and the reference clock signal by the frequency difference detection module, if the frequency difference exists, proceeding to a next step;
outputting a clock frequency difference denotation impulse to the spread spectrum pulse detection module by the frequency difference detection module; inputting a spread spectrum value reference clock to a spread spectrum value calculating module by a spread spectrum value reference input terminal;
determining which of the spread spectrum clock signal and the reference clock signal has a higher frequency by the spread spectrum pulse detection module, and outputting a spread spectrum value information to the spread spectrum value calculating module by the spread spectrum pulse detection module;
calculating a frequency difference between the spread spectrum clock signal and the reference clock signal by the spread spectrum value calculating module according to the spread spectrum value information and the spread spectrum value reference clock received; and
outputting an output signal comprising an information of magnitude and direction a spread spectrum value with by an output module according to a signal of the frequency difference output by the spread spectrum value calculating module, wherein whether the spread spectrum clock signal exists is judged according to the information of the magnitude and direction of the spread spectrum value.
Compared with prior art, the spread spectrum clock signal detection system and method according to the present invention, could rapidly detect whether the spread spectrum clock signal exists in a high speed serial data transmission system, further verify the correctness of the data sent by the sending terminal accurately and rapidly, and adjust the clock data recovery circuit to work in the best parameters, in such a manner that the EMI radiation could be effectively reduced. The present invention has a simple structure and could be used conveniently.
Referring to
The spread spectrum clock signal input terminal is for inputting a spread spectrum clock signal; the reference clock signal input terminal is for inputting a reference clock signal; the frequency difference detection module is for detecting whether a frequency difference exists between the spread spectrum clock signal input by the spread spectrum clock signal input terminal and the reference clock signal input by the reference clock signal input terminal; the spread spectrum pulse detection module determines which has a higher frequency between the spread spectrum clock signal input by the spread spectrum clock signal input terminal and the reference clock signal input by the reference clock signal input terminal according to a pulse signal output by the frequency difference detection module, and outputs a positive spread spectrum value information or a negative spread spectrum value information to the spread spectrum value calculating module; the spread spectrum value reference input terminal is for inputting a spread spectrum value reference clock; the spread spectrum value calculating module calculates the frequency difference between the spread spectrum clock signal input by the spread spectrum clock signal input terminal and the reference clock signal input by the reference clock signal input terminal according to the spread spectrum value information received and the spread spectrum value reference clock; the output module outputs an output signal comprising an information of magnitude and direction of a spread spectrum value according to a signal of the frequency difference, wherein whether the spread spectrum clock signal exists is judged according to the information of the magnitude and direction of the spread spectrum value.
Further referring to
(1) When the frequency difference between the spread spectrum clock signal input by the spread spectrum clock signal input terminal and the reference clock signal input by the reference clock signal input terminal doesn't exist, as referring to
(2) When a frequency of the spread spectrum clock signal input by the spread spectrum clock signal input terminal is higher than a frequency of the reference clock signal input by the reference clock signal input terminal, as referring to
(3) When a frequency of the spread spectrum clock signal input by the spread spectrum clock signal input terminal is lower than a frequency of the reference clock signal input by the reference clock signal input terminal, as referring to
The frequency difference detection module detects whether the frequency difference exists between the spread spectrum clock signal input by the spread spectrum clock signal input terminal and the reference clock signal input by the reference clock signal input terminal according to the above operating principle. When the frequency difference exists, the frequency difference detection module outputs the clock frequency difference denotation impulse to the spread spectrum pulse detection module, the spread spectrum pulse detection module determines which has a higher frequency between the spread spectrum clock signal input by the spread spectrum clock signal input terminal and the reference clock signal input by the reference clock signal input terminal, and outputs the positive spread spectrum value information or the negative spread spectrum value information to the spread spectrum value calculating module, the spread spectrum value calculating module calculates the frequency difference between the spread spectrum clock signal input by the spread spectrum clock signal input terminal and the reference clock signal input by the reference clock signal input terminal according to the spread spectrum value information received and the spread spectrum value reference clock input by the spread spectrum value reference input terminal, the output module outputs the output signal comprising the information of the spread spectrum value with magnitude and direction according to the signal of the frequency difference, wherein whether the spread spectrum clock signal exists is judged according to the information of the spread spectrum value with magnitude and direction; when the frequency difference doesn't exist, the frequency difference detection module outputs a free instruction signal to spread spectrum pulse detection module, and the spread spectrum pulse detection module keeps in a current state.
Referring to
Referring to
The operating principle of a spread spectrum clock signal detection system according to a preferred embodiment of the present invention is as follows.
The spread spectrum clock signal input terminal inputs a spread spectrum clock signal to the frequency difference detection module and the spread spectrum pulse detection module, the reference clock signal input terminal inputs a reference clock signal to the frequency difference detection module and the spread spectrum pulse detection module, the spread spectrum value reference input terminal inputs a spread spectrum value reference clock to the spread spectrum value calculating module; the frequency difference detection module detects whether the frequency difference exists between the spread spectrum clock signal input by the spread spectrum clock signal input terminal and the reference clock signal input by the reference clock signal input terminal, if the frequency difference exists, the frequency difference detection module will output a clock frequency difference denotation impulse to the spread spectrum pulse detection module, if the frequency difference doesn't exist, the frequency difference detection module will output a free instruction signal to the spread spectrum pulse detection module; when the spread spectrum pulse detection module receives the clock frequency difference denotation impulse output by the frequency difference detection module, the spread spectrum pulse detection module determines which has a higher frequency between the spread spectrum clock signal input by the spread spectrum clock signal input terminal and the reference clock signal input by the reference clock signal input terminal and outputs a positive spread spectrum value information or a negative spread spectrum value information to the spread spectrum value calculating module; when the spread spectrum pulse detection module receives the free instruction signal output by the frequency difference detection module, the spread spectrum pulse detection module keeps in the current state; the spread spectrum value calculating module calculates the frequency difference between the spread spectrum clock signal input by the spread spectrum clock signal input terminal and the reference clock signal input by the reference clock signal input terminal according to the spread spectrum value information received and the spread spectrum value reference clock input by the spread spectrum value reference input terminal; the output module outputs an output signal comprising an information of magnitude and direction of a spread spectrum value according to the signal of the frequency difference received, wherein whether the spread spectrum clock signal exists is judged according to the information of the magnitude and direction of the spread spectrum value of the output signal.
Referring to
inputting a spread spectrum clock signal to a frequency difference detection module and a spread spectrum pulse detection module by a spread spectrum clock signal input terminal; inputting a reference clock signal to the frequency difference detection module and the spread spectrum pulse detection module by a reference clock signal input terminal;
determining whether a frequency difference exists between the spread spectrum clock signal input by the spread spectrum clock signal input terminal and the reference clock signal input by the reference clock signal input terminal by the frequency difference detection module, if the frequency difference exists, proceeding to a next step, if the frequency difference doesn't exist, the frequency difference detection module will output a free instruction signal to the spread spectrum pulse detection module, and the spread spectrum pulse detection module will keep in the current state;
outputting a clock frequency difference denotation impulse to the spread spectrum pulse detection module by the frequency difference detection module; inputting a spread spectrum value reference clock to a spread spectrum value calculating module by a spread spectrum value reference input terminal;
determining which has a higher frequency between the spread spectrum clock signal input by the spread spectrum clock signal input terminal and the reference clock signal input by the reference clock signal input terminal, and outputting a positive spread spectrum value information or a negative spread spectrum value information to the spread spectrum value calculating module by the spread spectrum pulse detection module;
calculating the frequency difference between the spread spectrum clock signal input by the spread spectrum clock signal input terminal and the reference clock signal input by the reference clock signal input terminal by the spread spectrum value calculating module, according to the spread spectrum value information received and the spread spectrum value reference clock input by the spread spectrum value reference input terminal; and
outputting an output signal comprising an information of magnitude and direction of a spread spectrum value according to a signal of the frequency difference received, wherein whether the spread spectrum clock signal exists is judged according to the information of the magnitude and direction of the spread spectrum value of the output signal.
The spread spectrum clock signal detection system and method according to the present invention, could rapidly detect whether the spread spectrum clock signal exists in a high speed serial data transmission system, further verify the correctness of the data sent by the sending terminal accurately and rapidly, and adjust the clock data recovery circuit to work in the best parameters, in such a manner that the EMI radiation could be reduced effectively. The present invention has a simple structure and could be used conveniently.
Number | Date | Country | Kind |
---|---|---|---|
201110393855.1 | Dec 2011 | CN | national |