DE4032441C1 - Measuring phase relationship of two analog signals of equal frequency - converting signals into square wave signals, halving frequency on one and counting with clock counters - Google Patents
Measuring phase relationship of two analog signals of equal frequency - converting signals into square wave signals, halving frequency on one and counting with clock countersInfo
- Publication number
- DE4032441C1 DE4032441C1 DE19904032441 DE4032441A DE4032441C1 DE 4032441 C1 DE4032441 C1 DE 4032441C1 DE 19904032441 DE19904032441 DE 19904032441 DE 4032441 A DE4032441 A DE 4032441A DE 4032441 C1 DE4032441 C1 DE 4032441C1
- Authority
- DE
- Germany
- Prior art keywords
- frequency
- counter
- signals
- counters
- counting
- 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 - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
- H03K5/22—Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R25/00—Arrangements for measuring phase angle between a voltage and a current or between voltages or currents
- G01R25/08—Arrangements for measuring phase angle between a voltage and a current or between voltages or currents by counting of standard pulses
Landscapes
- Physics & Mathematics (AREA)
- Nonlinear Science (AREA)
- General Physics & Mathematics (AREA)
- Measuring Frequencies, Analyzing Spectra (AREA)
Abstract
Description
Die Erfindung bezieht sich auf ein Verfahren zur Messung der Phasenlage zweier frequenzgleicher analoger Signale nach dem Oberbegriff des Patentanspruchs 1.The invention relates to a method for measuring the phase position two analog signals of the same frequency according to the generic term of claim 1.
Bei einem bekannten Verfahren dieser Art wird mit einer zeitlich konstanten Abtastrate gearbeitet. Bei der Durchführung dieses Verfahrens müssen bei einem vorgegebenen Frequenzbereich die Zähler in ihrer Kapazität auf die niedrigste vorgesehene Frequenz ausgelegt sein und dementsprechend auch die Teilerschaltung auf die Division der jeweiligen Zählerstände der beiden Zähler. Bei einem nach diesem Verfahren arbeitenden Gerät wird die Genauigkeit der Messung mit zunehmender Frequenz geringer, da die Zahl der Zählimpulse bei einer vorgegebenen Abtastrate um so kleiner wird, je kürzer die Periodendauer ist (U. Tietze, Ch. Schenk; "Halbleiter- Schaltungstechnik", Springer-Verlag, Ausgabe 1985, S. 824-827).In a known method of this type, a time is used constant sampling rate worked. When performing this procedure the counters for a given frequency range designed in its capacity for the lowest intended frequency be and accordingly the divider circuit on the Division of the respective counter readings of the two counters. At a device working according to this procedure will increase the accuracy of the Measurement with increasing frequency lower because of the number of counting pulses at a given sampling rate, the smaller, ever the period is shorter (U. Tietze, Ch. Schenk; "semiconductor Circuit technology ", Springer-Verlag, edition 1985, pp. 824-827).
Aufgabe der Erfindung ist es, ein Verfahren aufzuzeigen, mit dem es möglich ist, über einen großen Frequenzbereich die Messung der Phasenlage mit im wesentlichen gleicher Genauigkeit durchzuführen.The object of the invention is to demonstrate a method with which it is possible to measure the measurement over a wide frequency range Perform phase position with essentially the same accuracy.
Diese Aufgabe wird gemäß der Erfindung gelöst durch die im kennzeichnenden Teil des Patentanspruchs 1 herausgestellten Merkmale.This object is achieved according to the invention by the characterizing Part of claim 1 highlighted features.
Zweckmäßige Ausgestaltungen sind Gegenstand der Unteransprüche.Appropriate configurations are the subject of the subclaims.
Ein zusätzlicher Vorteil besteht noch darin, daß die Kapazität des Zählers unabhängig von der Frequenz der Signale wählbar ist und ausschließlich unter dem Kriterium der zu erreichenden Genauigkeit festzulegen ist.An additional advantage is that the capacity of the Counter is selectable regardless of the frequency of the signals and only under the criterion of the accuracy to be achieved is to be determined.
Die Erfindung ist in der Zeichnung beispielsweise veranschaulicht und nachstehend im einzelnen anhand der Zeichnung beschrieben.The invention is illustrated in the drawing, for example and described in detail below with reference to the drawing.
Fig. 1 zeigt ein Blockschaltbild einer Schaltung zur Messung der Phasenlage; Fig. 1 shows a block diagram of a circuit for measuring the phase position;
Fig. 2 zeigt die in Rechteckspannungen umgewandelten Signale der zu vergleichenden Phasen. Fig. 2 shows the converted signals into square-wave voltages of the phases to be compared.
Die anliegenden anlogen Signale A und B sind frequenzgleich und haben also gleiche Periodenlängen T, sie können aber in ihrer Phasenlage gegeneinander verschoben sein.The analog signals A and B present are of the same frequency and thus have the same period lengths T, but they can in their Phase position be shifted against each other.
Das Ausgangssignal 4 des Wandlers 2 liegt an einem Frequenzteiler 3 und dessen Ausgangssignal an einem binären Zähler 6 an, dessen Ausgangssignal 8 an einer Teilerschaltung 10 anliegt. Das Ausgangssignal 12 des Wandlers 2′ liegt an einem Schalter 14 an, dessen Ausgangssignal 16 an einem weiteren binären Zähler 18 anliegt, dessen Ausgangssignal 20 ebenfalls der Teilerschaltung 10 aufgeschaltet ist. Zwischen dem Frequenzteiler 3 und dem Zähler 6 ist weiter eine Verbindung 22 zum Schalter 14 angeschlossen. The output signal 4 of the converter 2 is applied to a frequency divider 3 and its output signal to a binary counter 6 , the output signal 8 of which is applied to a divider circuit 10 . The output signal 12 of the converter 2 ' is applied to a switch 14 , the output signal 16 of which is applied to a further binary counter 18 , the output signal 20 of which is also connected to the divider circuit 10 . A connection 22 to the switch 14 is also connected between the frequency divider 3 and the counter 6 .
Ein Taktsignalgenerator 24 liegt über eine Teilerschaltung 26 am Zählimpulseingang der beiden Zähler 6, 18 an. Es ist weiter eine Resetschaltung 28 vorgesehen, über die, gesteuert durch die nachlaufende Flanke der Rechteckspannung, die Zähler rückgesetzt und gleichzeitig die Teilerschaltung 10 aktiviert wird. Die insoweit beschriebene Schaltung ist bekannt. Sie arbeitet wie folgt.A clock signal generator 24 is applied to the counting pulse input of the two counters 6, 18 via a divider circuit 26 . A reset circuit 28 is also provided, via which, controlled by the trailing edge of the square-wave voltage, the counter is reset and, at the same time, the divider circuit 10 is activated. The circuit described so far is known. It works as follows.
An dem Zähler 6 liegt eine Rechteckspannung mit einem zeitlichen Flankenabstand T an, während über den Schalter 14 an dem Zähler 18 eine Rechteckspannung mit dem seitlichen Flankenabstand T/2 anliegt. Wie in Fig. 2 angedeutet, sind die Signale in ihren Phasenlagen um die zu bestimmende Phasenverschiebung ϕ gegeneinander verschoben.A square-wave voltage with a temporal edge spacing T is present at the counter 6 , while a square-wave voltage with the lateral edge spacing T / 2 is present at the counter 18 via the switch 14 . As indicated in FIG. 2, the signals in their phase positions are shifted from one another by the phase shift ϕ to be determined.
Durch die vorlaufende Flanke a des Signals A wird das Tor des Zählers 6 geöffnet und gleichzeitig ein Einschaltimpuls auf den Schalter 14 gegeben und das Tor des Zählers 18 geöffnet. In dem Zähler 6 werden die Zählimpulse zwischen der Ein- und der Ausschaltflanke a bzw. b der Rechteckspannungaufsummiert. Das Tor des Zählers 18 wird durch die vorlaufende Flanke c des Signals B geschlossen. Der Zähler 18 zählt also nur während der Zeitdauer zwischen den Flanken a und c.The leading edge a of signal A opens the gate of counter 6 and at the same time gives a switch-on pulse to switch 14 and opens the gate of counter 18 . In the counter 6 , the counting pulses between the on and off edges a and b of the square wave voltage are summed up. The gate of the counter 18 is closed by the leading edge c of the signal B. The counter 18 therefore only counts during the period between the edges a and c.
Die in den Zählern aufsummierten Zählimpulse liegen an der Teilerschaltung 10 an. Durch das oben beschriebene Auslösen des Resetsignals werden die Zähler rückgesetzt und gleichzeitig die Teilerschaltung aktiviert, in der die Teilung B/A vorgenommen wird. Der sich dabei in analoger oder digitaler Form ergebende Wert Z ist der Phasenlage β direkt proportional. Die Phasenlage β läßt sich dann unter Heranziehung einer Normierungskonstante C ausgeben alsThe counted pulses in the counters are applied to the divider circuit 10 . By triggering the reset signal described above, the counters are reset and at the same time the divider circuit is activated, in which the division B / A is carried out. The value Z resulting in analog or digital form is directly proportional to the phase position β. The phase position β can then be output using a normalization constant C as
β = C · Z .β = CZ.
Diese Multiplikation wird in der Multiplikationsschaltung 23 durchgeführt. This multiplication is carried out in the multiplication circuit 23 .
Die Auflösung/Genauigkeit dieser Messung ist eine Funktion von β, der an den Zählern anliegenden Takt- oder Zählfrequenz, der Bitzahl des Zählers und der jeweils anliegenden Signalfrequenz.The resolution / accuracy of this measurement is a function of β, the clock or counting frequency applied to the counters, the number of bits of the counter and the respective applied signal frequency.
Gemäß der Erfindung ist die Teilerschaltung 26 veränderbar, beispielsweise stufenweise mit dem Teilungsfaktor 2. Gesteuert wird diese veränderbare Teilerschaltung in Abhängigkeit vom Ausgang des Zählers 6 in Abhängigkeit von den zwei oder drei höchstwertigsten Bits.According to the invention, the divider circuit 26 is changeable, for example stepwise with the division factor 2. This changeable divider circuit is controlled as a function of the output of the counter 6 as a function of the two or three most significant bits.
Wird bei einer Messung das höchstwertigste Bit n erreicht, wird der Teilungsfaktor erhöht. Wenn das zweithöchstwertige Bit nicht erreicht wird, wird der Teilungsfaktor um den Faktor 2 herabgesetzt. Auf diese Weise wird die Abtastrate in Abhängigkeit vom Ausgang des Zählers so eingestellt, daß wenigstens das zweithöchstwertige Bit, höchstens aber das höchstwertige Bit erreicht wird. Damit wird sichergestellt, daß mit der Toleranz von ±50%, die durch den erwähnten veränderbaren Teilungsfaktor 2 vorgegeben ist, für alle Frequenzen im wesentlichen die gleiche Anzahl von Abtastimpulsen am Zählerausgang 8 erreicht wird. Die Genauigkeit ist damit im wesentlichen unabhängig von der jeweiligen Frequenz und durch die Stufenzahl des Zählers bestimmt. Auch für hohe Genauigkeiten reicht im allgemeinen ein 12-Bit-Zähler aus. Damit ist für Frequenzen zwischen 1 Hz und 3 kHz beispielsweise 0,1% Genauigkeit der Messung erreichbar bei einer Zählimpulsfrequenz von 30 MHz. Mit der gleichen Schaltung ist bis 100 kHz noch eine Genauigkeit von 2 bis 3% erreichbar.If the most significant bit n is reached during a measurement, the division factor is increased. If the second most significant bit is not reached, the division factor is reduced by a factor of 2. In this way, the sampling rate is set depending on the output of the counter so that at least the second most significant bit, but at most the most significant bit is reached. This ensures that with the tolerance of ± 50%, which is predetermined by the variable division factor 2 mentioned, essentially the same number of scanning pulses at counter output 8 is achieved for all frequencies. The accuracy is therefore essentially independent of the respective frequency and determined by the number of stages in the counter. A 12-bit counter is generally also sufficient for high accuracies. For frequencies between 1 Hz and 3 kHz, for example, 0.1% accuracy of the measurement can be achieved at a counting pulse frequency of 30 MHz. With the same circuit, an accuracy of 2 to 3% can still be achieved up to 100 kHz.
Gleichzeitig wird mit der erfindungsgemäß ausgestalteten Schaltung die Wortbreite der Division im gleichen Maß wie die Gesamtzahl der Zählimpulse einer Frequenzperiode, unabhängig von deren zeitlicher Länge, innerhalb der obenerwähnten Toleranz kostant gehalten. Dadurch wird eine höhere Datendurchsatzrate bei gleicher oder verbesserter Auflösung gegenüber der bekannten Schaltung erzielt. At the same time with the circuit designed according to the invention the word width of the division to the same extent as the total number the counting pulses of a frequency period, regardless of their time Length, kept within the above-mentioned tolerance. This will result in a higher data throughput rate at the same or improved resolution compared to the known circuit achieved.
Für die Einstellung der Zählfrequenz oder Abtastrate sollte folgende Bedingung erfüllt sein:For setting the counting frequency or sampling rate, the following should be done Condition must be met:
TZähler max = T + (df/dt) fT counter max = T + (df / dt) f
TZähler max = maximale Zählzeit
T = gemessene Periodendauer
df/dt = Frequenzänderung
f = gemessene EingangsfrequenzT counter max = maximum counting time
T = measured period
df / dt = frequency change
f = measured input frequency
Somit ist, abhängig von der Signalfrequenzänderung df/dt, bei der digitalen Division eine konstante Auflösung von Z bis (n-1) Bits erzielbar, und zwar unabhängig von der Eingangsfrequenz 1/T. Entsprechend wird bei der analogen Division der Signal-Rausch-Abstand für alle Signalfrequenzen verbessert.Thus, depending on the signal frequency change df / dt, the digital division has a constant resolution of Z to (n-1) bits achievable, regardless of the input frequency 1 / T. Corresponding becomes the signal-to-noise ratio in the analog division improved for all signal frequencies.
Ein Vorteil besteht weiter noch darin, daß sich bei dem erfindungsgemäßen Verfahren die Schaltung auch bei einem sehr großen Frequenzbereich automatisch auf die jeweilige Frequenz einstellt und dabei sehr einfach in ihrem Aufbau ist.Another advantage is that the inventive Process the circuit even with a very large one Frequency range automatically adjusts to the respective frequency and is very simple in structure.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE19904032441 DE4032441C1 (en) | 1990-10-12 | 1990-10-12 | Measuring phase relationship of two analog signals of equal frequency - converting signals into square wave signals, halving frequency on one and counting with clock counters |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE19904032441 DE4032441C1 (en) | 1990-10-12 | 1990-10-12 | Measuring phase relationship of two analog signals of equal frequency - converting signals into square wave signals, halving frequency on one and counting with clock counters |
Publications (1)
Publication Number | Publication Date |
---|---|
DE4032441C1 true DE4032441C1 (en) | 1992-03-12 |
Family
ID=6416171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE19904032441 Expired - Fee Related DE4032441C1 (en) | 1990-10-12 | 1990-10-12 | Measuring phase relationship of two analog signals of equal frequency - converting signals into square wave signals, halving frequency on one and counting with clock counters |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE4032441C1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4205300C1 (en) * | 1992-02-18 | 1993-07-08 | Licentia Patent-Verwaltungs-Gmbh, 6000 Frankfurt, De | Digital determination of phase and amplitude of periodic signal in phase locked loop - sampling periodic signal using sampling period to give constant whole number of measured value samples and phase estimates per period |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3801906A (en) * | 1973-01-23 | 1974-04-02 | Gen Motors Corp | Digital frequency meter |
-
1990
- 1990-10-12 DE DE19904032441 patent/DE4032441C1/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3801906A (en) * | 1973-01-23 | 1974-04-02 | Gen Motors Corp | Digital frequency meter |
Non-Patent Citations (3)
Title |
---|
Elektronik 22/27.10.1989, S.48 u. 49 * |
HAUG, Albert "Digitale Methoden der Phasenmessung,Teil 2, Digital anzeigende Verfahren" in "etz-b" Bd.25 (1973) H.11, S.267-270 * |
TIETZE, U., SCHENK, Ch.: "Halbleiter-Schaltungs- technik", Ausgabe 1985, Springer-Verlag, S.824-827 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4205300C1 (en) * | 1992-02-18 | 1993-07-08 | Licentia Patent-Verwaltungs-Gmbh, 6000 Frankfurt, De | Digital determination of phase and amplitude of periodic signal in phase locked loop - sampling periodic signal using sampling period to give constant whole number of measured value samples and phase estimates per period |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0084592B1 (en) | Process and device for measuring the time difference between the sampling-times of two sampled signals, in particular of the input and output signals of a sampling frequency converter | |
DE3332152C2 (en) | ||
DE2431825A1 (en) | DIGITAL CIRCUIT ARRANGEMENT FOR MEASURING THE CURRENT FREQUENCY OF EVENTS REPRESENTED BY IMPULSES | |
DE2726277A1 (en) | SAMPLE SIGNAL DETECTOR | |
DE2430652C3 (en) | Analog-to-digital converter | |
EP0017251B1 (en) | Circuitry for determining the mean period length of a periodical signal | |
DE2833556C2 (en) | Multiplier | |
EP0610990B1 (en) | Digital phase-locked loop | |
DE2456156C2 (en) | Analog-to-digital converter | |
DE2133726C3 (en) | Circuit arrangement for converting a voltage into a pulse ratio | |
DE4032441C1 (en) | Measuring phase relationship of two analog signals of equal frequency - converting signals into square wave signals, halving frequency on one and counting with clock counters | |
EP0541878A1 (en) | Delta sigma analog to digital converter | |
DE2336015A1 (en) | CIRCUIT ARRANGEMENT FOR CONVERTING A FREQUENCY INTO A BINARY NUMBER | |
DE2608265B1 (en) | MULTI-PHASE MOS CIRCUIT TO CHANGE THE PULSE DURATION | |
DE2150174C3 (en) | Apparatus and method for displaying a chromatographic bump | |
DE2743410C3 (en) | Method for the temporal stabilization of periodic sampling pulses and arrangements for carrying out the method | |
DE2853617C2 (en) | ||
DE2704317B2 (en) | Rate measuring device for clocks | |
DE2710270B2 (en) | Circuit arrangement for generating clock pulses synchronized with incoming data pulses | |
DE2709726C3 (en) | Pulse duration display circuit | |
DE2840065C2 (en) | Circuit arrangement for generating a sampling pulse sequence for a periodic signal | |
DE2616585A1 (en) | SOUND LEVEL METER | |
DE2904815C2 (en) | Method and device for forming the frequency difference between two pulse trains | |
DE2142053A1 (en) | Time selection circuit | |
DE3240528C2 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
8100 | Publication of the examined application without publication of unexamined application | ||
D1 | Grant (no unexamined application published) patent law 81 | ||
8364 | No opposition during term of opposition | ||
8339 | Ceased/non-payment of the annual fee |