JP5620284B2 - Signal processing device - Google Patents

Signal processing device Download PDF

Info

Publication number
JP5620284B2
JP5620284B2 JP2011008701A JP2011008701A JP5620284B2 JP 5620284 B2 JP5620284 B2 JP 5620284B2 JP 2011008701 A JP2011008701 A JP 2011008701A JP 2011008701 A JP2011008701 A JP 2011008701A JP 5620284 B2 JP5620284 B2 JP 5620284B2
Authority
JP
Japan
Prior art keywords
value
read
reading
sampling period
signal
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
Application number
JP2011008701A
Other languages
Japanese (ja)
Other versions
JP2012150643A (en
Inventor
崇 新沼
崇 新沼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yokogawa Denshikiki Co Ltd
Original Assignee
Yokogawa Denshikiki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Denshikiki Co Ltd filed Critical Yokogawa Denshikiki Co Ltd
Priority to JP2011008701A priority Critical patent/JP5620284B2/en
Publication of JP2012150643A publication Critical patent/JP2012150643A/en
Application granted granted Critical
Publication of JP5620284B2 publication Critical patent/JP5620284B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits

Description

本発明は、信号処理装置に関する。   The present invention relates to a signal processing apparatus.

CPU(Central Processing Unit)やFPGA(Field Programmable Gate Array)などによって構成されるマイクロコンピュータデバイスは、スイッチなどの単純な入力装置から入力されるデジタル信号を所定のサンプリング周期で読み取り、読み取った値が所定回数連続して同じ値である場合に、当該値を有効値であると判断する。例えば、読み取った値が5回連続して同じ値である場合に有効値と判断する処理であれば、「0」が5回連続して入力された場合に、読み取った値「0」を有効値と判断する。   A microcomputer device composed of a CPU (Central Processing Unit), an FPGA (Field Programmable Gate Array) or the like reads a digital signal input from a simple input device such as a switch at a predetermined sampling period, and the read value is predetermined. When the value is the same for a number of times, it is determined that the value is an effective value. For example, if the read value is the same value for five consecutive times, and the process determines that the value is valid, the read value “0” is valid when “0” is continuously input five times. Judge as value.

しかしながら、上記従来技術では、デジタル信号のサンプリング周期が一定であるので、このサンプリング周期と同じ周期またはその倍数の周期のノイズが入り込んだ場合に、読み取り間違いが頻発する可能性が高い。また、一定周期のノイズが長期にわたって入り込む可能性の高い環境では、常にデジタル信号から正しい値を読み取ることができない可能性がある。特に、昨今では、マイクロコンピュータデバイスの低電圧化が進んでいるので、従来よりもノイズの影響を受け易くなっている。   However, in the above prior art, since the sampling period of the digital signal is constant, there is a high possibility that reading errors frequently occur when noise having the same period as this sampling period or a multiple of the sampling period enters. In an environment where there is a high possibility that noise of a certain period will enter for a long time, there is a possibility that a correct value cannot always be read from a digital signal. In particular, since the voltage of microcomputer devices has been reduced recently, it is more susceptible to noise than in the past.

本発明は、上述した事情に鑑みてなされたものであり、従来よりもノイズに妨害されることなく入力信号から値を読み取ることを目的とする。   The present invention has been made in view of the above-described circumstances, and an object thereof is to read a value from an input signal without being disturbed by noise as compared with the prior art.

上記目的を達成するために、本発明では、信号処理装置に係る第1の解決手段として、外部から入力信号を受信する入力端子と、異なる複数のサンプリング周期を合わせて前記入力信号の値を読み取る読み取り手段とを具備するという手段を採用する。   In order to achieve the above object, in the present invention, as a first solving means related to a signal processing device, an input terminal for receiving an input signal from the outside and a value of the input signal are read by combining a plurality of different sampling periods. The reading means is used.

本発明では、信号処理装置に係る第2の解決手段として、上記第1の解決手段において前記入力端子は、前記入力信号としてデジタル信号を受信し、前記読み取り手段において読み取られた値(読み取り値)が第1の所定回数連続して同じ値であった場合には、当該読み取り値が有効値であると判断し、当該読み取り値が前記第1の所定回数連続して同じ値でなかった場合には、当該読み取り値が前記第1の所定回数の内第2の所定回数同じ値であれば、当該読み取り値が有効値であると判断する有効値判断部を具備するという手段を採用する。   In the present invention, as a second solving means relating to the signal processing device, in the first solving means, the input terminal receives a digital signal as the input signal, and a value (read value) read by the reading means. Is the same value continuously for the first predetermined number of times, it is determined that the read value is an effective value, and the read value is not the same value continuously for the first predetermined number of times. Employs a means of providing an effective value determination unit that determines that the read value is an effective value if the read value is the same as the second predetermined number of times in the first predetermined number of times.

本発明では、信号処理装置に係る第3の解決手段として、上記第1または第2の解決手段において、前記複数のサンプリング周期は、異なる素数に対応した時間であるという手段を採用する。   In the present invention, as the third solving means relating to the signal processing device, in the first or second solving means, a means is adopted in which the plurality of sampling periods are times corresponding to different prime numbers.

本発明によれば、複数のサンプリング周期を合わせて入力信号の値を読み取ることで、一定周期のノイズが入り込む環境であったとしても、当該ノイズの周期と異なるサンプリング周期での読み取りでは、ノイズの影響を受けていない正しい値を読み取ることができるので、従来の1つのサンプリング周期で読み取る場合よりもノイズに妨害されることなく入力信号から正しい値を読み取ることができる。   According to the present invention, even if it is an environment where noise of a certain period enters by reading the value of the input signal by combining a plurality of sampling periods, in reading at a sampling period different from the period of the noise, Since the correct value that is not affected can be read, it is possible to read the correct value from the input signal without being disturbed by noise as compared with the case of reading in one conventional sampling period.

本発明の実施形態に係る信号処理装置Aの機能ブロック図である。It is a functional block diagram of the signal processing apparatus A which concerns on embodiment of this invention. 本発明の実施形態に係る信号処理装置Aの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the signal processing apparatus A which concerns on embodiment of this invention. 本発明の実施形態に係る信号処理装置Aの読み取り結果の一例を示す図である。It is a figure which shows an example of the reading result of the signal processing apparatus A which concerns on embodiment of this invention.

以下、図面を参照して、本発明の実施形態について説明する。
本実施形態に係る信号処理装置Aは、スイッチなどの単純な入力装置Bから入力されるデジタル信号(入力信号)dsの値を読み取り、読み取った値に基づいて所定処理を実行するものあり、図1に示すように、入力端子1、発振回路2、第1の読み取りタイミング生成部3、第2の読み取りタイミング生成部4、入力信号読み取り部5及び有効値判断部6を備える。なお、発振回路2、第1の読み取りタイミング生成部3、第2の読み取りタイミング生成部4及び入力信号読み取り部5は、本実施形態における読み取り手段を構成する。
Embodiments of the present invention will be described below with reference to the drawings.
The signal processing apparatus A according to the present embodiment reads the value of a digital signal (input signal) ds input from a simple input device B such as a switch, and executes predetermined processing based on the read value. As shown in FIG. 1, an input terminal 1, an oscillation circuit 2, a first reading timing generation unit 3, a second reading timing generation unit 4, an input signal reading unit 5, and an effective value determination unit 6 are provided. Note that the oscillation circuit 2, the first reading timing generation unit 3, the second reading timing generation unit 4, and the input signal reading unit 5 constitute reading means in the present embodiment.

入力端子1は、外部装置である入力装置Bに接続する接続端子であり、入力装置Bから入力信号としてデジタル信号dsを受信し、当該デジタル信号dsを入力信号読み取り部5に出力する。
発振回路2は、水晶振動子やセラミック振動子などの振動子を有し、当該振動子の周期的な振動に基づいて基準クロック信号bsを生成して、第1の読み取りタイミング生成部3及び第2の読み取りタイミング生成部4に出力する。ここで、基準クロック信号bsの周期は、後述の第1の読み取りタイミング信号ts1及び第2の読み取りタイミング信号ts2に比べて十分低い値(例えば1/1000)に設定されている。
The input terminal 1 is a connection terminal connected to the input device B, which is an external device, receives a digital signal ds as an input signal from the input device B, and outputs the digital signal ds to the input signal reading unit 5.
The oscillation circuit 2 includes a vibrator such as a crystal vibrator or a ceramic vibrator, generates the reference clock signal bs based on the periodic vibration of the vibrator, and generates the first read timing generation unit 3 and the first read timing generation unit 3. 2 to the read timing generation unit 4. Here, the cycle of the reference clock signal bs is set to a sufficiently low value (for example, 1/1000) as compared with a first reading timing signal ts1 and a second reading timing signal ts2 described later.

第1の読み取りタイミング生成部3は、基準クロック信号bsを被計測クロックとするカウンタを有し、当該カウンタで基準クロック信号bsの周期をカウントすることにより基準クロック信号bsを第1の分周比で分周し、これによって第1のサンプリング周期を有する第1の読み取りタイミング信号ts1を生成し、入力信号読み取り部5に出力する。   The first read timing generation unit 3 includes a counter that uses the reference clock signal bs as the clock to be measured, and the reference clock signal bs is counted by the first frequency division ratio by counting the period of the reference clock signal bs with the counter. The first read timing signal ts1 having the first sampling period is generated thereby, and is output to the input signal reading unit 5.

第2の読み取りタイミング生成部4は、基準クロック信号bsを被計測クロックとするカウンタを有し、当該カウンタで基準クロック信号bsの周期をカウントすることにより基準クロック信号bsを第2の分周比で分周し、これによって第2のサンプリング周期を有する第2の読み取りタイミング信号ts2を生成し、入力信号読み取り部5に出力する。   The second read timing generation unit 4 includes a counter that uses the reference clock signal bs as the clock to be measured, and the reference clock signal bs is divided into the second frequency division ratio by counting the period of the reference clock signal bs with the counter. , Thereby generating a second read timing signal ts2 having a second sampling period and outputting the second read timing signal ts2 to the input signal reading unit 5.

入力信号読み取り部5は、第1の読み取りタイミング生成部3から入力された第1の読み取りタイミング信号ts1により示される第1のサンプリング周期で、入力端子1から入力されたデジタル信号dsの値を読み取り、読み取った値(読み取り値)を有効値判断部6に出力する。   The input signal reading unit 5 reads the value of the digital signal ds input from the input terminal 1 in the first sampling period indicated by the first reading timing signal ts1 input from the first reading timing generation unit 3. The read value (read value) is output to the valid value determination unit 6.

また、入力信号読み取り部5は、第2の読み取りタイミング生成部4から入力された第2の読み取りタイミング信号ts2により示される第2のサンプリング周期で、入力端子1から入力されたデジタル信号dsの値を読み取り、読み取り値を有効値判断部6に出力する。   Further, the input signal reading unit 5 receives the value of the digital signal ds input from the input terminal 1 in the second sampling period indicated by the second reading timing signal ts2 input from the second reading timing generation unit 4. , And the read value is output to the valid value determination unit 6.

有効値判断部6は、入力信号読み取り部5から入力される読み取り値に基づいて有効値を判断する。有効値判断部6は、半導体デバイス等のハードウェアのみによって処理を実行する回路であってもよいし、またCPU(Central Processing Unit)、ROM(Read Only Memory)及びRAM(Random Access Memory)から構成され、上記ROMに記憶された演算プログラムに基づいて処理を実行するソフトウェアを用いた回路であってもよい。なお、有効値判断部6が実行する処理については、以下の信号処理装置Aの動作説明の中で詳細に説明する。   The effective value determination unit 6 determines an effective value based on the read value input from the input signal reading unit 5. The valid value determination unit 6 may be a circuit that executes processing only by hardware such as a semiconductor device, or is configured by a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). In addition, a circuit using software that executes processing based on the arithmetic program stored in the ROM may be used. The processing executed by the valid value determination unit 6 will be described in detail in the operation description of the signal processing apparatus A below.

