JP5958127B2 - アナログ入力装置 - Google Patents
アナログ入力装置 Download PDFInfo
- Publication number
- JP5958127B2 JP5958127B2 JP2012155399A JP2012155399A JP5958127B2 JP 5958127 B2 JP5958127 B2 JP 5958127B2 JP 2012155399 A JP2012155399 A JP 2012155399A JP 2012155399 A JP2012155399 A JP 2012155399A JP 5958127 B2 JP5958127 B2 JP 5958127B2
- Authority
- JP
- Japan
- Prior art keywords
- moving average
- value
- moving
- average value
- calculated
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Analogue/Digital Conversion (AREA)
Description
外部機器からのアナログ信号は、アナログ入力モジュール1の各チャネルに対応する入力端子17から入力回路16を介して取り込まれ、マルチプレクサ15によって選択された一のアナログ信号がA/D変換器14でデジタル信号に変換され演算処理を実行するMPU(演算処理手段)12に入力される。MPU12は、そのA/D変換値をRAM(記憶手段)13bに保存すると共に、CPUモジュール3により設定されたパラメータに従って、そのA/D変換値にフィルタ処理やスケール変換処理等の演算処理を施した後、バスインタフェースメモリ11に書き込む。
(リングバッファの構成)
(パラメータ)
(移動平均処理)
まず、初期化処理は、従来の図10と同様に、リングバッファ、合計値保存エリアsum、移動平均値保存エリアaveをクリアする。但し、sumとaveについては、図1に示すように複数の移動平均回数分について確保されているので、これらの全てを0クリアする。また、アドレスポインタnewrecptrに先頭アドレスの値datarecをセットする(S201)。
(応用例1)
(応用例2)
2 バス
3 CPUモジュール
4 I/Oモジュール
10 プログラマブルコントローラ
11 バスインタフェースメモリ(記憶手段)
12 MPU(演算処理手段)
13a ROM
13b RAM(記憶手段)
14 A/D変換器(A/D変換手段)
15 マルチプレクサ
16 入力回路
17 入力端子
Claims (4)
- 一定のサンプリング周期で入力したアナログ信号をデジタルデータに変換し、A/D変換値として出力するAD変換手段と、
前記A/D変換値を保存する記憶手段と、
設定された移動平均回数で前記記憶手段に保存されているA/D変換値の移動平均処理を実行して移動平均値を算出する演算処理手段と、
を有するアナログ入力装置であって、
前記演算処理手段は、少なくとも2つの異なる移動平均回数で移動平均値を夫々算出し、夫々算出した移動平均値の差、及び、設定された一の移動平均回数で算出した移動平均値のトレンドデータによって、前記夫々算出した移動平均値のうち一の移動平均値を選択して出力することを特徴とするアナログ入力装置。 - 前記演算処理手段は、前記夫々算出した移動平均値の差が第一の閾値を超過し、または、前記トレンドデータが第二の閾値を超過した場合は、小さい方の移動平均回数で算出した移動平均値を出力し、前記夫々算出した移動平均値の差および前記トレンドデータが共に夫々の前記閾値を超過しない場合は、大きい方の移動平均回数で算出した移動平均値を出力することを特徴とする請求項1に記載のアナログ入力装置。
- 前記演算処理手段は、前記トレンドデータに基づいて移動平均処理に用いる移動平均回数を選択することを特徴とする請求項1または2に記載のアナログ入力装置。
- 前記演算処理手段は、前記A/D変換値または出力する移動平均値が、設定された範囲内か否かを判定し、設定された範囲内の場合には、一定時間、出力すべき移動平均値の算出に用いる移動平均回数の変更を禁止することを特徴とする請求項1乃至3のいずれか一項に記載のアナログ入力装置。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012155399A JP5958127B2 (ja) | 2012-07-11 | 2012-07-11 | アナログ入力装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012155399A JP5958127B2 (ja) | 2012-07-11 | 2012-07-11 | アナログ入力装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014017760A JP2014017760A (ja) | 2014-01-30 |
JP5958127B2 true JP5958127B2 (ja) | 2016-07-27 |
Family
ID=50112056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012155399A Active JP5958127B2 (ja) | 2012-07-11 | 2012-07-11 | アナログ入力装置 |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5958127B2 (ja) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016123060A (ja) * | 2014-12-25 | 2016-07-07 | ヤマハ株式会社 | アナログデジタル変換装置 |
CN113114252B (zh) * | 2021-04-27 | 2023-03-21 | 珠海拓芯科技有限公司 | 一种目标采样值确定方法、装置、电子设备及存储介质 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07118629B2 (ja) * | 1988-11-21 | 1995-12-18 | 富士電機株式会社 | フィルタ時定数可変のアナログ入力装置 |
JP2996240B1 (ja) * | 1998-10-16 | 1999-12-27 | トヨタ自動車株式会社 | 時間変化率検査方法及び装置 |
-
2012
- 2012-07-11 JP JP2012155399A patent/JP5958127B2/ja active Active
Also Published As
Publication number | Publication date |
---|---|
JP2014017760A (ja) | 2014-01-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10613240B2 (en) | Seismic sensor and threshold adjusting method | |
EP3188461B1 (en) | Method and apparatus for correcting detection distance | |
US9970974B2 (en) | On-line status diagnosis device and on-line status diagnosis method for electric power utilities | |
EP3014722B1 (en) | Adaptive arc fault detection trip decision buffer | |
JP2017016187A (ja) | 無線センサデータ収集システム | |
JP5958127B2 (ja) | アナログ入力装置 | |
KR101716481B1 (ko) | 이동평균 필터의 동작 제어 방법 | |
CN107943142B (zh) | 一种基于卡尔曼滤波的低温辐射计温度控制的方法 | |
JP2010160715A (ja) | 車両用電子制御ユニット | |
US9506813B2 (en) | Digital temperature sensor with integrated digital temperature filter | |
JP2012150025A (ja) | 測定装置 | |
JP2014163921A (ja) | 充放電試験システム、及び制御装置 | |
KR20160089869A (ko) | 센서 데이터 정보의 데이터 정리 방법 | |
US7098835B2 (en) | Analog/digital conversion method and analog/digital conversion circuit | |
US10948901B2 (en) | Data collection system, data collection method, and controller | |
KR101769699B1 (ko) | 과전류 계전기 및 그 동작방법 | |
JP5381148B2 (ja) | 計測装置、および計測方法 | |
US10917104B2 (en) | ADC sampling and resource usage optimization method using active variable sampling and active variable phase control | |
CN113447871A (zh) | 校准方法及装置 | |
US20160154387A1 (en) | Function unit, analog input unit, and programmable controller system | |
JP6448035B2 (ja) | 情報処理装置、動作周波数制御プログラム、及び動作周波数制御方法 | |
JP5446970B2 (ja) | タイムアウト時間設定装置、タイムアウト時間設定方法、及びプログラム | |
US10326400B2 (en) | Overcurrent protection device and drive device having overcurrent protection device | |
JP2017004172A (ja) | プログラマブルコントローラおよびそのノイズ削除方法 | |
JP7081176B2 (ja) | 電子機器システム、運用系/待機系切換方法及びプログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150615 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160307 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160315 |
|
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: 20160524 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160606 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5958127 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 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |