JP2009237882A - Input signal filter processing method - Google Patents

Input signal filter processing method Download PDF

Info

Publication number
JP2009237882A
JP2009237882A JP2008082968A JP2008082968A JP2009237882A JP 2009237882 A JP2009237882 A JP 2009237882A JP 2008082968 A JP2008082968 A JP 2008082968A JP 2008082968 A JP2008082968 A JP 2008082968A JP 2009237882 A JP2009237882 A JP 2009237882A
Authority
JP
Japan
Prior art keywords
value
sampling
status
input signal
edge
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.)
Pending
Application number
JP2008082968A
Other languages
Japanese (ja)
Inventor
Hisashi Miyagawa
久 宮川
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.)
Koyo Electronics Industries Co Ltd
Original Assignee
Koyo Electronics Industries 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 Koyo Electronics Industries Co Ltd filed Critical Koyo Electronics Industries Co Ltd
Priority to JP2008082968A priority Critical patent/JP2009237882A/en
Publication of JP2009237882A publication Critical patent/JP2009237882A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an input signal filter processing method for performing the filter processing of an input signal without generating any error regardless of the entry of edge pulse in view of such situations that malfunction may occur when a noise is applied to an input terminal in a timing synchronizing with a sampling cycle. <P>SOLUTION: The input signal filtering processing method for performing the sampling of an input signal in a prescribed sampling cycle T includes: a step of detecting an edge pulse PE in the middle of a sampling period; a routine for, when the edge pulse is not detected, copying a backup value BU to a status ST, and for holding the next sampling value SG as the backup value BU; and a routine for, when the edge pulse is detected, skipping the copy of the backup value BU to the status ST, and for holding the next sampling value SG as a backup value BU. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は所定のサンプリング周期で入力信号のサンプリングを行う入力信号フィルタ処理方法にかかわり、外乱ノイズ等の影響を抑制して入力信号を正しくフィルタ処理する技術に関する。   The present invention relates to an input signal filtering method for sampling an input signal at a predetermined sampling period, and relates to a technique for correctly filtering an input signal while suppressing the influence of disturbance noise and the like.

生産工場等に設置されるファクトリオートメーション(FA)の制御装置として、論理回路を自由に置き換えられるコントローラであるプログラマブルコントローラ(PC:Programmable Controller)が用いられている。このプログラマブルコントローラは、複数のモジュールから構成されている。複数のモジュールとしては、電源モジュール、CPUモジュール、入力モジュール、出力モジュール、通信モジュール等がある。CPUモジュールは、内部にCPU、I/Oメモリ、プログラムメモリ等を有する(例えば特許文献1参照)。入力モジュールにはセンサ等の入力機器が接続され、出力モジュールにはアクチュエータ等の外部機器が接続される。入力モジュールと出力モジュールとがCPUモジュールで連係される。センサ等の入力機器は制御対象の状態をセンシングしてその情報を入力モジュールに入力し、CPUモジュールで演算を行い、その演算結果に基づいて出力モジュールに出力し、これに応答してアクチュエータ等の外部機器を駆動制御する。   As a factory automation (FA) control device installed in a production factory or the like, a programmable controller (PC) that is a controller that can freely replace a logic circuit is used. This programmable controller is composed of a plurality of modules. As the plurality of modules, there are a power supply module, a CPU module, an input module, an output module, a communication module, and the like. The CPU module includes a CPU, an I / O memory, a program memory, and the like (see, for example, Patent Document 1). An input device such as a sensor is connected to the input module, and an external device such as an actuator is connected to the output module. The input module and the output module are linked by the CPU module. An input device such as a sensor senses the state of the object to be controlled, inputs the information to the input module, performs a calculation in the CPU module, and outputs to the output module based on the calculation result. Drives and controls external equipment.

上記のプログラマブルコントローラにおいて、入力モジュールでは、スイッチやセンサ等を外部接点としてそのON/OFF信号をCPUモジュールに入力する。出力モジュールではCPUモジュールの制御信号に応答して内部接点をON/OFFしてアクチュエータ等の外部機器への電源の供給/遮断を行って外部機器をON/OFF駆動する。このような接点のON/OFF信号などの入力信号は、プログラマブルコントローラの制御動作上、入出力モジュールの配置環境によるノイズの影響を受けないようにフィルタ処理して安定化させることが必要である。   In the above-described programmable controller, the input module inputs an ON / OFF signal to the CPU module using a switch, a sensor, or the like as an external contact. In the output module, the internal contact is turned on / off in response to the control signal of the CPU module to supply / shut off the power to / from an external device such as an actuator to drive the external device on / off. Input signals such as ON / OFF signals for such contacts need to be stabilized by filtering so as not to be affected by noise due to the input / output module arrangement environment in the control operation of the programmable controller.

図5は入力モジュールの概略を示す。1は入力モジュール、2は入力回路、3は入力フィルタ回路、4は信号入力端子、5は電源入力端子、6はセンサ、7は電源、8はCPUモジュールである。センサ6からの入力信号Sinが信号入力端子3から入力回路2の入力フィルタ回路3に取り込まれる。入力フィルタ回路3は、“H”,“L”に変化する入力信号Sinの“H”,“L”変化をできるだけ忠実なかたちで内部に取り込んで、波形整形し、CPUモジュール8に渡す。   FIG. 5 shows an outline of the input module. 1 is an input module, 2 is an input circuit, 3 is an input filter circuit, 4 is a signal input terminal, 5 is a power input terminal, 6 is a sensor, 7 is a power supply, and 8 is a CPU module. An input signal Sin from the sensor 6 is taken into the input filter circuit 3 of the input circuit 2 from the signal input terminal 3. The input filter circuit 3 takes the “H” and “L” changes of the input signal Sin changing to “H” and “L” into the inside as faithfully as possible, shapes the waveform, and passes it to the CPU module 8.

入力フィルタ回路3は、一定のサンプリング周期Tで入力信号Sinをサンプリングし、フィルタ処理するようになっている。従来技術では、そのサンプリング周期Tごとのサンプルタイミングにおいてのみサンプリングするようになっている。図6はその動作を示すフローチャートである。   The input filter circuit 3 samples and filters the input signal Sin at a constant sampling period T. In the prior art, sampling is performed only at the sample timing for each sampling period T. FIG. 6 is a flowchart showing the operation.

ステップn1において、サンプリング値SGがバックアップ値BUに一致するかを判断する。一致するときは、ステップn2をスキップし、ステップn3でサンプリング値SGをバックアップする(バックアップ値BU←サンプリング値SG)。   In step n1, it is determined whether the sampling value SG matches the backup value BU. If they match, step n2 is skipped and the sampling value SG is backed up at step n3 (backup value BU ← sampling value SG).

