WO2022091331A1 - Frequency detector - Google Patents

Frequency detector Download PDF

Info

Publication number
WO2022091331A1
WO2022091331A1 PCT/JP2020/040784 JP2020040784W WO2022091331A1 WO 2022091331 A1 WO2022091331 A1 WO 2022091331A1 JP 2020040784 W JP2020040784 W JP 2020040784W WO 2022091331 A1 WO2022091331 A1 WO 2022091331A1
Authority
WO
WIPO (PCT)
Prior art keywords
frequency detector
input
phase
data
index
Prior art date
Application number
PCT/JP2020/040784
Other languages
French (fr)
Japanese (ja)
Inventor
勝己 高橋
將 白石
Original Assignee
三菱電機株式会社
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to PCT/JP2020/040784 priority Critical patent/WO2022091331A1/en
Priority to JP2022558740A priority patent/JP7204064B2/en
Publication of WO2022091331A1 publication Critical patent/WO2022091331A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/16Spectrum analysis; Fourier analysis

Definitions

  • the present disclosure technique relates to a device that detects a frequency in real time using a fast Fourier transform (hereinafter referred to as "FFT").
  • FFT fast Fourier transform
  • Patent Document 1 discloses applications such as Doppler radar and Doppler sonar, and discloses a technique for obtaining a Doppler frequency by FFTing a reflected echo signal.
  • Patent Document 1 provides a technique for adding zero data to a digital data string so as to reach the reference sample number, with the sample number required for the fast Fourier transform as the reference sample number in order to satisfy the required frequency resolution. It is disclosed.
  • Patent Document 1 has a problem that the processing speed is halved and the circuit scale is doubled when the double resolution is obtained.
  • An object of the present disclosure technique is to provide a frequency detector that increases the resolution while maintaining the processing speed and suppressing the increase in the circuit scale.
  • the frequency detector according to the present disclosure technique detects an FFT device that calculates N Fourier transform results from N sampling data, and an index that is the order of the frequencies having the maximum amplitude among the Fourier transform results.
  • a frequency detector comprising a detector, two input systems in which an input line is branched into two, a Fourier type memory connected to one of the two input systems to cause a delay, and the above.
  • An adder / subtractor that adds / subtracts N sampling data from an input system with a Fourier type memory and another N sampling data from another input system, generates a phase, and converts the generated phase into a complex number.
  • a correction calculator further comprising a phase generator for multiplying the data added / subtracted by the addition / subtractor with the complex number converted from the phase by the phase generator, and an output from the multiplier.
  • the calculation of the Fourier transform result is performed twice or more for the obtained data, the corresponding amplitudes of the plurality of indexes detected from the respective Fourier transform results are compared, and the index having the larger amplitude is selected.
  • the frequency detector according to the present disclosure technique has the above configuration, it is possible to obtain the result of Fourier transform with double resolution in the vicinity of the peak frequency without increasing the number of sampling points in order to double the frequency resolution. .. Therefore, it is possible to realize a frequency detector that increases the resolution while maintaining the processing speed and suppressing the increase in the circuit scale.
  • FIG. 1 is a block diagram showing a configuration of a frequency detector according to the first embodiment.
  • FIG. 2 is a block diagram showing a configuration of a correction calculator in the frequency detector according to the second embodiment.
  • FIG. 3 is a block diagram showing a configuration of a correction calculator in the frequency detector according to the third embodiment.
  • FIG. 4 is a block diagram showing a configuration of a correction calculator in the frequency detector according to the fourth embodiment.
  • FIG. 5 is a block diagram showing a configuration of a correction calculator in the frequency detector according to the fifth embodiment.
  • FIG. 6 is a block diagram showing a configuration of the frequency detector according to the sixth embodiment.
  • FIG. 7 is a block diagram showing a configuration of the frequency detector according to the seventh embodiment.
  • FIG. 8 is a timing chart showing the processing timing of the frequency detector according to the fourth embodiment.
  • FIG. 9 is a block diagram showing a configuration of the frequency detection device according to the ninth embodiment.
  • FIG. 1 is a block diagram showing a configuration of a frequency detector 1 according to the first embodiment.
  • the frequency detector 1 detects an input line 2 for receiving input data, an output line 3 for sending out a detection result, a correction calculator 4 for correcting the input data, an FFT device 5 for performing an FFT, and a maximum peak.
  • a detector 6 and a selector 7 for selecting an output value are provided.
  • the FFT device 5 may perform a discrete Fourier transform.
  • the operation of the frequency detector 1 will be clarified by the following specific example. Specifically, the case where the number of sample data is N and the resolution is doubled is illustrated.
  • the N sample data are transmitted to the correction calculator 4 via the input line 2.
  • the correction calculator 4 corrects the transmitted N sample data and outputs the corrected data to the FFT device 5.
  • the internal operation of the correction calculator 4 will be described later.
  • the FFT device 5 Fourier transforms the sent N sample data, and also outputs the N Fourier transform results to the detector 6. Assuming that N sampling data are ⁇ x 0 , x 1 , ..., X N-1 ⁇ , the FFT device 5 has N Fourier transform calculation results ⁇ F (f 0 ), F (f 1 ), ... F ( f N-1 ) ⁇ is calculated.
  • f 0 , f 1 , ... f N-1 are frequencies arranged in ascending order, and the Fourier transform calculation result F (.) Is a complex number.
  • the detector 6 first calculates the absolute value of the complex number which is the result of the Fourier transform calculation.
  • the absolute value of a complex number is the distance from the origin when the complex number is plotted on the complex plane.
  • the absolute value of the Fourier transform calculation result F (f 1 ) is represented by using the symbol
  • is called "amplitude" at the frequency f 1 .
  • the detector 6 detects an index of the peak frequency having the maximum amplitude and the frequency having the maximum amplitude among the frequencies having the maximum amplitude (hereinafter referred to as “peak frequency”).
  • the index means the order in which the frequencies of the FFT results are arranged in ascending order. More specifically, the index is the symbols f 0 , f 1 , ... f N-1 , and the subscripts 0, 1, ... N-1 representing the frequency.
  • the detector 6 outputs the detected index and amplitude to the selector 7.
  • the selector 7 first doubles the transmitted index. Next, the selector 7 counts the first receipt as the 0th and adds 1 to the odd-numbered received index. Further, for the indexes received for the last two times, the corresponding amplitudes of each are compared, and the index having the larger amplitude is selected. Finally, the selector 7 outputs the selected index or the frequency corresponding to the index to the output line 3. By the above operation, the frequency detector 1 can output the peak frequency having the maximum amplitude.
  • the correction calculator 4 has an input of an input line 2, and is composed of a FIFO type memory 8, an addition / subtractor 9, a multiplier 10, and a phase generator 11. Further, the correction calculator 4 constitutes the frequency detector 1 and is arranged in front of the FFT device 5.
  • the FIFO type memory 8 of the correction calculator 4 stores N sampling data transmitted from the input line 2.
  • the FIFO type memory 8 newly stores N sampling data and starts output at the same time, and keeps holding N data at all times.
  • the adder / subtractor 9 of the correction calculator 4 adds / subtracts the N sampling data transmitted from the input line 2 and the N data output from the FIFO type memory 8. Specifically, the addition / subtractor 9 switches between addition and subtraction with N additions and subtractions as one unit. For the subtraction here, the value of the input line 2 is subtracted from the output value of the FIFO type memory 8.
  • the multiplier 10 of the correction calculator 4 multiplies the value output from the adder / subtractor 9 by the complex number output from the phase generator 11.
  • the FFT device 5 Fourier transforms N sampling data transmitted from the input line 2 as it is like a normal Fourier transform.
  • the intention of giving the phase ⁇ generated by the phase generator 11 in the equation (1B) requires explanation, and details thereof will be described here.
  • the discrete Fourier transform performed by the FFT device 5 is given by the following equation (2). However, here, k represents an index.
  • the Fourier transform performed by the FFT device 5 becomes the following equation (3).
  • the phase increment of the basic harmonic of the Fourier transform is 2 ⁇ / N
  • the phase increment of the k harmonic is 2k ⁇ / N
  • the phase increment of the k + 1 harmonic is 2 (k + 1) ⁇ / N.
  • the phase increment is the increment of the shoulder of the exponential function when n is increased by one, but in other words, it corresponds to the frequency of the signal used in the Fourier transform.
  • the selector 7 selects any one of the two latest transmitted indexes.
  • the index first transmitted from the detector 6 is m, and the index transmitted next is p.
  • the amplitude when the index is m is Am
  • the amplitude when the index is p is Ap.
  • the selector 7 converts the transmitted index ⁇ m, p ⁇ into the index ⁇ 2m, 2p + 1 ⁇ .
  • the selector 7 compares Am and Ap of the amplitude, and selects the index corresponding to the one having the larger amplitude. For example, if Ap is larger, 2p + 1 is selected as an index, and the corresponding frequency is obtained using the following formula.
  • Frequency Sampling frequency of input data x Index ⁇ 2N ⁇ ⁇ ⁇ (4) Therefore, the frequency of the peak whose index is 2p + 1 can be obtained by sampling frequency ⁇ (2p + 1) ⁇ 2N.
  • the frequency detector according to the first embodiment doubles the frequency resolution without reducing the processing speed and doubling the circuit scale as compared with the conventional frequency detector. Can be.
  • the processing speed and circuit scale in the effect of the invention need a little explanation, so they will be described here.
  • the processing speed here refers to the throughput.
  • the circuit scale of an FFT device capable of real-time processing doubles as the number of points doubles. Therefore, the circuit scale of the correction calculator 4 is sufficiently smaller than that of the FFT device 5, except in a special case where the number of sample points is small.
  • the specific difference in circuit scale differs depending on the device such as FPGA, the configuration of the circuit provided by the vendor, the tool for synthesizing the circuit, and the like. That is, the frequency detector in the present disclosed technique can have a smaller circuit scale than the configuration of the FFT device that doubles the points without slowing down the processing speed.
  • the resolution of the frequency detector requires a little explanation, so it will be described here.
  • the resolution is a value obtained by "input sampling frequency / FFT score". Therefore, If the sampling frequency is kept as it is, the sampling time is doubled, and the number of sampling points is doubled, the resolution is doubled.
  • the frequency detector according to the first embodiment outputs a result equivalent to the result obtained by doubling the FFT score under certain conditions by doubling the sampling time.
  • the constant condition is that the received signal does not fluctuate in two different integration intervals.
  • Embodiment 2 As the frequency detector according to the first embodiment, the one in which the correction calculator 4 includes one FIFO type memory 8 is described. However, in the present disclosed technique, only one FIFO type memory 8 shows the minimum required number, and is not limited to this.
  • the frequency detector according to the second embodiment includes a plurality of FIFO type memories 8 (8a, 8b) and a plurality of phase rotators 13 (13a, 13b, 13c) in a subsequent stage.
  • the overall configuration of the frequency detector according to the second embodiment is the same as the overall configuration of the first embodiment (see FIG. 1).
  • the same reference numerals are used for the components common to the first embodiment. Further, the description overlapping with the first embodiment will be omitted as appropriate.
  • FIG. 2 is a block diagram showing a configuration of a correction calculator 4 in the frequency detector according to the second embodiment.
  • the correction calculator 4 of the second embodiment includes an input line 2 for receiving input data, a plurality of FIFA type memories 8 (8a, 8b) for temporarily holding data, a multiplier 10 for performing multiplication operations, and a phase.
  • the phase generator 11 for generating the above, the output line 12, the plurality of phase rotors 13 (13a, 13b, 13c) for rotating the phase, and the adder 14 for performing the addition calculation are provided.
  • correction calculator 4 of the second embodiment will be clarified by the following specific example.
  • the technique according to the second embodiment is intended to triple the resolution.
  • the operation of the frequency detector according to the second embodiment is the same as that of the first embodiment except for the operation of the selector 7.
  • the operation of the frequency detector 1 according to the second embodiment will be clarified by the following specific example. Specifically, the case where the number of sample data is N and the resolution is tripled is illustrated.
  • the N sample data are transmitted to the correction calculator 4 of the frequency detector 1 via the input line 2.
  • the correction calculator 4 corrects the transmitted N sample data and outputs the corrected data to the FFT device 5.
  • the internal operation of the correction calculator 4 will be described later.
  • the FFT device 5 Fourier transforms the sent N sample data, and also outputs the N Fourier transform results to the detector 6.
  • the detector 6 selects an index having the maximum amplitude from the results of N Fourier operations, and outputs the value of the amplitude corresponding to the selected index to the selector 7.
  • the selector 7 first triples the transmitted index. Next, the selector 7 counts the first receipt as the 0th, and adds the remainder obtained by dividing the number in the order of receipt by 3 to the received index. Further, for the indexes received for the last three times, the corresponding amplitudes of each are compared, and the index having the maximum amplitude is selected. Finally, the selector 7 outputs the selected index or the frequency corresponding to the index to the output line 3. By the above operation, the frequency detector 1 can output the peak frequency having the maximum amplitude.
  • the plurality of FIFO type memories 8 (8a, 8b) of the correction calculator 4 store N sampling data transmitted from the input line 2, respectively.
  • Each of the plurality of FIFO type memories 8 (8a, 8b) newly stores N sampling data and starts output at the same time, and keeps holding N data at all times.
  • the correction calculator 4 includes a plurality of phase rotators 13 (13a, 13b) arranged after each of the plurality of FIFO type memories 8 (8a, 8b). In addition to the above, the correction calculator 4 includes a phase rotator 13 (13c) directly connected to the input line 2.
  • the phase rotator 13 (13a, 13b, 13c) exerts an action of rotating the phase with respect to the input value. Specific matters such as the amount of rotation will be described later.
  • the adder / subtractor 9 of the correction calculator 4 adds three values output by each of the phase rotators 13 (13a, 13b, 13c). That is, the adder / subtractor 9 according to the second embodiment further includes an adder / subtractor input, and further adds / subtracts N sampling data.
  • the multiplier 10 of the correction calculator 4 multiplies the value output from the adder / subtractor 9 by the complex number output from the phase generator 11. This multiplication result becomes the correction result of the correction calculator 4.
  • the generated phase ⁇ is given by the following mathematical formula.
  • Phase ⁇ ((n div N) mod 3) x (x mod N) x 2 ⁇ ⁇ (3N) ... (5)
  • n represents the sampling number
  • div and mod represent the quotient and the surplus in the division of integers, respectively.
  • the plurality of phase rotators 13 (13a, 13b, 13c) included in the correction calculator 4 operate as follows.
  • the phase rotator 13a arranged after the FIFO type memory 8a is just a name of a phase rotator and does not actually rotate the phase.
  • the phase in which the phase rotator 13a rotates may be rephrased as 0 [rad].
  • the phase rotator 13a can be replaced with a delay circuit. Further, the phase rotator 13a may be configured to be eliminated by changing the number of holdings of the FIFO type memory 8a.
  • the selector 7 selects any one of the transmitted indexes for the last three times.
  • the index transmitted first from the detector 6 is m
  • the index transmitted next is p
  • the index transmitted last is q.
  • the amplitude when the index is m is Am
  • the amplitude when the index is p is Ap
  • the amplitude when the index is q is A q .
  • the selector 7 converts the transmitted index ⁇ m, p, q ⁇ into the index ⁇ 3m, 3p + 1, 3q + 2 ⁇ .
  • the selector 7 compares the amplitudes Am , Ap , and Aq , and selects the index corresponding to the maximum amplitude. For example, if A q is the maximum, 3q + 2 is selected as an index, and the corresponding frequency is obtained using the following formula.
  • Frequency Sampling frequency of input data x Index ⁇ 3N ⁇ ⁇ ⁇ (8) Therefore, the frequency of the peak whose index is 3q + 2 can be obtained by sampling frequency ⁇ (3q + 2) ⁇ 3N.
  • the frequency detector according to the second embodiment keeps the number of sampling points at N, does not reduce the processing speed as compared with the conventional frequency detector, and has a circuit scale of 3.
  • the frequency resolution can be tripled without doubling.
  • the frequency detector according to the second embodiment shows an example in which the frequency resolution is tripled, but the present invention is not limited to this, and the frequency resolution can be generalized to be L times.
  • Embodiment 3 The frequency detector according to the third embodiment includes another correction calculator 4 different from the frequency detector according to the above-described embodiment.
  • FIG. 3 is a block diagram showing the configuration of the correction calculator 4 of the frequency detector according to the third embodiment.
  • the overall configuration of the frequency detector according to the third embodiment is the same as the overall configuration of the first embodiment (see FIG. 1).
  • the same reference numerals are used for the components common to the above-described embodiments. Further, the description overlapping with the above-described embodiment will be omitted as appropriate.
  • the correction calculator 4 of the third embodiment performs a multiplication operation with an input line 2 for receiving input data and a plurality of FIFA type memories (8, 22) for temporarily holding the data. It includes a multiplier 10, a phase generator 11 that generates a phase, an output line 12, an adder / subtractor 21 that performs both addition and subtraction, and a selector 23 that switches inputs.
  • the operation of the correction calculator 4 of the third embodiment will be clarified by the following specific example.
  • the technique according to the third embodiment is intended to double the resolution in an embodiment different from that described above.
  • the operation of the frequency detector according to the third embodiment is the same as that of the above-described embodiment except for the operation of the correction calculator 4.
  • the FIFO type memory 8 of the correction calculator 4 stores N sampling data transmitted from the input line 2.
  • the FIFO type memory 8 newly stores N sampling data and starts output at the same time, and keeps holding N data at all times.
  • the addition / subtractor 21 of the correction calculator 4 starts addition and subtraction at the same time as the output from the FIFO type memory 8 starts. As shown in FIG. 3, the adder / subtractor 21 has two output lines, an output line for an addition result and an output line for a subtraction result. The adder / subtractor 21 pauses N times after repeating the addition / subtraction N times after the start. After that, the addition / subtractor 21 switches between addition / subtraction and pause every N times.
  • the second FIFO type memory 22 of the correction calculator 4 is connected to the subtraction result output line of the adder / subtractor 21 and stores the subtraction result.
  • the second FIFO type memory 22 starts output at the same time as storing Nd units, and continues output until it becomes empty.
  • d is an integer value obtained by dividing the delay time generated by the multiplier 10 by the data input interval s.
  • the multiplier 10 of the correction calculator 4 multiplies the value output from the second FIFO type memory 22 by the complex number output from the phase generator 11. The result of the multiplication is transmitted to the selector 23 of the correction calculator 4.
  • the generated phase ⁇ is set to 0 for the first time, ⁇ / N is added each time the phase is sent, and the phase is returned to 0 every N times.
  • the selector 23 of the correction calculator 4 has two input lines, one is an output line for the addition result of the addition / subtractor 21, and the other is an output line of the multiplier 10.
  • the selector 23 selects the addition result of the adder / subtractor 21 N times, and then selects the multiplication result of the multiplier 10 N times. After that, the selector 23 switches the selection destination every N times.
  • the correction calculator 4 corrects the input value.
  • the frequency detector according to the third embodiment keeps the number of sampling points at N, does not reduce the processing speed as compared with the conventional frequency detector, and doubles the circuit scale.
  • the frequency resolution can be doubled without causing it.
  • once every two times the same result as the result obtained by doubling the sampling points can be obtained. It should be noted that the same result is obtained at the odd-numbered output starting from 0.
  • Embodiment 4 The frequency detector according to the fourth embodiment includes another correction calculator 4 different from the frequency detector according to the above-described embodiment.
  • FIG. 4 is a block diagram showing the configuration of the correction calculator 4 of the frequency detector according to the fourth embodiment.
  • the overall configuration of the frequency detector according to the fourth embodiment is the same as the overall configuration of the first embodiment (see FIG. 1).
  • the same reference numerals are used for the components common to the above-described embodiments. Further, the description overlapping with the above-described embodiment will be omitted as appropriate.
  • the correction calculator 4 of the fourth embodiment includes an input line 2 that receives input data, a plurality of FIFA type memories 8 that temporarily hold the data, and a multiplier 10 that performs a multiplication operation.
  • the phase generator 11 that generates the phase, the output line 12, the adder / subtractor 21 that performs both addition and subtraction, the selectors 23 and 25 that switch the input, and the delayers 24 and 26 that delay the input for a short time. To prepare for.
  • the operation of the correction calculator 4 of the fourth embodiment will be clarified by the following specific example.
  • the technique according to the fourth embodiment is intended to double the resolution in a different embodiment from that of the previous embodiment.
  • the operation of the frequency detector according to the fourth embodiment is common to the operation shown in the third embodiment.
  • the second difference is that with the integration of the FIFO type memory 8, the delay amount is adjusted for each of the delay devices 24 and 26, and the selector 25 is configured to select the data to be output to the FIFO type memory 8. be.
  • the delay device 24 of the correction calculator 4 delays the data from the input line 2.
  • the delay amount is set to be equal to the delay amount generated by the adder / subtractor 21.
  • the selector 25 of the correction calculator 4 selects the output from the delay device 24 at the first N times, and selects the subtraction result of the adder / subtractor 21 at the next N times. After that, the selector 25 switches the selection destination every N times.
  • the FIFO type memory 8 of the correction calculator 4 stores the data transmitted from the selector 25.
  • the FIFO type memory 8 starts output at the same time as storing N-e pieces of data, and continues to hold N-e pieces of data.
  • e is an integer value obtained by dividing the delay amount of the adder / subtractor 21 by the data input interval s on the input line 2.
  • the addition / subtractor 21 of the correction calculator 4 starts the addition / subtraction process at the same time as the output from the FIFO type memory 8 starts. After starting the process, the adder / subtractor 21 performs N times of addition / subtraction, and then pauses for N times. After that, the addition / subtractor 21 switches between addition / subtraction and pause every N times.
  • the delay device 26 of the correction calculator 4 delays the output of the addition result of the addition / subtraction device 21.
  • the delay amount is a value obtained by dividing the difference in delay generated between the multiplier 10 and the adder / subtractor 21 by the data input interval s.
  • the multiplier 10 of the correction calculator 4 multiplies the output from the FIFO type memory 8 by 1, the next N pieces are multiplied by the complex number output by the phase generator 11, and the result of the multiplication is selected. Output to 23. After that, the multiplier 10 switches the value to be multiplied for each N pieces of data between 1 and a complex number.
  • the phase ⁇ to be generated has an initial value of 0, is added by ⁇ / N each time one phase is output, and is returned to 0 every time it is sent N times. Note that the output of the complex number to the multiplier 10 matches the timing at which the multiplier 10 multiplies.
  • the selector 23 of the correction calculator 4 selects the addition result of the addition / subtractor 21 N times, and then selects the multiplication result of the multiplier 10 N times. After that, the selector 23 switches the selection destination every N times. By the above operation, the correction calculator 4 corrects the input data.
  • the frequency detector according to the fourth embodiment keeps the number of sampling points at N, does not reduce the processing speed as compared with the conventional frequency detector, and doubles the circuit scale.
  • the frequency resolution can be doubled without causing it.
  • the same result as the result obtained by doubling the sampling points can be obtained. That is, the frequency detector according to the fourth embodiment realizes the same result as the frequency detector according to the third embodiment in a configuration in which the number of FIFO type memories is reduced.
  • FIG. 8 is a timing chart showing the processing timing of the frequency detector according to the fourth embodiment.
  • the band of each row of the timing chart of FIG. 8 is obtained by dividing the data into N pieces.
  • the top square wave in the timing chart of FIG. 8 is a clock signal.
  • INPUT / 2 indicates each data on the input line 2
  • Delay / 24 indicates the output of the delay device 24
  • SEL / 25 indicates the output of the selector 25, and “FIFO /”.
  • the frequency detector according to the fifth embodiment includes another correction calculator 4 different from the frequency detector according to the above-described embodiment.
  • FIG. 5 is a block diagram showing the configuration of the correction calculator 4 of the frequency detector according to the fifth embodiment.
  • the overall configuration of the frequency detector according to the fifth embodiment is the same as the overall configuration of the first embodiment (see FIG. 1).
  • the same reference numerals are used for the components common to the above-mentioned embodiments. Further, the description overlapping with the above-described embodiment will be omitted as appropriate.
  • the correction calculator 4 of the fifth embodiment includes a memory controller 15 that controls the external memory 16.
  • the external memory 16 and the memory controller 15 operate and function in the same manner as the FIFO type memory 8 in the correction calculator 4 of the first embodiment.
  • the frequency detector according to the fifth embodiment has a smaller circuit scale than the frequency detector according to the first embodiment when an external memory can be used, and the first embodiment has a smaller circuit scale. The same effect as such a frequency detector can be obtained.
  • Embodiment 6 The frequency detector according to the above-described embodiment has shown a configuration of one system in which the number of input lines is set to the minimum necessary one, but the present invention is not limited to this.
  • the frequency detector according to the sixth embodiment is configured with two inputs.
  • FIG. 6 is a block diagram showing a configuration of the frequency detector according to the sixth embodiment. That is, the frequency detector according to the sixth embodiment is configured to newly increase the input system and input directly to the adder / subtractor instead of the adder / subtractor input to which the FIFO type memory is connected, and each input system. Was configured to input N sampling data with different sampling timings.
  • the frequency detector according to the sixth embodiment includes input lines 2 (2a, 2b) that receive input data of two systems.
  • the input lines 2 (2a, 2b) are intended to handle the input data by N sampling data, respectively, with the timings shifted by N samples.
  • the operating principle of the frequency detector according to the sixth embodiment is the same as the operating principle of the frequency detector according to the first embodiment. The difference is that there are two input systems.
  • the input line 2b is a point in which the input line 2a handles N sample data and then handles the next N sample data.
  • the frequency detector according to the sixth embodiment can increase the reduced resolution (restore the resolution) by doubling the sampling rate.
  • the frequency detection device according to the sixth embodiment can be applied even when the sampling rate does not change.
  • This is nothing but a configuration in which the FIFO type memory 8 of FIG. 1 is moved to the front stage of the present device (the input line 2a side outside the device). In this case, if the input data string from 0 to N-1 and the input data string from N to 2N-1 are made the same on the input line 2 (2a, 2b) in a 2N cycle, the third embodiment is performed. The same output as the frequency detector is obtained.
  • Embodiment 7 The frequency detector according to the sixth embodiment has two input systems, but the number of input systems may be further increased.
  • the frequency detector according to the seventh embodiment is characterized in that the number of input systems is increased to three.
  • FIG. 7 is a block diagram showing a configuration of the frequency detector according to the seventh embodiment.
  • the frequency detector according to the seventh embodiment includes input lines 2 (2a, 2b, 2c) that receive input data of three systems.
  • input lines 2 (2a, 2b, 2c) are intended to handle the input data by N sampling data, respectively, with the timings shifted by N samples.
  • the operating principle of the frequency detector according to the seventh embodiment is the same as the operating principle of the frequency detector according to the second embodiment.
  • the difference is that there are three input systems.
  • the input line 2b handles the next N sample data after the input line 2a handles N sample data.
  • the input line 2c handles N sample data after the input line 2b handles N sample data.
  • the frequency detector according to the seventh embodiment can increase the reduced resolution (restore the resolution) by triple the sampling rate. Further, the frequency detection device according to the seventh embodiment shows that the input system has three systems, but the frequency detection device is not limited to this.
  • the disclosed technique can generalize an input system to one having 3 or more L input systems.
  • Embodiment 8 The frequency detection device according to the above-described embodiment has been described for the operation of detecting the peak frequency of the maximum amplitude. Similar to the conventional frequency detection device, there may be a plurality of peak frequencies to be detected at the same time.
  • the configuration of the frequency detection device according to the eighth embodiment is the same as the configuration according to the first embodiment (see FIG. 1). The operation when detecting a plurality of peak frequencies is clarified by the detector 6 and the selector 7 and the operation according to a specific example.
  • a specific example of the eighth embodiment detects three frequencies at the same time.
  • the detector 6 detects one or more peak frequencies and outputs the detected index to the selector 7.
  • the detector 6 performs the following operation on the output index.
  • the detector 6 first doubles the received index.
  • the detector 6 counts the first receipt as the 0th and adds 1 to the odd-numbered received index.
  • the selector 7 integrates these two indexes if there are two indexes in which the difference between the indexes becomes 1 at the stage of the output by the detector 6 among the indexes output for the last two times.
  • the three indexes are converted into frequencies in descending order of amplitude, and the converted frequency values are output to the output line 3.
  • the frequency detector according to the eighth embodiment keeps the number of sampling points at N, does not reduce the processing speed as compared with the conventional frequency detector, and doubles the circuit scale. It is possible to double the frequency resolution and detect a plurality of peak frequencies at the same time without causing the problem.
  • the number of peak frequencies to be detected is fixed at 3, but the number is not limited to this.
  • the peak frequency to be detected may be determined by the amplitude threshold value or may be determined by combining the amplitude threshold value and the number condition.
  • Embodiment 9 The frequency detector according to the above-described embodiment has been described on the premise that a dedicated processing circuit is used, but the present invention is not limited to this.
  • the frequency detector according to the ninth embodiment adopts a configuration in which the function of the frequency detector according to the above-described embodiment is realized by using a general processor.
  • FIG. 9 is a block diagram showing a configuration of the frequency detection device according to the ninth embodiment.
  • the frequency detector 31 has an input line 32 for receiving data, an output line 33 for outputting a detection result, an input / output device 34 for input / output to / from the outside, data, and the like. It includes a memory 35 for storing and a processor 36 for performing arithmetic processing such as Fourier transform.
  • the input / output device 34 outputs N sampling data received via the input line 32 to the memory 35.
  • the N sampling data of the even number, which is counted with the first as 0, is named data EVEN.
  • the N sampling data of the odd number of times is named data ODD.
  • the processor 36 performs a correction operation on the data stored in the memory 35 (step ST1).
  • the correction operation is the addition of data EVEN and data ODD.
  • the processor 36 performs a Fourier transform on N sampling data (step ST2).
  • the N Fourier transform results are indexed in ascending order of frequency.
  • the processor 36 calculates an absolute value for N complex numbers of the Fourier transform result (step ST3). This absolute value is already the total amplitude.
  • the processor 36 selects the index having the maximum amplitude and doubles the index (step ST4).
  • the processor 36 When the selection is performed twice or more, the processor 36 outputs an index having a large amplitude among the latest two times to the memory 35 (step ST5).
  • the output value may be the frequency corresponding to the index instead of the index.
  • the input / output device 34 outputs the value to the output line 33.
  • the frequency detector sends N new sampling data from the input line 32.
  • the new N sampling data are stored in the memory 35 via the input / output device 34.
  • the storage in the memory 35 is an even-numbered event, and N sampling data are set as data EVEN (data is replaced).
  • the processor 36 performs a correction operation on the data stored in the memory 35 (step ST6).
  • the correction operation is the subtraction of the data ODD from the data EVEN and the phase multiplication to the subtraction result.
  • the phase in this phase multiplication is increased by ⁇ / N with the initial value set to 0.
  • step ST6 the processor 36 executes the processes from step ST2 to step ST5. Then, after replacing the N sampling data with the data ODD, the processor 36 executes step ST6.
  • the above is a one-round flow performed by the processor 36, and the processor 36 repeats this.
  • the frequency detection device can also be realized by using a general processor.
  • this processor may be substituted by various accelerators.