次に、上記構成の本実施形態に係る信号処理装置Aの動作について図2を参照して説明する。
信号処理装置Aにおいて、発振回路2は、信号処理装置Aの起動開始時から常に、基準クロック信号bsを生成し、第1の読み取りタイミング生成部3及び第2の読み取りタイミング生成部4に出力する。そして、第1の読み取りタイミング生成部3は、基準クロック信号bsを基準に第1の読み取りタイミング信号ts1を生成し、入力信号読み取り部5に出力する。また、第2の読み取りタイミング生成部4は、発振回路2から入力される基準クロック信号bsを基準に第2の読み取りタイミング信号ts2を生成、入力信号読み取り部5に出力する。
Next, the operation of the signal processing apparatus A according to the present embodiment having the above configuration will be described with reference to FIG.
In the signal processing device A, the oscillation circuit 2 always generates the reference clock signal bs from the start of activation of the signal processing device A and outputs the reference clock signal bs to the first reading timing generation unit 3 and the second reading timing generation unit 4. . Then, the first reading timing generation unit 3 generates the first reading timing signal ts1 based on the reference clock signal bs and outputs the first reading timing signal ts1 to the input signal reading unit 5. The second reading timing generation unit 4 generates a second reading timing signal ts 2 based on the reference clock signal bs input from the oscillation circuit 2 and outputs the second reading timing signal ts 2 to the input signal reading unit 5.

