JP2001282325A - Programmable controller and control system using the same - Google Patents

Programmable controller and control system using the same

Info

Publication number
JP2001282325A
JP2001282325A JP2000097831A JP2000097831A JP2001282325A JP 2001282325 A JP2001282325 A JP 2001282325A JP 2000097831 A JP2000097831 A JP 2000097831A JP 2000097831 A JP2000097831 A JP 2000097831A JP 2001282325 A JP2001282325 A JP 2001282325A
Authority
JP
Japan
Prior art keywords
input data
programmable controller
data
abnormal
normal
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
JP2000097831A
Other languages
Japanese (ja)
Inventor
Tomohiro Kojima
智浩 小島
Katsutoshi Ito
勝敏 伊藤
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2000097831A priority Critical patent/JP2001282325A/en
Publication of JP2001282325A publication Critical patent/JP2001282325A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a programmable controller technique capable of outputting normal data even against a cyclic noise. SOLUTION: The abnormality of input data in a sampling cycle is judged based on the number of times of change or changing state of the input data, and the abnormal data are removed so that output data corresponding to normal input data can be obtained.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はデジタルフィルタ等
フィルタ処理部から正常な出力が得られるようにしたプ
ログラマブルコントローラ技術に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a programmable controller technique for obtaining a normal output from a filter processing unit such as a digital filter.

【0002】[0002]

【従来の技術】図1、図2、及び図3を用いて従来技術
につき説明する。従来、入力部より取り込まれた入力デ
ータを、一定の間隔でサンプリングし、演算部でフィル
タ処理してから内部データとして出力する。図1は、一
定周期Tでサンプリングを行い、入力データが2回以上
「1」ならば出力される内部データを「1」とし、入力
データ1が2回以上「0」ならば内部データを「0」と
し、それ以外のときは直前の処理結果を保持する場合の
例である。初期状態で内部データが「1」であった場
合、2回目のサンプリングまでは入力データが「1」と
なっているため内部データ3は「1」となる。3回目の
サンプリングでは入力データ1が「0」となるが、2回
目のサンプリングまでの演算結果が「1」であるため直
前の結果を保持し、内部データは「1」となる。4回目
のサンプリングで入力データが「0」となり、以降は入
力データの「0」が連続するため内部データは「0」と
なる。この時、図2に示すように、入力データが、サン
プリング周期Tに同期して変化すると、図2においては
「0」条件が成立しているために内部データは「0」と
なってしまう。つまり、入力データがサンプリング周波
数に同期して「0」「1」「0」を繰り返した場合、
「0」を連続して読み出す場合と、「1」を連続して読
み出す場合が考えられる。本図2の場合は、2回のサン
プリングで連続して入力値が同じ値ならその値を内部デ
ータに反映する場合であり、サンプリング周波数に同期
して「0」を連続して読み出した場合、内部データは
「0」になる。また、図3は同様に、「1」条件が成立
する例である。
2. Description of the Related Art The prior art will be described with reference to FIGS. 1, 2 and 3. FIG. 2. Description of the Related Art Conventionally, input data taken from an input unit is sampled at regular intervals, filtered by an arithmetic unit, and output as internal data. In FIG. 1, sampling is performed at a fixed period T, and if the input data is "1" twice or more, the output internal data is set to "1". If the input data 1 is "0" twice or more, the internal data is set to "1". This is an example of a case where “0” is set, and otherwise, the immediately preceding processing result is held. If the internal data is “1” in the initial state, the input data is “1” until the second sampling, so that the internal data 3 is “1”. In the third sampling, the input data 1 becomes “0”, but since the calculation result up to the second sampling is “1”, the immediately preceding result is held and the internal data becomes “1”. In the fourth sampling, the input data becomes “0”, and thereafter, since the input data “0” continues, the internal data becomes “0”. At this time, as shown in FIG. 2, when the input data changes in synchronization with the sampling period T, the internal data becomes “0” in FIG. 2 because the “0” condition is satisfied. That is, when the input data repeats “0”, “1”, and “0” in synchronization with the sampling frequency,
A case where “0” is read continuously and a case where “1” is read continuously can be considered. In the case of FIG. 2, if the input value is the same value continuously in two samplings, the value is reflected in the internal data. If “0” is continuously read out in synchronization with the sampling frequency, The internal data becomes "0". FIG. 3 is also an example in which the “1” condition is satisfied.

