JPH05242386A - Apparatus using one-chip microcomputer - Google Patents

Apparatus using one-chip microcomputer

Info

Publication number
JPH05242386A
JPH05242386A JP3127962A JP12796291A JPH05242386A JP H05242386 A JPH05242386 A JP H05242386A JP 3127962 A JP3127962 A JP 3127962A JP 12796291 A JP12796291 A JP 12796291A JP H05242386 A JPH05242386 A JP H05242386A
Authority
JP
Japan
Prior art keywords
chip microcomputer
input
input terminals
terminals
terminal
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
JP3127962A
Other languages
Japanese (ja)
Inventor
Mitsuru Kawamura
満 川村
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.)
Toshiba Home Technology Corp
Original Assignee
Toshiba Home Technology Corp
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 Toshiba Home Technology Corp filed Critical Toshiba Home Technology Corp
Priority to JP3127962A priority Critical patent/JPH05242386A/en
Publication of JPH05242386A publication Critical patent/JPH05242386A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To secure safeness by surely detecting the generation of an event like short-circuiting between input terminals including A/D converters and informing of the detected result, or executing the inhibition or the like of load control in an apparatus for controlling load by using an one-chip microcomputer. CONSTITUTION:Voltage dividing circuits respectively consisting of sensors 4, 5 and resistors 6, 7 prepared so that voltage values inputted to respective input terminals do not coincide with each other are connected to adjacent terminals I0, I1 respectively, including A/D conversion parts and a buzzer device 2 for generating an alarm. When the absolute value of a difference between digital data respectively obtained from the terminals I0, I1 does not exceed a tolerance T, load control is stopped and alarm based upon the buzzer device 2 is executed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、A/D(アナログ/
デジタル)変換器を内蔵した入力端子が複数設けられた
ワンチップマイクロコンピュータを使用した機器に関す
る。
BACKGROUND OF THE INVENTION The present invention relates to A / D (analog /
The present invention relates to a device using a one-chip microcomputer provided with a plurality of input terminals each having a built-in (digital) converter.

【0002】[0002]

【従来の技術】従来、この種のワンチップマイクロコン
ピュータを使用した機器としては例えば気化式暖房装置
がある。すなわち気化式暖房装置ではA/D変換器を内
蔵した2つの入力端子の一方に室温を検知するサーミス
タと抵抗の直列分圧回路の分圧出力を入力するとともに
他方に灯油を気化させる気化器の温度を検知するサーミ
スタと抵抗の直列分圧回路の分圧出力を入力し、気化器
の温度が燃焼開始に適した温度まで上昇するとタンクか
ら灯油を気化器に供給して気化ガスを発生させてバーナ
で点火させ燃焼動作を開始させるようになっている。そ
して燃焼動作中においては室温が設定温度になるように
燃焼動作が制御されるようになっている。
2. Description of the Related Art Conventionally, as a device using this type of one-chip microcomputer, there is, for example, a vaporization type heating device. That is, in the vaporization type heating device, the divided output of the series voltage dividing circuit of the thermistor for detecting the room temperature is input to one of the two input terminals having the built-in A / D converter, and the other of the vaporizers for vaporizing kerosene is input. Input the partial pressure output of the temperature dividing thermistor that detects the temperature and the resistor, and when the carburetor temperature rises to a temperature suitable for starting combustion, supply kerosene from the tank to the carburetor to generate vaporized gas. The burner is ignited to start the combustion operation. During the combustion operation, the combustion operation is controlled so that the room temperature becomes the set temperature.

【0003】このような暖房装置において、ワンチップ
マイクロコンピュータの入力端子を構成する入力ピンの
間に誤って半田ボール等の導電物の屑が挟まることが発
生すると各入力ピン間が短絡されるため各入力端子の入
力レベルが略同一になってしまう問題がある。このよう
な問題は製造段階での検査においては発生しなくても、
製品の輸送過程での振動や機器の稼働、停止によるヒー
トサイクル等によって導電物の屑が入力ピン間に挟まる
場合もある。
In such a heating device, when input chips forming the input terminals of the one-chip microcomputer are accidentally pinched with scraps of a conductive material such as a solder ball, the input pins are short-circuited. There is a problem that the input levels of the respective input terminals become substantially the same. Even if such a problem does not occur in the inspection at the manufacturing stage,
In some cases, scraps of the conductive material may be caught between the input pins due to heat cycles caused by vibrations during the transportation process of the product, operation or stop of the equipment.

【0004】[0004]

【発明が解決しようとする課題】ところで上述した暖房
装置において室温を検知するサーミスタと抵抗の直列分
圧回路の分圧出力レベルの変化範囲と気化器の温度を検
知するサーミスタと抵抗の直列分圧回路の分圧出力レベ
ルの変化範囲が異なる場合に各入力ピン間に導電物の屑
が挟まって各入力端子の入力レベルが略同一になること
が発生すると、気化器温度が十分に加熱されないうちに
灯油が供給されたり、室温制御ができなくなるなどの問
題が発生する。また他の機器においては負荷制御が正常
にできなくなってかなりの危険を招く虞もある。
By the way, in the above heating device, the series division voltage of the thermistor and the resistor for detecting the room temperature and the series division voltage of the thermistor and the resistor for detecting the temperature of the carburetor, and the range of the divided output level of the voltage division output circuit of the series voltage dividing circuit of the thermistor and the resistor. If the level of the divided voltage output of the circuit changes and the input level of each input terminal becomes almost the same due to the inclusion of conductive waste between the input pins, the carburetor temperature will not be sufficiently heated. Problems such as kerosene being supplied to the room and room temperature control becoming impossible occur. Further, in other devices, load control may not be performed normally, which may cause a considerable risk.

【0005】そこでこの発明は、A/D変換器が内蔵さ
れた入力端子が複数設けられたワンチップマイクロコン
ピュータを使用して負荷制御するものにおいて、A/D
変換器を内蔵した入力端子間が短絡する事態が発生した
場合に、それを確実に検出して報知あるいは負荷制御の
禁止等、安全性を確保できるワンチップマイクロコンピ
ュータを使用した機器を提供することを目的とする。
Therefore, according to the present invention, load control is performed by using a one-chip microcomputer provided with a plurality of input terminals each having a built-in A / D converter.
To provide a device using a one-chip microcomputer capable of ensuring safety such as a detection of a situation where a short circuit occurs between input terminals having a built-in converter and notification of the situation or prohibition of load control. With the goal.

【0006】[0006]

【課題を解決するための手段】この発明は、アナログ/
デジタル変換器を内蔵した入力端子が複数設けられたワ
ンチップマイクロコンピュータを使用して負荷を制御す
る機器において、各入力端子のうち入力レベル範囲の異
なる隣り合った2つの入力端子に入力される電圧信号の
デジタル値の差が予め設定された値以上あるか否かを判
断する判断手段と、この判断手段がデジタル値の差が予
め設定された値以上ではないと判断したとき、警告報知
及び負荷制御の禁止の少なくとも一方を行う制御手段と
を設けたものである。
The present invention is an analog / digital
In a device that controls a load using a one-chip microcomputer that has multiple input terminals with built-in digital converters, the voltage input to two adjacent input terminals with different input level ranges A judgment means for judging whether or not the difference between the digital values of the signals is equal to or larger than a preset value, and a warning notification and a load when the judgment means judges that the difference between the digital values is not equal to or larger than the preset value. A control means for performing at least one of prohibition of control is provided.

【0007】[0007]

【作用】このような構成の本発明において、アナログ/
デジタル変換器を内蔵した入力レベル範囲の異なる隣り
合った2つの入力端子には、通常異なる電圧が入力され
る。従って、それらの電圧値をアナログ/デジタル変換
したデジタル値の差は、予め設定された値以上となる。
In the present invention having such a structure, analog /
Different voltages are normally input to two adjacent input terminals having different input level ranges and having a built-in digital converter. Therefore, the difference between the digital values obtained by analog-to-digital conversion of those voltage values is equal to or greater than the preset value.

【0008】例えばもし、その隣り合う入力端子間に半
田ボールが挟まる等により、隣り合う入力端子が導通状
態になっていると、それらの入力端子に入力されている
電圧は同一となり、従って、アナログ/デジタル変換し
たデジタル値の差は予め設定された値以上とはならな
い。
If adjacent input terminals are brought into conduction by, for example, sandwiching a solder ball between the input terminals adjacent to each other, the voltages input to the input terminals become the same, and therefore, the analog voltage is applied. / The difference between the digital values that have been digitally converted does not exceed a preset value.

【0009】すると、判断手段により、隣り合う2つの
入力端子のデジタル値の差が予め設定された値以上では
ないと判断され、制御手段により、警告の報知又は負荷
制御の禁止の少なくとも一方が行われる。
Then, the judgment means judges that the difference between the digital values of the two adjacent input terminals is not more than a preset value, and the control means carries out at least one of the warning notification and the load control prohibition. Be seen.

【0010】[0010]

【実施例】以下、この発明の一実施例を図面を参照して
説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0011】図1において、1はワンチップマイクロコ
ンピュータで、制御部本体を構成するCPU(中央処理
装置)、前記ワンチップマイクロコンピュータ1(すな
わちCPU)が行う処理のプログラムデータが記憶され
たROM(リード・オンリー・メモリ)、各種メモリの
エリアが形成されたRAM(ランダム・アクセス・メモ
リ)等から構成されている。さらに前記ワンチップマイ
クロコンピュータ1の隣り合う入力端子のI0 端子1a
及びI1 端子1bにはそれぞれA/D変換部が内蔵され
ている。また、Vcc端子1cに電源Vccが供給され、V
ss端子1dにグランド(0V)が接続されている。さら
に、前記ワンチップマイクロコンピュータ1の出力端子
のO0 端子1eにはブザー装置(BZ)2が接続され、
他のOx端子1fにはそれぞれリレー、トランジスタ等
の半導体素子を介してヒータ、モータ、ソレノイド等の
負荷3が接続されている。
In FIG. 1, reference numeral 1 denotes a one-chip microcomputer, which is a CPU (central processing unit) which constitutes the main body of the control unit, and a ROM (in which program data of processing performed by the one-chip microcomputer 1 (that is, CPU) is stored. It is composed of a read only memory), a RAM (random access memory) in which areas of various memories are formed, and the like. Furthermore, the I0 terminal 1a of the adjacent input terminals of the one-chip microcomputer 1
A / D converter is built in each of the I1 terminal 1b and the I1 terminal 1b. Further, the power supply Vcc is supplied to the Vcc terminal 1c,
A ground (0V) is connected to the ss terminal 1d. Further, a buzzer device (BZ) 2 is connected to the O0 terminal 1e of the output terminal of the one-chip microcomputer 1,
Loads 3 such as a heater, a motor and a solenoid are connected to the other Ox terminals 1f via semiconductor elements such as relays and transistors.

【0012】A/D変換部が内蔵された前記I0 端子1
a及びI1 端子1bは、それぞれサーミスタ等の可変抵
抗形のセンサ4、5を介して電源Vccに接続されると共
に、それぞれ抵抗6、7を介してグランドに接続されて
いる。従って、電源Vcc−グランド間を前記センサ4と
前記抵抗6とで分圧された電圧が前記I0 端子1aに入
力され、同様に電源Vcc−グランド間を前記センサ5と
前記抵抗7とで分圧された電圧が前記I1 端子1bに入
力される。ここで前記センサ4、5の特性仕様及び前記
抵抗6、7の抵抗値は、前記I0 端子1aとI1 端子1
bに入力される電圧が一致しないように選択設定されて
いる。図2に前記ワンチップマイクロコンピュータ1が
行う導通検査の処理の流れを示す。
The I0 terminal 1 having a built-in A / D converter
The a and I1 terminals 1b are connected to the power source Vcc via variable resistance type sensors 4 and 5 such as thermistors, and are also connected to the ground via resistors 6 and 7, respectively. Therefore, the voltage divided between the power source Vcc and the ground by the sensor 4 and the resistor 6 is input to the I0 terminal 1a, and similarly, the voltage between the power source Vcc and the ground is divided by the sensor 5 and the resistor 7. The generated voltage is input to the I1 terminal 1b. Here, the characteristic specifications of the sensors 4 and 5 and the resistance values of the resistors 6 and 7 are as follows.
It is selectively set so that the voltages input to b do not match. FIG. 2 shows the flow of the continuity inspection process performed by the one-chip microcomputer 1.

【0013】I0 端子1aに入力された電圧をA/D変
換し、それにより得たデジタルデータをワンチップマイ
クロコンピュータ1内のRAMに形成されたエリア「M
0 メモリ」に記憶する。
The voltage inputted to the I0 terminal 1a is A / D converted, and the digital data obtained thereby is converted into an area "M" formed in the RAM in the one-chip microcomputer 1.
0 memory ”.

【0014】次にI1 端子1bに入力された電圧をA/
D変換し、それにより得たデジタルデータをワンチップ
マイクロコンピュータ1内のRAMに形成されたエリア
「M1 メモリ」に記憶する。
Next, the voltage input to the I1 terminal 1b is converted to A /
D conversion is performed, and the digital data obtained thereby is stored in an area "M1 memory" formed in the RAM in the one-chip microcomputer 1.

【0015】そこで、「M0 メモリ」に記憶されたデジ
タルデータから「M1 メモリ」に記憶されたデジタルデ
ータを減算して絶対値をとり、そのデジタルデータの差
の絶対値の値が公差T以上か否かを判断し(判断手
段)、公差T以上でなければ、負荷制御を停止して、ブ
ザー装置2を作動させて警報を行い、以降負荷3への通
電が禁止されてエラー処理が行われるようになっている
(制御手段)。
Therefore, the digital data stored in the "M1 memory" is subtracted from the digital data stored in the "M0 memory" to obtain an absolute value, and whether the absolute value of the difference between the digital data is the tolerance T or more. Whether or not it is judged (judgment means), if it is not the tolerance T or more, the load control is stopped, the buzzer device 2 is operated to give an alarm, and thereafter, energization to the load 3 is prohibited and error processing is performed. It becomes like this (control means).

【0016】また、I0 端子1a及びI1 端子1bから
それぞれ得たデジタルデータの差の絶対値の値が公差T
以上であれば、通常の負荷制御の処理へ移行して、この
導通検査の処理を終了する。
The absolute value of the difference between the digital data obtained from the I0 terminal 1a and the I1 terminal 1b is the tolerance T.
If it is above, it will shift to normal load control processing, and this continuity inspection processing will be ended.

【0017】このような構成の本実施例においては、A
/D変換部が内蔵され、隣り合って設けられているI0
端子1a及びI1 端子1bに入力される電圧が一致しな
いようにセンサ4、5及び抵抗6、7が選定設定されて
おり、通常は負荷制御が行われる。
In the present embodiment having such a configuration, A
The I / D converter is built in and is provided adjacent to each other.
The sensors 4 and 5 and the resistors 6 and 7 are selected and set so that the voltages input to the terminals 1a and I1 terminals 1b do not match, and normally load control is performed.

【0018】例えば半田ボール等がI0 端子1aとI1
端子1bの間に挟まった場合など、I0 端子1aとI1
端子1bとが導通状態になった場合には、I0 端子1a
及びI1 端子1bに入力される電圧は同値となる。
For example, a solder ball or the like is connected to the I0 terminals 1a and I1.
When it is sandwiched between terminals 1b, I0 terminals 1a and I1
When the terminal 1b becomes conductive, the I0 terminal 1a
And the voltage input to the I1 terminal 1b has the same value.

【0019】従って、同地の電圧値をA/D変換したデ
ジタルデータもまた、少なくとも公差T内において一致
する。その結果、負荷制御が停止されブザー装置2が作
動して警報が発生することになる。また、さらに負荷3
への通電が禁止されてエラー処理が行われる。
Therefore, the digital data obtained by A / D converting the voltage values at the same place also match at least within the tolerance T. As a result, the load control is stopped, the buzzer device 2 is activated, and an alarm is generated. Also, load 3
The energization to is prohibited and the error processing is performed.

【0020】このように本実施例によれば、A/D変換
器が内蔵された隣り合う入力端子間の導通状態が検出で
き、それによって負荷制御を停止して警報を報知できる
ので、このワンチップマイクロコンピュータを組み込ん
だ機器のワンチップマイクロコンピュータの入力端子の
導通による誤動作や事故を防止できる。従って、このワ
ンチップマイクロコンピュータを組み込んだ機器の信頼
性及び安全性がより向上できる。
As described above, according to the present embodiment, the conduction state between the adjacent input terminals having the built-in A / D converter can be detected, whereby the load control can be stopped and the alarm can be issued. It is possible to prevent malfunction and accident due to conduction of the input terminal of the one-chip microcomputer of the device incorporating the chip microcomputer. Therefore, the reliability and safety of the device incorporating this one-chip microcomputer can be further improved.

【0021】[0021]

【発明の効果】以上詳述したようにこの発明によれば、
A/D変換器が内蔵された入力端子が複数設けられたワ
ンチップマイクロコンピュータを使用して負荷制御する
ものにおいて、A/D変換器を内蔵した入力端子間が短
絡する事態が発生した場合に、それを確実に検出して報
知あるいは負荷制御の禁止等、安全性を確保できるワン
チップマイクロコンピュータを使用した機器を提供でき
る。
As described in detail above, according to the present invention,
When load control is performed using a one-chip microcomputer provided with a plurality of input terminals with built-in A / D converters, when a short circuit occurs between the input terminals with built-in A / D converters. It is possible to provide a device using a one-chip microcomputer capable of ensuring safety such as reliably detecting and notifying it or prohibiting load control.

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

【図1】この発明の一実施例を示す回路構成図。FIG. 1 is a circuit configuration diagram showing an embodiment of the present invention.

【図2】同実施例の要部処理の流れを示す図。FIG. 2 is a diagram showing a flow of main part processing of the embodiment.

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

1…ワンチップマイクロコンピュータ、1a…I0 端
子、1b…I1 端子、2…ブザー装置、3…負荷、4,
5…センサ、6,7…抵抗。
1 ... One-chip microcomputer, 1a ... I0 terminal, 1b ... I1 terminal, 2 ... Buzzer device, 3 ... Load, 4,
5 ... Sensor, 6, 7 ... Resistor.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 アナログ/デジタル変換器を内蔵した入
力端子が複数設けられたワンチップマイクロコンピュー
タを使用して負荷を制御する機器において、前記各入力
端子のうち入力レベル範囲の異なる隣り合った2つの入
力端子に入力される電圧信号のデジタル値の差が予め設
定された値以上あるか否かを判断する判断手段と、この
判断手段がデジタル値の差が予め設定された値以上では
ないと判断したとき、警告報知及び負荷制御の禁止の少
なくとも一方を行う制御手段とを設けたことを特徴とす
るワンチップマイクロコンピュータを使用した機器。
1. A device for controlling a load using a one-chip microcomputer provided with a plurality of input terminals each having a built-in analog / digital converter, wherein two adjacent input terminals having different input level ranges are provided. Determining means for determining whether or not the difference between the digital values of the voltage signals input to the two input terminals is equal to or greater than a preset value, and the determining means determines that the difference between the digital values is not equal to or greater than the preset value. A device using a one-chip microcomputer, which is provided with a control means for performing at least one of warning notification and prohibition of load control when judged.
JP3127962A 1991-05-30 1991-05-30 Apparatus using one-chip microcomputer Pending JPH05242386A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3127962A JPH05242386A (en) 1991-05-30 1991-05-30 Apparatus using one-chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3127962A JPH05242386A (en) 1991-05-30 1991-05-30 Apparatus using one-chip microcomputer

Publications (1)

Publication Number Publication Date
JPH05242386A true JPH05242386A (en) 1993-09-21

Family

ID=14972979

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3127962A Pending JPH05242386A (en) 1991-05-30 1991-05-30 Apparatus using one-chip microcomputer

Country Status (1)

Country Link
JP (1) JPH05242386A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017146643A (en) * 2016-02-15 2017-08-24 アルパイン株式会社 Key input interface device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017146643A (en) * 2016-02-15 2017-08-24 アルパイン株式会社 Key input interface device

Similar Documents

Publication Publication Date Title
CA1183925A (en) Automatic temperature control device for an electric appliance such as an electric blanket
JP3286637B2 (en) Electronic control unit for internal combustion engine of automobile
US5981918A (en) Circuit for temperature-dependent regulation of the heating current of seat heaters
US4467386A (en) Fail-safe sensor circuit
US4851954A (en) Monitoring apparatus for monitoring temperature in a circuit arrangement
JPH05242386A (en) Apparatus using one-chip microcomputer
JP3269377B2 (en) Inverter device
JP2662322B2 (en) Temperature control device for electric carpet
JPH0795247B2 (en) DC power supply
JPS58133520A (en) Burner control circuit
JPH0649113Y2 (en) Vehicle power supply
JPH0234471Y2 (en)
JPH03107326A (en) Power supply
JP2708931B2 (en) Ignition timer circuit
JP2001347918A (en) Ecu
JPH0317987A (en) Safety device for surface heating device for bedding
JPS6084009A (en) Protection circuit of electronic switch
JP2659760B2 (en) Heater device
JP2939610B2 (en) Heating toilet seat controller
JPS6225621Y2 (en)
JPS6324217B2 (en)
JPH0511862A (en) Temperature detecting device
JPH0319007A (en) Power unit
SU1081569A1 (en) Device for checking electric connections
JPS6080028A (en) Safety device for burner