Landscapes

  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar Systems Or Details Thereof (AREA)

Abstract

A frequency detector comprising an FFT device for calculating N Fourier transform results from N items of sampling data, and a detector for detecting an index which is the order of a frequency at which amplitude is at maximum, wherein the frequency detector further comprises a correction computing device comprising two input systems, a FIFO-type memory for delaying which is connected to one of the two input systems, an adder-subtracter for adding/subtracting N items of sampling data from the input system in which the FIFO-type memory is interposed and N other items of sampling data from the other input system, a phase generator for generating a phase and converting the phase to a complex number, and a multiplier for multiplying the data added/subtracted by the adder-subtracter by the complex number converted from the phase, the frequency detector performing the Fourier transform result calculation two or more times for the data outputted from the multiplier, comparing the corresponding amplitudes for a plurality of indexes detected from the Fourier transform results, and selecting the index having the larger amplitude.

Description

周波数検出器Frequency detector
 本開示技術は、高速フーリエ変換(以下「FFT」という)を用いてリアルタイムに周波数を検出する機器に関する。 The present disclosure technique relates to a device that detects a frequency in real time using a fast Fourier transform (hereinafter referred to as "FFT").
 FFTを用いた周波数検出は、広い分野で用いられている。例えば、特許文献1には、ドップラーレーダー、ドップラーソナー等の用途が示され、反射エコー信号をFFTすることによりドップラー周波数を求める技術が開示されている。 Frequency detection using FFT is used in a wide range of fields. For example, Patent Document 1 discloses applications such as Doppler radar and Doppler sonar, and discloses a technique for obtaining a Doppler frequency by FFTing a reflected echo signal.
 また、特許文献1は、必要とされる周波数分解能を満たすために高速フーリエ変換において必要なサンプル数を基準サンプル数として、基準サンプル数に達するように、デジタルデータ列にゼロデータを付加する技術を開示している。 Further, Patent Document 1 provides a technique for adding zero data to a digital data string so as to reach the reference sample number, with the sample number required for the fast Fourier transform as the reference sample number in order to satisfy the required frequency resolution. It is disclosed.