入力信号読み取り部5は、第1の読み取りタイミング信号ts1によって示される第1のサンプリング周期と第2の読み取りタイミング信号ts2によって示される第2のサンプリング周期とのいずれかの読み取りタイミングになったか否か判定し(ステップS1)、ステップS1において『NO』と判定した場合、すなわち読み取りタイミングになっていない場合には、読み取りタイミングになるまで待機する。また、入力信号読み取り部5は、ステップS1において『YES』と判定した場合には、入力装置Bから入力端子1を介して入力されたデジタル信号dsの値を読み取り、読み取り値を有効値判断部6に出力する(ステップS2)。   Whether the input signal reading unit 5 has reached the reading timing of either the first sampling period indicated by the first reading timing signal ts1 or the second sampling period indicated by the second reading timing signal ts2. When the determination is made (step S1) and "NO" is determined in step S1, that is, when the read timing is not reached, the process waits until the read timing is reached. If the input signal reading unit 5 determines “YES” in step S <b> 1, the input signal reading unit 5 reads the value of the digital signal ds input from the input device B through the input terminal 1 and uses the read value as an effective value determination unit. 6 (step S2).

例えば、図3に示すように、第1のサンプリング周期を17m秒とするとともに、第2のサンプリング周期を29m秒とする。このように、2種類のサンプリング周期によりデジタル信号dsの値を読み取ることで、読み取りタイミングに不規則性を持たせることができる。第1のサンプリング周期及び第2のサンプリング周期のいずれか一方の周期と同じ、半分または倍数の周期を有するノイズが入り込んだとしても、ノイズの周期と異なるサンプリング周期の読み取りでは、ノイズの影響を受けていない正しい値を読み取ることができる。   For example, as shown in FIG. 3, the first sampling period is set to 17 msec and the second sampling period is set to 29 msec. In this way, by reading the value of the digital signal ds with two types of sampling periods, it is possible to make the reading timing irregular. Even if noise having a half or multiple of the same period as one of the first sampling period and the second sampling period enters, reading of a sampling period different from the noise period is affected by the noise. Can not read the correct value.