【0003】[0003]

【発明が解決しようとする課題】例えば、上記のように
従来技術においては、入力データが正常な変化をしてい
るのか、異常な変化をしているのか、それとも周期的な
ノイズにより誤った内部データが出力されているのか、
等を判断できず、該内部データを用いて制御する機器・
装置等を誤動作させる原因となっていた。本発明の目的
は、上記従来技術の欠点を改善し、特に、周期的ノイズ
がある場合でも正常なデータを出力できるプログラマブ
ルコントローラ技術を提供することにある。
For example, as described above, in the prior art, whether the input data is changing normally or abnormally, or an erroneous internal signal due to periodic noise is detected. Whether data is being output,
Etc. that cannot be determined and control using the internal data
This has caused a device to malfunction. SUMMARY OF THE INVENTION It is an object of the present invention to improve the above-mentioned drawbacks of the prior art, and in particular, to provide a programmable controller technology capable of outputting normal data even when there is periodic noise.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するため
に本発明では、 1)サンプリングされた入力データをフィルタ処理して
出力するプログラマブルコントローラを、サンプリング
周期以下の時間における入力データの変化の回数または
該変化の状態のいずれか一方または両方に基づき入力デ
ータの異常を判別し、該異常な入力データは除去して正
常な入力データに対応するデータを出力する構成とす
る。 2)サンプリングされた入力データをフィルタ処理して
出力するプログラマブルコントローラを、上記入力デー
タのサンプリング周期内での変化の回数をカウントし該
回数に対応した対応情報を出力するカウンタと、該カウ
ンタの該対応情報に基づき上記入力データの変化の異常
を判別する判別部と、該判別部で異常と判別した入力デ
ータを除去し正常な入力データに対応した内部データを
出力するフィルタ処理部と、を備え、上記異常な入力デ
ータによる内部データは出力しないようにした構成とす
る。 3)サンプリングされた入力データをフィルタ処理して
出力するプログラマブルコントローラを、上記入力デー
タのサンプリング周期内の変化回数をカウントし該回数
が複数の場合に異常フラグを出力するカウンタと、ユー
ザにより指定される基準で該異常フラグの有効か無効か
を判別する判別部と、上記判別部が上記異常フラグを有
効と判別したときはその入力データを除去し、該異常フ
ラグが無効と判別したときの入力データ、または上記変
化回数が1回もしくは0回のときの入力データに対応す
る内部データを出力するフィルタ処理部と、を備え、上
記正常範囲の入力データにつきフィルタ処理し誤判定を
なくすようにした構成とする。 4)上記2)、3)のカウンタを、マイコン内に設けた
割り込みプログラムで構成する。 5)上記1)から4)のプログラマブルコントローラ
と、該プログラマブルコントローラの出力信号が入力さ
れる機器・装置とを結合させてプログラマブルコントロ
ールシステムを構成する。
In order to achieve the above object, the present invention provides: 1) a programmable controller for filtering and outputting sampled input data, the number of times the input data changes during a time equal to or shorter than a sampling period; Alternatively, an abnormality in the input data is determined based on one or both of the states of the change, and the abnormal input data is removed to output data corresponding to the normal input data. 2) a programmable controller that filters and outputs the sampled input data; a counter that counts the number of changes in the sampling period of the input data and outputs corresponding information corresponding to the number; A determination unit that determines an abnormality in the change of the input data based on the correspondence information; and a filter processing unit that removes the input data determined to be abnormal by the determination unit and outputs internal data corresponding to the normal input data. The internal data based on the abnormal input data is not output. 3) a programmable controller that filters and outputs the sampled input data, a counter that counts the number of changes in the sampling period of the input data and outputs an abnormality flag when the number is plural, A discriminator for discriminating whether the abnormal flag is valid or invalid on the basis of the following criteria: when the discriminator determines that the abnormal flag is valid, the input data is removed and an input when the abnormal flag is determined to be invalid A filter processing unit for outputting data or internal data corresponding to the input data when the number of changes is one or zero, and filtering the input data in the normal range to eliminate erroneous determination. Configuration. 4) The counters of 2) and 3) are configured by an interrupt program provided in the microcomputer. 5) The programmable controller according to 1) to 4) above is combined with a device / apparatus to which an output signal of the programmable controller is input to form a programmable control system.