ステップn1の判断で、一致しないときは、ステップn2に進み、サンプリング値SGをステータスST(フィルタ出力)にコピーした上で、さらにステップn3でサンプリング値SGをバックアップする(バックアップ値BU←サンプリング値SG)。   If it is determined in step n1 that they do not match, the process proceeds to step n2, the sampling value SG is copied to the status ST (filter output), and the sampling value SG is further backed up in step n3 (backup value BU ← sampling value SG). ).

まず、入力信号にノイズ等に起因するエッジパルスが侵入しない場合の動作を図7で説明する。下向き矢印t1〜t9はサンプルタイミングである。図7において、平行線はイコールのことで、サンプリング値SGがバックアップ値BUに等しいことを意味している。また、平行線に斜め線を交差させたものはノットイコールのことで、サンプリング値SGがバックアップ値BUに不一致であることを意味している。   First, an operation when an edge pulse caused by noise or the like does not enter the input signal will be described with reference to FIG. Downward arrows t1 to t9 are sample timings. In FIG. 7, parallel lines are equal, meaning that the sampling value SG is equal to the backup value BU. Further, the crossing of the diagonal lines with the parallel lines is not equal, which means that the sampling value SG does not match the backup value BU.

サンプルタイミングt1では、入力信号のサンプリング値SG=“L”(ローレベル)である。この直前まで、バックアップ値BUは“L”である。したがって、ステップn1の判断はサンプリング値SG=バックアップ値BUであるので、バックアップ値BUをステータスSTへコピーするステップn2はスキップして、ステップn3に進み、サンプリング値SG=“L”をバックアップする(バックアップ値BU←“L”)。このときのステータスSTは、現在までの履歴から“L”となっている(ステータスST=“L”)。   At the sample timing t1, the sampling value SG of the input signal is “L” (low level). Until this time, the backup value BU is “L”. Accordingly, since the determination at step n1 is the sampling value SG = the backup value BU, step n2 for copying the backup value BU to the status ST is skipped, and the process proceeds to step n3 to back up the sampling value SG = “L” ( Backup value BU ← “L”). The status ST at this time is “L” from the history up to now (status ST = “L”).

次のサンプルタイミングt2では、サンプリング値SGは“L”であり、バックアップ値BUは“L”であるので、サンプルタイミングt1の場合と同様の動作となる。すなわち、ステップn1でサンプリング値SG=バックアップ値BUであり、ステップn2はスキップし、ステップn3でサンプリング値SG=“L”をバックアップする(バックアップ値BU←“L”)。   At the next sample timing t2, since the sampling value SG is “L” and the backup value BU is “L”, the operation is the same as that at the sample timing t1. That is, in step n1, the sampling value SG = the backup value BU, step n2 is skipped, and in step n3, the sampling value SG = “L” is backed up (backup value BU ← “L”).

次のサンプルタイミングt3、さらにその次のサンプルタイミングt4でも同様の動作となる(バックアップ値BU←“L”)。   The same operation is performed at the next sample timing t3 and further at the next sample timing t4 (backup value BU ← “L”).

次のサンプルタイミングt5では、サンプリング値SGは“H”(ハイレベル)である。この直前まで、バックアップ値BUは“L”である。したがって、ステップn1の判断はサンプリング値SG≠バックアップ値BUの不一致であるので、ステップn2に進み、サンプリング値SG=“H”をステータスSTにコピーする(ステータスST←“H”;ステータスSTの変化)。そして、ステップn3では、サンプリング値SG=“H”をバックアップする(バックアップ値BU←“H”)。これにより、フィルタ出力(ステータスST)は“H”に反転する。   At the next sample timing t5, the sampling value SG is “H” (high level). Until this time, the backup value BU is “L”. Accordingly, since the determination at step n1 is that the sampling value SG is not equal to the backup value BU, the process proceeds to step n2 where the sampling value SG = “H” is copied to the status ST (status ST ← “H”; status ST change) ). In step n3, the sampling value SG = "H" is backed up (backup value BU ← "H"). As a result, the filter output (status ST) is inverted to “H”.

次のサンプルタイミングt6では、サンプリング値SG=“H”であり、バックアップ値BUは“H”であるので、ステップn2はスキップし、ステップn3でサンプリング値SG=“H”をバックアップする(バックアップ値BU←“H”)。   At the next sample timing t6, since the sampling value SG = “H” and the backup value BU is “H”, step n2 is skipped and the sampling value SG = “H” is backed up at step n3 (backup value). BU ← “H”).

次のサンプルタイミングt7でも同様の動作となる(バックアップ値BU←“H”)。   The same operation is performed at the next sample timing t7 (backup value BU ← “H”).

次のサンプルタイミングt8では、サンプリング値SGは“L”、バックアップ値BUは“H”であり、ステップn1の判断はサンプリング値SG≠バックアップ値BUの不一致であるので、ステップn2に進み、サンプリング値SG=“L”をステータスSTにコピーする(ステータスST←“L”;ステータスSTの変化)。そして、ステップn3では、サンプリング値SG=“L”をバックアップする(バックアップ値BU←“L”)。これにより、フィルタ出力(ステータスST)は“L”に反転する。   At the next sample timing t8, the sampling value SG is “L”, the backup value BU is “H”, and the judgment at step n1 is a mismatch between the sampling value SG ≠ the backup value BU. SG = “L” is copied to status ST (status ST ← “L”; change in status ST). In step n3, the sampling value SG = “L” is backed up (backup value BU ← “L”). As a result, the filter output (status ST) is inverted to “L”.

以上のようにして、入力信号の“L”/“H”の変化がフィルタ出力(ステータスST)に正しく反映される。   As described above, the change in the input signal “L” / “H” is correctly reflected in the filter output (status ST).

なお、入力信号をフィルタする技術としては例えば特許文献2が提案されている。
特開2005−259079号公報 特開2007−156847号公報
For example, Patent Document 2 has been proposed as a technique for filtering an input signal.
Japanese Patent Laying-Open No. 2005-259079 JP 2007-156847 A

しかし、図6のフローチャートに従う処理を行う従来技術の場合、入力信号にノイズ等に起因するエッジパルスが侵入すると、フィルタ出力に誤差が生じる可能性がある。これを図8で説明する。   However, in the case of the prior art that performs processing according to the flowchart of FIG. 6, if an edge pulse due to noise or the like enters the input signal, an error may occur in the filter output. This will be described with reference to FIG.