特開2012-247304号公報Japanese Unexamined Patent Publication No. 2012-247304
 特許文献1により開示された技術は、倍の分解能を得る際、処理速度が半減し、回路規模が倍増するという課題があった。本開示技術は、処理速度を維持し、回路規模の増大を抑えた上で、分解能を上げる周波数検出器を提供することを目的とする。 The technique disclosed in Patent Document 1 has a problem that the processing speed is halved and the circuit scale is doubled when the double resolution is obtained. An object of the present disclosure technique is to provide a frequency detector that increases the resolution while maintaining the processing speed and suppressing the increase in the circuit scale.
 本開示技術にかかる周波数検出器は、N個のサンプリングデータからN個のフーリエ変換結果を算出するFFT器と、前記フーリエ変換結果のうち、振幅が極大となる周波数の順番である指標を検出する検出器と、を備える周波数検出器であって、入力線を2つに分岐した2つの入力系統と、前記2つの入力系統の1つに接続され、遅延をさせるためのFIFO型メモリと、前記FIFO型メモリが介在する入力系統からのN個のサンプリングデータと他の入力系統からの別のN個のサンプリングデータとを加減算する加減算器と、位相を生成し、生成した前記位相を複素数に変換する位相生成器と、前記加減算器により加減算されたデータに、前記位相生成器で前記位相から変換された前記複素数を乗算する乗算器と、からなる補正演算器をさらに備え、前記乗算器から出力されたデータに対して前記フーリエ変換結果の算出を2回以上実施し、それぞれの前記フーリエ変換結果から検出した複数の指標について対応する振幅を比較して、振幅が大きい方の指標を選択する。 The frequency detector according to the present disclosure technique detects an FFT device that calculates N Fourier transform results from N sampling data, and an index that is the order of the frequencies having the maximum amplitude among the Fourier transform results. A frequency detector comprising a detector, two input systems in which an input line is branched into two, a Fourier type memory connected to one of the two input systems to cause a delay, and the above. An adder / subtractor that adds / subtracts N sampling data from an input system with a Fourier type memory and another N sampling data from another input system, generates a phase, and converts the generated phase into a complex number. A correction calculator further comprising a phase generator for multiplying the data added / subtracted by the addition / subtractor with the complex number converted from the phase by the phase generator, and an output from the multiplier. The calculation of the Fourier transform result is performed twice or more for the obtained data, the corresponding amplitudes of the plurality of indexes detected from the respective Fourier transform results are compared, and the index having the larger amplitude is selected.
 本開示技術にかかる周波数検出器は、上記構成を備えるため、周波数分解能を2倍にするためにサンプリング点数を増やさなくとも、ピーク周波数近傍で、倍の分解能のフーリエ変換の結果を得ることができる。このため、処理速度を維持し、回路規模の増大を抑えた上で、分解能を上げる周波数検出器を実現することができる。 Since the frequency detector according to the present disclosure technique has the above configuration, it is possible to obtain the result of Fourier transform with double resolution in the vicinity of the peak frequency without increasing the number of sampling points in order to double the frequency resolution. .. Therefore, it is possible to realize a frequency detector that increases the resolution while maintaining the processing speed and suppressing the increase in the circuit scale.
図1は、実施の形態1にかかる周波数検出器の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a frequency detector according to the first embodiment. 図2は、実施の形態2にかかる周波数検出器における補正演算器の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a correction calculator in the frequency detector according to the second embodiment. 図3は、実施の形態3にかかる周波数検出器における補正演算器の構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of a correction calculator in the frequency detector according to the third embodiment. 図4は、実施の形態4にかかる周波数検出器における補正演算器の構成を示すブロック図である。FIG. 4 is a block diagram showing a configuration of a correction calculator in the frequency detector according to the fourth embodiment. 図5は、実施の形態5にかかる周波数検出器における補正演算器の構成を示すブロック図である。FIG. 5 is a block diagram showing a configuration of a correction calculator in the frequency detector according to the fifth embodiment. 図6は、実施の形態6にかかる周波数検出器の構成を示すブロック図である。FIG. 6 is a block diagram showing a configuration of the frequency detector according to the sixth embodiment. 図7は、実施の形態7にかかる周波数検出器の構成を示すブロック図である。FIG. 7 is a block diagram showing a configuration of the frequency detector according to the seventh embodiment. 図8は、実施の形態4にかかる周波数検出器の処理タイミングを示すタイミングチャートである。FIG. 8 is a timing chart showing the processing timing of the frequency detector according to the fourth embodiment. 図9は、実施の形態9にかかる周波数検出装置の構成を示すブロック図である。FIG. 9 is a block diagram showing a configuration of the frequency detection device according to the ninth embodiment.
 本開示技術を実施するための形態は、図面に沿った以下の説明により、明らかにされる。 The form for implementing the disclosed technique will be clarified by the following description along with the drawings.
実施の形態1.
 図1は、実施の形態1にかかる周波数検出器1の構成を示すブロック図である。周波数検出器1は、入力データを受け取る入力線2と、検出結果を送り出す出力線3と、入力データに補正を施す補正演算器4と、FFTを実施するFFT器5と、最大ピークを検出する検出器6と、出力値を選択する選択器7とを備える。ここでFFT器5は、離散フーリエ変換を実施するものであってもよい。
Embodiment 1.
FIG. 1 is a block diagram showing a configuration of a frequency detector 1 according to the first embodiment. The frequency detector 1 detects an input line 2 for receiving input data, an output line 3 for sending out a detection result, a correction calculator 4 for correcting the input data, an FFT device 5 for performing an FFT, and a maximum peak. A detector 6 and a selector 7 for selecting an output value are provided. Here, the FFT device 5 may perform a discrete Fourier transform.
 周波数検出器1の動作は、以下の具体例により明らかにされる。具体的にはサンプルデータの数がN個であり、分解能を倍加する場合を例示する。N個のサンプルデータは、入力線2を介し、補正演算器4へ送信される。補正演算器4は、送信されたN個のサンプルデータを補正し、FFT器5へ出力する。補正演算器4の内部動作は、後述する。FFT器5は、送られたN個のサンプルデータをフーリエ変換し、同じくN個のフーリエ変換結果を検出器6へ出力する。N個のサンプリングデータを{x,x,…,xN-1}とすると、FFT器5はN個のフーリエ変換計算結果{F(f)、F(f)、…F(fN-1)}を算出する。ここで、f、f、…fN-1は低い順に並べられた周波数であり、フーリエ変換計算結果F(・)は複素数である。 The operation of the frequency detector 1 will be clarified by the following specific example. Specifically, the case where the number of sample data is N and the resolution is doubled is illustrated. The N sample data are transmitted to the correction calculator 4 via the input line 2. The correction calculator 4 corrects the transmitted N sample data and outputs the corrected data to the FFT device 5. The internal operation of the correction calculator 4 will be described later. The FFT device 5 Fourier transforms the sent N sample data, and also outputs the N Fourier transform results to the detector 6. Assuming that N sampling data are {x 0 , x 1 , ..., X N-1 }, the FFT device 5 has N Fourier transform calculation results {F (f 0 ), F (f 1 ), ... F ( f N-1 )} is calculated. Here, f 0 , f 1 , ... f N-1 are frequencies arranged in ascending order, and the Fourier transform calculation result F (.) Is a complex number.
 検出器6は、まずフーリエ変換計算結果である複素数の絶対値を算出する。複素数の絶対値とは、複素数を複素平面にプロットしたときの原点からの距離のことである。例えば、フーリエ変換計算結果F(f)の絶対値は|F(f)|というように、絶対値の記号|・|を用いて表す。また、|F(f)|は周波数fにおける「振幅」と呼ぶ。検出器6は、振幅が極大となる周波数(以下「ピーク周波数」という)のうち、振幅が最大となるピーク周波数及び振幅最大の周波数の指標を検出する。指標とは、FFT結果の周波数が低い順に並べた順番をいう。より具体的にいえば、指標とは、周波数を表す記号f、f、…fN-1の下添え字の0、1、…N-1のことである。検出器6は、検出した指標と振幅を選択器7へ出力する。 The detector 6 first calculates the absolute value of the complex number which is the result of the Fourier transform calculation. The absolute value of a complex number is the distance from the origin when the complex number is plotted on the complex plane. For example, the absolute value of the Fourier transform calculation result F (f 1 ) is represented by using the symbol | · | of the absolute value, such as | F (f 1 ) |. Further, | F (f 1 ) | is called "amplitude" at the frequency f 1 . The detector 6 detects an index of the peak frequency having the maximum amplitude and the frequency having the maximum amplitude among the frequencies having the maximum amplitude (hereinafter referred to as “peak frequency”). The index means the order in which the frequencies of the FFT results are arranged in ascending order. More specifically, the index is the symbols f 0 , f 1 , ... f N-1 , and the subscripts 0, 1, ... N-1 representing the frequency. The detector 6 outputs the detected index and amplitude to the selector 7.
 選択器7は、まず送信された指標を2倍にする。つぎに、選択器7は、初回受取りを0番目と数えて、奇数番目に受け取った指標にはさらに1を加える。さらに、直近2回分の受け取った指標について、それぞれの対応する振幅を比較して、振幅が大きい方の指標を選択する。最後に選択器7は、選択した指標、又は、その指標に対応する周波数を、出力線3に出力する。以上の動作により、周波数検出器1は、振幅が最大となるピーク周波数を出力できる。 The selector 7 first doubles the transmitted index. Next, the selector 7 counts the first receipt as the 0th and adds 1 to the odd-numbered received index. Further, for the indexes received for the last two times, the corresponding amplitudes of each are compared, and the index having the larger amplitude is selected. Finally, the selector 7 outputs the selected index or the frequency corresponding to the index to the output line 3. By the above operation, the frequency detector 1 can output the peak frequency having the maximum amplitude.
 補正演算器4は、入力線2の入力を有し、FIFO型メモリ8、加減算器9、乗算器10、及び位相生成器11から構成されている。また、補正演算器4は、周波数検出器1を構成し、FFT器5の前段に配置されている。 The correction calculator 4 has an input of an input line 2, and is composed of a FIFO type memory 8, an addition / subtractor 9, a multiplier 10, and a phase generator 11. Further, the correction calculator 4 constitutes the frequency detector 1 and is arranged in front of the FFT device 5.
 補正演算器4のFIFO型メモリ8は、入力線2から送信されたN個のサンプリングデータを蓄える。FIFO型メモリ8は、あらたにN個のサンプリングデータを蓄えたと同時に出力を開始し、常時N個分のデータを保持し続ける。 The FIFO type memory 8 of the correction calculator 4 stores N sampling data transmitted from the input line 2. The FIFO type memory 8 newly stores N sampling data and starts output at the same time, and keeps holding N data at all times.
 補正演算器4の加減算器9は、入力線2から送信されたN個のサンプリングデータとFIFO型メモリ8から出力されたN個のデータとを加減算する。具体的にいえば加減算器9は、N個同士の加減算を1つの単位として加算と減算とを切り替える。ここでの減算は、FIFO型メモリ8の出力値から、入力線2の値を引く。 The adder / subtractor 9 of the correction calculator 4 adds / subtracts the N sampling data transmitted from the input line 2 and the N data output from the FIFO type memory 8. Specifically, the addition / subtractor 9 switches between addition and subtraction with N additions and subtractions as one unit. For the subtraction here, the value of the input line 2 is subtracted from the output value of the FIFO type memory 8.
 補正演算器4の乗算器10は、加減算器9から出力された値に、位相生成器11から出力された複素数を乗算する。 The multiplier 10 of the correction calculator 4 multiplies the value output from the adder / subtractor 9 by the complex number output from the phase generator 11.
 補正演算器4の位相生成器11は、位相φを生成し、exp(jφ)=cos(φ)+j・sin(φ)を満たす複素数を出力する。生成する位相φは、最初のN個は0、次のN個は初期値を0とし、位相増分α=π/Nとしたものである。すなわち、生成するφは、以下の式で求まる値である。
 最初のN個 n=0からN-1まで,φ=0      ・・・(1A)
 次のN個  n=0からN-1まで,φ=nπ/N   ・・・(1B)
