JP6957901B2 - Frequency ratio measuring device and physical quantity sensor - Google Patents
Frequency ratio measuring device and physical quantity sensor Download PDFInfo
- Publication number
- JP6957901B2 JP6957901B2 JP2017040103A JP2017040103A JP6957901B2 JP 6957901 B2 JP6957901 B2 JP 6957901B2 JP 2017040103 A JP2017040103 A JP 2017040103A JP 2017040103 A JP2017040103 A JP 2017040103A JP 6957901 B2 JP6957901 B2 JP 6957901B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- measuring device
- measured
- frequency
- ratio measuring
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000005259 measurement Methods 0.000 claims description 67
- 238000005070 sampling Methods 0.000 claims description 61
- 230000004044 response Effects 0.000 claims description 59
- 238000004364 calculation method Methods 0.000 claims description 44
- 238000001514 detection method Methods 0.000 claims description 26
- 230000010354 integration Effects 0.000 claims description 22
- 230000000694 effects Effects 0.000 claims description 4
- 230000001133 acceleration Effects 0.000 description 17
- 238000000034 method Methods 0.000 description 14
- 230000000630 rising effect Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 9
- 238000012887 quadratic function Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 238000012886 linear function Methods 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 108010076504 Protein Sorting Signals Proteins 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Measuring Frequencies, Analyzing Spectra (AREA)
Description
本発明は、デシメーションフィルター、測定装置および物理量センサーに関するものである。 The present invention relates to a decimation filter, a measuring device and a physical quantity sensor.
基準信号(基準クロック)の周波数と被測定信号の周波数との比に対応する信号であるデルタシグマ変調信号を生成する周波数カウンターが知られている。
この周波数カウンターは、周波数デルタシグマ変調部(以下、「FDSM(Frequency Delta Sigma Modulator)」と言う)を有し、そのFDSMにより、基準信号と被測定信号との一方を用いて他方を周波数デルタシグマ変調し、デルタシグマ変調信号を生成し、出力する。
また、FDSMの出力側には、ローパスフィルターが設けられている。このような構成により、FDSMの特徴の1つであるノイズシェープ機能が発揮されること(ノイズシェープ効果)により、ノイズを高周波側にシフトすることができ、ローパスフィルターにより、ノイズ成分を低減することができ、精度を向上させることができる。
A frequency counter that generates a delta sigma modulated signal, which is a signal corresponding to the ratio of the frequency of the reference signal (reference clock) to the frequency of the signal to be measured, is known.
This frequency counter has a frequency delta sigma modulator (hereinafter referred to as "FDSM (Frequency Delta Sigma Modulator)"), and the FDSM uses one of the reference signal and the signal to be measured and the other is the frequency delta sigma. Modulates to generate and output a delta sigma modulated signal.
A low-pass filter is provided on the output side of the FDSM. With such a configuration, the noise shape function, which is one of the features of FDSM, is exhibited (noise shape effect), so that noise can be shifted to the high frequency side, and the noise component is reduced by the low-pass filter. Can be done, and the accuracy can be improved.
また、特許文献1には、カウンター部と、カウンター部の出力側に設けられ、複数段の移動平均フィルターを有するローパスフィルター部とを備える周波数測定装置が開示されている。ローパスフィルター部では、少なくとも1つの移動平均フィルターの出力がダウンサンプリングされている。これにより、ダウンサンプリングを行わない場合に比べて、ローパスフィルター部の構成を簡素化することができ、また、回路動作の周波数を減少させることができ、消費電力を低減することができる。 Further, Patent Document 1 discloses a frequency measuring device including a counter unit and a low-pass filter unit provided on the output side of the counter unit and having a plurality of stages of moving average filters. In the low-pass filter section, the output of at least one moving average filter is downsampled. As a result, the configuration of the low-pass filter unit can be simplified, the frequency of circuit operation can be reduced, and the power consumption can be reduced as compared with the case where downsampling is not performed.
特許文献1に記載の装置では、最終的に必要となるサンプリング周波数よりも高い周波数で駆動する部分が回路の大半を占めているので、ローパスフィルター部の構成をさらに簡素化すること、および消費電力をさらに低減することは困難である。 In the apparatus described in Patent Document 1, since the portion driven at a frequency higher than the sampling frequency finally required occupies most of the circuit, the configuration of the low-pass filter portion can be further simplified and the power consumption can be further simplified. Is difficult to further reduce.
本発明の目的は、回路規模を小さくすることができ、消費電力を低減することができるデシメーションフィルター、測定装置および物理量センサーを提供することにある。 An object of the present invention is to provide a decimation filter, a measuring device, and a physical quantity sensor capable of reducing the circuit scale and reducing the power consumption.
本発明は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の形態または適用例として実現することが可能である。
本発明のデシメーションフィルターは、入力される測定値を示す信号をダウンサンプリングして出力するデシメーションフィルターであって、
測定タイミングに基づいてサンプリングタイミングまでの時間を求める時間算出部と、
前記サンプリングタイミングまでの時間に基づいて、前記サンプリングタイミングにおけるインパルス応答を求めるインパルス応答算出部と、
前記測定値と前記インパルス応答の値との積を求める乗算部と、
前記積を積算して積算値を求める積算部と、を備えることを特徴とする。
この発明によれば、測定値を示す信号に含まれるノイズ成分を除去または低減することができ、測定精度を向上させることができる。
また、最終的に必要となるサンプリング周波数で畳み込み積分を実行すればよいので、演算量を減少させることができ、これにより、回路規模を小さくすることができ、消費電力を低減することができる。
The present invention has been made to solve at least a part of the above-mentioned problems, and can be realized as the following forms or application examples.
The decimation filter of the present invention is a decimation filter that downsamples and outputs a signal indicating an input measured value.
A time calculation unit that calculates the time to sampling timing based on the measurement timing,
An impulse response calculation unit that obtains an impulse response at the sampling timing based on the time until the sampling timing.
A multiplication unit for obtaining the product of the measured value and the impulse response value,
It is characterized by including an integrating unit that integrates the products to obtain an integrated value.
According to the present invention, the noise component included in the signal indicating the measured value can be removed or reduced, and the measurement accuracy can be improved.
Further, since the convolution integral may be executed at the sampling frequency finally required, the amount of calculation can be reduced, whereby the circuit scale can be reduced and the power consumption can be reduced.
本発明のデシメーションフィルターでは、前記測定タイミングの間隔は、一定であることが好ましい。
これにより、さらに測定精度を向上させることができる。
In the decimation filter of the present invention, the interval between the measurement timings is preferably constant.
Thereby, the measurement accuracy can be further improved.
本発明のデシメーションフィルターでは、前記測定タイミングは、タイムスタンプとして入力されることが好ましい。
これにより、適確に絶対時間の情報を得ることができる。
In the decimation filter of the present invention, the measurement timing is preferably input as a time stamp.
As a result, the absolute time information can be accurately obtained.
本発明のデシメーションフィルターでは、前記積算部は、前記タイムスタンプが前記サンプリングタイミングと一致した時または前記タイムスタンプが前記サンプリングタイミングを超えた後で、前記積算値を出力し、前記積算値をリセットすることが好ましい。
これにより、測定タイミングがサンプリングタイミングを超える1つ前の測定タイミングまで積算を行うことが可能になる。
In the decimation filter of the present invention, the integrating unit outputs the integrated value and resets the integrated value when the time stamp matches the sampling timing or after the time stamp exceeds the sampling timing. Is preferable.
This makes it possible to perform integration up to the measurement timing immediately before the measurement timing exceeds the sampling timing.
本発明のデシメーションフィルターでは、前記積算部は、前記測定タイミングが前記サンプリングタイミングを超える1つ前の前記測定タイミングまで前記積算を行うことが好ましい。
これにより、漏れや重複なく前記積算を行うことが可能となり、測定精度を向上させることができる。
In the decimation filter of the present invention, it is preferable that the integration unit performs the integration up to the measurement timing immediately before the measurement timing exceeds the sampling timing.
As a result, the integration can be performed without omission or duplication, and the measurement accuracy can be improved.
本発明のデシメーションフィルターでは、前記インパルス応答は、有限であり、関数で表現されることが好ましい。
これにより、容易かつ適確に所望のインパルス応答を表現することができ、そのインパルス応答の値を求めることができる。
In the decimation filter of the present invention, the impulse response is finite and is preferably expressed as a function.
Thereby, the desired impulse response can be easily and accurately expressed, and the value of the impulse response can be obtained.
本発明のデシメーションフィルターでは、前記関数は、時間の1次関数または時間の2次関数であることが好ましい。
これにより、容易かつ適確に所望のインパルス応答を表現することができ、そのインパルス応答の値を求めることができる。
In the decimation filter of the present invention, the function is preferably a linear function of time or a quadratic function of time.
Thereby, the desired impulse response can be easily and accurately expressed, and the value of the impulse response can be obtained.
本発明のデシメーションフィルターでは、前記測定値は、被測定信号であるパルス信号のカウント値であり、
前記カウント値を得るために用いるゲート時間は、基準信号で規定されることが好ましい。
これにより、直接カウント方式を採用することが可能である。
In the decimation filter of the present invention, the measured value is a count value of a pulse signal which is a signal to be measured.
The gate time used to obtain the count value is preferably defined by a reference signal.
This makes it possible to adopt the direct counting method.
本発明のデシメーションフィルターでは、前記測定値は、基準信号であるパルス信号のカウント値であり、
前記カウント値を得るために用いるゲート時間は、被測定信号で規定されることが好ましい。
これにより、レシプロカルカウント方式を採用することが可能である。
In the decimation filter of the present invention, the measured value is a count value of a pulse signal which is a reference signal.
The gate time used to obtain the count value is preferably defined by the signal to be measured.
This makes it possible to adopt the reciprocal counting method.
本発明のデシメーションフィルターでは、前記時間算出部は、前記基準信号または前記被測定信号をカウントしたカウント値をタイムスタンプとして用いることが好ましい。
これにより、別途、タイムスタンプを生成する回路を用意する必要がなく、回路構成を簡素化することができる。
In the decimation filter of the present invention, it is preferable that the time calculation unit uses the count value obtained by counting the reference signal or the signal to be measured as a time stamp.
As a result, it is not necessary to separately prepare a circuit for generating a time stamp, and the circuit configuration can be simplified.
本発明の測定装置は、本発明のデシメーションフィルターを備え、
前記デシメーションフィルターを用いて測定を行うことを特徴とする。
この発明によれば、測定値を示す信号に含まれるノイズ成分を除去または低減することができ、測定精度を向上させることができる。
また、最終的に必要となるサンプリング周波数で畳み込み積分を実行すればよいので、演算量を減少させることができ、これにより、回路規模を小さくすることができ、消費電力を低減することができる。
The measuring device of the present invention includes the decimation filter of the present invention.
It is characterized in that measurement is performed using the decimation filter.
According to the present invention, the noise component included in the signal indicating the measured value can be removed or reduced, and the measurement accuracy can be improved.
Further, since the convolution integral may be executed at the sampling frequency finally required, the amount of calculation can be reduced, whereby the circuit scale can be reduced and the power consumption can be reduced.
本発明の測定装置は、本発明のデシメーションフィルターを備え、
前記デシメーションフィルターを用いて前記被測定信号と前記基準信号との周波数比を測定することを特徴とする。
この発明によれば、測定値を示す信号に含まれるノイズ成分を除去または低減することができ、測定精度を向上させることができる。
また、最終的に必要となるサンプリング周波数で畳み込み積分を実行すればよいので、演算量を減少させることができ、これにより、回路規模を小さくすることができ、消費電力を低減することができる。
The measuring device of the present invention includes the decimation filter of the present invention.
It is characterized in that the frequency ratio of the signal to be measured and the reference signal is measured by using the decimation filter.
According to the present invention, the noise component included in the signal indicating the measured value can be removed or reduced, and the measurement accuracy can be improved.
Further, since the convolution integral may be executed at the sampling frequency finally required, the amount of calculation can be reduced, whereby the circuit scale can be reduced and the power consumption can be reduced.
本発明の物理量センサーは、物理量を検出する検出部と、
前記検出部から出力された被測定信号が入力される本発明の測定装置と、を備えることを特徴とする。
この発明によれば、測定値を示す信号に含まれるノイズ成分を除去または低減することができ、測定精度を向上させることができる。
また、最終的に必要となるサンプリング周波数で畳み込み積分を実行すればよいので、演算量を減少させることができ、これにより、回路規模を小さくすることができ、消費電力を低減することができる。
The physical quantity sensor of the present invention includes a detection unit that detects a physical quantity and
It is characterized by including a measuring device of the present invention in which a signal to be measured output from the detection unit is input.
According to the present invention, the noise component included in the signal indicating the measured value can be removed or reduced, and the measurement accuracy can be improved.
Further, since the convolution integral may be executed at the sampling frequency finally required, the amount of calculation can be reduced, whereby the circuit scale can be reduced and the power consumption can be reduced.
以下、本発明のデシメーションフィルター、測定装置および物理量センサーを添付図面に示す実施形態に基づいて詳細に説明する。 Hereinafter, the decimation filter, the measuring device, and the physical quantity sensor of the present invention will be described in detail based on the embodiments shown in the accompanying drawings.
<第1実施形態>
図1は、本発明の測定装置の1例である周波数比測定装置の実施形態を示すブロック図である。図2は、図1に示す周波数比測定装置のデシメーションフィルターを示すブロック図である。図3は、図1に示す周波数比測定装置の周波数デルタシグマ変調部の構成例を示すブロック図である。図4は、図1に示す周波数比測定装置の周波数デルタシグマ変調部の構成例を示すブロック図である。図5は、インパルス応答を示すグラフである。図6は、図1に示す周波数比測定装置のデシメーションフィルターの動作を説明するためのタイミングチャートである。図7は、図1に示す周波数比測定装置のデシメーションフィルターの動作の流れを示すフローチャートである。
なお、以下の説明では、信号のレベルが「ロー(Low)」の場合を「0」、信号のレベルが「ハイ(High)」の場合を「1」とも言う。
<First Embodiment>
FIG. 1 is a block diagram showing an embodiment of a frequency ratio measuring device which is an example of the measuring device of the present invention. FIG. 2 is a block diagram showing a decimation filter of the frequency ratio measuring device shown in FIG. FIG. 3 is a block diagram showing a configuration example of a frequency delta sigma modulation unit of the frequency ratio measuring device shown in FIG. FIG. 4 is a block diagram showing a configuration example of a frequency delta sigma modulation unit of the frequency ratio measuring device shown in FIG. FIG. 5 is a graph showing an impulse response. FIG. 6 is a timing chart for explaining the operation of the decimation filter of the frequency ratio measuring device shown in FIG. FIG. 7 is a flowchart showing the operation flow of the decimation filter of the frequency ratio measuring device shown in FIG.
In the following description, the case where the signal level is "Low" is also referred to as "0", and the case where the signal level is "High" is also referred to as "1".
本発明の測定装置の1例である図1に示す周波数比測定装置1は、デシメーションフィルター4を備え、デシメーションフィルター4を用いて測定を行う、すなわち、被測定信号と前記基準信号との周波数比を測定する。
この周波数比測定装置1によれば、測定値を示す信号に含まれるノイズ成分を除去または低減することができ、測定精度を向上させることができる。また、デシメーションフィルター4により、最終的に必要となるサンプリング周波数で畳み込み積分を実行すればよいので、演算量を減少させることができ、これにより、回路規模を小さくすることができ、消費電力を低減することができる。以下、具体的に説明する。
The frequency ratio measuring device 1 shown in FIG. 1, which is an example of the measuring device of the present invention, includes a
According to this frequency ratio measuring device 1, the noise component included in the signal indicating the measured value can be removed or reduced, and the measurement accuracy can be improved. Further, since the convolution integral may be executed at the sampling frequency finally required by the
図1に示す周波数比測定装置1(測定装置)は、周波数が既知である基準信号(基準クロック)の周波数と被測定信号の周波数との比(周波数比)に対応する値(または前記値を生成するために用いられる値)であるカウント値(カウント値を示す信号)を生成する装置(回路)である。すなわち、周波数比測定装置1の測定値(出力)が前記カウント値である。
また、周波数比測定装置1では、直接カウント方式とレシプロカルカウント方式とのいずれも採用することが可能である。
The frequency ratio measuring device 1 (measuring device) shown in FIG. 1 has a value (or the above-mentioned value) corresponding to the ratio (frequency ratio) between the frequency of the reference signal (reference clock) whose frequency is known and the frequency of the signal to be measured. It is a device (circuit) that generates a count value (a signal indicating the count value), which is a value used for generation). That is, the measured value (output) of the frequency ratio measuring device 1 is the count value.
Further, in the frequency ratio measuring device 1, both the direct counting method and the reciprocal counting method can be adopted.
すなわち、直接カウント方式を採用する場合は、測定値は、被測定信号であるパルス信号のカウント値であり、カウント値を得るために用いるゲート時間は、基準信号で規定される。このようにして直接カウント方式を採用することが可能である。 That is, when the direct counting method is adopted, the measured value is the count value of the pulse signal which is the signal to be measured, and the gate time used to obtain the count value is defined by the reference signal. In this way, it is possible to adopt the direct counting method.
また、レシプロカルカウント方式を採用する場合は、測定値は、基準信号であるパルス信号のカウント値であり、カウント値を得るために用いるゲート時間は、被測定信号で規定される。このようにしてレシプロカルカウント方式を採用することが可能である。以下では、代表的に、直接カウント方式を例に挙げて説明する。なお、レシプロカルカウント方式では、直接カウント方式において、基準信号と被測定信号とを逆にすればよい。 When the reciprocal counting method is adopted, the measured value is the count value of the pulse signal which is the reference signal, and the gate time used to obtain the count value is defined by the measured signal. In this way, it is possible to adopt the reciprocal counting method. In the following, a direct counting method will be typically described as an example. In the reciprocal counting method, the reference signal and the measured signal may be reversed in the direct counting method.
図1に示すように、周波数比測定装置1は、周波数デルタシグマ変調部2(以下、「FDSM(Frequency Delta Sigma Modulator)」と言う)と、アップカウンター3(カウンター)と、デシメーションフィルター4とを備えている。FDSM2は、基準信号と被測定信号との周波数比を計測する周波数比計測部の1例であり、周波数比計測部は、他の構成であってもよい。
また、周波数比測定装置1では、FDSM2およびアップカウンター3の出力側(後段)に、デシメーションフィルター4が接続されている。
また、被測定信号は、FDSM2に入力され、周波数が既知である基準信号(基準クロック)は、FDSM2およびアップカウンター3に入力される。
As shown in FIG. 1, the frequency ratio measuring device 1 includes a frequency delta sigma modulator 2 (hereinafter referred to as “FDSM (Frequency Delta Sigma Modulator)”), an up counter 3 (counter), and a
Further, in the frequency ratio measuring device 1, the
Further, the signal to be measured is input to the FDSM2, and the reference signal (reference clock) whose frequency is known is input to the FDSM2 and the up counter 3.
また、FDSM2は、基準信号に基づいて(基準信号を用いて)、被測定信号を周波数デルタシグマ変調し、周波数デルタシグマ変調信号を生成する機能を有している(直接カウント方式)。なお、被測定信号に基づいて(被測定信号を用いて)、基準信号を周波数デルタシグマ変調してもよい(レシプロカルカウント方式)。
FDSM2としては、例えば、出力信号をビットストリーム形式で出力するFDSM(以下、「ビットストリーム構成のFDSM(ビットストリーム型FDSM)」とも言う)、出力信号をデータストリーム形式で出力するFDSM(以下、「データストリーム構成のFDSM(データストリーム型FDSM)」とも言う)等を用いることができる。
ビットストリーム構成のFDSMを用いる場合は、他の信号処理回路を簡素化することができる。また、データストリーム構成のFDSMを用いる場合は、周波数変動が大きい場合にも対応することができる。
Further, the FDSM2 has a function of frequency-delta-sigma-modulating the signal to be measured based on the reference signal (using the reference signal) and generating a frequency delta-sigma-modulated signal (direct counting method). The reference signal may be frequency-delta-sigma-modulated based on the signal to be measured (using the signal to be measured) (reciprocal counting method).
The FDSM2 includes, for example, an FDSM that outputs an output signal in a bitstream format (hereinafter, also referred to as "FDSM having a bitstream configuration (bitstream type FDSM)"), and an FDSM that outputs an output signal in a data stream format (hereinafter, "" FDSM (data stream type FDSM) of data stream configuration) and the like can be used.
When using an FDSM having a bitstream configuration, other signal processing circuits can be simplified. Further, when the FDSM having a data stream configuration is used, it is possible to cope with a case where the frequency fluctuation is large.
次に、データストリーム構成のFDSM2と、ビットストリーム構成のFDSM2とを説明するが、まずは、データストリーム構成のFDSM2について説明する。
図3に示すように、データストリーム構成のFDSM2は、被測定信号の立ち上がりエッジをカウントしてカウント値を示すカウントデータDcを出力するアップカウンター21と、基準信号の立ち上がりエッジに同期してカウントデータDcをラッチして第1データD1を出力する第1ラッチ22と、基準信号の立ち上がりエッジに同期して第1データD1をラッチして第2データD2を出力する第2ラッチ23と、第1データD1から第2データD2を減算して出力データOUTを生成する減算器24とを備える。なお、第1ラッチ22および第2ラッチ23は、例えばDフリップフロップ回路等で構成される。
Next, the FDSM2 having a data stream configuration and the FDSM2 having a bitstream configuration will be described. First, the FDSM2 having a data stream configuration will be described.
As shown in FIG. 3, the FDSM2 having a data stream configuration has an up counter 21 that counts the rising edge of the signal to be measured and outputs count data Dc indicating the count value, and count data synchronized with the rising edge of the reference signal. The
この例のFDSM2は、1次の周波数デルタシグマ変調器とも呼ばれ、被測定信号のカウント値を基準信号により2回ラッチしており、基準信号の立ち上がりエッジをトリガーとして被測定信号のカウント値を順次保持する。この例では、立ち上がりエッジでラッチ動作を行う場合を想定しているが、立ち下りエッジもしくは立ち上がり立ち下りエッジの両方でラッチ動作を行ってもよい。また減算器24は保持されている2つのカウント値の差分を演算することで基準信号が1周期推移する間に観測される被測定信号のカウント値の増分を時間経過と共に不感期間無く出力する。被測定信号の周波数をfx、基準信号の周波数をfcとしたとき、周波数の比はfx/fcとなる。FDSM2は、周波数の比を示す周波数デルタシグマ変調信号(図1に示す測定値Siを示す信号)をデジタル信号列として出力するものである。
このデジタル信号列は、データ列・データストリームと呼ばれる。また、後述する1ビットで表されるデジタル信号列は、ビット列・ビットストリームと呼ばれる。
The FDSM2 in this example is also called a first-order frequency delta-sigma modulator, which latches the count value of the measured signal twice by the reference signal, and uses the rising edge of the reference signal as a trigger to set the count value of the measured signal. Hold sequentially. In this example, it is assumed that the latch operation is performed at the rising edge, but the latch operation may be performed at both the falling edge and the rising / falling edge. Further, the subtractor 24 calculates the difference between the two held count values, and outputs the increment of the count value of the measured signal observed during one cycle of the reference signal with the passage of time without a dead period. When the frequency of the signal to be measured is fx and the frequency of the reference signal is fc, the frequency ratio is fx / fc. The FDSM2 outputs a frequency delta-sigma modulation signal (a signal indicating the measured value Si shown in FIG. 1) indicating a frequency ratio as a digital signal sequence.
This digital signal string is called a data string / data stream. A digital signal string represented by one bit, which will be described later, is called a bit string / bit stream.
次に、ビットストリーム構成のFDSM2について説明する。
図4に示すように、ビットストリーム構成のFDSM2は、基準信号の立ち上がりエッジに同期して被測定信号をラッチして第1データd1を出力する第1ラッチ22と、基準信号の立ち上がりエッジに同期して第1データd1をラッチして第2データd2を出力する第2ラッチ23と、第1データd1と第2データd2の排他的論理和を演算して出力データOUTを生成する排他的論理和回路25とを備える。なお、第1ラッチ22および第2ラッチ23は、例えばDフリップフロップ回路等で構成される。
Next, FDSM2 having a bitstream configuration will be described.
As shown in FIG. 4, the FDSM2 having a bit stream configuration synchronizes with the
このFDSM2が前記データストリーム構成のFDSM2と相違するのは、前記データストリーム構成のFDSM2では、第1ラッチ22によってカウントデータDcを保持し、基準信号が1周期推移する間に観測される被測定信号の立ち上がりエッジをカウントして得たカウントデータDcの増分を出力データOUTとして出力するのに対し、このFDSM2では、第1ラッチ22によって被測定信号のHighもしくはLowの状態を保持し、基準信号が1周期推移する間の反転回数の偶奇を出力データOUTとして出力する点である(反転回数が偶数であれば0、奇数であれば1を出力する)。
The difference between this FDSM2 and the FDSM2 having the data stream configuration is that in the FDSM2 having the data stream configuration, the count data Dc is held by the
ところで、被測定信号の1周期はHighとLowの反転遷移2回で構成されることから、基準信号に対する被測定信号の変動が、出力データOUTに及ぼす変化の度合いは、前記データストリーム構成のFDSM2においてカウント値を保持する場合に比べ2倍となる。従って、ビットストリーム構成のFDSM2におけるアイドルトーンの振る舞いは、前記データストリーム構成のFDSM2において、2倍の周波数の被測定信号がFDSM2に入力された場合の振る舞いと一致する。ビットストリーム構成のFDSM2の動作については、上記の性質を考慮し、必要に応じて被測定信号の周波数fxを周波数2fxに置き換えて考えればよい。 By the way, since one cycle of the measured signal is composed of two inversion transitions of High and Low, the degree of change of the change of the measured signal with respect to the reference signal on the output data OUT is determined by the FDSM2 of the data stream configuration. It is twice as much as the case where the count value is held in. Therefore, the behavior of the idle tone in the FDSM2 having the bitstream configuration matches the behavior when the signal under test having twice the frequency is input to the FDSM2 in the FDSM2 having the data stream configuration. Regarding the operation of the FDSM2 having a bitstream configuration, the frequency fx of the signal to be measured may be replaced with the frequency 2fx as necessary in consideration of the above-mentioned properties.
次に、デシメーションフィルター4について説明する。
図2に示すデシメーションフィルター4は、入力される測定値を示す信号をダウンサンプリングして出力する回路(装置)である。
図2に示すように、デシメーションフィルター4は、測定タイミング(タイムスタンプti)に基づいてサンプリングタイミングまでの時間(ri)を求める時間算出部41と、サンプリングタイミングまでの時間(ri)に基づいて、サンプリングタイミングにおけるインパルス応答(インパルス応答の値)を求めるインパルス応答算出部42と、測定値(Si)とインパルス応答の値F(ri)との積を求める乗算部43と、測定値(Si)とインパルス応答の値F(ri)との積を積算して積算値を求める積算部44とを備えている。デシメーションフィルター4では、時間算出部41の出力側にインパルス応答算出部42が接続され、インパルス応答算出部42の出力側に乗算部43が接続され、乗算部43の出力側に積算部44が接続されている。なお、乗算部43と積算部44とが統合されていてもよい。
Next, the
The
As shown in FIG. 2, the
このような構成のデシメーションフィルター4により、FDSM2から出力される信号に含まれるノイズ成分を除去または低減することができる。詳細に説明すると、まず、FDSM2の特徴の1つであるノイズシェープ機能が発揮されること(ノイズシェープ効果)により、ノイズを高周波側にシフトすることができる。そして、デシメーションフィルター4により、ノイズ成分を除去または低減することができ、測定精度を向上させることができる。
また、フィルターとしてデシメーションフィルター4を設けることにより、最終的に必要となるサンプリング周波数で畳み込み積分を実行すればよいので、演算量を減少させることができ、これにより、回路規模を小さくすることができ、消費電力を低減することができる。
With the
Further, by providing the
時間算出部41は、測定タイミングに基づいてサンプリングタイミングまでの時間を算出する(求める)機能を有している。本実施形態では、時間算出部41は、サンプリングタイミングにおけるタイムスタンプから現在の測定タイミングのタイムスタンプtiを減算し、現在の測定タイミングからサンプリングタイミングまでの時間riを算出する。なお、図6には、時間riの1例として、r11、r12、r21、r22、r23、r31、r32を示す。 The time calculation unit 41 has a function of calculating (obtaining) the time until the sampling timing based on the measurement timing. In the present embodiment, the time calculation unit 41 subtracts the time stamp ti of the current measurement timing from the time stamp at the sampling timing, and calculates the time ri from the current measurement timing to the sampling timing. Note that FIG. 6 shows r11, r12, r21, r22, r23, r31, and r32 as an example of the time ri.
また、測定タイミングとは、測定を行うタイミングであり、本実施形態では、図4に示すように、測定タイミングを示すパルス信号の立ち上がりである。この測定タイミングは、タイムスタンプti(絶対時間)として入力される。なお、図6には、測定タイミングにおけるタイムスタンプtiの1例として、t1、t2、t3を示す。
また、サンプリングタイミングとは、サンプリングを行うタイミングであり、本実施形態では、図6に示されている。なお、図6には、サンプリングタイミングの1例として、P1、P2、P3を示す。
Further, the measurement timing is the timing at which the measurement is performed, and in the present embodiment, as shown in FIG. 4, it is the rising edge of the pulse signal indicating the measurement timing. This measurement timing is input as a time stamp ti (absolute time). Note that FIG. 6 shows t1, t2, and t3 as an example of the time stamp ti at the measurement timing.
The sampling timing is the timing at which sampling is performed, and is shown in FIG. 6 in the present embodiment. Note that FIG. 6 shows P1, P2, and P3 as an example of sampling timing.
また、時間算出部41は、基準信号または被測定信号をカウントしたカウント値をタイムスタンプtiとして用いる。本実施形態では、時間算出部41は、基準信号をカウントしたカウント値をタイムスタンプtiとして用いる。これにより、別途、タイムスタンプを生成する回路を用意する必要がなく、回路構成を簡素化することができる。 Further, the time calculation unit 41 uses the count value obtained by counting the reference signal or the measured signal as the time stamp ti. In the present embodiment, the time calculation unit 41 uses the count value obtained by counting the reference signal as the time stamp ti. As a result, it is not necessary to separately prepare a circuit for generating a time stamp, and the circuit configuration can be simplified.
インパルス応答算出部42は、現在の測定タイミングからサンプリングタイミングまでの時間riに基づいて、サンプリングタイミングにおけるインパルス応答を算出する(求める)機能を有している。また、インパルス応答算出部42としては、例えば、FIR(Finite Impulse Response)フィルター等で構成することが可能である。
The impulse
また、インパルス応答は、有限であり、関数で表現される。この関数は、特に限定されないが、時間の1次関数または時間の2次関数であることが好ましい。図5に示すように、本実施形態では、インパルス応答は、有限であり、時間の2次関数で表現されている。このインパルス応答の開始点は、「0」、終了点は、「d3」である。また、d1、d2は、それぞれ、インパルス応答を表現する2次関数の変曲点である。このようにして、容易かつ適確に所望のインパルス応答を表現することができ、そのインパルス応答の値を求めることができる。
また、インパルス応答の波形は、本実施形態では、ローパスフィルターの出力の波形と同様であるので、前記のように、デシメーションフィルター4により、FDSM2から出力される信号に含まれるノイズ成分を除去または低減することができる。
Also, the impulse response is finite and is represented by a function. This function is not particularly limited, but is preferably a linear function of time or a quadratic function of time. As shown in FIG. 5, in this embodiment, the impulse response is finite and is represented by a quadratic function of time. The start point of this impulse response is "0", and the end point is "d3". Further, d1 and d2 are inflection points of the quadratic function expressing the impulse response, respectively. In this way, a desired impulse response can be easily and accurately expressed, and the value of the impulse response can be obtained.
Further, since the waveform of the impulse response is the same as the waveform of the output of the low-pass filter in the present embodiment, the noise component contained in the signal output from the FDSM2 is removed or reduced by the
具体的には、インパルス応答は、下記(1)式、(2)式、(3)式で表現され、その(1)式、(2)式、(3)式を用いて、インパルス応答の値を求める。0≦ri<d1の場合は、(1)式を用い、d1≦ri≦d2の場合は、(2)式を用い、d2<ri≦d3の場合は、(3)式を用いる。なお、インパルス応答の開始点は、「0」、終了点は、「d3」である。また、d1、d2は、それぞれ、インパルス応答を表現する2次関数の変曲点である。 Specifically, the impulse response is expressed by the following equations (1), (2), and (3), and the impulse response is expressed by using the equations (1), (2), and (3). Find the value. When 0 ≦ ri <d1, the formula (1) is used, when d1 ≦ ri ≦ d2, the formula (2) is used, and when d2 <ri ≦ d3, the formula (3) is used. The start point of the impulse response is "0", and the end point is "d3". Further, d1 and d2 are inflection points of the quadratic function expressing the impulse response, respectively.
R(ri)=a1・ri2+b1・ri+c1(0≦ri<d1) ・・・(1)
R(ri)=a2・ri2+b2・ri+c2(d1≦ri≦d2) ・・・(2)
R(ri)=a3・ri2+b3・ri+c3(d2<ri≦d3) ・・・(3)
なお、a1、a2、a3、b1、b2、b3、c1、c2、c3は、それぞれ、係数である。
また、インパルス応答の値を求めるための演算式(関数)、すなわち、(1)式、(2)式、(3)式は、予め、求め、インパルス応答算出部42が有する図示しない記憶部に記憶しておく。
R (ri) = a1, ri 2 + b1, ri + c1 (0 ≤ ri <d1) ... (1)
R (ri) = a2 · ri 2 + b2 · ri + c2 (d1 ≤ ri ≤ d2) ... (2)
R (ri) = a3 ・ ri 2 + b3 ・ ri + c3 (d2 <ri ≦ d3) ・ ・ ・ (3)
Note that a1, a2, a3, b1, b2, b3, c1, c2, and c3 are coefficients, respectively.
Further, the arithmetic expressions (functions) for obtaining the impulse response value, that is, the equations (1), (2), and (3) are obtained in advance and stored in a storage unit (not shown) of the impulse
ここで、1例を挙げると、デシメーションフィルター4のカットオフ周波数が200Hzになるようインパルス応答の波形を2次関数を用いて設計したところ、インパルス応答の期間は、2.7m秒であった。従って、デシメーションフィルター4の出力、すなわち、隣り合う2つのサンプリングタイミングの間隔T(図6参照)が1m秒の場合、インパルス応答は、2点または3点しか計測に利用されない。これにより、演算量を減少させることができ、これによって、回路規模を小さくすることができ、消費電力を低減することができる。
Here, to give an example, when the waveform of the impulse response was designed using a quadratic function so that the cutoff frequency of the
乗算部43は、FDSM2の出力値、すなわち測定値Siと、インパルス応答の値との積を算出する(求める)機能を有している。
積算部44は、測定値とインパルス応答の値との積を積算する機能、すなわち、測定値とインパルス応答の値との積の積算値を算出する(求める)機能を有している。また、積算部44は、積算値等の各種の情報を記憶する記憶部(図示せず)を有している。
The
The
次に、周波数比測定装置1の動作について説明する。
図1に示すように、FDSM2からは、基準信号と被測定信号の周波数比に対応する測定値を示す信号(以下、「測定値Si」と言う)が出力される。測定値Siは、デシメーションフィルター4の乗算部43に入力される。
Next, the operation of the frequency ratio measuring device 1 will be described.
As shown in FIG. 1, the FDSM2 outputs a signal (hereinafter, referred to as “measured value Si”) indicating a measured value corresponding to the frequency ratio of the reference signal and the signal to be measured. The measured value Si is input to the
また、アップカウンター3は、基準信号の立ち上がりエッジをカウントし、そのカウント値を、測定タイミング、すなわち、タイムスタンプtiとして出力する。タイムスタンプtiは、デシメーションフィルター4の時間算出部41に入力される。なお、これに限らず、例えば、被測定信号の立ち上がりエッジをカウントし、そのカウント値をタイムスタンプtiとして出力してもよい。
Further, the up counter 3 counts the rising edge of the reference signal and outputs the count value as the measurement timing, that is, the time stamp ti. The time stamp ti is input to the time calculation unit 41 of the
このように、測定タイミングは、時間算出部41に、タイムスタンプ(ti)として入力される。これにより、適確に絶対時間の情報を得ることができる。 In this way, the measurement timing is input to the time calculation unit 41 as a time stamp (ti). As a result, the absolute time information can be accurately obtained.
また、測定タイミング(タイムスタンプti)の間隔は、一定である。これにより、さらに測定精度を向上させることができる。 Moreover, the interval of the measurement timing (time stamp ti) is constant. Thereby, the measurement accuracy can be further improved.
次に、周波数比測定装置1のデシメーションフィルター4の動作について説明する。なお、ここでは、理解を容易にするため、タイムスタンプtiとして、タイムスタンプt1、t2、t3を例に挙げ、時間riとして、時間r11、r12、r21、r22、r31を例に挙げ、サンプリングタイミングとして、サンプリングタイミングP1、P2を例に挙げて説明する。
Next, the operation of the
図2、図6に示すように、デシメーションフィルター4では、時間算出部41は、図6中の最初の測定タイミング(タイムスタンプt1)において、サンプリングタイミングP1におけるタイムスタンプから現在の測定タイミングのタイムスタンプt1を減算し、現在の測定タイミングからサンプリングタイミングP1までの時間r11を算出する。また、時間算出部41は、同様にして、現在の測定タイミングからサンプリングタイミングP2までの時間r12を算出する。時間r11、r12は、時間算出部41から出力され、インパルス応答算出部42に入力される。
As shown in FIGS. 2 and 6, in the
また、時間算出部41は、図6中の2番目の測定タイミング(タイムスタンプt2)において、サンプリングタイミングP1におけるタイムスタンプから現在の測定タイミングのタイムスタンプt2を減算し、現在の測定タイミングからサンプリングタイミングP1までの時間r21を算出する。また、時間算出部41は、同様にして、現在の測定タイミングからサンプリングタイミングP2までの時間r22を算出する。また、時間算出部41は、同様にして、現在の測定タイミングからサンプリングタイミングP3までの時間r23を算出する。時間r21、r22、r23は、時間算出部41から出力され、インパルス応答算出部42に入力される。
Further, the time calculation unit 41 subtracts the time stamp t2 of the current measurement timing from the time stamp at the sampling timing P1 at the second measurement timing (time stamp t2) in FIG. 6, and the sampling timing is obtained from the current measurement timing. The time r21 to P1 is calculated. Further, the time calculation unit 41 similarly calculates the time r22 from the current measurement timing to the sampling timing P2. Further, the time calculation unit 41 similarly calculates the time r23 from the current measurement timing to the sampling timing P3. The times r21, r22, and r23 are output from the time calculation unit 41 and input to the impulse
次に、インパルス応答算出部42は、前記(1)式、(2)式、(3)式のうちから対応する式を用いてインパルス応答の値F(r11)、F(r12)、F(r21)、F(r22)、F(r22)を算出する。インパルス応答の値F(r11)、F(r12)、F(r21)、F(r22)、F(r23)は、インパルス応答算出部42から出力され、乗算部43に入力される。
Next, the impulse
次に、乗算部43は、測定値Siとインパルス応答の値F(ri)との積、すなわち、Si・F(ri)を算出する。測定値Siとしては、インパルス応答の値F(r11)、F(r12)については、図6中の最初の測定タイミング(タイムスタンプt1)における測定値を用い、インパルス応答の値F(r21)、F(r22)、F(r23)については、図6中の2番目の測定タイミング(タイムスタンプt2)における測定値を用いる。各Si・F(ri)は、乗算部43から出力され、積算部44に入力される。
Next, the
次に、積算部44は、Si・F(r11)と、Si・F(r21)とを積算し、積算値Σ1を求める。この積算値Σ1は、タイムスタンプ(ti)がサンプリングタイミングP1と一致した時またはタイムスタンプ(ti)がサンプリングタイミングP1を超えた後、所定のタイミングで、積算部44から出力される。そして、積算値Σ1は、タイムスタンプ(ti)がサンプリングタイミングP1と一致した時またはその後、リセットされる。なお、前記積算は、測定タイミングがサンプリングタイミングP1を超える1つ前の測定タイミングまで行う。
Next, the integrating
また、積算部44は、同様に、Si・F(r12)と、Si・F(r22)と、Si・F(r31)とを積算し、積算値Σ2を求める。この積算値Σ2は、タイムスタンプ(ti)がサンプリングタイミングP2と一致した時またはタイムスタンプ(ti)がサンプリングタイミングP2を超えた後、所定のタイミングで、積算部44から出力される。そして、積算値Σ2は、タイムスタンプ(ti)がサンプリングタイミングP2と一致した時またはその後、リセットされる。なお、前記積算は、測定タイミングがサンプリングタイミングP2を超える1つ前の測定タイミングまで行う。
Similarly, the integrating
このように、積算部44は、タイムスタンプ(ti)がサンプリングタイミングと一致した時またはタイムスタンプ(ti)がサンプリングタイミングを超えた後で、積算値を出力し、積算値をリセットする。例えば、サンプリングタイミングがP1の場合は、積算部44は、タイムスタンプ(ti)が示す現在の時間がサンプリングタイミングP1と一致した時またはサンプリングタイミングP1を超えた後(例えば、タイムスタンプt3)で、積算値Σ1を出力する。これにより、測定タイミングがサンプリングタイミングを超える1つ前の測定タイミングまで積算を行うことが可能になる。
In this way, the
また、積算部44は、測定タイミング(タイムスタンプti)がサンプリングタイミング(例えば、P1)を超える1つ前の測定タイミング(例えば、タイムスタンプt2)まで積算を行う。これにより、漏れや重複なく前記積算を行うことが可能となり、測定精度を向上させることができる。
Further, the
次に、前記デシメーションフィルター4の動作を図7に示すフローチャートに基づいて別の角度から説明する。
図7に示すように、まず、積算部44は、積算値として、初期値を格納する(ステップS101)。
次いで、現在の測定タイミングの測定値Siおよびタイムスタンプtiを取得する(ステップS102)。
Next, the operation of the
As shown in FIG. 7, first, the
Next, the measured value Si and the time stamp ti of the current measurement timing are acquired (step S102).
次いで、時間算出部41は、現在の測定タイミングから対応するサンプリングタイミングまでの時間riを算出する(ステップS103)。
次いで、インパルス応答算出部42は、前記(1)式、(2)式、(3)式のうちから対応する式を用いてインパルス応答の値F(ri)を算出する(ステップS104)。
次いで、現在の測定タイミングのタイムスタンプtiがサンプリングタイミングを超えているか否かを判断し(ステップS105)、超えていないと判断した場合は、乗算部43は、測定値Siとインパルス応答の値F(ri)との積、すなわち、Si・F(ri)を算出し、積算部44は、Si・F(ri)を積算し、積算値を求める(ステップS107)。
Next, the time calculation unit 41 calculates the time ri from the current measurement timing to the corresponding sampling timing (step S103).
Next, the impulse
Next, it is determined whether or not the time stamp ti of the current measurement timing exceeds the sampling timing (step S105), and if it is determined that the time stamp ti does not exceed the sampling timing, the
一方、ステップS105において、現在の測定タイミングのタイムスタンプtiがサンプリングタイミングを超えていると判断した場合は、積算部44は、積算値を出力し、積算値をリセットする(ステップS106)。次いで、乗算部43は、測定値Siとインパルス応答の値F(ri)との積、すなわち、Si・F(ri)を算出し、積算部44は、Si・F(ri)を積算し、積算値を求める(ステップS107)。
次いで、測定が終了したか否かを判断し(ステップS108)、測定が終了していないと判断した場合は、ステップS102に戻り、再度、ステップS102以降を実行する。一方、ステップS108において、測定が終了したと判断した場合は、動作を停止する。
On the other hand, if it is determined in step S105 that the time stamp ti of the current measurement timing exceeds the sampling timing, the
Next, it is determined whether or not the measurement is completed (step S108), and if it is determined that the measurement is not completed, the process returns to step S102, and steps S102 and subsequent steps are executed again. On the other hand, if it is determined in step S108 that the measurement is completed, the operation is stopped.
このような周波数比測定装置1は、前述した各部に対応する機能を実現するハードウェアで構成することが可能である。また、周波数比測定装置1は、前述した各部に対応する機能を実現するプログラムやモジュール等により、ソフトウェア的に構成することも可能である。また、周波数比測定装置1は、前述した各部に対応する機能を実現するハードウェアとソフトウェアとを組み合わせて構成することも可能である。 Such a frequency ratio measuring device 1 can be configured by hardware that realizes the functions corresponding to the above-mentioned parts. Further, the frequency ratio measuring device 1 can also be configured by software by a program, a module, or the like that realizes the functions corresponding to the above-mentioned parts. Further, the frequency ratio measuring device 1 can be configured by combining hardware and software that realize the functions corresponding to the above-mentioned parts.
以上説明したように、周波数比測定装置1によれば、デシメーションフィルター4により、FDSM2から出力される信号に含まれるノイズ成分を除去または低減することができ、測定精度を向上させることができる。この場合、複数段の移動平均フィルターで構成する場合と同等の測定精度を得ることができ、インパルス応答波形を設計すれば、所望のフィルター特性を実現することもできる。
As described above, according to the frequency ratio measuring device 1, the
また、フィルターとしてデシメーションフィルター4を設けることにより、最終的に必要となるサンプリング周波数で畳み込み積分を実行すればよいので、演算量を減少させることができ、これにより、回路規模を小さくすることができ、消費電力を低減することができる。
Further, by providing the
なお、本実施形態では、周波数比計測部としてFDSM2が1つ設けられているが、これに限らず、例えば、FDSM2を複数設けてもよい。この場合は、例えば、各FDSM2は、並列に接続され、また、被測定信号について、各FDSM2に同相もしくは互いに位相の異なる被測定信号が入力される。または、基準信号について、各FDSM2に同相もしくは互いに位相の異なる基準信号が入力されるように構成してもよい。または、被測定信号について、各FDSM2に同相もしくは互いに位相の異なる被測定信号が入力され、基準信号について、各FDSM2に同相もしくは互いに位相の異なる基準信号が入力されるように構成してもよい。これにより、各FDSM2の出力信号に重畳されるアイドルトーンを時間的に分散させることができる。すなわち、アイドルトーン等の量子化雑音の影響を抑制することができ、測定精度を向上させることができる。 In the present embodiment, one FDSM2 is provided as the frequency ratio measuring unit, but the present invention is not limited to this, and for example, a plurality of FDSM2s may be provided. In this case, for example, the FDSM2s are connected in parallel, and for the signal to be measured, a signal to be measured that is in phase or has a different phase from each other is input to each FDSM2. Alternatively, the reference signal may be configured so that reference signals having the same phase or different phases from each other are input to each FDSM2. Alternatively, the measured signals may be configured such that the measured signals having the same phase or different phases from each other are input to each FDSM2, and the reference signals having the same phase or different phases from each other are input to each FDSM2. As a result, the idle tone superimposed on the output signal of each FDSM2 can be dispersed in time. That is, the influence of quantization noise such as idle tone can be suppressed, and the measurement accuracy can be improved.
<物理量センサーの実施形態>
図8は、本発明の物理量センサーの1例である加速度センサーの実施形態における検出部の内部構造を示す図である。図9は、図8中のA−A線での断面図である。
以下、物理量センサーの1例である加速度センサーの実施形態について、前述した実施形態との相違点を中心に説明し、同様の事項については、その説明を省略する。
<Physical quantity sensor embodiment>
FIG. 8 is a diagram showing an internal structure of a detection unit in an embodiment of an acceleration sensor, which is an example of a physical quantity sensor of the present invention. FIG. 9 is a cross-sectional view taken along the line AA in FIG.
Hereinafter, an embodiment of an acceleration sensor, which is an example of a physical quantity sensor, will be described focusing on differences from the above-described embodiment, and the same matters will be omitted.
図8および図9に示すように、本実施形態の加速度センサー100(物理量センサー)は、物理量(振動に関する物理量)の1例である加速度を検出する検出部200と、検出部200から出力された被測定信号が入力される周波数比測定装置1(測定装置)とを備えている。検出部200と周波数比測定装置1とは電気的に接続されている。すなわち、検出部200の出力が、周波数比測定装置1の被測定信号として周波数比測定装置1に入力される。周波数比測定装置1は、検出部200に内蔵されていてもよく、また、外付けであってもよい。なお、周波数比測定装置1については、既に図1、図2等に基づいて説明したので、その説明は省略する。
As shown in FIGS. 8 and 9, the acceleration sensor 100 (physical quantity sensor) of the present embodiment is output from the
検出部200は、平板状のベース部210と、ベース部210に継ぎ手部211を介して接続された略矩形平板状の可動部212と、ベース部210と可動部212とに掛け渡された物理量検出素子の1例である加速度検出素子213と、少なくとも上記各構成要素を内部に収納するパッケージ220とを備えている。
The
この検出部200は、外部端子227、228、内部端子224、225、外部接続端子214e、214f、接続端子210b、210c等を経由して加速度検出素子213の励振電極に印加される駆動信号によって、加速度検出素子213の振動梁213a、213bが所定の周波数で発振(共振)する。そして、検出部200は、加わる加速度に応じて変化する加速度検出素子213の共振周波数を被測定信号(検出信号)として出力する。
この被測定信号は、周波数比測定装置1に入力され、周波数比測定装置1は、前記実施形態で説明したように動作する。
The
This measured signal is input to the frequency ratio measuring device 1, and the frequency ratio measuring device 1 operates as described in the above embodiment.
また、検出部200の数は、本実施形態では1つであるが、これに限らず、例えば、2つ、または3つでもよい。検出部200を3つ設け、各検出部200の検出軸を互いに直交(交差)させることにより、互いに直交する3つの検出軸のそれぞれの軸方向の加速度を検出することが可能である。
The number of
以上のような加速度センサー100によっても、その加速度センサー100が備える周波数比測定装置1は、前述した実施形態と同様の効果を発揮することができる。これにより、加速度センサー100は、加速度を精度良く検出することができる。
Even with the
以上、本発明のデシメーションフィルター、測定装置および物理量センサーを、図示の実施形態に基づいて説明したが、本発明はこれに限定されるものではなく、各部の構成は、同様の機能を有する任意の構成のものに置換することができる。また、他の任意の構成物が付加されていてもよい。 The decimation filter, the measuring device, and the physical quantity sensor of the present invention have been described above based on the illustrated embodiment, but the present invention is not limited to this, and the configuration of each part is arbitrary having the same function. It can be replaced with the one of the configuration. Further, any other constituents may be added.
また、前記実施形態では、測定装置として周波数比測定装置を例に挙げて説明したが、本発明では、測定装置は、これに限定されず、デシメーションフィルターを設けることが可能なあらゆる測定装置に適用可能である。具体例としては、例えば、ADコンバーター等が挙げられる。 Further, in the above-described embodiment, the frequency ratio measuring device has been described as an example of the measuring device, but in the present invention, the measuring device is not limited to this, and is applied to any measuring device to which a decimation filter can be provided. It is possible. Specific examples include, for example, an AD converter and the like.
また、前記実施形態では、物理量センサーとして、加速度センサーを例に挙げて説明したが、本発明では、物理量センサーは、物理量の変化を周波数変化として検出することが可能なものであれば、これに限定されず、この他、例えば、質量センサー、超音波センサー、角加速度センサー、容量センサー等が挙げられる。 Further, in the above-described embodiment, the acceleration sensor has been described as an example of the physical quantity sensor, but in the present invention, the physical quantity sensor can be used as long as it can detect the change in the physical quantity as the frequency change. In addition, the present invention includes, for example, a mass sensor, an ultrasonic sensor, an angular acceleration sensor, a capacitance sensor, and the like.
また、本発明の物理量センサーは、例えば、傾斜計、地震計、ナビゲーション装置、姿勢制御装置、ゲームコントローラー、携帯電話、スマートフォン、デジタルスチルカメラ等の各種の電子機器や、自動車等の各種の移動体等に適用することが可能である。すなわち、本発明では、本発明の物理量センサーを備えた電子機器、本発明の物理量センサーを備えた移動体等を提供することが可能である。 Further, the physical quantity sensor of the present invention is, for example, various electronic devices such as an inclinometer, a seismometer, a navigation device, an attitude control device, a game controller, a mobile phone, a smartphone, a digital still camera, and various moving objects such as an automobile. Etc. can be applied. That is, in the present invention, it is possible to provide an electronic device provided with the physical quantity sensor of the present invention, a moving body provided with the physical quantity sensor of the present invention, and the like.
1…周波数比測定装置、2…FDSM(周波数デルタシグマ変調部)、3…アップカウンター、4…デシメーションフィルター、21…アップカウンター、22…第1ラッチ、23…第2ラッチ、24…減算器、25…排他的論理和回路、41…時間算出部、42…インパルス応答算出部、43…乗算部、44…積算部、100…加速度センサー、200…検出部、210…ベース部、210b…接続端子、210c…接続端子、211…継ぎ手部、212…可動部、213…加速度検出素子、213a…振動梁、213b…振動梁、214e…外部接続端子、214f…外部接続端子、220…パッケージ、224…内部端子、225…内部端子、227…外部端子、228…外部端子、S101〜S108…ステップ 1 ... Frequency ratio measuring device, 2 ... FDSM (frequency delta sigma modulator), 3 ... Up counter, 4 ... Decimation filter, 21 ... Up counter, 22 ... 1st latch, 23 ... 2nd latch, 24 ... Subtractor, 25 ... Exclusive OR circuit, 41 ... Time calculation unit, 42 ... Impulse response calculation unit, 43 ... Multiplication unit, 44 ... Integration unit, 100 ... Accelerometer, 200 ... Detection unit, 210 ... Base unit, 210b ... Connection terminal , 210c ... Connection terminal, 211 ... Joint part, 212 ... Movable part, 213 ... Accelerometer detection element, 213a ... Vibration beam, 213b ... Vibration beam, 214e ... External connection terminal, 214f ... External connection terminal, 220 ... Package, 224 ... Internal terminal, 225 ... Internal terminal, 227 ... External terminal, 228 ... External terminal, S101 to S108 ... Step
Claims (9)
前記基準信号と、前記被測定信号とが入力され、入力された前記基準信号と前記被測定信号との一方を用いて他方を周波数デルタシグマ変調し、測定値を示す周波数デルタシグマ変調信号を生成する周波数デルタシグマ変調部と、
前記周波数デルタシグマ変調信号をダウンサンプリングして出力するデシメーションフィルターと、を備え、
前記デシメーションフィルターは、測定タイミングに基づいてサンプリングタイミングまでの時間を求める時間算出部と、
前記サンプリングタイミングまでの時間に基づいて、前記サンプリングタイミングにおけるインパルス応答を求めるインパルス応答算出部と、
前記測定値と前記インパルス応答の値との積を求める乗算部と、
前記積を積算して積算値を求める積算部と、を備え、
前記インパルス応答は、有限であり、ノイズシェープ効果により、高周波側にシフトしたノイズ成分を除去または低減する波形であることを特徴とする周波数比測定装置。 A frequency ratio measuring device that measures the frequency ratio between the measured signal and the reference signal based on the measured signal and the reference signal.
The reference signal and the measured signal are input, and one of the input reference signal and the measured signal is used for frequency delta sigma modulation of the other to generate a frequency delta sigma modulated signal indicating a measured value. Frequency delta sigma modulator and
A decimation filter that downsamples and outputs the frequency delta-sigma modulation signal is provided.
The decimation filter includes a time calculation unit that obtains the time until the sampling timing based on the measurement timing, and a time calculation unit.
An impulse response calculation unit that obtains an impulse response at the sampling timing based on the time until the sampling timing.
A multiplication unit for obtaining the product of the measured value and the impulse response value,
It is provided with an integration unit that integrates the product to obtain the integrated value.
A frequency ratio measuring device characterized in that the impulse response is finite and has a waveform that removes or reduces a noise component shifted to a high frequency side by a noise shape effect.
前記カウント値を得るために用いるゲート時間は、前記基準信号で規定される請求項1ないし5のいずれか1項に記載の周波数比測定装置。 The measured value is a count value of a pulse signal which is the signal to be measured.
The frequency ratio measuring device according to any one of claims 1 to 5 , wherein the gate time used to obtain the count value is defined by the reference signal.
前記カウント値を得るために用いるゲート時間は、前記被測定信号で規定される請求項1ないし6のいずれか1項に記載の周波数比測定装置。 The measured value is a count value of a pulse signal which is the reference signal.
The frequency ratio measuring device according to any one of claims 1 to 6 , wherein the gate time used to obtain the count value is defined by the signal to be measured.
前記検出部から出力された被測定信号が入力される請求項1ないし8のいずれか1項に記載の周波数比測定装置と、を備えることを特徴とする物理量センサー。 A detector that detects physical quantities and
A physical quantity sensor comprising the frequency ratio measuring device according to any one of claims 1 to 8 , wherein a signal to be measured output from the detection unit is input.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017040103A JP6957901B2 (en) | 2017-03-03 | 2017-03-03 | Frequency ratio measuring device and physical quantity sensor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017040103A JP6957901B2 (en) | 2017-03-03 | 2017-03-03 | Frequency ratio measuring device and physical quantity sensor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018146320A JP2018146320A (en) | 2018-09-20 |
| JP6957901B2 true JP6957901B2 (en) | 2021-11-02 |
Family
ID=63591136
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2017040103A Active JP6957901B2 (en) | 2017-03-03 | 2017-03-03 | Frequency ratio measuring device and physical quantity sensor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6957901B2 (en) |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4745267B2 (en) * | 2007-02-21 | 2011-08-10 | パナソニック株式会社 | Delta-sigma modulator and DA converter having the same |
| US7750837B2 (en) * | 2008-08-01 | 2010-07-06 | Qualcomm Incorporated | Adaptive bias current generation for switched-capacitor circuits |
| WO2010101058A1 (en) * | 2009-03-04 | 2010-09-10 | 国立大学法人群馬大学 | Complex bandpass δσad modulator and digital radio receiver |
| JP5582447B2 (en) * | 2009-08-27 | 2014-09-03 | セイコーエプソン株式会社 | Electric circuit, sensor system including the electric circuit, and sensor device including the electric circuit |
| JP5815918B2 (en) * | 2009-10-06 | 2015-11-17 | セイコーエプソン株式会社 | Frequency measuring method, frequency measuring apparatus, and apparatus provided with frequency measuring apparatus |
| JP5821161B2 (en) * | 2010-03-18 | 2015-11-24 | ヤマハ株式会社 | Method, apparatus and program for performing waveform analysis |
| JP5203440B2 (en) * | 2010-11-24 | 2013-06-05 | 横河電機株式会社 | Harmonic component measuring device |
| WO2014141464A1 (en) * | 2013-03-15 | 2014-09-18 | 三菱電機株式会社 | Merging unit for collecting electrical power system information |
| JP6265346B2 (en) * | 2013-05-10 | 2018-01-24 | 国立大学法人静岡大学 | Distance measuring device |
| JP2015076805A (en) * | 2013-10-10 | 2015-04-20 | セイコーエプソン株式会社 | Functional device, electronic apparatus, movable body, synchronous control system, operation method of functional device and synchronous control method |
| JP2015100081A (en) * | 2013-11-20 | 2015-05-28 | 旭化成エレクトロニクス株式会社 | Spread spectrum clock generator and control method thereof |
| CN106461731B (en) * | 2014-04-02 | 2019-12-10 | 特斯拉公司 | Redundancy of functions of communication and data transmission in energy storage systems |
-
2017
- 2017-03-03 JP JP2017040103A patent/JP6957901B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2018146320A (en) | 2018-09-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108206691B (en) | Delay circuit, count value generation circuit, and physical quantity sensor | |
| JP6844310B2 (en) | Frequency ratio measuring device and physical quantity sensor | |
| CN102778673B (en) | Radar return signal high-precision distance simulation method and device as well as target simulator | |
| JP2013160758A (en) | Vibration beam accelerometer | |
| JP6844368B2 (en) | Time digital converter | |
| JP5561453B2 (en) | AD converter, mechanical quantity detector, and electronic equipment. | |
| JP2014052282A (en) | Frequency measurement circuit | |
| JP6957901B2 (en) | Frequency ratio measuring device and physical quantity sensor | |
| JP2006329987A (en) | Apparatus for measuring jitter and method of measuring jitter | |
| JP6182297B2 (en) | Frequency measurement circuit | |
| JP6812780B2 (en) | Reciprocal count value generation circuit and physical quantity sensor | |
| RU2260830C1 (en) | Time interval meter | |
| JP6809201B2 (en) | Sampling rate conversion circuit, reciprocal count value generation circuit and physical quantity sensor | |
| US11988685B2 (en) | Vibration rectification error correction device, sensor module, and vibration rectification error correction method | |
| JP6862901B2 (en) | Frequency ratio measuring device and physical quantity sensor | |
| JP2003014462A (en) | Attitude detection device of artificial satellite | |
| Brennan | Measuring a Loudspeaker Impedance Profile Using the AD5933 | |
| JP6787105B2 (en) | Digital filter, reciprocal count value generation circuit and physical quantity sensor | |
| JP7040572B2 (en) | Delay circuit, count value generation circuit and physical quantity sensor | |
| JP6972604B2 (en) | Counter circuit, measuring device and physical quantity sensor | |
| CN120428156A (en) | Method and device for estimating basic error of electric energy meter | |
| CN115144014A (en) | Sensor devices and related methods and systems | |
| JP2023079275A (en) | Vibration rectification error correction device, sensor module and vibration rectification error correction method | |
| JP2523890B2 (en) | Pulse phase measurement device | |
| JP2017011667A (en) | Sensor device and sensing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20191211 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20201021 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20201027 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20201223 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210302 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210419 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20210907 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210920 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6957901 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |