JP3467392B2 - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JP3467392B2
JP3467392B2 JP27891297A JP27891297A JP3467392B2 JP 3467392 B2 JP3467392 B2 JP 3467392B2 JP 27891297 A JP27891297 A JP 27891297A JP 27891297 A JP27891297 A JP 27891297A JP 3467392 B2 JP3467392 B2 JP 3467392B2
Authority
JP
Japan
Prior art keywords
switching circuit
analog
capacitor
signal
analog 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.)
Expired - Fee Related
Application number
JP27891297A
Other languages
Japanese (ja)
Other versions
JPH11119812A (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.)
Hitachi Industrial Equipment Systems Co Ltd
Original Assignee
Hitachi Industrial Equipment Systems 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 Hitachi Industrial Equipment Systems Co Ltd filed Critical Hitachi Industrial Equipment Systems Co Ltd
Priority to JP27891297A priority Critical patent/JP3467392B2/en
Publication of JPH11119812A publication Critical patent/JPH11119812A/en
Application granted granted Critical
Publication of JP3467392B2 publication Critical patent/JP3467392B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】本発明は、プログラマブルコ
ントローラ(以下、PCという)に係り、特にPCのア
ナログ入力モジュールに侵入するノイズを除去する技術
に関する。 【0002】 【従来の技術】図5、6を参照して従来のPCのアナロ
グ入力回路を説明する。図5は、従来のPCのアナログ
入力回路の模式図、図6は、従来のPCのアナログ入力
回路におけるノイズ波形入力の模式図である。図5に示
す如く、PCのアナログ入力回路は、n個のアナログ信
号1が入力されるn個の入力端子群2と、該n個のアナ
ログ信号1を切換え、個のアナログ信号1を選択する
アナログチャンネル切換え器3と、該アナログ信号1を
デジタル信号に変換するA/Dコンバーター4とから構
成されていた。 【0003】従来の図5に示すPCのアナログ入力回路
へ、図6の左図に示すようなノイズ波形30がのって
るアナログ入力信号波形が入力した場合を説明する。上
記回路において、図6の右図に示す如く、前記ノイズ波
形30がのっているときのタイミングでサンプリングさ
れたとする。前記PCのアナログ入力回路は、ノイズ除
去回路を備えていないため、アナログ入力信号のデジタ
ル変換データがノイズ電圧31の分だけ変動することに
なる。この結果、変換データが異常になってしまうとい
うことがあった。 【0004】 【発明が解決しようとする課題】上記従来のPCのアナ
ログ入力回路の変換データの異常に対しては、種々の改
良技術が提案されている。例えば、アナログ入力端子か
ら入力されたアナログ信号を複数のコンデンサと複数の
スィツチにより、所定のタイミングでサンプリングしホ
ールドするサンプリング/ホールド手段と、アナログ信
号をデジタル信号に変換するA/D変換手段を備え、連
続した複数回のサンプル/ホールド実行により得られた
アナログ信号サンプルにおいて、サンプリング/ホール
ド手段のコンデンサとスイッチの操作によって平均値に
相当するアナログ信号を生成し、このアナログ信号をデ
ジタル信号に変換し、雑音を除去する方法がある。これ
に関連するものとして、特開平3−128531号公報
記載の技術がある。上記方法は、前記コンデンサとスイ
ッチを複数回のサンプル個分を用意しなければならず、
回路が大型化し、かつ制御装置も複雑となるという問題
があった。 【0005】また、例えば、アナログ信号をデジタル信
号に変換し、これを複数回サンプリングし、当該サンプ
リングされたデジタル信号を平均化して記憶させ、現時
点のアナログ信号をデジタル信号に変換し、当該デジタ
ル信号と前記記憶させた平均化したデジタル信号とを平
均化し、雑音を除去する方法がある。これに関連するも
のとして、特開平7−110652号公報記載の技術が
ある。上記方法は、デジタル信号変換後に全ての処理を
実施するため、マイクロプロセッサおよびROMならび
にRAMが必要となり、回路のコストが高くなるという
問題があった。 【0006】本発明は、かかる従来の問題を解決するた
めになされたもので、PCのアナログ入力回路に侵入す
るノイズの外乱の影響を、簡単な回路構成でかつ容易に
軽減するPCを提供することをその目的とするものであ
る。 【0007】 【課題を解決するための手段】本発明に係るプログラマ
ブルコントローラの構成は、複数のアナログ信号から
のアナログ信号を選択する選択器と、前記選択された
一つのアナログ信号がホールドされ充電される第のコ
ンデンサと、前記アナログ信号をデジタル信号に変換す
A/Dコンバーターと、前記デジタル信号に変換した
信号データを格納するRAMと、前記RAMに格納され
た他のアナログ信号の変換デジタルデータを読み出す手
段と、前記読み出したデジタル値を他のアナログ信号に
変換するD/Aコンバーターと、前記D/A変換した他
のアナログ信号がホールドされ充電される第のコンデ
ンサと、前記選択器と前記RAMを接続する第1の切換
回路と第2の切換回路とこれらを制御するタイミング
発生回路を具備し、前記第1の切換回路の一つの固定
接点端子を前記選択器と接続し、他の固定接点端子を前
記第2の切換回路の可動接点端子と接続するとともに、
前記第1の切換回路の可動接点端子に前記第1のコンデ
ンサを接続し、前記第1の切換回路の他の固 定接点端子
と前記第2の切換回路の可動接点端子との接続点に前記
第2のコンデンサを接続するとともに、第2の切換回路
の固定接点端子をそれぞれ前記A/DコンバーターとD
/Aコンバーターを介して前記RAMと接続し、前記タ
イミング発生回路で、前記第1の切換回路及び第2の切
換回路を切り換え、現時点のアナログ信号をホールドし
て前記第1のコンデンサを充電し、前回平均値を前記R
AMから読み出しD/A変換して第2のコンデンサを充
電し、両コンデンサ値より平均値を算出し該平均値をA
/D変換して前記RAMに格納することを特徴とする
ログラマブルコントローラである。 【0010】 【発明の実施の形態】以下、図1ないし図4を参照し
て、本発明に係る実施形態を説明する。上記課題を解決
するために、本発明に係るPCの実施形態の構成は、P
Cのアナログ入力回路において、現時点のアナログ入力
信号をコンデンサに充電するとともに、既にA/D変換
したデジタル値データを、再びD/A変換させたアナロ
グ入力信号をコンデンサへ充電し、これら両コンデンサ
値を平均化する手段を備えることにより、アナログ入力
回路に侵入するノイズの外乱の影響を除去するものであ
る。 【0011】以下、図1ないし図4を参照して、本発明
の一実施形態を説明する。図1は、本発明のPCに係る
一実施形態の模式図である。図示する如く、複数のアナ
ログ入力端子5a・・5nにはアナログ信号源6a・・
6nが接続される。 【0012】次に、これらのアナログ信号5a・・5n
に対して、アナログチャンネル切換え器7(マルチプレ
クサ)が接続されており、任意のアナログ信号が選択さ
れるようになっている。該アナログチャンネル切換え器
7は、タイミング発生回路8と接続されており、該タイ
ミング発生回路8でアナログチャンネル切換コントロー
ル信号10を発生させて、アナログチャンネル切換え器
7に送信されるようになっている。 【0013】前記アナログチャンネル切換え器7には、
固定接点端子a、b(以下、それぞれ端子a、bとい
う)と可動接点端子c(以下、端子cという)を有する
切換スイッチ13と、固定接点端子A、B(以下、それ
ぞれ端子A、Bという)と可動接点端子C(以下、端子
Cという)を有する切換スイッチ18とが直列に接続さ
れている。そして、前記端子aが前記アナログチャンネ
ル切換え器7と接続され、端子bが端子Cとそれぞれ接
続されている。 【0014】また、可動接点端子cと大地間にはコンデ
ンサ12、端子bと端子Cとの接続部と大地間にはコン
デンサ14がそれぞれ結合されている。さらに、端子A
にはA/Dコンバーター17、端子BにはD/Aコンバ
ーター15が接続され、両変換器17、15は、RAM
16が接続されている。また、前記タイミング発生回路
8とRAM16が接続されている。なお、タイミング発
生回路8にはアドレスバス9、RAM16にはデータバ
ス19がそれぞれ接続されている。 【0015】次に、上記構成の本発明の一実施形態のP
Cの動作を図2、3、4を参照して説明する。図2は、
図1のPCにおけるアナログ入力の一つのサンプリング
波形の模式図、図3は、図1のPCにおけるアナログ入
力の他のサンプリング波形の模式図、図4は、図1のP
Cの機能を示すフローチャート図である。 【0016】現時点の場合、ステップ1において、図2
に示すような波形のアナログ入力信号がアナログチャン
ネル切換え器7に入力される。ステップ2において、い
ま、波形上の(イ)点でサンプリングされる場合、アナ
ログチャンネル切換え器7でアナログ信号VAが選択さ
れる。ステップ3において、切換スイッチ13を端子a
側に切り換えてホールドし、アナログ信号VAでコンデ
ンサ12を充電する。 【0017】回前を例に取り、前回値の取り出しにつ
いて説明する。この時点の波形上のサンプリングの位置
は、図3の(ロ)の位置(ノイズの影響を受けている
点)でサンプリングすることになる。ステップ11、1
2、13において、ステップ1からステップ3までと同
様の動作が行われ、コンデンサ12が充電される。 【0018】すなわち、図3に示すサンプリングの位置
(ロ)でアナログチャンネル切換え器7によりアナログ
信号VBが選択され、切換スイッチ13を端子a側に切
換りホールドされ、コンデンサ12に図3に示すサンプ
リングの位置(ロ)でノイズ波形がのったアナログ信号
VBが充電される。 【0019】ステップ14において、切換スイッチ18
を端子A側に切り換えてホールドし、切換スイッチ13
を端子b側に切り換えてホールドし、コンデンサ12の
信号値をA/Dコンバーター17でデジタル信号に変換
する。次に、ステップ15において、RAM16のX番
地へ変換された前記デジタル信号が格納されることにな
る。 【0020】次に、ステップ16において、RAM16
の対応した番地から変換したデジタル信号がD/Aコン
バーター15でアナログ信号に変換される。ステップ1
7において、切換スイッチ18を端子B側に切り換えて
ホールドされると、変換されたアナログ信号、電圧VB
でコンデンサ14に充電される。 【0021】ステップ18において、切換スイッチ18
を端子A側に切り換え、切換スイッチ13を端子b側へ
切り換えると、コンデンサ12とコンデンサ14が並列
に接続されるため、図2のサンプリング位置(イ)での
電圧VA、図3のサンプリング位置(ロ)での電圧VBの
2つの電圧が平均化されることになる。この平均化にお
ける現在値と前回値の影響の割合は、コンデンサ12と
コンデンサ14の容量の選択により自由に決定できる。 【0022】ステップ19において、平均化されたアナ
ログ信号は、A/Dコンバーター17でデジタル値に変
換される。ステップ20において、前記デジタル値はR
AM16のX番地に格納される。 【0023】このようにして、RAM16のX、X+
1、X+2・・・・番地には平均化され、ノイズの影響
を軽減したアナログ信号値が、時分列に順次デジタル信
号値として格納されることになる。そして、新たにアナ
ログ信号がサンプリングされると、その前のRAM16
のX番地に格納されている平均値と平均化され、ノイズ
の影響が軽減される。すなわち、n番目にサンプリング
されたアナログ信号は、(n−1)番目の平均値と平均
化される。 【0024】以降、同様の動作を繰り返され、この動作
が各入力について順次実施されてデータはそれぞれ対応
する番地に格納される。これを、他の機器よりRAM1
6の番地をリードすることより、データバス19より読
出すことが可能である。 【0025】 【発明の効果】本発明によれば、PCのアナログ入力回
路に侵入するノイズの外乱の影響を、簡単な回路構成で
かつ容易に軽減するPCを提供することができる。
BACKGROUND OF THE INVENTION [0001] [Technical Field of the Invention The present invention is, programmable co
The present invention relates to a controller (hereinafter, referred to as a PC), and particularly to a technique for removing noise that enters an analog input module of the PC.
About . 2. Description of the Related Art A conventional PC analog input circuit will be described with reference to FIGS. FIG. 5 is a schematic diagram of a conventional PC analog input circuit, and FIG. 6 is a schematic diagram of a noise waveform input in the conventional PC analog input circuit. As shown in FIG. 5, the analog input circuit PC, the selection of n input terminals 2 where n analog signal 1 is inputted, switching the n analog signals 1, one analog signal 1 1 and an A / D converter 4 for converting the analog signal 1 into a digital signal. [0003] to the analog input circuit of a conventional PC shown in FIG. 5, the analog input signal waveform noise waveform 30 as shown in the left diagram Ru have <br/> riding of FIG. 6 illustrating a case where the input. In the above circuit, it is assumed that sampling is performed at the timing when the noise waveform 30 is running as shown in the right diagram of FIG. Analog input circuits of the PC, because it does not include the noise removing circuit, the analog input signal digital
The converted data fluctuates by the noise voltage 31. As a result, the converted data may become abnormal. [0004] Various improvements have been proposed for abnormalities in the conversion data of the analog input circuit of the conventional PC. For example, there are provided sampling / hold means for sampling and holding an analog signal input from an analog input terminal at a predetermined timing by a plurality of capacitors and a plurality of switches, and A / D conversion means for converting an analog signal into a digital signal. In an analog signal sample obtained by executing a plurality of successive sample / hold operations, an analog signal corresponding to an average value is generated by operating a capacitor and a switch of the sampling / hold means, and this analog signal is converted into a digital signal. There is a method for removing noise. As a technique related to this, there is a technique described in JP-A-3-128531. In the above method, the capacitor and the switch must be prepared for a plurality of samples,
There is a problem that the circuit becomes large and the control device becomes complicated. Further, for example, an analog signal is converted into a digital signal, the sampled digital signal is sampled a plurality of times, the sampled digital signal is averaged and stored, and the current analog signal is converted into a digital signal. And the stored averaged digital signal to eliminate noise. Related to this is a technique described in Japanese Patent Application Laid-Open No. Hei 7-110652. The method, for performing all the processing after the digital signal conversion, a microprocessor and ROM and RAM are required, the cost of the circuit is increased. SUMMARY OF THE INVENTION The present invention has been made to solve such a conventional problem, and provides a PC which can easily reduce the influence of noise disturbance invading an analog input circuit of the PC with a simple circuit configuration. That is the purpose. [0007] A programmer according to the present invention.
Bull controller configuration is one of a plurality of analog signals
A selector for selecting two analog signals; and
A first capacitor that holds and charges one analog signal, an A / D converter that converts the analog signal to a digital signal, and a digital signal that is converted to the digital signal
A RAM for storing signal data , means for reading converted digital data of another analog signal stored in the RAM, a D / A converter for converting the read digital value to another analog signal, and a D / A converter A second capacitor for holding and charging another converted analog signal , and a first switch for connecting the selector and the RAM
Comprising circuit and a second switching circuit, and a timing generating circuit for controlling these, one fixed in the first switching circuit
Connect the contact terminals to the selector and connect the other fixed contact terminals to the front.
Connected to the movable contact terminal of the second switching circuit,
The first capacitor is connected to the movable contact terminal of the first switching circuit.
Connect the capacitors, other fixed contact terminal of the first switching circuit
At the connection point between the movable contact terminal of the second switching circuit and
A second switching circuit for connecting a second capacitor;
Of the A / D converter and D
/ A converter and connected to the RAM,
Animing generating circuit, wherein the first switching circuit and the second
Switching circuit and hold the current analog signal.
To charge the first capacitor and calculate the previous average value to the R
Read from AM, D / A convert and charge second capacitor
And calculate an average value from both capacitor values.
/ D-converted up to and storing in the RAM
It is a programmable controller . An embodiment according to the present invention will be described below with reference to FIGS. In order to solve the above problems, the configuration of the embodiment of the PC according to the present invention
In the analog input circuit C, and the analog input signal at the present time to together Charging the capacitor, already digital value data converted A / D, and charges the capacitor analog input signal is converted again D / A, these two capacitors By providing a means for averaging the values, the influence of noise disturbance entering the analog input circuit is removed. Hereinafter, an embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a schematic diagram of an embodiment according to a PC of the present invention. As shown in the figure, a plurality of analog input terminals 5a.
6n are connected. Next, these analog signals 5a.
Is connected to an analog channel switch 7 (multiplexer), so that an arbitrary analog signal is selected. The analog channel switching device 7 is connected to a timing generation circuit 8, and the timing generation circuit 8 generates an analog channel switching control signal 10 to be transmitted to the analog channel switching device 7. The analog channel switch 7 includes:
A changeover switch 13 having fixed contact terminals a, b (hereinafter, referred to as terminals a, b, respectively) and a movable contact terminal c (hereinafter, referred to as terminal c), and fixed contact terminals A, B (hereinafter, referred to as terminals A, B, respectively). ) And a changeover switch 18 having a movable contact terminal C (hereinafter, referred to as a terminal C) are connected in series. The terminal a is connected to the analog channel.
The terminal b is connected to the terminal C, respectively. A capacitor 12 is connected between the movable contact terminal c and the ground, and a capacitor 14 is connected between the connection between the terminal b and the terminal C and the ground. Further, terminal A
A / D converter 17, the the terminal B D / A converter
The converters 17 and 15 are connected to the RAM 15
16 are connected. Further, the timing generation circuit 8 and the RAM 16 are connected. The address bus 9 is connected to the timing generation circuit 8 and the data bus 19 is connected to the RAM 16. [0015] Next, the P of the embodiment of the present invention having the above configuration is described.
The operation of C will be described with reference to FIGS. FIG.
1 is a schematic diagram of one sampling waveform of the analog input in the PC of FIG. 1, FIG. 3 is a schematic diagram of another sampling waveform of the analog input in the PC of FIG. 1, and FIG.
It is a flowchart figure which shows the function of C. At the present time, in step 1, FIG.
Analog Chang analog input signal having a waveform as shown in the
It is input to the flannel switch 7. In Step 2, now, when it is sampled at (a) point on the waveform, Ana
The analog signal VA is selected by the log channel switch 7. In step 3, the changeover switch 13 is set to the terminal a
Side, and holds, and charges the capacitor 12 with the analog signal VA. [0017] the previous one as an example, a description will be given of removal of the previous value. The sampling position on the waveform at this point is sampling at the position (b) in FIG. 3 (point affected by noise). Step 11, 1
In steps 2 and 13, operations similar to those in steps 1 to 3 are performed, and the capacitor 12 is charged. That is, the analog signal VB is selected by the analog channel selector 7 at the sampling position (b) shown in FIG. 3, the changeover switch 13 is switched to the terminal a side and held, and the capacitor 12 shown in FIG. analog signal VB which noise waveform is superimposed at the position (b) of is charged. In step 14, the changeover switch 18
Is switched to the terminal A side and held.
Is switched to the terminal b side and held, and the signal value of the capacitor 12 is converted into a digital signal by the A / D converter 17. Next, in step 15, the digital signal converted to the address X of the RAM 16 is stored. Next, in step 16, the RAM 16
Digital signal D / A con converted from the corresponding address of
It is converted into an analog signal by the barter 15. Step 1
7, when the changeover switch 18 is switched to the terminal B side and held, the converted analog signal, the voltage VB
To charge the capacitor 14. In step 18, the changeover switch 18
When the switch is switched to the terminal A side and the changeover switch 13 is switched to the terminal b side, since the capacitor 12 and the capacitor 14 are connected in parallel, the voltage VA at the sampling position (a) in FIG. B) the voltage VB at
The two voltages will be averaged. The ratio of the influence of the current value and the previous value in this averaging can be freely determined by selecting the capacitance of the capacitors 12 and 14. In step 19, the averaged analog signal is converted into a digital value by the A / D converter 17. In step 20, the digital value is R
It is stored at the address X of AM16. In this way, X, X +
At the addresses 1, X + 2..., The analog signal values averaged to reduce the influence of noise are sequentially stored as digital signal values in a time-series sequence. When a new analog signal is sampled, the RAM 16
Is averaged with the average value stored at the address X, thereby reducing the influence of noise. That is, the n-th sampled analog signal is averaged with the (n-1) -th average value. Thereafter, the same operation is repeated, and this operation is sequentially performed for each input, and the data is stored in the corresponding addresses. This is sent to RAM1 from another device.
By reading the address of No. 6, it is possible to read out from the data bus 19. According to the present invention , the influence of noise disturbance invading the analog input circuit of the PC can be reduced with a simple circuit configuration.
In addition , a PC that can be easily reduced can be provided.