サンプルタイミングt1では、入力信号のサンプリング値SGは“L”である。この直前まで、バックアップ値BUは“L”である。ステップn1の判断はサンプリング値SG=バックアップ値BUとなり、ステップn2はスキップして、ステップn3でサンプリング値SG=“L”をバックアップする(バックアップ値BU←“L”)。このときのステータスSTは、現在までの履歴から“L”となっている(ステータスST=“L”)。   At the sample timing t1, the sampling value SG of the input signal is “L”. Until this time, the backup value BU is “L”. The judgment at step n1 is sampling value SG = backup value BU, step n2 is skipped, and sampling value SG = “L” is backed up at step n3 (backup value BU ← “L”). The status ST at this time is “L” from the history up to now (status ST = “L”).

次のサンプルタイミングt2までの間に、エッジパルスPE1が侵入する。ただし、この従来技術の場合、サンプリングするのは一定のサンプリング周期Tごとのサンプルタイミングt1,t2,t3,t4…のみであるので、このサンプリング期間途中のエッジパルスPE1自体のサンプリングは行われない。サンプリングしないので、直接の影響はない。   The edge pulse PE1 enters before the next sample timing t2. However, in the case of this prior art, sampling is performed only at the sample timings t1, t2, t3, t4... At every constant sampling period T, and thus the edge pulse PE1 itself is not sampled during this sampling period. Since there is no sampling, there is no direct effect.

次のサンプルタイミングt2では、サンプリング値SGは“L”であり、バックアップ値BUは“L”であるので、サンプルタイミングt1の場合と同様の動作となる。すなわち、ステップn1でサンプリング値SG=バックアップ値BU、ステップn2はスキップし、ステップn3でサンプリング値SG=“L”をバックアップする(バックアップ値BU←“L”)。   At the next sample timing t2, since the sampling value SG is “L” and the backup value BU is “L”, the operation is the same as that at the sample timing t1. That is, sampling value SG = backup value BU in step n1, step n2 is skipped, and sampling value SG = “L” is backed up in step n3 (backup value BU ← “L”).

次のサンプルタイミングt3では、エッジパルスPE2がちょうどタイミング的に同時に侵入している。したがって、エッジパルスPE2がサンプリングされる。サンプリング値SG=“H”となる。この直前まで、バックアップ値BUは“L”である。したがって、ステップn1の判断はサンプリング値SG≠バックアップ値BUの不一致であるので、ステップn2に進み、サンプリング値SG=“H”をステータスSTにコピーする(ステータスST←“H”;ステータスSTの変化)。そして、ステップn3では、サンプリング値SG=“H”をバックアップする(バックアップ値BU←“H”)。これにより、フィルタ出力(ステータスST)は“H”に反転する。この反転が誤動作である。   At the next sample timing t3, the edge pulse PE2 enters at exactly the same time. Therefore, the edge pulse PE2 is sampled. The sampling value SG = “H”. Until this time, the backup value BU is “L”. Accordingly, since the determination at step n1 is that the sampling value SG is not equal to the backup value BU, the process proceeds to step n2 where the sampling value SG = “H” is copied to the status ST (status ST ← “H”; status ST change) ). In step n3, the sampling value SG = "H" is backed up (backup value BU ← "H"). As a result, the filter output (status ST) is inverted to “H”. This inversion is a malfunction.

次のサンプルタイミングt4までの間に、エッジパルスPE3が侵入する。ただし、これはサンプリングされない。   The edge pulse PE3 enters before the next sample timing t4. However, this is not sampled.

次のサンプルタイミングt4では、エッジパルスPE4がちょうどタイミング的に同時に侵入している。したがって、エッジパルスPE4がサンプリングされる。サンプリング値SG=“H”となる。この直前まで、バックアップ値BUは“H”である。したがって、サンプリング値SG=バックアップ値BUの一致であるので、ステップn2はスキップし、ステップn3では、サンプリング値SG=“H”をバックアップする(バックアップ値BU←“H”)。   At the next sample timing t4, the edge pulse PE4 enters at exactly the same time. Therefore, the edge pulse PE4 is sampled. The sampling value SG = “H”. Until this time, the backup value BU is “H”. Therefore, since the sampling value SG is equal to the backup value BU, step n2 is skipped, and in step n3, the sampling value SG = "H" is backed up (backup value BU ← "H").

入力信号は、サンプルタイミングt1からサンプルタイミングt5の直前までは本来は“L”である。それにもかかわらず、フィルタ出力(ステータスST)は、サンプルタイミングt3から“H”に反転しており、入力信号とは異なったものとなっている。すなわち、誤動作を起こしている。   The input signal is originally “L” from the sample timing t1 to immediately before the sample timing t5. Nevertheless, the filter output (status ST) is inverted to “H” from the sample timing t3 and is different from the input signal. That is, a malfunction occurs.

次に、別の局面として、サンプルタイミングt11では、入力信号のサンプリング値SGは“H”である。この直前まで、バックアップ値BUは“H”である。ステップn1の判断はサンプリング値SG=バックアップ値BUとなり、ステップn2はスキップして、ステップn3でサンプリング値SG=“H”をバックアップする(バックアップ値BU←“H”)。このときのステータスSTは、現在までの履歴から“H”となっている(ステータスST=“H”)。   Next, as another aspect, at the sampling timing t11, the sampling value SG of the input signal is “H”. Until this time, the backup value BU is “H”. The judgment at step n1 is sampling value SG = backup value BU, step n2 is skipped, and sampling value SG = “H” is backed up at step n3 (backup value BU ← “H”). The status ST at this time is “H” from the history up to now (status ST = “H”).

次のサンプルタイミングt12では、エッジパルスPE5がちょうどタイミング的に同時に侵入している。したがって、エッジパルスPE5がサンプリングされる。サンプリング値SG=“L”となる。この直前まで、バックアップ値BUは“H”である。したがって、ステップn1の判断はサンプリング値SG≠バックアップ値BUの不一致であるので、ステップn2に進み、サンプリング値SG=“L”をステータスSTにコピーする(ステータスST←“L”;ステータスSTの変化)。そして、ステップn3では、サンプリング値SG=“L”をバックアップする(バックアップ値BU←“L”)。これにより、フィルタ出力(ステータスST)は“L”に反転する。この反転が誤動作である。   At the next sample timing t12, the edge pulse PE5 enters at exactly the same time. Therefore, the edge pulse PE5 is sampled. The sampling value SG = “L”. Until this time, the backup value BU is “H”. Accordingly, the determination at step n1 is that the sampling value SG is not equal to the backup value BU, so the process proceeds to step n2 where the sampling value SG = “L” is copied to the status ST (status ST ← “L”; status ST change) ). In step n3, the sampling value SG = “L” is backed up (backup value BU ← “L”). As a result, the filter output (status ST) is inverted to “L”. This inversion is a malfunction.