【0005】[0005]

【発明の実施の形態】本発明のプログラマブルコントロ
ーラは、基本的には、上記のように、サンプリングされ
た入力データをフィルタ処理して出力するプログラマブ
ルコントローラであって、サンプリング周期以下の時間
における入力データの変化回数、変化状態のいずれか一
方または両方に基づいて入力データの異常か否かを判別
し、該異常な入力データは除去し、正常な入力データに
対応するデータを出力するようにした構成である。以
下、実施形態の説明は、上記2)及び3)記載の概念で
行う。つまり、入力データのサンプリング周期内の変化
の回数や状態を検知(カウント)し、これに対応した対
応情報を出力するカウンタ、例えば変化回数が複数の場
合に異常フラグを出力するカウンタと、ユーザ等が該カ
ウンタからの該異常フラグ等の対応情報に基づき上記入
力データの変化の異常か否かを、ソフトウェア等により
任意の設定基準(ユーザが設定する基準)で判別する判
別手段と、該判別手段で異常と判別した入力データは除
去して正常な入力データに対応した内部データを出力す
るフィルタ処理部と、を備えた構成とする。例えば、判
別手段で上記異常フラグを有効と判別したときはその入
力データを除去して、該異常フラグが無効とされる場合
の入力データ、または上記変化回数が1回もしくは0回
(変化なし)のときの入力データに対応した内部データ
をフィルタ処理部から出力する。つまり、ユーザが設定
した基準に対し正常範囲にある入力データについてフィ
ルタ処理することで正常な内部データを得、誤判定をな
くすようにした構成とする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A programmable controller according to the present invention is basically a programmable controller that filters and outputs sampled input data, as described above. The number of changes, the state of the change, and / or the state of the input data is determined to be abnormal, the abnormal input data is removed, and the data corresponding to the normal input data is output. It is. Hereinafter, the embodiments will be described based on the concepts described in the above 2) and 3). That is, a counter that detects (counts) the number of times and status of changes in the sampling cycle of input data and outputs corresponding information corresponding to the number, for example, a counter that outputs an abnormality flag when the number of changes is plural, a user, etc. Determining whether or not the input data change is abnormal based on corresponding information such as the abnormal flag from the counter by software or the like by an arbitrary setting criterion (criterion set by a user); And a filter processing unit that removes input data determined to be abnormal and outputs internal data corresponding to normal input data. For example, when the determination unit determines that the abnormal flag is valid, the input data is removed and the input data when the abnormal flag is invalid, or the number of changes is one or zero (no change) The internal data corresponding to the input data at the time of is output from the filter processing unit. That is, a configuration is adopted in which normal internal data is obtained by filtering input data that is within a normal range with respect to a reference set by the user, and erroneous determination is eliminated.

【0006】図4はサンプリング期間内の入力データの
変化例を示す。図4に示すように、正常な入力データの
サンプリング期間内での変化回数は一般には1回であ
る。本発明では、該サンプリング期間内で入力データが
2回以上変化した場合は該変化をノイズ的変化と判断
し、該判断結果に基づき該入力データをフィルタ処理す
ることで正常な内部データを得るようにし誤判定を回避
する。
FIG. 4 shows an example of a change in input data during a sampling period. As shown in FIG. 4, the number of changes of normal input data within the sampling period is generally one. In the present invention, when the input data changes two or more times within the sampling period, the change is determined to be a noise-like change, and normal internal data is obtained by filtering the input data based on the determination result. To avoid erroneous determination.