【図面の簡単な説明】 【図1】本発明のPCに係る一実施形態の模式図であ
る。 【図2】図1のPCにおけるアナログ入力の一つのサン
プリング波形の模式図である。 【図3】図1のPCにおけるアナログ入力の他のサンプ
リング波形の模式図である。 【図4】図1のPCの機能を示すフローチャート図であ
る。 【図5】従来のPCのアナログ入力回路の模式図であ
る。 【図6】従来のPCのアナログ入力回路のサンプリング
波形の模式図である。 【符号の説明】 1…アナログ信号源 2…アナログ入力端子群 3…アナログチャンネル切換え器 4…A/Dコンバーター 5…アナログ入力端子 6…アナログ入力信号源 7…アナログチャンネル切換え器 8…タイミング発生器 9…アドレスバス 10…アナログチャンネル切換コントロール信号 11…アナログ信号 12…コンデンサ 13…切換スイッチ 14…コンデンサ 15…D/Aコンバーター 16…RAM 17…A/Dコンバーター 18…切換スイッチ 19…データバス 30…ノイズ波形 31…ノイズ電圧
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic view of an embodiment of a PC according to the present invention. FIG. 2 is a schematic diagram of one sampling waveform of an analog input in the PC of FIG. 1; FIG. 3 is a schematic diagram of another sampling waveform of analog input in the PC of FIG. 1; FIG. 4 is a flowchart illustrating functions of the PC in FIG. 1; FIG. 5 is a schematic diagram of a conventional PC analog input circuit. FIG. 6 is a schematic diagram of a sampling waveform of an analog input circuit of a conventional PC. [Description of Signs] 1 ... Analog signal source 2 ... Analog input terminal group 3 ... Analog channel switching device 4 ... A / D converter 5 ... Analog input terminal 6 ... Analog input signal source 7 ... Analog channel switching device 8 ... Timing generator 9 Address bus 10 Analog channel switching control signal 11 Analog signal 12 Capacitor 13 Switching switch 14 Capacitor 15 D / A converter 16 RAM 17 A / D converter 18 Switching switch 19 Data bus 30 Noise waveform 31: Noise voltage

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平9−159496(JP,A) 特開 平3−128531(JP,A) 特開 平9−261463(JP,A) (58)調査した分野(Int.Cl.7,DB名) G05B 19/05 ────────────────────────────────────────────────── ─── Continuation of front page (56) References JP-A-9-159496 (JP, A) JP-A-3-128531 (JP, A) JP-A-9-261463 (JP, A) (58) Field (Int.Cl. 7 , DB name) G05B 19/05

Claims (1)

(57)【特許請求の範囲】 【請求項1】複数のアナログ信号から一つのアナログ信
号を選択する選択器と、前記選択された一つのアナログ
信号がホールドされ充電される第のコンデンサと、前
記アナログ信号をデジタル信号に変換するA/Dコンバ
ーターと、前記デジタル信号に変換した信号データを格
納するRAMと、前記RAMに格納された他のアナログ
信号の変換デジタルデータを読み出す手段と、前記読み
出したデジタル値を他のアナログ信号に変換するD/A
コンバーターと、前記D/A変換した他のアナログ信号
がホールドされ充電される第のコンデンサと、前記選
択器と前記RAMを接続する第1の切換回路と第2の切
換回路とこれらを制御するタイミング発生回路を具
備し、前記第1の切換回路の一つの固定接点端子を前記選択器
と接続し、他の固定接点端子を前記第2の切換回路の可
動接点端子と接続するとともに、前記第1の切換回路の
可動接点端子に前記第1のコンデンサを接続し、前記第
1の切換回路の他の固定接点端子と前記第2の切換回路
の可動接点端子との接続点に前記第2のコンデンサを接
続するとともに、第2の切換回路の固定接点端子をそれ
ぞれ前記A/DコンバーターとD/Aコンバーターを介
して前記RAMと接続し、前記タイミング発生回路で、
前記第1の切換回路及び第2の切換回路を切り換え、現
時点のアナログ信号をホールドして前記第1のコンデン
サを充電し、前回平均値を前記RAMから読み出しD/
A変換して第2のコンデンサを充電し、両コンデンサ値
より平均値を算出し該平均値をA/D変換して前記RA
Mに格納する ことを特徴とするプログラマブルコントロ
ーラ
(57) Claims: 1. A selector for selecting one analog signal from a plurality of analog signals, and a first capacitor for holding and charging the selected one analog signal. And an A / D converter for converting the analog signal into a digital signal.
And Ta, D converting a RAM for storing the signal data converted into the digital signal, means for reading the converted digital data of the other analog signals stored in the RAM, the read digital values to another analog signal / A
A second capacitor and converters, other analog signal converted the D / A is being held charged, the election
A first switching circuit for connecting the selector and the RAM, and a second switching circuit.
And circuit, comprising a timing generation circuit for controlling these, wherein the selector of one of the fixed contact terminal of the first switching circuit
And the other fixed contact terminal is connected to the second switching circuit.
Connected to the moving contact terminal, and connected to the first switching circuit.
Connecting the first capacitor to a movable contact terminal;
Another fixed contact terminal of the first switching circuit and the second switching circuit
The second capacitor is connected to the connection point with the movable contact terminal of
The fixed contact terminal of the second switching circuit.
Via the A / D converter and D / A converter, respectively
And connected to the RAM, and in the timing generation circuit,
The first switching circuit and the second switching circuit are switched, and
Hold the analog signal at the time point and
And the previous average value is read from the RAM, and D /
A is converted and the second capacitor is charged.
The average value is calculated, and the average value is subjected to A / D conversion to obtain the RA.
A programmable controller characterized by storing in M
Laura .
JP27891297A 1997-10-13 1997-10-13 Programmable controller Expired - Fee Related JP3467392B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27891297A JP3467392B2 (en) 1997-10-13 1997-10-13 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27891297A JP3467392B2 (en) 1997-10-13 1997-10-13 Programmable controller