次のサンプルタイミングt13までの間に、エッジパルスPE6が侵入する。ただし、これはサンプリングされない。   The edge pulse PE6 enters before the next sample timing t13. However, this is not sampled.

次のサンプルタイミングt13では、エッジパルスPE7がちょうどタイミング的に同時に侵入している。したがって、エッジパルスPE7がサンプリングされる。サンプリング値SG=“L”となる。この直前まで、バックアップ値BUは“L”である。したがって、サンプリング値SG=バックアップ値BUの一致であるので、ステップn2はスキップし、ステップn3では、サンプリング値SG=“L”をバックアップする(バックアップ値BU←“L”)。   At the next sample timing t13, the edge pulse PE7 enters at exactly the same time. Therefore, the edge pulse PE7 is sampled. The sampling value SG = “L”. Until this time, the backup value BU is “L”. Therefore, since the sampling value SG is equal to the backup value BU, step n2 is skipped, and in step n3, the sampling value SG = “L” is backed up (backup value BU ← “L”).

入力信号は、サンプルタイミングt11からサンプルタイミングt14の直後までは本来は“H”である。それにもかかわらず、フィルタ出力(ステータスST)は、サンプルタイミングt12から“L”に反転しており、入力信号とは異なったものとなっている。すなわち、誤動作を起こしている。   The input signal is originally “H” from the sample timing t11 to immediately after the sample timing t14. Nevertheless, the filter output (status ST) is inverted to “L” from the sample timing t12, and is different from the input signal. That is, a malfunction occurs.

以上のように、従来技術においては、サンプリング周期に同期したタイミングでノイズが入力端子に印加された場合には、誤動作を起こすことがあった。   As described above, in the prior art, when noise is applied to the input terminal at a timing synchronized with the sampling period, a malfunction may occur.

本発明は、このような事情に鑑みて創作したものであり、エッジパルスの侵入にかかわらず、入力信号を誤りなく正確にフィルタ処理できる入力信号フィルタ処理方法を提供することを目的としている。   The present invention has been created in view of such circumstances, and an object thereof is to provide an input signal filtering method capable of accurately filtering an input signal without error regardless of the intrusion of an edge pulse.

本発明による入力信号フィルタ処理方法は、所定のサンプリング周期で入力信号のサンプリングを行う入力信号フィルタ処理方法であって、
サンプリング期間途中でエッジパルスを検出するステップと、
エッジパルスが検出されないときは、そのときのバックアップ値をステータスにコピーした上で、次のサンプリング値をバックアップ値として保持すルーチンと、
エッジパルスが検出されたときは、バックアップ値のステータスへのコピーをスキップした上で、次のサンプリング値をバックアップ値として保持すルーチンとを備えたものである。
An input signal filter processing method according to the present invention is an input signal filter processing method for sampling an input signal at a predetermined sampling period,
Detecting an edge pulse during the sampling period;
When an edge pulse is not detected, a routine for copying the backup value at that time to the status and holding the next sampling value as a backup value;
When an edge pulse is detected, a routine for skipping copying of the backup value to the status and holding the next sampling value as a backup value is provided.

上記構成において、前記エッジパルスが検出されたときのルーチンは、エッジ情報フラグをクリアし、入力エッジ割り込みを許可し、入力エッジ割り込み処理においてエッジ情報フラグをセットし、次いで入力エッジ割り込みを禁止するという態様がある。   In the above configuration, the routine when the edge pulse is detected is to clear the edge information flag, enable the input edge interrupt, set the edge information flag in the input edge interrupt processing, and then disable the input edge interrupt. There are aspects.

上記の構成では、サンプリング周期ごとに入力信号をサンプリングすることに加えて、サンプリング期間途中でのエッジパルス検出をフィルタ条件に加えている。エッジパルスが検出されれば、そのサンプリング期間の次のサンプリング値はフィルタ出力(ステータス)に反映させないでおき、エッジパルスが検出されなかったサンプリング期間では、バックアップ値をフィルタ出力(ステータス)に反映させるので、従来技術ではフィルタ処理できなかったサンプリング周期に同期した入力ノイズを実効的にフィルタ出力(ステータス)から除去することができ、入力信号を誤りなく正確にフィルタ処理することが可能となる。   In the above configuration, in addition to sampling the input signal every sampling period, edge pulse detection in the middle of the sampling period is added to the filter condition. If an edge pulse is detected, the next sampling value in that sampling period is not reflected in the filter output (status), and in the sampling period in which no edge pulse is detected, the backup value is reflected in the filter output (status). Therefore, the input noise synchronized with the sampling period that cannot be filtered by the prior art can be effectively removed from the filter output (status), and the input signal can be accurately filtered without error.

また、入力エッジ割り込みの禁止により、エッジパルス検出および入力エッジ割り込み処理はサンプリング期間内で1回しか受け付けないため、入力端子に細かい周期の入力信号が複数あるいは多数入った場合でも、CPUの負荷はほとんど増加しない。   In addition, because the input edge interrupt is prohibited, the edge pulse detection and the input edge interrupt processing are accepted only once within the sampling period. Therefore, even when a plurality of input signals having a small period are input to the input terminal, the load on the CPU is reduced. Little increase.

本発明によれば、サンプリング周期に同期したノイズが印加された場合でも、誤動作が発生せず、入力信号を安定かつ早期に確定できるようにフィルタ処理することができる。   According to the present invention, even when noise synchronized with the sampling period is applied, it is possible to perform a filtering process so that an input signal can be determined stably and early without causing a malfunction.

以下、本発明にかかわる入力信号フィルタ処理方法の実施の形態を図面を用いて詳細に説明する。   Embodiments of an input signal filtering method according to the present invention will be described below in detail with reference to the drawings.

図1はハードウェア構成を示す。このハードウェアは、プログラマブルコントローラ等に内蔵することができ、例えば、CPU、ROM、RAM等や、インターフェース等を含むマイコン、その他で構成され、機能的に、サンプリング回路10と、バックアップ値メモリ20と、演算処理部30とを備えている。サンプリング回路10は、所定のサンプリング周期Tでのサンプリングに加えて、サンプリング周期Tよりも短い周期でエッジパルスを監視する機能を有している。サンプリング値SGがバックアップされたバックアップ値BUはバックアップ値メモリ20に格納されるようになっている。演算処理部30は、サンプリング回路10とバックアップ値メモリ20との協働により、本実施の形態の入力信号フィルタ処理方法を実行する。   FIG. 1 shows a hardware configuration. This hardware can be built in a programmable controller or the like, and is composed of, for example, a CPU, ROM, RAM, etc., a microcomputer including an interface, etc., and functionally a sampling circuit 10, a backup value memory 20, And an arithmetic processing unit 30. The sampling circuit 10 has a function of monitoring edge pulses at a cycle shorter than the sampling cycle T in addition to sampling at a predetermined sampling cycle T. The backup value BU backed up by the sampling value SG is stored in the backup value memory 20. The arithmetic processing unit 30 executes the input signal filter processing method of the present embodiment in cooperation with the sampling circuit 10 and the backup value memory 20.

