This application claims priority under 35 U.S.C. 119 to United Kingdom Patent Application No. 1514936.2, filed Aug. 21, 2015, which is incorporated herein by reference in its entirety for all purposes.
Described herein is a method for increasing the resolution of clock based measurements, such as wander measurements. In particular, the invention relates to packet switched network in-line testers and test methods with improved wander measurement resolution. The invention is particularly suited for implementation on a field programmable gate array (FPGA) circuit.
Traditionally, when an FPGA measures an asynchronous signal, the measurement is made using registers clocked off the FPGA fabric clock. The frequency of that fabric clock dictates the resolution of the measurement. FPGA fabric clocks are currently limited to a few hundreds of MHz. Therefore, the resolution tends to be a few nanoseconds. For some applications, for example the measurement of wander in a telecommunications network, this intrinsic FPGA clock resolution can limit measurement accuracy.
According to an aspect, there is provided a system for improving signal timing measurement resolution for an asynchronous measurement signal, the system being adapted to: produce multiple phase shifted timing outputs, each representative of timing information for the asynchronous measurement signal, and combine the multiple phase shifted timing outputs to provide a single combined timing output.
A plurality or each of the multiple phase shifted timing outputs may provide a fixed phase timing output.
The system may be configured to produce the multiple phase shifted timing outputs using multiple phase shifted clocks; multiple samplers each one associated with one of the phase shifted clocks and its counter, wherein each clock and sampler combination is used to sample the asynchronous measurement signal to produce a timing output, thereby to provide multiple phase shifted timing outputs.
Each of the phase shifted clocks may be a fixed phase shifted clock, i.e. the phase of each clock may be fixed, unchangeable or non-dynamic.
The system may be configured to produce the multiple phase shifted timing outputs using multiple phase shifters for producing multiple phase shifted copies of the asynchronous measurement signal and multiple samplers, each one for sampling one of the multiple phase shifted asynchronous measurement signals to produce a phase shifted timing output, thereby to provide multiple phase shifted timing outputs. In this case, a single clock and a single counter may be used to provide timing information.
The single combined output may be produced using an adder that is configured to add the multiple timing outputs to provide the single combined timing output.
The timing output may be a duration/period of the asynchronous measurement signal.
The multiple phase shifted timing outputs may be phase shifted by 90 degrees.
Four phase shifted timing outputs may be provided.
According to another aspect, there is provided a system for improving signal timing measurement resolution comprising: multiple phase shifted clocks; multiple counters each one associated with one of the phase shifted clocks, and multiple samplers each one associated with one of the phase shifted clocks and its counter, wherein each clock, counter and sampler combination is used to sample an asynchronous measurement signal to provide a timing output, and the multiple timing outputs are combined to provide a single improved resolution timing output. The timing output may be a duration of the asynchronous measurement signal.
By using multiple phase shifted clocks the resolution of timing measurements can be improved without having to improve the absolute resolution of each individual clock. This is advantageous.
Each counter register may register changes in the measurement signal on the rising edge of its associated clock signal. Alternatively or additionally, each counter register may register changes in the measurement signal on the falling edge of its associated clock signal.
An adder may be provided, the adder being configured to add the multiple timing outputs to provide the single improved resolution timing output.
The multiple phase shifted clocks may be phase shifted by 90 degrees.
Four clocks, four counters and four samplers may be provided.
Various aspects of the invention will be described by way of example only and with reference to the accompanying drawings, of which:
On each of the phase-shifted clock domains, there is a free-running counter counting clock edges of the respective phase-shifted clock, and a sampler which samples the value of the counter whenever it receives a resynchronised latch enable signal. In
Each sampler also outputs a valid signal to indicate when it has output a new sample. This is resynchronised onto the System Clock domain. This indicates that the sample (on the phase-shifted clock domain) is now safe to be read on the System Clock domain. When all samples are valid (on the System Clock domain) samples are added to give 1 ns count. The Format to BRAM component is part of a system of preparing the measurement to be read in a known way, and so will not be described in detail. The measured 1 ns count, triggered periodically based on the actual Rx Recovered Clock period and Programmable Sample Period Register are compared to an expected ns count, based on the Programmable Sample Period Register and the expected Rx Clock period.
This means that each counter can only count in multiples of four timeslots. Hence in the example of
The present invention provides a simple and effective means for improving the resolution of timing measurements, without requiring improvements in the intrinsic resolution of the clocks being used. This is particularly useful for the measurement of wander in, for example, a telecommunications network. It is also very useful for improving wander measurement resolution in packet switched network in-line testers and test methods.
A skilled person will appreciate that variations of the disclosed arrangements are possible without departing from the invention. For example, whilst the invention has been described with reference to phase shifted clocks and phase shifted counters, it could equally be implemented by phase shifting the asynchronous measurement signal. In this case, a single clock and a single counter would be provided, together with multiple samplers, one for each of the measurement signals. Accordingly the above description of the specific embodiment is made by way of example only and not for the purposes of limitation. It will be clear to the skilled person that minor modifications may be made without significant changes to the operation described.
Number | Date | Country | Kind |
---|---|---|---|
1514936.2 | Aug 2015 | GB | national |