また、図3に示すように、第1のサンプリング周期を17m秒とするとともに、第2のサンプリング周期を29m秒とした場合、すなわち、それぞれのサンプリング周期を、異なる素数に対応した時間にした場合には、第1のサンプリング周期及び第2のサンプリング周期の両方の読み取りが、一定周期のノイズにより読み取り間違いが発生する可能性が低減される。   Also, as shown in FIG. 3, when the first sampling period is 17 milliseconds and the second sampling period is 29 milliseconds, that is, when each sampling period is set to a time corresponding to a different prime number. In this case, it is possible to reduce the possibility of reading errors in both the first sampling period and the second sampling period due to noise of a certain period.

例えば、図3に示すように、第1のサンプリング周期の倍数の周期のノイズn1が信号処理装置Aに入り込んだ場合には、デジタル信号dsの「1」の読み取りに3回成功し、「0」の読み取りに3回成功する。また、図3に示すように、第2のサンプリング周期の半分の周期のノイズn2が信号処理装置Aに入り込んだ場合には、デジタル信号dsの「1」の読み取りに3回成功し、「0」の読み取りに3回成功する。   For example, as shown in FIG. 3, when noise n1 having a period that is a multiple of the first sampling period enters the signal processing apparatus A, the digital signal ds “1” is successfully read three times, and “0 "Is successfully read three times. As shown in FIG. 3, when the noise n2 having a half period of the second sampling period enters the signal processing apparatus A, the digital signal ds “1” is successfully read three times and “0” is obtained. "Is successfully read three times.