図2は本発明の実施の形態における入力信号フィルタ処理方法の処理の手順を示すフローチャートである。図2(a)はメインルーチンを示すフローチャート、図2(b)は入力エッジ割り込みのルーチンを示すフローチャートである。   FIG. 2 is a flowchart showing a processing procedure of the input signal filter processing method according to the embodiment of the present invention. FIG. 2A is a flowchart showing a main routine, and FIG. 2B is a flowchart showing an input edge interrupt routine.

ステップS1において、サンプリング期間途中でエッジパルスを検出したかを判断し、エッジパルス検出がないときはステップS2に進み、エッジパルス検出があったときはステップS3に進む。   In step S1, it is determined whether an edge pulse is detected during the sampling period. If no edge pulse is detected, the process proceeds to step S2. If an edge pulse is detected, the process proceeds to step S3.

エッジパルス検出がなくてステップS2に進むと、現在のバックアップ値BUをステータスSTにコピーする(ステータスST←バックアップ値BU)。次いでステップS4に進み、サンプリング値SGをバックアップする(バックアップ値BU←サンプリング値SG)。   If no edge pulse is detected and the process proceeds to step S2, the current backup value BU is copied to the status ST (status ST ← backup value BU). Next, in step S4, the sampling value SG is backed up (backup value BU ← sampling value SG).

一方、エッジパルス検出があってステップS3に進むと、それまでのエッジ情報フラグFeをゼロクリアする(Fe←0)。この場合、前回のエッジ情報フラグFeが“0”である場合もあるし、“1”である場合もあるが、いずれにしてもゼロクリアする。そして、ステップS3でさらに、入力エッジ割り込みを許可する。   On the other hand, when the edge pulse is detected and the process proceeds to step S3, the previous edge information flag Fe is cleared to zero (Fe ← 0). In this case, the previous edge information flag Fe may be “0” or “1”, but it is cleared to zero anyway. In step S3, an input edge interrupt is further permitted.

入力エッジ割り込みのルーチンは図2(b)に示されている。この入力エッジ割り込みに進むと、エッジ情報フラグFeに“1”を立てる(Fe←1)。これは、サンプリング期間途中でエッジパルスが検出された異常状態であることを保持していることを意味する。次いで、入力エッジ割り込みを禁止する。すなわち、一度でも、サンプリング期間途中でのエッジパルス検出があれば、以降はサンプリング期間途中での入力エッジ割り込みを行わないことで、CPUの負担を軽減している。そして、メインルーチンに戻る。   The input edge interrupt routine is shown in FIG. When the process proceeds to this input edge interrupt, the edge information flag Fe is set to “1” (Fe ← 1). This means that the abnormal state in which the edge pulse is detected during the sampling period is held. Next, the input edge interrupt is prohibited. That is, once edge pulse detection is performed in the middle of the sampling period, the input edge interrupt is not performed in the middle of the sampling period thereafter, thereby reducing the load on the CPU. Then, the process returns to the main routine.

入力エッジ割り込み処理によって、サンプリング期間途中でエッジパルスがいくつ生じるかランダムであるが、最初の1つのエッジパルスを検出すると、2つ目以降のエッジパルスの検出は行わないようにしている。   It is random how many edge pulses are generated during the sampling period by the input edge interrupt processing, but when the first one edge pulse is detected, the second and subsequent edge pulses are not detected.

メインルーチンに戻ると、次のサンプリングタイミングでのサンプリング値SGを正しいものとしてバックアップし、バックアップ値BU←サンプリング値SGとする。このエッジパルス検出のルート(S1→S3→S4)では、バックアップ値BUをステータスSTにコピーするステップをスキップしている。これは、サンプリング期間途中でのエッジパルス検出に基づくデータ値は無効とするとの扱いに相当している。   When returning to the main routine, the sampling value SG at the next sampling timing is backed up as correct, and the backup value BU ← sampling value SG is set. In this edge pulse detection route (S1 → S3 → S4), the step of copying the backup value BU to the status ST is skipped. This corresponds to the treatment that the data value based on edge pulse detection during the sampling period is invalid.

以上のように、サンプル期間途中でエッジパルス検出がなければ、サンプリング値SGの確定ということになるので、現在のバックアップ値BUをステータスSTにコピーし、フィルタ出力として表示部に出力する。そして、次のサンプリングタイミングでのサンプリング値SGを正しいものとしてバックアップし、バックアップ値BU←サンプリング値SGとする。   As described above, if the edge pulse is not detected in the middle of the sampling period, the sampling value SG is confirmed. Therefore, the current backup value BU is copied to the status ST and output to the display unit as a filter output. Then, the sampling value SG at the next sampling timing is backed up as correct, and the backup value BU ← sampling value SG is set.

次に具体例を説明する。   Next, a specific example will be described.

まず、入力信号にノイズ等に起因するエッジパルスが侵入しない場合の動作を図3で説明する。   First, an operation when an edge pulse caused by noise or the like does not enter the input signal will be described with reference to FIG.

サンプルタイミングt1からサンプルタイミングt2にかけては、エッジパルス検出がない(ステップS1でNO)。バックアップ値BU=“L”をステータスSTにコピーする(ステップS2)。これで、ステータスST=“L”となる。このときのサンプルタイミングt2でのサンプリング値SGは“L”であり、そのサンプリング値SGをバックアップする(ステップS4)。これで、バックアップ値BU=サンプリング値SG=“L”となる。   There is no edge pulse detection from sample timing t1 to sample timing t2 (NO in step S1). The backup value BU = “L” is copied to the status ST (step S2). As a result, the status ST = “L”. The sampling value SG at the sample timing t2 at this time is “L”, and the sampling value SG is backed up (step S4). Thus, the backup value BU = sampling value SG = “L”.

次にサンプルタイミングt2からサンプルタイミングt3にかけても、エッジパルス検出がないので、バックアップ値BU=“L”をステータスSTにコピーする(ステータスST=“L”)。さらに、“L”のサンプリング値SGをバックアップする(バックアップ値BU=“L”)。   Next, since there is no edge pulse detection from the sample timing t2 to the sample timing t3, the backup value BU = “L” is copied to the status ST (status ST = “L”). Further, the sampling value SG of “L” is backed up (backup value BU = “L”).

