1. Field of the Invention
The present invention relates to a transmission characteristic adjustment device, a circuit board and a transmission characteristic adjustment method that are applied to a bus and the like and adjust a transmission characteristic between a transmission element and a receiving element interposing a transmission path. In particular, the present invention relates to a transmission characteristic adjustment device, a circuit board, and a transmission characteristic adjustment method that evaluate a setting value of a circuit element of a transmission element or a receiving element having an influence on a receiving waveform based on fluctuation of a margin between an eye pattern aperture and a mask, and change the setting value of the circuit element of the transmission element or the receiving element based on a result of the evaluation.
2. Description of the Related Art
In recent years, along increase in speed of signal transmission, there is a tendency that a margin of the signal transmission (waveform margin) becomes smaller. Accordingly, there has been an increased need for sequential adjustment of a transmission characteristic with respect to proper locations on a device, not only in design and evaluation stages.
In contrast, a technique which has been conventionally provided adopts a system that adjusts any circuit element to adjust a transmission characteristic while monitoring an error factor. For example, as a reference document, there is a patent document such as Jpn. Pat. Appln. Laid-Open Publication No. 2003-32187.
However, when a circuit element is adjusted while an error factor is monitored, an error factor of a certain degree needs to be tolerated. Accordingly, there has been a problem that the conventional technique can only be applied to a system that can tolerate an error factor of a certain degree.
The present invention has been made in order to solve the problem described above. An object of the present invention is to provide a transmission characteristic adjustment device with high reliability in a transmission characteristic that can adjust a circuit before an error occurs and does not generate an error, a circuit board incorporating such a transmission characteristic adjustment device, and a transmission characteristic adjustment method.
In order to achieve the above object, according to an aspect of the present invention, there is provided a transmission characteristic adjustment device that adjusts a transmission characteristic between a transmission element and a receiving element interposing a transmission path. The transmission characteristic adjustment device includes: an eye pattern aperture detection section that is provided on the receiving element side and detects an eye pattern aperture; a margin calculation section that calculates a margin with respect to a mask included in the eye pattern aperture detected by the eye pattern aperture detection section; a circuit element setting section that evaluates a setting value of a circuit element of the transmission element or the receiving element having influence on a receiving waveform based on fluctuation of the margin calculated by the margin calculation section, and changes the setting value of the circuit element of the transmission element or the receiving element based on a result of the evaluation.
In addition, according to an aspect of the present invention, there is provided a transmission characteristic adjustment method that adjusts a transmission characteristic between a transmission element and a receiving element interposing a transmission path. The method includes: a step that detects an eye pattern aperture; a step that calculates a margin with respect to a mask included in the eye pattern aperture; a step that detects fluctuation of the calculated margin; and a step that evaluates a setting value of a circuit element of the transmission element or the receiving element having influence on a receiving waveform based on the detected fluctuation of the margin, and changes the setting value of the circuit element of the transmission element or the receiving element based on a result of the evaluation.
Further, according to an aspect of the present invention, there is provided a circuit board having a transmission characteristic adjustment device that adjusts a transmission characteristic between a transmission element and a receiving element interposing a transmission path. The transmission characteristic adjustment device includes: an eye pattern aperture detection section that is provided on the receiving element side and detects an eye pattern aperture; a margin calculation section that calculates a margin with respect to a mask included in the eye pattern aperture detected by the eye pattern aperture detection section; and a circuit element setting section that detects fluctuation of a margin calculated by the margin calculation section, evaluates a setting value of a circuit element of the transmission element or the receiving element having influence on a receiving waveform based on the fluctuation of the detected margin, and changes the setting value of the circuit element of the transmission element or the receiving element based on a result of the evaluation.
According to the present invention, evaluation of a setting is carried out based on a fluctuation of a margin, and a transmission characteristic can be adjusted depending on a result of the evaluation. Accordingly, an advantageous effect that transmission with high reliability can always be carried out can be achieved.
Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.
The transmission element 100 includes an internal processing circuit 101, an output buffer 102, and a sign test bit insertion circuit 103. The output buffer 102 outputs a result of processing of the internal processing circuit 101 to the transmission path. The sign test bit insertion circuit 103 is provided between the internal processing circuit 101 and the output buffer 102.
In addition, the receiving element 200 includes receiving systems RA and RB, a path switching circuit 203, and an internal processing circuit 204. The receiving systems RA and RB include equalizers 201A and 201B and input buffers 202A and 202B.
Then, the receiving system RB, which is one of the two receiving systems RA and RB, includes a sign test circuit (eye pattern aperture detection section) 205, a margin calculation circuit (margin calculation section) 206, a circuit element adjustment circuit (circuit element adjustment section) 207. The sign test circuit 205 adjusts an eye pattern aperture. The margin calculation circuit 206 calculates (measures) a margin (waveform margin) that an eye pattern aperture has with respect to a mask, and outputs the calculated margin as an index of quality of a transmission characteristic. The circuit element adjustment circuit 207 detects fluctuation of the margin calculated by the margin calculation circuit 206, evaluates a setting value of a circuit element (here, the equalizer 201B) having an influence on an eye pattern aperture based on the fluctuation, and adjusts the equalizer 201 B (the setting value of the circuit element) based on a result of the evaluation.
Further, in order to detect an eye pattern aperture by the sign test circuit 205 and calculate a margin by the margin calculation circuit 206, the receiving element 200 includes a variable logic determination potential generator 208, a phase variable clock generator 209, an input buffer 210, and a flip-flop 211.
The sign test circuit 205, the margin calculation circuit 206, and the circuit element adjustment circuit 207 configure a margin monitoring system and configure the transmission characteristic adjustment device in the present embodiment. In addition, a setting value of the equalizer 201B adjusted by the circuit element adjustment circuit 207 is also set to the equalizer 201A as described later.
In the above configuration, a result of pass or error determination from the sign test circuit 205, phase information from the phase variable clock generator 209, and potential information from the variable logic determination potential generator 208 are input to the margin calculation circuit 206 in order to calculate a margin.
An output of the equalizer 201B and determination potential from the variable logic determination potential generator 208 are compared in an input buffer. Then, a result of such comparison is input to the sign test circuit 205 as an output of the flip-flop 211 by a clock from the phase variable clock generator 209. The sign test circuit 205 outputs an eye pattern aperture (a result of pass or error determination) to the margin calculation circuit 206.
Hereinafter, detailed description of the above will be made. The sign test bit insertion circuit 103 provided in the transmission element 100 is a circuit for inserting a bit for sign testing at certain intervals in data to be transmitted and received. The number of the bits to be inserted is as many as enabling sensing conditional variable of the transmission and receiving elements. More specifically, about 20 to 30 bits are necessary.
The transmission path 300 is a line that connects the transmission element 100 and the receiving element 200. More specifically, the transmission path 300 is made of a printed wiring board, a cable, and the like.
The equalizers 201A and 201 B are circuits that compensate a high frequency component lost in the transmission path on the receiving element 200 side.
The variable logic determination potential generator 208 is a circuit that can change potential working as a reference to determine a logic of “High” and “Low” of a signal.
The phase variable clock (CLK) generator 209 is a circuit that can change a phase of a clock by a duration that is calculated by dividing one cycle by any number.
The sign test circuit 205 is a circuit that carries out sign testing by using a bit inserted at the sign test bit insertion circuit 103 of the transmission element 100.
The margin calculation circuit 206 is a circuit that detects an aperture of an eye pattern by using a result of the sign test circuit 205 as input information, and outputs a margin as an index of quality the aperture.
The circuit element adjustment circuit 207 is a circuit that searches for setting that maximizes a margin by controlling a circuit element that has an influence on an eye pattern aperture by using the margin as input information.
Entire operation of the present embodiment based on the configuration described above will be described with reference to
First, detection of an eye pattern aperture as a transmission characteristic is carried out by the sign test circuit 205 (S1).
In order to detect an eye pattern aperture, the receiving element 200 sweeps a logic determination level and a logic determination time as shown in
Sign testing is carried out in a matrix as shown in
Next, the margin calculation circuit 206 calculates a margin (S2).
A margin is calculated by data showing the eye pattern aperture detected by the sign test circuit 205. A margin is regulated by a section where a distance between a mask regulated with respect to the receiving element 200 and an inner side of the eye pattern aperture becomes shortest. A specific image is shown in
In
As an example of calculation of the margin, a waveform signal section in the vicinity of a time axis of each waveform signal piece is extracted in order to calculate a center position of an eye pattern aperture. Then, minimum time and maximum time included in time coordinate values of the extracted waveform signal section are detected. The center position of the eye pattern aperture is calculated based on the detected minimum time and maximum time.
Next, a time coordinate value and a voltage coordinate value of each characteristic point of the mask in case a center position of the mask is allocated at the calculated center position are calculated.
Then, a characteristic point that does not exist on a time axis of the characteristic points of the mask is set to be processed. In this manner, on the bases of a voltage coordinate value of the characteristic point to be processed and a voltage coordinate value at a position of a waveform signal piece associated with the characteristic point, the margin in the voltage axis direction is calculated.
Here, for example, a voltage coordinate value of a position of a waveform signal piece where a time coordinate value is closest to the characteristic point to be processed may be used as the voltage coordinate value of a position of the waveform signal piece associated with the characteristic point to be processed. Alternatively, a voltage coordinate value on a time coordinate value of the characteristic point to be processed that is obtained by linearly interpolating two positions of waveform signal pieces that are adjacent to each other in a manner sandwiching the characteristic point to be processed can be used.
Next, a characteristic point that exits on the time axis of the characteristic points of the mask is set to be processed. In this manner, on the basis of a time coordinate value of the characteristic point to be processed and a time coordinate value at a position of a waveform signal piece associated with the characteristic point, the margin in the time axis direction is calculated.
Here, for example, with respect to each waveform signal piece, a difference between the time coordinate value of the characteristic point to be processed and the time coordinate value of the position of the waveform signal piece associated with the characteristic point is calculated. Then, a smallest value among the calculated difference values is identified. In this manner, a margin in the time axis direction is calculated with respect to each characteristic point. Then, by selecting a margin with a smallest value from the margins, a margin in the time axis direction can finally be calculated.
With respect to margins, a voltage axis margin normally becomes small (has adverse effect) faster than a time axis margin. Accordingly, voltage value margins of four characteristic points shown in
Next, monitoring of fluctuation of a margin is carried out by the circuit element adjustment circuit 207 (S3). Here, a margin which is an output from a margin calculation circuit is monitored in a certain cycle. When there is fluctuation in the margin, the operation moves to evaluation of setting (S4). When there is no fluctuation in the margin, the operation returns to (S1) without carrying out any processing. Monitoring of a margin is realized by setting any reference value with respect to a difference from a previous measurement.
Next, evaluation of setting is carried out by the circuit element adjustment circuit 207 (S4).
An operation image showing an example of the evaluation is shown in
First, an amplification amount (hereinafter referred to as the equalizer amount) with respect to a high frequency component of the equalizer 201 B is set to an initial value “0” (S11). Next, a margin is measured (S12). Then, setting of the equalizer amount is changed to a next stage in an increasing direction (S13). A margin is measured again (S14). Then, the processing of (S13) and (S14) is performed for all setting values (S15). Then, setting with a maximum margin is detected and set to be an adopted value (S16).
Description will be made with respect to a case of changing the setting value set in the above manner. When the setting detected above is reflected, the circuit needs to be controlled so that there is no error generated along the change of the setting. This function can be included in a “path switching circuit”, as shown in
First, the extracted setting is reflected to a Sub system shown in
Then, when the coincidence of the Main system and the Sub system is confirmed (S22), the Sub system is selected as the receiving data (S23). Then, setting of the Sub system is reflected to the Main system (S24). Then, when settlement of an error at the time of switching setting of the Main system is confirmed by the coincidence of the receiving data of the Sub system and the Main system (S25), the Main system is selected as the receiving data (S26).
In the first embodiment, an equalizer is adopted as a circuit element adjusted by a circuit element, that is, the circuit element adjustment circuit 207, which controls a transfer characteristic. A similar advantageous effect can be obtained by controlling the transmission element 100 and the receiving element 200.
For example, as shown in
In addition, in a third embodiment, as setting of a circuit element, a transmission system of a transmission element 100A can be made redundant. In the first embodiment described above, a redundant circuit is configured only on the receiving element side. Accordingly, a circuit element on the transmission side cannot be adjusted.
In view of the above, as shown in
In
The first embodiment adopts a system that monitors a margin calculated based on an eye pattern aperture, and adjusts a circuit element when there is fluctuation in the margin. The above adjusting operation of the circuit element may be carried out periodically or cyclically.
In contrast, the margin changes in conjunction with a component temperature on a print wiring board. Therefore, while a temperature of each component is monitored, the adjusting operation of the circuit element is performed (a starting trigger of the circuit adjustment is set) when there is fluctuation in the temperature. In this manner as well, a transmission characteristic with higher reliability can be obtained in a manner taking an environmental temperature into consideration.
Further, as a fifth embodiment, the adjusting operation may be started based on fluctuation in a power supply voltage. A margin changes in conjunction with a potential of a power supply system on the print wiring board. Therefore, while a power supply voltage on the print board is monitored, the adjusting operation of the circuit element is performed (a starting trigger of the circuit adjustment is set) when there is fluctuation in the power supply voltage. In this manner as well, a transmission characteristic with higher reliability can be obtained while an environmental temperature is taken into consideration.
In the first embodiment, the signal transmission system is divided into two systems of Main and Sub, and a function of adjusting the circuit element is provided to the margin monitoring circuit MM provided on the Sub side. According to the above configuration, when setting is switched, processing of “Main” to “Sub” to “Main” in this order is necessary as shown in
In contrast, as shown in
In the first embodiment, the Sub system (the input buffer 202B and the margin monitoring circuit MM) including a margin monitoring system is included in each channel of a multi channel (1ch to 3ch) as shown in
In the first embodiment, since there is no limitation provided to a margin with respect to adjustment of the circuit element, setting in which a margin becomes largest is selected as shown in
In the first embodiment, since there is no limitation in adjustment of the circuit element, setting in which a margin becomes largest is selected. For this reason, the margin may become excessive with respect to a mask provided in the receiving element as shown in
In contrast, an upper limit is provided to a margin as shown in
In the third embodiment, the description was made with respect to redundancy of the transmission element. As shown in
In contrast, as shown in
As shown in
When an error due to a jitter is generated in a signal transmission system, a jitter frequency causing the error is often limited. Then, the jitter is often generated by noise mixed in a power supply system of the PLL 261. Therefore, a variable element (a capacitor, or an inductance) 262 is included in the inside of a power supply terminal to the PLL 261. Then, a characteristic of a filter that is determined by composition of the internal element and an external power source filter (a filter circuit) 263 prepared externally is changed. In this manner, the jitter causing the error can be restricted.
As described above, according to the present invention, adjustment of a transfer characteristic can be attempted while checking a result. Also, since measurement of a margin is configured with a digital circuit, application to an LSI is facilitated. Accordingly, an advantageous effect that the present invention can contribute to improvement in quality of signal transfer can be achieved.
Number | Date | Country | Kind |
---|---|---|---|
2007-334546 | Dec 2007 | JP | national |