EP0880825B1 - Counting circuit - Google Patents
Counting circuit Download PDFInfo
- Publication number
- EP0880825B1 EP0880825B1 EP97904717A EP97904717A EP0880825B1 EP 0880825 B1 EP0880825 B1 EP 0880825B1 EP 97904717 A EP97904717 A EP 97904717A EP 97904717 A EP97904717 A EP 97904717A EP 0880825 B1 EP0880825 B1 EP 0880825B1
- Authority
- EP
- European Patent Office
- Prior art keywords
- counter
- frequency
- clock
- signal
- signals
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K21/00—Details of pulse counters or frequency dividers
Definitions
- the present invention as it is defined in the appented claims generally relates to a counting circuit and a method for generating a counter signal.
- Counting circuits or counters are found in numerous applications of all modern technologies. They are widely used in areas of electronics and in different fields of communication, in particular the field of telecommunication.
- phase difference measurements as well as frequency measurements, counters are often used as part of an overall circuit.
- a counter is an arrangement for counting the number of incoming pulses of a clock signal.
- a counter is generally a sequential circuit which registers incoming pulses by entering, for each pulse, a new state that represents the number of pulses.
- the output data of the counter are the state variables.
- the unit in a counter that actually registers the incoming pulses of a clock signal is referred to as the counter core.
- Any technology available for realizing the core of a counter sets a limit to the highest frequency that can be applied to the counter core. Besides, additional requirements on the circuit design within the chosen technology may lower this frequency limit.
- the resolution accuracy of a counter is generally determined by the frequency of the clock signal that is applied thereto. A high frequency will yield a high resolution. When a counter is implemented in a given technology the frequency of the clock signal that is applied to the counter may be too high for reliable and/or optimal operation of the counter. Thus, a lower frequency has to be used, naturally leading to a lower resolution accuracy.
- Fig. 1 is a block diagram of a frequency counter in accordance with U.S. patent 5,097,490.
- the frequency of an input signal is counted in respect to the number of clock pulses that occur between either successive rising or falling edges of the input signal.
- a reference clock 31 supplies a gating circuit 30 and counter A, 34, with clock signals.
- the gating circuit 30 receives an input signal.
- Counter A, 34 receives, from the gating circuit 30, a signal that controls the period of time during which the counter A, 34, counts clock pulses.
- the clock signal from clock 31 is applied to an inverter 32, which provides an inverted clock signal.
- the inverted clock signal is supplied to another gating circuit 33 and to counter B, 35.
- the gating circuit 33 receives the same input signal as the gating circuit 30.
- Counter B, 35 receives a signal from the gating circuit 33 such that the gating circuit 33 controls the accumulation of inverted clock cycles by counter B, 35.
- the output signal of counter A, 34 is added to the output signal of counter B, 35, in a summing circuit 36. The total count is divided by two in a divide-by-two circuit 37.
- U.S. patent 4,979,177 relates to a logic analyzer which has a counter that can reconstruct the higher resolution with which data was acquired using two phases of the logic analyzer system clock signal.
- U.S. patent 4,912,734 there is disclosed a high resolution event occurrence time counter operating in two clock domains, the domain of clock signal A and the domain of clock signal B.
- the two clock signals are generated from a common clock signal.
- Clock signal A is provided to a free running counter, preferably including a Johnson counter and a binary counter.
- the count data of the free running counter is stored in a counter register in response to clock signal B, and is stored in a second register as second time of arrival data upon the generation of a second signal, B SYNC.
- B SYNC when generated, will clear a first register.
- the data of the counter register is stored in the first register as first time of arrival data upon the generation of a first signal, A SYNC.
- the event occurrence time counter also includes a clock edge encoder which is responsive to an input signal and the clock signals A and B for generating the A SYNC and B SYNC signals. If the input signal arrives during the first half cycle of the common clock signal, then A SYNC is generated. If the input signal arrives during the second half cycle of the common clock signal, then B SYNC is generated. In this way the clock edge encoder controls which of first and second time of arrival data is to be provided as the output data of the circuit.
- the present invention overcomes this and other problems of the conventional counter arrangements.
- a counter in the following referred to as a counting circuit, and, in particular a high resolution counting circuit.
- Yet another object of the invention is to provide a high resolution counting circuit, the components of which do not require initialization or reset.
- the counting circuit comprises means for generating, in response to a first clock signal of a first frequency, a predetermined number, M, of second clock signals phase shifted with respect to each other and of a second frequency lower than the first frequency.
- the second frequency is adapted to work well in the technology that is available for realizing the counter core, with consideration taken to specific quality requirements on the circuit design of the core.
- the counting circuit comprises M secondary counters, each one responsive to a respective one of the M second clock signals for generating an individual secondary counter signal, and a summing circuit responsive to the secondary counter signals for generating the counter signal of the counting circuit by adding the secondary counter signals such that the counter value of the counter signal has the same number of bits and the same significance as the counter value of the secondary counter signals.
- the core of the counting circuit comprises the secondary counters.
- the second clock signals are phase shifted with respect to each other such that the resulting counter value is updated with a frequency equal to M multiplied with the second frequency.
- the resulting counter signal has the same number of bits and the same significance as the secondary counter signals, no initialization of the secondary counters is required.
- the counting circuit according to the invention affords the following advantages:
- a counting circuit is to be designed in a given technology and that there are certain quality requirements on the circuit design of the counter core which set a limit to the highest frequency that can be reliably counted by the counter core.
- a high resolution is desired.
- the counter core is to be implemented in a first predetermined technology, such as ASIC, and that there are quality requirements on the counter core such that the highest frequency that can be applied thereto is equal to a second frequency. For instance, if it is desirable to realize the counter core by scan testable flip-flops, then this requirement will set a limit to the highest clock frequency that is possible to use within the core.
- Fig. 2 is a schematic block diagram of a counting circuit 102 according to a first embodiment of the invention.
- the counting circuit 102 is preferably implemented in an ASIC or equivalent, and comprises a generator 70 for generating four second clock signals, four secondary counters 50-1, 50-2, 50-3, 50-4 and a summing circuit 51.
- the generator 70 generates, in response to a first clock signal of a first frequency, four second clock signals phase shifted with respect to each other and of a second frequency that is lower than the first frequency.
- the first clock signal is generated by any conventional clock signal generator whatsoever known to the art.
- Each one of the four secondary counters 50-1, 50-2, 50-3, 50-4 is responsive to a respective one of the four second clock signals for generating an individual secondary counter signal.
- the core of the counting circuit comprises the secondary counters 50-1, 50-2, 50-3, 50-4.
- the secondary counters are binary n-bits counters, implemented by scan testable flip-flops that are positive edge triggered.
- the use of scan testable flip-flops is an additional quality requirement within the chosen technology (ASIC).
- ASIC chosen technology
- the generator 70 is thus designed such as to generate the second clock signals with a second frequency that works well in the counter core. In this particular example, the second frequency is equal to the first frequency divided by two.
- the summing block or summing circuit 51 receives the secondary counter signals for generating the output counter signal of the counting circuit 102 by adding the secondary counter signals such that the counter value of the output counter signal has the same number of bits and the same significance as the counter value of the secondary counter signals.
- the specific counting circuit of Fig. 2 is only given as an example.
- the number of second clock signals and the number of secondary counters may differ, as will be exemplified later.
- a counter signal is generally defined as the output data of a counter.
- a counter value is defined to be the same as a count value.
- Fig. 3 is a schematic block diagram of the first generator 70 (shown in Fig. 2).
- a practical implementation of the generator 70 comprises four D-flip-flops 73, 74, 75, 76, two XOR-gates 71, 72, two inverters 79, 80 connected as shown in Fig. 3.
- the two XOR-gates 71 and 72 both receive the first clock signal.
- the first XOR-gate 71 also receives a zero, thus leaving the first clock signal unchanged.
- the second XOR-gate 72 receives a "1", thus inverting the first clock signal.
- the circuit solution with two XOR-gates 71, 72 is preferred, since the delay will be the same for both the non-inverted first clock signal, and the inverted first clock signal.
- the output signal from the first OR-gate 71 is sent to the clock input CLK of a first D-flip-flop 73 and to the clock input CLK of a second D-flip-flop 74.
- the first D-flip-flop 73 generates the second clock signal 92-1 on its Q-output.
- the output signal of the QZ-output of the first D-flip-flop 73 is fed back to the D-input of the first D-flip-flop 73.
- the QZ-output signal is inverted by the inverter 79 and sent into the D-input of the second D-flip-flop 74.
- the second D-flip-flop 74 generates the second clock signal 92-2 on its Q-output.
- the output signal from the second OR-gate 72 is sent to the clock input CLK of a third D-flip-flop 75 and to the clock input CLK of a fourth D-flip-flop 76.
- the third D-flip-flop 75 generates the second clock signal 92-3 on its Q-output.
- the output signal of the QZ-output of the third D-flip-flop 75 is fed back to the D-input of the third D-flip-flop 75.
- the QZ-output signal is inverted by the inverter 80 and sent into the D-input of the fourth D-flip-flop 76.
- the fourth D-flip-flop 76 generates the second clock signal 92-4 on its Q-output.
- the flip-flops of the generator 70 are not scan testable. Therefore, the first frequency can be applied to the generator 70. Hence, in this regard, there is a trade-off between scan testability and the maximum frequency that can be applied to the flip-flops.
- the generator 70 described above in connection with Fig. 3 is realized such that, the different D-flip-flops 73-76 will have the same load, assuring reliable operation of the generator 70.
- circuitry of Fig. 3 only is an example of how to generate the second clock signals 92-1, 92-2, 92-3, 92-4.
- Fig. 3 also shows an example of the first clock signal 184 MHz and the second clock signals 92-1, 92-2, 92-3, 92-4 appearing in the generator 70.
- the phases of the different second clock signals are illustrated in Fig. 3.
- the second clock signal 92-2 is an inverted version of 92-1
- the second clock signal 92-4 is an inverted version of 92-3.
- the first clock signal has a first frequency of 184 MHz and the second clock signals have a second frequency equal to half the first frequency, i.e. a second frequency equal to 92 MHz.
- each secondary counter 50-1, 50-2, 50-3, 50-4 generates a secondary counter signal which has a running counter value that is stepped up by each cycle of the respective one of the second clock signals 92-1, 92-2, 92-3, 92-4.
- Each one of the secondary counters increments its counter value every time the respective second clock signal goes high.
- Each secondary counter signal has a secondary counter value of n bits, where n is a positive integer (1, 2, 3, ). In this example, n is equal to 17.
- the positive edge carried by 92-1 will step up the counter value of the secondary counter 50-1 at a first time instance.
- the positive edge of 92-3 will step up the counter value of the secondary counter 50-3.
- the positive edge of 92-2 will step up the counter value of the secondary counter 50-2.
- the positive edge of 92-4 will step up the counter value of the secondary counter 50-4.
- each one of the secondary counters of the counting circuit 102 according to the invention will be updated, but not at the same time, with a frequency equal to the second frequency.
- the second frequency is equal to 92 MHz in this particular example. Adding the four secondary counter values will result in a counter value updated with a frequency of 368 MHz (a resolution of 2.7 ns), because of the phase shift between the second clock signals.
- Fig. 4 is a timing diagram showing the first clock signal, the secondary counter values and the resulting counter value.
- Fig. 4 is a timing diagram showing an example of some of the signals and counter values appearing in the counting arrangement 102 described above in connection with Fig. 2.
- a periodic square wave first clock signal CHRONO
- CHRONO a periodic square wave first clock signal
- four second clock signals are generated in response to CHRONO.
- Each one of the second clock signals is sent to a respective secondary counter for generating a secondary counter signal or value.
- the four secondary counter signals S.COUNT 1, S.COUNT 2, S.COUNT 3, S.COUNT 4 are updated, at different time instances, with a frequency equal to the clock frequency divided by two.
- These four secondary counter signals are added to generate the primary counter signal.
- the resolution accuracy of the counting circuit will thus be equal to the cycle time of a signal having a frequency twice the first clock frequency.
- the counter value, PRIMARY COUNTER, of the primary counter signal is of the same number of bits and the same significance as the counter value of the secondary counter signals. Note, however, that in Fig. 4, all counter values are represented by decimal values. In operation, it is generally assumed that the generation of the primary counter signal is executed continuously over a plurality of clock cycles.
- the interrelationship in phase between the second clock signals is important.
- the second clock signals are phase shifted with respect to each other. It is possible to arrange the second clock signals in such an order that the phase difference between successive second clock signals is ⁇ /2. It is important to understand that it does not matter which one of the second clock signals that is sent to which secondary counter. This means that the generator 70 of the second clock signals, and the flip-flops thereof in particular, does not have to be initialized.
- the full frequency potential of the given technology is utilized at the same time as frequency limiting requirements on the circuit design are fulfilled.
- a first clock signal of 184 MHz can be divided into 8 second clock signals of 46 MHz by further using the signals 92-1, 92-2, 92-3 and 92-4 of Fig. 3.
- the signal 92-1 is sent to a further D-flip-flop arrangement similar to that of Fig. 3 which comprises the components 73, 74, and 79, for generating two second clock signals.
- the signal 92-2 is sent to a further D-flip-flop arrangement similar to that of Fig. 3 which comprises the components 75, 76, and 80, for generating two second clock signals.
- each one of the signals 92-3, 92-4 is also sent to a further stage so as to generate two second clock signals.
- a total of 8 second clock signals is generated.
- Each one of these 8 second clock signal is sent to a respective secondary counter which produces an individual secondary counter signal. All eight secondary counter signals are then sent to a summing block designed for adding eight binary values or signals.
- the first clock signal is divided into two second clock signals of a second frequency equal to half of the first clock frequency; such as 92-1 and 92-2.
- the two secondary counter signals are added in a summing circuit so as to generate the counter signal of the counting circuit.
- the three second clock signals are phase shifted (2 ⁇ )/3 with respect to each other
- Each one of the second clock signals is sent to a respective secondary counter, and the output signals from the secondary counters are sent to a summing circuit for generating a counter signal, the counter value of which has the same number of bits and the same significance as the counter value of the secondary counters.
- Fig. 5 is a schematic block diagram of a second generator 170 of three second clock signals according to the invention.
- the generator 170 is responsive to a clock signal CLOCK for generating three second clock signals of a second frequency that is lower than the CLOCK frequency.
- the CLOCK signal has a frequency of 184 MHz and the second clock signals have a frequency equal to 184/3 MHz.
- Fig. 5 also shows an example of the signals appearing in the generator 170.
- the generator 170 comprises a first AND-gate 171, a first D-flip-flop 172, a second AND-gate 173 and a second D-flip-flop 174.
- Each one of the D-flip-flops 172, 174 receives the CLOCK signal at its clock input CLK.
- the output of the first AND-gate 171 is connected to the D-input of the first D-flip-flop 172.
- the Q-output of the first D-flip-flop 172 is connected to the first input of the second AND-gate 173.
- the output of the second AND-gate is connected to the D-input of the second D-flip-flop 174.
- the QZ-output of the second D-flip-flop 174 is connected to both the second input of the first AND-gate 171 and the second input of the second AND-gate 173.
- the Q-output signal Q(FF1) of the first D-flip-flop 172, the Q-output signal Q(FF2) of the second D-flip-flop 174 and the QZ-output signal QZ (FF1) of the first D-flip-flop 172 all of which are illustrated in Fig. 5.
- the output signals Q(FF1), Q(FF2) and QZ(FF1) will develop as is shown in Fig. 5. In this way, three second clock signals with different phases will be generated.
- the positive edges of the three second clock signals occur every third cycle of the CLOCK signal. This corresponds to the CLOCK frequency divided by three.
- the flip-flops of the generator 170 are not scan testable.
- the secondary counters are implemented by negative edge-triggered flip-flops.
- the QZ-output signal of the second D-flip-flop 174 of the final stage is distributed to the second input of the AND-gate of the further included stage.
- M the number of stages.
- part of the general idea according to the invention is to generate M second clock signals phase shifted with respect to each other and having a second frequency that is lower than the frequency of the first clock signal.
- Each one of the second clock signals is sent to a respective one of M secondary counters.
- M is a positive integer greater than 1, i.e. (2, 3, 4, ).
- the second frequency is equal to the frequency of the first clock signal divided by N, where N is a positive integer (1, 2, 3, ...), and adapted to work well in the utilized technology.
- when M is greater than 2 there is generally a phase difference equal to (2 ⁇ )/M between M pairs of the M second clock signals.
- the generator of second clock signals can also be implemented in a second technology different from the first technology.
- the generator of second clock signals can be realized in a second technology in which it is possible to divide a first clock signal of 368 MHz into 8 second clock signals phase shifted with respect to each other and of a second frequency equal to 92 MHz.
- the generator of second clock signals can be implemented in a second technology which is able to handle even higher first clock frequencies. Note that the complexity of the generator of second clock signals generally is smaller than that of a binary n-bits counter, in particular when n is greater than 10.
- the cost of realizing a generator of second clock signals in a high frequency technology is thus smaller than the cost of realizing a binary n-bits counter in the same high frequency technology.
- the manner in which the secondary counter signals or values are added is important. At first, problems that may occur if the secondary counter signals are added in a careless manner will be described. Consider, by way of example and for reasons of simplicity, the addition of two secondary counter values, each one of 4 bits and associated with a respective second clock signal. Each one of the secondary counters counts from zero to 15. When the maximum count or counter value is reached, the next counter value will be zero and the counter sequence 0, 1, 2, ..., 15 starts over again; a situation referred to as a wrap.
- the most significant bit of the result of the addition between 1 0 0 1 and 1 1 1 1, i.e. the most significant bit of the 5-bits value 1 1 0 0 0 (decimal 24), is the final or last carry bit of the addition. If the 4 least significant bits of the result of the addition of 1 0 0 1 and 1 1 1 1, are considered, a 4-bits value, 1 0 0 0 (8 in a decimal representation) will be obtained. Consequently, the two successive resulting counter values will be 1 0 0 0, i.e. a decimal 8, and 1 0 0 1, i.e. a decimal 9. Although this is an example of only two successive resulting counter values, the principle or idea of considering the 4 least significant bits of the result of the addition is generally applicable.
- the secondary counter signals are preferably added such that the resulting counter value has the same number of bits and the same significance as the counter value of the secondary counter signals.
- the resulting counter sequence goes from zero to the maximum count, 2 n -1, where n is a positive integer, and then starts over again from zero.
- the counter sequence is generated continuously on a cyclical basis.
- the summing circuit 51 which adds the secondary counter signals, is implemented by using the known programming language VERILOG and the known synthesizing program SYNOPSIS.
- the synthesizing program SYNOPSIS transforms a program written in VERILOG language to gate network hardware, which executes the addition. Generally, the addition is executed in a parallel implementation. In a parallel implementation, the signals are added simultaneously.
- the gate network implementation comprises a gate network and an associated D-flip-flop for each one of the n bits. Making up a total of n gate networks and n D-flip-flops. No gate networks and associated D-flip-flops are provided for the final carry bits of the addition so that the result of the addition will have the same number of bits, i.e. n bits, and the same significance as the secondary counter signals.
- the adding is executed in sequence.
- Conventional circuits such as 74-XX-83 which is a 4-bits adder, can be used.
- Several 4-bits units are connected to each other in a known manner so as to realize a n-bits adder.
- Several n-bits adders are used for realizing the summing block 51 if several secondary counter values are to be added.
- a first n-bits adder adds two binary values and outputs a result of n bits, but also a carry bit on its carry output. If more than two secondary counter values are to be added, then this carry bit is connected to the carry input of the next n-bits adder, otherwise the carry output is unconnected. In general, the carry output is always unconnected in the last adder stage, so that only the n-bits output signal of the last adder stage is considered. In this way, the final carry bit is discarded or forgotten.
- the summing block 51 generates the counter signal of the counter 102 by adding the secondary counter signals, taking all carry bits into account. Subsequently, the x least significant bits of the result of the addition are considered, where x is equal to the number of bits of the counter value of a secondary counter signal.
- the result is a 6-bits value.
- a software implementation is provided for considering the four least significant bits.
- the result will be 0 1 1 1; a value which has the same number of bits as the values that are added.
- all the carry bits are taken into account in the adding, and then an AND-operation is executed between the result of the addition and a first binary value with the following properties:
- the start value in the different secondary counters does not matter. There is no need to have the same start value in the secondary counters. Thus, no reset or initialization of the secondary counters is required, which is a clear advantage.
- Fig. 6 is a schematic flow diagram of a method for generating a counter signal according to the invention.
- a predetermined number, M, of second clock signals are continuously generated in response to a first clock signal of a first frequency.
- the second clock signals are phase shifted with respect to each other and have a second frequency that is lower than the first frequency.
- a respective secondary counter signal in response to the second clock signal.
- the counter signal, the primary counter signal is generated by adding the secondary counter signals or values such that the counter value of the primary counter signal will have the same number of bits and the same significance as the counter value of the secondary counter signals.
- the above steps are continuously repeated so as to continuously generate the primary counter signal.
- the steps 901-903 are executed in parallel.
- Fig. 7 there is illustrated a telecommunication system. It basically comprises switches S or equivalents, physical links interconnecting the switches, and various auxiliary devices. In general, the physical links are grouped into trunk groups TG which extend between the switches S. Normally a telecommunication system would be implemented with more switches and trunk groups than is illustrated in Fig. 7. However, the simplified representations of Fig. 7 will be used for describing the particular application of the present invention.
- a physical link utilizes transmission equipment, such as fiber optic conductors, coaxial cables or radio links.
- a switch S generally comprises a number of circuits which normally are mounted on circuit boards that are stored in cabinets.
- a switch normally includes a clock generating system which provides digital circuits in the switch with clock signals.
- the clock generating system should be redundant. Redundancy is ensured by using multiple clock signal generating units.
- a redundant clock system with multiple units requires some type of regulation system.
- the clock system can be of the type master-slave or a mutually regulating clock system. In either case, the clock signals of different clock generating units have to be synchronized with each other in some way. To this end, phase differences between the clock signals of the different clock signal generating units are measured. These measurements are realized by a phase detector.
- the phase detector comprises the counting circuit according to the present invention, a predetermined number of registers and a subtractor unit.
- the counting circuit provides the registers with a counter signal, also referred to as a count signal.
- Each one of the registers receives a respective one of the clock signals of the redundant clock system for storing the current counter value of the counter signal as a first counter value in response to timing information carried by the respective clock signal. Examples of timing information is a synchronization pattern and simply the positive or negative edge of a square wave clock signal.
- the first counter values are pairwise subtracted with each other by the subtractor unit to generate phase difference representing values or signals. The resolution accuracy of the phase difference measurements depends on the counting circuit.
- Fig. 8 is a schematic block diagram of a less time critical counter or counting circuit according to an embodiment of the invention.
- the block diagram of Fig. 8 is similar to that of Fig. 2 except for the secondary registers 99-1, 99-2, 99-3, 99-4.
- the secondary counters 50-1 to 50-4 generate secondary counter signals in the same manner as described in connection with Fig. 2. However, in this embodiment of the invention, each secondary counter signal is sent to a respective one of the secondary registers.
- the counting circuit when the output signal of the counting circuit is required in, for instance, a calculation, an external load signal is sent to the load input of each one of the secondary registers.
- a count value is updated by storing the current value of the secondary counter signal in the respective secondary register.
- These count values are sent to the summing circuit 51 which generates a resulting counter signal, the value of which has the same number of bits and the same significance as the value of the secondary counter signals.
- the summing itself is less time critical, since the frequency with which the summing has to be executed may be reduced considerably.
- a summing frequency equal to twice the frequency of the first clock signal may be reduced to a summing frequency equal to the sample frequency, such as 8 kHz, of a technical system.
- Each one of the secondary registers is of the same number of bits as the secondary counter signals.
Landscapes
- Manipulation Of Pulses (AREA)
Description
- No initialization of the hardware is required;
- A resolution equal to half the cycle time of the input clock signal is obtained.
- Fig. 1
- is a schematic block diagram of a prior art frequency counter;
- Fig. 2
- is a schematic block diagram of a counter or counting circuit according to a first embodiment of the invention;
- Fig. 3
- is a schematic block diagram of a first generator of second clock signals;
- Fig. 4
- is a timing diagram showing an example of some of the signals and counter values appearing in the counting circuit of Fig. 2;
- Fig. 5
- is a schematic block diagram of a second generator of second clock signals;
- Fig. 6
- is a schematic flow diagram of a method for generating a counter signal according to the invention;
- Fig. 7
- is a schematic block diagram of a telecommunication system; and
- Fig. 8
- is a schematic block diagram of a counting circuit according to another embodiment of the invention.
Claims (12)
- A counting device comprising:generator means (70; 170) for generating, in response to a first clock signal of a first frequency, second clock signals phase shifted with respect to each other;secondary counters (50), each one responsive to a respective one of said second clock signals for counting clock pulses thereof, thus providing a respective secondary counter signal; anda summing circuit (51) for adding said secondary counter signals,
said generator means (70; 170) further comprises means for generating said second clock signals with a second frequency that is lower than said first frequency; and
said summing circuit (51) adds said secondary counter signals such that the counter value of the resulting summed counter signal has the same number of bits and the same significance as the counter value of said secondary counter signals, thus providing an increasing or decreasing counter sequence. - A counting device according to claim 1,
characterized in that said means for generating said second clock signals with a second frequency comprises frequency dividing means for generating said second frequency such that it is equal to said first frequency divided by N, where N is a positive integer. - A counting device according claim 1 or 2,
characterized in that said generator means (70; 170) generates M second clock signals, where M is a positive integer greater than 2, and in that there is a phase difference of (2π)/M between M pairs of said M second clock signals. - A counting device according to any of the preceding claims, wherein said counter sequence is evenly increasing/decreasing and continuously provided on a cyclical basis.
- A counting device according to any of the preceding claims, characterized in that it further comprises means for discarding at least one final carry bit of said adding to generate a resulting counter signal such that the counter value of said resulting counter signal has the same number of bits and the same significance as the counter value of said secondary counter signals, thus providing a strictly increasing/decreasing counter sequence.
- A counting method comprising the steps of:generating, in response to a first clock signal of a first frequency, second clock signals phase shifted with respect to each other;counting, for each second clock signal, the clock pulses thereof to provide a respective secondary counter signal; andadding said secondary counter signals,
said step of generating second clock signals comprises the step of generating said second clock signals with a second frequency that is lower than said first frequency; and
said step of adding said secondary counter signals is executed such that the counter value of the resulting summed counter signal has the same number of bits and the same significance as the counter value of said secondary counter signals, thus providing an evenly increasing/decreasing counter sequence. - A counting method according to claim 6,
characterized in that said step of generating said second clock signals with a second frequency comprises the step of dividing said first frequency by N, where N is a positive integer, so as to obtain said second frequency. - A counting method according to claim 6 or 7,
characterized in that M second clock signals are generated, where M is greater than 2, and in that there is a phase difference of (2n)/M between M pairs of said M second clock signals. - A counting method according to any of claims 6 to 8, wherein said counter sequence is continuously provided on a cyclical basis.
- A telecommunication system comprising a counting device, said counting device comprising:generator means (70; 170) for generating, in response to a first clock signal of a first frequency, second clock signals phase shifted with respect to each other;secondary counters (50), each one responsive to a respective one of said second clock signals for counting of clock pulses thereof, thus providing a respective secondary counter signal; anda summing circuit (51) for adding said secondary counter signals,
said generator means (70; 170) further comprises means for generating said second clock signals with a second frequency that is lower than said first frequency; and
said counting device further comprises means for considering the x least significant bits of the result of said adding, where x is equal to the number of bits of the counter value of said secondary counter signals so as to generate a primary counter signal with an increasing/decreasing counter sequence. - A method to be used in a telecommunication system, said method comprising the steps of:generating, in response to a first clock signal of a first frequency, second clock signals phase shifted with respect to each other;counting, for each second clock signal, the clock pulses thereof to provide a respective secondary counter signal; andadding said secondary counter signals,
said step of generating second clock signals comprises the step of generating said second clock signals with a second frequency that is lower than said first frequency; and
said counting method further comprises the step of considering the x least significant bits of the result of said adding, where x is equal to the number of bits of the counter value of said secondary counter signals, thus providing an increasing/decreasing counter sequence. - A counting device comprising:generator means (70; 170) for generating, in response to a first clock signal of a first frequency, second clock signals phase shifted with respect to each other;secondary counters (50), each one responsive to a respective one of said second clock signals for counting clock pulses thereof, thus providing a respective secondary counter signal; anda summing circuit (51),
said counting device further comprises registers (99), each one responsive to a respective one of said secondary counter signals and an external load signal for updating a first count value by storing the current count value of said secondary counter signal upon receipt of said load signal,
said generator means (70; 170) further comprises means for generating said second clock signals with a second frequency that is lower than said first frequency; and
said summing circuit (51) is responsive to said first count values for adding the first count values such that the counter value of the resulting summed counter signal has the same number of bits and the same significance as the first count values, thus providing an increasing/decreasing counter sequence.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SE9600541 | 1996-02-14 | ||
SE9600541A SE510390C2 (en) | 1996-02-14 | 1996-02-14 | Billing device and billing method as well as telecommunication system including billing device and method |
PCT/SE1997/000216 WO1997030518A1 (en) | 1996-02-14 | 1997-02-12 | Counting circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
EP0880825A1 EP0880825A1 (en) | 1998-12-02 |
EP0880825B1 true EP0880825B1 (en) | 2004-05-06 |
Family
ID=20401388
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP97904717A Expired - Lifetime EP0880825B1 (en) | 1996-02-14 | 1997-02-12 | Counting circuit |
Country Status (6)
Country | Link |
---|---|
EP (1) | EP0880825B1 (en) |
JP (1) | JP2000504907A (en) |
AU (1) | AU1740997A (en) |
DE (1) | DE69728968D1 (en) |
SE (1) | SE510390C2 (en) |
WO (1) | WO1997030518A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5293052B2 (en) * | 2008-09-29 | 2013-09-18 | 富士通セミコンダクター株式会社 | Solid-state image sensor |
JP2014099238A (en) * | 2014-01-08 | 2014-05-29 | Ps4 Luxco S A R L | Semiconductor device |
KR102261595B1 (en) * | 2014-09-19 | 2021-06-04 | 삼성전자주식회사 | An image sensor, and an image processing system including the same |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4912734A (en) * | 1989-02-14 | 1990-03-27 | Ail Systems, Inc. | High resolution event occurrance time counter |
US4979177A (en) * | 1989-10-26 | 1990-12-18 | Tektronix, Inc. | Enhanced counter/timer resolution in a logic analyzer |
US5097490A (en) * | 1991-01-14 | 1992-03-17 | Sundstrand Data Control, Inc. | Apparatus and method for improving the resolution with which a test signal is counted |
-
1996
- 1996-02-14 SE SE9600541A patent/SE510390C2/en not_active IP Right Cessation
-
1997
- 1997-02-12 AU AU17409/97A patent/AU1740997A/en not_active Abandoned
- 1997-02-12 EP EP97904717A patent/EP0880825B1/en not_active Expired - Lifetime
- 1997-02-12 DE DE69728968T patent/DE69728968D1/en not_active Expired - Lifetime
- 1997-02-12 WO PCT/SE1997/000216 patent/WO1997030518A1/en active IP Right Grant
- 1997-02-12 JP JP9529263A patent/JP2000504907A/en active Pending
Also Published As
Publication number | Publication date |
---|---|
DE69728968D1 (en) | 2004-06-09 |
WO1997030518A1 (en) | 1997-08-21 |
AU1740997A (en) | 1997-09-02 |
SE9600541L (en) | 1997-08-15 |
SE9600541D0 (en) | 1996-02-14 |
SE510390C2 (en) | 1999-05-17 |
EP0880825A1 (en) | 1998-12-02 |
JP2000504907A (en) | 2000-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5022057A (en) | Bit synchronization circuit | |
US6335696B1 (en) | Parallel-serial conversion circuit | |
US5111455A (en) | Interleaved time-division multiplexor with phase-compensated frequency doublers | |
EP0397358B1 (en) | Parallel to serial converter | |
US20030193424A1 (en) | Serial-to-parallel data converter and method of conversion | |
US5940467A (en) | Counting circuit | |
KR0159213B1 (en) | Variable delay circuit | |
US3758720A (en) | Circuit for incrementally phasing digital signals | |
KR100245077B1 (en) | Delay loop lock circuit of semiconductor memory device | |
EP0880825B1 (en) | Counting circuit | |
US6459310B1 (en) | Divide by 15 clock circuit | |
EP0379279A2 (en) | Data transmission synchroniser | |
US6172533B1 (en) | Phase and frequency detector with high resolution | |
US6194918B1 (en) | Phase and frequency detector with high resolution | |
US6115438A (en) | Method and circuit for detecting a spurious lock signal from a lock detect circuit | |
US5990811A (en) | Transfer clock converter for digital data | |
GB2132043A (en) | Timer circuit | |
US5379038A (en) | Parallel-serial data converter | |
EP0201128A1 (en) | Integrated electronic multiplex circuit and integrated electronic circuit including such a multiplex circuit | |
US6049571A (en) | Encoding circuit with a function of zero continuous-suppression in a data transmission system | |
JPS62202624A (en) | High speed data reception circuit system | |
SU1658414A1 (en) | Device for generating double phase-difference modulated signals | |
CA2246375A1 (en) | Phase- and frequency detector | |
SU1356240A2 (en) | Device for checking authenticity of information transmission by quasiternary code | |
KR0174158B1 (en) | Gap-clock generator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
17P | Request for examination filed |
Effective date: 19980725 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): DE FR GB SE |
|
17Q | First examination report despatched |
Effective date: 20020926 |
|
GRAP | Despatch of communication of intention to grant a patent |
Free format text: ORIGINAL CODE: EPIDOSNIGR1 |
|
GRAS | Grant fee paid |
Free format text: ORIGINAL CODE: EPIDOSNIGR3 |
|
GRAA | (expected) grant |
Free format text: ORIGINAL CODE: 0009210 |
|
RAP1 | Party data changed (applicant data changed or rights of an application transferred) |
Owner name: TELEFONAKTIEBOLAGET LM ERICSSON (PUBL) |
|
AK | Designated contracting states |
Kind code of ref document: B1 Designated state(s): DE FR GB SE |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: FR Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20040506 |
|
REG | Reference to a national code |
Ref country code: GB Ref legal event code: FG4D |
|
REF | Corresponds to: |
Ref document number: 69728968 Country of ref document: DE Date of ref document: 20040609 Kind code of ref document: P |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: SE Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20040806 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: DE Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20040807 |
|
PLBE | No opposition filed within time limit |
Free format text: ORIGINAL CODE: 0009261 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT |
|
EN | Fr: translation not filed | ||
26N | No opposition filed |
Effective date: 20050208 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: GB Payment date: 20160226 Year of fee payment: 20 |
|
REG | Reference to a national code |
Ref country code: GB Ref legal event code: PE20 Expiry date: 20170211 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: GB Free format text: LAPSE BECAUSE OF EXPIRATION OF PROTECTION Effective date: 20170211 |