次にサンプルタイミングt3からサンプルタイミングt4にかけても、エッジパルス検出がないので、バックアップ値BU=“L”をステータスSTにコピーする(ステータスST=“L”)。さらに、“L”のサンプリング値SGをバックアップする(バックアップ値BU=“L”)。   Next, since no edge pulse is detected from sample timing t3 to sample timing t4, the backup value BU = “L” is copied to status ST (status ST = “L”). Further, the sampling value SG of “L” is backed up (backup value BU = “L”).

次にサンプルタイミングt4からサンプルタイミングt5にかけては、立ち上がりのエッジパルス検出がある(ステップS1でYES)。エッジ情報フラグFeをクリアし、入力エッジ割り込みを許可する(ステップS3)。入力エッジ割り込みに進むと、エッジ情報フラグFeをセットし(Fe←1)、入力エッジ割り込みを禁止する(ステップS11)。次のサンプリングタイミングt5でのサンプリング値SG=“H”を正しいものとしてバックアップし、バックアップ値BU←“H”とする。このエッジパルス検出では、バックアップ値BUをステータスSTにコピーするステップをスキップし、サンプリング期間途中でのエッジパルス検出に基づくデータ値は無効とする。ステータスSTは元の“L”が維持される。   Next, a rising edge pulse is detected from sample timing t4 to sample timing t5 (YES in step S1). The edge information flag Fe is cleared and the input edge interrupt is permitted (step S3). When the process proceeds to the input edge interrupt, the edge information flag Fe is set (Fe ← 1), and the input edge interrupt is prohibited (step S11). The sampling value SG = “H” at the next sampling timing t5 is backed up as correct, and the backup value BU ← “H” is set. In this edge pulse detection, the step of copying the backup value BU to the status ST is skipped, and the data value based on the edge pulse detection in the middle of the sampling period is invalidated. The original “L” is maintained as the status ST.

サンプルタイミングt5からサンプルタイミングt6にかけては、エッジパルス検出がない(ステップS1でNO)。バックアップ値BU=“H”をステータスSTにコピーする(ステップS2)。これで、ステータスST=“H”となる。このときのサンプリング値SGは“H”であり、そのサンプリング値SGをバックアップする(ステップS4)。これで、バックアップ値BU=サンプリング値SG=“H”となる。   There is no edge pulse detection from sample timing t5 to sample timing t6 (NO in step S1). The backup value BU = “H” is copied to the status ST (step S2). As a result, the status ST = “H”. The sampling value SG at this time is “H”, and the sampling value SG is backed up (step S4). Thus, the backup value BU = sampling value SG = “H”.

次にサンプルタイミングt6からサンプルタイミングt7にかけても、エッジパルス検出がないので、バックアップ値BU=“H”をステータスSTにコピーする(ステータスST=“H”)。さらに、“H”のサンプリング値SGをバックアップする(バックアップ値BU=“H”)。   Next, since no edge pulse is detected from sample timing t6 to sample timing t7, the backup value BU = "H" is copied to status ST (status ST = "H"). Further, the sampling value SG of “H” is backed up (backup value BU = “H”).

次にサンプルタイミングt7からサンプルタイミングt8にかけては、立ち下がりのエッジパルス検出がある(ステップS1でYES)。エッジ情報フラグFeをクリアし、入力エッジ割り込みを許可する(ステップS3)。入力エッジ割り込みに進むと、エッジ情報フラグFeをセットし(Fe←1)、入力エッジ割り込みを禁止する(ステップS11)。次のサンプリングタイミングt8でのサンプリング値SG=“L”を正しいものとしてバックアップし、バックアップ値BU←“L”とする。このエッジパルス検出では、バックアップ値BUをステータスSTにコピーするステップをスキップし、サンプリング期間途中でのエッジパルス検出に基づくデータ値は無効とする。ステータスSTは元の“H”が維持される。   Next, a falling edge pulse is detected from sample timing t7 to sample timing t8 (YES in step S1). The edge information flag Fe is cleared and the input edge interrupt is permitted (step S3). When the process proceeds to the input edge interrupt, the edge information flag Fe is set (Fe ← 1), and the input edge interrupt is prohibited (step S11). The sampling value SG = “L” at the next sampling timing t8 is backed up as correct, and the backup value BU ← “L” is set. In this edge pulse detection, the step of copying the backup value BU to the status ST is skipped, and the data value based on the edge pulse detection in the middle of the sampling period is invalidated. The original “H” is maintained as the status ST.

以上のように、入力信号の“L”/“H”の変化がフィルタ出力(ステータスST)に正しく反映されている。   As described above, the change of “L” / “H” of the input signal is correctly reflected in the filter output (status ST).

次に、入力信号にノイズ等に起因するエッジパルスが侵入した場合の動作を図4で説明する。   Next, the operation when an edge pulse caused by noise or the like enters the input signal will be described with reference to FIG.

サンプルタイミングt1からサンプルタイミングt2にかけて、エッジパルスPE1が検出される(ステップS1でYES)。エッジ情報フラグFeをクリアし、入力エッジ割り込みを許可する(ステップS3)。入力エッジ割り込みに進むと、エッジ情報フラグFeをセットし(Fe←1)、入力エッジ割り込みを禁止する(ステップS11)。次のサンプリングタイミングt2でのサンプリング値SG=“L”を正しいものとしてバックアップし、バックアップ値BU←“L”とする。このエッジパルス検出では、バックアップ値BUをステータスSTにコピーするステップをスキップし、サンプリング期間途中でのエッジパルス検出に基づくデータ値は無効とする。ステータスSTは元の“L”が維持される。   The edge pulse PE1 is detected from the sample timing t1 to the sample timing t2 (YES in step S1). The edge information flag Fe is cleared and the input edge interrupt is permitted (step S3). When the process proceeds to the input edge interrupt, the edge information flag Fe is set (Fe ← 1), and the input edge interrupt is prohibited (step S11). The sampling value SG = “L” at the next sampling timing t2 is backed up as correct, and the backup value BU ← “L” is set. In this edge pulse detection, the step of copying the backup value BU to the status ST is skipped, and the data value based on the edge pulse detection in the middle of the sampling period is invalidated. The original “L” is maintained as the status ST.

次にサンプルタイミングt2からサンプルタイミングt3にかけて、エッジパルスPE2が検出され、前述同様の入力エッジ割り込み処理を行い、次のサンプリングタイミングt3でのサンプリング値SG=“H”をバックアップし、バックアップ値BU←“H”とする。ステータスSTへのバックアップ値BUのコピーはスキップし、エッジパルス検出に基づくデータ値は無効とする。ステータスSTは元の“L”が維持される。   Next, from the sample timing t2 to the sample timing t3, the edge pulse PE2 is detected, the same input edge interrupt processing as described above is performed, the sampling value SG = "H" at the next sampling timing t3 is backed up, and the backup value BU ← Set to “H”. The copy of the backup value BU to the status ST is skipped, and the data value based on the edge pulse detection is invalid. The original “L” is maintained as the status ST.

