Clock recovery circuit, error rate measurement device, and error rate measurement method
The clock recovery circuit addresses the challenge of handling SSC modulated data signals with large frequency deviations by synchronizing and restoring the original SSC modulation frequency, enhancing clock recovery accuracy and tolerance in high-speed communication systems.
Patent Information
- Application Number
- JP2022190657
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-11-29
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-11-29
AI Technical Summary
Conventional clock recovery devices struggle to handle SSC modulated data signals with large frequency deviations and deteriorated signals, leading to distorted waveforms and malfunctions, particularly in high-speed communication systems like PCI Express, due to limitations in lock range and frequency tolerance.
A clock recovery circuit that includes a reference clock generation section, a clock recovery unit, an FM demodulation unit, and a modulation signal generation unit, which generates and feeds back an SSC-modulated reference clock to synchronize and restore the original SSC modulation frequency, minimizing frequency deviation through FM demodulation and digital-to-analog conversion of triangular wave signals.
The circuit effectively recovers and regenerates SSC modulated clocks from signals with large frequency deviations, improving tolerance and ensuring accurate clock recovery, even in stressed conditions.
Smart Images

Figure 0007581305000001 
Figure 0007581305000002 
Figure 0007581305000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a clock recovery circuit, an error rate measurement device, and an error rate measurement method, and more particularly to a clock recovery circuit, an error rate measurement device, and an error rate measurement method for recovering a clock from a data signal modulated by a spread spectrum clock. [Background technology]
[0002] The bit rate of the PCI Express (registered trademark) (Peripheral Component Interconnect Express) standard has been increasing with each generation, reaching 32 Gbit / sec with NRZ (Non Return to Zero) in Gen5 and 32 Gbaud (i.e., 64 Gbit / sec) with PAM4 (Pulse Amplitude Modulation 4) in Gen6. Compliance testing of the PCI Express standard is performed on a transmission path with a specified large loss. For this reason, on the receiving side, an equalizer such as a CTLE (Continuous Time Linear Equalizer) or a DFE (Decision Feedback Equalizer) is used to compensate for the transmission path loss from the mid- to high-frequency range, and a process is performed to reopen the eye opening of the data signal output from the device under test (DUT).
[0003] For example, the PCI Express Gen5 standard specifies a loss of 36 dB at 16 GHz, and the PCI Express Gen6 standard specifies a loss of 32 dB at 16 GHz. However, when the eye corresponding to the most significant bit (MSB) of a PAM4 signal restored by an equalizer is amplified by an NRZ-compatible limiting amplifier, an NRZ waveform with a degraded eye opening including inter-symbol interference (ISI) specific to PAM4 signals is obtained. Theoretically, the eye opening of the MSB of a PAM4 signal is 1 / 3 or less of the eye opening of an NRZ signal. In addition, the difference between the frequency characteristics of the transmission path and the frequency characteristics of the equalizer is also assumed to be a factor in the degradation of the eye opening.
[0004] In recent years, with the spread of IoT (Internet of Things) and cloud computing, communication systems have begun to handle huge amounts of data, and the interfaces of various communication devices that make up the communication systems are becoming faster and more serial in transmission. For example, standards for high-speed serial buses such as USB (registered trademark) (Universal Serial Bus) and PCI Express adopt SSC modulation using a spread-spectrum clock (SSC) that spreads the spectrum of a reference signal as a measure against electromagnetic compatibility (EMC).
[0005] An SSC modulated data signal (hereinafter also referred to as an "SSC modulated data signal") is generated at a timing synchronized with a reference clock that is frequency swept by an SSC modulated wave having a predetermined modulation frequency as shown in Fig. 9(a). For example, an SSC modulated wave of the PCI Express standard has a triangular waveform with a period of 33 kHz as shown in Fig. 9(a).
[0006] Incidentally, a bit error rate (BER) is known as one of the indices for evaluating the quality of a signal in a communication device. BER is defined as a comparison between the number of bit errors occurring in received data and the total number of received data.
[0007] In recent years, many of the various communication devices that make up communication systems no longer transmit a clock for synchronization, but only transmit data signals. Conventional error rate measurement devices that measure the BER are equipped with a clock recovery device that recovers the clock from the received data signal.
[0008] Although general-purpose clock recovery devices for high-speed serial communication applications such as the 10G Ethernet standard are usually designed to handle frequency deviations or bit rate deviations of about ±100 ppm, when an SSC-modulated data signal of the PCI Express standard having a frequency deviation of, for example, up to 5,300 ppm is input to such a clock recovery device, the clock recovery device may become unlocked or malfunction. Even if the clock recovery device is operating, it may not be able to keep up with the frequency deviation of the SSC modulation.
[0009] In such a case, the SSC modulated wave obtained by FM (Frequency Modulation) demodulating the output of the clock recovery device will have a distorted waveform in which the peak of the original triangular wave shown in Figure 9(a) has been cut off.
[0010] Furthermore, when clock recovery is performed using a degraded and stressed SSC-modulated data signal, the SSC-modulated wave obtained by FM demodulating the output of the clock recovery device will not only have a distorted waveform in which the peak of the original triangular wave shown by the dashed line has been cut off, as shown in the solid line graph in Figure 9(b), but may also have a noisy or fluctuating waveform due to phase noise (ISI and jitter) being superimposed on the clock recovered by the clock recovery device. In such a case, it is considered that the frequency deviation between the SSC-modulated data signal input to the clock recovery device and the reference clock exceeds the tolerance of the clock recovery device, and normal clock recovery is not being performed.
[0011] A phase-locked loop circuit PS1 that has a phase comparator 51a, a loop filter 52a, a voltage-controlled oscillator 53a, a signal input terminal 57a, a signal output terminal 59a, and a voltage tracking circuit VT1 that is an additional loop and can be used as a clock recovery device is known (see, for example, Patent Document 1) as shown in Fig. 10. The voltage tracking circuit VT1 is composed of a reference voltage generator 58a, a differential amplifier 54a, a filter 55a, and an adder 56a.
[0012] The voltage tracking circuit VT1 calculates the average value of the output voltage of the phase comparator 51a by the output voltage V R Since the voltage tracking circuit VT1 performs feedback control to maintain the duty ratio of the output voltage of the phase comparator 51a, the lock range of the phase locked loop circuit PS1 is significantly expanded compared to a phase locked loop without the voltage tracking circuit VT1. [Prior art documents] [Patent documents]
[0013] [Patent Document 1] JP 2002-84189 A Summary of the Invention [Problem to be solved by the invention]
[0014] However, even if the phase-locked loop circuit PS1 equipped with the voltage tracking circuit VT1 disclosed in Patent Document 1 is used, there is a limit to the expansion of the lock range, and the frequency shift due to SSC modulation is large, so that it is not suitable for clock recovery corresponding to a degraded and stressed SSC-modulated data signal.
[0015] The present invention has been made to solve the above-mentioned problems in the conventional art, and has as its object to provide a clock recovery circuit, an error rate measurement device, and an error rate measurement method that are capable of recovering a clock from an SSC-modulated data signal that is subject to a large frequency shift due to SSC modulation and is degraded and stressed. [Means for solving the problem]
[0016] In order to solve the above problems, a clock recovery circuit according to the present invention includes a reference clock generation unit that generates a spread spectrum clock (SSC) modulated reference clock, a clock recovery unit that reproduces an SSC modulated clock of a data signal that has been SSC modulated at a predetermined SSC modulation frequency in synchronization with the reference clock, an FM demodulation unit that FM demodulates the SSC modulated clock reproduced by the clock recovery unit to generate an FM demodulated signal, and a modulation signal generation unit that acquires period information indicating a period of the FM demodulated signal and slope information indicating a slope of the FM demodulated signal and generates a modulation signal based on the acquired period information and slope information, and the reference clock generation unit generates a voltage controlled oscillator that outputs an output signal with a frequency corresponding to an input control voltage. the control voltage is a control voltage for modulating a clock of the voltage controlled oscillator to generate the reference clock, and the reference clock source having a predetermined frequency is a phase comparator for outputting a phase difference signal corresponding to a phase difference with respect to the output signal of the voltage controlled oscillator, a charge pump for generating a charge / discharge current according to the phase difference signal, a loop filter for outputting a signal obtained by removing high frequency components from the charge / discharge current, and a signal synthesis unit for adding the modulation signal generated by the modulation signal generation unit and an output of the loop filter, and the voltage controlled oscillator is configured to receive an output of the signal synthesis unit as the control voltage, thereby modulating a clock of the voltage controlled oscillator to generate the reference clock, and to output the generated reference clock as the output signal.
[0017] With this configuration, the clock recovery circuit according to the present invention FM demodulates the output of the clock recovery unit to generate an FM demodulated signal, generates a modulation signal which is an SSC modulated wave having the period and slope of the FM demodulated signal, SSC modulates the clock of the voltage controlled oscillator with the modulation signal to generate a reference clock, and feeds back the SSC modulated reference clock to the clock recovery unit. With this configuration, the clock recovery circuit according to the present invention can restore a modulation signal having an original SSC modulation frequency from the FM demodulated signal, so that the frequency deviation between the reference clock and the SSC modulated data signal, which has a large frequency shift due to SSC modulation and is subjected to a deteriorated stress, is minimized by making the frequency of the reference clock follow the frequency of the SSC modulated data signal, thereby improving the durability of the clock recovery unit and regenerating the SSC modulated clock.
[0018] Furthermore, the clock recovery circuit of the present invention may be configured such that the modulation signal generation unit includes a period information acquisition unit that acquires the period information, a slope information acquisition unit that acquires the slope information, a triangular wave signal generator that generates a triangular wave signal by digital calculation based on the period information and the slope information, and a DAC that performs digital-to-analog conversion on the triangular wave signal to generate the modulation signal.
[0019] With this configuration, the clock recovery circuit according to the present invention generates a triangular wave signal having the period and slope of the FM demodulated signal by digital calculation, and performs digital-to-analog conversion of the triangular wave signal to generate a modulation signal. With this configuration, the clock recovery circuit according to the present invention can restore a triangular wave signal having the original SSC modulation frequency from the FM demodulated signal to generate a modulation signal.
[0020] Furthermore, the clock recovery circuit according to the present invention may be configured such that the period information acquisition unit acquires, as the period information, a period during which the level of the FM demodulated signal is continuously equal to or higher than a first threshold value, or a period during which the level of the FM demodulated signal is continuously equal to or lower than the first threshold value, using a DC average level of the FM demodulated signal as a first threshold value.
[0021] With this configuration, the clock recovery circuit according to the present invention can acquire half the period of the FM demodulated signal as period information by using the average DC level of the FM demodulated signal as the first threshold value.
[0022] Furthermore, the clock recovery circuit according to the present invention may be configured such that the slope information acquisition unit includes a high / low level period acquisition unit that acquires a high level period during which a level of the FM demodulated signal is continuously equal to or higher than a second threshold different from the first threshold, or a low level period during which a level of the FM demodulated signal is continuously equal to or lower than the second threshold, a difference calculation unit that calculates a difference between the period information and the high level period or the low level period, and a slope information output unit that outputs an absolute value of a difference between the first threshold and the second threshold divided by half the difference calculated by the difference calculation unit as the slope information.
[0023] With this configuration, the clock recovery circuit according to the present invention can acquire a high level period or a low level period using a second threshold different from the first threshold, and acquire slope information of the modulation signal from the difference between the high level period or low level period and half the period of the FM demodulated signal.
[0024] Furthermore, the clock recovery circuit according to the present invention may be configured such that the triangular wave signal generator includes a pulse signal output unit that outputs a pulse signal every half period of the period information, a frequency shift direction information output unit that outputs frequency shift direction information indicating positive or negative of the slope of the triangular wave signal at the timing of the pulse signal, a slope output unit that outputs the slope obtained by multiplying the frequency shift direction information and the slope information, an amplitude change amount calculation unit that calculates a value obtained by multiplying the slope output from the slope output unit by a predetermined clock period as an amplitude change amount for the predetermined clock period, and a cumulative addition circuit that generates the triangular wave signal by accumulating the amplitude change amounts calculated by the amplitude change amount calculation unit for each of the predetermined clock periods.
[0025] Moreover, the clock recovery circuit according to the present invention may further include a frequency divider that divides the SSC modulated clock reproduced by the clock recovery unit and outputs the clock to the FM demodulation unit, and a frequency division ratio control unit that controls the frequency division ratio of the frequency divider, wherein the FM demodulation unit has a delay unit that delays and outputs the SSC modulated clock divided by the frequency divider, an exclusive-OR circuit that calculates an exclusive-OR between an output of the frequency divider and an output of the delay unit, and a low-pass filter that smoothes an output of the exclusive-OR circuit to generate the FM demodulated signal, and the frequency division ratio control unit may be configured to control the frequency division ratio based on a bit rate of the data signal so that the maximum frequency of the SSC modulated clock input to the exclusive-OR circuit is equal to or less than 1 / 4 of an upper limit operating frequency of the exclusive-OR circuit.
[0026] With this configuration, the clock recovery circuit according to the present invention can recover an SSC modulated clock from an SSC modulated data signal with a large frequency deviation while ensuring the demodulation resolution of the exclusive OR circuit.
[0027] Moreover, an error rate measurement device according to the present invention is an error rate measurement device comprising: a signal receiving unit that receives a data signal SSC-modulated at a predetermined SSC modulation frequency; and an error rate calculation unit that calculates a bit error rate of bit string data that constitutes the data signal received by the signal receiving unit, wherein the signal receiving unit has any one of the clock recovery circuits described above and is configured to extract the bit string data that constitutes the data signal at the timing of the SSC-modulated clock recovered from the data signal by the clock recovery circuit.
[0028] With this configuration, the error rate measurement device according to the present invention can receive an SSC modulated data signal transmitted from a device under test and generate an SSC modulated clock from the SSC modulated data signal using any of the clock recovery circuits described above. Furthermore, the error rate measurement device according to the present invention can extract bit string data constituting the SSC modulated data signal at the timing of the generated SSC modulated clock and measure the BER of this bit string data.
[0029] Moreover, an error rate measuring method according to the present invention is an error rate measuring method including a signal receiving step of receiving a data signal SSC-modulated at a predetermined SSC modulation frequency, and an error rate calculating step of calculating a bit error rate of bit string data constituting the data signal received by the signal receiving step, wherein the signal receiving step is configured to extract the bit string data constituting the data signal at the timing of the SSC-modulated clock recovered from the data signal by any one of the clock recovery circuits described above. Effect of the Invention
[0030] The present invention provides a clock recovery circuit, an error rate measurement device, and an error rate measurement method that can recover a clock from an SSC modulated data signal that is degraded and subjected to stress. [Brief description of the drawings]
[0031] [Figure 1]1 is a block diagram showing a configuration of a clock recovery circuit according to a first embodiment of the present invention. [Diagram 2] 3 is a diagram showing an example of a waveform of an SSC modulated clock output from a clock recovery unit included in the clock recovery circuit according to the first embodiment of the present invention. FIG. [Diagram 3] 1 is a block diagram showing a configuration of a delay detection circuit included in a clock recovery circuit according to a first embodiment of the present invention. [Figure 4] 1 is a block diagram showing a configuration of a modulation signal generating unit included in a clock recovery circuit according to a first embodiment of the present invention. [Diagram 5] FIG. 11 is a diagram for explaining a method for acquiring the period and slope of an FM demodulated signal, where (a) shows an example in which the second threshold is greater than the first threshold, and (b) shows an example in which the second threshold is smaller than the first threshold. [Figure 6] 1 is a block diagram showing a configuration of a reference clock generating unit included in a clock recovery circuit according to a first embodiment of the present invention. [Figure 7] FIG. 11 is a block diagram showing the configuration of an error rate measurement device according to a second embodiment of the present invention. [Figure 8] 10 is a flowchart showing the process of an error rate measurement method according to a second embodiment of the present invention. [Figure 9] FIG. 1A is a diagram showing an example of the waveform of an SSC modulated wave having a predetermined SSC modulation frequency, and FIG. 1B is a diagram showing an example of the waveform of an SSC modulated wave obtained by demodulating the output of a conventional clock recovery device. [Figure 10] FIG. 1 is a block diagram showing a configuration of a conventional phase locked loop circuit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0032] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of a clock recovery circuit, an error rate measurement device, and an error rate measurement method according to the present invention will be described with reference to the accompanying drawings.
[0033] (First embodiment) 1 includes a reference clock generating unit 10 that generates an SSC modulated reference clock, a clock recovery unit 20, a frequency divider 21, an FM demodulating unit 22, an amplifier 25, an analog switch 26, an operation unit 27, a modulation signal generating unit 30, and a control unit 60. The control unit 60 includes a frequency division ratio control unit 61, a gain control unit 62, a switching control unit 63, a frequency correction control unit 64, and a threshold control unit 65.
[0034] In the following, the configuration and operation of each part will be mainly described when an analog switch 26, which will be described later, is set to an on state (hereinafter also referred to as "enabled") by the switching control part 63.
[0035] The clock recovery unit 20 reproduces an SSC-modulated clock of an SSC-modulated data signal SSC-modulated at a predetermined SSC modulation frequency in synchronization with the reference clock generated by the reference clock generation unit 10. That is, the clock reproduced by the clock recovery unit 20 from the SSC-modulated data signal is a clock SSC-modulated like the data signal. A general-purpose clock recovery device for high-speed serial communication applications can be used as the clock recovery unit 20. Here, the SSC modulation frequency is specified for each communication standard, and is, for example, a frequency in the range of 30 to 33 kHz. For example, the SSC-modulated clock output from the clock recovery unit 20 has a pulse rise (or fall) interval and a pulse width that change according to the frequency deviation of the SSC modulation and the SSC modulation frequency, as shown in FIG. 2.
[0036] The frequency divider 21 divides the SSC modulated clock reproduced by the clock recovery unit 20 to a frequency that is easy to handle in the subsequent FM demodulation unit 22, and outputs the clock to the FM demodulation unit 22. If the FM demodulation unit 22 can directly demodulate the output of the clock recovery unit 20, the frequency divider 21 may not be necessary.
[0037] The FM demodulation unit 22 performs FM demodulation on the SSC modulated clock reproduced by the clock recovery unit 20 to generate an FM demodulated signal having an SSC modulated frequency defined by a communication standard. For example, in the case of the PCI Express standard, the FM demodulated signal has a triangular waveform shape with a period of 33 kHz as shown in FIG. 9(a). There are a wide variety of FM demodulation methods, but the clock recovery circuit 1 according to this embodiment employs a delay detection method that is advantageous for wideband in order to realize wideband (wide bit rate range) clock recovery that can be adopted in an error rate measurement device described later. That is, the FM demodulation unit 22 performs delay detection on the SSC modulated clock divided by the frequency divider 21, and includes a delay detection circuit 23 and a low pass filter (LPF) 24.
[0038] As shown in Fig. 3, the delay detection circuit 23 is composed of a delay unit 23a and a high-speed exclusive OR (EXOR) circuit 23b. In order to ensure the demodulation resolution in the EXOR circuit 23b, it is desirable that the maximum frequency of the SSC modulated clock input to the EXOR circuit 23b is ¼ or less than the upper limit frequency of the operation of the EXOR circuit 23b. For this reason, the division ratio control unit 61 controls the division ratio of the frequency divider 21 based on the bit rate of the SSC modulated data signal so that the maximum frequency of the SSC modulated clock input to the EXOR circuit 23b is ¼ or less than the upper limit frequency of the operation of the EXOR circuit 23b.
[0039] The delay unit 23a is adapted to delay and output the SSC modulated clock divided by the frequency divider 21 by ¼ period of its maximum frequency. If the frequency of the SSC modulated clock input to the EXOR circuit 23b is low, the delay time by the delay unit 23a increases, resulting in a trade-off between the implementation scale and delay stability, and therefore it is desirable to set the frequency division ratio of the frequency divider 21 taking this into consideration.
[0040] The delay unit 23a can be configured, for example, by an element or device such as a fixed delay element or a variable delay device, or by extending a transmission path such as a cable or a printed wiring board.
[0041] The EXOR circuit 23b is configured to perform an exclusive OR operation between the SSC modulated clock divided by the frequency divider 21 and the SSC modulated clock divided by the frequency divider 21 and delayed by the delay unit 23a. Since the maximum frequency of the SSC modulated clock input from the delay unit 23a is delayed by 1 / 4 period, the EXOR circuit 23b outputs a clock with a frequency twice that of the SSC modulated clock input to the EXOR circuit 23b.
[0042] The LPF 24 smoothes the output of the EXOR circuit 23b to generate an FM demodulated signal having an SSC modulation frequency defined by the communication standard. At this time, if there is no error in the delay time added to the SSC modulation clock by the delay unit 23a at the highest frequency of the SSC modulation clock input to the EXOR circuit 23b, the duty ratio of the output waveform of the EXOR circuit 23b will be 50%, so that the DC average level (hereinafter also referred to as "DC offset") of the output of the LPF 24 will be a voltage level that is half the output amplitude of the EXOR circuit 23b.
[0043] The LPF 24 can be suitably used to have a cutoff frequency in the range of, for example, about 3 to 10 times the SSC modulation frequency of 33 kHz depending on the noise of the FM demodulated signal. Since the cutoff frequency of the LPF 24 is relatively low in this way, it can be configured as a first-order RC low-pass filter. However, the LPF 24 is not limited to an RC low-pass filter and its order, and may be configured as an operational amplifier or an LC low-pass filter.
[0044] When the frequency range of the SSC modulated clock input to the EXOR circuit 23b changes, the duty ratio of the output waveform of the EXOR circuit 23b changes, and the DC average level of the output of the EXOR circuit 23b also changes. When the maximum frequency of the SSC modulated clock input to the EXOR circuit 23b becomes equal to or higher than ¼ of the upper limit frequency of the EXOR circuit 23b, the division ratio control unit 61 controls the division ratio of the frequency divider 21 based on the bit rate of the SSC modulated data signal so that the maximum frequency of the SSC modulated clock input to the EXOR circuit 23b becomes equal to or lower than ¼ of the upper limit frequency of the EXOR circuit 23b again.
[0045] When the delay amount of the delay unit 23a is a fixed delay amount, if the frequency of the SSC modulated clock input to the EXOR circuit 23b decreases, the DC offset and detection efficiency of the output of the EXOR circuit 23b after passing through the LPF 24 decrease.
[0046] For this reason, the amplifier 25 amplifies the FM demodulated signal generated by the FM demodulation unit 22 with a gain set by the gain control unit 62. For example, the gain control unit 62 sets in the amplifier 25 a gain that corresponds to a known frequency shift amount of the SSC modulation of the SSC modulated data signal input to the clock recovery circuit 1.
[0047] For example, when an SSC modulated data signal with a known frequency shift is input to the clock recovery circuit 1, the gain control unit 62 grasps in advance the relationship between the frequency shift of the SSC modulated data signal and the amplitude of the FM demodulated signal output from the FM demodulation unit 22 based on the FM demodulation characteristics of the FM demodulation unit 22.
[0048] In addition, the gain control unit 62 grasps in advance the relationship between the frequency deviation of the reference clock generated by the reference clock generation unit 10 and the amplitude of the triangular wave signal generated by the triangular wave signal generator 40, based on the frequency modulation characteristics with respect to the control voltage of the voltage-controlled oscillator (VCO) 14 of the downstream PLL unit 13.
[0049] Furthermore, due to these relationships, the gain control section 62 knows in advance the gain that should be set in the amplifier 25 in order to obtain the frequency shift amount of the SSC modulation required in the reference clock generating section 10 .
[0050] The gain control section 62 adjusts the gain of the amplifier 25, thereby adjusting the frequency shift of the reference clock generated by the downstream reference clock generation section 10, so that the frequency deviation between the SSC modulated data signal and the reference clock is as small as possible within the range in which the clock recovery section 20 can lock.
[0051] It should be noted that the DC offset component that varies depending on the frequency range of the SSC modulated clock is not necessary in the downstream reference clock generating unit 10. For this reason, it is desirable to appropriately provide a capacitor or a known DC offset cancel circuit between the FM demodulating unit 22 and the amplifier 25 so that the amplifier 25 can amplify only the AC component of the output of the LPF 24, i.e., the waveform of the SSC modulated wave.
[0052] Alternatively, a variable delay device with a variable delay amount may be used as the delay unit 23a to set an optimum delay amount that suppresses the DC offset of the output of the LPF 24 and the decrease in detection efficiency according to the frequency range of the SSC modulation clock.
[0053] The modulation signal generating unit 30 acquires period information indicating the period of the FM demodulated signal amplified by the amplifier 25 and slope information indicating the slope of the FM demodulated signal amplified by the amplifier 25, and generates a modulation signal based on the acquired period information and slope information. That is, the waveform of the modulation signal generated by the modulation signal generating unit 30 is a waveform having the period indicated in the period information and the slope indicated in the slope information.
[0054] As shown in FIG. 4, the modulation signal generating section 30 includes a period information acquiring section 31, a slope information acquiring section 32, a PLL (Phase Locked Loop) 33, a triangular wave signal generator 40, and a DAC (Digital Analog Converter) 50.
[0055] The period information acquisition section 31 acquires period information of the FM demodulated signal amplified by the amplifier 25, and includes a comparator 31a, a period counter 31b, and a period information output section 31c.
[0056] The comparator 31a binarizes the FM demodulated signal amplified by the amplifier 25 with a first threshold set by the threshold control unit 65. The first threshold is set to the value at the center of the triangular waveform of the FM demodulated signal amplified by the amplifier 25, that is, the DC average value level of the FM demodulated signal. For example, when the DC offset is canceled in the rear stage of the LPF 24, the voltage of the first threshold is 0V.
[0057] 5(a) and 5(b) show the output C1 of the comparator 31a when the first threshold is set to the center of the triangular waveform of the FM demodulated signal. That is, during a period in which the level of the FM demodulated signal is continuously equal to or higher than the first threshold, the output C1 of the comparator 31a is at a high level. On the other hand, during a period in which the level of the FM demodulated signal is continuously equal to or lower than the first threshold, the output C1 of the comparator 31a is at a low level.
[0058] The period counter 31b counts and acquires the period T1 during which the output C1 of the comparator 31a is continuously at a high level or a low level. In other words, the period T1 counted by the period counter 31b is half the period of the triangular wave of the FM demodulated signal.
[0059] The period information output section 31c acquires the period T1 counted by the period counter 31b as period information of the FM demodulated signal, and outputs it to the triangular wave signal generator .
[0060] The slope information acquisition section 32 acquires slope information of the FM demodulated signal, and includes a comparator 32a, a duty counter 32b, a difference calculation section 32c, a slope information output section 32d, and an amplitude information calculation section 32e.
[0061] The comparator 32a binarizes the FM demodulated signal amplified by the amplifier 25 with a second threshold set by the threshold control unit 65. For example, as shown in Fig. 5(a), the second threshold is set to a value that is larger than the first threshold and does not exceed the peaks of the triangular waveform of the FM demodulated signal amplified by the amplifier 25. Alternatively, as shown in Fig. 5(b), the second threshold is set to a value that is smaller than the first threshold and does not exceed the peaks of the triangular waveform of the FM demodulated signal amplified by the amplifier 25.
[0062] The lower part of Fig. 5(a) shows the output C2 of the comparator 32a when the second threshold is set to a value greater than the first threshold. That is, while the level of the FM demodulated signal is continuously greater than or equal to the second threshold, the output C2 of the comparator 32a is at a high level. On the other hand, while the level of the FM demodulated signal is continuously less than or equal to the second threshold, the output C2 of the comparator 32a is at a low level.
[0063] The lower part of Fig. 5(b) shows the output C2 of the comparator 32a when the second threshold is set to a value smaller than the first threshold. That is, while the level of the FM demodulated signal is continuously equal to or greater than the second threshold, the output C2 of the comparator 32a is at a high level. On the other hand, while the level of the FM demodulated signal is continuously equal to or less than the second threshold, the output C2 of the comparator 32a is at a low level.
[0064] The duty counter 32b counts and acquires a high level period T2h during which the output C2 of the comparator 32a is continuously at a high level, or a low level period T2l during which the output C2 of the comparator 32a is continuously at a low level. The duty counter 32b constitutes a high / low level period acquisition unit.
[0065] For example, if the output of the comparator 32a is constant for a period of at least twice the period T1 of the FM demodulated signal output from the period information output unit 31c, the threshold control unit 65 determines that the second threshold set in the comparator 32a may exceed the peak of the triangular waveform of the FM demodulated signal and is not appropriate. In this case, the threshold control unit 65 changes the second threshold set in the comparator 32a so as to obtain an output C2 with an appropriate duty ratio. Furthermore, if the frequency shift amount of the SSC modulation of the SSC modulated data signal is unknown, the threshold control unit 65 can search for an appropriate second threshold that does not exceed the peak of the triangular waveform of the FM demodulated signal by monitoring the output C2 of the comparator 32a while changing the second threshold. In this case, it is preferable that candidates for the appropriate second threshold used during the search can be set in the comparator 32a by a DAC or the like.
[0066] Furthermore, the threshold control unit 65 can calculate the difference between the upper limit second threshold at which the output of the comparator 32a does not become a constant value and the lower limit second threshold at which the output of the comparator 32a does not become a constant value as the amplitude of the FM demodulated signal. The amplitude of the FM demodulated signal calculated by the threshold control unit 65 may be output to the gain control unit 62 when the gain control unit 62 grasps the relationship between the amount of frequency shift of the SSC modulated data signal and the amplitude of the FM demodulated signal output from the FM demodulation unit 22.
[0067] The difference calculation unit 32c is configured to calculate the difference 2×ΔT between the period T1 of the FM demodulated signal acquired by the period information acquisition unit 31 and the high level period T2h or the low level period T2l acquired by the duty counter 32b.
[0068] The slope information output unit 32d is configured to output the absolute value of the difference ΔV between the first threshold value and the second threshold value divided by ΔT, which is half the difference calculated by the difference calculation unit 32c, to the triangular wave signal generator 40 as slope information of the FM demodulated signal.
[0069] In addition, when fluctuations occur in the period of the FM demodulated signal and the time information of the high level or low level of the output of the comparators 31a and 32a, the influence of the fluctuations can be reduced by performing the following averaging in the gradient information output unit 32d.
[0070] For example, the slope information output section 32d may output the absolute value of ΔV divided by the average or moving average of ΔT over a predetermined period to the triangular wave signal generator 40 as slope information of the FM demodulated signal.
[0071] Alternatively, the slope information output section 32d may output the absolute value of ΔV divided by the average or moving average of half the difference ΔTh calculated by the difference calculation section 32c using the high level period T2h and half the difference ΔTl calculated by the difference calculation section 32c using the low level period T2l to the triangular wave signal generator 40 as slope information of the FM demodulated signal.
[0072] The amplitude information calculation unit 32e calculates the amplitude of the triangular wave signal based on the product of the slope information output from the slope information output unit 32d and the period information output from the period information output unit 31c. The amplitude of the triangular wave signal calculated by the amplitude information calculation unit 32e may be output to the gain control unit 62 when the gain control unit 62 grasps the relationship between the frequency shift amount of the SSC modulation and the amplitude of the triangular wave signal.
[0073] In addition, when the frequency shift amount of SSC modulation is known, as in the PCI Express standard, the clock recovery circuit 1 of this embodiment omits the calculation of amplitude information by the amplitude information calculation unit 32e and only acquires period information by the period information output unit 31c.
[0074] The PLL 33 inputs a clock obtained by multiplying the binarized output C1 of the comparator 31a as an operating clock to the triangular wave signal generator 40. In other words, the PLL 33 inputs an operating clock synchronized with the timing of the FM demodulated signal input to the modulation signal generating section 30 to the triangular wave signal generator 40. Also, the triangular wave signal generator 40 may be operated asynchronously by using a clock that is sufficiently faster than the period of the triangular wave of the FM demodulated signal as the operating clock.
[0075] The number of comparators may be 1. In this case, the modulation signal generating unit 30 may, for example, set a first threshold value in the comparator 31a and obtain an output C1, and then set a second threshold value in the comparator 31a and obtain an output C2.
[0076] Although it is possible to use an ADC (Analog Digital Converter) instead of the comparators 31a and 32a, using an ADC causes problems such as high costs and a delay in the timing at which the triangular wave signal generator 40 starts generating the triangular wave signal, resulting in a large frequency deviation between the SSC modulated data signal input to the clock recovery unit 20 and the reference clock. In contrast, using a comparator enables processing that suppresses costs and delays in the output of the triangular wave signal by the triangular wave signal generator 40.
[0077] The triangular wave signal generator 40 generates a triangular wave signal by digital calculation based on the period information acquired by the period information acquisition unit 31 and the slope information acquired by the slope information acquisition unit 32, and is configured on, for example, an FPGA (Field Programmable Gate Array) or an ASIC (Application Specific Integrated Circuit). The triangular wave signal generator 40 includes a pulse signal output unit 41, a frequency shift direction information output unit 42, a slope output unit 43, an amplitude change amount calculation unit 44, and a cumulative addition circuit 45.
[0078] The pulse signal output section 41 outputs a pulse signal for half the period T1, that is, for every ¼ period of the waveform of the triangular wave signal, based on the period information output from the period information output section 31c.
[0079] The frequency shift direction information output unit 42 outputs frequency shift direction information consisting of a value of +1 or -1 representing the positive or negative slope of the waveform of the triangular wave signal at the timing of the pulse signal output from the pulse signal output unit 41, i.e., at every 1 / 4 period of the waveform of the FM demodulated signal. For example, the frequency shift direction information is -1, -1, +1, +1, etc.
[0080] The slope output unit 43 outputs a value obtained by multiplying the frequency shift direction information output from the frequency shift direction information output unit 42 by the slope information of the FM demodulated signal acquired by the slope information acquisition unit 32, i.e., the slope of the waveform of the triangular wave signal.
[0081] The amplitude change amount calculation unit 44 calculates a value obtained by multiplying the slope of the waveform of the triangular wave signal output from the slope output unit 43 by a predetermined clock period Tclk of the operating clock of the triangular wave signal generator 40 as an amplitude change amount for each predetermined clock period Tclk, and outputs the calculated amplitude change amount to the cumulative addition circuit 45. Alternatively, the amplitude change amount calculation unit 44 may calculate the amplitude change amount for each clock period Tclk so that the amplitude of the triangular wave signal obtained by the cumulative addition circuit 45 becomes the amplitude of the triangular wave signal calculated by the amplitude information calculation unit 32e.
[0082] The accumulating circuit 45 generates a triangular wave signal by accumulating the amplitude change calculated by the amplitude change amount calculation unit 44 for each predetermined clock period Tclk. An operating clock that provides the above-mentioned predetermined clock period Tclk is input from the PLL 33 to the pulse signal output unit 41, the frequency shift direction information output unit 42, the gradient output unit 43, the amplitude change amount calculation unit 44, and the accumulating circuit 45.
[0083] It is also possible to use a clock other than the clock output from the PLL 33 as the operating clock input to the triangular wave signal generator 40. In this case, in order to eliminate the time error between the FM demodulated signal input to the modulation signal generating unit 30 and the operating clock, it is desirable for the cumulative addition circuit 45 to appropriately perform fine adjustment processing such as outputting the timing of the head of the waveform of the triangular wave signal by discontinuously shifting it with a resolution of the clock period Tclk.
[0084] The DAC 50 performs digital-to-analog conversion of the triangular wave signal generated by the triangular wave signal generator 40 to generate a modulation signal.
[0085] The analog switch 26 switches between "enabled" and "disabled" feedback of the FM demodulated signal amplified by the amplifier 25 to the reference clock generating unit 10 at the rear stage according to the control of the switching control unit 63. For example, when the data signal input to the clock recovery circuit 1 is an SSC modulated data signal, the switching control unit 63 controls the analog switch 26 to be "enabled" in order to superimpose the modulation signal on the reference clock in the reference clock generating unit 10. On the other hand, when the data signal input to the clock recovery circuit 1 is a signal that is not SSC modulated, the switching control unit 63 controls the analog switch 26 to be "disabled", which is an off state, in order to prevent an unnecessary modulation signal from being superimposed on the reference clock in the reference clock generating unit 10.
[0086] Immediately after the analog switch 26 is switched from "disabled" to "enabled" by the switching control unit 63, the waveform of the FM demodulated signal output from the FM demodulation unit 22 is distorted, as if the peak of the triangular wave has been cut off, as shown by the solid line graph in Fig. 9(b). However, during the period when the triangular wave has its original slope, the frequency deviation between the SSC modulated data signal input to the clock recovery unit 20 and the reference clock becomes small, and the waveform of the FM demodulated signal becomes an ideal triangular waveform as shown in Fig. 9(a). Note that the FM demodulated signal output from the FM demodulation unit 22 is a voltage signal, and Figs. 9(a) and (b) show the voltage of the FM demodulated signal and the frequency shift proportional to the voltage in arbitrary units.
[0087] When the data signal input to the clock recovery circuit 1 is not SSC modulated, the analog switch 26 is set to “disabled” by the switching control unit 63, and the reference clock generating unit 10 generates a reference clock that is not SSC modulated.
[0088] In addition, when the frequency shift of the SSC modulation of the SSC modulated data signal is small, it becomes difficult for the slope information acquisition unit 32 to detect the slope of the FM demodulated signal, but this is often not a problem because the frequency shift of the SSC modulation in the clock recovery unit 20 is likely to be within the allowable range. For example, if the minimum resolution of the setting of the second threshold by the threshold control unit 65 is set in advance within the allowable range of the frequency shift of the SSC modulation in the clock recovery unit 20 and the outputs of the comparators 31a, 32a are always constant even when the second threshold is changed, the analog switch 26 may be set to "disabled" by the switching control unit 63.
[0089] 6, the reference clock generating unit 10 includes a signal synthesizing unit 11, a loop filter 12, and a PLL unit 13. The PLL unit 13 includes a VCO 14, frequency dividers 15a to 15c which are programmable frequency dividers, a phase comparator 16, and a charge pump 17.
[0090] The signal synthesizer 11 is configured, for example, by an adder circuit using an operational amplifier, and adds a modulation signal generated by a modulation signal generator 30 and the output of a loop filter 12. The output of the signal synthesizer 11 is input to the VCO 14 as a control voltage.
[0091] VCO 14 receives the output of signal synthesis unit 11 as a control voltage, modulates the clock of VCO 14, generates a reference clock with a frequency approximately proportional to the control voltage input from signal synthesis unit 11, and outputs the generated reference clock as an output signal. VCO 14 reduces the frequency deviation between the SSC modulated data signal input to clock recovery unit 20 and the reference clock, and controls the frequency of the reference clock to follow the frequency of the SSC modulated data signal.
[0092] The frequency divider 15a divides the reference clock output from the VCO 14, for example, to a frequency of 1 / Na of the baud rate of the SSC modulated data signal, and outputs the result to the clock recovery unit 20. The division ratio Na of the frequency divider 15a is set by the division ratio control unit 61 so that the frequency of the reference clock output from the VCO 14 becomes a frequency required by the clock recovery unit 20. Note that if it is sufficient to input the reference clock output from the VCO 14 directly to the clock recovery unit 20, the frequency divider 15a may not be provided.
[0093] The frequency divider 15b sets the center frequency of the reference clock output from the VCO 14 so that it has a frequency division and multiplication relationship with the reference clock source input from an external signal source to the frequency divider 15c. The frequency divider 15b divides the output signal from the VCO 14 as a feedback signal by a predetermined frequency division ratio Nb, and makes the center frequency of the divided feedback signal coincide with the frequency of the output of the frequency divider 15c. The frequency division ratio Nb of the frequency divider 15b is set by the frequency correction control unit 64.
[0094] The frequency divider 15c divides the reference clock source input from an external signal source by a predetermined division ratio Nc and outputs the result to the phase comparator 16. The division ratio Nc of the frequency divider 15c is set by a frequency correction control unit 64. The reference clock source is a clock with a fixed frequency (for example, 40 MHz) that is not SSC modulated.
[0095] The frequency correction control unit 64 is configured to set the division ratio Nb and the division ratio Nc so that the center frequency of the reference clock divided by the frequency divider 15b matches the frequency of the reference clock source divided by the frequency divider 15c.
[0096] The phase comparator 16 is configured, for example, by an exclusive OR (EXOR) circuit, and outputs a phase difference signal having a pulse width proportional to the phase difference between the reference clock divided by the frequency divider 15b and the reference clock source divided by the frequency divider 15c.
[0097] The charge pump 17 generates a charge / discharge current in accordance with the phase difference signal input from the phase comparator 16 , and supplies the charge / discharge current to the loop filter 12 .
[0098] The loop filter 12 converts the charge / discharge current supplied from the charge pump 17 into a voltage, removes high frequency components from the converted voltage, and outputs a smoothed signal to the signal synthesis unit 11. The loop bandwidth of the PLL unit 13 including the loop filter 12 is set to a frequency (e.g., 10 kHz) narrower than the SSC modulation frequency of 30 to 33 kHz in order to achieve both the objectives of SSC modulation of the clock of the VCO 14 and stabilization of the center frequency of the reference clock.
[0099] This allows the signal synthesis unit 11 to superimpose the components outside the loop band of the PLL unit 13 onto the modulation signal, and directly perform SSC modulation on the VCO 14. If an attempt is made to perform SSC modulation within the loop band of the PLL unit 13, the modulation will be cancelled out by feedback.
[0100] When the DC offset component of the FM demodulated signal output from the FM demodulator 22 is removed by a DC offset cancellation circuit or the like, the reference clock generated by the reference clock generator 10 is subjected to SSC modulation equivalent to the center spread method. For this reason, when the SSC modulated data signal input to the clock recovery circuit 1 is subjected to SSC modulation of the down spread method or the up spread method, it is desirable to convert the frequency of the reference clock generated by the reference clock generator 10 to match the down spread method or the up spread method by a known method such as that disclosed in JP 2018-156647 A.
[0101] For this reason, the frequency correction control unit 64 performs control to shift the center of the SSC modulation frequency deviation obtained from the addition result of the modulation signal by the signal synthesis unit 11 and the output of the loop filter 12, in other words, to shift the center frequency of the reference clock output from the VCO 14, according to the spread method of the SSC modulated data signal input to the clock recovery circuit 1. For example, the frequency correction control unit 64 controls the division ratio of the frequency dividers 15b and 15c to control the center frequency of the reference clock to a frequency corresponding to a desired spread method.
[0102] The operation unit 27 is for receiving operation input by a user, and is configured, for example, as a touch panel equipped with a touch sensor for detecting a contact position by a touch operation on an input surface corresponding to a display screen of a display device. Alternatively, the operation unit 27 may be configured to include an input device such as a keyboard or a mouse. The operation input to the operation unit 27 is detected by the control unit 60.
[0103] By operating the operation unit 27, the user can set the setting information required for generating a reference clock from the SSC modulated data signal input to the clock recovery circuit 1, such as whether the data signal input to the clock recovery circuit 1 is an SSC modulated data signal, the bit rate of the SSC modulated data signal, and the selection of the spreading method.
[0104] The control unit 60 is configured with a microcomputer or a personal computer including, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), an HDD (Hard Disk Drive), an SSD (Solid State Drive), etc., and controls the operation of each of the above-mentioned components constituting the clock recovery circuit 1, and includes the above-mentioned frequency division ratio control unit 61, gain control unit 62, switching control unit 63, frequency correction control unit 64, and threshold control unit 65. The control unit 60 can also configure at least a part of the frequency division ratio control unit 61, gain control unit 62, switching control unit 63, frequency correction control unit 64, and threshold control unit 65 in software by transferring a predetermined program stored in a ROM or the like to a RAM and executing it. At least a part of the frequency division ratio control unit 61, gain control unit 62, switching control unit 63, frequency correction control unit 64, and threshold control unit 65 can also be configured with a digital circuit such as an FPGA or ASIC. Alternatively, at least a portion of the frequency division ratio control unit 61, the gain control unit 62, the switching control unit 63, the frequency correction control unit 64, and the threshold control unit 65 can be configured by appropriately combining hardware processing using digital circuits and software processing using a predetermined program.
[0105] As described above, the clock recovery circuit 1 according to this embodiment FM demodulates the output of the clock recovery unit 20 to generate an FM demodulated signal, generates a modulation signal that is an SSC modulated wave having the period and slope of the FM demodulated signal, SSC modulates the clock of the VCO 14 with the modulation signal to generate a reference clock, and feeds back the SSC modulated reference clock to the clock recovery unit 20. With this configuration, the clock recovery circuit 1 according to this embodiment can restore the modulation signal having the original SSC modulation frequency from the FM demodulated signal, and therefore can improve the durability of the clock recovery unit 20 and reproduce the SSC modulated clock by making the frequency of the reference clock follow the frequency of the SSC modulated data signal so as to minimize the frequency deviation between the reference clock and the SSC modulated data signal that is degraded and stressed due to a large frequency shift caused by the SSC modulation.
[0106] Moreover, the clock recovery circuit 1 according to this embodiment generates a triangular wave signal having the period and slope of the FM demodulated signal by digital calculation, and performs digital-to-analog conversion of the triangular wave signal to generate a modulation signal. With this configuration, the clock recovery circuit 1 according to this embodiment can restore a triangular wave signal having the original SSC modulation frequency from the FM demodulated signal to generate a modulation signal.
[0107] Moreover, the clock recovery circuit 1 according to this embodiment can acquire the period T1, which is half the period of the FM demodulated signal, as period information by using the average DC level of the FM demodulated signal as the first threshold value.
[0108] Furthermore, the clock recovery circuit 1 according to this embodiment can acquire the high level period T2h or the low level period T2l using a second threshold different from the first threshold, and acquire the slope information of the modulation signal from the difference between the high level period T2h or the low level period T2l and the period T1 of the FM demodulated signal.
[0109] Furthermore, the clock recovery circuit 1 according to this embodiment controls the division ratio of the frequency divider 21 based on the bit rate of the SSC modulated data signal so that the maximum frequency of the SSC modulated clock input to the EXOR circuit 23b is equal to or less than ¼ of the upper limit operating frequency of the EXOR circuit 23b. With this configuration, the clock recovery circuit 1 according to this embodiment can recover the SSC modulated clock from an SSC modulated data signal with a large frequency deviation while ensuring the demodulation resolution of the EXOR circuit 23b.
[0110] Second embodiment Next, an error rate measurement device and an error rate measurement method according to a second embodiment of the present invention will be described with reference to the drawings. Note that the same components as those in the first embodiment are given the same reference numerals and the description will be omitted as appropriate. Also, the description of the same operations as those in the first embodiment will be omitted as appropriate.
[0111] As shown in FIG. 7, the error rate measurement apparatus 100 according to the second embodiment measures the error rate of an SSC modulated data signal transmitted from a device under test (DUT) 200, and includes a data memory unit 71, a signal transmitter unit 72, a signal receiver unit 73, a synchronization detector unit 74, an error rate calculator unit 75, a display unit 76, and a controller unit 77.
[0112] The DUT 200 outputs an SSC modulated data signal that has been SSC modulated at a predetermined SSC modulation frequency. Examples of standards that the DUT 200 supports include PCI Express Gen1 to 6, USB 3.1 to 4, and DP1.4 to 2.
[0113] The data storage unit 71 is configured with a memory such as a RAM, and stores reference bit string data in advance. Here, the bit string data is data corresponding to K levels from 0 level to K-1 level that a PAM signal consisting of multiple values K (K is an integer of 2 or more) of 2 or more values can take. For example, the bit string data of a PAM4 signal, which is a 4-value PAM signal, consists of a combination of bits "00", "01", "10", and "11".
[0114] The signal transmitting unit 72 is configured to SSC-modulate the bit string data read from the data storage unit 71 at a predetermined SSC modulation frequency to generate a test signal, and transmit the generated test signal to the DUT 200. At this time, the DUT 200 receives the test signal transmitted from the signal transmitting unit 72, and transmits the received test signal to the signal receiving unit 73 as an SSC-modulated data signal. In other words, the DUT 200 transmits a K-value PAM signal SSC-modulated at a predetermined SSC modulation frequency as an SSC-modulated data signal.
[0115] The signal receiving unit 73 is configured to receive the SSC modulated data signal transmitted from the DUT 200 and output the bit string data of the received SSC modulated data signal to the synchronization detection unit 74, and includes the clock recovery circuit 1 of the first embodiment and a bit string data extraction unit 78.
[0116] The clock recovery circuit 1 recovers an SSC modulated clock from the SSC modulated data signal transmitted from the DUT 200 .
[0117] The bit string data extraction unit 78 is adapted to extract bit string data constituting the SSC modulated data signal transmitted from the DUT 200 at the timing of the SSC modulated clock recovered by the clock recovery circuit 1. For example, the bit string data extraction unit 78 has at least one 0 / 1 decider, and the SSC modulated clock from the clock recovery circuit 1 is input to each 0 / 1 decider, so that the level of the SSC modulated data signal transmitted from the DUT 200 can be decided at the timing of the SSC modulated clock. Note that the SSC modulated clock output from the clock recovery circuit 1 may be used as an operating clock not only for the bit string data extraction unit 78 but also for each unit constituting the error rate measurement apparatus 100.
[0118] The synchronization detection unit 74 synchronizes the bit string data read from the data storage unit 71 with the bit string data of the SSC modulated data signal extracted by the bit string data extraction unit 78. Then, the synchronization detection unit 74 outputs the synchronized bit string data of the SSC modulated data signal to the error rate calculation unit 75.
[0119] The error rate calculation unit 75 sequentially compares the bit string data constituting the SSC modulated data signal output from the synchronization detection unit 74 with the bit string data stored in the data memory unit 71, thereby detecting error bits in the bit string data constituting the SSC modulated data signal and calculating the BER of the bit string data constituting the SSC modulated data signal.
[0120] The display unit 76 is composed of a display device such as an LCD (Liquid Crystal Display) or a CRT (Cathode Ray Tube), and displays various display contents such as the BER of the bit string data calculated by the error rate calculation unit 75 in response to a control signal output from the control unit 77. Furthermore, the display unit 76 displays operation objects such as buttons, soft keys, pull-down menus, text boxes, etc. for setting various conditions in response to a control signal output from the control unit 77.
[0121] The control unit 77 is configured similarly to the control unit 60 in the first embodiment, and controls the operation of each of the above-mentioned units constituting the error rate measurement device 100. The control unit 77 can also configure at least a part of the error rate calculation unit 75 in software by transferring a predetermined program stored in a ROM or the like to a RAM and executing it. At least a part of the error rate calculation unit 75 can also be configured with a digital circuit such as an FPGA or an ASIC. Alternatively, at least a part of the error rate calculation unit 75 can also be configured by appropriately combining hardware processing by a digital circuit and software processing by a predetermined program. The control unit 77 in this embodiment may also serve as the control unit 60 in the first embodiment.
[0122] An example of the process of the error rate measurement method of this embodiment will be described below with reference to the flow chart of FIG.
[0123] First, the signal transmitting unit 72 generates a test signal by SSC-modulating the bit string data read from the data storage unit 71 at a predetermined SSC modulation frequency, and transmits the generated test signal to the DUT 200 (step S1).
[0124] Next, the clock recovery circuit 1 receives an SSC modulated data signal that has been SSC modulated at a predetermined SSC modulation frequency from the DUT 200, and generates an SSC modulated clock (signal receiving step S2).
[0125] Next, the bit string data extraction unit 78 extracts bit string data constituting the SSC modulated data signal at the timing of the SSC modulated clock recovered from the SSC modulated data signal by the clock recovery circuit 1 (signal receiving step S3).
[0126] Next, the error rate calculation unit 75 calculates the BER of the bit string data constituting the SSC modulated data signal extracted in step S3 (error rate calculation step S4).
[0127] As described above, the error rate measurement apparatus 100 according to this embodiment can receive the K-value PAM signal transmitted from the DUT 200 as an SSC modulated data signal, and generate an SSC modulated clock from the SSC modulated data signal using the clock recovery circuit 1 of the first embodiment. Furthermore, the error rate measurement apparatus 100 according to this embodiment can extract bit string data constituting the SSC modulated data signal at the timing of the generated SSC modulated clock, and measure the BER of this bit string data. [Explanation of symbols]
[0128] 1. Clock Recovery Circuit 10 Reference clock generation section 11 Signal synthesis section 12 Loop Filter 13 PLL section 14 VCO 15a~15c frequency divider 16 Phase comparator 17 Charge Pump 20 Clock Recovery Section 21 Frequency divider 22 FM demodulation section 23 Delay detection circuit 23a Delay section 23b EXOR circuit 24 LPF 25 Amplifier 26 Analog Switch 30 Modulation signal generator 31 Cycle information acquisition section 31a Comparator 31b Period Counter 31c Period information output section 32 Tilt information acquisition unit 32a Comparator 32b Duty Counter 32c Difference calculation part 32d Tilt information output section 32e Amplitude information calculation unit 33 PLL 40 Triangular Wave Signal Generator 41 Pulse signal output section 42 Frequency shift direction information output section 43 Tilt output section 44 Amplitude change amount calculation section 45 Accumulation circuit 50 DAC 61 Division ratio control section 62 Gain control section 63 Switching control section 64 Frequency correction control section 65 Threshold control section 71 Data storage unit 72 Signal transmitter 73 Signal receiving section 74 Synchronous detection section 75 Error rate calculation section 78 Bit string data extraction unit 100 Error rate measuring device 200 DUT
Claims
1. A reference clock generating unit (10) that generates a reference clock modulated by SSC (Spread Spectrum Clock); a clock recovery unit (20) for recovering an SSC modulated clock of a data signal SSC modulated at a predetermined SSC modulation frequency in synchronization with the reference clock; an FM demodulation unit (22) that FM demodulates the SSC modulated clock recovered by the clock recovery unit to generate an FM demodulated signal; a modulation signal generating unit (30) that acquires period information representing a period of the FM demodulated signal and slope information representing a slope of the FM demodulated signal, and generates a modulation signal based on the acquired period information and slope information; The reference clock generating unit a voltage controlled oscillator (14) that outputs an output signal having a frequency corresponding to an input control voltage; a phase comparator (16) that outputs a phase difference signal corresponding to a phase difference between a reference clock source having a predetermined frequency and the output signal of the voltage controlled oscillator; A charge pump (17) for generating a charge / discharge current according to the phase difference signal; a loop filter (12) that outputs a signal obtained by removing high-frequency components from the charge / discharge current; a signal synthesis unit (11) that adds the modulation signal generated by the modulation signal generation unit and an output of the loop filter, The clock recovery circuit is characterized in that the voltage-controlled oscillator receives the output of the signal synthesis unit as the control voltage, modulates the clock of the voltage-controlled oscillator to generate the reference clock, and outputs the generated reference clock as the output signal.
2. The modulation signal generating unit A period information acquisition unit (31) for acquiring the period information; A tilt information acquisition unit (32) that acquires the tilt information; a triangular wave signal generator (40) that generates a triangular wave signal by digital calculation based on the period information and the slope information; 2. The clock recovery circuit according to claim 1, further comprising: a DAC (50) that performs digital-to-analog conversion of the triangular wave signal to generate the modulating signal.
3. The clock recovery circuit according to claim 2, characterized in that the period information acquisition unit acquires as the period information a period during which the level of the FM demodulated signal is continuously greater than or equal to a first threshold value, or a period during which the level of the FM demodulated signal is continuously less than or equal to the first threshold value, using a DC average level of the FM demodulated signal as a first threshold value.
4. The tilt information acquisition unit is a high / low level period acquisition unit (32b) for acquiring a high level period during which the level of the FM demodulated signal is continuously equal to or higher than a second threshold different from the first threshold, or a low level period during which the level of the FM demodulated signal is continuously equal to or lower than the second threshold; a difference calculation unit (32c) that calculates a difference between the period information and the high level period or the low level period; and a slope information output unit (32d) that outputs, as the slope information, an absolute value of a difference between the first threshold value and the second threshold value divided by half the difference calculated by the difference calculation unit.
5. The triangular wave signal generator includes: a pulse signal output unit (41) that outputs a pulse signal every half period of the period information; a frequency shift direction information output unit (42) for outputting frequency shift direction information indicating the positive or negative slope of the triangular wave signal at the timing of the pulse signal; a gradient output unit (43) for outputting the gradient obtained by multiplying the frequency shift direction information and the gradient information; an amplitude change amount calculation unit (44) that calculates a value obtained by multiplying the gradient output from the gradient output unit by a predetermined clock period as an amplitude change amount for each of the predetermined clock periods; 5. The clock recovery circuit according to claim 2, further comprising: an accumulating circuit (45) that generates the triangular wave signal by accumulating the amount of amplitude change calculated by the amplitude change amount calculation unit for each of the predetermined clock periods.
6. a frequency divider (21) that divides the SSC modulated clock reproduced by the clock recovery unit and outputs the divided clock to the FM demodulation unit; A frequency division ratio control unit (61) that controls the frequency division ratio of the frequency divider, The FM demodulation unit includes: a delay unit (23a) that delays and outputs the SSC modulated clock frequency-divided by the frequency divider; an exclusive OR circuit (23b) that calculates an exclusive OR between the output of the frequency divider and the output of the delay unit; a low-pass filter (24) that smoothes the output of the exclusive OR circuit to generate the FM demodulated signal; 3. The clock recovery circuit according to claim 1, wherein the division ratio control unit controls the division ratio based on a bit rate of the data signal so that the maximum frequency of the SSC modulated clock input to the exclusive OR circuit is equal to or lower than 1 / 4 of an upper limit operating frequency of the exclusive OR circuit.
7. A signal receiving unit (73) for receiving a data signal modulated by a predetermined SSC modulation frequency; an error rate calculation unit (75) that calculates a bit error rate of bit string data that constitutes the data signal received by the signal receiving unit, 3. The error rate measuring device according to claim 1, wherein the signal receiving section has a clock recovery circuit according to claim 1 or 2, and extracts bit string data constituting the data signal at the timing of the SSC modulated clock recovered from the data signal by the clock recovery circuit.
8. A signal receiving step (S2, S3) of receiving a data signal modulated by a predetermined SSC modulation frequency; an error rate calculation step (S4) of calculating a bit error rate of bit string data constituting the data signal received by the signal receiving step, 3. The error rate measuring method according to claim 1, wherein the signal receiving step extracts bit string data constituting the data signal at the timing of the SSC modulated clock recovered from the data signal by the clock recovery circuit according to claim 1.
Citation Information
Patent Citations
Phase synchronization circuit
JP2002084189A
Clock generation circuit, semiconductor device, and clock generation method
JP2011176413A
Signal measuring device and signal measuring method
JP2013093794A
Semiconductor device
JP2013255164A
Spread spectrum clock generator and spread spectrum clock generation method, pulse pattern generator and pulse pattern generation method, and error rate measurement device and error rate measurement method
JP2022147683A