しかし、第1のサンプリング周期を10m秒とするとともに、第2のサンプリング周期を5m秒とした場合には、周期が5m秒のノイズによって常に第1のサンプリング周期及び第2のサンプリング周期の両方の読み取りタイミングで読み取りが発生する。つまり、第1のサンプリング周期及び第2のサンプリング周期のいずれか一方の周期が、他方の周期の倍数になるような場合には、一定周期のノイズにより読み取り間違いが発生する可能性が上がる。このことから、信号処理装置Aは、第1のサンプリング周期及び第2のサンプリング周期を異なる素数に対応した時間にすることで、一定周期のノイズによる読み取り間違いを低減する。   However, when the first sampling period is 10 msec and the second sampling period is 5 msec, both the first sampling period and the second sampling period are always caused by noise having a period of 5 msec. Reading occurs at the reading timing. That is, when one of the first sampling period and the second sampling period is a multiple of the other period, there is a higher possibility that a reading error occurs due to noise of a certain period. Therefore, the signal processing apparatus A reduces reading errors due to noise of a certain period by setting the first sampling period and the second sampling period to times corresponding to different prime numbers.

図2に戻り、有効値判断部6は、入力信号読み取り部5から入力される読み取り値に基づいて有効値を判断する(ステップS3)。つまり、有効値判断部6は、入力信号読み取り部5における第1のサンプリング周期及び第2のサンプリング周期の読み取り値が第1の所定回数連続して同じ値であった場合には、当該読み取り値が有効値であると判断し、当該読み取り値が第1の所定回数連続して同じ値でなかった場合には、当該読み取り値が第1の所定回数の内第2の所定回数同じ値であれば、当該読み取り値が有効値であると判断する。   Returning to FIG. 2, the valid value determination unit 6 determines a valid value based on the read value input from the input signal reading unit 5 (step S3). That is, the effective value determination unit 6 determines that the read value when the read value of the first sampling period and the second sampling period in the input signal reading unit 5 is the same value continuously for the first predetermined number of times. If the read value is not the same value continuously for the first predetermined number of times, the read value may be the same for the second predetermined number of times within the first predetermined number of times. For example, it is determined that the read value is a valid value.

例えば、有効値判断部6は、図3に示すように読み取り値「1」が5回(第1の所定回数)連続して同じ値であった場合に、当該読み取り値「1」が有効値であると判断し、その後読み取り値「0」が5回連続して同じ値であった場合に、当該読み取り値「0」が有効値であると判断する。   For example, when the reading value “1” is the same value five times (first predetermined number of times) continuously as shown in FIG. Then, when the read value “0” is the same value for five consecutive times, it is determined that the read value “0” is an effective value.

また、有効値判断部6は、図3に示すように、ノイズn1やノイズn2が入り込むことにより読み取り値「1」が5回連続して同じ値でなかった場合に、5回の内3回(第2の所定回数)同じ値「1」であれば、当該読み取り値「1」が有効値であると判断し、その後読み取り値「0」が5回連続して同じ値でなかった場合に、5回の内3回同じ値「0」であれば、当該読み取り値「0」が有効値であると判断する。
信号処理装置Aは、このように判断した有効値に基づいて所定処理を実行する。
Further, as shown in FIG. 3, the effective value determination unit 6 performs 3 times out of 5 times when the read value “1” is not the same value 5 times continuously due to noise n1 and noise n2 entering. (Second predetermined number of times) If the same value is “1”, it is determined that the read value “1” is an effective value, and then the read value “0” is not the same value for five consecutive times. If the same value “0” is obtained 3 times out of 5 times, it is determined that the read value “0” is an effective value.
The signal processing apparatus A executes predetermined processing based on the effective value determined in this way.

以上のように、本実施形態は、複数のサンプリング周期を合わせてデジタル信号dsの値を読み取ることで、一定周期のノイズが入り込む環境であったとしても、当該ノイズの周期と異なるサンプリング周期での読み取りでは、ノイズの影響を受けていない正しい値を読み取ることができるので、従来の1つのサンプリング周期で読み取る場合よりもノイズに妨害されることなくデジタル信号dsから正しい値を読み取ることができる。   As described above, the present embodiment reads the value of the digital signal ds by combining a plurality of sampling periods, so that even in an environment where noise of a certain period enters, the sampling period is different from the period of the noise. In reading, since a correct value that is not affected by noise can be read, the correct value can be read from the digital signal ds without being disturbed by noise as compared with the case of reading in one conventional sampling period.