次にサンプルタイミングt3からサンプルタイミングt4にかけて、エッジパルスPE3が検出され、前述同様の入力エッジ割り込み処理を行う。次のエッジパルスPE4は、割り込み禁止のため、検出の対象とはならない。次のサンプリングタイミングt4でのサンプリング値SG=“H”をバックアップし、バックアップ値BU←“H”とする。ステータスSTへのバックアップ値BUのコピーはスキップし、エッジパルス検出に基づくデータ値は無効とする。ステータスSTは元の“L”が維持される。   Next, the edge pulse PE3 is detected from the sample timing t3 to the sample timing t4, and the same input edge interrupt processing as described above is performed. The next edge pulse PE4 is not subject to detection because the interrupt is prohibited. The sampling value SG = “H” at the next sampling timing t4 is backed up, and the backup value BU ← “H” is set. The copy of the backup value BU to the status ST is skipped, and the data value based on the edge pulse detection is invalid. The original “L” is maintained as the status ST.

次にサンプルタイミングt4からサンプルタイミングt5にかけては、立ち上がりのエッジパルス検出がある。前述同様の入力エッジ割り込み処理を行う。次のサンプリングタイミングt5でのサンプリング値SG=“H”をバックアップし、バックアップ値BU←“H”とする。ステータスSTへのバックアップ値BUのコピーはスキップし、エッジパルス検出に基づくデータ値は無効とする。ステータスSTは元の“L”が維持される。   Next, there is a rising edge pulse detection from sample timing t4 to sample timing t5. Input edge interrupt processing similar to that described above is performed. The sampling value SG = “H” at the next sampling timing t5 is backed up, and the backup value BU ← “H” is set. The copy of the backup value BU to the status ST is skipped, and the data value based on the edge pulse detection is invalid. The original “L” is maintained as the status ST.

次にサンプルタイミングt5からサンプルタイミングt6にかけては、エッジパルス検出がないので、バックアップステータスSTは元の“L”が維持される。値BU=“H”をステータスSTにコピーする(ステータスST=“H”;ステータスSTの変化)。そして、サンプリング値SG=“H”をバックアップする(バックアップ値BU=“H”)。ここでの処理で、フィルタ出力(ステータスST)が“L”から“H”に反転する。   Next, since there is no edge pulse detection from the sample timing t5 to the sample timing t6, the original “L” is maintained as the backup status ST. The value BU = “H” is copied to the status ST (status ST = “H”; change in status ST). Then, the sampling value SG = “H” is backed up (backup value BU = “H”). In this process, the filter output (status ST) is inverted from “L” to “H”.

次にサンプルタイミングt6からサンプルタイミングt7にかけては、エッジパルスPE5が検出され、前述同様の入力エッジ割り込み処理を行い、次のサンプリングタイミングt7でのサンプリング値SG=“L”をバックアップし、バックアップ値BU←“L”とする。ステータスSTへのバックアップ値BUのコピーはスキップし、エッジパルス検出に基づくデータ値は無効とする。ステータスSTは元の“H”が維持される。   Next, from the sample timing t6 to the sample timing t7, the edge pulse PE5 is detected, the input edge interrupt process similar to the above is performed, the sampling value SG = “L” at the next sampling timing t7 is backed up, and the backup value BU ← Set to “L”. The copy of the backup value BU to the status ST is skipped, and the data value based on the edge pulse detection is invalid. The original “H” is maintained as the status ST.

次にサンプルタイミングt7からサンプルタイミングt8にかけて、エッジパルスPE6が検出され、前述同様の入力エッジ割り込み処理を行う。次のエッジパルスPE7は、割り込み禁止のため、検出の対象とはならない。次のサンプリングタイミングt8でのサンプリング値SG=“L”をバックアップし、バックアップ値BU←“L”とする。ステータスSTへのバックアップ値BUのコピーはスキップし、エッジパルス検出に基づくデータ値は無効とする。ステータスSTは元の“H”が維持される。   Next, the edge pulse PE6 is detected from the sample timing t7 to the sample timing t8, and the same input edge interrupt processing as described above is performed. The next edge pulse PE7 is not subject to detection because the interrupt is prohibited. The sampling value SG = “L” at the next sampling timing t8 is backed up, and the backup value BU ← “L” is set. The copy of the backup value BU to the status ST is skipped, and the data value based on the edge pulse detection is invalid. The original “H” is maintained as the status ST.

以上のように、入力信号の“L”/“H”の変化がフィルタ出力(ステータスST)に正しく反映されている。   As described above, the change of “L” / “H” of the input signal is correctly reflected in the filter output (status ST).

入力信号は、サンプルタイミングt1からサンプルタイミングt5の直前までは本来は“L”である。ただし、エッジパルスPE1〜PE4が侵入している。フィルタ出力(ステータスST)は、サンプルタイミングt1からサンプルタイミングt6まで“L”を維持し、入力信号に侵入したエッジパルスPE1〜PE4はネグレクトされている。すなわち、エッジパルスに起因する誤動作は防止されている。サンプルタイミングt5からサンプルタイミングt9にかけての本来“H”の入力信号についても、それに対応するフィルタ出力(ステータス)はサンプルタイミングt6以降“H”を維持し、入力信号に侵入したエッジパルスPE5〜PE7はネグレクトされている。すなわち、エッジパルスに起因する誤動作は防止されている。   The input signal is originally “L” from the sample timing t1 to immediately before the sample timing t5. However, edge pulses PE1 to PE4 have entered. The filter output (status ST) maintains “L” from the sample timing t1 to the sample timing t6, and the edge pulses PE1 to PE4 that have entered the input signal are neglected. That is, malfunction caused by the edge pulse is prevented. Also for the original “H” input signal from the sample timing t5 to the sample timing t9, the corresponding filter output (status) maintains “H” after the sample timing t6, and the edge pulses PE5 to PE7 that have entered the input signal are It has been neglected. That is, malfunction caused by the edge pulse is prevented.

本発明の入力信号フィルタ処理方法は、特にプログラマブルコントローラの入力モジュールにおいて、サンプリング周期に同期したノイズが印加された場合でも誤動作を発生させず、入力信号を安定かつ早期に確定するフィルタ処理技術等として有用である。   The input signal filter processing method of the present invention is a filter processing technique for stably and quickly determining an input signal without causing a malfunction even when noise synchronized with a sampling period is applied, particularly in an input module of a programmable controller. Useful.