位相生成器11の上記処理は、2N回を1つの単位として繰り返される。
The phase generator 11 of the correction calculator 4 generates a phase φ and outputs a complex number satisfying exp (jφ) = cos (φ) + j · sin (φ). The phase φ to be generated is 0 for the first N pieces, 0 for the next N pieces, and the phase increment α = π / N. That is, the generated φ is a value obtained by the following equation.
From the first N n = 0 to N-1, φ n = 0 ... (1A)
Next N pieces from n = 0 to N-1, φ n = nπ / N ... (1B)
The above processing of the phase generator 11 is repeated with 2N times as one unit.
 位相生成器11が生成する位相φが0のとき、FFT器5は、通常のフーリエ変換器のように入力線2から送信されたN個のサンプリングデータをそのままフーリエ変換する。位相生成器11が生成する位相φを式(1B)で与える意図は、説明を要するため、ここで詳細を述べる。FFT器5が行う離散フーリエ変換は、以下の式(2)で与えられる。

Figure JPOXMLDOC01-appb-I000001
ただし、ここでkは指標を表す。
 一方、位相生成器11が式(1B)で与えられる位相φを生成し、θ=exp(-jnφ)を入力信号x={x,x,…,xN-1}のそれぞれに乗算すると、FFT器5で行うフーリエ変換は、以下の式(3)となる。

Figure JPOXMLDOC01-appb-I000002
 補正なしのフーリエ変換と比較すると、フーリエ変換の基本調波の位相増分は2π/Nであり、k倍波の位相増分は2kπ/N、k+1倍波の位相増分は2(k+1)π/Nである。すなわち、式(1B)が表す位相生成器11の位相増分α=π/Nは、補正なしのフーリエ変換おけるk倍波とk+1倍波の位相増分の半分であることがわかる。位相増分は、nを1つ増やしたときの、指数関数の肩の増分だが、言い換えればフーリエ変換で使う信号の周波数と対応している。
When the phase φ generated by the phase generator 11 is 0, the FFT device 5 Fourier transforms N sampling data transmitted from the input line 2 as it is like a normal Fourier transform. The intention of giving the phase φ generated by the phase generator 11 in the equation (1B) requires explanation, and details thereof will be described here. The discrete Fourier transform performed by the FFT device 5 is given by the following equation (2).

Figure JPOXMLDOC01-appb-I000001
However, here, k represents an index.
On the other hand, the phase generator 11 generates the phase φ given by the equation (1B) and inputs θ n = exp (−jnφ) to each of the input signals x = {x 0 , x 1 , ..., X N-1 }. When multiplied, the Fourier transform performed by the FFT device 5 becomes the following equation (3).

Figure JPOXMLDOC01-appb-I000002
Compared to the uncorrected Fourier transform, the phase increment of the basic harmonic of the Fourier transform is 2π / N, the phase increment of the k harmonic is 2kπ / N, and the phase increment of the k + 1 harmonic is 2 (k + 1) π / N. Is. That is, it can be seen that the phase increment α = π / N of the phase generator 11 represented by the equation (1B) is half the phase increment of the k-fold wave and the k + 1-fold wave in the Fourier transform without correction. The phase increment is the increment of the shoulder of the exponential function when n is increased by one, but in other words, it corresponds to the frequency of the signal used in the Fourier transform.
 選択器7の動作原理は、以下の具体例により明らかにされる。前述のとおり、選択器7は、送信された直近2回分の指標からいずれか1つの指標を選択する。具体例は、検出器6から最初に送信された指標をm、次に送信された指標をpとする。また、指標がmのときの振幅をA、指標がpのときの振幅をAとする。選択器7は、送信された指標{m、p}を、指標{2m、2p+1}に変換する。つぎに、選択器7は、振幅のAとAとを比較し、振幅が大きい方に対応する指標を選択する。例えば、Aの方が大きければ、指標として2p+1を選択し、以下の数式を用いて対応する周波数を求める。
 周波数=入力データのサンプリング周波数×指標÷2N   ・・・(4)
よって、指標が2p+1であるピークの周波数は、サンプリング周波数×(2p+1)÷2Nで求まる。
The operating principle of the selector 7 will be clarified by the following specific example. As described above, the selector 7 selects any one of the two latest transmitted indexes. In a specific example, the index first transmitted from the detector 6 is m, and the index transmitted next is p. Further, the amplitude when the index is m is Am, and the amplitude when the index is p is Ap. The selector 7 converts the transmitted index {m, p} into the index {2m, 2p + 1}. Next, the selector 7 compares Am and Ap of the amplitude, and selects the index corresponding to the one having the larger amplitude. For example, if Ap is larger, 2p + 1 is selected as an index, and the corresponding frequency is obtained using the following formula.
Frequency = Sampling frequency of input data x Index ÷ 2N ・ ・ ・ (4)
Therefore, the frequency of the peak whose index is 2p + 1 can be obtained by sampling frequency × (2p + 1) ÷ 2N.
 以上の構成を備えることにより、実施の形態1にかかる周波数検出器は、従来の周波数検出器に比べ、処理速度を低下させることなく、かつ、回路規模も倍増させることなく、周波数分解能を2倍にすることができる。 By providing the above configuration, the frequency detector according to the first embodiment doubles the frequency resolution without reducing the processing speed and doubling the circuit scale as compared with the conventional frequency detector. Can be.
 発明の効果における処理速度及び回路規模は、少し説明を要するのでここで述べる。ここでの処理速度とは、スループットのことを指す。また、一般に、リアルタイム処理可能なFFT器は、点数の倍増に伴い回路規模も倍増する。そのため、サンプル点数が少ない特殊な場合を除き、補正演算器4の回路規模は、FFT器5に比べて十分小さい。具体的な回路規模の差は、FPGA等のデバイス、ベンダ提供の回路の構成、回路を合成するツールなどの内容により異なる。すなわち、本開示技術における周波数検出器は、処理速度を落とさずに点数を倍にするFFT器の構成と比べて回路規模は小さくてすむ。 The processing speed and circuit scale in the effect of the invention need a little explanation, so they will be described here. The processing speed here refers to the throughput. Further, in general, the circuit scale of an FFT device capable of real-time processing doubles as the number of points doubles. Therefore, the circuit scale of the correction calculator 4 is sufficiently smaller than that of the FFT device 5, except in a special case where the number of sample points is small. The specific difference in circuit scale differs depending on the device such as FPGA, the configuration of the circuit provided by the vendor, the tool for synthesizing the circuit, and the like. That is, the frequency detector in the present disclosed technique can have a smaller circuit scale than the configuration of the FFT device that doubles the points without slowing down the processing speed.
 また、周波数検出器の分解能は、これについても少し説明を要するため、ここで述べる。分解能は、「入力のサンプリング周波数÷FFT点数」で求められる値である。よって、
サンプリング周波数をそのままに、サンプリング時間を倍に増やし、サンプリング点数を2倍にすれば、分解能は2倍になる。実施の形態1にかかる周波数検出器は、サンプリング時間を2倍にすることで、一定の条件下でFFT点数を2倍して得られる結果と等価の結果を出力する。一定の条件とは、受信した信号は、2つの異なった積分区間でみて信号が変動していない、という条件である。
In addition, the resolution of the frequency detector requires a little explanation, so it will be described here. The resolution is a value obtained by "input sampling frequency / FFT score". Therefore,
If the sampling frequency is kept as it is, the sampling time is doubled, and the number of sampling points is doubled, the resolution is doubled. The frequency detector according to the first embodiment outputs a result equivalent to the result obtained by doubling the FFT score under certain conditions by doubling the sampling time. The constant condition is that the received signal does not fluctuate in two different integration intervals.
実施の形態2.
 実施の形態1にかかる周波数検出器は、補正演算器4が1つのFIFO型メモリ8を備える構成のものについて述べた。ただし、本開示技術において、1つのFIFO型メモリ8は最低限必要な台数を示したに過ぎず、これに限定したものではない。実施の形態2にかかる周波数検出器は、複数のFIFO型メモリ8(8a、8b)と、その後段に複数の位相回転器13(13a、13b、13c)と、を備える。
Embodiment 2.
As the frequency detector according to the first embodiment, the one in which the correction calculator 4 includes one FIFO type memory 8 is described. However, in the present disclosed technique, only one FIFO type memory 8 shows the minimum required number, and is not limited to this. The frequency detector according to the second embodiment includes a plurality of FIFO type memories 8 (8a, 8b) and a plurality of phase rotators 13 (13a, 13b, 13c) in a subsequent stage.
 実施の形態2にかかる周波数検出器の全体構成は、実施の形態1の全体構成と同じである(図1参照)。実施の形態2の説明は、実施の形態1と共通する構成要素には同じ符号を用いる。また、実施の形態1と重複する説明は、適宜、省略する。 The overall configuration of the frequency detector according to the second embodiment is the same as the overall configuration of the first embodiment (see FIG. 1). In the description of the second embodiment, the same reference numerals are used for the components common to the first embodiment. Further, the description overlapping with the first embodiment will be omitted as appropriate.
 図2は、実施の形態2にかかる周波数検出器における補正演算器4の構成を示すブロック図である。実施の形態2の補正演算器4は、入力データを受け取る入力線2と、データを一時的に保持する複数のFIFO型メモリ8(8a、8b)と、乗算演算を行う乗算器10と、位相を生成する位相生成器11と、出力線12と、位相を回転させる複数の位相回転器13(13a、13b、13c)と、加算演算をする加算器14とを備える。 FIG. 2 is a block diagram showing a configuration of a correction calculator 4 in the frequency detector according to the second embodiment. The correction calculator 4 of the second embodiment includes an input line 2 for receiving input data, a plurality of FIFA type memories 8 (8a, 8b) for temporarily holding data, a multiplier 10 for performing multiplication operations, and a phase. The phase generator 11 for generating the above, the output line 12, the plurality of phase rotors 13 (13a, 13b, 13c) for rotating the phase, and the adder 14 for performing the addition calculation are provided.
 実施の形態2の補正演算器4の動作は、以下の具体例により明らかにされる。実施の形態2にかかる技術が意図することは、分解能を3倍化することである。実施の形態2にかかる周波数検出器の動作は、選択器7の動作を除いて実施の形態1と共通している。 The operation of the correction calculator 4 of the second embodiment will be clarified by the following specific example. The technique according to the second embodiment is intended to triple the resolution. The operation of the frequency detector according to the second embodiment is the same as that of the first embodiment except for the operation of the selector 7.
 実施の形態2にかかる周波数検出器1の動作は、以下の具体例により明らかにされる。具体的にはサンプルデータの数がN個であり、分解能を3倍加する場合を例示する。N個のサンプルデータは、入力線2を介し、周波数検出器1の補正演算器4へ送信される。補正演算器4は、送信されたN個のサンプルデータを補正し、FFT器5へ出力する。補正演算器4の内部動作は、後述する。FFT器5は、送られたN個のサンプルデータをフーリエ変換し、同じくN個のフーリエ変換結果を検出器6へ出力する。検出器6は、N個のフーリエ演算結果から、振幅が最大のものの指標を選出し、選出した指標と対応する振幅の値を選択器7へ出力する。 The operation of the frequency detector 1 according to the second embodiment will be clarified by the following specific example. Specifically, the case where the number of sample data is N and the resolution is tripled is illustrated. The N sample data are transmitted to the correction calculator 4 of the frequency detector 1 via the input line 2. The correction calculator 4 corrects the transmitted N sample data and outputs the corrected data to the FFT device 5. The internal operation of the correction calculator 4 will be described later. The FFT device 5 Fourier transforms the sent N sample data, and also outputs the N Fourier transform results to the detector 6. The detector 6 selects an index having the maximum amplitude from the results of N Fourier operations, and outputs the value of the amplitude corresponding to the selected index to the selector 7.
 選択器7は、まず送信された指標を3倍にする。つぎに、選択器7は、初回受取りを0番目と数えて、受け取った順番の数字を3で割った余りを受け取った指標に加算する。さらに、直近3回分の受け取った指標について、それぞれの対応する振幅を比較して、振幅が最大の指標を選択する。最後に選択器7は、選択した指標、又は、その指標に対応する周波数を、出力線3に出力する。以上の動作により、周波数検出器1は、振幅が最大となるピーク周波数を出力できる。 The selector 7 first triples the transmitted index. Next, the selector 7 counts the first receipt as the 0th, and adds the remainder obtained by dividing the number in the order of receipt by 3 to the received index. Further, for the indexes received for the last three times, the corresponding amplitudes of each are compared, and the index having the maximum amplitude is selected. Finally, the selector 7 outputs the selected index or the frequency corresponding to the index to the output line 3. By the above operation, the frequency detector 1 can output the peak frequency having the maximum amplitude.