【0007】図5は本発明の一実施例を示す。1は入力
データ、2は演算部(デジタルフィルタ処理部)、3は
内部データ、4は入力部、6はカウンタ、9はメモリ、
10はフィルタ定数設定回路である。入力部4から演算
部2に入力データ1を入力し、順次メモリ9に記憶して
行く。該フィルタ定数設定回路10ではユーザによって
必要とされるフィルタ時間を設定し、演算部2にてフィ
ルタ処理を行う。該フィルタ処理としては、ユーザによ
り設定されたフィルタ時間にわたり、入力データとして
「1」が連続すれば内部データとしては「1」を出力
し、「0」が連続すれば内部データとしては「0」を出
力し、それ以外の場合は、前の演算結果を保持するよう
に処理する。また、該入力データ1をカウンタ6にも入
力して入力データの変化(変化の数や、変化の状態等)
をメモリに記憶し、かつ、サンプリング直後に一度その
記憶内容をクリアし、次のサンプリングの直前にその記
憶内容を読み出す。このとき、カウント結果が「0」で
あれば入力データ1にはサンプリング期間中に変化がな
かったことになり、カウント結果が「1」であれば入力
データ1は、「0」から「1」へ変化、または「1」か
ら「0」へ変化していることとなり、正常な変化をして
いると判定される。カウント結果が「2以上」であれ
ば、入力データ1はサンプリング期間に、「0」「1」
「0」、または「1」「0」「1」と2回変化している
ことになり、ノイズ等による異常な変化をしていると判
定される。カウンタ6は、このカウント結果を異常フラ
グ5として演算部2に出力する。該演算部2では、該異
常フラグ5の出力状態を監視することにより、入力デー
タの変化が正常か異常かを判別する。
FIG. 5 shows an embodiment of the present invention. 1 is input data, 2 is an operation unit (digital filter processing unit), 3 is internal data, 4 is an input unit, 6 is a counter, 9 is a memory,
Reference numeral 10 denotes a filter constant setting circuit. The input data 1 is input from the input unit 4 to the calculation unit 2, and is sequentially stored in the memory 9. The filter constant setting circuit 10 sets a filter time required by the user, and performs a filtering process in the arithmetic unit 2. As the filter processing, over the filter time set by the user, “1” is output as internal data when “1” is continuous as input data, and “0” is output as internal data when “0” is continuous. Is output, otherwise, processing is performed to retain the previous operation result. The input data 1 is also input to the counter 6 to change the input data (the number of changes, the state of the change, etc.).
Is stored in a memory, and the stored content is cleared once immediately after sampling, and the stored content is read immediately before the next sampling. At this time, if the count result is “0”, it means that the input data 1 has not changed during the sampling period. If the count result is “1”, the input data 1 changes from “0” to “1”. Or a change from “1” to “0”, and it is determined that the change is normal. If the count result is “2 or more”, the input data 1 is “0” or “1” during the sampling period.
This means that the value has changed twice, that is, “0”, “1”, “0”, and “1”, and it is determined that an abnormal change due to noise or the like has occurred. The counter 6 outputs the count result to the arithmetic unit 2 as the abnormal flag 5. The operation unit 2 determines whether the change of the input data is normal or abnormal by monitoring the output state of the abnormality flag 5.

【0008】図5において、さらに、ユーザ側の設定基
準情報として異常フラグ有効/無効設定情報7を設け、
異常フラグ5が有効か無効かをユーザ側の任意の設定基
準で判定できるようにする。本構成において、異常フラ
グ5がONしている場合つまり異常フラグがある場合で
あって、しかも該異常フラグ5が有効な場合、すなわち
ユーザ側の設定基準で入力データの変化が異常と判定さ
れる場合は、その時の入力データ1を除去することでノ
イズ的な変化の影響を排除し、演算部2からは正常な内
部データ3を出力する。一方、異常フラグ5がOFFし
ている場合つまり異常フラグがない場合には、その時の
入力データ1をそのままフィルタ処理して内部データ3
を出力する。かかる構成によれば、ユーザ側で状況に応
じた任意の設定基準で入力データの異常範囲を決めるこ
とができ、これに接続される機器・装置へもこれに対応
して正常な内部データを出力できる。
In FIG. 5, an abnormality flag valid / invalid setting information 7 is provided as setting reference information on the user side.
Whether the abnormality flag 5 is valid or invalid can be determined based on an arbitrary setting criterion on the user side. In this configuration, when the abnormality flag 5 is ON, that is, when there is an abnormality flag, and when the abnormality flag 5 is valid, that is, when the change of the input data is determined to be abnormal based on the setting criteria on the user side. In this case, the input data 1 at that time is removed to eliminate the influence of the noise-like change, and the normal internal data 3 is output from the arithmetic unit 2. On the other hand, when the abnormality flag 5 is OFF, that is, when there is no abnormality flag, the input data 1 at that time is filtered as it is and the internal data 3
Is output. According to this configuration, the user can determine the abnormal range of the input data based on an arbitrary setting criterion according to the situation, and output the normal internal data correspondingly to the device / apparatus connected thereto. it can.

