EP0400730B1 - Zero crossing detector arrangements - Google Patents
Zero crossing detector arrangements Download PDFInfo
- Publication number
- EP0400730B1 EP0400730B1 EP90201316A EP90201316A EP0400730B1 EP 0400730 B1 EP0400730 B1 EP 0400730B1 EP 90201316 A EP90201316 A EP 90201316A EP 90201316 A EP90201316 A EP 90201316A EP 0400730 B1 EP0400730 B1 EP 0400730B1
- Authority
- EP
- European Patent Office
- Prior art keywords
- output
- zero crossing
- successive samples
- multiplexer
- arrangement
- 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
- 230000000295 complement effect Effects 0.000 claims description 5
- 238000000034 method Methods 0.000 claims description 5
- 239000000523 sample Substances 0.000 description 14
- 230000009977 dual effect Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000005070 sampling Methods 0.000 description 4
- 230000001419 dependent effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/025—Systems for the transmission of digital non-picture data, e.g. of text during the active part of a television frame
- H04N7/035—Circuits for the digital non-picture data signal, e.g. for slicing of the data signal, for regeneration of the data-clock signal, for error detection or correction of the data signal
Definitions
- This invention relates to zero crossing detector arrangements and is especially applicable to such arrangements for use in digital teletext decoders.
- Teletext decoders are known for use, for example, in television receivers for receiving and decoding teletext data which is transmitted as part of the normal television signal, the teletext data being displayed as pages of text and/or graphics on the normal television screen.
- Teletext decoders have made use of both analogue and digital processing techniques and it is now proposed to provide a fully digital system which will complement the digital television receivers which are currently becoming available.
- the teletext data after it has been separated from the normal television picture information, is sampled at a frequency which is higher than the data rate frequency, and one of the functions that needs to be carried out is to determine from the sampled signals where zero crossings have occurred in the teletext data.
- the position of the peaks and troughs in the teletext data is most easily obtained from a knowledge of the zero crossings that have occurred in the teletext data.
- a zero crossing detector arrangement which is operable on successive samples of an analogue signal, characterised by means for affording a first output corresponding to the average of two successive samples, means for comparing the signs of one of said two successive samples and said first output to afford a first estimate as to the location of a zero crossing, means for affording a second output corresponding to the average of said first output and a selected one of said successive samples, and further means for comparing the signs of said second output and a selected one of either said one of said two successive samples or said first output to afford a second estimate as to the location of the zero crossing, said first and second estimates substantially defining the position of said zero crossing.
- Such an arrangement has the advantage, when produced in integrated circuit form, that it would occupy less chip area than previously proposed arrangements for detecting a zero crossing.
- a preferred arrangement will be characterised by further means for comparing the signs of said two successive samples and for affording a zero crossing position output when said signs are different.
- the means for affording said first output and said second output each comprise an adder and means for halving the output of said adder, and that said selected one of said successive samples is selected in dependence upon said first estimate.
- multiplexer means may be provided to which said successive samples are applied, for affording said selected one of said successive samples under the control of said first estimate.
- said multiplexer means comprises two multiplexers each operated under the control of said first estimate, one of said multiplexers having one of said successive samples and said first output applied to it and the other of said multiplexers having the other of said successive samples and said first output applied to it, the output of said multiplexers being applied to said means for affording said second output.
- said multiplexer means comprises a first multiplexer operated under the control of said first estimate, said first multiplexer having said two successive samples applied to it, said means for affording said second output having the output of said first multiplexer and said first output applied to it, it being conveniently arranged that said means for affording said second output comprises a further multiplexer operable under the control of said first estimate, for selecting the sign of said first output or the sign of the output from said first multiplexer, said second output being afforded in dependence upon the output of said further multiplexer the sign of and said second output.
- said successive samples will be in two's complement form, the most significant bit of which corresponds to the sign of the respective sample, in which case said means for affording said first and second estimates may each comprise an exclusive-OR gate.
- a method of detecting a zero crossing occurring between successive samples of an analogue signal characterised by the steps of generating a first output corresponding to the average of two successive samples, generating a first estimate as to the location of a zero crossing by comparing the signs of one of said two successive samples and said first output, generating a second output corresponding to the average of said first output and a selected one of said two successive samples, and generating a second estimate as to the location of the zero crossing by comparing the signs of said second output and a selected one of either said one of said two successive samples on said first output, and substantially defining the position of said zero crossing from said first and second estimates.
- analogue waveform 1 in the form of a sine wave, which could correspond to part of a teletext data signal received by a teletext decoder. It is assumed that the analogue waveform 1 is sampled at a rate which is approximately twice the data rate of the signal to afford successive samples x0, x1, x2, x3, x4, etc.
- a typical teletext data rate is 6.9375 and a typical sampling rate may be 13.5 MHz, which is a sampling rate commonly used in digital television systems.
- each sample may typically be defined by a 7-bit binary number in two's complement form, where the most significant bit (MSB) is indicative of the sign of the sample (i.e. positive or negative).
- the function of the zero crossing detector arrangement to be described is to detect, from a knowledge of the successive samples x0 to x4, etc., where zero crossings have occurred in the analogue waveform 1.
- a zero crossing has occurred can be determined by comparing the signs of the samples x1 and x2. If they are of opposite sign, i.e. one is positive and the other is negative then a zero crossing must have occurred. If they are both of the same sign e.g. both positive or both negative, then a zero crossing will not have occurred.
- the value b6 is then compared with b4 and x2. A comparison of their respective signs will indicate that a zero crossing occurred between b6 and b4 and if these two values are averaged a further intermediate value b5 is obtained.
- b5 is then compared with b6 and b4. A comparison of their respective signs will indicate that a zero crossing occurred between b5 and b6 and if these two values are simply combined, the sign of the combined total will indicate whether the zero crossing is between b5 and a further intermediate point c6 or between b6 and c6. If b5 + b6 is negative, the zero crossing will have occurred between b5 and c6 as in Figure 2, whereas if b5 + b6 is positive, the zero crossing will have occurred between c6 and b6.
- FIG. 3 The arrangement shown in Figure 3 consists basically of three successively connected identical stages shown within dashed boxes 3, 4 and 5 followed by a simplified final stage 6.
- the most significant bit (MSB) of each of the samples x1 and x2, which are indicative of their respective signs (i.e. positive or negative) are also applied to an exclusive-OR gate G1 which affords an output B4 which will typically be at logic level "1" if the signs are different, i.e. a zero crossing has occurred, or at a logic level "0" if the signs are the same i.e. no zero crossing has occurred.
- the samples x1 and x2 are applied to the inputs of an adder A in which they are combined.
- the combined outputs are then applied to a divide-by-two circuit D, which is conveniently implemented by carrying out a right-shift of the combined output from the adder A, which affords an output b4 which is the average of the samples x1 and x2 and which corresponds to the intermediate value b4 already referred to in connection with Figure 2.
- the sign (MSB) bit of the sample x1 and the sign (MSB) bit of the intermediate value b4 are also applied to an exclusive-OR gate G2 which affords an output 83 in dependence upon the relative signs thereof, the output B3 being at logic level "1" if the signs are different or logic level "0" if the signs are the same.
- the output from the exclusive-OR gate G2 is used to select which of the samples x1 and x2 is used with the output b4 in the next stage 4 of the arrangement. This is achieved by making use of two 7-bit dual multiplexers M1 and M2, to multiplexer M1 of which is applied the sample x1 and the intermediate output b4 and to multiplexer M2 of which is applied the intermediate output b4 and the sample x2.
- the multiplexers M1 and M2 are arranged so that if output B3 is at logic level "1" multiplexer M1 passes sample x1 on to the next stage 4 and multiplexer M2 passes intermediate output b4 on to the next stage 4, whereas if output B3 is at logic level "0", multiplexer M1 passes intermediate output b4 on to stage 4 and multiplexer M2 passes on sample x2 to the next stage 4.
- the outputs from the multiplexers M1 and M2 of stage 3 are applied as inputs to the next stage 4 which operates in the same way as stage 3 and which affords an output B2 from its exclusive-OR gate G2 and also two further outputs from the multiplexers M1 and M2 thereof.
- stage 5 which operates in the same way as stages 3 and 4 and which affords an output B1 from its exclusive-OR gate G2 and also two further outputs from its multiplexers M1 and M2 to the final stage 6 of the arrangement.
- the final stage 6 of the arrangement consists of a 7-bit adder A which combines the inputs applied to it and which outputs the sign (MSB) bit of the combined output as a further output B0.
- control signal is derived via a single-bit dual multiplexer M3 of stage 3 which selects between the sign (MSB) bits of the signals applied to the adder A of stage 4 under the control of the 83 output, the output of the multiplexer M3 of stage 3 being applied as one input to exclusive-OR gate G2 of stage 4, to the other input of which is applied the sign (MSB) bit from the output of the divide-by-two circuit D of stage 4.
- exclusive-OR gate G2 of stage 4 affords the output B2 and is applied along with the B3 output to a further exclusive-OR gate G3 the output of which is used to control the multiplexer M2 of stage 4.
- Stage 5 is connected similarly to stage 4.
- stage 6 the sign (MSB) bit of output of the adder A is applied, along with the output of multiplexer M3 of stage 5 to an exclusive-OR gate G4 the output of which affords the output B0.
- the adder A and divide-by-two circuit D of stage 3 average the samples x1 and x2 to afford an output b4.
- the sign (MSB) bit of x1 (logic level “0") and the sign (MSB) bit of b4 (logic level "0") are applied to exclusive-OR gate G2 which affords output B3 (logic level "0").
- Output B3 is also applied to multiplexer M2 of stage 3 which consequently selects sample x2 to be fed to adder A of stage 4.
- Adder A of stage 4 also has the output b4 applied to it and the average value of x2 and b4 which corresponds to b6 is afforded by divide-by-two circuit D of stage 4.
- the sign (MSB) bit of each of b4 (logic level “0") and the output of multiplexer M2 (here x2) (logic level “1") are applied to the multiplexer M3 of stage 3 which is controlled by output B3 (logic level "0"), and which therefore selects the sign (MSB) bit of b4 (logic level "0").
- the output of multiplexer M3 (logic level “0") of stage 3 is applied to exclusive-OR gate G2 of stage 4 along with the sign (MSB) bit of b6 (logic level "1") which affords the output B2 (logic level "1").
- the outputs B3 (logic level “0") and B2 (logic level “1") are applied to exclusive-OR gate G3 of stage 4 which applies a logic level "1" to multiplexer M2 of stage 4 to select output b4 to be fed to adder A of stage 5.
- Adder A of stage 5 also has the output b6 applied to it and the average value of b4 and b6 which corresponds to b5 is afforded by divide-by-two circuit D of stage 5.
- the sign (MSB) bit of each of b6 (logic level “1") and b4 (logic level “0") are applied to the multiplexer M3 of stage 4 which is controlled by output B2 (logic level “1"), and which therefore selects the sign (MSB) bit of b4 (logic level “0”).
- the output of multiplexer M3 (logic level “0") of stage 4 is applied to exclusive-OR gate G2 of stage 5 along with the sign (MSB) bit of b5 (logic level "0") which affords the output B1 (logic level "0").
- the outputs B2 (logic level “1") and B1 (logic level “0") are applied to exclusive-OR gate G3 of stage 5 which applies a logic level "1" to the multiplexer M2 of stage 5 to select output b6 to be applied to adder A of stage 6.
- Adder A of stage 6 also has output b5 applied to it and b6 and b5 are combined in adder A of stage 6 and the sign (MSB) bit of the combined total (logic level "1") is applied as one input to an exclusive-OR gate G4 of stage 6.
- the sign (MSB) bit of each of b5 (logic level “0") and b6 (logic level “1") are applied to multiplexer M3 of stage 5 which is controlled by output B1 (logic level “0") and selects the sign (MSB) bit of b5 (logic level “0") to be applied to exclusive-OR gate G4 of stage 6.
- the exclusive-OR gate G4 of stage 6 affords the B0 output (logic level "1").
- the output word afforded by the outputs B3,B2,B1 and B0 is therefore 0 1 0 1 which according to the table set out hereinbefore corresponds to the zero crossing occurring between the points b5 and c6 on the line 2 of Figure 2.
- zero crossing detector arrangements which have been described have been designed for use in digital teletext decoders, it will be appreciated that they may be used in any suitable application where zero crossings are to be detected from sampled signals.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Television Systems (AREA)
- Manipulation Of Pulses (AREA)
- Dc Digital Transmission (AREA)
- Analogue/Digital Conversion (AREA)
- Measurement Of Radiation (AREA)
- Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
Description
- This invention relates to zero crossing detector arrangements and is especially applicable to such arrangements for use in digital teletext decoders.
- Teletext decoders are known for use, for example, in television receivers for receiving and decoding teletext data which is transmitted as part of the normal television signal, the teletext data being displayed as pages of text and/or graphics on the normal television screen. Up to the present time, teletext decoders have made use of both analogue and digital processing techniques and it is now proposed to provide a fully digital system which will complement the digital television receivers which are currently becoming available.
- Within a digital teletext decoder, the teletext data, after it has been separated from the normal television picture information, is sampled at a frequency which is higher than the data rate frequency, and one of the functions that needs to be carried out is to determine from the sampled signals where zero crossings have occurred in the teletext data. In fact, what is required is the position of the peaks and troughs in the teletext data but this is most easily obtained from a knowledge of the zero crossings that have occurred in the teletext data.
- It is an object of the present invention to provide a zero crossing detector arrangement which is especially suitable for use in a digital teletext decoder.
- According to one aspect of the present invention there is provided a zero crossing detector arrangement which is operable on successive samples of an analogue signal, characterised by means for affording a first output corresponding to the average of two successive samples, means for comparing the signs of one of said two successive samples and said first output to afford a first estimate as to the location of a zero crossing, means for affording a second output corresponding to the average of said first output and a selected one of said successive samples, and further means for comparing the signs of said second output and a selected one of either said one of said two successive samples or said first output to afford a second estimate as to the location of the zero crossing, said first and second estimates substantially defining the position of said zero crossing.
- Such an arrangement has the advantage, when produced in integrated circuit form, that it would occupy less chip area than previously proposed arrangements for detecting a zero crossing.
- A preferred arrangement will be characterised by further means for comparing the signs of said two successive samples and for affording a zero crossing position output when said signs are different.
- In carrying out the invention according to the aforesaid first aspect it may be arranged that the means for affording said first output and said second output each comprise an adder and means for halving the output of said adder, and that said selected one of said successive samples is selected in dependence upon said first estimate.
- Conveniently, multiplexer means may be provided to which said successive samples are applied, for affording said selected one of said successive samples under the control of said first estimate.
- In one arrangement it may be arranged that said multiplexer means comprises two multiplexers each operated under the control of said first estimate, one of said multiplexers having one of said successive samples and said first output applied to it and the other of said multiplexers having the other of said successive samples and said first output applied to it, the output of said multiplexers being applied to said means for affording said second output.
- In an alternative arrangement it may be arranged that said multiplexer means comprises a first multiplexer operated under the control of said first estimate, said first multiplexer having said two successive samples applied to it, said means for affording said second output having the output of said first multiplexer and said first output applied to it, it being conveniently arranged that said means for affording said second output comprises a further multiplexer operable under the control of said first estimate, for selecting the sign of said first output or the sign of the output from said first multiplexer, said second output being afforded in dependence upon the output of said further multiplexer the sign of and said second output.
- Advantageously, said successive samples will be in two's complement form, the most significant bit of which corresponds to the sign of the respective sample, in which case said means for affording said first and second estimates may each comprise an exclusive-OR gate.
- According to a second aspect of the present invention there is provided a method of detecting a zero crossing occurring between successive samples of an analogue signal, characterised by the steps of generating a first output corresponding to the average of two successive samples, generating a first estimate as to the location of a zero crossing by comparing the signs of one of said two successive samples and said first output, generating a second output corresponding to the average of said first output and a selected one of said two successive samples, and generating a second estimate as to the location of the zero crossing by comparing the signs of said second output and a selected one of either said one of said two successive samples on said first output, and substantially defining the position of said zero crossing from said first and second estimates.
- An exemplary embodiment of the invention will now be described, reference being made to the accompanying drawings, in which:
- Figure 1 depicts diagrammatically a sampled analogue signal in the form of a sine wave, which is useful in explaining the operation of the present invention;
- Figure 2 depicts part of the diagram of Figure 1 in greater detail;
- Figure 3 is a block schematic diagram of a zero crossing detector arrangement in accordance with the present invention; and
- Figure 4 is a block schematic diagram of an improved form of the zero crossing detector arrangement shown in Figure 3.
- In Figure 1 of the drawings there is shown an
analogue waveform 1, in the form of a sine wave, which could correspond to part of a teletext data signal received by a teletext decoder. It is assumed that theanalogue waveform 1 is sampled at a rate which is approximately twice the data rate of the signal to afford successive samples x0, x1, x2, x3, x4, etc. A typical teletext data rate is 6.9375 and a typical sampling rate may be 13.5 MHz, which is a sampling rate commonly used in digital television systems. Also, each sample may typically be defined by a 7-bit binary number in two's complement form, where the most significant bit (MSB) is indicative of the sign of the sample (i.e. positive or negative). - The function of the zero crossing detector arrangement to be described is to detect, from a knowledge of the successive samples x0 to x4, etc., where zero crossings have occurred in the
analogue waveform 1. - In Figure 1 it can be seen that a zero crossing ZC occurs between the samples x1 and x2 and an estimate of the position of the zero crossing may be obtained by considering a
straight line 2 drawn between the samples x1 and x2. -
- To evaluate t, a division of two 7-bit numbers every sample period is required, and although this can be done it requires a large amount of pipelining and considerable chip area if the zero crossing detector arrangement is to be constructed in integrated circuit form.
- In the teletext application, it is only necessary to know the position of a zero crossing to an accuracy of 4-bits and it is possible to use a different approach based upon successive bisection of the
straight line 2 drawn between the samples x1 and x2 in Figure 1. - In Figure 2 of the drawings there is shown the
line 2 of Figure 1 on a larger scale. - The fact that a zero crossing has occurred can be determined by comparing the signs of the samples x1 and x2. If they are of opposite sign, i.e. one is positive and the other is negative then a zero crossing must have occurred. If they are both of the same sign e.g. both positive or both negative, then a zero crossing will not have occurred.
- If a zero crossing has occurred as is depicted in Figures 1 and 2, then if the samples x1 and x2 are averaged the
line 2 will be effectively bisected to afford the intermediate value b4. - If the value b4 is then compared with the samples x1 and x2, a comparison of their respective signs will indicate that a zero crossing occurred between b4 and x2 and if these two values are averaged the further intermediate value b6 is obtained.
- The value b6 is then compared with b4 and x2. A comparison of their respective signs will indicate that a zero crossing occurred between b6 and b4 and if these two values are averaged a further intermediate value b5 is obtained.
- The value of b5 is then compared with b6 and b4. A comparison of their respective signs will indicate that a zero crossing occurred between b5 and b6 and if these two values are simply combined, the sign of the combined total will indicate whether the zero crossing is between b5 and a further intermediate point c6 or between b6 and c6. If b5 + b6 is negative, the zero crossing will have occurred between b5 and c6 as in Figure 2, whereas if b5 + b6 is positive, the zero crossing will have occurred between c6 and b6.
- Thus the position of the zero crossing can be determined to the required accuracy.
- In Figure 3 of the drawings there is shown the block schematic diagram of a zero crossing detector arrangement which operates in accordance with the above described successive bisection technique.
- The arrangement shown in Figure 3 consists basically of three successively connected identical stages shown within dashed
boxes - The samples x1 and x2 already referred to in connection with Figures 1 and 2, and which, as has already been mentioned, may each take the form of a 7-bit number in two's complement form, are applied as inputs to the
first stage 3. The most significant bit (MSB) of each of the samples x1 and x2, which are indicative of their respective signs (i.e. positive or negative) are also applied to an exclusive-OR gate G1 which affords an output B4 which will typically be at logic level "1" if the signs are different, i.e. a zero crossing has occurred, or at a logic level "0" if the signs are the same i.e. no zero crossing has occurred. - Within the
stage 3, the samples x1 and x2 are applied to the inputs of an adder A in which they are combined. The combined outputs are then applied to a divide-by-two circuit D, which is conveniently implemented by carrying out a right-shift of the combined output from the adder A, which affords an output b4 which is the average of the samples x1 and x2 and which corresponds to the intermediate value b4 already referred to in connection with Figure 2. The sign (MSB) bit of the sample x1 and the sign (MSB) bit of the intermediate value b4 are also applied to an exclusive-OR gate G2 which affords an output 83 in dependence upon the relative signs thereof, the output B3 being at logic level "1" if the signs are different or logic level "0" if the signs are the same. - As well as affording the output B3, the output from the exclusive-OR gate G2 is used to select which of the samples x1 and x2 is used with the output b4 in the next stage 4 of the arrangement. This is achieved by making use of two 7-bit dual multiplexers M1 and M2, to multiplexer M1 of which is applied the sample x1 and the intermediate output b4 and to multiplexer M2 of which is applied the intermediate output b4 and the sample x2. The multiplexers M1 and M2 are arranged so that if output B3 is at logic level "1" multiplexer M1 passes sample x1 on to the next stage 4 and multiplexer M2 passes intermediate output b4 on to the next stage 4, whereas if output B3 is at logic level "0", multiplexer M1 passes intermediate output b4 on to stage 4 and multiplexer M2 passes on sample x2 to the next stage 4.
- Thus, the outputs from the multiplexers M1 and M2 of
stage 3 are applied as inputs to the next stage 4 which operates in the same way asstage 3 and which affords an output B2 from its exclusive-OR gate G2 and also two further outputs from the multiplexers M1 and M2 thereof. - These outputs are applied as inputs to the input of
stage 5 which operates in the same way asstages 3 and 4 and which affords an output B1 from its exclusive-OR gate G2 and also two further outputs from its multiplexers M1 and M2 to the final stage 6 of the arrangement. - The final stage 6 of the arrangement consists of a 7-bit adder A which combines the inputs applied to it and which outputs the sign (MSB) bit of the combined output as a further output B0.
- It will be readily appreciated that the zero crossing detector arrangement which has been described with reference to Figure 3 closely matches the description of operation that was given in relation to Figure 2 of the drawings and it can easily be shown that the outputs B3, B2, B1 and B0 from the
stages line 2 of Figure 2 that the zero crossing occurs. The following table sets out the various values of the output word for each of the different portions of theline 2 referred to in Figure 2. - It will be appreciated that the arrangement of Figure 3 has been described making use of the samples x1 and x2 referred to in Figure 2 of the drawings, between which samples a zero crossing ZC occurs. It should be appreciated that in normal use the arrangement of Figure 3 will operate on each successive pair of sampled signals, such as the signals x0,x1; x1,x2; x2,x3; x3,x4; depicted in Figure 1 of the accompanying drawings and that a zero crossing will not always occur between each successive pair of samples. To ensure that a valid output word B3,B2,B1,B0 is afforded only when a zero crossing has occurred, the output B4 which is indicative of the existence of a zero crossing having occurred is used to gate the output word and to block any invalid output words.
- It should also be appreciated that although the arrangement of Figure 3 has been described in relation to 7-bit samples and a 4-bit output word, it may be modified to accept other than 7-bit samples and more or fewer of the
stages - Whilst the zero crossing detector arrangement which has been described with reference to Figure 3 operates satisfactorily and can reasonably easily be constructed in integrated circuit form, it makes use of two 7-bit dual multiplexers M1 and M2 for each of the
stages - It will be further appreciated in the zero crossing detector arrangement described with reference to Figure 3 of the drawings that the output from the divide-by-two circuit D of each of the
stages - In the zero crossing detector arrangement shown in Figure 4, the parts thereof that correspond to those already described with reference to Figure 3 have been given the same references. In the arrangement of Figure 4 the output from the divide-by-two circuit D of each stage is connected directly as an input to the adder A of the following stage. The multiplexer M2 of each of the
stages stage 3, the output B3 from the gate G2 is used to control the multiplexer M2. In the case of stage 4, the control signal is derived via a single-bit dual multiplexer M3 ofstage 3 which selects between the sign (MSB) bits of the signals applied to the adder A of stage 4 under the control of the 83 output, the output of the multiplexer M3 ofstage 3 being applied as one input to exclusive-OR gate G2 of stage 4, to the other input of which is applied the sign (MSB) bit from the output of the divide-by-two circuit D of stage 4. The output from exclusive-OR gate G2 of stage 4 affords the output B2 and is applied along with the B3 output to a further exclusive-OR gate G3 the output of which is used to control the multiplexer M2 of stage 4. -
Stage 5 is connected similarly to stage 4. - In stage 6, the sign (MSB) bit of output of the adder A is applied, along with the output of multiplexer M3 of
stage 5 to an exclusive-OR gate G4 the output of which affords the output B0. - The operation of Figure 4, using the example of Figure 2 as a basis is as follows:
- The adder A and divide-by-two circuit D of
stage 3 average the samples x1 and x2 to afford an output b4. The sign (MSB) bit of x1 (logic level "0") and the sign (MSB) bit of b4 (logic level "0") are applied to exclusive-OR gate G2 which affords output B3 (logic level "0"). Output B3 is also applied to multiplexer M2 ofstage 3 which consequently selects sample x2 to be fed to adder A of stage 4. Adder A of stage 4 also has the output b4 applied to it and the average value of x2 and b4 which corresponds to b6 is afforded by divide-by-two circuit D of stage 4. - The sign (MSB) bit of each of b4 (logic level "0") and the output of multiplexer M2 (here x2) (logic level "1") are applied to the multiplexer M3 of
stage 3 which is controlled by output B3 (logic level "0"), and which therefore selects the sign (MSB) bit of b4 (logic level "0"). The output of multiplexer M3 (logic level "0") ofstage 3 is applied to exclusive-OR gate G2 of stage 4 along with the sign (MSB) bit of b6 (logic level "1") which affords the output B2 (logic level "1"). The outputs B3 (logic level "0") and B2 (logic level "1") are applied to exclusive-OR gate G3 of stage 4 which applies a logic level "1" to multiplexer M2 of stage 4 to select output b4 to be fed to adder A ofstage 5. Adder A ofstage 5 also has the output b6 applied to it and the average value of b4 and b6 which corresponds to b5 is afforded by divide-by-two circuit D ofstage 5. - The sign (MSB) bit of each of b6 (logic level "1") and b4 (logic level "0") are applied to the multiplexer M3 of stage 4 which is controlled by output B2 (logic level "1"), and which therefore selects the sign (MSB) bit of b4 (logic level "0"). The output of multiplexer M3 (logic level "0") of stage 4 is applied to exclusive-OR gate G2 of
stage 5 along with the sign (MSB) bit of b5 (logic level "0") which affords the output B1 (logic level "0"). The outputs B2 (logic level "1") and B1 (logic level "0") are applied to exclusive-OR gate G3 ofstage 5 which applies a logic level "1" to the multiplexer M2 ofstage 5 to select output b6 to be applied to adder A of stage 6. Adder A of stage 6 also has output b5 applied to it and b6 and b5 are combined in adder A of stage 6 and the sign (MSB) bit of the combined total (logic level "1") is applied as one input to an exclusive-OR gate G4 of stage 6. - The sign (MSB) bit of each of b5 (logic level "0") and b6 (logic level "1") are applied to multiplexer M3 of
stage 5 which is controlled by output B1 (logic level "0") and selects the sign (MSB) bit of b5 (logic level "0") to be applied to exclusive-OR gate G4 of stage 6. The exclusive-OR gate G4 of stage 6 affords the B0 output (logic level "1"). - The output word afforded by the outputs B3,B2,B1 and B0 is therefore 0 1 0 1 which according to the table set out hereinbefore corresponds to the zero crossing occurring between the points b5 and c6 on the
line 2 of Figure 2. - Although the zero crossing detector arrangements which have been described have been designed for use in digital teletext decoders, it will be appreciated that they may be used in any suitable application where zero crossings are to be detected from sampled signals.
Claims (11)
- A zero crossing detector arrangement which is operable on successive samples (x1,x2,x3,..) of an analogue signal (1), characterised by means (A,D) for affording a first output (b4) corresponding to the average of two successive samples (x1,x2), means (G2) for comparing the signs of one (x1) of said two successive samples and said first output (b4) to afford a first estimate (B3) as to the location of a zero crossing (ZC) , means (A,D) for affording a second output (b6) corresponding to the average of said first output (b4) and a selected one of said two successive samples (x1,x2), and further means (G2) for comparing the signs of said second output (b6) and a selected one of either said one (x1) of said two successive samples (x1,x2) or said first output (b4) to afford a second estimate (B2) as to the location of the zero crossing, said first (B3) and second (B2) estimates substantially defining the position of said zero crossing.
- An arrangement as claimed in claim 1, characterised by comprising means (G1) for comparing the signs of said two successive samples (x1,x2) and for affording an output (B4) which is indicative of the existence of a zero crossing having occurred when said signs are different.
- An arrangement as claimed in claim 1 or claim 2, characterised in that the means for affording said first output (b4) and said second output each comprise an adder (A) and means (D) for halving the output of said adder.
- An arrangement as claimed in claim 1, 2 or 3, characterised by multiplexer means (M1,M2) to which said two successive samples (x1,x2) are applied and for affording said selected one of said two successive samples under the control of said first estimate (B3).
- An arrangement as claimed in claim 4, characterised in that said multiplexer means comprises two multiplexers (M1,M2) each operated under the control of said first estimate (B3), one of said multiplexers (M1) having one of said two successive samples (x1) and said first output (b4) applied to it and the other of said multiplexers (M2) having the other of said two successive samples (x2) and said first output (b4) applied to it, the outputs of said multiplexers being applied to said means (A,D) for affording said second output (b6).
- An arrangement as claimed in claim 4, characterised in that said multiplexer means comprises a first multiplexer (M2) operated under the control of said first estimate (B3), said first multiplexer having said two successive samples (x1,x2) applied to it, said means for affording said second output (b6) having the output of said first multiplexer (M2) and said first output (b4) applied to it.
- An arrangement as claimed in claim 6, characterised in that said means for affording the second estimate (B2) comprises a further multiplexer (M3) operable under the control of said first estimate (B3) for selecting the sign of said first output (b4) or the sign of the output from said first multiplexer (M2), said second estimate (B2) being afforded in dependence upon the output of said further multiplexer (M3) and the sign of said second output (b6).
- An arrangement as claimed in any preceding claim, in which said successive samples are in two's complement form, the most significant bit of which corresponds to the sign of the respective sample.
- An arrangement as claimed in claim 8, in which said means (G2) for affording said first and second estimates each comprise an exclusive-OR gate.
- A method of detecting a zero crossing occurring between successive samples of an analogue signal, characterised by the steps of generating a first output corresponding to the average of two successive samples, generating a first estimate as to the location of a zero crossing by comparing the signs of one of said two successive samples and said first output, generating a second output corresponding to the average of said first output and a selected one of said two successive samples, and generating a second estimate as to the location of the zero crossing by comparing the signs of said second output and a selected one of either said one of said two successive samples or said first output, and substantially defining the position of said zero crossing from said first and second estimates.
- A method as claimed in Claim 10, in which, further, the signs of said two successive samples are compared and an output which is indicative of the existence of a zero crossing having occurred is afforded when said signs are different.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB8912459A GB2232853A (en) | 1989-05-31 | 1989-05-31 | Zero crossing detector arrangements |
GB8912459 | 1989-05-31 |
Publications (3)
Publication Number | Publication Date |
---|---|
EP0400730A2 EP0400730A2 (en) | 1990-12-05 |
EP0400730A3 EP0400730A3 (en) | 1992-01-15 |
EP0400730B1 true EP0400730B1 (en) | 1995-08-02 |
Family
ID=10657622
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP90201316A Expired - Lifetime EP0400730B1 (en) | 1989-05-31 | 1990-05-25 | Zero crossing detector arrangements |
Country Status (5)
Country | Link |
---|---|
US (1) | US5051616A (en) |
EP (1) | EP0400730B1 (en) |
JP (1) | JP3207195B2 (en) |
DE (1) | DE69021274T2 (en) |
GB (1) | GB2232853A (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5151866A (en) * | 1990-03-30 | 1992-09-29 | The Dow Chemical Company | High speed power analyzer |
US5293369A (en) * | 1992-10-28 | 1994-03-08 | International Business Machines Corporation | Asynchronous sampling digital detector system for magnetic and optical recording channels |
DE4426712C2 (en) * | 1994-07-21 | 1996-06-05 | Siemens Ag | Method for detecting the zero crossings of a data signal |
EP0754389B1 (en) * | 1995-02-02 | 2000-04-05 | Philips Electronics N.V. | Merging of video mosaic with teletext |
GB9508209D0 (en) * | 1995-04-22 | 1995-06-07 | Philips Electronics Uk Ltd | Data slicer |
DE19738140A1 (en) * | 1997-09-01 | 1999-03-11 | Siemens Ag | Measuring arrangement for power and / or power factor measurement at at least one measuring point in an AC voltage network |
DE102008018811A1 (en) * | 2008-04-15 | 2009-10-22 | Wilo Ag | Method for determination of current zero crossover of current at phase of polyphase electric motor, involves determining phase angle with occurrence of sign change of measured phase voltage |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4412339A (en) * | 1981-09-24 | 1983-10-25 | Advanced Micro Devices, Inc. | Zero-crossing interpolator to reduce isochronous distortion in a digital FSK modem |
US4625283A (en) * | 1982-05-07 | 1986-11-25 | Cooper Industries, Inc. | Method and apparatus for digitally measuring alternating current |
US4587448A (en) * | 1983-07-27 | 1986-05-06 | Rca Corporation | Signal transition detection circuit |
CA1287127C (en) * | 1987-08-29 | 1991-07-30 | Yasuyuki Oishi | Fsk demodulation circuit |
-
1989
- 1989-05-31 GB GB8912459A patent/GB2232853A/en not_active Withdrawn
-
1990
- 1990-05-24 US US07/528,659 patent/US5051616A/en not_active Expired - Fee Related
- 1990-05-25 DE DE69021274T patent/DE69021274T2/en not_active Expired - Fee Related
- 1990-05-25 EP EP90201316A patent/EP0400730B1/en not_active Expired - Lifetime
- 1990-05-30 JP JP13861990A patent/JP3207195B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH0329511A (en) | 1991-02-07 |
GB8912459D0 (en) | 1989-07-19 |
EP0400730A3 (en) | 1992-01-15 |
DE69021274T2 (en) | 1996-04-04 |
EP0400730A2 (en) | 1990-12-05 |
JP3207195B2 (en) | 2001-09-10 |
GB2232853A (en) | 1990-12-19 |
DE69021274D1 (en) | 1995-09-07 |
US5051616A (en) | 1991-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2674754B2 (en) | Barrel shifter | |
EP0400730B1 (en) | Zero crossing detector arrangements | |
US4326291A (en) | Error detection system | |
US4931970A (en) | Apparatus for determining if there is a loss of data during a shift operation | |
EP0516171B1 (en) | Bit data shift amount detector | |
US4130799A (en) | Method and apparatus for continuous frequency measurement | |
EP0762268A1 (en) | Apparatus and method to determine a most significant digit | |
US5448507A (en) | Reduced logic correlator | |
JP2565730B2 (en) | Overflow detection circuit | |
EP0549247A1 (en) | Sync detector | |
US5293165A (en) | 5B6B coding rule inverse conversion circuit for digital transmission | |
US3697960A (en) | Automatic multirange display apparatus and control therefor | |
US4924314A (en) | Semiconductor device containing video signal processing circuit | |
EP0283847A3 (en) | Apparatus for selecting a reference line for image data compression | |
EP0323760B1 (en) | Digital signal processing device | |
US4530094A (en) | Coding for odd error multiplication in digital systems with differential coding | |
US3909783A (en) | Coded information signal forming apparatus | |
EP0186589B1 (en) | Routing element | |
US4441194A (en) | Triple bit non-coherent matched filter receiving system | |
KR960003182A (en) | Line Redundancy Unit in HDLC NRZI Communication System | |
RU2020744C1 (en) | Universal modulo-m parallel counter-decoder of bits in n-bit binary code | |
SU995108A1 (en) | Data compression device | |
SU717757A1 (en) | Number comparator | |
SU792248A1 (en) | Number sorting apparatus | |
GB1285741A (en) | Probability error corrector |
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 |
|
AK | Designated contracting states |
Kind code of ref document: A2 Designated state(s): DE FR GB IT SE |
|
PUAL | Search report despatched |
Free format text: ORIGINAL CODE: 0009013 |
|
AK | Designated contracting states |
Kind code of ref document: A3 Designated state(s): DE FR GB IT SE |
|
RAP3 | Party data changed (applicant data changed or rights of an application transferred) |
Owner name: N.V. PHILIPS' GLOEILAMPENFABRIEKEN Owner name: PHILIPS ELECTRONICS UK LIMITED |
|
17P | Request for examination filed |
Effective date: 19920714 |
|
17Q | First examination report despatched |
Effective date: 19940118 |
|
GRAA | (expected) grant |
Free format text: ORIGINAL CODE: 0009210 |
|
AK | Designated contracting states |
Kind code of ref document: B1 Designated state(s): DE FR GB IT SE |
|
REF | Corresponds to: |
Ref document number: 69021274 Country of ref document: DE Date of ref document: 19950907 |
|
ITF | It: translation for a ep patent filed | ||
ET | Fr: translation filed | ||
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: SE Effective date: 19951102 |
|
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 |
|
26N | No opposition filed | ||
REG | Reference to a national code |
Ref country code: FR Ref legal event code: CD |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: GB Payment date: 20010521 Year of fee payment: 12 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: FR Payment date: 20010523 Year of fee payment: 12 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: DE Payment date: 20010717 Year of fee payment: 12 |
|
REG | Reference to a national code |
Ref country code: GB Ref legal event code: IF02 |
|
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 NON-PAYMENT OF DUE FEES Effective date: 20020525 |
|
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 NON-PAYMENT OF DUE FEES Effective date: 20021203 |
|
GBPC | Gb: european patent ceased through non-payment of renewal fee |
Effective date: 20020525 |
|
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 NON-PAYMENT OF DUE FEES Effective date: 20030131 |
|
REG | Reference to a national code |
Ref country code: FR Ref legal event code: ST |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: IT Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES;WARNING: LAPSES OF ITALIAN PATENTS WITH EFFECTIVE DATE BEFORE 2007 MAY HAVE OCCURRED AT ANY TIME BEFORE 2007. THE CORRECT EFFECTIVE DATE MAY BE DIFFERENT FROM THE ONE RECORDED. Effective date: 20050525 |