補正演算器4の複数のFIFO型メモリ8(8a、8b)は、入力線2から送信されたN個のサンプリングデータをそれぞれ蓄える。複数のFIFO型メモリ8(8a、8b)のそれぞれは、あらたにN個のサンプリングデータを蓄えたと同時に出力を開始し、常時N個分のデータを保持し続ける。 The plurality of FIFO type memories 8 (8a, 8b) of the correction calculator 4 store N sampling data transmitted from the input line 2, respectively. Each of the plurality of FIFO type memories 8 (8a, 8b) newly stores N sampling data and starts output at the same time, and keeps holding N data at all times.
 補正演算器4は、複数のFIFO型メモリ8(8a、8b)の後段にそれぞれ配置された複数の位相回転器13(13a、13b)を備える。また、補正演算器4は、上記とは別に、入力線2に直接接続された位相回転器13(13c)を備える。位相回転器13(13a、13b、13c)は、入力された値に対し、位相を回転させる作用を施す。回転量などの具体的なことは、後述する。 The correction calculator 4 includes a plurality of phase rotators 13 (13a, 13b) arranged after each of the plurality of FIFO type memories 8 (8a, 8b). In addition to the above, the correction calculator 4 includes a phase rotator 13 (13c) directly connected to the input line 2. The phase rotator 13 (13a, 13b, 13c) exerts an action of rotating the phase with respect to the input value. Specific matters such as the amount of rotation will be described later.
 補正演算器4の加減算器9は、位相回転器13(13a、13b、13c)のそれぞれが出力する3つの値を加算する。すなわち、実施の形態2にかかる加減算器9は、加減算器入力をさらに備え、さらにN個のサンプリングデータを加減算する。 The adder / subtractor 9 of the correction calculator 4 adds three values output by each of the phase rotators 13 (13a, 13b, 13c). That is, the adder / subtractor 9 according to the second embodiment further includes an adder / subtractor input, and further adds / subtracts N sampling data.
 補正演算器4の乗算器10は、加減算器9から出力された値に、位相生成器11から出力された複素数を乗算する。この乗算結果が補正演算器4の補正結果となる。 The multiplier 10 of the correction calculator 4 multiplies the value output from the adder / subtractor 9 by the complex number output from the phase generator 11. This multiplication result becomes the correction result of the correction calculator 4.
 補正演算器4の位相生成器11は、位相φを生成し、exp(jφ)=cos(φ)+j・sin(φ)を満たす複素数を出力する。生成する位相φは、以下の数式により与えられる。
 位相φ=((n div N)mod 3)×(x mod N)×2π÷(3N)
                                  ・・・(5)
 ただし、nはサンプリング番号を、divとmodはそれぞれ整数の割算における商と余剰を表す。
 以上の動作により、補正演算器4は、入力値に補正を施す。
The phase generator 11 of the correction calculator 4 generates a phase φ and outputs a complex number satisfying exp (jφ) = cos (φ) + j · sin (φ). The generated phase φ is given by the following mathematical formula.
Phase φ = ((n div N) mod 3) x (x mod N) x 2π ÷ (3N)
... (5)
However, n represents the sampling number, and div and mod represent the quotient and the surplus in the division of integers, respectively.
By the above operation, the correction calculator 4 corrects the input value.
 補正演算器4が備える複数の位相回転器13(13a、13b、13c)は、以下のとおり動作する。
 FIFO型メモリ8aの後段に配置された位相回転器13aは、位相回転器とは名ばかりで、実際には位相を回転しない。位相回転器13aが回転する位相は、0[rad]だと言い換えてもよい。位相回転器13aは、遅延回路に置き換えることができる。また、位相回転器13aは、FIFO型メモリ8aの保持数を変更することによって、なくす構成としてもよい。
 FIFO型メモリ8bの後段に配置された位相回転器13bは、以下の式で与えられる位相を回転させる。
 最初のN個 n=0からN-1まで,φ=0      ・・・(6A)
 次のN個  n=0からN-1まで,φ=2π/3   ・・・(6B)
 最後のN個 n=0からN-1まで、φ=4π/3   ・・・(6C)
 入力線2に直接つながれた位相回転器13cは、以下の式で与えられる位相を回転させる。
 最初のN個 n=0からN-1まで,φ=0      ・・・(7A)
 次のN個  n=0からN-1まで,φ=4π/3   ・・・(7B)
 最後のN個 n=0からN-1まで、φ=8π/3   ・・・(7C)
The plurality of phase rotators 13 (13a, 13b, 13c) included in the correction calculator 4 operate as follows.
The phase rotator 13a arranged after the FIFO type memory 8a is just a name of a phase rotator and does not actually rotate the phase. The phase in which the phase rotator 13a rotates may be rephrased as 0 [rad]. The phase rotator 13a can be replaced with a delay circuit. Further, the phase rotator 13a may be configured to be eliminated by changing the number of holdings of the FIFO type memory 8a.
The phase rotator 13b arranged after the FIFO type memory 8b rotates the phase given by the following equation.
From the first N n = 0 to N-1, φ n = 0 ... (6A)
Next N pieces from n = 0 to N-1, φ n = 2π / 3 ... (6B)
From the last N n = 0 to N-1, φ n = 4π / 3 ... (6C)
The phase rotator 13c directly connected to the input line 2 rotates the phase given by the following equation.
From the first N n = 0 to N-1, φ n = 0 ... (7A)
Next N pieces from n = 0 to N-1, φ n = 4π / 3 ... (7B)
From the last N n = 0 to N-1, φ n = 8π / 3 ... (7C)
 選択器7の動作原理は、以下の具体例により明らかにされる。前述のとおり、選択器7は、送信された直近3回分の指標からいずれか1つの指標を選択する。具体例は、検出器6から最初に送信された指標をm、次に送信された指標をp、最後に送信された指標をqとする。また、指標がmのときの振幅をA、指標がpのときの振幅をA、指標がqのときの振幅をAとする。選択器7は、送信された指標{m、p、q}を、指標{3m、3p+1、3q+2}に変換する。つぎに、選択器7は、振幅のA、A、及びAを比較し、振幅が最大に対応する指標を選択する。例えば、Aが最大であれば、指標として3q+2を選択し、以下の数式を用いて対応する周波数を求める。
 周波数=入力データのサンプリング周波数×指標÷3N   ・・・(8)
よって、指標が3q+2であるピークの周波数は、サンプリング周波数×(3q+2)÷3Nで求まる。
The operating principle of the selector 7 will be clarified by the following specific example. As described above, the selector 7 selects any one of the transmitted indexes for the last three times. In a specific example, the index transmitted first from the detector 6 is m, the index transmitted next is p, and the index transmitted last is q. Further, the amplitude when the index is m is Am, the amplitude when the index is p is Ap, and the amplitude when the index is q is A q . The selector 7 converts the transmitted index {m, p, q} into the index {3m, 3p + 1, 3q + 2}. Next, the selector 7 compares the amplitudes Am , Ap , and Aq , and selects the index corresponding to the maximum amplitude. For example, if A q is the maximum, 3q + 2 is selected as an index, and the corresponding frequency is obtained using the following formula.
Frequency = Sampling frequency of input data x Index ÷ 3N ・ ・ ・ (8)
Therefore, the frequency of the peak whose index is 3q + 2 can be obtained by sampling frequency × (3q + 2) ÷ 3N.
 以上の構成を備えることにより、実施の形態2にかかる周波数検出器は、サンプリング点数をN個としたまま、従来の周波数検出器に比べ、処理速度を低下させることなく、かつ、回路規模も3倍増させることなく、周波数分解能を3倍にすることができる。 By providing the above configuration, the frequency detector according to the second embodiment keeps the number of sampling points at N, does not reduce the processing speed as compared with the conventional frequency detector, and has a circuit scale of 3. The frequency resolution can be tripled without doubling.
 実施の形態2にかかる周波数検出器は、周波数分解能を3倍にする例を示したが、これに限定するものではなく、周波数分解能をL倍にする一般化が行える。周波数分解能をL倍にする場合、L台の位相回転器13(13a、13b、13c、…)の位相に関する式は、以下のように一般化できる。
 最初のN個 n=0からN-1まで,φ=0          ・・・(9A)
 次のN個  n=0からN-1まで,φ=i×2π/L     ・・・(9B)
 その次のN個 n=0からN-1まで、φ=i×4π/L    ・・・(9C)
 …
 最後のN個 n=0からN-1まで、φ=i×2(L-1)π/L・・・(9D)
ただし、iは位相演算器の通し番号(0からL-1まで)である。
The frequency detector according to the second embodiment shows an example in which the frequency resolution is tripled, but the present invention is not limited to this, and the frequency resolution can be generalized to be L times. When the frequency resolution is multiplied by L, the equation regarding the phase of the phase rotators 13 (13a, 13b, 13c, ...) In the L range can be generalized as follows.
From the first N n = 0 to N-1, φ n = 0 ... (9A)
Next N pieces from n = 0 to N-1, φ n = i × 2π / L ・ ・ ・ (9B)
Next N pieces from n = 0 to N-1, φ n = i × 4π / L ... (9C)

From the last N n = 0 to N-1, φ n = i × 2 (L-1) π / L ... (9D)
However, i is a serial number (from 0 to L-1) of the phase calculator.
実施の形態3.
 実施の形態3にかかる周波数検出器は、既出の実施の形態にかかる周波数検出器とは異なる、別の補正演算器4を備える。図3は、実施の形態3にかかる周波数検出器の補正演算器4の構成を示すブロック図である。
