JP2579340B2 - Analog display device - Google Patents

Analog display device

Info

Publication number
JP2579340B2
JP2579340B2 JP63109742A JP10974288A JP2579340B2 JP 2579340 B2 JP2579340 B2 JP 2579340B2 JP 63109742 A JP63109742 A JP 63109742A JP 10974288 A JP10974288 A JP 10974288A JP 2579340 B2 JP2579340 B2 JP 2579340B2
Authority
JP
Japan
Prior art keywords
data
analog
electronic device
digital data
positive
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 - Lifetime
Application number
JP63109742A
Other languages
Japanese (ja)
Other versions
JPH01278853A (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.)
Subaru Corp
Original Assignee
Fuji Heavy Industries 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 Fuji Heavy Industries Ltd filed Critical Fuji Heavy Industries Ltd
Priority to JP63109742A priority Critical patent/JP2579340B2/en
Publication of JPH01278853A publication Critical patent/JPH01278853A/en
Application granted granted Critical
Publication of JP2579340B2 publication Critical patent/JP2579340B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)
  • Analogue/Digital Conversion (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、電子機器のデジタルデータをアナログデー
タとして表示するアナログ表示装置に関する。
Description: TECHNICAL FIELD The present invention relates to an analog display device that displays digital data of an electronic device as analog data.

[従来の技術] 最近、ほとんどの電子機器は内部データがデジタルデ
ータで処理されており、これらのデジタルデータを表示
させて読み出す場合、上記デジタルデータが高速で変化
するとデータが読取りにくく、またこの様な高速で変化
するデジタルデータを読取るため、ラッチなどの保持回
路を介してデータを表示すると、データの変化に対して
時間遅れがあるためデータの内容が把握しにくく、むし
ろアナログ値として認知した方が分りやすい場合が多々
あった。
[Related Art] Recently, most electronic devices have internal data processed by digital data, and when displaying and reading these digital data, if the digital data changes at a high speed, it is difficult to read the data. Displaying data through a holding circuit such as a latch in order to read digital data that changes at a high speed makes it difficult to grasp the contents of the data because there is a time delay with respect to the data change. There were many cases where it was easy to understand.

このようなアナログ表示装置は、例えば、車輌に搭載
された電子制御装置などの電子機器から出力されるデジ
タルデータを読取り、故障診断を行う車輌診断装置など
にも必要とされている。
Such an analog display device is also required for a vehicle diagnostic device that reads digital data output from an electronic device such as an electronic control device mounted on a vehicle and performs a failure diagnosis.

このような車輌の電子機器のデジタルデータをアナロ
グデータとして表示するものは、実開昭58−124626号公
報に開示されており、これは、車輌に搭載された自動車
エンジン制御装置の自己診断結果をアナログメータを用
いて表示するものである。
Such a device that displays digital data of electronic equipment of a vehicle as analog data is disclosed in Japanese Utility Model Laid-Open No. 58-124626, which discloses a self-diagnosis result of an automobile engine control device mounted on a vehicle. This is displayed using an analog meter.

[発明が解決しようとする課題] しかしながら、この種の電子機器の内部表現にはデジ
タルデータの表現として、符号なしの2進数表現と符号
付きの2の補数表現の2種類があり、通常、アナログメ
ータは2進数表現で指針が振れるようになっている。こ
の場合、例えば8ビットのデータだとすると、00H〜FFH
が上記アナログメータの零点からフルスケールに対応さ
せられる。
[Problems to be Solved by the Invention] However, there are two types of internal data of electronic devices of this kind, that is, an unsigned binary number expression and a signed two's complement expression as digital data expressions. The meter is designed so that the pointer can be swung in binary notation. In this case, for example, if it is 8-bit data, 00H to FFH
Is made to correspond to the full scale from the zero point of the analog meter.

一方、符号付きの2の補数表現のデータをこのアナロ
グメータで表示させると、例えば、−1,0,+1のデータ
はFFH,00H,01Hであるため、上記アナログメータの指示
は、フルスケールから零に戻り、その後+1になるため
指針がバウンスし、かつ指針の遅れなどがあり非常に読
みにくく、特に零付近の+−でのデータの変動が大きい
ものでは、常時指針が大きくバウンスするため、上記ア
ナログメータから値を読取ることができないという問題
があった。
On the other hand, when the data of the two's complement representation with a sign is displayed by this analog meter, for example, since the data of -1,0, + 1 is FFH, 00H, 01H, the instruction of the analog meter is from full scale. Since the pointer bounces back to zero and then becomes +1 and the pointer bounces, and there is a delay in the pointer, etc., it is very difficult to read. There is a problem that the value cannot be read from the analog meter.

[発明の目的] 本発明は上記事情に鑑み、電子機器から出力される正
負の符号付きデジタルデータをアナログ変換してアナロ
グ表示させるに際し、電子機器における各種データのう
ち、必要とするデータのみを得ることができ、電子機器
から送信された正負の符号付きデジタルデータを識別容
易に表示させ、適切にモニタすることが可能なアナログ
表示装置を提供することを目的としている。
[Object of the Invention] In view of the above circumstances, the present invention obtains only necessary data from various data in an electronic device when converting digital data with a plus or minus sign output from the electronic device into analog and displaying the analog data. It is an object of the present invention to provide an analog display device capable of easily displaying digital data with a plus or minus sign transmitted from an electronic device and capable of appropriately monitoring the digital data.

[課題を解決するための手段] 上記目的を達成するため本発明は、電子機器に接続
し、該電子機器におけるデジタルデータを読み込んでア
ナログ変換し、アナログ表示手段に表示するアナログ表
示装置において、必要とするデータの送信を上記電子機
器に対して指示する出力指令手段と、上記出力指定手段
からの送信要求に応じ上記電子機器から送信されたデジ
タルデータを読み込み、該デジタルデータをアナログデ
ータに変換するアナログ変換手段と、上記アナログデー
タを予め設定された設置値と比較してデータの正負を判
定する比較判定手段と、データが正のときには、零点を
定めるために予め設定された第1のオフセット値を上記
アナログデータに加算し、データが負のときには、上記
零点に対応して予め設定された第2のオフセット値を上
記アナログデータから減算する演算手段と、上記アナロ
グ変換手段によるアナログデータと上記演算手段による
加算或いは減算後のアナログデータとを選択的に上記ア
ナログ表示手段に供給する切換手段とを備えたことを特
徴とする。
Means for Solving the Problems In order to achieve the above object, the present invention relates to an analog display device which is connected to an electronic device, reads digital data in the electronic device, converts the digital data, and displays the analog data on an analog display means. Output command means for instructing the electronic device to transmit data to be read, and read digital data transmitted from the electronic device in response to a transmission request from the output designating device, and convert the digital data into analog data. Analog conversion means, comparison determination means for comparing the analog data with a preset setting value to determine whether the data is positive or negative, and when the data is positive, a first offset value preset to determine a zero point Is added to the analog data, and when the data is negative, a second offset set in advance corresponding to the zero point is added. Calculating means for subtracting the analog value from the analog data, and switching means for selectively supplying the analog data by the analog converting means and the analog data after addition or subtraction by the calculating means to the analog display means. It is characterized by the following.

[作用] 本発明では、アナログ表示装置を電子機器に接続して
電子機器におけるデジタルデータをアナログ表示装置に
読み込んで表示させるに際し、上記電子機器に対して必
要とするデータの送信要求を行い、該送信要求に対応し
て電子機器からデジタルデータが送信されると、アナロ
グ表示装置において、電子機器から読み込んだデジタル
データをアナログデータに変換し、このアナログデータ
を予め設定された設定値と比較してデータの正負を判定
する。そして、判定の結果、正のデータのときには、零
点を定めるために予め設定された第1のオフセット値を
上記アナログデータに加算し、負のデータのときには、
上記零点に対応して予め設定された第2のオフセット値
を上記アナログデータから減算し、この加算或いは減算
後のアナログデータと電子機器からのデジタルデータを
アナログ変換したそのままのアナログデータとを選択的
にアナログ表示手段に供給する。
[Operation] In the present invention, when an analog display device is connected to an electronic device and digital data in the electronic device is read and displayed on the analog display device, a request for transmission of necessary data is made to the electronic device. When digital data is transmitted from the electronic device in response to the transmission request, the analog display device converts the digital data read from the electronic device into analog data, and compares the analog data with a preset set value. Determine whether the data is positive or negative. When the result of the determination is positive data, a first offset value set in advance to determine the zero point is added to the analog data, and when the data is negative data,
A second offset value set in advance corresponding to the zero point is subtracted from the analog data, and the added or subtracted analog data and the analog data obtained by converting the digital data from the electronic device into analog data are selectively used. To the analog display means.

[実施例] 以下、図面を参照して本発明の実施例を説明する。Embodiment An embodiment of the present invention will be described below with reference to the drawings.

図面は本発明の一実施例を示し、第1図(a)は電子
機器を有する車輌の外観図、第1図(b)はアナログ表
示手段を有する車輌診断装置の外観図、第2図は車輌の
電子機器と車輌診断装置のブロック図、第3図はアナロ
グメータの表示図である。
1A is an external view of a vehicle having an electronic device, FIG. 1B is an external view of a vehicle diagnostic device having an analog display means, and FIG. FIG. 3 is a block diagram of an electronic device of a vehicle and a vehicle diagnostic device, and FIG. 3 is a display diagram of an analog meter.

第1図において符号100は自動車などの車輌、1は電
子機器の一例であり、車輌100に搭載されて空燃比制御
などを行う電子制御装置(ECU)である。第2図に示す
ように、このECU1の中央処理装置(CPU)2と、読み書
き両用メモリ(RAM)3と、読出し専用メモリ(ROM)4
と、入力インタフェース5と、出力インタフェース6と
がバランス7を介して接続されている。
In FIG. 1, reference numeral 100 denotes a vehicle such as an automobile, and 1 denotes an example of an electronic device, which is an electronic control unit (ECU) mounted on the vehicle 100 and performing an air-fuel ratio control or the like. As shown in FIG. 2, a central processing unit (CPU) 2, a read / write memory (RAM) 3, and a read-only memory (ROM) 4 of the ECU 1
, An input interface 5 and an output interface 6 are connected via a balance 7.

上記入力インタフェース5には、例えば、冷却水温セ
ンサ、O2センサ、吸入管負圧センサ、スロットル開度セ
ンサ、エンジン回転数センサなどの各センサ類からの出
力信号が入力される。
Output signals from sensors such as a cooling water temperature sensor, an O2 sensor, a suction pipe negative pressure sensor, a throttle opening sensor, and an engine speed sensor are input to the input interface 5.

上記ECU1では、上記各種信号を、上記ROM4に格納され
ているプログラムに従って、データ処理し、上記RAM3に
一旦格納した後、上記CPU2で、この格納されているデー
タに基づき種々の演算処理を行い、この演算処理された
データに基づき、上記出力インタフェース6、駆動回路
8を介して、例えば、フュエルポンプソレノイド、キャ
ニスタパージソレノイド、EGRアクチュエータ、アイド
ル制御アクチュエータ、イグニッションコイル、およ
び、インジェクタなどの各アクチュエータ類に制御信号
を出力する。
In the ECU 1, the various signals are subjected to data processing according to a program stored in the ROM 4, and once stored in the RAM 3, the CPU 2 performs various arithmetic processing based on the stored data. Based on the calculated data, the actuators such as a fuel pump solenoid, a canister purge solenoid, an EGR actuator, an idle control actuator, an ignition coil, and an injector via the output interface 6 and the drive circuit 8 are used. Outputs control signal.

ここで、上記ECU1は、コネクタ60を介してアナログ表
示装置を構成する車輌診断装置50に接続され(第1図参
照)、各種の故障診断が行なわれる。上記車輌診断装置
50は、ディーラのサービス工場等に備えるもので、各種
診断に必要なデータを上記ECU1へ送信指示する出力指令
手段10、上記車輌診断装置50に内臓あるいは交換自在に
接続されるアナログ表示制御手段40などから構成されて
いる。
Here, the ECU 1 is connected to a vehicle diagnostic device 50 constituting an analog display device via a connector 60 (see FIG. 1), and various types of failure diagnosis are performed. The above vehicle diagnostic device
Reference numeral 50 is provided at a dealer's service factory or the like, and includes output command means 10 for instructing the ECU 1 to transmit data necessary for various diagnoses to the ECU 1, analog display control means 40 which is built-in or exchangeably connected to the vehicle diagnostic apparatus 50. It is composed of

このアナログ表示制御手段40は、アナログ変換手段と
してのデジタル/アナログ変換器(D/A変換器)15、表
示変換手段20、アナログ表示手段の一例としてのアナロ
グメータ35で構成されている。
The analog display control means 40 includes a digital / analog converter (D / A converter) 15 as an analog conversion means, a display conversion means 20, and an analog meter 35 as an example of an analog display means.

上記車輌診断装置50の操作により、上記出力指令手段
10から上記ECU1へデータの送信を指示すると、上記ECU1
からデジタルデータが送信され、上記D/A変換器15でア
ナログデータに変換され、上記アナログデータ35に出力
される。さらに上記アナログデータは、上記デジタルデ
ータが正負の符号付きデータの場合、第3図に示すよう
に、上記アナログメータ35の指針35aが正負のデータに
対し零点が略中央に来るように、上記表示変換手段20で
変換されてから上記アナログメータ35に出力される。
By operating the vehicle diagnostic device 50, the output command means
When data transmission is instructed from the ECU 10 to the ECU 1, the ECU 1
The digital data is transmitted from the D / A converter 15, converted into analog data by the D / A converter 15, and output to the analog data 35. Further, when the digital data is data with a positive or negative sign, as shown in FIG. 3, the display of the analog data is performed such that the pointer 35a of the analog meter 35 has the zero point substantially at the center with respect to the positive or negative data. The data is converted by the conversion means 20 and output to the analog meter 35.

上記表示変換手段20は、コンパレータ21の反転入力端
子に上記D/A変換器15の出力端子が接続され、一方、こ
のコンパレータ21の非反転入力端子には、両端をプラス
電源とアースとの間に接続した可変抵抗27の摺動端子が
接続されている。上記コンパレータ21の出力端子はイン
バータ22の入力端子とアナログスイッチ23のコントロー
ル端子とに接続されており、上記アナログスイッチ23の
入力端子は、両端をプラス電源とアースとの間に接続し
た可変抵抗28の摺動端子に接続されている。さらに、こ
のアナログスイッチ23の出力端子は抵抗30を介してオペ
アンプ25の反転入力端子に接続されている。
In the display conversion means 20, the output terminal of the D / A converter 15 is connected to the inverting input terminal of the comparator 21, while the non-inverting input terminal of the comparator 21 has both ends connected between the positive power supply and the ground. Is connected to a sliding terminal of a variable resistor 27 connected to the variable resistor 27. An output terminal of the comparator 21 is connected to an input terminal of an inverter 22 and a control terminal of an analog switch 23.An input terminal of the analog switch 23 has a variable resistor 28 having both ends connected between a positive power supply and ground. Are connected to the sliding terminals. Further, the output terminal of the analog switch 23 is connected to the inverting input terminal of the operational amplifier 25 via the resistor 30.

また、上記インバータ22の出力端子はアナログスイッ
チ24のコントロール端子に接続されており、上記アナロ
グスイッチ24の入力端子は、両端をプラス電源とアース
との間に接続した可変抵抗29の摺動端子に接続されてい
る。さらに、このアナログスイッチ24の出力端子は上記
抵抗30を介して上記オペアンプ25の反転入力端子に接続
されている。
The output terminal of the inverter 22 is connected to a control terminal of an analog switch 24, and the input terminal of the analog switch 24 is connected to a sliding terminal of a variable resistor 29 having both ends connected between a positive power supply and the ground. It is connected. Further, the output terminal of the analog switch 24 is connected to the inverting input terminal of the operational amplifier 25 via the resistor 30.

また、上記オペアンプ25は加算器として構成されてお
り、その反転入力端子には、上述に加え、抵抗31を介し
て上記D/A変換器15の出力端子が接続されている。一
方、このオペアンプ25の非反転入力端子はアースされて
おり、また、帰還抵抗32を介して出力端子と反転入力端
子が接続されている。さらに、このオペアンプ25の出力
端子はオペアンプ26の反転入力端子に接続されている。
上記オペアンプ26は反転器として構成され、非反転入力
端子がアースされ、帰還抵抗33を介して出力端子と反転
入力端子が接続されている。さらに、このオペアンプ26
の出力端子は切換手段としてのスイッチSW1の接点Bに
接続されている。
The operational amplifier 25 is configured as an adder, and the inverting input terminal of the operational amplifier 25 is connected to the output terminal of the D / A converter 15 via a resistor 31 in addition to the above. On the other hand, the non-inverting input terminal of the operational amplifier 25 is grounded, and the output terminal and the inverting input terminal are connected via the feedback resistor 32. Further, the output terminal of the operational amplifier 25 is connected to the inverting input terminal of the operational amplifier 26.
The operational amplifier 26 is configured as an inverter, a non-inverting input terminal is grounded, and an output terminal and an inverting input terminal are connected via a feedback resistor 33. In addition, this operational amplifier 26
Is connected to a contact B of a switch SW1 as a switching means.

また、上記スイッチSW1は、接点Aが上記D/A変換器15
の出力端子に接続されている。
The switch SW1 is connected to the D / A converter 15
Output terminal.

ここで、上記ECU1から出力されるデジタルデータが符
号なしのデータの場合は、上記スイッチSW1を接点Aに
接続し、また上記ECU1から出力されるデジタルデータが
符号付きのデータ(2の補数表現のデータ)の場合は、
上記スイッチSW1は接点Bに接続して、上記アナログメ
ータ35に表示させるデータを切換えるようになってい
る。
If the digital data output from the ECU 1 is unsigned data, the switch SW1 is connected to the contact A, and the digital data output from the ECU 1 is signed data (2's complement representation). Data)
The switch SW1 is connected to the contact B to switch data to be displayed on the analog meter 35.

尚、上記コンパレータ21がアナログ変換後のアナログ
データを予め設定された設定値と比較してデータの正負
を判定する比較判定手段を構成し、また、インバータ2
2、アナログスイッチ23,24、可変抵抗28,29、及びオペ
アンプ25により本願発明に係わる演算手段が構成され
る。
The comparator 21 constitutes a comparison / determination means for comparing the analog data after analog conversion with a preset set value to determine whether the data is positive or negative.
2. The analog switches 23 and 24, the variable resistors 28 and 29, and the operational amplifier 25 constitute an arithmetic unit according to the present invention.

次に、上記構成による実施例の動作について第2図及
び第3図に基づいて説明する。
Next, the operation of the embodiment having the above configuration will be described with reference to FIGS.

上記ECU1からのデータが8ビットデータの場合、0000
0000〜11111111としてデジタル信号が出力され、D/A変
換器15に入力される。これを10進数で表すと、0〜255
の範囲でデータが変化する。上記D/A変換器15では、上
記8ビットデータとしてのデジタル信号をアナログ変換
して、このデジタルデータ0〜255(16進数表現で00H〜
FFH、以下数値は10進数で説明)に対応した電圧を出力
する。
If the data from ECU1 is 8-bit data, 0000
Digital signals are output as 0000 to 11111111 and input to the D / A converter 15. Expressing this as a decimal number, 0 to 255
The data changes within the range. The D / A converter 15 converts the digital signal as the 8-bit data into an analog signal, and converts the digital data from 0 to 255 (00H to hexadecimal).
Outputs a voltage corresponding to FFH (the following numbers are described in decimal).

ここで、デジタルデータの表現としては、符号なしの
2進数表現と符号付きの2の補数表現の2種類があり、
上記のいずれかに応じて表示変換手段20のスイッチSW1
を操作する。
Here, there are two types of digital data representations: an unsigned binary representation and a signed two's complement representation.
Switch SW1 of display conversion means 20 according to any of the above
Operate.

(符号なしのデジタルデータ) 通常の符号なしの2進数表現のデジタルデータの場合
には、上記SW1を接点Aに接続する。
(Unsigned Digital Data) In the case of ordinary unsigned binary digital data, SW1 is connected to the contact A.

上記ECU1からのデジタルデータが8ビットデータの場
合、D/A変換器15に入力されたデジタルデータは、0〜2
55の範囲に対応したアナログ電圧に変換される。従っ
て、従来同様にアナログメータ35の零からフルスケール
に0〜255のデジタルデータを対応させることにより、
上記D/A変換器15で変換されたアナログデータをアナロ
グメータ35に表示させることができる。
When the digital data from the ECU 1 is 8-bit data, the digital data input to the D / A converter 15 is 0 to 2
It is converted to an analog voltage corresponding to the range of 55. Therefore, by associating the digital data from 0 to 255 from zero to full scale of the analog meter 35 as in the past,
The analog data converted by the D / A converter 15 can be displayed on the analog meter 35.

(符号付きのデジタルデータ) 上記ECU1からの8ビットデータが符号付きの2の補数
表現のデータの場合には、上記SW1を接点Bに接続す
る。
(Signed Digital Data) When the 8-bit data from the ECU 1 is signed 2's complement data, the SW 1 is connected to the contact B.

すると、上記D/A変換器15で変換されたアナログ出力
電圧はそのままでは正負の対応が不明のため、コンパレ
ータ21の反転入力端子に入力されデータの正負の比較判
定される。
Then, since the analog output voltage converted by the D / A converter 15 is unclear as to whether it is positive or negative, the analog output voltage is input to the inverting input terminal of the comparator 21 and the data is compared for positive / negative.

ここで、公知のように、8ビットデータにおける正負
を表現するには、最上位ビット(MSB)で正負を表現
し、残りの7ビットで数値を表現する。MSBが0のとき
正の数、MSBが1のとき負の数である。そして負の数を
表現するには2の補数表現を使う。表現できる正の数は
7ビットがすべて1の時、すなわち01111111までで+12
7であり、表現できる負の数は7ビットがすべて0の
時、すなわち10000000までで、これは通常の符号なしの
2進数表現では128であるが、2の補数表現とは全ビッ
トを反転し(1の補数)1を加えたものであるから、−
128で表す。すなわち、8ビットの0〜255の範囲で+12
7〜−128を表現する。
Here, as is well known, to express the sign of the 8-bit data, the most significant bit (MSB) represents the sign and the remaining 7 bits represent the numerical value. When the MSB is 0, it is a positive number, and when the MSB is 1, it is a negative number. To represent a negative number, two's complement representation is used. The positive number that can be represented is +12 when all 7 bits are 1, ie, up to 01111111.
The negative number that can be represented is 7 when all 7 bits are 0, that is, up to 10000000, which is 128 in the usual unsigned binary representation, but the two's complement representation inverts all bits. (1's complement) Since 1 is added,-
Expressed as 128. That is, +12 in the range of 8-bit 0 to 255
Represents 7 to -128.

従って、上記D/A変換器15で変換されたアナログ出力
電圧が正の数あるいは負の数のいずれに対応するかを判
定するには、上記アナログ出力電圧が127に対応する電
圧より大きいか小さいかを比較すれば良い。
Accordingly, in order to determine whether the analog output voltage converted by the D / A converter 15 corresponds to a positive number or a negative number, the analog output voltage is larger or smaller than the voltage corresponding to 127. You can compare them.

(正のデータ) ここで、上記コンパレータ21の非反転入力端子には、
可変抵抗27により調整され、予め設定された設定値とし
て127に対応した基準電圧が印加されており、上記D/A変
換器15からの上記コンパレータ21の反転入力端子への入
力電圧が、127に対応する電圧以下の場合(すなわち、
正のデータの場合)、上記コンパレータ21はハイレベル
信号を出力し、アナログスイッチ23のコントロール端子
に入力される。さらに、上記コンパレータ21の出力は、
インバータ22に入力されて反転され、ローレベル信号と
して上記インバータ22から出力され、もう一方のアナロ
グスイッチ24のコントロール端子に入力される。
(Positive data) Here, the non-inverting input terminal of the comparator 21
Adjusted by the variable resistor 27, a reference voltage corresponding to 127 is applied as a preset set value, and the input voltage from the D / A converter 15 to the inverting input terminal of the comparator 21 becomes 127. Below the corresponding voltage (ie,
In the case of positive data), the comparator 21 outputs a high-level signal and is input to the control terminal of the analog switch 23. Further, the output of the comparator 21 is
The signal is input to the inverter 22, inverted, output as a low-level signal from the inverter 22, and input to the control terminal of the other analog switch 24.

上記アナログスイッチ23及び24は、上記コントロール
端子に入力される信号がハイレベルの時オンして、入力
端子に加えられた信号を出力する。従って、上記アナロ
グスイッチ23がオンして、一方上記アナログスイッチ24
はオフしている。
The analog switches 23 and 24 are turned on when a signal input to the control terminal is at a high level, and outputs a signal applied to the input terminal. Therefore, the analog switch 23 is turned on, while the analog switch 24 is turned on.
Is off.

ここで、上記アナログスイッチ23は、入力端子に可変
抵抗28により調整され128に対応する電圧が印加されて
おり、従って上記128に対応する電圧が出力される。
Here, the analog switch 23 has its input terminal adjusted by the variable resistor 28 to apply the voltage corresponding to 128, and therefore outputs the voltage corresponding to 128.

ここで、上記128に対応した電圧は、通常の符号なし
2進数での上記アナログメータ35のフルスケール値255
から、7ビットで表現できる数の最大値127を引いた値
に対応するものであり、零点を定めるために予め設定さ
れた第1のオフセット値に相当し、アナログメータ35で
表示される正のデータの零点を、上記アナログメータ35
の表示の略中央に定めるものである。
Here, the voltage corresponding to 128 is a full-scale value 255 of the analog meter 35 in a normal unsigned binary number.
Corresponds to a value obtained by subtracting the maximum value 127 of a number that can be represented by 7 bits, and corresponds to a first offset value set in advance to determine the zero point, and is a positive offset value displayed on the analog meter 35. Use the analog meter 35
Is set at approximately the center of the display.

次に、上記D/A変換器15の出力電圧と上記アナログス
イッチ23の出力電圧が、それぞれ抵抗31および抵抗30を
介して、オペアンプ25の反転入力端子に入力される。上
記オペアンプ25は、帰還抵抗32を介して、出力の反転す
る加算器として動作し、上記D/A変換器15の出力電圧と
上記アナログスイッチ23の出力電圧が加算反転されて出
力される。さらに、この加算反転された電圧は、オペア
ンプ26の反転入力端子に入力され、上記オペアンプ26と
帰還抵抗33で構成される反転器により極性がもとに戻さ
れ、スイッチSW1の接点Bを通して上記アナログメータ3
5の指針35aを振らせる。
Next, the output voltage of the D / A converter 15 and the output voltage of the analog switch 23 are input to the inverting input terminal of the operational amplifier 25 via the resistors 31 and 30, respectively. The operational amplifier 25 operates as an adder for inverting the output via the feedback resistor 32. The output voltage of the D / A converter 15 and the output voltage of the analog switch 23 are added and inverted and output. Further, the added and inverted voltage is input to the inverting input terminal of the operational amplifier 26, the polarity is returned to the original by the inverter constituted by the operational amplifier 26 and the feedback resistor 33, and the analog is passed through the contact B of the switch SW1. Meter 3
The pointer 35a of 5 is shaken.

すなわち、第3図に示すように、上記アナログメータ
35に入力される電圧は、上記D/A変換器15の出力電圧
に、128に対応する電圧がオフセットとして加算された
電圧であるため、指針35aは、零点が上記128に対応する
電圧分だけ加算シフトして振らされ、正のデータを指示
する。
That is, as shown in FIG.
Since the voltage input to 35 is a voltage obtained by adding the voltage corresponding to 128 to the output voltage of the D / A converter 15 as an offset, the pointer 35a has a zero point corresponding to the voltage corresponding to 128. It is shaken with an additional shift, indicating positive data.

従って、上記ECU1からのデジタルデータが正のデータ
の場合、上記アナログメータ35の中央を零点として正の
データがアナログ表示される。
Therefore, when the digital data from the ECU 1 is positive data, the positive data is displayed in analog with the center of the analog meter 35 as a zero point.

(負のデータ) 一方、上記D/A変換器15からの上記コンパレータ21の
反転入力端子への入力電圧が、127に対応する電圧より
大きい場合(すなわち、負のデータの場合)、上記コン
パレータ21はローレベル信号を出力し、上述したように
上記アナログスイッチ23をオフし、一方、上記アナログ
スイッチ24はインバータ22により反転されたハイレベル
信号によりオンする。
(Negative data) On the other hand, when the input voltage from the D / A converter 15 to the inverting input terminal of the comparator 21 is higher than the voltage corresponding to 127 (that is, in the case of negative data), the comparator 21 Outputs a low-level signal and turns off the analog switch 23 as described above, while the analog switch 24 is turned on by the high-level signal inverted by the inverter 22.

ここで、上記アナログスイッチ24は、入力端子に可変
抵抗29により調整され−128に対応する電圧が印加され
ており、従って上記−128に対応する電圧が出力され
る。
Here, the analog switch 24 has its input terminal adjusted by the variable resistor 29 to apply a voltage corresponding to -128, and therefore outputs a voltage corresponding to -128.

すると上記オペアンプ25と帰還抵抗32からなる加算器
にて、同様に、上記D/A変換器15の出力電圧と上記アナ
ログスイッチ24の−128に対応する出力電圧が加算(減
算)反転されて出力される。さらに、この加算(減算)
反転された電圧は、上記オペアンプ26と帰還抵抗33で構
成される反転器により極性がもとに戻され、上記スイッ
チSW1の接点Bを通してアナログメータ35の指針35aを振
らせる。
Then, the output voltage of the D / A converter 15 and the output voltage corresponding to -128 of the analog switch 24 are similarly added (subtracted) and inverted by an adder including the operational amplifier 25 and the feedback resistor 32, and output. Is done. Furthermore, this addition (subtraction)
The polarity of the inverted voltage is returned to its original state by an inverter constituted by the operational amplifier 26 and the feedback resistor 33, and the pointer 35a of the analog meter 35 is swung through the contact B of the switch SW1.

すなわち、第3図に示すように、上記アナログメータ
35に入力される電圧は、上記D/A変換器15の出力電圧か
ら、上記零点に対応して予め設定された第2のオフセッ
ト値としての128に対応する電圧を減算(−128に対応す
る電圧を加算)した電圧であるため、同様に、上記アナ
ログメータ35の指針35aは、零点が上記128に対応する電
圧分だけ減算シフトして振らされ、負のデータを指示す
る。
That is, as shown in FIG.
The voltage input to 35 is obtained by subtracting a voltage corresponding to 128 as a second offset value set in advance corresponding to the zero point from the output voltage of the D / A converter 15 (corresponding to -128). Similarly, since the voltage is a voltage obtained by adding the voltage, the pointer 35a of the analog meter 35 is similarly deflected by shifting the zero point by a voltage corresponding to the above-described 128, and indicates the negative data.

従って、上記ECU1からのデジタルデータが負のデータ
の場合、上記アナログメータ35の略中央を零点として、
上述の正のデータの場合とは逆方向に負のデータがアナ
ログ表示される。
Therefore, when the digital data from the ECU 1 is negative data, the approximate center of the analog meter 35 is set to a zero point,
Negative data is displayed in an analog display in the direction opposite to that of the above-described positive data.

以上説明したように、上記ECU1から出力される正負の
符号付きデータが、上記アナログメータ35の表示の略中
央を零点として、正のデータ、負のデータが振分けられ
てアナログ表示されるため、零付近の+−でのデータの
変動に対しても、指針35aのバウンスが押えられ、ま
た、正負のデータが容易に識別できる。
As described above, the positive and negative signed data output from the ECU 1 is displayed in an analog manner with the positive data and the negative data sorted and displayed in an analog manner with the substantially center of the display of the analog meter 35 as the zero point. The bounce of the pointer 35a is suppressed even for the fluctuation of the data in the vicinity of +-, and positive and negative data can be easily identified.

尚、本実施例では、上記表示変換手段20はアナログ回
路として説明したが、アナログ回路に限らずデジタル回
路あるいはコンピュータのソフトウェアにても実現可能
であり、同様な作用効果が得られる。
In the present embodiment, the display conversion means 20 has been described as an analog circuit. However, the display conversion means 20 can be realized not only by an analog circuit but also by a digital circuit or software of a computer, and similar effects can be obtained.

[発明の効果] 以上説明したように本発明によれば、アナログ表示装
置を電子機器に接続して電子機器におけるデジタルデー
タをアナログ表示装置に読み込んで表示させるに際し、
上記電子機器に対して必要とするデータの送信要求を行
い、該送信要求に対応して電子機器からデジタルデータ
が送信されると、アナログ表示装置において、電子機器
から読み込んだデジタルデータをアナログデータに変換
し、このアナログデータを予め設定された設定値と比較
してデータの正負を判定する。そして、判定の結果、正
のデータのときには、零点を定めるために予め設定され
た第1のオフセット値を上記アナログデータに加算し、
負のデータのときには、上記零点に対応して予め設定さ
れた第2のオフセット値を上記アナログデータから減算
し、この加算或いは減算後のアナログデータをアナログ
表示手段に供給するため、電子機器における各種データ
のうち、必要とするデータのみを逐次選択指定して採取
しアナログ表示手段に表示させることができると共に、
電子機器から送信された正負の符号付きデジタルデータ
を、その正負に応じ零点を境としてアナログ表示手段に
左右に振り分けて適正に表示することが可能となり、正
負の符号付きデジタルデータの値を識別容易に表示する
ことができて適切にモニタすることができる。従って、
作業者にとって、電子機器から出力される正負の符号付
きデジタルデータのアナログ表示手段からの値が読み取
り易くなり、誤判断を生じることなく、正負の符号付き
デジタルデータの解析作業性が大幅に向上する。
[Effects of the Invention] As described above, according to the present invention, when an analog display device is connected to an electronic device and digital data in the electronic device is read and displayed on the analog display device,
A request for transmission of necessary data is made to the electronic device, and when digital data is transmitted from the electronic device in response to the transmission request, the digital data read from the electronic device is converted into analog data in the analog display device. After the conversion, the analog data is compared with a preset value to determine whether the data is positive or negative. If the result of the determination is positive data, a first offset value set in advance to determine a zero point is added to the analog data,
In the case of negative data, a second offset value set in advance corresponding to the zero point is subtracted from the analog data, and the added or subtracted analog data is supplied to analog display means. Of the data, only the necessary data can be sequentially selected and designated, collected and displayed on the analog display means,
Signed digital data transmitted from the electronic device can be properly displayed on the analog display means, with the zero point as a boundary, according to the sign, so that the value of the signed digital data can be easily identified. And can be monitored appropriately. Therefore,
For the operator, the value of the digital data with the positive and negative signs output from the electronic device can be easily read from the analog display means, and the operability of analyzing the digital data with the positive and negative signs is greatly improved without erroneous determination. .

また、電子機器からのデジタルデータをアナログ変換
したそのままのデータと第1のオフセット値を加算或い
は第2のオフセット値を減算後のアナログデータとを選
択的にアナログ表示手段に供給するため、正負の符号無
しのデータの場合にはアナログ表示手段のフルスケール
に対応してデータを表示することができてデータを見や
すく表示することができ、また、正負の符号付きのデー
タの場合には、その正負に応じ零点を境としてアナログ
表示手段に左右に振り分けて適正に表示することがで
き、取り扱い性に優れる効果を有する。
Further, since the analog data obtained by converting the digital data from the electronic device into analog data and the analog data obtained by adding the first offset value or subtracting the second offset value are selectively supplied to the analog display means, In the case of unsigned data, the data can be displayed according to the full scale of the analog display means, so that the data can be displayed in an easy-to-read manner. Therefore, the data can be distributed to the left and right on the analog display means with the zero point as a boundary, and can be properly displayed, which has an effect of being excellent in handleability.

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

図面は本発明の一実施例を示し、第1図(a)は電子機
器を有する車輌の外観図、第1図(b)はアナログ表示
手段を有する車輌診断装置の外観図、第2図は車輌の電
子機器と車輌診断装置のブロック図、第3図はアナログ
メータの表示図である。 1……電子制御装置(電子機器) 10……出力指定手段 15……D/A変換器(アナログ変換手段) 21……コンパレータ(比較判定手段) 35……アナログメータ(アナログ表示手段) 50……車輌診断装置(アナログ表示装置) SW1……スイッチ(切換手段)
1A is an external view of a vehicle having an electronic device, FIG. 1B is an external view of a vehicle diagnostic device having an analog display means, and FIG. FIG. 3 is a block diagram of an electronic device of a vehicle and a vehicle diagnostic device, and FIG. 3 is a display diagram of an analog meter. 1 ... Electronic control device (Electronic equipment) 10 ... Output designating means 15 ... D / A converter (Analog converting means) 21 ... Comparator (Comparison determining means) 35 ... Analog meter (Analog displaying means) 50 ... … Vehicle diagnostic device (analog display device) SW1 …… Switch (switching means)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】電子機器に接続し、該電子機器におけるデ
ジタルデータを読み込んでアナログ変換し、アナログ表
示手段に表示するアナログ表示装置において、 必要とするデータの送信を上記電子機器に対して指示す
る出力指令手段と、 上記出力指定手段からの送信要求に応じ上記電子機器か
ら送信されたデジタルデータを読み込み、該デジタルデ
ータをアナログデータに変換するアナログ変換手段と、 上記アナログデータを予め設定された設置値と比較して
データの正負を判定する比較判定手段と、 データが正のときには、零点を定めるために予め設定さ
れた第1のオフセット値を上記アナログデータに加算
し、データが負のときには、上記零点に対応して予め設
定された第2のオフセット値を上記アナログデータから
減算する演算手段と、 上記アナログ変換手段によるアナログデータと上記演算
手段による加算或いは減算後のアナログデータとを選択
的に上記アナログ表示手段に供給する切換手段とを備え
たことを特徴とするアナログ表示装置。
1. An analog display device which is connected to an electronic device, reads digital data in the electronic device, converts the digital data into analog data, and displays the analog data on an analog display means, and instructs the electronic device to transmit necessary data. Output command means, analog conversion means for reading digital data transmitted from the electronic device in response to a transmission request from the output designation means, and converting the digital data into analog data; A comparison determining means for comparing the value with a value to determine whether the data is positive or negative; if the data is positive, a first offset value set in advance to determine a zero point is added to the analog data; if the data is negative, Calculating means for subtracting a second offset value set in advance corresponding to the zero point from the analog data; A switching means for selectively supplying the analog data by the analog conversion means and the analog data after addition or subtraction by the calculation means to the analog display means.
JP63109742A 1988-05-02 1988-05-02 Analog display device Expired - Lifetime JP2579340B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63109742A JP2579340B2 (en) 1988-05-02 1988-05-02 Analog display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63109742A JP2579340B2 (en) 1988-05-02 1988-05-02 Analog display device

Publications (2)

Publication Number Publication Date
JPH01278853A JPH01278853A (en) 1989-11-09
JP2579340B2 true JP2579340B2 (en) 1997-02-05

Family

ID=14518094

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63109742A Expired - Lifetime JP2579340B2 (en) 1988-05-02 1988-05-02 Analog display device

Country Status (1)

Country Link
JP (1) JP2579340B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50147267A (en) * 1974-05-15 1975-11-26
JPS57180229A (en) * 1981-04-30 1982-11-06 Hitachi Ltd Digital-to-analog converter

Also Published As

Publication number Publication date
JPH01278853A (en) 1989-11-09

Similar Documents

Publication Publication Date Title
US4926330A (en) Diagnosis system for a motor vehicle
US7643916B2 (en) Vehicle state tracking method and apparatus for diagnostic testing
US5050080A (en) Diagnostic system for a motor vehicle
US5003477A (en) Diagnosis system for a motor vehicle
JP2844815B2 (en) Vehicle electronic control unit
US4964049A (en) Diagnosis system for a motor vehicle
JP2579340B2 (en) Analog display device
JP2000018974A (en) Driver for auxiliary meter
JPH0833306B2 (en) Vehicle diagnostic device and analog display method for vehicle diagnostic device
JP2935382B2 (en) Failure diagnosis method
JP3381562B2 (en) Potentiometer abnormality detector
JPH0715427B2 (en) Car failure diagnostic device
CN115575715A (en) Wire resistance compensation device and method of three-core differential resistance type instrument
JP3440345B2 (en) Rotation speed control device
JPS5833582B2 (en) Data bus monitor device
JP2949940B2 (en) Self-diagnosis device for D / A converter
SU744966A1 (en) Device for testing voltage-to-code converters
JP3032536B2 (en) Monitoring device
KR910007631Y1 (en) Analog data monitoring circuit for cpu
JPH076877B2 (en) Car failure diagnostic device
JP2548023Y2 (en) Key input device
SU1325416A1 (en) Device for diagnosis of object
SU677096A1 (en) Digital voltage meter
SU1032462A2 (en) Device for determining gain factor of analog computer unit
JPH0218740B2 (en)

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20071107

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20081107

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081107

Year of fee payment: 12