本発明の実施の形態における入力信号フィルタ処理方法を実施するハードウェア構成を示す概略構成図1 is a schematic configuration diagram showing a hardware configuration for implementing an input signal filtering method according to an embodiment of the present invention. 本発明の実施の形態における入力信号フィルタ処理方法の処理の手順を示すフローチャートThe flowchart which shows the procedure of the process of the input signal filter processing method in embodiment of this invention 本発明の実施の形態における入力信号フィルタ処理方法において、入力信号にノイズ等に起因するエッジパルスが侵入しない場合の動作を示すタイミングチャートIn the input signal filter processing method according to the embodiment of the present invention, a timing chart showing an operation when an edge pulse caused by noise or the like does not enter the input signal 本発明の実施の形態における入力信号フィルタ処理方法において、入力信号にノイズ等に起因するエッジパルスが侵入した場合の動作を示すタイミングチャートIn the input signal filter processing method according to the embodiment of the present invention, a timing chart showing an operation when an edge pulse due to noise or the like enters an input signal 従来技術におけるプログラマブルコントローラの入力モジュールの概略構成図Schematic configuration diagram of an input module of a programmable controller in the prior art 従来技術における入力信号フィルタ処理方法の処理の手順を示すフローチャートThe flowchart which shows the procedure of the process of the input signal filter processing method in a prior art 従来の技術における入力信号フィルタ処理方法において、入力信号にノイズ等に起因するエッジパルスが侵入しない場合の動作を示すタイミングチャートTiming chart showing the operation when the edge pulse due to noise or the like does not enter the input signal in the conventional input signal filtering method 従来の技術における入力信号フィルタ処理方法において、入力信号にノイズ等に起因するエッジパルスが侵入した場合の動作を示すタイミングチャートTiming chart showing the operation when an edge pulse due to noise or the like enters the input signal in the conventional input signal filtering method

符号の説明Explanation of symbols

10 サンプリング回路1
20 バックアップ値メモリ
30 演算処理部
PE1〜PE7 エッジパルス
10 Sampling circuit 1
20 Backup value memory 30 Processing unit PE1 to PE7 Edge pulse

Claims (2)

所定のサンプリング周期で入力信号のサンプリングを行う入力信号フィルタ処理方法であって、
サンプリング期間途中でエッジパルスを検出するステップと、
エッジパルスが検出されないときは、そのときのバックアップ値をステータスにコピーした上で、次のサンプリング値をバックアップ値として保持すルーチンと、
エッジパルスが検出されたときは、バックアップ値のステータスへのコピーをスキップした上で、次のサンプリング値をバックアップ値として保持すルーチンとを備えた入力信号フィルタ処理方法。
An input signal filter processing method for sampling an input signal at a predetermined sampling period,
Detecting an edge pulse during the sampling period;
When an edge pulse is not detected, a routine for copying the backup value at that time to the status and holding the next sampling value as a backup value;
And a routine for holding the next sampling value as a backup value after skipping copying of the backup value to the status when an edge pulse is detected.
前記エッジパルスが検出されたときのルーチンは、エッジ情報フラグをクリアし、入力エッジ割り込みを許可し、入力エッジ割り込み処理においてエッジ情報フラグをセットし、次いで入力エッジ割り込みを禁止する請求項1に記載の入力信号フィルタ処理方法。   The routine when the edge pulse is detected clears an edge information flag, enables an input edge interrupt, sets an edge information flag in an input edge interrupt process, and then disables an input edge interrupt. Input signal filtering method.
JP2008082968A 2008-03-27 2008-03-27 Input signal filter processing method Pending JP2009237882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008082968A JP2009237882A (en) 2008-03-27 2008-03-27 Input signal filter processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008082968A JP2009237882A (en) 2008-03-27 2008-03-27 Input signal filter processing method

Publications (1)

Publication Number Publication Date
JP2009237882A true JP2009237882A (en) 2009-10-15

Family

ID=41251755

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008082968A Pending JP2009237882A (en) 2008-03-27 2008-03-27 Input signal filter processing method

Country Status (1)

Country Link
JP (1) JP2009237882A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112361534A (en) * 2020-10-26 2021-02-12 海信(山东)空调有限公司 Key sampling and filtering method and air conditioner

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000286685A (en) * 1999-03-30 2000-10-13 Fuji Electric Co Ltd Digital filter

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000286685A (en) * 1999-03-30 2000-10-13 Fuji Electric Co Ltd Digital filter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112361534A (en) * 2020-10-26 2021-02-12 海信(山东)空调有限公司 Key sampling and filtering method and air conditioner

Similar Documents

Publication Publication Date Title
WO2017181479A1 (en) Control method and terminal, and computer storage medium
JP2002251227A (en) Clock monitoring circuit, data processor and data processing system
US10929321B2 (en) Communication apparatus, communication method, program, and communication system with avoidance of false detection of signal level changes
JP2009237882A (en) Input signal filter processing method
JP6516933B2 (en) Display control apparatus and display control method
TW201837709A (en) Monitoring circuit
JP6813513B2 (en) Methods and devices for protecting the program counter structure of the processor system and methods and devices for monitoring the processing of interruption requests.
JP2019158600A (en) Determination device, multi-axis photoelectric sensor, method of controlling determination device, information processing program, and recording medium
US9304531B2 (en) Dynamically scaling voltage/frequency
JP2010117746A (en) Measurement system
JP4859650B2 (en) Analysis method and analysis apparatus
US20200279592A1 (en) Data acquisition method and data acquisition apparatus
JP4842036B2 (en) Semiconductor device and abnormality detection method of timing control circuit
JP2006215706A (en) Microcomputer and wake-up detection method
JP2017199180A (en) Image processing device
JP5778477B2 (en) OBE reset circuit
JP2006277558A (en) Apparatus and method for detecting signal change
JP4518855B2 (en) CPU peripheral device clock generation circuit and CPU peripheral device clock generation method
JP2009093393A (en) Data processing device, and self-diagnosis method for data processing device
JP5476105B2 (en) Signal processing system and signal source unit and signal processing unit used therefor
JP2006099654A (en) Semiconductor circuit apparatus
JP2010043973A (en) Semiconductor testing device
JP2006318237A (en) Control device for event driving
JP5751975B2 (en) Control device
JP2005049312A (en) Clocking device

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20110121

Free format text: JAPANESE INTERMEDIATE CODE: A621

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120313

A977 Report on retrieval

Effective date: 20120314

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A02 Decision of refusal

Effective date: 20120703

Free format text: JAPANESE INTERMEDIATE CODE: A02