Embodiment 3.
The frequency detector according to the third embodiment includes another correction calculator 4 different from the frequency detector according to the above-described embodiment. FIG. 3 is a block diagram showing the configuration of the correction calculator 4 of the frequency detector according to the third embodiment.
 実施の形態3にかかる周波数検出器の全体構成は、実施の形態1の全体構成と同じである(図1参照)。実施の形態3の説明は、既出の実施の形態と共通する構成要素には同じ符号を用いる。また、既出の実施の形態と重複する説明は、適宜、省略する。 The overall configuration of the frequency detector according to the third embodiment is the same as the overall configuration of the first embodiment (see FIG. 1). In the description of the third embodiment, the same reference numerals are used for the components common to the above-described embodiments. Further, the description overlapping with the above-described embodiment will be omitted as appropriate.
 図3が示すように、実施の形態3の補正演算器4は、入力データを受け取る入力線2と、データを一時的に保持する複数のFIFO型メモリ(8、22)と、乗算演算を行う乗算器10と、位相を生成する位相生成器11と、出力線12と、加算及び減算の両方を実施する加減算器21と、入力を切り替えるセレクタ23とを備える。 As shown in FIG. 3, the correction calculator 4 of the third embodiment performs a multiplication operation with an input line 2 for receiving input data and a plurality of FIFA type memories (8, 22) for temporarily holding the data. It includes a multiplier 10, a phase generator 11 that generates a phase, an output line 12, an adder / subtractor 21 that performs both addition and subtraction, and a selector 23 that switches inputs.
 実施の形態3の補正演算器4の動作は、以下の具体例により明らかにされる。実施の形態3にかかる技術が意図することは、前述したものとは別の実施態様で、分解能を2倍化することである。実施の形態3にかかる周波数検出器の動作は、補正演算器4の動作を除いて既出の実施の形態と共通している。 The operation of the correction calculator 4 of the third embodiment will be clarified by the following specific example. The technique according to the third embodiment is intended to double the resolution in an embodiment different from that described above. The operation of the frequency detector according to the third embodiment is the same as that of the above-described embodiment except for the operation of the correction calculator 4.
 補正演算器4のFIFO型メモリ8は、入力線2から送信されたN個のサンプリングデータを蓄える。FIFO型メモリ8は、あらたにN個のサンプリングデータを蓄えたと同時に出力を開始し、常時N個分のデータを保持し続ける。 The FIFO type memory 8 of the correction calculator 4 stores N sampling data transmitted from the input line 2. The FIFO type memory 8 newly stores N sampling data and starts output at the same time, and keeps holding N data at all times.
 補正演算器4の加減算器21は、FIFO型メモリ8からの出力開始と共に、加算と減算を開始する。図3が示すように、加減算器21は、加算結果用出力線と減算結果用出力線との2つの出力線を有する。加減算器21は、開始後にN回加算減算を繰り返したら、N回休止する。以降、加減算器21は、加算減算と休止をN回ごとに切り替える。 The addition / subtractor 21 of the correction calculator 4 starts addition and subtraction at the same time as the output from the FIFO type memory 8 starts. As shown in FIG. 3, the adder / subtractor 21 has two output lines, an output line for an addition result and an output line for a subtraction result. The adder / subtractor 21 pauses N times after repeating the addition / subtraction N times after the start. After that, the addition / subtractor 21 switches between addition / subtraction and pause every N times.
 補正演算器4の第二FIFO型メモリ22は、加減算器21の減算結果用出力線に接続され、減算結果を蓄える。第二FIFO型メモリ22は、N-d個蓄えたと同時に出力を開始し、空になるまで出力を続ける。ただしここでdは、乗算器10で生じる遅延時間をデータ入力間隔sで割った整数値である。 The second FIFO type memory 22 of the correction calculator 4 is connected to the subtraction result output line of the adder / subtractor 21 and stores the subtraction result. The second FIFO type memory 22 starts output at the same time as storing Nd units, and continues output until it becomes empty. However, d is an integer value obtained by dividing the delay time generated by the multiplier 10 by the data input interval s.
 補正演算器4の乗算器10は、第二FIFO型メモリ22から出力された値に、位相生成器11から出力された複素数を乗算する。乗算した結果は、補正演算器4のセレクタ23へ送信される。 The multiplier 10 of the correction calculator 4 multiplies the value output from the second FIFO type memory 22 by the complex number output from the phase generator 11. The result of the multiplication is transmitted to the selector 23 of the correction calculator 4.
 補正演算器4の位相生成器11は、位相φを生成し、exp(jφ)=cos(φ)+j・sin(φ)を満たす複素数を乗算器10へ出力する。生成する位相φは、初回0として、位相を1回送る毎にπ/Nずつ加算し、N回送るごとに0に戻す。 The phase generator 11 of the correction calculator 4 generates a phase φ and outputs a complex number satisfying exp (jφ) = cos (φ) + j · sin (φ) to the multiplier 10. The generated phase φ is set to 0 for the first time, π / N is added each time the phase is sent, and the phase is returned to 0 every N times.
 補正演算器4のセレクタ23は、2つの入力線を有し、1つは加減算器21の加算結果用出力線であり、もう1つは乗算器10の出力線である。セレクタ23は、加減算器21の加算結果をN回選択した後、乗算器10の乗算結果をN回選択する。以降、セレクタ23は、N回毎に選択先を切り替える。以上の動作により、補正演算器4は、入力値に補正を施す。 The selector 23 of the correction calculator 4 has two input lines, one is an output line for the addition result of the addition / subtractor 21, and the other is an output line of the multiplier 10. The selector 23 selects the addition result of the adder / subtractor 21 N times, and then selects the multiplication result of the multiplier 10 N times. After that, the selector 23 switches the selection destination every N times. By the above operation, the correction calculator 4 corrects the input value.
 以上の構成を備えることにより、実施の形態3にかかる周波数検出器は、サンプリング点数をN個としたまま、従来の周波数検出器に比べ、処理速度を低下させることなく、かつ、回路規模も倍増させることなく、周波数分解能を2倍にすることができる。加えて、2回に1回は、サンプリングの点を2倍にして得られる結果と同一の結果を得ることができる。なお、この同一の結果が得られるのは、0を起点として奇数番目の出力である。 By providing the above configuration, the frequency detector according to the third embodiment keeps the number of sampling points at N, does not reduce the processing speed as compared with the conventional frequency detector, and doubles the circuit scale. The frequency resolution can be doubled without causing it. In addition, once every two times, the same result as the result obtained by doubling the sampling points can be obtained. It should be noted that the same result is obtained at the odd-numbered output starting from 0.
実施の形態4.
 実施の形態4にかかる周波数検出器は、既出の実施の形態にかかる周波数検出器とは異なる、別の補正演算器4を備える。図4は、実施の形態4にかかる周波数検出器の補正演算器4の構成を示すブロック図である。
Embodiment 4.
The frequency detector according to the fourth embodiment includes another correction calculator 4 different from the frequency detector according to the above-described embodiment. FIG. 4 is a block diagram showing the configuration of the correction calculator 4 of the frequency detector according to the fourth embodiment.
 実施の形態4にかかる周波数検出器の全体構成は、実施の形態1の全体構成と同じである(図1参照)。実施の形態4の説明は、既出の実施の形態と共通する構成要素には同じ符号を用いる。また、既出の実施の形態と重複する説明は、適宜、省略する。 The overall configuration of the frequency detector according to the fourth embodiment is the same as the overall configuration of the first embodiment (see FIG. 1). In the description of the fourth embodiment, the same reference numerals are used for the components common to the above-described embodiments. Further, the description overlapping with the above-described embodiment will be omitted as appropriate.
 図4が示すように、実施の形態4の補正演算器4は、入力データを受け取る入力線2と、データを一時的に保持する複数のFIFO型メモリ8と、乗算演算を行う乗算器10と、位相を生成する位相生成器11と、出力線12と、加算及び減算の両方を実施する加減算器21と、入力を切り替えるセレクタ23、25と、入力を短時間遅延させる遅延器24、26とを備える。 As shown in FIG. 4, the correction calculator 4 of the fourth embodiment includes an input line 2 that receives input data, a plurality of FIFA type memories 8 that temporarily hold the data, and a multiplier 10 that performs a multiplication operation. , The phase generator 11 that generates the phase, the output line 12, the adder / subtractor 21 that performs both addition and subtraction, the selectors 23 and 25 that switch the input, and the delayers 24 and 26 that delay the input for a short time. To prepare for.
 実施の形態4の補正演算器4の動作は、以下の具体例により明らかにされる。実施の形態4にかかる技術が意図することは、既出の実施の形態のものとは別の実施態様で、分解能を2倍化することである。実施の形態4にかかる周波数検出器の動作は、実施の形態3に示した動作と共通している。実施の形態3に示した動作との違いは、2つある。1つ目の相違は、実施の形態3におけるFIFO型メモリ8と第二FIFO型メモリ22とを、実施の形態4ではFIFO型メモリ8に統合したことである。2つ目の相違は、FIFO型メモリ8の統合に伴い、遅延器24、26のそれぞれで遅延量を調整し、セレクタ25でFIFO型メモリ8へ出力するデータを選択するように構成したことである。 The operation of the correction calculator 4 of the fourth embodiment will be clarified by the following specific example. The technique according to the fourth embodiment is intended to double the resolution in a different embodiment from that of the previous embodiment. The operation of the frequency detector according to the fourth embodiment is common to the operation shown in the third embodiment. There are two differences from the operation shown in the third embodiment. The first difference is that the FIFO type memory 8 and the second FIFO type memory 22 in the third embodiment are integrated into the FIFO type memory 8 in the fourth embodiment. The second difference is that with the integration of the FIFO type memory 8, the delay amount is adjusted for each of the delay devices 24 and 26, and the selector 25 is configured to select the data to be output to the FIFO type memory 8. be.
 補正演算器4の遅延器24は、入力線2からのデータを遅延させる。遅延量は、加減算器21で生じる遅延量と等しくなるように設定する。 The delay device 24 of the correction calculator 4 delays the data from the input line 2. The delay amount is set to be equal to the delay amount generated by the adder / subtractor 21.
 補正演算器4のセレクタ25は、最初のN回において遅延器24からの出力を選択し、次のN回において加減算器21の減算結果を選択する。セレクタ25は、以降、N回ごとに選択先を切り替える。 The selector 25 of the correction calculator 4 selects the output from the delay device 24 at the first N times, and selects the subtraction result of the adder / subtractor 21 at the next N times. After that, the selector 25 switches the selection destination every N times.
 補正演算器4のFIFO型メモリ8は、セレクタ25から送信されるデータを蓄える。FIFO型メモリ8は、N-e個のデータを蓄えたと同時に出力を開始し、N-e個分のデータを保持し続ける。ただしここでeは、加減算器21の遅延量を入力線2におけるデータ入力間隔sで割った整数値である。 The FIFO type memory 8 of the correction calculator 4 stores the data transmitted from the selector 25. The FIFO type memory 8 starts output at the same time as storing N-e pieces of data, and continues to hold N-e pieces of data. However, here, e is an integer value obtained by dividing the delay amount of the adder / subtractor 21 by the data input interval s on the input line 2.
 補正演算器4の加減算器21は、FIFO型メモリ8からの出力開始と同時に加算と減算の処理を開始する。加減算器21は、処理を開始後、N回の加算減算を実施したら、N回の間休止する。加減算器21は、以降、加算減算と休止とをN回ごとに切り替える。 The addition / subtractor 21 of the correction calculator 4 starts the addition / subtraction process at the same time as the output from the FIFO type memory 8 starts. After starting the process, the adder / subtractor 21 performs N times of addition / subtraction, and then pauses for N times. After that, the addition / subtractor 21 switches between addition / subtraction and pause every N times.
 補正演算器4の遅延器26は、加減算器21の加算結果の出力を遅延させる。遅延量は、乗算器10と加減算器21で生じる遅延の差をデータ入力間隔sで割った値である。 The delay device 26 of the correction calculator 4 delays the output of the addition result of the addition / subtraction device 21. The delay amount is a value obtained by dividing the difference in delay generated between the multiplier 10 and the adder / subtractor 21 by the data input interval s.
 補正演算器4の乗算器10は、FIFO型メモリ8からの出力に対し、N個は1を乗算し、次のN個は位相生成器11が出力する複素数を乗算し、乗算した結果をセレクタ23に出力する。乗算器10は、以降、データN個毎に乗算する値を1と複素数とで切り替える。 The multiplier 10 of the correction calculator 4 multiplies the output from the FIFO type memory 8 by 1, the next N pieces are multiplied by the complex number output by the phase generator 11, and the result of the multiplication is selected. Output to 23. After that, the multiplier 10 switches the value to be multiplied for each N pieces of data between 1 and a complex number.
 補正演算器4の位相生成器11は、N個のデータに対応するN個の位相φを生成し、exp(jφ)=cos(φ)+j・sin(φ)で求まるN個の複素数を乗算器10へ出力する。生成する位相φは、初期値を0として、位相を1つ出力する毎にπ/Nずつ加算し、N回送るごとに0に戻す。乗算器10への複素数の出力は、乗算器10が乗算するタイミングに合わせることに留意する。 The phase generator 11 of the correction calculator 4 generates N phase φ corresponding to N data, and multiplies N complex numbers obtained by exp (jφ) = cos (φ) + j · sin (φ). Output to the device 10. The phase φ to be generated has an initial value of 0, is added by π / N each time one phase is output, and is returned to 0 every time it is sent N times. Note that the output of the complex number to the multiplier 10 matches the timing at which the multiplier 10 multiplies.
 補正演算器4のセレクタ23は、加減算器21の加算結果をN回選択した後、乗算器10の乗算結果をN回選択する。セレクタ23は、以降、N回毎に選択先を切り替える。以上の動作により、補正演算器4は、入力されたデータを補正する。 The selector 23 of the correction calculator 4 selects the addition result of the addition / subtractor 21 N times, and then selects the multiplication result of the multiplier 10 N times. After that, the selector 23 switches the selection destination every N times. By the above operation, the correction calculator 4 corrects the input data.
 以上の構成を備えることにより、実施の形態4にかかる周波数検出器は、サンプリング点数をN個としたまま、従来の周波数検出器に比べ、処理速度を低下させることなく、かつ、回路規模も倍増させることなく、周波数分解能を2倍にすることができる。加えて、2回に1回は、サンプリングの点を2倍にして得られる結果と同一の結果を得ることができる。つまり、実施の形態4にかかる周波数検出器は、実施の形態3にかかる周波数検出器と同じ結果を、FIFO型メモリの台数を少なくした構成で実現したものである。 By providing the above configuration, the frequency detector according to the fourth embodiment keeps the number of sampling points at N, does not reduce the processing speed as compared with the conventional frequency detector, and doubles the circuit scale. The frequency resolution can be doubled without causing it. In addition, once every two times, the same result as the result obtained by doubling the sampling points can be obtained. That is, the frequency detector according to the fourth embodiment realizes the same result as the frequency detector according to the third embodiment in a configuration in which the number of FIFO type memories is reduced.
 実施の形態4にかかる周波数検出器の動作は、タイミングチャートを用いることにより明らかになる。図8は、実施の形態4にかかる周波数検出器の処理タイミングを示すタイミングチャートである。図8のタイミングチャートの各行の帯は、データをN個毎に区切ったものである。図8のタイミングチャート中の最上部の方形波は、クロック信号である。また、図8の中の「INPUT/2」は入力線2での各データを、「Delay/24」は遅延器24の出力を、「SEL/25」はセレクタ25の出力を、「FIFO/8」はFIFO型メモリ8の出力を、「Add/21」は加減算器21の加算結果を、「Sub/21」は加減算器21の減算結果を、「Delay/26」は遅延器26の出力を、「Multiply/10」は乗算器10の出力を、「OUTPUT/12」は出力線12での各データを、それぞれ示している。図8のタイミングチャートは、実施の形態4にかかる周波数検出器が、FIFO型メモリ8においても、出力線12においても、データの重複や空きを生じさせることなく、処理を継続できることを示している。 The operation of the frequency detector according to the fourth embodiment will be clarified by using the timing chart. FIG. 8 is a timing chart showing the processing timing of the frequency detector according to the fourth embodiment. The band of each row of the timing chart of FIG. 8 is obtained by dividing the data into N pieces. The top square wave in the timing chart of FIG. 8 is a clock signal. Further, in FIG. 8, “INPUT / 2” indicates each data on the input line 2, “Delay / 24” indicates the output of the delay device 24, “SEL / 25” indicates the output of the selector 25, and “FIFO /”. "8" is the output of the FIFA type memory 8, "Add / 21" is the addition result of the adder / subtractor 21, "Sub / 21" is the subtraction result of the adder / subtractor 21, and "Delay / 26" is the output of the delay device 26. , "Multiply / 10" indicates the output of the multiplier 10, and "OUTPUT / 12" indicates each data on the output line 12. The timing chart of FIG. 8 shows that the frequency detector according to the fourth embodiment can continue processing in the FIFO type memory 8 and the output line 12 without causing data duplication or vacancy. ..
