Frequency detection apparatus, frequency detection method, and frequency detection circuit

The frequency detection device addresses the complexity of existing circuits by calculating frequency without sample-and-hold circuits, achieving efficient frequency detection through data decimation and phase difference calibration.

WO2026100092A1PCT designated stage Publication Date: 2026-05-15MITSUBISHI ELECTRIC CORP
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
MITSUBISHI ELECTRIC CORP
Filing Date
2025-02-06
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

Existing frequency detection circuits require two sample-and-hold circuits, which increases complexity and resource utilization.

Method used

A frequency detection device that calculates frequency without implementing two sample-and-hold circuits by using a data decimation unit to extract decimated data, a frequency-phase calculation unit to determine frequency and phase, a phase difference calculation unit to calculate phase differences, and a phase difference calibration unit to calibrate these differences, along with an aliasing order calculation unit to determine Nyquist aliasing order, ultimately calculating frequency using these components.

Benefits of technology

Enables frequency calculation with reduced computational resources by eliminating the need for two sample-and-hold circuits, allowing for efficient frequency detection with improved computational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2025003834_15052026_PF_FP_ABST
    Figure JP2025003834_15052026_PF_FP_ABST
Patent Text Reader

Abstract

A frequency detection apparatus (7) comprises a data downsampling unit (10) that extracts, as first downsampled data, pieces of data every m samples from a sequence of quantized data samples of a measured signal, and extracts, as second downsampled data, pieces of data which are offset by an offset number with respect to the respective pieces of data extracted every m samples, and a phase difference calculation unit (12) that calculates a phase difference between the phases of the first downsampled data and the phases of the second downsampled data. The frequency detection apparatus (7) also comprises a phase difference calibration unit (13) that acquires calibrated data which corresponds to the phase difference calculated by the phase difference calculation unit (12) and calibrates the phase difference according to the calibrated data, an aliasing order calculation unit (14) that calculates a Nyquist aliasing order of the first downsampled data on the basis of the calibrated phase difference from the phase difference calibration unit (13), and a frequency calculation unit (15) that calculates the frequency of the measured signal using a frequency calculated by a frequency phase calculation unit (11) and the Nyquist aliasing order calculated by the aliasing order calculation unit (14).
Need to check novelty before this filing date? Find Prior Art

Description

Frequency detection device, frequency detection method, and frequency detection circuit

[0001] This disclosure relates to a frequency detection device, a frequency detection method, and a frequency detection circuit.

[0002] There is a frequency detection circuit that calculates the frequency of a signal to be measured. As such a frequency detection circuit, for example, Patent Document 1 discloses a frequency detection circuit comprising a first sample-and-hold circuit, a second sample-and-hold circuit, and a frequency calculation circuit. The first sample-and-hold circuit undersamples the signal to be measured using a first clock signal and outputs the signal to be measured after undersampling. The second sample-and-hold circuit undersamples the signal to be measured using a second clock signal that has the same frequency as the first clock signal but a different phase from the first clock signal, and outputs the signal to be measured after undersampling. The frequency calculation circuit comprises a first quantizer that quantizes the output signal of the first sample-and-hold circuit and outputs first quantized data, which is the signal after quantization, and a second quantizer that quantizes the output signal of the second sample-and-hold circuit and outputs second quantized data, which is the signal after quantization. The frequency calculation circuit calculates the frequency of the first quantized data, calculates the order of undersampling for the signal under test from the phase difference between the phase of the first quantized data and the phase of the second quantized data, and calculates the frequency of the signal under test from the frequency of the first quantized data and the order of undersampling.

[0003] International Publication No. 2020-152764

[0004] The frequency detection circuit disclosed in Patent Document 1 had the problem that it required the implementation of a first sample-and-hold circuit and a second sample-and-hold circuit before the frequency calculation circuit.

[0005] This disclosure was made to solve the above-mentioned problems, and aims to provide a frequency detection device that can calculate the frequency of a signal under measurement without implementing two sample-and-hold circuits.

[0006] The frequency detection device according to this disclosure includes: a data decimation unit that extracts data at intervals of m (where m is an integer of 2 or more) samples from a sample sequence of quantized data, where the signal to be measured is a quantized signal, as first decimated data, and extracts data that is offset by a certain number from each of the data at intervals of m samples as second decimated data; a frequency-phase calculation unit that calculates the frequency and phase of the first decimated data extracted by the data decimation unit; and a phase difference calculation unit that calculates the phase of the second decimated data extracted by the data decimation unit and calculates the phase difference between the phase of the first decimated data and the phase of the second decimated data. The frequency detection device also includes: a phase difference calibration unit that acquires calibration data corresponding to the phase difference calculated by the phase difference calculation unit and calibrates the phase difference according to the calibration data; an aliasing order calculation unit that calculates the Nyquist aliasing order of the first decimated data based on the phase difference after calibration by the phase difference calibration unit; and a frequency calculation unit that calculates the frequency of the signal to be measured using the frequency calculated by the frequency-phase calculation unit and the Nyquist aliasing order calculated by the aliasing order calculation unit.

[0007] According to this disclosure, the frequency of the signal under test can be calculated without implementing two sample-and-hold circuits.

[0008] This is a diagram showing a frequency detection circuit including a frequency detection device 2 according to Embodiment 1. This is a hardware diagram showing the hardware of the frequency detection device 2 according to Embodiment 1. This is a hardware diagram of a computer when the frequency detection device 2 is implemented by software or firmware, etc. This is a flowchart showing the frequency detection method, which is the processing procedure of the frequency detection device 2. This is an explanatory diagram showing the frequency, Nyquist frequency, and Nyquist zone of the clock signal. This is an explanatory diagram showing examples of the sample sequence of quantized data, the first decimated data, and the second decimated data. Calibration data θ cal (f out ) and phase difference Δθ clk This is an explanatory diagram illustrating an example. Calibration data θ for each phase difference Δθ. cal (f out ) and phase difference Δθclk is an explanatory diagram showing that when m = 16, frequency detection with a frequency resolution of f clk / 4096 can be realized in parallel with two 256-point FFTs. It is a configuration diagram showing a frequency detection circuit including the frequency detection device 2 according to Embodiment 2. It is a hardware configuration diagram showing the hardware of the frequency detection device 2 according to Embodiment 2. Frequency f outm When the first calibration quantization data of (m = 1,..., M) is given to the data decimation section 10, the first phase difference Δθ of frequency f outm is an explanatory diagram showing the linear interpolation result of. Frequency f 1,m When the nth calibration quantization data of (m = 1,..., M) is given to the data decimation section 10, the second phase difference Δθ of frequency f outm is an explanatory diagram showing the linear interpolation result of (m = 1,..., M). outm is an explanatory diagram showing the linear interpolation result of (m = 1,..., M). 2,m is an explanatory diagram showing the linear interpolation result of.