【0009】図6は、入力データの変化のカウント処理
をマイコン8の割り込みで行うようにした場合の構成例
である。入力部4からの入力データ1をマイコン8の入
力ボードに接続し、一定のサンプリング時間の間隔で入
力データ1を読み取って順次メモリ9に記憶して行く。
読み取られたデータは、マイコン8内のシステムソフト
によってフィルタ処理され、内部データ3として出力さ
れる。一方、この入力データ1をマイコンの割り込みに
も入力する。マイコン内部にはソフト的構成のカウンタ
を設けてあり、割り込み入力の変化により割り込みプロ
グラムを起動してカウントを行うようになっている。こ
のとき、本実施例の場合も、サンプリング直後に一度そ
の記憶内容をクリアしておき、次のサンプリングの直前
にその記憶内容を読み出すようにすれば、このカウンタ
のカウント値によって入力データのサンプリング期間中
の変化を検知でき、次の入力データの読み込みの直前に
おいて入力データの異常か否かを判別できることにな
る。この結果、正常な内部データ3が安定して得られ、
接続された機器・装置への誤入力を確実に防止して、該
機器・装置の誤動作をなくすことができる。
FIG. 6 shows an example of a configuration in which the change processing of the input data is performed by interruption of the microcomputer 8. The input data 1 from the input unit 4 is connected to the input board of the microcomputer 8, and the input data 1 is read at regular sampling time intervals and stored in the memory 9 sequentially.
The read data is filtered by system software in the microcomputer 8 and output as internal data 3. On the other hand, this input data 1 is also input to the interrupt of the microcomputer. A counter having a software configuration is provided in the microcomputer, and the counting is performed by activating an interrupt program according to a change in the interrupt input. At this time, also in the case of this embodiment, if the stored content is cleared once immediately after sampling and the stored content is read immediately before the next sampling, the sampling period of the input data is determined by the count value of this counter. It is possible to detect a change in the input data and determine whether or not the input data is abnormal immediately before reading the next input data. As a result, normal internal data 3 is stably obtained,
It is possible to reliably prevent erroneous input to the connected device / equipment, and eliminate malfunction of the device / equipment.

【0010】上記実施例では、入力データのサンプリン
グ期間中の変化数が複数の場合に、異常フラグの状態か
ら該変化の異常か否かを判別する構成としたが、本発明
の範囲はこれには限定されず、例えば、異常フラグには
よらずに入力データの変化波形等から変化状態を検知
し、この結果から該変化が異常か否かを判別するように
してもよい。また、該変化数と変化状態の両方に基づい
て該入力データの正常、異常を判別する構成であっても
よいし、さらには、単にサンプリング期間中の入力デー
タの変化数で該正常、異常を判別する構成であってもよ
い。また、表示部を設け、ここに、ユーザの設定基準情
報、入力データの変化関連情報、内部データ出力情報等
プログラマブルコントローラ動作関連情報の一部または
全部を表示するようにした構成も本発明の範囲内であ
り、かかる構成とした場合には、ユーザが、使用状態ま
たは予め使用に先立った状態で正常か否かの確認及び異
常の発見をできるため、改善対応もし易い等、プログラ
マブルコントローラ及び接続される機器・装置を含め、
使い勝手性を向上できる。
In the above embodiment, when the number of changes in the input data during the sampling period is plural, it is determined whether or not the change is abnormal based on the state of the abnormal flag. However, the scope of the present invention is not limited to this. For example, the change state may be detected from a change waveform or the like of the input data without depending on the abnormality flag, and whether or not the change is abnormal may be determined based on the result. Further, it may be configured to determine whether the input data is normal or abnormal based on both the change number and the change state. Further, the normal or abnormal state may be determined simply by the change number of the input data during the sampling period. A configuration for determining may be used. The present invention is also applicable to a configuration in which a display unit is provided to display a part or all of programmable controller operation related information such as user setting reference information, input data change related information, and internal data output information. In such a configuration, the user can confirm whether or not the device is normal in a use state or a state prior to use and find an abnormality. Equipment and devices,
Usability can be improved.

【0011】[0011]