実施の形態5.
 実施の形態5にかかる周波数検出器は、既出の実施の形態にかかる周波数検出器とは異なる、別の補正演算器4を備える。図5は、実施の形態5にかかる周波数検出器の補正演算器4の構成を示すブロック図である。
Embodiment 5.
The frequency detector according to the fifth embodiment includes another correction calculator 4 different from the frequency detector according to the above-described embodiment. FIG. 5 is a block diagram showing the configuration of the correction calculator 4 of the frequency detector according to the fifth embodiment.
 実施の形態5にかかる周波数検出器の全体構成は、実施の形態1の全体構成と同じである(図1参照)。実施の形態5の説明は、既出の実施の形態と共通する構成要素には同じ符号を用いる。また、既出の実施の形態と重複する説明は、適宜、省略する。 The overall configuration of the frequency detector according to the fifth embodiment is the same as the overall configuration of the first embodiment (see FIG. 1). In the description of the fifth embodiment, the same reference numerals are used for the components common to the above-mentioned embodiments. Further, the description overlapping with the above-described embodiment will be omitted as appropriate.
 実施の形態5の補正演算器4は、図5に示すように、外部メモリ16を制御するメモリ制御器15を備える。外部メモリ16とメモリ制御器15とは、実施の形態1の補正演算器4におけるFIFO型メモリ8と同じように動作し機能する。 As shown in FIG. 5, the correction calculator 4 of the fifth embodiment includes a memory controller 15 that controls the external memory 16. The external memory 16 and the memory controller 15 operate and function in the same manner as the FIFO type memory 8 in the correction calculator 4 of the first embodiment.
 以上の構成を備えることにより、実施の形態5にかかる周波数検出器は、外部のメモリが利用できる場合において、実施の形態1にかかる周波数検出器よりも回路規模を削減し、実施の形態1にかかる周波数検出器と同じ効果を得ることができる。 By providing the above configuration, the frequency detector according to the fifth embodiment has a smaller circuit scale than the frequency detector according to the first embodiment when an external memory can be used, and the first embodiment has a smaller circuit scale. The same effect as such a frequency detector can be obtained.
実施の形態6.
 既出の実施の形態にかかる周波数検出器は、入力線の数を必要最小限の1とした1系統の構成を示したが、これに限定するものではない。実施の形態6にかかる周波数検出器は、入力を2系統として構成されている。図6は、実施の形態6にかかる周波数検出器の構成を示すブロック図である。
 すなわち、実施の形態6にかかる周波数検出器は、FIFO型メモリが接続されている加減算器入力に代えて、あらたに入力系統を増やし、加減算器へ直接入力するように構成し、それぞれの入力系統でサンプリングタイミングの異なったN個のサンプリングデータを入力するように構成した。
Embodiment 6.
The frequency detector according to the above-described embodiment has shown a configuration of one system in which the number of input lines is set to the minimum necessary one, but the present invention is not limited to this. The frequency detector according to the sixth embodiment is configured with two inputs. FIG. 6 is a block diagram showing a configuration of the frequency detector according to the sixth embodiment.
That is, the frequency detector according to the sixth embodiment is configured to newly increase the input system and input directly to the adder / subtractor instead of the adder / subtractor input to which the FIFO type memory is connected, and each input system. Was configured to input N sampling data with different sampling timings.
 実施の形態6にかかる周波数検出器は、図6に示すとおり、2系統の入力データを受け取る入力線2(2a、2b)を備える。実施の形態1の構成と比較すると、実施の形態1の周波数検出器におけるFIFO型メモリ8がなくなり、その分が2系統のうちの1系統だとわかる。入力線2(2a、2b)は、それぞれNサンプルぶんタイミングをずらしてそれぞれN個のサンプリングデータずつ、入力データを扱うことを意図している。 As shown in FIG. 6, the frequency detector according to the sixth embodiment includes input lines 2 (2a, 2b) that receive input data of two systems. Compared with the configuration of the first embodiment, it can be seen that the FIFO type memory 8 in the frequency detector of the first embodiment disappears, and that portion is one of the two systems. The input lines 2 (2a, 2b) are intended to handle the input data by N sampling data, respectively, with the timings shifted by N samples.
 実施の形態6にかかる周波数検出器の動作原理は、実施の形態1の周波数検出器の動作原理と共通する。相違点は、入力系統が2系統あるということである。入力線2bは、入力線2aがN個のサンプルデータを扱った後に、次のN個のサンプルデータを扱うという点である。 The operating principle of the frequency detector according to the sixth embodiment is the same as the operating principle of the frequency detector according to the first embodiment. The difference is that there are two input systems. The input line 2b is a point in which the input line 2a handles N sample data and then handles the next N sample data.
 以上の構成を備えることにより、実施の形態6にかかる周波数検出器は、サンプリングレートを2倍に上げたことにより、下がった分解能を上げる(分解能を元に戻す)ことができる。なお、この実施の形態6にかかる周波数検出装置は、サンプリングレートが変わらない場合にも適用することができる。これは、図1のFIFO型メモリ8が、本装置前段(装置外の入力線2a側)に移動した構成にほかならない。この場合、入力線2(2a、2b)に2N周期で、0からN-1番目の入力データ列とNから2N-1番目の入力データ列とを同一にすれば、実施の形態3にかかる周波数検出装置と同じ出力が得られる。 By providing the above configuration, the frequency detector according to the sixth embodiment can increase the reduced resolution (restore the resolution) by doubling the sampling rate. The frequency detection device according to the sixth embodiment can be applied even when the sampling rate does not change. This is nothing but a configuration in which the FIFO type memory 8 of FIG. 1 is moved to the front stage of the present device (the input line 2a side outside the device). In this case, if the input data string from 0 to N-1 and the input data string from N to 2N-1 are made the same on the input line 2 (2a, 2b) in a 2N cycle, the third embodiment is performed. The same output as the frequency detector is obtained.
実施の形態7.
 実施の形態6にかかる周波数検出器は、入力系統を2系統にしたものであるが、入力系統の数はさらに増やしてもよい。実施の形態7にかかる周波数検出器は、入力系統を3系統に増やしたことが特徴である。図7は、実施の形態7にかかる周波数検出器の構成を示すブロック図である。
Embodiment 7.
The frequency detector according to the sixth embodiment has two input systems, but the number of input systems may be further increased. The frequency detector according to the seventh embodiment is characterized in that the number of input systems is increased to three. FIG. 7 is a block diagram showing a configuration of the frequency detector according to the seventh embodiment.
 実施の形態7にかかる周波数検出器は、図7に示すとおり、3系統の入力データを受け取る入力線2(2a、2b、2c)を備える。実施の形態2の構成と比較すると、実施の形態2の周波数検出器におけるFIFO型メモリ8がなくなり、その分が3系統のうちの1系統だとわかる。入力線2(2a、2b、2c)は、それぞれNサンプルぶんタイミングをずらしてそれぞれN個のサンプリングデータずつ、入力データを扱うことを意図している。 As shown in FIG. 7, the frequency detector according to the seventh embodiment includes input lines 2 (2a, 2b, 2c) that receive input data of three systems. Compared with the configuration of the second embodiment, it can be seen that the FIFO type memory 8 in the frequency detector of the second embodiment disappears, and that portion is one of the three systems. The input lines 2 (2a, 2b, 2c) are intended to handle the input data by N sampling data, respectively, with the timings shifted by N samples.
 実施の形態7にかかる周波数検出器の動作原理は、実施の形態2の周波数検出器の動作原理と共通する。相違点は、入力系統が3系統あるということである。入力線2bは、入力線2aがN個のサンプルデータを扱った後に、次のN個のサンプルデータを扱う。また、入力線2cは、入力線2bがN個のサンプルデータを扱った後に、その次のN個のサンプルデータを扱う。 The operating principle of the frequency detector according to the seventh embodiment is the same as the operating principle of the frequency detector according to the second embodiment. The difference is that there are three input systems. The input line 2b handles the next N sample data after the input line 2a handles N sample data. Further, the input line 2c handles N sample data after the input line 2b handles N sample data.
 以上の構成を備えることにより、実施の形態7にかかる周波数検出器は、サンプリングレートを3倍に上げたことにより、下がった分解能を上げる(分解能を元に戻す)ことができる。また、実施の形態7における周波数検出装置は、入力系統を3系統にしたものをしめしたが、これに限定するものではない。本開示技術は、入力系統を3以上のL個の入力系統を有するものへと一般化することができる。 By providing the above configuration, the frequency detector according to the seventh embodiment can increase the reduced resolution (restore the resolution) by triple the sampling rate. Further, the frequency detection device according to the seventh embodiment shows that the input system has three systems, but the frequency detection device is not limited to this. The disclosed technique can generalize an input system to one having 3 or more L input systems.
実施の形態8.
 既出の実施の形態にかかる周波数検出装置は、最大振幅のピーク周波数を検出する動作について説明がなされてきた。従来の周波数検出装置と同様、検出するピーク周波数は同時に複数あってもよい。実施の形態8にかかる周波数検出装置の構成は、実施の形態1にかかるものの構成と同じである(図1参照)。複数のピーク周波数を検出するときの動作は、具体例による検出器6と選択器7と動作によって明らかになる。
Embodiment 8.
The frequency detection device according to the above-described embodiment has been described for the operation of detecting the peak frequency of the maximum amplitude. Similar to the conventional frequency detection device, there may be a plurality of peak frequencies to be detected at the same time. The configuration of the frequency detection device according to the eighth embodiment is the same as the configuration according to the first embodiment (see FIG. 1). The operation when detecting a plurality of peak frequencies is clarified by the detector 6 and the selector 7 and the operation according to a specific example.
 実施の形態8の具体例は、3つの周波数を同時に検出する。検出器6は、1以上のピーク周波数を検出し、検出した指標を選択器7へ出力する。検出器6は、出力された指標に以下の操作を行う。検出器6は、受け取った指標をまず2倍にする。つぎに、検出器6は、初回受取りを0番目と数えて奇数番目に受け取った指標にはさらに1を加える。選択器7は、直近2回分の出力された指標のうち、検出器6が出力した段階で指標の差が1となる2つの指標があれば、この2つの指標を統合する。統合処理の後、振幅が大きい順に3つの指標を周波数に変換し、変換した周波数の値を出力線3へ出力する。 A specific example of the eighth embodiment detects three frequencies at the same time. The detector 6 detects one or more peak frequencies and outputs the detected index to the selector 7. The detector 6 performs the following operation on the output index. The detector 6 first doubles the received index. Next, the detector 6 counts the first receipt as the 0th and adds 1 to the odd-numbered received index. The selector 7 integrates these two indexes if there are two indexes in which the difference between the indexes becomes 1 at the stage of the output by the detector 6 among the indexes output for the last two times. After the integration process, the three indexes are converted into frequencies in descending order of amplitude, and the converted frequency values are output to the output line 3.
 以上の構成を備えることにより、実施の形態8にかかる周波数検出器は、サンプリング点数をN個としたまま、従来の周波数検出器に比べ、処理速度を低下させることなく、かつ、回路規模も倍増させることなく、周波数分解能を2倍化し、同時に複数のピーク周波数を検出することができる。 By providing the above configuration, the frequency detector according to the eighth embodiment keeps the number of sampling points at N, does not reduce the processing speed as compared with the conventional frequency detector, and doubles the circuit scale. It is possible to double the frequency resolution and detect a plurality of peak frequencies at the same time without causing the problem.
 実施の形態8の具体例は、検出するピーク周波数の個数を3と固定していたものであったが、これに限定するものではない。検出するピーク周波数は、振幅の閾値で決めてもよいし、振幅の閾値と個数の条件とを組み合わせて決めてもよい。 In the specific example of the eighth embodiment, the number of peak frequencies to be detected is fixed at 3, but the number is not limited to this. The peak frequency to be detected may be determined by the amplitude threshold value or may be determined by combining the amplitude threshold value and the number condition.
実施の形態9.
 既出の実施の形態にかかる周波数検出器は、専用の処理回路を用いることを前提に説明を行ったが、これに限定するものではない。実施の形態9にかかる周波数検出器は、既出の実施の形態にかかる周波数検出器の機能を、一般的なプロセッサを用いて実現する構成を採用する。図9は、実施の形態9にかかる周波数検出装置の構成を示すブロック図である。