また、本実施形態は、読み取り値が第1の所定回数連続して同じ値でなかった場合には、当該読み取り値が第1の所定回数の内第2の所定回数同じ値であれば、当該読み取り値が有効値であると判断するので、一定周期ノイズが長期にわたって入り込むことで第1の所定回数連続して読み取り値が同じ値にならずに、有効値の更新が停止してしまうことを回避できる。   Further, in the present embodiment, when the reading value is not the same value continuously for the first predetermined number of times, if the reading value is the same value for the second predetermined number of times within the first predetermined number of times, Since it is determined that the read value is an effective value, the update of the effective value is stopped without the read value being the same value continuously for the first predetermined number of times due to the fixed period noise being introduced over a long period of time. Can be avoided.

以上、本発明の実施形態について説明したが、本発明は上記実施形態に限定されることなく、例えば以下のような変形が考えられる。
(1)上記実施形態は、2種類の第1のサンプリング周期及び第2のサンプリング周期を基準にデジタル信号dsの値を読み取ったが、サンプリング周期は2種類に限定されずに、3種類以上のサンプリング周期を合わせてデジタル信号の値を読み取るようにしてもよい。
As mentioned above, although embodiment of this invention was described, this invention is not limited to the said embodiment, For example, the following modifications can be considered.
(1) In the above-described embodiment, the value of the digital signal ds is read based on two types of the first sampling cycle and the second sampling cycle. However, the sampling cycle is not limited to two types, and three or more types are used. You may make it read the value of a digital signal according to a sampling period.

(2)上記実施形態は、入力装置Bから入力されたデジタル信号dsの値を複数種類のサンプリング周期を基準に読み取ったが本発明はこれに限定されない。例えば、入力装置Bから入力されたデジタル信号dsの値を複数種類のサンプリング周期を基準に読み取るようにしてもよい。これにより、アナログ信号の読み取りにおけるノイズが原因の読み取り間違いを低減することができる。 (2) In the above embodiment, the value of the digital signal ds input from the input device B is read based on a plurality of types of sampling periods, but the present invention is not limited to this. For example, the value of the digital signal ds input from the input device B may be read based on a plurality of types of sampling periods. As a result, reading errors caused by noise in reading analog signals can be reduced.

A…信号処理装置、1…入力端子、2…発振回路、3…第1の読み取りタイミング生成部、4…第2の読み取りタイミング生成部、5…入力信号読み取り部、6…有効値判断部、ds…デジタル信号、bs…基準クロック信号、ts1…第1の読み取りタイミング信号、ts2…第2の読み取りタイミング信号、

A ... signal processing device, 1 ... input terminal, 2 ... oscillation circuit, 3 ... first reading timing generation unit, 4 ... second reading timing generation unit, 5 ... input signal reading unit, 6 ... effective value determination unit, ds ... digital signal, bs ... reference clock signal, ts1 ... first reading timing signal, ts2 ... second reading timing signal,

Claims (2)