Publications (2)

Publication Number Publication Date
JPH11119812A JPH11119812A (en) 1999-04-30
JP3467392B2 true JP3467392B2 (en) 2003-11-17

Family

ID=17603832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27891297A Expired - Fee Related JP3467392B2 (en) 1997-10-13 1997-10-13 Programmable controller

Country Status (1)

Country Link
JP (1) JP3467392B2 (en)

Also Published As

Publication number Publication date
JPH11119812A (en) 1999-04-30

Similar Documents

Publication Publication Date Title
US20050184894A1 (en) Analog-to-digital converter and microcomputer in which the same is installed
US6583745B2 (en) A/D converter
JP3467392B2 (en) Programmable controller
US5412386A (en) Arrangement for converting a plurality of electrical analog measurement signals that are applied simultaneously to its input terminals into a corresponding plurality of digital signals, using an antialiasing filter on the inputs
JPH0690172A (en) Circuit device and method for a/d conversion
US6525573B1 (en) Signal processing architecture
JP2001111424A (en) Method for a/d conversion
JPH07312551A (en) A/d conversion method, a/d converter and digital arithmetic processing unit
CN1118007C (en) Digital data level control circuit
JPH09270708A (en) Digital/analog converter and voice controller
JP3374788B2 (en) Analog signal processing device
JPH0310420A (en) Analog/digital converter
JP3152208B2 (en) AD conversion circuit
JPH0292023A (en) A/d converter
JP3172046B2 (en) Sampling rate converter
JPH0832451A (en) Simultaneous sampling method for input data
JPH10341159A (en) A/d converter
EP0880222B1 (en) Circuit arrangement for operating an electric motor
JPS5929401Y2 (en) Multipoint analog input device
JP3109316B2 (en) Waveform generator
JP2555293B2 (en) Audio signal delay device
JP2997609B2 (en) Digital protection relay with automatic adjustment function
JPH08149681A (en) Monitor for a/d converting section in digital protective relay
JPS6264213A (en) Input converter circuit for protection relay
JPH02105629A (en) A/d conversion system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080829

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080829

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090829

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100829

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100829

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130829

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees