This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2011-200697, filed on Sep. 14, 2011, the entire contents of which are incorporated herein by reference.
The embodiment discussed herein is related to a signal generating apparatus and a method of generating signal.
In a jitter tolerance test corresponding to a load test of a receiving device, whether a target device, which receives a signal that a jitter is added to, works correctly or not is checked. Components of the added jitters may be changed so that the target device may be evaluated on what type of jitters is tolerated for the target device. The jitter tolerance test is performed using a measuring instrument for test.
Japanese Laid-open Patent Publication No. 2006-60451 discusses a related art.
According to one aspect of the embodiments, a signal generating apparatus includes: a direct digital synthesizer configured to generate an output signal of a frequency according to first control data based on a reference clock; and a controller configured to provide the direct digital synthesizer with the first control data at a timing synchronized with the reference clock, wherein the controller includes a table which stores second setting data for controlling the frequency of the output signal based on jitter information and provides the direct digital synthesizer with the second setting data in the table as the first control data at the timing.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
By mixing a modulating signal of around 1kHz-10MHz with a radio frequency carrier signal (main signal) by a mixer, a signal to which a jitter to be provided to a target device is added may be generated.
A mixer mixes a carrier signal and a modulating signal resulting in that a signal waveform may possibly be distorted and that power for signal amplification may possibly increase. Workloads of checks and adjustments for adding a desirable quantity of jitters may possibly increase.
The frequency divider 10 frequency-divides an input reference clock REFCLK1 so as to output a reference clock REFCLK2 of a one m-th frequency. The frequency divider 10 provides the DDS 20 and the control circuit 30 with the reference clock REFCLK2. The frequency divider 10 may be omitted and the reference clock REFCLK1 may be supplied to the DDS 20 and the control circuit 30.
The DDS 20 operates with reference to the input reference clock REFCLK2 and generates an output clock OUTCLK1 of a frequency specified by control data (tuning words) FCTL based on the frequency of the reference clock. The reference clock of the DDS 20 may be the reference clock REFCLK2. The reference clock REFCLK2 may be a multiplied or divided clock. The DDS 20 includes a phase accumulator 21, a sine wave converting circuit 22 and a digital-to-analog converting circuit (DAC) 23. The DDS 20 may include a low-pass filter which filters an output of the DAC 23, although not depicted in
The phase accumulator 21 decides an increment of phase setting data in accordance with the frequency specified by the input control data FCTL and accumulates the phase setting data based on the reference clock REFCLK2. The accumulated phase setting data is provided to the sine wave converting circuit 22. The sine wave converting circuit 22 includes a lookup table related to amplitude data of a sine wave. The phase setting data provided by the phase accumulator 21 is converted into amplitude data of a corresponding sine wave by the sine wave converting circuit 22 and is provided to the DAC 23. The DAC 23 digital-to-analog converts the amplitude data of the sine wave provided by the sine wave converting circuit 22 into the output clock OUTCLK1 based on the reference clock REFCLK2 and outputs OUTCLK1.
The control circuit 30 includes a jitter control table onto which an amount of fluctuation of an output frequency is mapped for one cycle of a jitter frequency. Setting data for one cycle provided to the DDS 20 as the control data (tuning words) FCTL for generating a signal that a jitter is added to is stored in the jitter control table for a write timing. The control circuit 30 chooses a jitter control table according to a frequency and a depth (magnitude) of a jitter specified based on input jitter setting data JTS, and provides the DDS 20 with setting data filed in the chosen jitter control table as the control data FCTL. The control circuit 30 provides the DDS 20 with the control data FCTL at a timing which is synchronized with the reference clock of the DDS 20, for example, REFCLK2. For example, the setting data may be provided one by one for the timing. The control data FCTL output by the control circuit 30 is rewritten into setting data to be filed in the jitter control table at the timing which is synchronized with the reference clock of the DDS 20 by turns and provided to the DDS 20. The control circuit 30 is provided with control data CTLI from the phase comparator 60. The control circuit 30 carries out a process for correcting the control data FCTL based on the control data CTLI, and provides the DDS 20 with the corrected control data FCTL.
The PLL circuit 40 multiplies the frequency of the output clock OUTCLK1 from the DDS 20 and outputs a clock of a high n-multiplied frequency as an output clock OUTCLK2. The PLL circuit 40 provides the filter 50 and the object to be measured 70 with the output clock OUTCLK2.
The phase comparator 60 compares phases (frequencies) of the input reference clock REFCLK1 and the feedback clock FBCLK (jitter-removed output clock OUTCLK2) with each other, and outputs a comparison result as the control data CTLI.
The decoder 31 decodes the jitter setting data JTS and outputs a read address RAD for reading a jitter control table corresponding to the jitter setting data JTS from the memory 33. The table reading circuit 32 reads a jitter control table from the memory 33 based on the read address RAD provided by the decoder 31. The holding circuit 34 holds a jitter control table TD1 read by the table reading circuit 32.
The correction processing circuit 35 is provided with setting data TD2 of a jitter control table from the holding circuit 34 and the control data CTLI from the phase comparator 60 and carries out a correction process on the setting data TD2 based on the control data CTLI. The correction process may be carried out by the correction processing circuit 35 based on the control data CTLI if desired. The output circuit 36 receives setting data TD3 after the correction process and sends the setting data TD3 to the DDS 20 as setting data TD4 at the timing which is synchronized with the reference clock of the DDS 20.
The control circuit 30 provides the DDS 20 with a set value (BASE−3 Vd) corresponding to the output frequency (BASE−3 Fd) as the control data FCTL in a period of time a (0-1 Tc[ns]), e.g., as depicted in
The control circuit 30 writes a set value into the DDS 20 every 8/Tc [ns]. A jitter control table depicted in
The DDS may be used for adjusting a frequency on an oscillator for a PLL circuit. The control data (tuning words) provided to the DDS may be fixed if a signal of a single frequency is provided.
The control circuit 30 updates the control data FCTL provided to the DDS 20 at short (rapid) and regular intervals in nanoseconds or picoseconds by the use of the jitter control table. Control bits provided to the DDS 20 are changed rapidly and at regular intervals, and the frequency of the output clock OUTCLK1 periodically changes. Thus, an effect substantially same as that of frequency modulation may be obtained and a signal that a jitter is added to is generated.
As the jitter frequency or jitter depth is freely set based on the number of repetitions or a variation of the setting data filed in the jitter setting table, any jitter may be easily added. As a quantity of jitters is controlled based on the control data for the DDS 20, e.g., the setting data, an infinitesimal jitter may be added. A workload of checking and adjusting the quantity of jitters may thereby be reduced or simplified. The jitter frequency or jitter depth may be easily changed, e.g., and a test may be performed. A test may be performed based on a linear change of the quantity of added jitters. As the jitter frequency or jitter depth is changed in an instant, e.g., a tolerance to instantaneously added jitters or to abruptly changed jitters, etc., may be measured.
A variation of the output frequency for one cycle of the jitter frequency is mapped on the jitter control table, and may be repeatedly controlled. A size of a memory in which the jitter control table is to be stored may thereby be reduced, and a signal to which jitters are added is generated. As the DDS 20 generates a signal including a jitter component without using a mixer, a signal having a distortion-free waveform may be obtained and noise generation may be reduced.
In the signal generating apparatus depicted in
The frequency of the output clock OUTCLK1 provided by the DDS 20 depicted in
The frequency of the output clock OUTCLK1 provided by the DDS 20 may be out of phase while being controlled based on the setting data filed in the jitter control table. The phase comparator 60 compares the phase (frequency) of the reference clock REFCLK1 with that of the feedback clock FBCLK, and the control circuit 30 controls the control data provided to the DDS 20 based on a result of the comparison and adjusts the phase (frequency) so that the both clocks are in phase with each other.
The variation of the setting data is doubled as depicted in
A control speed of the setting data is set twice as slow as depicted in
The jitter control tables depicted in
The jitter adding test begins. The signal generating apparatus (the DDS 20 and the control circuit 30) depicted in
The control circuit 30 selects one of jitter control tables to set a jitter based on input jitter setting data JTS in the operation S105. For example, the control circuit 30 performs operations S106 through S108. The control circuit 30 writes setting data blocks to be filed in the selected jitter control table into the DDS 20 one by one as the control data FCTL at a timing synchronized with the reference clock of the DDS 20. The DDS 20 updates the control data at each write timing synchronized with the reference clock, and generates an output clock of a frequency according to a value of the control data. The DDS 20 generates a signal including a jitter component and outputs the signal as the output clock OUTCLK1. The output clock OUTCLK1 provided by the DDS 20 is multiplied by n by the PLL circuit 40 and is provided to the object to be measured 70.
The operations S106 through S108 may be repeated as many times as the number of the setting data blocks to be filed in the selected jitter control table. For example, if a final setting data block to be filed in the selected jitter control table is written into the DDS 20, the process shifts to an operation S109. Whether the output clock provided by the DDS 20 changes its frequency in accordance with the chosen jitter control table is decided in the operation S109. Unless the output clock changes its frequency in accordance with the selected jitter control table, the process returns to the operation S106.
If the output clock changes its frequency in accordance with the jitter control table, the process shifts to an operation S110. The phase comparator 60 compares the frequencies of the reference clock REFCLK1 corresponding to the input clock and the feedback clock FBCLK (output clock OUTCLK2 from which jitter components have been removed) in the operation S110.
If the frequencies of the input and output clocks differ from each other (NO of S111) and the frequency of the output clock is higher than the frequency of the input clock (YES of S112), the control circuit 30 subtracts “1” from the control data and the process returns to the operation 5110 (S113). If the frequencies of the input and output clocks differ from each other (NO of S111) and the frequency of the output clock is not higher than the frequency of the input clock (NO of S112), the control circuit 30 adds “1” to the control data and the process returns to the operation 5110 (S114).
The operations 5110 through S114 are repeated until the frequencies of the input and output clocks substantially equal each other. If the frequencies of the input and output clocks are substantially the same each other (YES of S111), the control circuit 30 decides whether all jitter settings have been fully tested in an operation S115. If a test which has not been tested yet, the process returns to the operation S105 and performs the operation S105 and the operations following the operation S105 with a jitter setting not having been done. If all the jitter settings are tested, the jitter adding test ends.
The DDS 20 outputs a sine wave of a frequency according to the control data FCTL. The DDS 20 may include, e.g., a lookup table related to amplitude data of a periodic signal different from a sine wave. The DDS 20 may output an output signal based on the lookup table.
When substantially the same setting data continues, that kind of the setting data is separately filed in the jitter control table. For example, a combination of the setting data and the number of consecutive setting data blocks may be filed in the jitter control table. The control circuit 30 may repeatedly output the corresponding setting data based on the filed number information.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiment of the present invention has been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2011-200697 | Sep 2011 | JP | national |