外部から入力信号としてデジタル信号を受信する入力端子と、
第1のサンプリング周期に対応するタイミングと当該第1のサンプリング周期とは倍数関係にない第2のサンプリング周期に対応するタイミングとからなり、前記各タイミングを同一時間軸上に並べた各タイミングのうち、連続する第1の所定回数のタイミングで前記入力信号の値を読み取る読み取り手段と、
前記読み取り手段において読み取られた値(読み取り値)が全て同じ値であった場合には、当該読み取り値が有効値であると判断し、当該読み取り値が全て同じ値でなかった場合には、読み取った回数の多い方の読み取り値を有効値であると判断する有効値判断部と
を具備し、
前記読み取り手段による前記連続する第1の所定回数のタイミングでの読み取りは、前記第1のサンプリング周期に対応するタイミングによる読み取りと、前記第2のサンプリング周期に対応するタイミングによる読み取りとが混在するような周期とし、
前記有効値判断部は、前記多い方の読み取り値が前記第1のサンプリング周期に対応するタイミングによる読み取り値と前記第2のサンプリング周期に対応するタイミングによる読み取り値とが混在する場合に限って、前記読み取った回数の多い方の読み取り値を有効値であると判断する
ことを特徴とする信号処理装置。
An input terminal for receiving a digital signal as an input signal from the outside;
The timing corresponding to the first sampling period and the timing corresponding to the second sampling period not related to the multiple of the first sampling period are included, and the timings are arranged on the same time axis. Reading means for reading the value of the input signal at a first consecutive predetermined number of times;
If all the values (read values) read by the reading means are the same value, it is determined that the read values are valid values. If all the read values are not the same value, the read values are read. An effective value determination unit that determines that the read value with the larger number of times is an effective value ,
The reading at the first predetermined number of times by the reading unit is such that reading at a timing corresponding to the first sampling period and reading at a timing corresponding to the second sampling period are mixed. Cycle,
The effective value determination unit is limited to the case where the read value at the timing corresponding to the first sampling period and the read value at the timing corresponding to the second sampling period are mixed together. The signal processing apparatus according to claim 1, wherein the reading value with the larger number of readings is determined to be an effective value .
前記第1、第2のサンプリング周期は、異なる素数に対応した時間であることを特徴とする請求項1に記載の信号処理装置。
The signal processing apparatus according to claim 1, wherein the first and second sampling periods are times corresponding to different prime numbers.
JP2011008701A 2011-01-19 2011-01-19 Signal processing device Active JP5620284B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011008701A JP5620284B2 (en) 2011-01-19 2011-01-19 Signal processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011008701A JP5620284B2 (en) 2011-01-19 2011-01-19 Signal processing device

Publications (2)

Publication Number Publication Date
JP2012150643A JP2012150643A (en) 2012-08-09
JP5620284B2 true JP5620284B2 (en) 2014-11-05

Family

ID=46792831

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011008701A Active JP5620284B2 (en) 2011-01-19 2011-01-19 Signal processing device

Country Status (1)

Country Link
JP (1) JP5620284B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113839976B (en) * 2020-06-24 2023-02-28 北京字节跳动网络技术有限公司 Data sampling method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2707778B2 (en) * 1990-01-24 1998-02-04 富士電機株式会社 Noise removal circuit
JPH04233314A (en) * 1990-12-28 1992-08-21 Mitsubishi Electric Corp Input circuit of semiconductor device
JPH1091355A (en) * 1996-09-12 1998-04-10 Denso Corp Input signal read-in device
JP2001092526A (en) * 1999-09-21 2001-04-06 Fujitsu Ten Ltd Output signal sampling device
JP5191453B2 (en) * 2009-06-29 2013-05-08 株式会社ジャパンディスプレイウェスト Touch sensor, display device, and electronic device

Also Published As

Publication number Publication date
JP2012150643A (en) 2012-08-09

Similar Documents

Publication Publication Date Title
US10491201B2 (en) Delay circuit, count value generation circuit, and physical quantity sensor
JPWO2006038468A1 (en) Phase difference measurement circuit
JP2010506523A5 (en)
JP2013024853A (en) Frequency counter
JP2013024856A (en) Frequency measuring method and system therefor
JP2013024858A (en) Frequency calibration method and system therefor
JP2018112861A5 (en) Random number generator
JP5620284B2 (en) Signal processing device
TW201907666A (en) Detection system, sensor and microcomputer
JP5914718B2 (en) Time base with oscillator, frequency division circuit and clock pulse suppression circuit
CN112615589B (en) Method and device for adjusting frequency of ring oscillator, storage medium and equipment
JP2016100980A (en) Drive control apparatus for motor and drive control method for motor
JP2014002456A (en) Input signal processing device
JP2012221373A (en) Computer system
JP2014140107A (en) Pulse measurement circuit and data processing device
JPH08139575A (en) Pulse output circuit
JP2009141596A (en) Signal generating circuit
JP2006229607A (en) Semiconductor device and method of correcting oscillation frequency
JP6274638B2 (en) Frequency adjustment circuit and frequency adjustment method
JP2010011713A (en) Pulse output circuit
US20140049310A1 (en) Semiconductor device, semiconductor system, and monitoring method thereof
CN116483161A (en) Method, device, equipment and storage medium for regulating clock source in chip
JP2019074822A (en) Semiconductor chip
RU1800382C (en) Phase difference meter
KR101332078B1 (en) Device for power on reset

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130530

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140319

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140401

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140528

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140624

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140807

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20140826

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: 20140916

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140918

R150 Certificate of patent or registration of utility model

Ref document number: 5620284

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250