【発明の効果】本発明によれば、入力データの変化内容
の正常・異常を正確に判断して信頼性の高い正常な内部
データを出力することができ、接続される機器・装置の
誤動作も確実に防止できる。
According to the present invention, it is possible to accurately determine whether the contents of change in input data are normal or abnormal, to output highly reliable normal internal data, and to prevent malfunctions of connected equipment and devices. It can be reliably prevented.

【図面の簡単な説明】[Brief description of the drawings]

【図1】従来のフィルタ技術の説明図である。FIG. 1 is an explanatory diagram of a conventional filter technology.

【図2】従来のフィルタ技術の説明図である。FIG. 2 is an explanatory diagram of a conventional filter technology.

【図3】従来のフィルタ技術の説明図である。FIG. 3 is an explanatory diagram of a conventional filter technology.

【図4】サンプリング期間内の入力データの変化状況の
説明図である。
FIG. 4 is an explanatory diagram of a change state of input data during a sampling period.

【図5】本発明の実施例を示す図である。FIG. 5 is a diagram showing an embodiment of the present invention.

【図6】本発明の実施例を示す図である。FIG. 6 is a diagram showing an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1…入力データ、 2…演算部、 3…内部データ、 4…入力部、 5…異常フラグ、 6…カウンタ、 7…異常フラグ有効/無効設定情報、 8…マイコン、 9…メモリ、 10…フィルタ定数設定回路。 DESCRIPTION OF SYMBOLS 1 ... Input data, 2 ... Operation part, 3 ... Internal data, 4 ... Input part, 5 ... Abnormal flag, 6 ... Counter, 7 ... Abnormal flag valid / invalid setting information, 8 ... Microcomputer, 9 ... Memory, 10 ... Filter Constant setting circuit.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】サンプリングされた入力データをフィルタ
処理して出力するプログラマブルコントローラであっ
て、 サンプリング周期内における入力データの変化の回数ま
たは該変化の状態のいずれか一方または両方に基づいて
入力データの異常を判別し、該異常な入力データは除去
し正常な入力データに対応するデータを出力するように
構成したことを特徴とするプログラマブルコントロー
ラ。
1. A programmable controller for filtering and outputting sampled input data, wherein the programmable controller outputs the input data based on one or both of the number of times the input data changes within a sampling cycle and / or the state of the change. A programmable controller configured to determine an abnormality, remove the abnormal input data, and output data corresponding to the normal input data.
【請求項2】サンプリングされた入力データをフィルタ
処理して出力するプログラマブルコントローラであっ
て、 上記入力データのサンプリング周期内の変化回数をカウ
ントし該回数に対応した対応情報を出力するカウンタ
と、 該カウンタの該対応情報に基づき上記入力データの変化
の異常か否かを判別する判別部と、 該判別部で異常と判別した入力データは除去し正常な入
力データに対応した内部データを出力するフィルタ処理
部と、 を備え、 上記異常な入力データによっては内部データを出力せ
ず、上記正常な入力データによる内部データを出力する
ようにしたことを特徴とするプログラマブルコントロー
ラ。
2. A programmable controller for filtering and outputting sampled input data, wherein the counter counts the number of changes in the sampling period of the input data and outputs correspondence information corresponding to the number of times. A discriminator for discriminating whether or not the change of the input data is abnormal based on the corresponding information of the counter; and a filter for removing the input data discriminated as abnormal by the discriminator and outputting internal data corresponding to the normal input data A programmable controller, comprising: a processing unit; and outputting internal data based on the normal input data without outputting internal data depending on the abnormal input data.
【請求項3】サンプリングされた入力データをフィルタ
処理して出力するプログラマブルコントローラであっ
て、 上記入力データのサンプリング周期内の変化回数をカウ
ントし該回数が複数の場合に異常フラグを出力するカウ
ンタと、 ユーザにより設定される基準で該異常フラグの有効か無
効かを判別する判別部と、 上記判別部が上記異常フラグを有効と判別したときはそ
の入力データを除去し、該異常フラグが無効と判別した
ときの入力データ、または上記変化回数が1回もしくは
0回のときの入力データに対応する内部データを出力す
るフィルタ処理部と、 を備え、 上記正常範囲の入力データにつきフィルタ処理し内部デ
ータを出力するようにしたことを特徴とするプログラマ
ブルコントローラ。
3. A programmable controller for filtering and outputting sampled input data, wherein the counter counts the number of changes in the sampling period of the input data and outputs an abnormality flag when the number is plural. A determination unit that determines whether the abnormality flag is valid or invalid based on a criterion set by a user; and when the determination unit determines that the abnormality flag is valid, removes the input data and determines that the abnormality flag is invalid. And a filter processing unit for outputting internal data corresponding to the input data at the time of discrimination or the input data when the number of changes is 1 or 0, and performing a filtering process on the input data in the normal range. A programmable controller characterized in that the controller outputs a value.
【請求項4】上記カウンタは、マイコン内の割り込みプ
ログラムで構成される請求項2または請求項3に記載の
プログラマブルコントローラ。
4. The programmable controller according to claim 2, wherein said counter comprises an interrupt program in a microcomputer.
【請求項5】請求項1から4のいずれかに記載のプログ
ラマブルコントローラと、該プログラマブルコントロー
ラの出力信号が入力される機器・装置とを備えて成るプ
ログラマブルコントロールシステム。
5. A programmable control system comprising: the programmable controller according to claim 1; and a device to which an output signal of the programmable controller is input.
JP2000097831A 2000-03-30 2000-03-30 Programmable controller and control system using the same Pending JP2001282325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000097831A JP2001282325A (en) 2000-03-30 2000-03-30 Programmable controller and control system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000097831A JP2001282325A (en) 2000-03-30 2000-03-30 Programmable controller and control system using the same