Embodiment 9.
The frequency detector according to the above-described embodiment has been described on the premise that a dedicated processing circuit is used, but the present invention is not limited to this. The frequency detector according to the ninth embodiment adopts a configuration in which the function of the frequency detector according to the above-described embodiment is realized by using a general processor. FIG. 9 is a block diagram showing a configuration of the frequency detection device according to the ninth embodiment.
 図9が示すように、実施の形態9にかかる周波数検出器31は、データを受け取る入力線32、検出結果を出力する出力線33、外部との入出力を行う入出力器34、データ等を蓄えるメモリ35、フーリエ変換等の演算処理を行うプロセッサ36を備える。 As shown in FIG. 9, the frequency detector 31 according to the ninth embodiment has an input line 32 for receiving data, an output line 33 for outputting a detection result, an input / output device 34 for input / output to / from the outside, data, and the like. It includes a memory 35 for storing and a processor 36 for performing arithmetic processing such as Fourier transform.
 入出力器34は、入力線32を介して受信するN個のサンプリングデータを、メモリ35に出力する。最初を0として数えた偶数回目のN個のサンプリングデータは、データEVENと名付ける。奇数回目のN個のサンプリングデータは、データODDと名付ける。 The input / output device 34 outputs N sampling data received via the input line 32 to the memory 35. The N sampling data of the even number, which is counted with the first as 0, is named data EVEN. The N sampling data of the odd number of times is named data ODD.
 プロセッサ36は、メモリ35に蓄えたデータに対し、補正演算を施す(ステップST1)。補正演算は、データEVENとデータODDの加算である。 The processor 36 performs a correction operation on the data stored in the memory 35 (step ST1). The correction operation is the addition of data EVEN and data ODD.
 プロセッサ36は、N個のサンプリングデータに対してフーリエ変換を実施する(ステップST2)。N個のフーリエ変換結果は、周波数の低い順に指標が付される。 The processor 36 performs a Fourier transform on N sampling data (step ST2). The N Fourier transform results are indexed in ascending order of frequency.
 プロセッサ36は、フーリエ変換結果のN個の複素数について、絶対値を算出する(ステップST3)。この絶対値は、既にのべた振幅のことである。 The processor 36 calculates an absolute value for N complex numbers of the Fourier transform result (step ST3). This absolute value is already the total amplitude.
 プロセッサ36は、振幅が最大である指標を選出し、指標を2倍にする(ステップST4)。 The processor 36 selects the index having the maximum amplitude and doubles the index (step ST4).
 プロセッサ36は、選出を2回以上実施した場合、直近の2回のうち、振幅が大きい指標をメモリ35に出力する(ステップST5)。出力する値は、指標の代わりに指標に対応する周波数でもよい。 When the selection is performed twice or more, the processor 36 outputs an index having a large amplitude among the latest two times to the memory 35 (step ST5). The output value may be the frequency corresponding to the index instead of the index.
 入出力器34は、プロセッサ36が上記の値をメモリに出力した時、その値を出力線33に出力する。 When the processor 36 outputs the above value to the memory, the input / output device 34 outputs the value to the output line 33.
 周波数検出器は、入力線32からあらたなN個のサンプリングデータが送られる。あらたなN個のサンプリングデータは、入出力器34を介してメモリ35に蓄える。ここでの例では、メモリ35への保存が偶数番目の事象だと仮定し、N個のサンプリングデータをデータEVENとする(データを置き換える)。 The frequency detector sends N new sampling data from the input line 32. The new N sampling data are stored in the memory 35 via the input / output device 34. In the example here, it is assumed that the storage in the memory 35 is an even-numbered event, and N sampling data are set as data EVEN (data is replaced).
 プロセッサ36は、メモリ35に蓄えたデータに対し、補正演算を施す(ステップST6)。補正演算は、データEVENからデータODDの減算と減算結果への位相乗算である。この位相乗算での位相は、初期値を0として、π/Nずつ増やす。 The processor 36 performs a correction operation on the data stored in the memory 35 (step ST6). The correction operation is the subtraction of the data ODD from the data EVEN and the phase multiplication to the subtraction result. The phase in this phase multiplication is increased by π / N with the initial value set to 0.
 プロセッサ36は、この後、ステップST2からステップST5の処理を実施する。そして、N個のサンプリングデータをデータODDとして置き換えた後、プロセッサ36はステップST6を実施する。以上がプロセッサ36が行う1巡のフローであり、プロセッサ36はこれを繰り返す。 After that, the processor 36 executes the processes from step ST2 to step ST5. Then, after replacing the N sampling data with the data ODD, the processor 36 executes step ST6. The above is a one-round flow performed by the processor 36, and the processor 36 repeats this.
 以上のとおり、既出の実施の形態にかかる周波数検出装置は、一般的なプロセッサを用いても実現することができる。なお、このプロセッサは、各種アクセラレータで代用してもよい。 As described above, the frequency detection device according to the above-described embodiment can also be realized by using a general processor. In addition, this processor may be substituted by various accelerators.
 周波数検出器 1、31; 入力線 2、2a、2b、2c、32; 出力線 3、12、33; 補正演算器 4; FFT器 5; 検出器 6; 選択器 7; FIFO型メモリ 8、8a、8b; 加減算器 9、21; 乗算器 10; 位相生成器 11; 位相回転器 13、13a、13b、13c; 加算器 14; メモリ制御器 15; 外部メモリ 16; 第二FIFO型メモリ 22; セレクタ 23、25; 遅延器 24、26; 入出力器 34; メモリ 35; プロセッサ36。 Frequency detector 1, 31; Input line 2, 2a, 2b, 2c, 32; Output line 3, 12, 33; Correction processor 4; FFT device 5; Detector 6; Selector 7; FIFO type memory 8, 8a , 8b; adder / subtractor 9, 21; multiplier 10; phase generator 11; phase rotator 13, 13a, 13b, 13c; adder 14; memory controller 15; external memory 16; second FIFA type memory 22; selector 23, 25; Delayer 24, 26; Input / output device 34; Memory 35; Processor 36.

Claims (7)

  1.  N個のサンプリングデータからN個のフーリエ変換結果を算出するFFT器と、
     前記フーリエ変換結果のうち、振幅が極大となる周波数の順番である指標を検出する検出器と、
     を備える周波数検出器であって、
     入力線を2つに分岐した2つの入力系統と、
     前記2つの入力系統の1つに接続され、遅延をさせるためのFIFO型メモリと、
     前記FIFO型メモリが介在する入力系統からのN個のサンプリングデータと他の入力系統からの別のN個のサンプリングデータとを加減算する加減算器と、
     位相を生成し、生成した前記位相を複素数に変換する位相生成器と、
     前記加減算器により加減算されたデータに、前記位相生成器で前記位相から変換された前記複素数を乗算する乗算器と、からなる補正演算器をさらに備え、
     前記乗算器から出力されたデータに対して前記フーリエ変換結果の算出を2回以上実施し、それぞれの前記フーリエ変換結果から検出した複数の指標について対応する振幅を比較して、振幅が大きい方の指標を選択することを特徴とする周波数検出器。
    An FFT device that calculates N Fourier transform results from N sampling data,
    Among the Fourier transform results, a detector that detects an index that is in the order of frequencies at which the amplitude becomes maximum, and a detector.
    It is a frequency detector equipped with
    Two input systems that split the input line into two,
    A FIFO type memory connected to one of the above two input systems to cause a delay,
    An adder / subtractor that adds / subtracts N sampling data from an input system intervening in the FIFO type memory and another N sampling data from another input system.
    A phase generator that generates a phase and converts the generated phase into a complex number,
    A correction arithmetic unit including a multiplier for multiplying the data added / subtracted by the addition / subtractor by the complex number converted from the phase by the phase generator, and a correction arithmetic unit including the same are further provided.
    The Fourier transform result is calculated twice or more for the data output from the multiplier, and the corresponding amplitudes of the plurality of indexes detected from the Fourier transform results are compared, and the amplitude is larger. A frequency detector characterized by selecting an index.
  2.  前記補正演算器の前記加減算器は、加減算器入力をさらに備え、さらにN個のサンプリングデータを加減算し、
     前記加減算器の複数の前記加減算器入力のそれぞれに、位相を回転させる位相回転器をさらに備える請求項1に記載の周波数検出器。
    The adder / subtractor of the correction calculator further includes an adder / subtractor input, and further adds / subtracts N sampling data.
    The frequency detector according to claim 1, further comprising a phase rotator for rotating the phase at each of the plurality of adder / subtractor inputs of the adder / subtractor.
  3.  前記補正演算器の前記加減算器は、加算結果用出力線と減算結果用出力線との2つの出力線を有し、
     前記減算結果用出力線は、遅延させるための第二FIFO型メモリに接続され、さらにその後段に前記乗算器に接続され、
     前記加算結果用出力線と前記乗算器の出力線とは、それぞれセレクタに接続され、
     前記セレクタは、N回毎に選択先を切り替えることを特徴とする請求項1に記載の周波数検出器。
    The addition / subtractor of the correction calculator has two output lines, an output line for an addition result and an output line for a subtraction result.
    The output line for the subtraction result is connected to the second FIFO type memory for delaying, and further connected to the multiplier in the subsequent stage.
    The output line for the addition result and the output line of the multiplier are connected to the selector, respectively.
    The frequency detector according to claim 1, wherein the selector switches the selection destination every N times.
  4.  前記補正演算器は、遅延回路をさらに備え、
     前記減算結果用出力線に接続されている前記第二FIFO型メモリは、前記FIFO型メモリと統合したことを特徴とする請求項3に記載の周波数検出器。
    The correction calculator further comprises a delay circuit.
    The frequency detector according to claim 3, wherein the second FIFO type memory connected to the subtraction result output line is integrated with the FIFO type memory.
  5.  前記補正演算器は、前記FIFO型メモリに代えて、外部メモリを制御するためのメモリ制御器を備えることを特徴とする請求項1から請求項4のいずれかに記載の周波数検出器。 The frequency detector according to any one of claims 1 to 4, wherein the correction calculator includes a memory controller for controlling an external memory instead of the FIFO type memory.
  6.  前記FIFO型メモリが接続されている前記加減算器入力に代えて、あらたに入力系統を増やし、前記加減算器へ直接入力するように構成し、
     それぞれの入力系統でサンプリングタイミングの異なったN個のサンプリングデータを入力するように構成したことを特徴とする請求項2に記載の周波数検出器。
    Instead of the adder / subtractor input to which the FIFO type memory is connected, a new input system is added and configured to directly input to the adder / subtractor.
    The frequency detector according to claim 2, wherein each input system is configured to input N sampling data having different sampling timings.
  7.  N個のサンプリングデータからN個のフーリエ変換結果を算出する処理を実行し、
     前記フーリエ変換結果のうち、振幅が極大となる周波数の順番である指標を検出する処理を実行するプロセッサを備える周波数検出器であって、
     前記プロセッサは
     メモリに蓄えたデータに対し、補正演算を施すステップと、
     前記補正演算を施したN個のサンプリングデータに対してフーリエ変換を実施するステップと、
     前記フーリエ変換結果のN個の複素数について、絶対値を算出するステップと、
     前記絶対値が最大である指標を選出し、指標を2倍にするステップと、
     選出を2回以上実施した場合、直近の2回のうち、振幅が大きい指標を出力するステップと、
    からなる処理を実行することを特徴とする周波数検出器。
    The process of calculating the N Fourier transform results from the N sampling data is executed.
    A frequency detector including a processor that executes a process of detecting an index of the order of frequencies at which the amplitude becomes maximum among the Fourier transform results.
    The processor performs a correction operation on the data stored in the memory, and
    A step of performing a Fourier transform on the N sampling data subjected to the correction operation, and
    The step of calculating the absolute value for the N complex numbers of the Fourier transform result, and
    The step of selecting the index with the maximum absolute value and doubling the index,
    If the selection is performed more than once, the step to output the index with the larger amplitude out of the last two times, and
    A frequency detector characterized by performing a process consisting of.
PCT/JP2020/040784 2020-10-30 2020-10-30 Frequency detector WO2022091331A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2020/040784 WO2022091331A1 (en) 2020-10-30 2020-10-30 Frequency detector
JP2022558740A JP7204064B2 (en) 2020-10-30 2020-10-30 frequency detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2020/040784 WO2022091331A1 (en) 2020-10-30 2020-10-30 Frequency detector

Publications (1)

Publication Number Publication Date
WO2022091331A1 true WO2022091331A1 (en) 2022-05-05

Family

ID=81382087

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/040784 WO2022091331A1 (en) 2020-10-30 2020-10-30 Frequency detector

Country Status (2)

Country Link
JP (1) JP7204064B2 (en)
WO (1) WO2022091331A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001042033A (en) * 1999-07-30 2001-02-16 Fujitsu Ten Ltd Peak frequency computing method in fft signal processing
JP2006234811A (en) * 2005-02-25 2006-09-07 Nemerix Sa Method obtaining frequency difference between input signal and standard frequency and discriminator executing this method, gps receiver and computer program
US20160097671A1 (en) * 2013-05-16 2016-04-07 Endress+Hauser Gmbh+Co. Kg Fill level measurement with improved distance determination

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012247304A (en) * 2011-05-27 2012-12-13 Sonic Corp Method and device for detection of peak power spectrum of short-time signal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001042033A (en) * 1999-07-30 2001-02-16 Fujitsu Ten Ltd Peak frequency computing method in fft signal processing
JP2006234811A (en) * 2005-02-25 2006-09-07 Nemerix Sa Method obtaining frequency difference between input signal and standard frequency and discriminator executing this method, gps receiver and computer program
US20160097671A1 (en) * 2013-05-16 2016-04-07 Endress+Hauser Gmbh+Co. Kg Fill level measurement with improved distance determination

Also Published As

Publication number Publication date
JP7204064B2 (en) 2023-01-13
JPWO2022091331A1 (en) 2022-05-05

Similar Documents

Publication Publication Date Title
US8917125B1 (en) Interleaving analog-to-digital converter (ADC) with background calibration
US5541958A (en) Clock recovery circuit of demodulator
JP4498184B2 (en) Linearity compensation circuit
US9030340B1 (en) N-path interleaving analog-to-digital converter (ADC) with background calibration
US9531343B2 (en) Systems and methods of variable fractional rate digital resampling
US8548100B2 (en) Method and system for performing complex sampling of signals by using two or more sampling channels and for calculating time delays between these channels
JP5070571B2 (en) Analog-digital conversion device, analog-digital conversion method, control device, and program
US7576666B2 (en) Jitter correction
JP5110531B2 (en) FM-CW radar equipment
WO2006135058A1 (en) Time interval measuring apparatus and jitter measuring apparatus using the same
US7768355B2 (en) Polyphase numerically controlled oscillator
WO2022091331A1 (en) Frequency detector
US10735010B1 (en) CDR-based timing skew calibration
US7103622B1 (en) Direct digital synthesizer with output signal jitter reduction
US11652488B2 (en) Phase coherent frequency synthesis
US20060133466A1 (en) Pleisiochronous repeater system and components thereof
US11552646B2 (en) Timing skew mismatch calibration for time interleaved analog to digital converters
JP3728756B2 (en) Device for correcting delay time of discrete Fourier transform value
US5838956A (en) Clock generating circuit
WO2022091329A1 (en) Frequency detector
Gbolagade et al. A residue to binary converter for the {2n+ 2, 2n+ 1, 2n} moduli set
JP2016208340A (en) Lock-in amplifier
JPH0690277B2 (en) Digital pulse compressor
KR101818656B1 (en) Method and system for performing complex sampling of signals by using two or more sampling channels and for calculating time delays between these channels
JP3566613B2 (en) Tone generator and digital tone generation method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20959849

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022558740

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20959849

Country of ref document: EP

Kind code of ref document: A1