JPS6249431A - Signal stabilizing device - Google Patents

Signal stabilizing device

Info

Publication number
JPS6249431A
JPS6249431A JP18535885A JP18535885A JPS6249431A JP S6249431 A JPS6249431 A JP S6249431A JP 18535885 A JP18535885 A JP 18535885A JP 18535885 A JP18535885 A JP 18535885A JP S6249431 A JPS6249431 A JP S6249431A
Authority
JP
Japan
Prior art keywords
signal
noise
data
signal line
input
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.)
Granted
Application number
JP18535885A
Other languages
Japanese (ja)
Other versions
JPS6363923B2 (en
Inventor
Junji Harada
順二 原田
Toru Arai
徹 新井
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.)
Stanley Electric Co Ltd
Original Assignee
Stanley Electric 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 Stanley Electric Co Ltd filed Critical Stanley Electric Co Ltd
Priority to JP18535885A priority Critical patent/JPS6249431A/en
Publication of JPS6249431A publication Critical patent/JPS6249431A/en
Publication of JPS6363923B2 publication Critical patent/JPS6363923B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Safety Devices In Control Systems (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To prevent the sudden change of a signal by eliminating a noise component, and also to inform the abnormality of an input signal by providing a noise deciding device for deciding a noise, based on a noise level set to a level switch, and a noise counter for outputting an input abnormal alarm signal or an input abnormal reset signal. CONSTITUTION:When the value of a digital which is inputted through a signal line (b) is out of the range of a value set to a level switch 2, a noise deciding device 3 stops the output of a signal line (c), and also outputs an abnormal signal to a signal line (e). When a signal line (d) from which a normal signal is outputted is connected to a retrigger terminal, and the abnormal signal is inputted by connecting the signal line (e) being the abnormal signal to a count start terminal, a noise counter 4 executes count-up until it reaches the time set in advance. At the time when it reaches the time, an input abnormal alarm signal is outputted to a signal line (g), but when the normal signal is outputted to a signal line (d) on the way of count-up, the count is reset to zero. In this way, as long as the abnormal signal is not continued exceeding the time set in advance, no input abnormal alarm signal is outputted to the signal line (g).

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、例えばデジタル温度制御装置などアナログ入
力信号をデジタル信号に変換する変換装置に関するもの
であり、特にはノイズ成分を除去すると共に信号を安定
化し、更には入力の異常も報知することが可能とするも
のである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a conversion device that converts an analog input signal into a digital signal, such as a digital temperature control device. This makes it possible to stabilize the system and also to notify of input abnormalities.

〔従来の技術〕[Conventional technology]

従来1.この種の変換装置としては、第2図に示したよ
うに単にアナログ信号をデジタル信号に変換するψコン
バータ1を介して処理装置であるCPU9(マイクロコ
ンピュータ)に信号を送るものであった。
Conventional 1. As shown in FIG. 2, this type of conversion device sends a signal to a CPU 9 (microcomputer), which is a processing device, through a ψ converter 1 that simply converts an analog signal into a digital signal.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、上記した従来の方法では入力信号に当然
に含まれているノイズ成分までもデジタル信号に変換し
てCPUに送るものであるので誤動作の可能性があると
共に、そのノイズ成分などによって信号が急変した時に
は例えば表示も急変してチラッキを生じて大変に読み取
り難いなど問題点を生じ、更にはその様な状態が一定時
間持続するような、入力に異状が生じていることが予想
される時にも報知する手段を持たないものであつ以上の
問題点は、処理装置であるCPUで処理することも可能
であるが、そのためにCPHに実行させるためのプログ
ラムを組む作業の煩雑さは許容出来るとしても、その処
理のためにcptyの処理能力のかなりの部分を使用し
てしまい、本来の処理が出来な(なる容量不足の問題点
を生じたり、又CPUの特質として逐次実行処理のため
実行速度が遅くなるなど別の問題点を生じるものであっ
た。
However, in the conventional method described above, noise components naturally included in the input signal are converted into digital signals and sent to the CPU, so there is a possibility of malfunction, and the signal may suddenly change due to the noise components. When this happens, for example, the display suddenly changes and flickers, making it very difficult to read, which can cause problems, and even when it is expected that an abnormality has occurred in the input, such as when such a state lasts for a certain period of time. The above problem of not having a means of notification can be handled by the CPU, which is a processing device, but even if the complexity of creating a program to be executed by the CPH can be tolerated. , a considerable part of cpty's processing capacity is used for this processing, causing the problem that the original processing cannot be performed (i.e., insufficient capacity), and the execution speed is slow due to sequential execution processing, which is a characteristic of the CPU. This caused other problems, such as delays.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記した従来の問題点を解決するための具体的
な手段としてアナログ入力信号をデジタル信号に変換す
るA、/’11コン・ぐ−夕と、ノイズベルを設定する
レベルスイッチと、該レベルスイッチに設定されたノイ
ズレベルに基づいて判定を行うノイズ判定器と、前記ノ
イズ判定器がノイズと判定している持続時間を計測し入
力異常警報信号又は入力異常復帰信号を出力するノイズ
カウンタと、前回迄の保持データ値と今回のデータ値を
比較するデータ判定器と、前記データ判定器の結果によ
り前記保持データ値をインクリメントするデータ加算器
とデクリメントするデータ減算器と、前記保持データ値
を保持すると共に出力するデータ保持器とを備えたこと
を特徴とする信号安定化装置を提供することによってノ
イズ成分を除去して信号の急変を防ぎ上記した問題点を
解決すると共に、入力信号の異常も報知することを可能
としたものである。
As specific means for solving the above-mentioned conventional problems, the present invention provides a converter for converting an analog input signal into a digital signal, a level switch for setting a noise bell, and a level switch for setting a noise bell. a noise determiner that makes a determination based on a noise level set in a switch; a noise counter that measures the duration that the noise determiner determines as noise and outputs an input abnormality alarm signal or an input abnormality recovery signal; a data determiner that compares the previous retained data value with the current data value; a data adder that increments the retained data value based on the result of the data determiner; and a data subtracter that decrements the retained data value; and a data subtracter that retains the retained data value. By providing a signal stabilizing device characterized by having a data holder that simultaneously removes noise components and prevents sudden changes in the signal, it is possible to solve the above-mentioned problems, and also to prevent abnormalities in the input signal. This makes it possible to notify the public.

〔実施例〕〔Example〕

つぎに、本発明を図に示す一実施例に基づ〜・て詳細゛
に説明する。尚、理解を容易にするために従来例と同じ
部分には同じ符号を付けて説明を行う。
Next, the present invention will be explained in detail based on an embodiment shown in the drawings. In order to facilitate understanding, the same parts as in the conventional example will be described with the same reference numerals.

第1図中で符号1で示すものは従来例と同様のψコンバ
ータであり信号線aからのアナログ信号をデジタル信号
に変換して信号線すに出力する。
The reference numeral 1 in FIG. 1 is a ψ converter similar to the conventional example, which converts the analog signal from the signal line a into a digital signal and outputs it to the signal line A.

従来例でも説明した様に前記信号線aからのアナログ信
号には当然にノイズ成分も含むものであり、このノイズ
成分は前記Aゆコンバータ1を介して変換された信号線
すに出力されるデジタル信号にも含まれていることにな
る。
As explained in the conventional example, the analog signal from the signal line a naturally includes a noise component, and this noise component is converted into a digital signal outputted to the signal line through the Ayu converter 1. It will also be included in the signal.

しかしながら、例えば前記アナログ信号が温度測定のた
めのサーミスタ出力である場合など、はぼ全ての場合に
その出力値の正常範囲の設定が可能であり、その範囲外
の出力を生じた時はノイズ成分である判定が可能である
。特に極端な例を前記したサーばスタ出力の場合で示せ
ば、サーミスタ回路の断腸又は短絡時には、前記正常範
囲外の出力が持続される。
However, in almost all cases, such as when the analog signal is a thermistor output for temperature measurement, it is possible to set the normal range of the output value, and when an output outside that range occurs, it is possible to set the output value as a noise component. It is possible to determine that. A particularly extreme example is given in the case of the thermistor output described above. When the thermistor circuit is disconnected or short-circuited, the output outside the normal range continues.

前記した正常範囲を設定するものがレベルスイッチ2で
あり、例えばデジタルスイッチを用いることで、上限値
、あるいは下限値、又はその両者をデジタル値で設定す
ることが可能である。前記レベルスイッチ2に設定した
値に従って動作するのが例えばデジタルコンパレータを
使用して得られるノイズ判定器3であり、その動作は信
号線すを介して入力するデジタル信号の値が前記レベル
スイッチ2に設定された値の範囲内であれば前記信号線
すのデジタル信号をそのまま通過させて信号線Cに出力
すると共に正常信号を信号線dに出力し、もしも範囲外
である場合には信号線Cの出力を停止すると共に異常信
号を信号線θに出力する。
The level switch 2 is used to set the above-mentioned normal range. For example, by using a digital switch, it is possible to set the upper limit value, the lower limit value, or both as digital values. The noise determiner 3, which is obtained by using, for example, a digital comparator, operates according to the value set in the level switch 2, and its operation is based on the value of the digital signal inputted through the signal line to the level switch 2. If it is within the set value range, the digital signal of the signal line S is passed through as is and outputted to the signal line C, and a normal signal is outputted to the signal line d.If it is outside the range, the digital signal of the signal line C is output. At the same time, an abnormal signal is output to the signal line θ.

例えばリトリガタイマを使用して得られるノイズカウン
タ4は前記した正常信号が出力される信号線dがリトリ
ガ端子に接続し、異常信号である信号線eをカウント開
始端子に接続することで異常信号が入力されると該ノイ
ズカウンタ4に予め設定されている時間に達するまでカ
ウントアツプし、達した時点で信号線gに入力異常警報
信号を出力するが、前記カウントアツプの途上で前記正
常信号が信号線dに出力されるとカウントは零にリセッ
トされるので、異常信号が該ノイズカウンタ4に予め設
定した時間以上に持続しないかぎり、前記信号線gに入
力異常警報信号は出力されることは無い。尚、信号線り
に出力される入力異常復帰信号は前記信号線gに信号出
力の無い場合に出力される。
For example, in the noise counter 4 obtained using a retrigger timer, the signal line d, which outputs the above-mentioned normal signal, is connected to the retrigger terminal, and the abnormal signal is input by connecting the signal line e, which is the abnormal signal, to the count start terminal. Then, the noise counter 4 counts up until it reaches a preset time, and when it reaches the time, it outputs an input abnormality alarm signal to the signal line g. Since the count is reset to zero when the signal is output to the signal line g, no input abnormality alarm signal is output to the signal line g unless the abnormality signal continues for a period longer than a preset time in the noise counter 4. Incidentally, the input abnormality recovery signal is output to the signal line g when there is no signal output to the signal line g.

例えばデジタルコンパレータを使用して得られるデータ
判定器5は前記ノイズ判定器3を介した前記A/Dコン
バータ1でデジタル値に変換された信号線Cを通じて入
力される入力信号とデータ保持器6に保持されている前
回迄の保持データを比較し、両信号が同一の時には信号
線jに出力し、入力信号〉保持データの時には信号縁k
に、入力信号〈保持データの時には信号線tに夫々出力
する。同時に該データ判定器5には前記ノイズ判定器3
の異常信号を出力する信号線eを分岐した信号線fが入
力し、該信号線fに出力がある場合は比較の機能を停止
する。これによって前述した信号線Cに出力の無い前記
ノイズ判定器3が異常と判定した場合のデータ判定器5
の動作を停止し正常でないデータが比較の対象となるこ
とを防止している。
For example, a data determiner 5 obtained using a digital comparator inputs an input signal inputted through a signal line C converted into a digital value by the A/D converter 1 via the noise determiner 3 and a data holder 6. Compare the held data up to the previous time, and if both signals are the same, output to signal line j, and if input signal > held data, signal edge k
When the input signal is held data, it is output to the signal line t. At the same time, the data determiner 5 includes the noise determiner 3.
A signal line f branched from the signal line e that outputs the abnormal signal is input, and if there is an output on the signal line f, the comparison function is stopped. As a result, the data determiner 5 when the noise determiner 3, which has no output on the signal line C, determines that it is abnormal.
This prevents abnormal data from being compared.

例えばレジスタを用いて得られるデータ保持器6は入力
出機能と記憶機能を持ち、同じくレジスタなどを用いた
データ加算器7は入出力機能とインクリメント機能(レ
ジスタの内容に1を加える)を持ち、同様にして得られ
るデータ減算器8は入出力機能とデクリメント機能(レ
ジスタの内容から1を減する)を持っていて相互に内容
の交換を行う、これにより結果的には前述で説明した前
記データ判定器5による比較が入力信号〉保持データの
時には1回の動作でデータ保持器6の内容に1を加算し
、逆の場合にはデータ保持器6の内容から1を減算し、
同じ場合には、データ保持器6の内容を変更せずに信号
線pを介してCPU 9に出力する。
For example, the data holder 6 obtained using a register has an input/output function and a storage function, and the data adder 7, which also uses a register etc., has an input/output function and an increment function (adds 1 to the contents of the register). The data subtractor 8 obtained in the same manner has an input/output function and a decrement function (subtracts 1 from the contents of the register), and mutually exchanges contents, thereby resulting in the above-mentioned data. When the comparison by the determiner 5 is input signal>held data, 1 is added to the contents of the data holder 6 in one operation, and in the opposite case, 1 is subtracted from the contents of the data holder 6,
If they are the same, the contents of the data holder 6 are output to the CPU 9 via the signal line p without being changed.

尚信号線m、nはデータ保持器6とデータ加算−タ保持
器6及びデータ加算器7、データ減算器゛8は当然に入
出力機能とインクリメント及びデクリメントの機能を持
つ一個のレジスタで実施する事は可能である。
Note that the signal lines m and n are the data holder 6, the data adder 6, the data adder 7, and the data subtracter 8 are implemented by a single register that has input/output functions and increment and decrement functions. things are possible.

〔発明の効果〕〔Effect of the invention〕

以上説明したようにノイズレベルを設定するレベルスイ
ッチと、該レベルスイッチに設定されたノイズレベルに
基づいて判定を行うノイズ判定器を設けたことによって
、設定した範囲外の信号はした範囲の信号のみを処理す
る事が可能となり正確な結果を得られること。並びにそ
の設定の値は自在なものであり実用性の高いこと。ノイ
ズカウンタを設けたことによって前記設定された範囲外
の信号が一定時間以上持続した時には入力異常警報信号
を発生するようにして、入力装置の断線、短絡などの異
常を報知する機能を加え、又その異常が回復した時には
入力異常復帰信号とデータ保持器に記憶している前回迄
のデータにより直ちに動作を再開出来ること。更にはデ
ータ判定器とデータ加算器、データ減算器、データ保持
器の組合せによって、1回の動作においては1単位のデ
ータの増減にしたことで急激なデータの変化と、例えば
サージ電圧などによるノイズ成分を圧縮するという数々
の実用上に極めて高い効果を奏すると共に、処理装置で
あるCPUをこれ等の処理から開放することで、一層の
高速な処理の可能と機能の拡大を可能にする効果も合せ
て奏するものである。
As explained above, by providing a level switch that sets the noise level and a noise judger that makes a judgment based on the noise level set to the level switch, signals outside the set range are only detected by signals within the range. It is possible to process and obtain accurate results. In addition, the setting values are flexible and highly practical. By installing a noise counter, an input abnormality alarm signal is generated when a signal outside the set range continues for a certain period of time, and a function is added to notify abnormalities such as disconnection or short circuit of the input device. When the abnormality is recovered, the operation can be resumed immediately using the input abnormality recovery signal and the previous data stored in the data holder. Furthermore, by combining a data determiner, data adder, data subtracter, and data holder, data increases or decreases by one unit in one operation, which prevents sudden data changes and noise caused by surge voltage, etc. It has an extremely high practical effect in compressing components, and by freeing the CPU, which is the processing device, from these processes, it also has the effect of enabling even faster processing and expansion of functions. It is played together.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明に係る信号安定化装置を示すブロック図
、第2図は従来例を示すブロック図である。 1・・・・・・ψコンバータ 2・・・・・・レベルス
イッチ3・・・・・・ノイズ判定器  4・・・・・・
ノイズカウンタ5・・・・・・データ判定器  6・・
・・・・データ保持器7・・・・・・データ加算器  
8・・・・・・データ減算器9 ・・・・・・ CP 
U a −p・・・・・・信号線 特許出願人  スタンレー電気株式会社手続補正書 昭和60年11月5−日
FIG. 1 is a block diagram showing a signal stabilizing device according to the present invention, and FIG. 2 is a block diagram showing a conventional example. 1... ψ converter 2... Level switch 3... Noise judger 4...
Noise counter 5... Data judger 6...
...Data holder 7...Data adder
8... Data subtractor 9... CP
U a -p...Signal line patent applicant Stanley Electric Co., Ltd. Procedural amendment dated November 5, 1985

Claims (1)

【特許請求の範囲】[Claims] アナログ入力信号をデジタル信号に変換するA/Dコン
バータと、ノイズレベルを設定するレベルスイッチと、
該レベルスイッチに設定されたノイズレベルに基づいて
判定を行うノイズ判定器と、前記ノイズ判定器がノイズ
と判定している持続時間を計測し入力異常警報信号又は
入力異常復帰信号を出力するノイズカウンタと、前回迄
の保持データ値と今回のデータ値を比較するデータ判定
器と、前記データ判定器の結果により前記保持データ値
をインクリメントするデータ加算器とデクリメントする
データ減算器と、前記保持データ値を保持すると共に出
力するデータ保持器とを備えたことを特徴とする信号安
定化装置。
An A/D converter that converts an analog input signal to a digital signal, a level switch that sets the noise level,
A noise determiner that makes a determination based on the noise level set in the level switch, and a noise counter that measures the duration that the noise determiner determines as noise and outputs an input abnormality alarm signal or an input abnormality recovery signal. a data determiner that compares the previous retained data value with the current data value, a data adder that increments the retained data value based on the result of the data determiner, a data subtracter that decrements the retained data value, and a data subtracter that decrements the retained data value. A signal stabilizing device comprising: a data holder that holds and outputs data.
JP18535885A 1985-08-23 1985-08-23 Signal stabilizing device Granted JPS6249431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18535885A JPS6249431A (en) 1985-08-23 1985-08-23 Signal stabilizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18535885A JPS6249431A (en) 1985-08-23 1985-08-23 Signal stabilizing device

Publications (2)

Publication Number Publication Date
JPS6249431A true JPS6249431A (en) 1987-03-04
JPS6363923B2 JPS6363923B2 (en) 1988-12-09

Family

ID=16169390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18535885A Granted JPS6249431A (en) 1985-08-23 1985-08-23 Signal stabilizing device

Country Status (1)

Country Link
JP (1) JPS6249431A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116022116A (en) * 2022-10-30 2023-04-28 重庆长安汽车股份有限公司 Vehicle brake control method and device, vehicle, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3702746B1 (en) 2019-03-01 2023-08-09 Hitachi Energy Switzerland AG High voltage system comprising a temperature distribution determining device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116022116A (en) * 2022-10-30 2023-04-28 重庆长安汽车股份有限公司 Vehicle brake control method and device, vehicle, electronic equipment and storage medium

Also Published As

Publication number Publication date
JPS6363923B2 (en) 1988-12-09

Similar Documents

Publication Publication Date Title
JPS6249431A (en) Signal stabilizing device
JPS60241375A (en) Clamping circuit of television signal system
JPH11317665A (en) A/d converting device
JP2546005B2 (en) A / D converter
JPS6225509A (en) Output circuit
JPS6023439B2 (en) waveform storage device
JPH02158210A (en) Pulse abnormality detection circuit
JPH02162470A (en) Picture input device
KR200183888Y1 (en) Circuit for detecting change of contact state between two switches
JP2878823B2 (en) Transmission equipment
JPH01169642A (en) Runaway detecting circuit
JPH07152460A (en) Voltage detection reset circuit
JPS60223416A (en) Digital protective relaying device
JPH03171457A (en) Controller for vtr or the like
JPH05283991A (en) Signal delay circuit
JPH02285804A (en) Digital automatic gain controller
JPS63274873A (en) Oscillation detection circuit
JPH04115123A (en) Fault detecting apparatus for analog input signal circuit
JP2001264388A (en) Testing method for semiconductor device
JPS61255111A (en) Offset elimination circuit
JPH01144377A (en) Controller of motor
JPS6014327A (en) Multiplying circuit for digital signal
JP2004199216A (en) Input data hold device
JPH03153171A (en) Video signal processor and signal processing circuit
JPH02115772A (en) Peak detecting circuit