Publications (1)

Publication Number Publication Date
JP2001282325A true JP2001282325A (en) 2001-10-12

Family

ID=18612403

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000097831A Pending JP2001282325A (en) 2000-03-30 2000-03-30 Programmable controller and control system using the same

Country Status (1)

Country Link
JP (1) JP2001282325A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007064819A (en) * 2005-08-31 2007-03-15 Ho Jinyama Signal inspection method and signal inspection module
JP2011020470A (en) * 2009-07-13 2011-02-03 Toyota Motor Corp Control target arithmetic device
CN110794758A (en) * 2018-08-03 2020-02-14 发那科株式会社 Tracking device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007064819A (en) * 2005-08-31 2007-03-15 Ho Jinyama Signal inspection method and signal inspection module
JP2011020470A (en) * 2009-07-13 2011-02-03 Toyota Motor Corp Control target arithmetic device
CN102472999A (en) * 2009-07-13 2012-05-23 丰田自动车株式会社 Control target processing system
CN102472999B (en) * 2009-07-13 2014-02-26 丰田自动车株式会社 Control target processing system
CN110794758A (en) * 2018-08-03 2020-02-14 发那科株式会社 Tracking device
CN110794758B (en) * 2018-08-03 2023-06-02 发那科株式会社 Tracking device

Similar Documents

Publication Publication Date Title
US5436853A (en) Remote control signal processing circuit for a microcomputer
JPH07311647A (en) Position detection device and its noise removing method
CN100578336C (en) Imaging apparatus, method for controlling same
JP2001282325A (en) Programmable controller and control system using the same
CN102792167A (en) Speed detection device
JPH10339748A (en) Period-measuring circuit
JPH0823326A (en) Clock fault detection circuit
JP3090069B2 (en) Control device
JP2006333148A (en) Touch sensor circuit
JP4112874B2 (en) Connector attachment / detachment detection method and interface device
JPH04283840A (en) Diagnostic method for information processor
JP2540779B2 (en) State change detector
JP2003148997A (en) Information processing and controlling device for enhancing noise resistance and noise margin detection means therefor
JP2006215706A (en) Microcomputer and wake-up detection method
JPH09114541A (en) Interruption generation time confirming circuit and processor
JP2002100547A (en) Device and method for analyzing signal data of semiconductor-manufacturing device
KR100433985B1 (en) Apparatus for removing noise component for micom
KR20230106017A (en) Apparatus and method for separating composite signal
JPH03214332A (en) Watch dog timer
JP3406418B2 (en) Power failure interrupt signal detection circuit
KR100433987B1 (en) Inputting apparatus for micom
JPS63296408A (en) Signal processing system
JPS63241622A (en) Data processor
JP2003058245A (en) Monitoring and controlling device
JPH086822A (en) Cpu device with runaway monitoring function