[0009] Hereinafter, in order to explain the present disclosure in more detail, embodiments for implementing the present disclosure will be described with reference to the accompanying drawings.

[0010] Embodiment 1. FIG. 1 is a configuration diagram showing a frequency detection circuit including the frequency detection device 2 according to Embodiment 1. FIG. 2 is a hardware configuration diagram showing the hardware of the frequency detection device 2 according to Embodiment 1. The frequency detection circuit shown in FIG. 1 includes a quantization unit 1 and a frequency detection device 2.

[0011] The quantization unit 1 quantizes the measurement signal, which is the signal to be frequency-detected, and outputs quantization data, which is the quantized measurement signal, to the frequency detection device 2.

[0012] The frequency detection device 2 includes a data decimation unit 10, a frequency phase calculation unit 11, a phase difference calculation unit 12, a phase difference calibration unit 13, an aliasing order calculation unit 14, a frequency calculation unit 15, and a calibration data storage unit 16. The data decimation unit 10 is implemented, for example, by the data decimation circuit 20 shown in Figure 2. The data decimation unit 10 acquires quantized data from the quantization unit 1. The data decimation unit 10 extracts data at intervals of m (where m is an integer greater than or equal to 2) samples from the sample sequence of quantized data as first decimated data. The data decimation unit 10 extracts data from the sample sequence of quantized data that is shifted by an offset number OFS from each of the data at intervals of m samples included in the first decimated data as second decimated data. The offset number OFS is a natural number less than or equal to half of m. The data decimation unit 10 outputs the first decimated data to the frequency phase calculation unit 11 and the second decimated data to the phase difference calculation unit 12.

[0013] The frequency phase calculation unit 11 is implemented, for example, by the frequency phase calculation circuit 21 shown in Figure 2. The frequency phase calculation unit 11 acquires first decimated data from the data decimation unit 10. The frequency phase calculation unit 11 calculates the frequency f of the first decimated data. out and the phase θ of the first decimated data out1 Each of these is calculated. Specifically, the frequency phase calculation unit 11 converts the first decimated data into a signal in the frequency domain, and calculates the frequency f of the first decimated data from the frequency bin of the peak frequency component in the signal in the frequency domain. out and the phase θ of the first decimated data out1 Each of these is identified. The frequency phase calculation unit 11 calculates the frequency f of the first decimated data. out The frequency calculation unit 15 outputs information indicating the phase θ of the first decimated data. out1 Information indicating this is output to the phase difference calculation unit 12.

[0014] The phase difference calculation unit 12 is implemented, for example, by the phase difference calculation circuit 22 shown in Figure 2. The phase difference calculation unit 12 acquires second decimated data from the data decimation unit 10 and the phase θ of the first decimated data from the frequency phase calculation unit 11.out1 Information indicating this is obtained. The phase difference calculation unit 12 calculates the phase θ of the second decimated data. out2 Specifically, the phase difference calculation unit 12 converts the second decimated data into a frequency domain signal and calculates the phase θ of the second decimated data from the frequency bins of the peak frequency components in the frequency domain signal. out2 The phase difference calculation unit 12 identifies the phase θ of the first decimated data. out1 and the phase θ of the second decimated data out2 The phase difference Δθ is calculated. The phase difference calculation unit 12 outputs information indicating the phase difference Δθ to the phase difference calibration unit 13.

[0015] The phase difference calibration unit 13 is implemented, for example, by the phase difference calibration circuit 23 shown in Figure 2. The phase difference calibration unit 13 acquires information indicating the phase difference Δθ from the phase difference calculation unit 12. The phase difference calibration unit 13 acquires calibration data θ corresponding to the phase difference Δθ from the calibration data storage unit 16. cal (f out The phase difference calibration unit 13 obtains the calibration data θ. cal (f out The phase difference Δθ is calibrated according to the following. The phase difference calibration unit 13 calibrates the phase difference Δθ after calibration. cal Information indicating this is output to the loopback order calculation unit 14.

[0016] The aliasing order calculation unit 14 is implemented, for example, by the aliasing order calculation circuit 24 shown in Figure 2. The aliasing order calculation unit 14 receives the phase difference Δθ after calibration from the phase difference calibration unit 13. cal Information indicating the phase difference Δθ is obtained from the calibration data storage unit 16. clk Information indicating the phase difference Δθ is obtained. clk Δθ is the phase difference between the phase of a first calibration signal having a frequency in the first-order Nyquist region and the phase of an nth calibration signal having a frequency in the nth-order Nyquist region. n is an integer greater than or equal to 2. The frequencies of the first calibration signal and the nth calibration signal are the same. The aliasing order calculation unit 14 calculates the phase difference Δθ after calibration by the phase difference calibration unit 13. calBased on this, the Nyquist aliasing order Fo of the quantized data is calculated and the Nyquist aliasing order Fo is output to the frequency calculation unit 15. Specifically, the aliasing order calculation unit 14 calculates the phase difference Δθ clk Phase difference Δθ clk The function is divided by , and the result of that division is output to the frequency calculation unit 15 as the Nyquist aliasing order Fo.

[0017] The frequency calculation unit 15 is implemented, for example, by the frequency calculation circuit 25 shown in Figure 2. The frequency calculation unit 15 receives the frequency f of the first decimated data from the frequency phase calculation unit 11. out The unit obtains information indicating the following, and the Nyquist aliasing order Fo is obtained from the aliasing order calculation unit 14. The frequency calculation unit 15 calculates the frequency f of the first decimated data. out Using the Nyquist aliasing order Fo, the frequency f of the signal under measurement is used. RF Calculate.

[0018] The calibration data storage unit 16 is implemented, for example, by the calibration data storage circuit 26 shown in Figure 2. The calibration data storage unit 16 stores calibration data θ corresponding to the phase difference Δθ. cal (f out ) and the phase difference Δθ clk It stores the following. The frequency detection device 2 shown in Figure 1 has a built-in calibration data storage unit 16. However, this is just one example, and the calibration data storage unit 16 may be provided outside the frequency detection device 2.

[0019] In Figure 1, it is assumed that the components of the frequency detection device 2—the data decimation unit 10, the frequency phase calculation unit 11, the phase difference calculation unit 12, the phase difference calibration unit 13, the aliasing order calculation unit 14, the frequency calculation unit 15, and the calibration data storage unit 16—are each implemented by dedicated hardware as shown in Figure 2. Specifically, it is assumed that the frequency detection device 2 is implemented by a data decimation circuit 20, a frequency phase calculation circuit 21, a phase difference calculation circuit 22, a phase difference calibration circuit 23, an aliasing order calculation circuit 24, a frequency calculation circuit 25, and a calibration data storage circuit 26.

[0020] The calibration data storage circuit 26 may include, for example, non-volatile or volatile semiconductor memory such as RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), magnetic disks, flexible disks, optical disks, compact disks, minidiscs, or DVDs (Digital Versatile Discs). Furthermore, each of the data decimation circuit 20, frequency phase calculation circuit 21, phase difference calculation circuit 22, phase difference calibration circuit 23, aliasing order calculation circuit 24, and frequency calculation circuit 25 can be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a combination thereof.

[0021] The components of the frequency detection device 2 are not limited to those implemented by dedicated hardware; the frequency detection device 2 may also be implemented by software, firmware, or a combination of software and firmware. The software or firmware is stored as a program in the computer's memory. The computer refers to the hardware that executes the program, and includes, for example, a CPU (Central Processing Unit), GPU (Graphics Processing Unit), central processing unit, processing unit, arithmetic unit, microprocessor, microcomputer, processor, or DSP (Digital Signal Processor).

[0022] Figure 3 is a hardware configuration diagram of a computer when the frequency detection device 2 is implemented by software or firmware. When the frequency detection device 2 is implemented by software or firmware, the calibration data storage unit 16 is configured on the computer's memory 31. Programs that cause the computer to execute the respective processing procedures in the data decimation unit 10, frequency phase calculation unit 11, phase difference calculation unit 12, phase difference calibration unit 13, aliasing order calculation unit 14, and frequency calculation unit 15 are stored in the memory 31. The computer's processor 32 then executes the programs stored in the memory 31.

[0023] Furthermore, Figure 2 shows an example in which each component of the frequency detection device 2 is implemented by dedicated hardware, and Figure 3 shows an example in which the frequency detection device 2 is implemented by software or firmware, etc. However, this is merely one example, and some components of the frequency detection device 2 may be implemented by dedicated hardware, while the remaining components may be implemented by software or firmware, etc.

[0024] Next, the operation of the frequency detection circuit shown in Figure 1 will be explained. Figure 4 is a flowchart showing the frequency detection method, which is the processing procedure of the frequency detection device 2. The quantization unit 1 uses a clock signal to quantize the signal to be measured and outputs the quantized data, which is the signal to be measured after quantization, to the frequency detection device 2. The frequency f of the signal to be measured RF However, the frequency 2f of the clock signal used by the quantization unit 1 clk The Nyquist frequency f is half the frequency of f. clk If it is higher than this, a phenomenon called aliasing occurs. As a result, the frequency f of the first decimated data calculated by the frequency phase calculation unit 11 out The calculation result is the Nyquist frequency f clk This indicates frequencies that exist in the first Nyquist zone, which is lower than the specified frequency.

[0025] Figure 5 is an explanatory diagram showing the frequency, Nyquist frequency, and Nyquist zone of the clock signal. In the example in Figure 5, the frequency of the clock signal is 2fclk Since is α [MHz], the Nyquist frequency f clk The frequency is α / 2 [MHz]. The first Nyquist zone is the bandwidth from DC (direct current) to α / 2 [MHz], the second Nyquist zone is the bandwidth from α / 2 [MHz] to α [MHz], the third Nyquist zone is the bandwidth from α [MHz] to 3α / 2 [MHz], the fourth Nyquist zone is the bandwidth from 3α / 2 [MHz] to 2α [MHz], and the fifth Nyquist zone is the bandwidth from 2α [MHz] to 5α / 2 [MHz]. The frequency f of the signal under measurement RF However, if the frequency is in the second to fifth Nyquist zones, the frequency f of the first decimated data calculated by the frequency phase calculation unit 11 out The calculation result indicates the frequencies present in the first Nyquist zone.

[0026] The data decimation unit 10 acquires quantized data from the quantization unit 1. The data decimation unit 10 extracts data at intervals of m (where m is an integer greater than or equal to 2) samples from the sample sequence of quantized data as first decimated data (step ST1 in Figure 4). The data decimation unit 10 also extracts data from the sample sequence of quantized data that is shifted by an offset number OFS from each of the data at intervals of m samples included in the first decimated data as second decimated data (step ST1 in Figure 4). If the sample sequence of quantized data is, for example, as shown in Figure 6, s 0 ,s 1 ,s 2 ,s 3 , , s m-1 ,s m ,s m+1 ,s m+2 ,s m+3 , , s (k-1)m-1 ,s (k-1)m ,s (k-1)m+1 ,s (k-1)m+2 ,s (k-1)m+3 , , s km-1 ,s km ,s km+1 ,s km+2 ,s km+3 If the sample column is like this, then the first decimated data is, for example, s 0 ,sm , , s (k-1)m ,s km The sample column will look like this. Also, the second thinned data will be, for example, s OFS ,s m+OFS ,...,s(k-1)m+OFS,s km+OFS The sample sequence will look like this. Figure 6 is an explanatory diagram showing examples of the sample sequence of quantized data, the first decimated data, and the second decimated data. The data decimation unit 10 outputs the first decimated data to the frequency phase calculation unit 11 and the second decimated data to the phase difference calculation unit 12.

[0027] The frequency phase calculation unit 11 obtains first decimated data from the data decimation unit 10. The frequency phase calculation unit 11 converts the first decimated data into a frequency domain signal, for example, by performing an FFT (Fast Fourier Transform) on the first decimated data. The frequency phase calculation unit 11 calculates the frequency f of the first decimated data from the frequency bins of the frequency components of the peaks in the frequency domain signal. out and the phase θ of the first decimated data out1 Identify each of them (step ST2 in Figure 4). From the frequency bin of the peak frequency component, the frequency f of the first decimated data. out and the phase θ of the first decimated data out1 The process of identifying each of these is a well-known technique, so a detailed explanation will be omitted. The frequency phase calculation unit 11 calculates the frequency f of the first decimated data. out The frequency calculation unit 15 outputs information indicating the phase θ of the first decimated data. out1 Information indicating this is output to the phase difference calculation unit 12.

[0028] The phase difference calculation unit 12 acquires second decimated data from the data decimation unit 10, and the phase θ of the first decimated data from the frequency phase calculation unit 11. out1 Information indicating this is obtained. The phase difference calculation unit 12 converts the second decimated data into a frequency domain signal by, for example, performing an FFT on the second decimated data. The phase difference calculation unit 12 calculates the phase θ of the second decimated data from the frequency bins of the frequency components of the peaks in the frequency domain signal.out2 Identify From the frequency bin of the peak frequency component, the phase θ of the second decimated data out2 The process of identifying itself is a known technique, so a detailed description is omitted. The phase difference calculation unit 12 calculates the phase difference Δθ between the phase θ of the first decimated data and the phase θ of the second decimated data as shown in the following equation (1) (step ST3 in FIG. 4). Δθ = θ out1 And the phase θ of the second decimated data out2 And the phase difference Δθ with (step ST3 in FIG. 4). Δθ = θ out2 -θout1 (1) The phase difference calculation unit 12 outputs information indicating the phase difference Δθ to the phase difference correction unit 13.

[0029] In the calibration data storage unit 16, calibration data θ corresponding to the phase difference Δθ cal (f out ) And the phase difference Δθ clk Are stored. FIG. 7 is an explanatory diagram showing an example of the calibration data θ cal (f out ) And the phase difference Δθ clk In FIG. 7, the horizontal axis is the frequency f of the first decimated data out And the vertical axis is the phase difference Δθ between the phase θ of the first decimated data and the phase θ of the second decimated data. In FIG. 7, a calibration signal in which the frequency f out1 Is present in the first Nyquist zone is given to the quantization unit 1 as a measured signal, and the phase difference Δθ with respect to the frequency f of the first decimated data out2 Is shown. When the frequency f of the first decimated data out Is, for example, f out The phase difference Δθ at is Δθ out Is. The calibration data θ 1 (f 1 ) Is expressed as in the following equation (2). cal (f out ) Is expressed as follows.

[0030] In the calibration data storage unit 16, as shown in FIG. 8, calibration data θ corresponding to each of a plurality of different phase differences Δθ cal (f out ) Are stored. FIG. 8 shows the calibration data θ for each phase difference Δθ cal (fout ) and phase difference Δθ clk This is an explanatory diagram illustrating the concept.

[0031] Furthermore, Figure 7 shows the frequency f out It exists in the secondary Nyquist zone, and the aliasing frequency is frequency f 1 When a calibration signal with the same frequency as the signal under measurement is supplied to the quantization unit 1, the frequency f of the first decimated data is... out The phase difference Δθ is shown. The frequency f of the first decimated data is shown. out However, for example f 1 The phase difference Δθ in this case is Δθ 2 Furthermore, Figure 7 shows the phase difference Δθ. 1 and phase difference Δθ 2 The difference between these two is the phase difference Δθ. clk This is represented by the phase difference Δθ. clk This corresponds to the sampling phase difference between the first decimated data and the second decimated data. As shown in Figure 8, the calibration data storage unit 16 stores the phase difference Δθ corresponding to each of a plurality of different phase differences Δθ. clk It is remembered.

[0032] The phase difference calibration unit 13 acquires information indicating the phase difference Δθ from the phase difference calculation unit 12. The phase difference calibration unit 13 acquires calibration data θ corresponding to the phase difference Δθ from the calibration data storage unit 16. cal (f out ) is obtained. The phase difference Δθ is, for example, Δθ 1 If so, Δθ 1 Corresponding calibration data θ cal (f out ) 1 The following is obtained, and the phase difference Δθ is, for example, Δθ 2 If so, Δθ 2 Corresponding calibration data θ cal (f out ) 2 The following is obtained. The phase difference calibration unit 13 obtains calibration data θ as shown in the following equation (3). cal (f out The phase difference Δθ is calibrated according to (step ST4 in Figure 4). The phase difference calibration unit 13 then calibrates the phase difference Δθ after calibration. calInformation indicating this is output to the loopback order calculation unit 14.

[0033]

[0034] The folding order calculation unit 14 receives the phase difference Δθ after calibration from the phase difference calibration unit 13. cal Information indicating the following is obtained. The folding order calculation unit 14 calculates the phase difference Δθ corresponding to the phase difference Δθ. clk Information indicating this is obtained. The folding order calculation unit 14 calculates the phase difference Δθ as shown in the following equation (4). cal Phase difference Δθ clk The Nyquist aliasing order Fo is calculated by dividing by (step ST5 in Figure 4). The aliasing order calculation unit 14 outputs the Nyquist aliasing order Fo to the frequency calculation unit 15.

[0035]

[0036] The frequency calculation unit 15 receives the frequency f of the quantized data from the frequency phase calculation unit 11. out Information indicating the following is obtained. The frequency calculation unit 15 obtains the Nyquist aliasing order Fo from the aliasing order calculation unit 14. The frequency f of the clock signal used by the quantization unit 1 clk Information indicating this is stored, for example, in the internal memory of the frequency calculation unit 15. Alternatively, the frequency f clk Information indicating this is provided to the frequency calculation unit 15 from outside the frequency detection device 2, for example.

[0037] If the Nyquist aliasing order Fo is 0 or greater (in step ST6: YES in Figure 4), the frequency calculation unit 15 calculates the frequency f of the clock signal as shown in the following equation (5): the Nyquist aliasing order Fo and the frequency f of the clock signal. clk The result of multiplying by the frequency f of the first decimated data out By adding this, the frequency f of the signal under measurement is obtained. RF The frequency calculation unit 15 calculates the frequency f of the clock signal, as shown in equation (6) below, if the Nyquist aliasing order Fo is negative (step ST6 in Figure 4: NO). clkFrom the result of multiplication, the frequency f of the first decimated data is out By subtracting the frequency f of the signal under measurement, RF The frequency f of the signal under test is calculated (step ST8 in Figure 4). RF Information indicating this is provided, for example, to a signal processing device (not shown) or a display device (not shown).

[0038]

[0039] Here, if the quantized data output from the quantization unit 1 is converted into a frequency domain signal by, for example, performing a 4096-point FFT, and the frequency of the quantized data is identified from the frequency bins of the peak frequency components in the frequency domain signal, then the frequency resolution is f clk Frequency detection of f / 4096 is possible. However, in this case, a large calculation rate is required. The frequency detection device 2 shown in Figure 1 can reduce the calculation rate compared to the case where quantized data is directly converted into a frequency domain signal, as described above. Specifically, the data decimation unit 10 extracts data every m samples from the sample sequence of quantized data as first decimated data, and extracts data that is shifted by an offset number OFS from each of the data every m samples as second decimated data. For example, when m = 16, the frequency phase calculation unit 11 only needs to perform an FFT on 256 (= 4096 / 16) points of the first decimated data, and the phase difference calculation unit 12 only needs to perform an FFT on 256 (= 4096 / 16) points of the second decimated data. Therefore, the frequency detection device 2 shown in Figure 1 has a frequency resolution of f as shown in Figure 9. clk Frequency detection of / 4096 can be performed using two parallel 256-point FFTs, which reduces the computation rate compared to directly converting quantized data into a frequency domain signal. Figure 9 shows that when m = 16, the frequency resolution is f clk This diagram illustrates that frequency detection at / 4096 can be achieved using two parallel 256-point FFTs.

[0040] In the above embodiment 1, the frequency detection device 2 is configured to include a data decimation unit 10 that extracts data at intervals of m (where m is an integer of 2 or more) samples from a sample sequence of quantized data, where the signal to be measured is a quantized signal, as first decimated data, and extracts data that is offset by a certain number from each of the data at intervals of m samples as second decimated data; a frequency and phase calculation unit 11 that calculates the frequency and phase of the first decimated data extracted by the data decimation unit 10; and a phase difference calculation unit 12 that calculates the phase of the second decimated data extracted by the data decimation unit 10 and calculates the phase difference between the phase of the first decimated data and the phase of the second decimated data. Furthermore, the frequency detection device 2 includes a phase difference calibration unit 13 that acquires calibration data corresponding to the phase difference calculated by the phase difference calculation unit 12 and calibrates the phase difference according to the calibration data; an aliasing order calculation unit 14 that calculates the Nyquist aliasing order of the first decimated data based on the phase difference after calibration by the phase difference calibration unit 13; and a frequency calculation unit 15 that calculates the frequency of the signal under test using the frequency calculated by the frequency phase calculation unit 11 and the Nyquist aliasing order calculated by the aliasing order calculation unit 14. Therefore, the frequency detection device 2 can calculate the frequency of the signal under test without implementing two sample-and-hold circuits.

[0041] Embodiment 2. Embodiment 2 describes a frequency detection device 2 that includes a calibration data calculation unit 17 for calculating calibration data.

[0042] Figure 10 is a configuration diagram showing a frequency detection circuit including a frequency detection device 2 according to Embodiment 2. In Figure 10, the same reference numerals as in Figure 1 indicate the same or corresponding parts, so a detailed explanation is omitted. Figure 11 is a hardware configuration diagram showing the hardware of the frequency detection device 2 according to Embodiment 2. In Figure 11, the same reference numerals as in Figure 2 indicate the same or corresponding parts, so a detailed explanation is omitted. The frequency detection device 2 shown in Figure 10 includes a data decimation unit 10, a frequency phase calculation unit 11, a phase difference calculation unit 12, a phase difference calibration unit 13, an aliasing order calculation unit 14, a frequency calculation unit 15, a calibration data storage unit 16, and a calibration data calculation unit 17.

[0043] In the frequency detection circuit shown in Figure 10, a first calibration signal and an nth calibration signal are sequentially supplied to the quantization unit 1 before the signal to be measured is supplied to the quantization unit 1. n is an integer of 2 or greater. The first calibration signal is a calibration signal having a frequency in the first-order Nyquist region, and the nth calibration signal is a calibration signal having a frequency in the nth-order Nyquist region. The first calibration signal and the nth calibration signal are signals supplied to calculate calibration data to be stored in the calibration data storage unit 16.

[0044] The calibration data calculation unit 17 is implemented, for example, by the calibration data calculation circuit 27 shown in Figure 11. The calibration data calculation unit 17 calculates the phase difference calculated by the phase difference calculation unit 12 when the first calibration signal is provided to the quantization unit 1 instead of the signal to be measured, and the first calibration quantized data, which is the signal obtained by quantizing the first calibration signal, is provided to the data decimation unit 10, and the phase difference is calculated by the phase difference calculation unit 12 to obtain the calibration data θ. cal (f out ) is calculated as follows. Specifically, the calibration data calculation unit 17 calculates the frequency f from among M first calibration quantization data with different frequencies. outm When the first calibration quantization data (m=1, ..., M) is given to the data decimation unit 10, the phase difference calculated by the phase difference calculation unit 12 is the calibration data θ cal (f out ) m It is calculated as follows: M is an integer greater than or equal to 2.

[0045] The calibration data calculation unit 17 calculates the calibration data θ cal (f out ) mIn addition to calculating the above, the phase difference between the calibration signals, which is the difference between the first phase difference and the second phase difference, is calculated. The first phase difference is the phase difference between the phase of the first decimated data extracted by the data decimation unit 10 and the phase of the second decimated data extracted by the data decimation unit 10 when the first calibration quantized data is given to the data decimation unit 10. The second phase difference is the phase difference between the phase of the first decimated data extracted by the data decimation unit 10 and the phase of the second decimated data extracted by the data decimation unit 10 when the nth calibration quantized data, which is a signal in which the nth calibration signal has been quantized, is given to the data decimation unit 10. The phase difference between the calibration signals is the phase difference between the phase of the first calibration signal and the phase of the nth calibration signal, that is, the phase difference Δθ, which is the difference between the first phase difference and the second phase difference. clkm This corresponds to the following. Specifically, the calibration data calculation unit 17 calculates the frequency f of the M first calibration signals, which have different frequencies from each other. outm When a first calibration signal (m=1, ..., M) is applied to the quantization unit 1, the frequency phase calculation unit 11 obtains information indicating the phases of multiple first decimated data with different frequencies from each other, as the phase of the first decimated data. The calibration data calculation unit 17 also calculates the frequency f outm When a first calibration signal (m = 1, ..., M) is given to the quantization unit 1, the phase difference calculation unit 12 obtains information indicating the phases of a plurality of second decimated data with different frequencies from each other, as the phase of the second decimated data. The calibration data calculation unit 17 selects from the M nth calibration signals with different frequencies, the frequency f outm When the nth calibration signal (m=1, ..., M) is given to the quantization unit 1, the frequency phase calculation unit 11 obtains information indicating the phases of multiple first decimated data with different frequencies from each other, as the phase of the first decimated data. The calibration data calculation unit 17 also calculates the frequency f outm When the nth calibration signal is given to the quantization unit 1, the phase difference calculation unit 12 obtains information indicating the phases of multiple second decimated data with different frequencies from each other, as the phase of the second decimated data. Then, the calibration data calculation unit 17 calculates the frequency f outmWhen the first calibration quantization data (m=1, ..., M) is given to the data decimation unit 10, the frequency f outm Phase and frequency f of the first decimated data (m=1, ..., M) outm The first phase difference is the phase difference with the phase of the second decimated data, and the frequency f outm When the nth calibration quantization data is provided to the data decimation unit 10, the frequency f outm Phase and frequency f of the first decimated data outm The difference between the second phase difference, which is the phase difference with the phase of the second decimated data, and the frequency f outm Phase difference Δθ between calibration signals related to the calibration signal clkm The calibration data calculation unit 17 calculates the calibration data θ. cal (f out ) m (m = 1, ..., M) and phase difference Δθ clkm Each of these is output to the calibration data storage unit 16.

[0046] In Figure 10, it is assumed that each of the components of the frequency detection device 2, namely the data decimation unit 10, frequency phase calculation unit 11, phase difference calculation unit 12, phase difference calibration unit 13, aliasing order calculation unit 14, frequency calculation unit 15, calibration data storage unit 16, and calibration data calculation unit 17, is implemented by dedicated hardware as shown in Figure 11. That is, it is assumed that the frequency detection device 2 is implemented by a data decimation circuit 20, a frequency phase calculation circuit 21, a phase difference calculation circuit 22, a phase difference calibration circuit 23, an aliasing order calculation circuit 24, a frequency calculation circuit 25, a calibration data storage circuit 26, and a calibration data calculation circuit 27. Each of the data decimation circuit 20, frequency phase calculation circuit 21, phase difference calculation circuit 22, phase difference calibration circuit 23, aliasing order calculation circuit 24, frequency calculation circuit 25, and calibration data calculation circuit 27 can be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC, an FPGA, or a combination thereof.

[0047] The components of the frequency detection device 2 are not limited to those implemented by dedicated hardware; the frequency detection device 2 may also be implemented by software, firmware, or a combination of software and firmware. When the frequency detection device 2 is implemented by software or firmware, the calibration data storage unit 16 is configured on the memory 31 shown in Figure 3. Programs for causing a computer to execute the respective processing procedures in the data decimation unit 10, frequency phase calculation unit 11, phase difference calculation unit 12, phase difference calibration unit 13, aliasing order calculation unit 14, frequency calculation unit 15, and calibration data calculation unit 17 are stored in the memory 31. Then, the processor 32 shown in Figure 3 executes the programs stored in the memory 31.

[0048] Furthermore, Figure 11 shows an example in which each component of the frequency detection device 2 is implemented by dedicated hardware, and Figure 3 shows an example in which the frequency detection device 2 is implemented by software or firmware, etc. However, this is merely one example, and some components of the frequency detection device 2 may be implemented by dedicated hardware, while the remaining components may be implemented by software or firmware, etc.

[0049] Next, the operation of the frequency detection circuit shown in Figure 10 will be explained. The frequency f of the signal under measurement RF The process for detecting the frequency is the same as that of the frequency detection circuit shown in Figure 1. The frequency detection circuit shown in Figure 10 differs from the frequency detection circuit shown in Figure 1 in that it includes a process for calculating calibration data, etc.

[0050] The frequency detection device 2 detects the frequency f of the signal under measurement. RF Before detecting the frequency f, in order to calculate calibration data, etc., first, M first calibration signals with different frequencies are sequentially supplied to the quantization unit 1. outm When a first calibration signal (m = 1, ..., M) is provided, the first calibration signal is quantized, and the quantized data, which is the first calibration signal after quantization, is output to the data decimation unit 10 as the first calibration quantized data.

[0051] The data decimation unit 10 obtains first calibration quantized data from the quantization unit 1. The data decimation unit 10 extracts data at intervals of m (where m is an integer greater than or equal to 2) samples from the sample sequence of the first calibration quantized data as first decimated data. The data decimation unit 10 also extracts data from the sample sequence of the first calibration quantized data that is shifted by an offset number OFS from each of the data at intervals of m samples included in the first decimated data as second decimated data. The data decimation unit 10 outputs the first decimated data to the frequency phase calculation unit 11 and outputs the second decimated data to the phase difference calculation unit 12.

[0052] The frequency phase calculation unit 11 acquires first decimated data from the data decimation unit 10. The frequency phase calculation unit 11 converts the first calibration quantized data into a frequency domain signal by, for example, performing an FFT on the first decimated data. The frequency phase calculation unit 11 calculates the phase θ of the first decimated data from the frequency bins of the frequency components of the peaks in the frequency domain signal. outm The (m = 1, ..., M) values ​​are identified. The frequency phase calculation unit 11 determines the phase θ of the first decimated data. outm Information indicating this is output to the phase difference calculation unit 12 and the calibration data calculation unit 17, respectively.

[0053] The phase difference calculation unit 12 acquires second decimated data from the data decimation unit 10, and the phase θ of the first decimated data from the frequency phase calculation unit 11. outm Information indicating (m = 1, ..., M) is obtained. The phase difference calculation unit 12 converts the second decimated data into a frequency domain signal by, for example, performing an FFT on the second decimated data. The phase difference calculation unit 12 calculates the phase θ of the second decimated data from the frequency bins of the frequency components of the peaks in the frequency domain signal. outm The phase difference calculation unit 12 determines the phase θ of the first decimated data as shown in the following equation (7). outm and the phase θ of the second decimated data outm The first phase difference Δθ is the phase difference with ' 1,m Calculate Δθ. 1,m = θ outm'-θoutm (7) The phase difference calculation unit 12 calculates the first phase difference Δθ 1,m The calibration data calculation unit 17 outputs information indicating this.

[0054] Next, M nth calibration signals with different frequencies are sequentially supplied to the quantization unit 1. The quantization unit 1 processes the frequency f outm When the nth calibration signal (m = 1, ..., M) is given, the nth calibration signal is quantized, and the quantized data, which is the nth calibration signal after quantization, is output to the data decimation unit 10 as the nth calibration quantized data.

[0055] The data decimation unit 10 obtains the nth calibration quantized data from the quantization unit 1. The data decimation unit 10 extracts every other sample from the sample sequence of the nth calibration quantized data as the first decimated data, and extracts the remaining data as the second decimated data. The data decimation unit 10 outputs the first decimated data to the frequency phase calculation unit 11 and the second decimated data to the phase difference calculation unit 12.

[0056] The frequency-phase calculation unit 11 acquires first decimated data from the data decimation unit 10. The frequency-phase calculation unit 11 converts the first decimated data into a frequency domain signal, for example, by performing an FFT on the first decimated data. The frequency-phase calculation unit 11 calculates the phase θ of the first decimated data from the frequency bins of the peak frequency components in the frequency domain signal. outm The (m = 1, ..., M) values ​​are identified. The frequency phase calculation unit 11 determines the phase θ of the first decimated data. outm Information indicating this is output to the phase difference calculation unit 12 and the calibration data calculation unit 17, respectively.

[0057] The phase difference calculation unit 12 acquires second decimated data from the data decimation unit 10, and the phase θ of the first decimated data from the frequency phase calculation unit 11. outmInformation indicating (m = 1, ..., M) is obtained. The phase difference calculation unit 12 converts the second decimated data into a frequency domain signal by, for example, performing an FFT on the second decimated data. The phase difference calculation unit 12 calculates the phase θ of the second decimated data from the frequency bins of the frequency components of the peaks in the frequency domain signal. outm The phase difference calculation unit 12 determines the phase θ of the first decimated data as shown in equation (8) below. outm and the phase θ of the second decimated data outm The second phase difference Δθ is the phase difference with ' 2,m Calculate Δθ. 2,m = θ outm '-θoutm (8) The phase difference calculation unit 12 calculates the second phase difference Δθ 2,m The calibration data calculation unit 17 outputs information indicating this.

[0058] The calibration data calculation unit 17 receives the first phase difference Δθ from the phase difference calculation unit 12. 1,m Information indicating and the second phase difference Δθ 2,m Information indicating the above is obtained. The calibration data calculation unit 17 calculates the first phase difference Δθ as shown in the following equation (9). 1,m and the second phase difference Δθ 2,m The difference between these is the phase difference Δθ clkm It is calculated as follows: Δθ clkm = Δθ 1,m -Δθ2,m (9)

[0059] The calibration data calculation unit 17 calculates the frequency f from among M first calibration quantization data with different frequencies. outm When the first calibration quantization data (m=1, ..., M) is given to the data decimation unit 10, the phase difference calculated by the phase difference calculation unit 12 is the calibration data θ cal (f out ) m It is calculated as follows.

[0060] The calibration data calculation unit 17 calculates the calibration data θ cal (f out ) m Information indicating (m=1, ..., M) and the phase difference Δθ clkmInformation indicating the phase difference Δθ is output to the calibration data storage unit 16. m Calibration data θ corresponding to (m = 1, ..., M) cal (f out ) m And, the phase difference Δθ m The corresponding phase difference Δθ clkm This is remembered.

[0061] In the above embodiment 2, instead of quantized data, a first calibration quantized data, which is a signal obtained by quantizing a first calibration signal having a frequency in the first-order Nyquist region, is provided to the data decimation unit 10. The calibration data calculation unit 17 calculates the phase difference calculated by the phase difference calculation unit 12 as calibration data. The frequency detection device 2 is configured such that when quantized data is provided to the data decimation unit 10, the phase difference calibration unit 13 calibrates the phase difference calculated by the phase difference calculation unit 12 according to the calibration data calculated by the calibration data calculation unit 17. Therefore, the frequency detection device 2 can calculate the frequency of the signal under test without implementing two sample-and-hold circuits, and can also calculate calibration data before calculating the frequency of the signal under test.

[0062] In Embodiment 2, the frequency detection device 7 is configured such that, in addition to calculating calibration data, the calibration data calculation unit 17 also calculates the difference between the phase of the first calibration signal and the phase of the nth calibration signal, which is the phase difference between the phase of the first calibration signal and the phase of the nth calibration signal. This difference is calculated as the phase difference between the phase of the first calibration signal and the phase of the nth calibration signal.

[0063] In the frequency detection device 2 shown in Figure 10, the frequency f outm When the first calibration quantization data (m=1, ..., M) is provided to the data decimation unit 10, the phase difference calculation unit 12 calculates the frequency f outm Phase θ of the first decimated data outm and frequency f outm Phase θ of the second decimation data outm The first phase difference Δθ is the phase difference with ' 1,m The phase difference calculation unit 12 calculates the frequency f outm When the nth calibration quantization data is provided to the data decimation unit 10, the phase difference calculation unit 12 calculates the frequency f outm Phase θ of the first decimated data outm and frequency f outm Phase θ of the second decimation data outm The second phase difference Δθ is the phase difference with ' 2,m The calibration data calculation unit 17 calculates the frequency f outm The first phase difference Δθ of (m = 1, ..., M) 1,m By linear interpolating, the frequency f outmThe first phase difference Δθ with respect to frequencies different from (m = 1, ..., M) 1,m The calibration data calculation unit 17 calculates the frequency f. outm The second phase difference Δθ of (m=1, ..., M) 2,m By linear interpolating, the frequency f outm (m=1, ..., M) and the second phase difference Δθ related to different frequencies 2,m The calibration data calculation unit 17 then calculates the frequency f outm The first phase difference Δθ with respect to frequencies different from (m = 1, ..., M) 1,m and frequency f outm (m=1, ..., M) and the second phase difference Δθ related to different frequencies 2,m The difference between this and the frequency f outm The calculation may also be performed as the phase difference between calibration signals with different frequencies (m = 1, ..., M).

[0064] frequency f outm When the first calibration quantization data (m=1, ..., M) is given to the data decimation unit 10, the frequency f outm The phase difference between the phase of the first decimated data having a different frequency and the phase of the second decimated data is, for example, as shown in Figure 12, frequency f outm and frequency f outm+1 This is the phase difference corresponding to the frequency between [the specified frequency] and [the specified frequency]. outm When the nth calibration quantization data (m=1, ..., M) is given to the data decimation unit 10, the frequency f outm The phase difference between the phase of the first decimated data having a different frequency and the phase of the second decimated data is, for example, as shown in Figure 13, frequency f outm and frequency f outm+1 This is the phase difference corresponding to the frequency between [the specified point] and [the specified point]. Figure 12 shows the frequency f. outm When the first calibration quantization data (m=1, ..., M) is given to the data decimation unit 10, the frequency f outm The first phase difference Δθ 1,m This is an explanatory diagram showing the linear interpolation result. Figure 13 shows the frequency f outmWhen the nth calibration quantization data (m=1, ..., M) is given to the data decimation unit 10, the frequency f outm The second phase difference Δθ of (m=1, ..., M) 2,m This is an explanatory diagram showing the linear interpolation results. In Figures 12 and 13, the horizontal axis represents the frequency of the calibration signal, and the vertical axis represents the phase difference of the calibration signal.

[0065] Furthermore, this disclosure allows for free combination of each embodiment, modification of any component in each embodiment, or omission of any component in each embodiment.

[0066] This disclosure is suitable for use in, for example, frequency detection devices for detecting frequencies, frequency detection methods for detecting frequencies, and frequency detection circuits for detecting frequencies, because it can calculate the frequency of a signal under measurement without implementing two sample-and-hold circuits.

[0067] 1 Quantization unit, 2 Frequency detection device, 10 Data decimation unit, 11 Frequency phase calculation unit, 12 Phase difference calculation unit, 13 Phase difference calibration unit, 14 Alias ​​order calculation unit, 15 Frequency calculation unit, 16 Calibration data storage unit, 17 Calibration data calculation unit, 20 Data decimation circuit, 21 Frequency phase calculation circuit, 22 Phase difference calculation circuit, 23 Phase difference calibration circuit, 24 Alias ​​order calculation circuit, 25 Frequency calculation circuit, 26 Calibration data storage circuit, 27 Calibration data calculation circuit, 31 Memory, 32 Processor.

Claims

1. A data decimation unit that extracts data at intervals of m (where m is an integer of 2 or more) samples from a sample sequence of quantized data, where the signal to be measured is a quantized signal, as first decimated data, and extracts data that is offset by a certain number from each of the data at intervals of m samples as second decimated data; a frequency-phase calculation unit that calculates the frequency and phase of the first decimated data extracted by the data decimation unit; a phase difference calculation unit that calculates the phase of the second decimated data extracted by the data decimation unit and calculates the phase difference between the phase of the first decimated data and the phase of the second decimated data; a phase difference calibration unit that acquires calibration data corresponding to the phase difference calculated by the phase difference calculation unit and calibrates the phase difference according to the calibration data; and a folding order calculation unit that calculates the Nyquist folding order of the first decimated data based on the phase difference after calibration by the phase difference calibration unit. A frequency detection device comprising a frequency calculation unit that calculates the frequency of the signal to be measured using the frequency calculated by the frequency phase calculation unit and the Nyquist aliasing order calculated by the aliasing order calculation unit.

2. The frequency detection device according to claim 1, characterized in that the offset number is a natural number less than or equal to half of m.

3. The frequency detection device according to claim 1 or 2, wherein when a first calibration quantized data is provided to the data decimation unit, which is a signal in which a first calibration signal having a frequency in the first-order Nyquist region has been quantized, the device comprises a calibration data calculation unit which calculates the phase difference calculated by the phase difference calculation unit as the calibration data, and when the quantized data is provided to the data decimation unit, the phase difference calibration unit calibrates the phase difference calculated by the phase difference calculation unit according to the calibration data calculated by the calibration data calculation unit.

4. The frequency detection device according to claim 3, characterized in that the calibration data calculation unit calculates the respective phase differences calculated by the phase difference calculation unit as the calibration data when each of a plurality of first calibration quantization data sets with different frequencies are provided to the data decimation unit as the first calibration quantization data.

5. The frequency detection device according to claim 3 or 4, characterized in that, in addition to calculating the calibration data, the calibration data calculation unit calculates the difference between a first phase difference, which is the phase difference between the phase of the first decimated data extracted by the data decimation unit and the phase of the second decimated data extracted by the data decimation unit, when the first calibration quantized data is provided to the data decimation unit, and a second phase difference, which is the phase difference between the phase of the first decimated data extracted by the data decimation unit and the phase of the second decimated data extracted by the data decimation unit, when the nth calibration quantized data is a signal in which the nth calibration signal having a frequency in the Nyquist region of order (n is an integer of 2 or more), as a calibration signal phase difference, which is the phase difference between the phase of the first calibration signal and the phase of the nth calibration signal.

6. When a plurality of first calibration quantization data with different frequencies are provided to the data decimation unit, the calibration data calculation unit obtains the phases of the plurality of first decimation data with different frequencies from the frequency phase calculation unit as the phase of the first decimation data, and obtains the phases of the plurality of second decimation data with different frequencies from the phase difference calculation unit as the phase of the second decimation data. When a plurality of nth calibration quantization data with different frequencies are provided to the data decimation unit, the calibration data calculation unit obtains the phases of the plurality of first decimation data with different frequencies from the frequency phase calculation unit as the phase of the first decimation data, and obtains the phases of the plurality of second decimation data with different frequencies from the phase difference calculation unit as the phase of the second decimation data. The frequency detection device according to claim 5, wherein when a first calibration quantization data having each frequency is provided to the data decimation unit, the difference between a first phase difference, which is the phase difference between the phase of the first decimated data having each frequency and the phase of the second decimated data having each frequency, and when an nth calibration quantization data having each frequency is provided to the data decimation unit, the difference between a first phase difference, which is the phase difference between the phase of the first decimated data having each frequency and the phase of the second decimated data having each frequency, is calculated as the phase difference between calibration signals for each frequency, and the aliasing order calculation unit calculates the Nyquist aliasing order of the first quantization data using the phase difference after calibration by the phase difference calibration unit and the phase difference between calibration signals corresponding to the frequency calculated by the frequency phase calculation unit among the phase differences between calibration signals for a plurality of frequencies calculated by the calibration data calculation unit.

7. The frequency detection device according to claim 6, characterized in that the calibration data calculation unit calculates a first phase difference, which is the phase difference between the phase of a first decimated data having a different frequency and the phase of a second decimated data having a different frequency, by linearly interpolating the phase difference between the phase of a first decimated data having a different frequency and the phase of a second decimated data having a different frequency, when a first calibration quantization data having a different frequency is provided to the data decimation unit, and calculates a second phase difference, which is the phase difference between the phase of a first decimated data having a different frequency and the phase of a second decimated data having a different frequency, when an nth calibration quantization data having a different frequency is provided to the data decimation unit, by linearly interpolating the phase difference between the phase of a first decimated data having a different frequency and the phase of a second decimated data having a different frequency, and calculates the difference between the first phase difference relating to a different frequency and the second phase difference relating to a different frequency as the phase difference between calibration signals relating to a different frequency.

8. The data decimation unit extracts data at intervals of m (where m is an integer of 2 or more) samples from a sample sequence of quantized data, where the signal to be measured is a quantized signal, as first decimated data, and extracts data that is offset by a certain number from each of the data at intervals of m samples as second decimated data. The frequency phase calculation unit calculates the frequency and phase of the first decimated data extracted by the data decimation unit. The phase difference calculation unit calculates the phase of the second decimated data extracted by the data decimation unit and calculates the phase difference between the phase of the first decimated data and the phase of the second decimated data. The phase difference calibration unit obtains calibration data corresponding to the phase difference calculated by the phase difference calculation unit and calibrates the phase difference according to the calibration data. The aliasing order calculation unit calculates the Nyquist aliasing order of the first decimated data based on the phase difference after calibration by the phase difference calibration unit. A frequency detection method in which a frequency calculation unit calculates the frequency of the signal to be measured using the frequency calculated by the frequency phase calculation unit and the Nyquist aliasing order calculated by the aliasing order calculation unit.

9. A quantization unit that quantizes the signal under test and outputs quantized data, which is the signal under test after quantization; a data decimation unit that extracts data at intervals of m (where m is an integer of 2 or more) samples from a sample sequence of quantized data output from the quantization unit as first decimated data, and extracts data that is offset by a certain number from each of the data at intervals of m samples as second decimated data; a frequency-phase calculation unit that calculates the frequency and phase of the first decimated data extracted by the data decimation unit; a phase difference calculation unit that calculates the phase of the second decimated data extracted by the data decimation unit and calculates the phase difference between the phase of the first decimated data and the phase of the second decimated data; a phase difference calibration unit that acquires calibration data corresponding to the phase difference calculated by the phase difference calculation unit and calibrates the phase difference according to the calibration data; and a folding order calculation unit that calculates the Nyquist folding order of the first decimated data based on the phase difference after calibration by the phase difference calibration unit. A frequency detection circuit comprising a frequency calculation unit that calculates the frequency of the signal to be measured using the frequency calculated by the frequency phase calculation unit and the Nyquist aliasing order calculated by the aliasing order calculation unit.