JPH06113593A - Abnormality detector for step motor circuit - Google Patents

Abnormality detector for step motor circuit

Info

Publication number
JPH06113593A
JPH06113593A JP41698690A JP41698690A JPH06113593A JP H06113593 A JPH06113593 A JP H06113593A JP 41698690 A JP41698690 A JP 41698690A JP 41698690 A JP41698690 A JP 41698690A JP H06113593 A JPH06113593 A JP H06113593A
Authority
JP
Japan
Prior art keywords
abnormality
coil
drive control
circuit
coils
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
JP41698690A
Other languages
Japanese (ja)
Other versions
JP2636511B2 (en
Inventor
Takashi Okano
貴史 岡野
Satoru Murai
哲 村井
Masamitsu Kitagishi
正光 北岸
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.)
Daikin Industries Ltd
Original Assignee
Daikin 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 Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP2416986A priority Critical patent/JP2636511B2/en
Publication of JPH06113593A publication Critical patent/JPH06113593A/en
Application granted granted Critical
Publication of JP2636511B2 publication Critical patent/JP2636511B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Of Stepping Motors (AREA)
  • Protection Of Generators And Motors (AREA)

Abstract

PURPOSE:To detect abnormality in a coil or drive control means through simple constitution by providing an overcurrent detecting means for detecting short circuit of coil, and an abnormality detecting means outputting a normal pattern signal and an abnormal pattern signal. CONSTITUTION:An overcurrent detecting means 7 detects overcurrent flow from a power supply means 3 to respective coils A1-B2 thus detecting short circuit of each coil. When the coils A1-B2 and a drive control means 4 are normal, abnormality detecting means 8a, 8b produce a normal pattern signal having level variable only when a pair of coils A11-B2 are excited otherwise produce an abnormal pattern signal. Consequently, abnormality in the coils A1-B2 and the drive control means 4 can be detected through simple constitution.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電動膨脹弁などに用い
られるステッピングモータ回路の異常検出装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an abnormality detecting device for a stepping motor circuit used in an electric expansion valve or the like.

【0002】[0002]

【従来の技術】一般に、空気調和装置において、電動膨
脹弁の弁開度を設定するためにステッピングモータが用
いられている。そして、このステッピングモータのコイ
ルがショート又はオープンすると、ステッピングモータ
が停止したり、駆動回路が破損したりすることになる。
2. Description of the Related Art Generally, in an air conditioner, a stepping motor is used to set the valve opening of an electric expansion valve. If the coil of the stepping motor is short-circuited or opened, the stepping motor stops or the drive circuit is damaged.

【0003】そこで、従来、特開昭59−56819号
公報に開示されているように、モータの過負荷状態と軽
負荷状態とを、モータに流れる電流を変流器により検出
することによって検出するようにしているものがある。
Therefore, as disclosed in Japanese Patent Laid-Open No. 59-56819, an overload state and a light load state of a motor are conventionally detected by detecting a current flowing through the motor with a current transformer. There are things I do.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、これで
は、変流器を設けているため、装置全体が大型化すると
いう問題があった。また、モータの各コイルと変流器と
の関係を設けておく必要があり、構成が複雑になるとい
う問題があった。
However, in this case, since the current transformer is provided, there is a problem that the size of the entire apparatus becomes large. In addition, it is necessary to establish a relationship between each coil of the motor and the current transformer, which causes a problem that the configuration becomes complicated.

【0005】そこで、ステッピングモータの電源供給回
路と駆動制御回路とにハイレベルとローレベルとの信号
を入力する一方、上記コイルと駆動制御回路との間より
状態信号を取出し、この状態信号より異常を検出するよ
うにすることが考えられている。
Therefore, while inputting a high level signal and a low level signal to the power supply circuit and the drive control circuit of the stepping motor, a status signal is taken out between the coil and the drive control circuit, and an abnormality is detected from this status signal. It is considered to detect.

【0006】しかし、これでは、電源供給回路と駆動制
御回路とにハイレベルとローレベルとの信号を入力する
ため、電源投入時のみしか異常をチェックすることがで
ず、空調時に異常が生じると、冷媒回路の保護装置が作
動し、この作動後では故障箇所の究明が難しいという問
題があった。
However, in this case, since a high level signal and a low level signal are input to the power supply circuit and the drive control circuit, the abnormality can be checked only when the power is turned on, and if an abnormality occurs during air conditioning. However, there is a problem in that the protection device of the refrigerant circuit is activated and it is difficult to find the failure point after the activation.

【0007】本発明は、斯かる点に鑑みてなされたもの
で、電源投入時のみならず、ステッピングモータの作動
時においても異常を検出できるようにすることを目的と
するものである。
The present invention has been made in view of the above points, and it is an object of the present invention to detect an abnormality not only when the power is turned on but also when the stepping motor is operated.

【0008】[0008]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明が講じた手段は、駆動時のステッピングモ
ータの各コイルと駆動制御手段との状態より直接に異常
を検出するようにしたものである。
In order to achieve the above object, the means taken by the present invention is to detect an abnormality directly from the state of each coil of the stepping motor and the drive control means during driving. It was done.

【0009】具体的に、図1に示すように、請求項1に
係る発明が講じた手段は、まず、各相の各コイル(A1〜
B2)を励磁することによって駆動するステッピングモー
タ(2)と、該ステッピングモータ(2)の各コイル
(A1〜B2)に接続されて該コイル(A1〜B2)に電力供給
する電源供給手段(3)と、上記ステッピングモータ
(2)の各コイル(A1〜B2)に接続されていて、該各コ
イル(A1〜B2)を予め設定された極性で時間順次に励磁
させる駆動制御手段(4)とが設けられている。そし
て、上記電源供給手段(3)に連繋され、コイル(A1〜
B2)のショートによる過電流を検出して異常信号を出力
する過電流検出手段(7)が設けられている。更に、そ
れぞれ一対のコイル(A1〜B2)と駆動制御手段(4)と
の間に接続され、正常状態において各一対のコイル(A1
〜B2)が共に励磁するとレベルが変化する正常パターン
信号を出力し、異常状態において正常パターン信号と異
なるパターンの異常パターン信号を出力する異常検出手
段(8a,8b)が設けられた構成としている。
Specifically, as shown in FIG. 1, the means taken by the invention according to claim 1 is as follows. First, each coil of each phase (A1 to
Stepping motor (2) driven by exciting B2) and power supply means (3) connected to each coil (A1 to B2) of the stepping motor (2) to supply electric power to the coil (A1 to B2) ) And drive control means (4) connected to the coils (A1 to B2) of the stepping motor (2) and sequentially exciting the coils (A1 to B2) with a preset polarity. Is provided. Then, the coils (A1 to
An overcurrent detection means (7) for detecting an overcurrent due to a short circuit of B2) and outputting an abnormal signal is provided. Further, each pair of coils (A1 to B2) is connected between the drive control means (4) and each pair of coils (A1 to B1) is connected in a normal state.
.About.B2) both output normal pattern signals whose levels change when excited, and abnormal condition detection means (8a, 8b) that outputs an abnormal pattern signal of a pattern different from the normal pattern signal in an abnormal state.

【0010】また、請求項2に係る発明が講じた手段
は、各相の各コイル(A1〜B2)を励磁することによって
駆動するステッピングモータ(2)と、該ステッピング
モータ(2)の各コイル(A1〜B2)に接続されて該コイ
ル(A1〜B2)に電力供給する電源供給手段(3)と、上
記ステッピングモータ(2)の各コイル(A1〜B2)に接
続されていて、該各コイル(A1〜B2)を予め設定された
極性で時間順次に励磁させる駆動制御手段(4)とが設
けられている。
Further, the means taken by the invention according to claim 2 is the stepping motor (2) for driving by exciting each coil (A1 to B2) of each phase, and each coil of the stepping motor (2). (A1 to B2) and power supply means (3) for supplying power to the coils (A1 to B2) and each coil (A1 to B2) of the stepping motor (2). A drive control means (4) for exciting the coils (A1 to B2) in time sequence with a preset polarity is provided.

【0011】そして、それぞれ一対のコイル(A1〜B2)
と駆動制御手段(4)との間に接続され、各コイル(A1
〜B2)と駆動制御手段(4)との導通及び遮断に対応し
て状態信号を出力する複数の態検出手段(5a,5b)
が設けられている。更に、上記電源供給手段(3)と駆
動制御手段(4)と各状態検出手段(5a,5b)との
入出力信号より異常を検出する異常検出手段(61)が
設けられた構成としている。
Then, a pair of coils (A1 to B2) respectively
And the drive control means (4), and each coil (A1
~ B2) and a plurality of state detecting means (5a, 5b) for outputting a state signal in response to conduction and interruption between the drive control means (4)
Is provided. Further, an abnormality detection means (61) for detecting an abnormality from the input / output signals of the power supply means (3), the drive control means (4) and the respective state detection means (5a, 5b) is provided.

【0012】[0012]

【作用】上記の構成により、請求項1に係る発明では、
まず、電源供給手段(3)よりステッピングモータ
(2)の各コイルには電力供給されており、駆動制御手
段(4)が導通・遮断することによって上記ステッピン
グモータ(2)の各コイル(A1〜B2)は時間順次に励磁
し、該ステッピングモータ(2)が駆動することにな
る。
With the above construction, in the invention according to claim 1,
First, electric power is supplied to each coil of the stepping motor (2) from the power supply means (3), and each coil (A1 to A1 to coil) of the stepping motor (2) is turned on and off by the drive control means (4). B2) is excited in time sequence and the stepping motor (2) is driven.

【0013】そして、過電流検出手段(7)は上記電源
供給手段(3)より各コイル(A1〜B2)に流れる過電流
を検出しており、該コイル(A1〜B2)がショートする
と、過電流が流れるので、この過電流を検出して上記コ
イル(A1〜B2)のショートを検出している。
The overcurrent detecting means (7) detects the overcurrent flowing through the coils (A1 to B2) from the power supply means (3). When the coils (A1 to B2) are short-circuited, the overcurrent is detected. Since a current flows, this overcurrent is detected to detect the short circuit of the coils (A1 to B2).

【0014】一方、異常検出手段(8a,8b)は、上
記各コイル(A1〜B2)及び駆動制御手段(4)が正常状
態であると、一対のコイル(A1〜B2)が共に励磁すると
きにのみレベルが変化する正常パターン信号を出力し、
異常状態になると、正常パターン信号以外のパターンの
異常パターン信号を出力することになる。
On the other hand, the abnormality detecting means (8a, 8b), when the coils (A1 to B2) and the drive control means (4) are in a normal state, when the pair of coils (A1 to B2) are both excited. Output a normal pattern signal whose level changes only to
In an abnormal state, an abnormal pattern signal of a pattern other than the normal pattern signal will be output.

【0015】これにより、上記コイル(A1〜B2)及び駆
動制御手段の異常を検出する。
As a result, the abnormality of the coils (A1 to B2) and the drive control means is detected.

【0016】また、請求項2に係る発明では、各状態検
出手段(5a,5b)が各コイル(A1〜B2)及び駆動制
御手段(4)の導通及び遮断に対応して状態信号を出力
している。そして、該各状態検出手段(5a,5b)の
状態信号の組み合わせと、上記電源供給手段(3)及び
駆動制御手段(4)の状態よって異常検出手段(61)
が異常を検出することになる。
Further, in the invention according to claim 2, each state detecting means (5a, 5b) outputs a state signal corresponding to conduction or interruption of each coil (A1 to B2) and drive control means (4). ing. The abnormality detection means (61) is determined by the combination of the status signals of the status detection means (5a, 5b) and the statuses of the power supply means (3) and the drive control means (4).
Will detect an abnormality.

【0017】[0017]

【効果】従って、請求項1に係る発明によれば、コイル
(A1〜B2)のショートを検出する過電流検出手段(7)
と、正常パターン信号及び異常パターン信号を出力する
異常検出手段(8a,8b)とを設けたために、簡単な
構成で且つ大型化することなく、コイル(A1〜B2)や駆
動制御手段(4)の異常を検出することができる。ま
た、上記コイル(A1〜B2)及び駆動制御手段(4)の駆
動状態から状態パターンを設定しているので、電源投入
時のみならず駆動中においても異常を検出することがで
きる。この結果、例えば、冷媒回路の保護装置が作動す
る前に異常を検出することができるので、故障箇所の究
明を容易に行うことができる。
[Effect] Therefore, according to the invention of claim 1, overcurrent detection means (7) for detecting a short circuit of the coils (A1 to B2).
And the abnormality detecting means (8a, 8b) for outputting the normal pattern signal and the abnormal pattern signal are provided, so that the coils (A1 to B2) and the drive control means (4) have a simple structure and do not increase in size. Can detect abnormalities. Further, since the state pattern is set based on the drive states of the coils (A1 to B2) and the drive control means (4), the abnormality can be detected not only when the power is turned on but also during the drive. As a result, for example, an abnormality can be detected before the protection device for the refrigerant circuit is activated, so that the location of the failure can be easily identified.

【0018】また、請求項2に係る発明によれば、上記
コイル(A1〜B2)と駆動制御手段(4)との状態に対応
した状態信号を出力する第1及び第2状態検出手段(5
a,5b)と、該各状態検出手段(5a,5b)の状態
信号の組み合わせを利用して異常を検出する異常検出手
段(61)とを設けたために、過電流検出手段を設ける
ことなくコイル(A1〜B2)のショートを検出することが
できるので、ポート数を少なくすることができ、より簡
単な構成でもって異常を検出することができる。更に、
上記コイル(A1〜B2)の異常と駆動制御手段(4)の異
常とを識別できることから、異常処置をより精度良く行
うことができる。
According to the second aspect of the invention, the first and second state detecting means (5) for outputting a state signal corresponding to the states of the coils (A1 to B2) and the drive control means (4).
a, 5b) and an abnormality detecting means (61) for detecting an abnormality by utilizing a combination of the state signals of the respective state detecting means (5a, 5b), the coil can be provided without providing an overcurrent detecting means. Since the short circuit of (A1 to B2) can be detected, the number of ports can be reduced and the abnormality can be detected with a simpler configuration. Furthermore,
Since the abnormality of the coils (A1 to B2) and the abnormality of the drive control means (4) can be discriminated from each other, the abnormality can be corrected with higher accuracy.

【0019】[0019]

【実施例】以下、本発明の構成を図面に基づいて詳細に
説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The structure of the present invention will be described in detail below with reference to the drawings.

【0020】図2は請求項2の発明に係る実施例を示
し、(1)はステッピングモータ回路であって、空気調
和装置に設けられた電動膨脹弁の開度を制御するもので
ある。そして、該ステッピングモータ回路(1)は、ス
テッピングモータ(2)の各コイル(A1〜B2)に電源供
給手段である電源供給回路(3)と駆動制御手段である
駆動制御回路(4)とが接続されると共に、第1状態検
出手段である第1状態検出回路(5a)と第2状態検出
手段である第2状態検出回路(5b)とを備えて構成さ
れている。尚、図中のAはコイルA1を、Aバーはコイル
A2を、BはコイルB1を、BバーはコイルB2を示してい
る。
FIG. 2 shows an embodiment according to a second aspect of the present invention, in which (1) is a stepping motor circuit for controlling the opening degree of an electric expansion valve provided in an air conditioner. The stepping motor circuit (1) includes a power supply circuit (3) which is a power supply means and a drive control circuit (4) which is a drive control means for each coil (A1 to B2) of the stepping motor (2). It is connected and is provided with a first state detecting circuit (5a) which is a first state detecting means and a second state detecting circuit (5b) which is a second state detecting means. In the figure, A is a coil A1 and A bar is a coil.
A2 indicates the coil B1, B indicates the coil B2.

【0021】上記電源供給回路(3)は、13Vの電源
(31)と2つのトランジスタ(Q7,Q8)とを備えてお
り、該電源(31)は抵抗(R10)を介してPNP型のト
ランジスタ(Q8)のエミッタに接続され、該トランジス
タ(Q8)のコレクタはステッピングモータ(2)の共通
端子(COM)に接続されと共に、ベースは電源(31)に
抵抗(R9)をダイオード(D9)を介して接続されてい
る。また、上記NPN型のトランジスタ(Q7)のベース
が抵抗(R7)を介してCPU(6)に、コレクタは抵抗
(R8)を介して上記トランジスタ(Q8)のベースにそれ
ぞれ接続されると共に、エミッタは接地されている。そ
して、上記両トランジスタ(Q7,Q8)はCPU(6)か
らの電源信号によりオンしてステッピングモータ(2)
に電力供給する。
The power supply circuit (3) comprises a 13V power source (31) and two transistors (Q7, Q8), and the power source (31) is a PNP type transistor via a resistor (R10). It is connected to the emitter of (Q8), the collector of the transistor (Q8) is connected to the common terminal (COM) of the stepping motor (2), and the base is connected to the power supply (31) with the resistor (R9) and the diode (D9). Connected through. The base of the NPN transistor (Q7) is connected to the CPU (6) via the resistor (R7), and the collector is connected to the base of the transistor (Q8) via the resistor (R8). Is grounded. Then, both transistors (Q7, Q8) are turned on by the power signal from the CPU (6) to turn on the stepping motor (2).
Power to.

【0022】上記ステッピングモータ(2)は、2相励
磁方式の4相ステッピングモータ(2)であって、4つ
のコイル(A1〜B2)を備える一方、該ステッピングモー
タ(2)に含まれないが、各コイル(A1〜B2)と並列に
ダイオード(D5〜D8)が接続されている。
The stepping motor (2) is a two-phase excitation type four-phase stepping motor (2) which includes four coils (A1 to B2), but is not included in the stepping motor (2). , Diodes (D5 to D8) are connected in parallel with each coil (A1 to B2).

【0023】上記駆動制御回路(4)は、各コイル(A1
〜B2)に対応して4つの駆動トランジスタ(Q3〜Q6)を
備えており、各トランジスタ(Q3〜Q6)のベースはCP
U(6)に、コレクタは各コイル(A1〜B2)にそれぞれ
接続されると共に、エミッタは接地されている。そし
て、各駆動トランジスタ(Q3〜Q6)はCPU(6)から
の駆動信号によりオンして、上記各コイル(A1〜B2)を
予め設定された極性で時間順次に励磁している。つま
り、図3に示すように、時間的な一部分において各コイ
ル(A1〜B2)のうち2つがオーバーラップして励磁され
ると共に、他の一部分において各コイル(A1〜B2)が単
独で励磁されるようになっている。
The drive control circuit (4) is arranged so that each coil (A1
~ B2) is equipped with four drive transistors (Q3 to Q6), and the base of each transistor (Q3 to Q6) is CP.
To U (6), the collector is connected to each coil (A1 to B2), and the emitter is grounded. Then, the drive transistors (Q3 to Q6) are turned on by the drive signal from the CPU (6) to sequentially excite the coils (A1 to B2) with a preset polarity in time sequence. That is, as shown in FIG. 3, two of the coils (A1 to B2) are excited by being overlapped in a temporal part, and each coil (A1 to B2) is independently excited in the other part. It has become so.

【0024】一方、上記第1状態検出回路(5a)と第
2状態検出回路(5b)とは、本発明の特徴とするとこ
ろであり、それぞれPNP型のトランジスタ(Q1,Q2)
を備えており、該各トランジスタ(Q1,Q2)のベースは
一対のコイル(A1〜B2)と駆動制御回路(4)との間に
抵抗(R3,R6)及びダイオード(D1〜D4)を介して接続
され、エミッタは5Vの電源(51)に接続され、コレ
クタはCPU(6)に接続されると共に抵抗(R1,R4)
を介して接地されており、エミッタとベースとの間は抵
抗(R2,R5)を介して接続されている。そして、ベース
電流が流れると、CPU(6)にハイ又はローの状態信
号(IN1,IN2) が入力するようになっている。尚、 IN1は
第1状態検出回路(5a)の状態信号を、 IN2は第2状
態検出回路(5b)の状態信号をそれぞれ示している。
On the other hand, the first state detection circuit (5a) and the second state detection circuit (5b) are features of the present invention, and are PNP type transistors (Q1, Q2).
The base of each of the transistors (Q1, Q2) has a resistor (R3, R6) and a diode (D1-D4) between the pair of coils (A1 ~ B2) and the drive control circuit (4). , The emitter is connected to the 5V power supply (51), the collector is connected to the CPU (6) and the resistors (R1, R4)
It is grounded through and the emitter and the base are connected through resistors (R2, R5). Then, when the base current flows, high or low state signals (IN1, IN2) are input to the CPU (6). IN1 indicates the state signal of the first state detection circuit (5a), and IN2 indicates the state signal of the second state detection circuit (5b).

【0025】上記CPU(6)は、電源供給回路(3)
のトランジスタ(Q7,Q8)に電源信号を、駆動制御回路
(4)の各トランジスタ(Q3〜Q6)に駆動信号をそれぞ
れ出力すると共に、異常検出手段(61)が構成されて
いる。該異常検出手段(61)は上記第1状態検出回路
(5a)と第2状態検出回路(5b)との状態信号(IN
1,IN2) を受けて上記コイル(A1〜B2)及び駆動制御回
路(4)の各トランジスタ(Q3〜Q6)のオープン及びシ
ョートの異常を検出するようにしている。
The CPU (6) is a power supply circuit (3).
The power supply signal is output to the transistors (Q7, Q8) and the drive signal is output to the transistors (Q3 to Q6) of the drive control circuit (4), and an abnormality detecting means (61) is configured. The abnormality detecting means (61) is a state signal (IN) for the first state detecting circuit (5a) and the second state detecting circuit (5b).
1, IN2) is received to detect an open / short abnormality of the coil (A1 to B2) and each transistor (Q3 to Q6) of the drive control circuit (4).

【0026】次に、上記異常検出手段(61)によるス
テッピングモータ(2)の各コイル(A1〜B2)及び駆動
制御回路(4)の各トランジスタ(Q3〜Q6)の異常検出
動作について制御フローに基づき説明する。
Next, the control flow of the abnormality detection operation of the coils (A1 to B2) of the stepping motor (2) and the transistors (Q3 to Q6) of the drive control circuit (4) by the abnormality detection means (61) will be described. It will be explained based on.

【0027】まず、図4に示すように、電源(31)投
入時に電動膨脹弁の作動前において、トランジスタ(Q3
〜Q6)のショート及びオープンとコイル(A1〜B2)のオ
ープンとをチェックする。
First, as shown in FIG. 4, the transistor (Q3
Check for short and open of ~ Q6) and open of coil (A1 ~ B2).

【0028】スタートしてステップST1において、電
源供給回路(3)のトランジスタ(Q3〜Q6)をオフした
後、ステップST2において、駆動制御回路(4)の各
トランジスタ(Q3〜Q6)をオフしてステップST3に移
り、遅延処理した後ステップST4に移り、各状態検出
回路(5a,5b)の状態信号(IN1,IN2) がハイか、ロ
ーかを判定する。つまり、電源供給回路(3)及び駆動
制御回路(4)をオフしている状態においては、ステッ
ピングモータ(2)の共通端子(COM) は各状態検出回路
(5a,5b)の電源(51)電位である5Vになり、
この状態において駆動制御回路(4)のトランジスタ
(Q3〜Q6)にうち何かがショートしていると、第1状態
検出回路(5a)及び第2状態検出回路(5b)のトラ
ンジスタ(Q1,Q2)のベース電流が流れるので、状態信
号(IN1,IN2) が共にハイになり、ステップST5に移
り、駆動制御回路(4)のトランジスタ(Q3〜Q6)の何
かがショートであることを検出する。
After starting, the transistors (Q3 to Q6) of the power supply circuit (3) are turned off in step ST1, and then the transistors (Q3 to Q6) of the drive control circuit (4) are turned off in step ST2. In step ST3, delay processing is performed and then in step ST4, it is determined whether the status signals (IN1, IN2) of the status detection circuits (5a, 5b) are high or low. That is, when the power supply circuit (3) and the drive control circuit (4) are turned off, the common terminal (COM) of the stepping motor (2) is connected to the power source (51) of each state detection circuit (5a, 5b). The potential is 5V,
In this state, if something is short-circuited among the transistors (Q3 to Q6) of the drive control circuit (4), the transistors (Q1, Q2) of the first state detection circuit (5a) and the second state detection circuit (5b) ), The status signals (IN1, IN2) both go high, and the process moves to step ST5, and it is detected that something is short-circuited in the transistors (Q3 to Q6) of the drive control circuit (4). .

【0029】一方、上記状態信号(IN1,IN2) が共にハイ
でないときは、ステップST4からステップST6に移
り、駆動制御回路(4)の1のトランジスタ(Q3)をオ
ンし、ステップST7に移り、遅延処理した後ステップ
ST8に移り、第1状態検出回路(5a)の状態信号(I
N1) がハイか否かを判定する。つまり、駆動制御回路
(4)の各トランジスタ(Q3〜Q6)が正常で、各コイル
(A1〜B2)が正常であれば、上記トランジスタ(Q3)に
対応した第1状態検出回路(5a)のトランジスタ(Q
1)のベース電流が流れると共に、第2状態検出回路
(5b)のトランジスタ(Q2)のベース電流もダイオー
ド(D3,D4)を介して流れるので、両状態検出回路(5
a,5b)の状態信号(IN1,IN2) が共にハイになる。
On the other hand, when neither of the above status signals (IN1, IN2) is high, the process proceeds from step ST4 to step ST6, the one transistor (Q3) of the drive control circuit (4) is turned on, and the process proceeds to step ST7. After the delay processing, the process proceeds to step ST8, and the status signal (I
It is determined whether N1) is high. That is, if each transistor (Q3 to Q6) of the drive control circuit (4) is normal and each coil (A1 to B2) is normal, the first state detection circuit (5a) of the transistor (Q3) corresponding to Transistor (Q
Since the base current of 1) flows and the base current of the transistor (Q2) of the second state detection circuit (5b) also flows through the diodes (D3, D4), both state detection circuits (5
The status signals (IN1, IN2) of a, 5b) both become high.

【0030】従って、ステップST8において、第1状
態検出回路(5a)の状態信号(IN1) がローであると、
判定がノーとなり、ステップST9に移り、駆動制御回
路(4)のトランジスタ(Q3)のオープンを検出する。
また、第1状態検出回路(5a)の状態信号(IN1) がハ
イであると、ステップST8からステップST10に移
り、第2状態検出回路(5b)の状態信号(IN2) がハイ
か否かを判定し、第2状態検出回路(5b)の状態信号
(IN2) がローであると、ステップST11に移り、コイ
ル(A1)の断線を検出する。
Therefore, in step ST8, if the state signal (IN1) of the first state detection circuit (5a) is low,
The determination is no, and the process moves to step ST9 to detect the open state of the transistor (Q3) of the drive control circuit (4).
If the state signal (IN1) of the first state detection circuit (5a) is high, the process proceeds from step ST8 to step ST10 to check whether the state signal (IN2) of the second state detection circuit (5b) is high. Judgment, status signal of the second status detection circuit (5b)
If (IN2) is low, the process proceeds to step ST11 to detect disconnection of the coil (A1).

【0031】また、上記ステップST10で第2状態検
出回路(5b)の状態信号(IN2) がハイであると、ステ
ップST12に移り、駆動制御回路(4)のトランジス
タ(Q3)をオフし、順次各トランジスタ(Q4〜Q6)をオ
ンし、上記ステップST6〜ST11の動作と同じ判定
動作をステップST12〜ST30で行い、各トランジ
スタ(Q4〜Q6)のオープン及び各コイル(A2〜B2)の断
線を検出する。
If the state signal (IN2) of the second state detection circuit (5b) is high in step ST10, the process proceeds to step ST12, the transistor (Q3) of the drive control circuit (4) is turned off, and the sequence is turned on. Turn on each transistor (Q4 to Q6), perform the same judgment operation as the above steps ST6 to ST11 in steps ST12 to ST30, open each transistor (Q4 to Q6) and disconnect each coil (A2 to B2). To detect.

【0032】この検出動作を行った後、図5に示す電動
膨脹弁の作動モジュールを実行する。 この電動膨脹弁
の作動ルーチンは、該電動膨脹弁の作動を概略的に示し
ており、ステップST41において、ドライバである駆
動制御回路(4)の処理を行った後、ステップST42
に移り、遅延処理を行い、ステップST43に移り、後
述する故障診断モジュールを実行する。続いて、ステッ
プST44に移り、正常か否かを判定し、正常な場合は
ステップST45に移り、このモジュールが終了するま
で上述の動作を行う一方、上記ステップST44及びス
テップST45において、異常を判定した場合や作動モ
ジュールが終了した場合は,ステップST46に移り、
終了処理を行うことになる。
After performing this detecting operation, the operation module of the electric expansion valve shown in FIG. 5 is executed. This operation routine of the electric expansion valve schematically shows the operation of the electric expansion valve, and in step ST41, after the processing of the drive control circuit (4) which is the driver is performed, step ST42 is performed.
Then, the delay process is performed, the process proceeds to step ST43, and the failure diagnosis module described later is executed. Then, the process proceeds to step ST44, it is determined whether or not it is normal, and if it is normal, the process proceeds to step ST45 and the above-mentioned operation is performed until the end of this module, while it is determined at step ST44 and step ST45 that there is an abnormality. In the case or when the operation module is completed, move to step ST46,
The termination process will be performed.

【0033】次に、図6に示す故障診断モジュールにつ
いて説明する。
Next, the failure diagnosis module shown in FIG. 6 will be described.

【0034】まず、ステップST51において、オンし
ているドライバ、つまり、上記駆動制御回路(4)のト
ランジスタ(Q3〜Q6)を判定し、トランジスタ(Q3)の
場合はステップST52に、トランジスタ(Q4)の場合
はステップST56に、トランジスタ(Q5)の場合はス
テップST60に、トランジスタ(Q6)の場合はステッ
プST64にそれぞれ移ることになる。そして、この各
トランジスタ(Q3〜Q6)及び各コイル(A1〜B2)の故障
診断は、図3に示すように、各コイル(A1〜B2)が単独
で励磁している時t2,t4,t6,t8 に行われる。
First, in step ST51, the driver that is turned on, that is, the transistors (Q3 to Q6) of the drive control circuit (4) is determined. In the case of the transistor (Q3), the transistor (Q4) is transferred to step ST52. In the case of, the process proceeds to step ST56, in the case of the transistor (Q5), the process proceeds to step ST60, and in the case of the transistor (Q6), the process proceeds to step ST64. As shown in FIG. 3, the failure diagnosis of each transistor (Q3 to Q6) and each coil (A1 to B2) is t2, t4, t6 when each coil (A1 to B2) is excited independently. , t8.

【0035】そこで、トランジスタ(Q3)が励磁されて
いる場合(t1)、ステップST52において、第1状態検
出回路(5a)のトランジスタ(Q1)がオンして状態信
号(IN1) がハイか否かを判定し、状態信号(IN1) がロー
の場合はステップST53に移り、トランジスタ(Q3)
のオープンを検出する。その後、上記第1状態検出回路
(5a)の状態信号(IN1) がハイの場合は、ステップS
T52からステップST54に移り、第2状態検出回路
(5b)の状態信号(IN2) がハイか否かが判定される。
そして、上記第2状態検出回路(5b)の状態信号(IN
2) がハイの場合は、ステップST55に移り、ステッ
ピングモータ(2)のコイル(A1)のショートを検出す
る。
Therefore, when the transistor (Q3) is excited (t1), it is determined in step ST52 whether the transistor (Q1) of the first state detection circuit (5a) is turned on and the state signal (IN1) is high. If the status signal (IN1) is low, the process moves to step ST53 and the transistor (Q3)
Detect open. Then, if the status signal (IN1) of the first status detection circuit (5a) is high, step S
The process moves from T52 to step ST54, and it is determined whether or not the state signal (IN2) of the second state detection circuit (5b) is high.
Then, the status signal of the second status detection circuit (5b) (IN
If 2) is high, the process proceeds to step ST55 to detect a short circuit of the coil (A1) of the stepping motor (2).

【0036】つまり、上記駆動制御回路(4)のトラン
ジスタ(Q3)が正常な場合は、第1状態検出回路(5
a)のトランジスタ(Q1)のベース電流が抵抗(R3)及
びダイオード(D1)を通じて駆動制御回路(4)のトラ
ンジスタ(Q3)に流れるので、第1状態検出回路(5
a)のトランジスタ(Q1)がオンして状態信号(IN1) が
ハイになる。一方、各コイル(A1〜B2)が正常な場合
は、ステッピングモータ(2)の共通端子(COM)が電源
(31)電圧(12V)になるので、第2状態検出回路
(5b)のトランジスタ(Q2)のベース電流は流れず、
状態信号(IN2) がローになる。
That is, when the transistor (Q3) of the drive control circuit (4) is normal, the first state detection circuit (5
Since the base current of the transistor (Q1) of a) flows through the resistor (R3) and the diode (D1) to the transistor (Q3) of the drive control circuit (4), the first state detection circuit (5)
The transistor (Q1) in a) turns on and the status signal (IN1) goes high. On the other hand, when the coils (A1 to B2) are normal, the common terminal (COM) of the stepping motor (2) becomes the power supply (31) voltage (12V), so that the transistor (2b) of the second state detection circuit (5b) The base current of Q2) does not flow,
The status signal (IN2) goes low.

【0037】従って、第1状態検出回路(5a)の状態
信号(IN1) がローの場合はトランジスタ(Q1)のベース
電流が流れていないので、駆動制御回路(4)のトラン
ジスタ(Q3)がオープンしていることになり、第2状態
検出回路(5b)の状態信号(IN2) がハイの場合は、ス
テッピングモータ(2)の共通端子(COM)電圧がグラウ
ンドレベルまで低下してトランジスタ(Q2)がオンして
いることになり、コイル(A1)がショートしていること
になる。
Therefore, when the state signal (IN1) of the first state detection circuit (5a) is low, the base current of the transistor (Q1) is not flowing, so the transistor (Q3) of the drive control circuit (4) is opened. If the status signal (IN2) of the second status detection circuit (5b) is high, the common terminal (COM) voltage of the stepping motor (2) drops to the ground level and the transistor (Q2) Is turned on, and the coil (A1) is short-circuited.

【0038】上記ステップST52〜ST55の動作と
同様な動作を他の各トランジスタ(Q4〜Q6)及び各コイ
ル(A2〜B2)に対してステップST56からステップS
T67において行うことになる。そして、上記各トラン
ジスタ(Q4〜Q6)及び各コイル(A2〜B2)の状態を判定
した後、上記作動モジュールのステップST43に移る
ことになる。
The same operations as those in steps ST52 to ST55 are performed for other transistors (Q4 to Q6) and coils (A2 to B2) from steps ST56 to S56.
It will be performed at T67. Then, after determining the states of the transistors (Q4 to Q6) and the coils (A2 to B2), the operation module moves to step ST43.

【0039】これにより、駆動制御回路(4)のトラン
ジスタ(Q3〜Q6)及びステッピングモータ(2)のコイ
ル(A1〜B2)の異常を検出している。
As a result, the abnormality of the transistors (Q3 to Q6) of the drive control circuit (4) and the coils (A1 to B2) of the stepping motor (2) is detected.

【0040】従って、上記コイル(A1〜B2)と駆動制御
手段(4)との状態に対応した状態信号(IN1,IN2) を出
力する第1及び第2状態検出回路(5a,5b)と、該
各状態検出回路(5a,5b)の状態信号(IN1,IN2) の
組み合わせを利用して異常を検出する異常検出手段(6
1)とを設けたために、簡単な構成で且つ大型化するこ
となく、コイル(A1〜B2)や駆動制御回路(4)の異常
を検出することができる。また、上記コイル(A1〜B2)
及び駆動制御回路(4)の駆動状態から異常を検出して
いるので、電源投入時のみならず駆動中においても異常
を検出することができる。この結果、例えば、冷媒回路
の保護装置が作動する前に異常を検出することができる
ので、故障箇所の究明を容易に行うことができる。
Therefore, the first and second state detection circuits (5a, 5b) for outputting the state signals (IN1, IN2) corresponding to the states of the coils (A1 to B2) and the drive control means (4), Abnormality detecting means (6) for detecting an abnormality using a combination of the state signals (IN1, IN2) of the respective state detecting circuits (5a, 5b)
1) is provided, it is possible to detect an abnormality in the coils (A1 to B2) and the drive control circuit (4) with a simple configuration and without increasing the size. Also, the above coils (A1 to B2)
Since the abnormality is detected from the driving state of the drive control circuit (4), the abnormality can be detected not only when the power is turned on but also during driving. As a result, for example, an abnormality can be detected before the protection device for the refrigerant circuit is activated, so that the location of the failure can be easily identified.

【0041】また、過電流検出手段を設けることなくコ
イル(A1〜B2)のショートを検出することができるの
で、ポート数を少なくすることができ、より簡単な構成
でもって異常を検出することができる。更に、上記コイ
ル(A1〜B2)の異常と駆動制御回路(4)の異常とを識
別できることから、異常処置をより精度良く行うことが
できる。
Further, since it is possible to detect a short circuit of the coils (A1 to B2) without providing an overcurrent detecting means, it is possible to reduce the number of ports and detect an abnormality with a simpler configuration. it can. Further, since the abnormality of the coils (A1 to B2) and the abnormality of the drive control circuit (4) can be discriminated from each other, the abnormality can be corrected more accurately.

【0042】図7は請求項1に係る発明の実施例を示し
ており、上記実施例の電源供給回路(3)に連繋して過
電流検出手段である過電流検出回路(7)が設けられる
と共に、上記実施例の第1状態検出回路(5a)及び第
2状態検出回路(5b)に代り、第1異常検出手段であ
る第1異常検出回路(8a)及び第2異常検出手段であ
る第2異常検出回路(8b)が設けられている。
FIG. 7 shows an embodiment of the invention according to claim 1. An overcurrent detection circuit (7) which is an overcurrent detection means is provided in communication with the power supply circuit (3) of the above embodiment. At the same time, instead of the first state detection circuit (5a) and the second state detection circuit (5b) of the above-described embodiment, the first abnormality detection circuit (8a) and the second abnormality detection means, which are the first abnormality detection means, are used. 2 An abnormality detection circuit (8b) is provided.

【0043】該過電流検出回路(7)は、発光回路(7
1)と受光回路(72)とを有しており、該発光回路
(71)は電源供給回路(3)のトランジスタ(Q8)と
並列に抵抗(R11)及び発光素子(P1)が接続されると共
に、該発光素子(P1)と並列に抵抗(R12)及びコンデン
サ(C1)が接続されて構成されている。一方、上記受光
回路(72)は受光素子(P2)の入力ポートが抵抗(R1
3)を介して電源(73)に接続されると共に、抵抗(R1
4)を介してCPU(6)に接続されて構成されている。
更に、上記受光回路(72)はコンデンサ(C2)を有す
ると共に、電源供給回路(3)にダイオード(D12)を介
して接続されており、該電源供給回路(3)の両トラン
ジスタ(Q7,Q8)間にはツェナーダイオード(D11)が設
けられると共に、トランジスタ(Q7)とCPU(6)の
間には抵抗(R15)及び電源(32)が抵抗(R16)を介し
て接続されている。そして、電源供給回路(3)からス
テッピングモータ(2)に過電流が流れると、発光素子
(P1)が発光してCPU(6)の入力ポートに受光回路
(72)よりロー信号が入力する。
The overcurrent detection circuit (7) is a light emitting circuit (7).
1) and a light receiving circuit (72), and the light emitting circuit (71) is connected with a resistor (R11) and a light emitting element (P1) in parallel with the transistor (Q8) of the power supply circuit (3). At the same time, a resistor (R12) and a capacitor (C1) are connected in parallel with the light emitting element (P1). On the other hand, in the light receiving circuit (72), the input port of the light receiving element (P2) is a resistor (R1
3) is connected to the power supply (73) and the resistance (R1
It is configured to be connected to the CPU (6) via 4).
Further, the light receiving circuit (72) has a capacitor (C2) and is connected to the power supply circuit (3) through a diode (D12), and both transistors (Q7, Q8) of the power supply circuit (3) are connected. ) Is provided with a Zener diode (D11), and a resistor (R15) and a power supply (32) are connected between the transistor (Q7) and the CPU (6) through the resistor (R16). When an overcurrent flows from the power supply circuit (3) to the stepping motor (2), the light emitting element (P1) emits light and a low signal is input to the input port of the CPU (6) from the light receiving circuit (72).

【0044】一方、上記第1異常検出回路(8a)及び
第2異常検出回路(8b)は、それぞれ駆動制御回路
(4)と一対のコイル(A1〜B2)間に接続されると共
に、CPU(6)に接続されており、ダイオード(D13〜
D16)と抵抗(R13,R19)とを備えると共に、抵抗(R17〜R2
0)とツェナーダイオード(D17,D18) との並列回路を有し
ている。該第1異常検出回路(8a)及び第2異常検出
回路(8b)は一対のコイル(A1〜B2)における励磁時
のオーバーラップ時(t3,t7)にCPU(6)の入力ポー
トにロー信号を出力するようになっている。
On the other hand, the first abnormality detection circuit (8a) and the second abnormality detection circuit (8b) are respectively connected between the drive control circuit (4) and the pair of coils (A1 to B2), and the CPU ( 6) connected to a diode (D13 ~
D16) and resistors (R13, R19), and resistors (R17-R2).
It has a parallel circuit of 0) and Zener diode (D17, D18). The first abnormality detection circuit (8a) and the second abnormality detection circuit (8b) output a low signal to the input port of the CPU (6) when the pair of coils (A1 to B2) overlap at excitation (t3, t7). Is output.

【0045】また、上記CPU(6)には、電源供給回
路(3)と第1異常検出回路(8a)と第2異常検出回
路(8b)との入力信号に基づいて異常を検出する異常
検出手段(62)が構成されている。
Further, the CPU (6) detects an abnormality based on the input signals of the power supply circuit (3), the first abnormality detection circuit (8a) and the second abnormality detection circuit (8b). Means (62) are constructed.

【0046】次に、上記過電流検出回路(7)と第1異
常検出回路(8a)及び第2異常検出回路(8b)との
チェックモードについて説明する。
Next, the check mode of the overcurrent detection circuit (7) and the first abnormality detection circuit (8a) and the second abnormality detection circuit (8b) will be described.

【0047】上記過電流検出回路(7)は、図8に示す
ように、正常時においてCPU(6)の入力ポートSHに
ハイ信号を、異常時においてロー信号を入力させる(図
10(h),(l)参照)。
As shown in FIG. 8, the overcurrent detection circuit (7) inputs a high signal to the input port SH of the CPU (6) in a normal state and a low signal in an abnormal state (FIG. 10 (h)). , (L)).

【0048】また、上記両異常検出回路(8a,8b)
は、図9に示すように、各コイル(A1〜B2)を駆動する
駆動制御回路(4)のトランジスタ(Q3〜Q6)の駆動信
号I1〜I4が入力するナンド論理で構成されており、正常
時において両駆動信号I1,I2(I3,I4)が出力するときにロ
ーレベルになる正常パターン信号を、異常時において正
常パターン信号と異なる異常パターン信号をCPU
(6)の入力ポートO12,O34 に入力させる(図10
(f)〜(k)参照)。
Further, both the abnormality detecting circuits (8a, 8b)
Is configured by NAND logic to which the drive signals I1 to I4 of the transistors (Q3 to Q6) of the drive control circuit (4) for driving the coils (A1 to B2) are input, as shown in FIG. The normal pattern signal that goes low when both drive signals I1, I2 (I3, I4) are output when abnormal, and the abnormal pattern signal that is different from the normal pattern signal when abnormal
Input to the input ports O12 and O34 of (6) (Fig. 10
(F) to (k)).

【0049】そこで、上記両異常検出回路(8a,8
b)で検出するようにしたステッピングモータ回路
(1)の異常パターンについて説明する。
Therefore, both the abnormality detecting circuits (8a, 8a)
An abnormal pattern of the stepping motor circuit (1) detected in b) will be described.

【0050】まず、図12に示すように、2種類のコイ
ル(A1〜B2)おいて、コイル(A1〜B2)のオープンと、
トランジスタ(Q3〜Q6)のオープン及びショートがあ
る。この異常パターンに対して、第1異常検出回路(8
a)と第2異常検出回路(8b)とのCPU(6)の入
力信号は、図13に示すようになる。そして、すべての
コイル(A1〜B2)及びトランジスタ(Q3〜Q6)における
入力信号パターンは、図14に示すようになり、パター
ン0は正常パターン信号で、図10の(f),(g)に
示すようになる。また、他の4つのパターン1〜4は異
常パターン信号で、図10の(i)〜(k)に示すよう
になる。
First, as shown in FIG. 12, in two types of coils (A1 to B2), when the coils (A1 to B2) are opened,
There are open and short of transistors (Q3 to Q6). For this abnormality pattern, the first abnormality detection circuit (8
The input signals of the CPU (6) of (a) and the second abnormality detection circuit (8b) are as shown in FIG. Then, the input signal patterns in all the coils (A1 to B2) and the transistors (Q3 to Q6) are as shown in FIG. 14, and the pattern 0 is a normal pattern signal and is shown in (f) and (g) of FIG. As shown. Further, the other four patterns 1 to 4 are abnormal pattern signals, as shown in (i) to (k) of FIG.

【0051】一方、上記コイル(A1〜B2)のショートは
過電流検出回路(7)によって検出するようにしてい
る。
On the other hand, the short circuit of the coils (A1 to B2) is detected by the overcurrent detection circuit (7).

【0052】次に、上記異常検出手段(62)及び過電
流検出回路(7)によるについて制御フローに基づいて
説明する。
Next, the abnormality detection means (62) and the overcurrent detection circuit (7) will be described based on the control flow.

【0053】この異常検出動作は電源(31)投入時と
作動時とにおいて行われている。
This abnormality detecting operation is performed when the power source (31) is turned on and when it is activated.

【0054】電源(31)投入時は、図15に示すよう
に、ステップST101において、電源(31)投入さ
れた後、ステップST102において、チェックパター
ン信号を出力し、図11のX点よりチェック期間が開始
される。
When the power source (31) is turned on, as shown in FIG. 15, in step ST101, after the power source (31) is turned on, a check pattern signal is output in step ST102, and the check period starts from point X in FIG. Is started.

【0055】続いて、ステップST103において、駆
動制御回路(4)のトランジスタ(Q3〜Q6)をオンする
2つの駆動信号I1,I2 がハイか否かを判定し、一方の駆
動信号がハイなどの状態においては、ステップST10
4に移り、第1異常検出回路(8a)からの入力信号O1
2 がハイか否かを判定する。そして、ローの場合はコイ
ル(A1〜B2)のオープンなどの異常が生じているので、
ステップST105に移り、異常処理を行ってリターン
する。また、上記両駆動信号I1,I2 の出力時において
は、ステップST103からステップST106に移
り、第1異常検出回路(8a)からの入力信号O12 がロ
ーか否かが判定される。そして、ハイの場合にはコイル
(A1〜B2)のオープンなどが生じているので、上記ステ
ップST105に移り、異常処理を行うことになる。
Then, in step ST103, it is determined whether or not the two drive signals I1 and I2 for turning on the transistors (Q3 to Q6) of the drive control circuit (4) are high. In the state, step ST10
4, the input signal O1 from the first abnormality detection circuit (8a)
Determines if 2 is high. And in the case of low, there is an abnormality such as the opening of the coils (A1 to B2), so
The process moves to step ST105, the abnormality process is performed, and the process returns. Further, when both drive signals I1 and I2 are output, the process proceeds from step ST103 to step ST106, and it is determined whether or not the input signal O12 from the first abnormality detection circuit (8a) is low. If it is high, the coils (A1 to B2) are opened, so that the procedure goes to step ST105 to perform the abnormality processing.

【0056】つまり、上記第1異常検出回路(8a)か
らの入力信号O12 は、両駆動信号I1,I2 の出力時のみロ
ーとなる正常パターン信号であるので、他の異常パター
ン信号のときはステップST104,ST106からス
テップST105に移ることになる。
That is, the input signal O12 from the first abnormality detection circuit (8a) is a normal pattern signal which becomes low only when both drive signals I1 and I2 are output. The process moves from ST104 and ST106 to step ST105.

【0057】その後、第1異常検出回路(8a)が正常
パターン信号を出力していると、上記ステップST10
4,ST106よりステップST107に移り、第2異
常検出回路(8b)に対して上記第1異常検出回路(8
a)と同様な検出動作をステップST110まで行い、
チェックパターン信号の出力が終了するまで上述の動作
を繰り返し、異常を検出する。
After that, when the first abnormality detection circuit (8a) outputs the normal pattern signal, the above-mentioned step ST10 is executed.
4, the process proceeds from ST106 to step ST107, and the first abnormality detection circuit (8) is compared with the second abnormality detection circuit (8b).
The same detection operation as in a) is performed up to step ST110,
The above operation is repeated until the output of the check pattern signal is completed, and the abnormality is detected.

【0058】一方、電動膨脹弁の作動時においては、図
16に示すように、ステップST121において、電動
膨脹弁の駆動時か否かを判定し、駆動時のみ以下の検出
動作を行う。そして、ステップST122からステップ
ST125は,上記ステップST103からステップS
T106と同様に第1異常検出回路(8a)が異常パタ
ーン信号を出力しているか否かを判定しており、異常パ
ターン信号の場合は異常処理を行うことになる。また、
ステップST126からステップST128は上記ステ
ップST107からステップST109と同様に第2異
常検出回路(8b)が異常パターン信号を出力している
か否かを判定する。この動作を電動膨脹弁の駆動中は常
時行い異常を検出する。
On the other hand, when the electric expansion valve is operating, as shown in FIG. 16, in step ST121, it is determined whether or not the electric expansion valve is being driven, and the following detection operation is performed only when the electric expansion valve is being driven. Then, steps ST122 to ST125 are steps ST103 to S
Similar to T106, it is determined whether or not the first abnormality detection circuit (8a) is outputting an abnormality pattern signal, and in the case of an abnormality pattern signal, abnormality processing is performed. Also,
From step ST126 to step ST128, it is determined whether the second abnormality detection circuit (8b) is outputting an abnormal pattern signal as in step ST107 to step ST109. This operation is always performed while the electric expansion valve is being driven to detect an abnormality.

【0059】また、図17は、各コイル(A1〜B2)のシ
ョートを検出しており、ステップST141において、
過電流検出回路(7)がハイ信号を出力したか否かを判
定しており、ロー信号になると、ステップST142に
移り、異常処理を行うことになり、その他の場合はリタ
ーンすることになる。
Further, in FIG. 17, a short circuit of each coil (A1 to B2) is detected, and in step ST141,
It is determined whether or not the overcurrent detection circuit (7) has output a high signal, and when it becomes a low signal, the process proceeds to step ST142 to perform abnormality processing, and otherwise returns.

【0060】従って、上記コイル(A1〜B2)のショート
を検出する過電流検出回路(7)と、正常パターン信号
及び異常パターン信号を出力する両異常検出回路(8
a,8b)とを設けたために、簡単な構成で且つ大型化
することなく、コイル(A1〜B2)や駆動制御回路(4)
の異常を検出することができる。また、上記コイル(A1
〜B2)及び駆動制御回路(4)の駆動状態から状態パタ
ーンを設定しているので、電源投入時のみならず駆動中
においても異常を検出することができる。この結果、例
えば、冷媒回路の保護装置が作動する前に異常を検出す
ることができるので、故障箇所の究明を容易に行うこと
ができる。
Therefore, an overcurrent detection circuit (7) for detecting a short circuit of the coils (A1 to B2) and both abnormality detection circuits (8) for outputting a normal pattern signal and an abnormal pattern signal.
a, 8b), the coils (A1 to B2) and the drive control circuit (4) have a simple structure and do not increase in size.
Can detect abnormalities. In addition, the coil (A1
~ B2) and the drive pattern of the drive control circuit (4) are set, the abnormality can be detected not only when the power is turned on but also during the drive. As a result, for example, an abnormality can be detected before the protection device for the refrigerant circuit is activated, so that the location of the failure can be easily identified.

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

【図1】本発明の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of the present invention.

【図2】請求項2に係る第1実施例の回路ブロック図で
ある。
FIG. 2 is a circuit block diagram of a first embodiment according to claim 2;

【図3】第1実施例のコイルの励磁タイミング図であ
る。
FIG. 3 is an excitation timing chart of the coil of the first embodiment.

【図4】第1実施例の異常検出動作のフロー図である。FIG. 4 is a flow chart of an abnormality detection operation of the first embodiment.

【図5】第1実施例の作動モジュールのフロー図であ
る。
FIG. 5 is a flowchart of the operation module of the first embodiment.

【図6】第1実施例の異常検出動作のフロー図である。FIG. 6 is a flowchart of the abnormality detection operation of the first embodiment.

【図7】請求項1に係る第2実施例の回路ブロック図で
ある。
FIG. 7 is a circuit block diagram of a second embodiment according to claim 1.

【図8】第2実施例のショートチェックモード図であ
る。
FIG. 8 is a short check mode diagram of the second embodiment.

【図9】第2実施例のオープンチェックモード図であ
る。
FIG. 9 is an open check mode diagram of the second embodiment.

【図10】第2実施例のCPUの入出力のタイミング図
である。
FIG. 10 is a timing chart of input / output of the CPU of the second embodiment.

【図11】第2実施例のCPUの入出力のタイミング図
である。
FIG. 11 is a timing chart of input / output of the CPU of the second embodiment.

【図12】第2実施例のCPUの入力パターン図であ
る。
FIG. 12 is an input pattern diagram of the CPU of the second embodiment.

【図13】第2実施例の異常パターン図である。FIG. 13 is an abnormal pattern diagram of the second embodiment.

【図14】第2実施例のCPUの入力波形パターン図で
ある。
FIG. 14 is an input waveform pattern diagram of the CPU of the second embodiment.

【図15】第2実施例の異常検出動作のフロー図であ
る。
FIG. 15 is a flowchart of the abnormality detection operation of the second embodiment.

【図16】第2実施例の異常検出動作のフロー図であ
る。
FIG. 16 is a flowchart of the abnormality detection operation of the second embodiment.

【図17】第2実施例の異常検出動作のフロー図であ
る。
FIG. 17 is a flowchart of the abnormality detection operation of the second embodiment.

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

1 ステッピングモータ回路 2 ステッピングモータ 3 電源供給回路 4 駆動制御回路 5a,5b 第1状態検出回路 6 CPU 7 過電流検出回路 8a,8b 第1異常検出回路 61 異常検出手段 1 Stepping Motor Circuit 2 Stepping Motor 3 Power Supply Circuit 4 Drive Control Circuit 5a, 5b First State Detection Circuit 6 CPU 7 Overcurrent Detection Circuit 8a, 8b First Abnormality Detection Circuit 61 Abnormality Detection Means

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成3年4月3日[Submission date] April 3, 1991

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】発明の詳細な説明[Name of item to be amended] Detailed explanation of the invention

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

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

【0001】[0001]

【産業上の利用分野】本発明は、電動膨脹弁などに用い
られるステッピングモータ回路の異常検出装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an abnormality detecting device for a stepping motor circuit used in an electric expansion valve or the like.

【0002】[0002]

【従来の技術】一般に、空気調和装置において、電動膨
脹弁の弁開度を設定するためにステッピングモータが用
いられている。そして、このステッピングモータのコイ
ルがショート又はオープンすると、ステッピングモータ
が停止したり、駆動回路が破損したりすることになる。
2. Description of the Related Art Generally, in an air conditioner, a stepping motor is used to set the valve opening of an electric expansion valve. If the coil of the stepping motor is short-circuited or opened, the stepping motor stops or the drive circuit is damaged.

【0003】そこで、従来、特開昭59−56819号
公報に開示されているように、モータの過負荷状態と軽
負荷状態とを、モータに流れる電流を変流器により検出
することによって検出するようにしているものがある。
Therefore, as disclosed in Japanese Patent Laid-Open No. 59-56819, an overload state and a light load state of a motor are conventionally detected by detecting a current flowing through the motor with a current transformer. There are things I do.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、これで
は、変流器を設けているため、装置全体が大型化すると
いう問題があった。また、モータの各コイルと変流器と
の関係を設けておく必要があり、構成が複雑になるとい
う問題があった。
However, in this case, since the current transformer is provided, there is a problem that the size of the entire apparatus becomes large. In addition, it is necessary to establish a relationship between each coil of the motor and the current transformer, which causes a problem that the configuration becomes complicated.

【0005】そこで、ステッピングモータの電源供給回
路と駆動制御回路とにハイレベルとローレベルとの信号
を入力する一方、上記コイルと駆動制御回路との間より
状態信号を取出し、この状態信号より異常を検出するよ
うにすることが考えられている。
Therefore, while inputting a high level signal and a low level signal to the power supply circuit and the drive control circuit of the stepping motor, a status signal is taken out between the coil and the drive control circuit, and an abnormality is detected from this status signal. It is considered to detect.

【0006】しかし、これでは、電源供給回路と駆動制
御回路とにハイレベルとローレベルとの信号を入力する
ため、電源投入時のみしか異常をチェックすることがで
ず、空調時に異常が生じると、冷媒回路の保護装置が作
動し、この作動後では故障箇所の究明が難しいという問
題があった。
However, in this case, since a high level signal and a low level signal are input to the power supply circuit and the drive control circuit, the abnormality can be checked only when the power is turned on, and if an abnormality occurs during air conditioning. However, there is a problem in that the protection device of the refrigerant circuit is activated and it is difficult to find the failure point after the activation.

【0007】本発明は、斯かる点に鑑みてなされたもの
で、電源投入時のみならず、ステッピングモータの作動
時においても異常を検出できるようにすることを目的と
するものである。
The present invention has been made in view of the above points, and it is an object of the present invention to detect an abnormality not only when the power is turned on but also when the stepping motor is operated.

【0008】[0008]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明が講じた手段は、駆動時のステッピングモ
ータの各コイルと駆動制御手段との状態より直接に異常
を検出するようにしたものである。
In order to achieve the above object, the means taken by the present invention is to detect an abnormality directly from the state of each coil of the stepping motor and the drive control means during driving. It was done.

【0009】具体的に、図1に示すように、請求項1に
係る発明が講じた手段は、まず、各相の各コイル(A1〜
B2)を励磁することによって駆動するステッピングモー
タ(2)と、該ステッピングモータ(2)の各コイル
(A1〜B2)に接続されて該コイル(A1〜B2)に電力供給
する電源供給手段(3)と、上記ステッピングモータ
(2)の各コイル(A1〜B2)に接続されていて、該各コ
イル(A1〜B2)を予め設定された極性で時間順次に励磁
させる駆動制御手段(4)とが設けられている。そし
て、上記電源供給手段(3)に連繋され、コイル(A1〜
B2)のショートによる過電流を検出して異常信号を出力
する過電流検出手段(7)が設けられている。更に、そ
れぞれ一対のコイル(A1〜B2)と駆動制御手段(4)と
の間に接続され、正常状態において各一対のコイル(A1
〜B2)が共に励磁するとレベルが変化する正常パターン
信号を出力し、異常状態において正常パターン信号と異
なるパターンの異常パターン信号を出力する異常検出手
段(8a,8b)が設けられた構成としている。
Specifically, as shown in FIG. 1, the means taken by the invention according to claim 1 is as follows. First, each coil of each phase (A1 to
Stepping motor (2) driven by exciting B2) and power supply means (3) connected to each coil (A1 to B2) of the stepping motor (2) to supply electric power to the coil (A1 to B2) ) And drive control means (4) connected to the coils (A1 to B2) of the stepping motor (2) and sequentially exciting the coils (A1 to B2) with a preset polarity. Is provided. Then, the coils (A1 to
An overcurrent detection means (7) for detecting an overcurrent due to a short circuit of B2) and outputting an abnormal signal is provided. Further, each pair of coils (A1 to B2) is connected between the drive control means (4) and each pair of coils (A1 to B1) is connected in a normal state.
.About.B2) both output normal pattern signals whose levels change when excited, and abnormal condition detection means (8a, 8b) that outputs an abnormal pattern signal of a pattern different from the normal pattern signal in an abnormal state.

【0010】また、請求項2に係る発明が講じた手段
は、各相の各コイル(A1〜B2)を励磁することによって
駆動するステッピングモータ(2)と、該ステッピング
モータ(2)の各コイル(A1〜B2)に接続されて該コイ
ル(A1〜B2)に電力供給する電源供給手段(3)と、上
記ステッピングモータ(2)の各コイル(A1〜B2)に接
続されていて、該各コイル(A1〜B2)を予め設定された
極性で時間順次に励磁させる駆動制御手段(4)とが設
けられている。
Further, the means taken by the invention according to claim 2 is the stepping motor (2) for driving by exciting each coil (A1 to B2) of each phase, and each coil of the stepping motor (2). (A1 to B2) and power supply means (3) for supplying power to the coils (A1 to B2) and each coil (A1 to B2) of the stepping motor (2). A drive control means (4) for exciting the coils (A1 to B2) in time sequence with a preset polarity is provided.

【0011】そして、それぞれ一対のコイル(A1〜B2)
と駆動制御手段(4)との間に接続され、各コイル(A1
〜B2)と駆動制御手段(4)との導通及び遮断に対応し
て状態信号を出力する複数の状態検出手段(5a,5
b)が設けられている。更に、上記電源供給手段(3)
と駆動制御手段(4)と各状態検出手段(5a,5b)
との入出力信号より異常を検出する異常検出手段(6
1)が設けられた構成としている。
Then, a pair of coils (A1 to B2) respectively
And the drive control means (4), and each coil (A1
~ B2) and a plurality of state detecting means (5a, 5) for outputting a state signal corresponding to conduction and interruption between the drive control means (4)
b) is provided. Further, the power supply means (3)
Drive control means (4) and state detection means (5a, 5b)
Abnormality detection means (6)
1) is provided.

【0012】[0012]

【作用】上記の構成により、請求項1に係る発明では、
まず、電源供給手段(3)よりステッピングモータ
(2)の各コイルには電力供給されており、駆動制御手
段(4)が導通・遮断することによって上記ステッピン
グモータ(2)の各コイル(A1〜B2)は時間順次に励磁
し、該ステッピングモータ(2)が駆動することにな
る。
With the above construction, in the invention according to claim 1,
First, electric power is supplied to each coil of the stepping motor (2) from the power supply means (3), and each coil (A1 to A1 to coil) of the stepping motor (2) is turned on and off by the drive control means (4). B2) is excited in time sequence and the stepping motor (2) is driven.

【0013】そして、過電流検出手段(7)は上記電源
供給手段(3)より各コイル(A1〜B2)に流れる過電流
を検出しており、該コイル(A1〜B2)がショートする
と、過電流が流れるので、この過電流を検出して上記コ
イル(A1〜B2)のショートを検出している。
The overcurrent detecting means (7) detects the overcurrent flowing through the coils (A1 to B2) from the power supply means (3). When the coils (A1 to B2) are short-circuited, the overcurrent is detected. Since a current flows, this overcurrent is detected to detect the short circuit of the coils (A1 to B2).

【0014】一方、異常検出手段(8a,8b)は、上
記各コイル(A1〜B2)及び駆動制御手段(4)が正常状
態であると、一対のコイル(A1〜B2)が共に励磁すると
きにのみレベルが変化する正常パターン信号を出力し、
異常状態になると、正常パターン信号以外のパターンの
異常パターン信号を出力することになる。
On the other hand, the abnormality detecting means (8a, 8b), when the coils (A1 to B2) and the drive control means (4) are in a normal state, when the pair of coils (A1 to B2) are both excited. Output a normal pattern signal whose level changes only to
In an abnormal state, an abnormal pattern signal of a pattern other than the normal pattern signal will be output.

【0015】これにより、上記コイル(A1〜B2)及び駆
動制御手段の異常を検出する。
As a result, the abnormality of the coils (A1 to B2) and the drive control means is detected.

【0016】また、請求項2に係る発明では、各状態検
出手段(5a,5b)が各コイル(A1〜B2)及び駆動制
御手段(4)の導通及び遮断に対応して状態信号を出力
している。そして、該各状態検出手段(5a,5b)の
状態信号の組み合わせと、上記電源供給手段(3)及び
駆動制御手段(4)の状態よって異常検出手段(61)
が異常を検出することになる。
Further, in the invention according to claim 2, each state detecting means (5a, 5b) outputs a state signal corresponding to conduction or interruption of each coil (A1 to B2) and drive control means (4). ing. The abnormality detection means (61) is determined by the combination of the status signals of the status detection means (5a, 5b) and the statuses of the power supply means (3) and the drive control means (4).
Will detect an abnormality.

【0017】[0017]

【効果】従って、請求項1に係る発明によれば、コイル
(A1〜B2)のショートを検出する過電流検出手段(7)
と、正常パターン信号及び異常パターン信号を出力する
異常検出手段(8a,8b)とを設けたために、簡単な
構成で且つ大型化することなく、コイル(A1〜B2)や駆
動制御手段(4)の異常を検出することができる。ま
た、上記コイル(A1〜B2)及び駆動制御手段(4)の駆
動状態から状態パターンを設定しているので、電源投入
時のみならず駆動中においても異常を検出することがで
きる。この結果、例えば、冷媒回路の保護装置が作動す
る前に異常を検出することができるので、故障箇所の究
明を容易に行うことができる。
[Effect] Therefore, according to the invention of claim 1, overcurrent detection means (7) for detecting a short circuit of the coils (A1 to B2).
And the abnormality detecting means (8a, 8b) for outputting the normal pattern signal and the abnormal pattern signal are provided, so that the coils (A1 to B2) and the drive control means (4) have a simple structure and do not increase in size. Can detect abnormalities. Further, since the state pattern is set based on the drive states of the coils (A1 to B2) and the drive control means (4), the abnormality can be detected not only when the power is turned on but also during the drive. As a result, for example, an abnormality can be detected before the protection device for the refrigerant circuit is activated, so that the location of the failure can be easily identified.

【0018】また、請求項2に係る発明によれば、上記
コイル(A1〜B2)と駆動制御手段(4)との状態に対応
した状態信号を出力する第1及び第2状態検出手段(5
a,5b)と、該各状態検出手段(5a,5b)の状態
信号の組み合わせを利用して異常を検出する異常検出手
段(61)とを設けたために、過電流検出手段を設ける
ことなくコイル(A1〜B2)のショートを検出することが
できるので、ポート数を少なくすることができ、より簡
単な構成でもって異常を検出することができる。更に、
上記コイル(A1〜B2)の異常と駆動制御手段(4)の異
常とを識別できることから、異常処置をより精度良く行
うことができる。
According to the second aspect of the invention, the first and second state detecting means (5) for outputting a state signal corresponding to the states of the coils (A1 to B2) and the drive control means (4).
a, 5b) and an abnormality detecting means (61) for detecting an abnormality by utilizing a combination of the state signals of the respective state detecting means (5a, 5b), the coil can be provided without providing an overcurrent detecting means. Since the short circuit of (A1 to B2) can be detected, the number of ports can be reduced and the abnormality can be detected with a simpler configuration. Furthermore,
Since the abnormality of the coils (A1 to B2) and the abnormality of the drive control means (4) can be discriminated from each other, the abnormality can be corrected with higher accuracy.

【0019】[0019]

【実施例】以下、本発明の構成を図面に基づいて詳細に
説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The structure of the present invention will be described in detail below with reference to the drawings.

【0020】図2は請求項2の発明に係る実施例を示
し、(1)はステッピングモータ回路であって、空気調
和装置に設けられた電動膨脹弁の開度を制御するもので
ある。そして、該ステッピングモータ回路(1)は、ス
テッピングモータ(2)の各コイル(A1〜B2)に電源供
給手段である電源供給回路(3)と駆動制御手段である
駆動制御回路(4)とが接続されると共に、第1状態検
出手段である第1状態検出回路(5a)と第2状態検出
手段である第2状態検出回路(5b)とを備えて構成さ
れている。尚、図中のAはコイルA1を、Aバーはコイル
A2を、BはコイルB1を、BバーはコイルB2を示してい
る。
FIG. 2 shows an embodiment according to a second aspect of the present invention, in which (1) is a stepping motor circuit for controlling the opening degree of an electric expansion valve provided in an air conditioner. The stepping motor circuit (1) includes a power supply circuit (3) which is a power supply means and a drive control circuit (4) which is a drive control means for each coil (A1 to B2) of the stepping motor (2). It is connected and is provided with a first state detecting circuit (5a) which is a first state detecting means and a second state detecting circuit (5b) which is a second state detecting means. In the figure, A is a coil A1 and A bar is a coil.
A2 indicates the coil B1, B indicates the coil B2.

【0021】上記電源供給回路(3)は、13Vの電源
(31)と2つのトランジスタ(Q7,Q8)とを備えてお
り、該電源(31)は抵抗(R10)を介してPNP型のト
ランジスタ(Q8)のエミッタに接続され、該トランジス
タ(Q8)のコレクタはステッピングモータ(2)の共通
端子(COM)に接続されと共に、ベースは電源(31)に
抵抗(R9)をダイオード(D9)を介して接続されてい
る。また、上記NPN型のトランジスタ(Q7)のベース
が抵抗(R7)を介してCPU(6)に、コレクタは抵抗
(R8)を介して上記トランジスタ(Q8)のベースにそれ
ぞれ接続されると共に、エミッタは接地されている。そ
して、上記両トランジスタ(Q7,Q8)はCPU(6)か
らの電源信号によりオンしてステッピングモータ(2)
に電力供給する。
The power supply circuit (3) comprises a 13V power source (31) and two transistors (Q7, Q8), and the power source (31) is a PNP type transistor via a resistor (R10). It is connected to the emitter of (Q8), the collector of the transistor (Q8) is connected to the common terminal (COM) of the stepping motor (2), and the base of the power supply (31) has a resistor (R9) and a diode (D9). Connected through. The base of the NPN transistor (Q7) is connected to the CPU (6) via the resistor (R7), and the collector is connected to the base of the transistor (Q8) via the resistor (R8). Is grounded. Then, both transistors (Q7, Q8) are turned on by the power signal from the CPU (6) to turn on the stepping motor (2).
Power to.

【0022】上記ステッピングモータ(2)は、2相励
磁方式の4相ステッピングモータ(2)であって、4つ
のコイル(A1〜B2)を備える一方、該ステッピングモー
タ(2)に含まれないが、各コイル(A1〜B2)と並列に
ダイオード(D5〜D8)が接続されている。
The stepping motor (2) is a two-phase excitation type four-phase stepping motor (2) which includes four coils (A1 to B2), but is not included in the stepping motor (2). , Diodes (D5 to D8) are connected in parallel with each coil (A1 to B2).

【0023】上記駆動制御回路(4)は、各コイル(A1
〜B2)に対応して4つの駆動トランジスタ(Q3〜Q6)を
備えており、各トランジスタ(Q3〜Q6)のベースはCP
U(6)に、コレクタは各コイル(A1〜B2)にそれぞれ
接続されると共に、エミッタは接地されている。そし
て、各駆動トランジスタ(Q3〜Q6)はCPU(6)から
の駆動信号によりオンして、上記各コイル(A1〜B2)を
予め設定された極性で時間順次に励磁している。つま
り、図3に示すように、時間的な一部分において各コイ
ル(A1〜B2)のうち2つがオーバーラップして励磁され
ると共に、他の一部分において各コイル(A1〜B2)が単
独で励磁されるようになっている。
The drive control circuit (4) is arranged so that each coil (A1
~ B2) is equipped with four drive transistors (Q3 to Q6), and the base of each transistor (Q3 to Q6) is CP.
To U (6), the collector is connected to each coil (A1 to B2), and the emitter is grounded. Then, the drive transistors (Q3 to Q6) are turned on by the drive signal from the CPU (6) to sequentially excite the coils (A1 to B2) with a preset polarity in time sequence. That is, as shown in FIG. 3, two of the coils (A1 to B2) are excited by being overlapped in a temporal part, and each coil (A1 to B2) is independently excited in the other part. It has become so.

【0024】一方、上記第1状態検出回路(5a)と第
2状態検出回路(5b)とは、本発明の特徴とするとこ
ろであり、それぞれPNP型のトランジスタ(Q1,Q2)
を備えており、該各トランジスタ(Q1,Q2)のベースは
一対のコイル(A1〜B2)と駆動制御回路(4)との間に
抵抗(R3,R6)及びダイオード(D1〜D4)を介して接続
され、エミッタは5Vの電源(51)に接続され、コレ
クタはCPU(6)に接続されると共に抵抗(R1,R4)
を介して接地されており、エミッタとベースとの間は抵
抗(R2,R5)を介して接続されている。そして、ベース
電流が流れると、CPU(6)にハイ又はローの状態信
号(IN1,IN2) が入力するようになっている。尚、 IN1は
第1状態検出回路(5a)の状態信号を、 IN2は第2状
態検出回路(5b)の状態信号をそれぞれ示している。
On the other hand, the first state detection circuit (5a) and the second state detection circuit (5b) are features of the present invention, and are PNP type transistors (Q1, Q2).
The base of each of the transistors (Q1, Q2) has a resistor (R3, R6) and a diode (D1-D4) between the pair of coils (A1 ~ B2) and the drive control circuit (4). , The emitter is connected to the 5V power supply (51), the collector is connected to the CPU (6) and the resistors (R1, R4)
It is grounded through and the emitter and the base are connected through resistors (R2, R5). Then, when the base current flows, high or low state signals (IN1, IN2) are input to the CPU (6). IN1 indicates the state signal of the first state detection circuit (5a), and IN2 indicates the state signal of the second state detection circuit (5b).

【0025】上記CPU(6)は、電源供給回路(3)
のトランジスタ(Q7,Q8)に電源信号を、駆動制御回路
(4)の各トランジスタ(Q3〜Q6)に駆動信号をそれぞ
れ出力すると共に、異常検出手段(61)が構成されて
いる。該異常検出手段(61)は上記第1状態検出回路
(5a)と第2状態検出回路(5b)との状態信号(IN
1,IN2) を受けて上記コイル(A1〜B2)及び駆動制御回
路(4)の各トランジスタ(Q3〜Q6)のオープン及びシ
ョートの異常を検出するようにしている。
The CPU (6) is a power supply circuit (3).
The power supply signal is output to the transistors (Q7, Q8) and the drive signal is output to the transistors (Q3 to Q6) of the drive control circuit (4), and an abnormality detecting means (61) is configured. The abnormality detecting means (61) is a state signal (IN) for the first state detecting circuit (5a) and the second state detecting circuit (5b).
1, IN2) is received to detect an open / short abnormality of the coil (A1 to B2) and each transistor (Q3 to Q6) of the drive control circuit (4).

【0026】次に、上記異常検出手段(61)によるス
テッピングモータ(2)の各コイル(A1〜B2)及び駆動
制御回路(4)の各トランジスタ(Q3〜Q6)の異常検出
動作について制御フローに基づき説明する。
Next, the control flow of the abnormality detection operation of the coils (A1 to B2) of the stepping motor (2) and the transistors (Q3 to Q6) of the drive control circuit (4) by the abnormality detection means (61) will be described. It will be explained based on.

【0027】まず、図4に示すように、電源(31)投
入時に電動膨脹弁の作動前において、トランジスタ(Q3
〜Q6)のショート及びオープンとコイル(A1〜B2)のオ
ープンとをチェックする。
First, as shown in FIG. 4, the transistor (Q3
Check for short and open of ~ Q6) and open of coil (A1 ~ B2).

【0028】スタートしてステップST1において、電
源供給回路(3)のトランジスタ(Q3〜Q6)をオフした
後、ステップST2において、駆動制御回路(4)の各
トランジスタ(Q3〜Q6)をオフしてステップST3に移
り、遅延処理した後ステップST4に移り、各状態検出
回路(5a,5b)の状態信号(IN1,IN2) がハイか、ロ
ーかを判定する。つまり、電源供給回路(3)及び駆動
制御回路(4)をオフしている状態においては、ステッ
ピングモータ(2)の共通端子(COM) は各状態検出回路
(5a,5b)の電源(51)電位である5Vになり、
この状態において駆動制御回路(4)のトランジスタ
(Q3〜Q6)にうち何かがショートしていると、第1状態
検出回路(5a)及び第2状態検出回路(5b)のトラ
ンジスタ(Q1,Q2)のベース電流が流れるので、状態信
号(IN1,IN2) の何れかがハイになり、ステップST5に
移り、駆動制御回路(4)のトランジスタ(Q3〜Q6)の
何かがショートであることを検出する。
After starting, the transistors (Q3 to Q6) of the power supply circuit (3) are turned off in step ST1, and then the transistors (Q3 to Q6) of the drive control circuit (4) are turned off in step ST2. In step ST3, delay processing is performed and then in step ST4, it is determined whether the status signals (IN1, IN2) of the status detection circuits (5a, 5b) are high or low. That is, when the power supply circuit (3) and the drive control circuit (4) are turned off, the common terminal (COM) of the stepping motor (2) is connected to the power source (51) of each state detection circuit (5a, 5b). The potential is 5V,
In this state, if something is short-circuited among the transistors (Q3 to Q6) of the drive control circuit (4), the transistors (Q1, Q2) of the first state detection circuit (5a) and the second state detection circuit (5b) ), The state current (IN1, IN2) becomes high, and the process moves to step ST5. It is confirmed that some of the transistors (Q3 to Q6) of the drive control circuit (4) are short-circuited. To detect.

【0029】一方、上記状態信号(IN1,IN2) が共にハイ
でないときは、ステップST4からステップST6に移
り、駆動制御回路(4)の1のトランジスタ(Q3)をオ
ンし、ステップST7に移り、遅延処理した後ステップ
ST8に移り、第1状態検出回路(5a)の状態信号(I
N1) がハイか否かを判定する。つまり、駆動制御回路
(4)の各トランジスタ(Q3〜Q6)が正常で、各コイル
(A1〜B2)が正常であれば、上記トランジスタ(Q3)に
対応した第1状態検出回路(5a)のトランジスタ(Q
1)のベース電流が流れると共に、第2状態検出回路
(5b)のトランジスタ(Q2)のベース電流もダイオー
ド(D3,D4)を介して流れるので、両状態検出回路(5
a,5b)の状態信号(IN1,IN2) が共にハイになる。
On the other hand, when neither of the above status signals (IN1, IN2) is high, the process moves from step ST4 to step ST6, turns on the first transistor (Q3) of the drive control circuit (4), and then moves to step ST7. After the delay processing, the process proceeds to step ST8, and the status signal (I
It is determined whether N1) is high. That is, if each transistor (Q3 to Q6) of the drive control circuit (4) is normal and each coil (A1 to B2) is normal, the first state detection circuit (5a) of the transistor (Q3) corresponding to Transistor (Q
Since the base current of 1) flows and the base current of the transistor (Q2) of the second state detection circuit (5b) also flows through the diodes (D3, D4), both state detection circuits (5
The status signals (IN1, IN2) of a, 5b) both become high.

【0030】従って、ステップST8において、第1状
態検出回路(5a)の状態信号(IN1) がローであると、
判定がノーとなり、ステップST9に移り、駆動制御回
路(4)のトランジスタ(Q3)のオープンを検出する。
また、第1状態検出回路(5a)の状態信号(IN1) がハ
イであると、ステップST8からステップST10に移
り、第2状態検出回路(5b)の状態信号(IN2) がハイ
か否かを判定し、第2状態検出回路(5b)の状態信号
(IN2) がローであると、ステップST11に移り、コイ
ル(A1)の断線を検出する。
Therefore, in step ST8, if the state signal (IN1) of the first state detection circuit (5a) is low,
The determination is no, and the process moves to step ST9 to detect the open state of the transistor (Q3) of the drive control circuit (4).
If the state signal (IN1) of the first state detection circuit (5a) is high, the process proceeds from step ST8 to step ST10 to check whether the state signal (IN2) of the second state detection circuit (5b) is high. Judgment, status signal of the second status detection circuit (5b)
If (IN2) is low, the process proceeds to step ST11 to detect disconnection of the coil (A1).

【0031】また、上記ステップST10で第2状態検
出回路(5b)の状態信号(IN2) がハイであると、ステ
ップST12に移り、駆動制御回路(4)のトランジス
タ(Q3)をオフし、順次各トランジスタ(Q4〜Q6)をオ
ンし、上記ステップST6〜ST11の動作と同じ判定
動作をステップST12〜ST30で行い、各トランジ
スタ(Q4〜Q6)のオープン及び各コイル(A2〜B2)の断
線を検出する。
If the state signal (IN2) of the second state detection circuit (5b) is high in step ST10, the process proceeds to step ST12, the transistor (Q3) of the drive control circuit (4) is turned off, and the sequence is turned on. Turn on each transistor (Q4 to Q6), perform the same judgment operation as that of steps ST6 to ST11 in steps ST12 to ST30, open each transistor (Q4 to Q6) and disconnect each coil (A2 to B2). To detect.

【0032】この検出動作を行った後、図5に示す電動
膨脹弁の作動モジュールを実行する。 この電動膨脹弁
の作動ルーチンは、該電動膨脹弁の作動を概略的に示し
ており、ステップST41において、ドライバである駆
動制御回路(4)の処理を行った後、ステップST42
に移り、遅延処理を行い、ステップST43に移り、後
述する故障診断モジュールを実行する。続いて、ステッ
プST44に移り、正常か否かを判定し、正常な場合は
ステップST45に移り、このモジュールが終了するま
で上述の動作を行う一方、上記ステップST44及びス
テップST45において、異常を判定した場合や作動モ
ジュールが終了した場合は,ステップST46に移り、
終了処理を行うことになる。
After performing this detecting operation, the operation module of the electric expansion valve shown in FIG. 5 is executed. This operation routine of the electric expansion valve schematically shows the operation of the electric expansion valve, and in step ST41, after the processing of the drive control circuit (4) which is the driver is performed, step ST42 is performed.
Then, the delay process is performed, the process proceeds to step ST43, and the failure diagnosis module described later is executed. Then, the process proceeds to step ST44, it is determined whether or not it is normal, and if it is normal, the process proceeds to step ST45 and the above-mentioned operation is performed until the end of this module, while it is determined at step ST44 and step ST45 that there is an abnormality. In the case or when the operation module is completed, move to step ST46,
The termination process will be performed.

【0033】次に、図6に示す故障診断モジュールにつ
いて説明する。
Next, the failure diagnosis module shown in FIG. 6 will be described.

【0034】まず、ステップST51において、オンし
ているドライバ、つまり、上記駆動制御回路(4)のト
ランジスタ(Q3〜Q6)を判定し、トランジスタ(Q3)の
場合はステップST52に、トランジスタ(Q4)の場合
はステップST56に、トランジスタ(Q5)の場合はス
テップST60に、トランジスタ(Q6)の場合はステッ
プST64にそれぞれ移ることになる。そして、この各
トランジスタ(Q3〜Q6)及び各コイル(A1〜B2)の故障
診断は、図3に示すように、各コイル(A1〜B2)が単独
で励磁している時t2,t4,t6,t8 に行われる。
First, in step ST51, the driver that is turned on, that is, the transistors (Q3 to Q6) of the drive control circuit (4) is determined. In the case of the transistor (Q3), the transistor (Q4) is transferred to step ST52. In the case of, the process proceeds to step ST56, in the case of the transistor (Q5), the process proceeds to step ST60, and in the case of the transistor (Q6), the process proceeds to step ST64. As shown in FIG. 3, the failure diagnosis of each transistor (Q3 to Q6) and each coil (A1 to B2) is t2, t4, t6 when each coil (A1 to B2) is excited independently. , t8.

【0035】そこで、トランジスタ(Q3)が励磁されて
いる場合(t1)、ステップST52において、第1状態検
出回路(5a)のトランジスタ(Q1)がオンして状態信
号(IN1) がハイか否かを判定し、状態信号(IN1) がロー
の場合はステップST53に移り、トランジスタ(Q3)
のオープンを検出する。その後、上記第1状態検出回路
(5a)の状態信号(IN1) がハイの場合は、ステップS
T52からステップST54に移り、第2状態検出回路
(5b)の状態信号(IN2) がハイか否かが判定される。
そして、上記第2状態検出回路(5b)の状態信号(IN
2) がハイの場合は、ステップST55に移り、ステッ
ピングモータ(2)のコイル(A1)のショートを検出す
る。
Therefore, when the transistor (Q3) is excited (t1), it is determined in step ST52 whether the transistor (Q1) of the first state detection circuit (5a) is turned on and the state signal (IN1) is high. If the status signal (IN1) is low, the process moves to step ST53 and the transistor (Q3)
Detect open. Then, if the status signal (IN1) of the first status detection circuit (5a) is high, step S
The process moves from T52 to step ST54, and it is determined whether or not the state signal (IN2) of the second state detection circuit (5b) is high.
Then, the status signal of the second status detection circuit (5b) (IN
If 2) is high, the process proceeds to step ST55 to detect a short circuit of the coil (A1) of the stepping motor (2).

【0036】つまり、上記駆動制御回路(4)のトラン
ジスタ(Q3)が正常な場合は、第1状態検出回路(5
a)のトランジスタ(Q1)のベース電流が抵抗(R3)及
びダイオード(D1)を通じて駆動制御回路(4)のトラ
ンジスタ(Q3)に流れるので、第1状態検出回路(5
a)のトランジスタ(Q1)がオンして状態信号(IN1) が
ハイになる。一方、ステッピングモータ(2)のコイル
(A1)が正常な場合は、該ステッピングモータ(2)の
共通端子(COM)が電源(31)電圧(12V)になるの
で、第2状態検出回路(5b)のトランジスタ(Q2)の
ベース電流は流れず、状態信号(IN2) がローになる。
That is, when the transistor (Q3) of the drive control circuit (4) is normal, the first state detection circuit (5
Since the base current of the transistor (Q1) of a) flows through the resistor (R3) and the diode (D1) to the transistor (Q3) of the drive control circuit (4), the first state detection circuit (5)
The transistor (Q1) in a) turns on and the status signal (IN1) goes high. On the other hand, the coil of the stepping motor (2)
When (A1) is normal, the common terminal (COM) of the stepping motor (2) becomes the power supply (31) voltage (12V), so the base current of the transistor (Q2) of the second state detection circuit (5b). Does not flow and the status signal (IN2) goes low.

【0037】従って、第1状態検出回路(5a)の状態
信号(IN1) がローの場合はトランジスタ(Q1)のベース
電流が流れていないので、駆動制御回路(4)のトラン
ジスタ(Q3)がオープンしていることになり、第2状態
検出回路(5b)の状態信号(IN2) がハイの場合は、ス
テッピングモータ(2)の共通端子(COM)電圧がグラウ
ンドレベルまで低下してトランジスタ(Q2)がオンして
いることになり、コイル(A1)がショートしていること
になる。
Therefore, when the state signal (IN1) of the first state detection circuit (5a) is low, the base current of the transistor (Q1) is not flowing, so the transistor (Q3) of the drive control circuit (4) is opened. If the status signal (IN2) of the second status detection circuit (5b) is high, the common terminal (COM) voltage of the stepping motor (2) drops to the ground level and the transistor (Q2) Is turned on, and the coil (A1) is short-circuited.

【0038】上記ステップST52〜ST55の動作と
同様な動作を他の各トランジスタ(Q4〜Q6)及び各コイ
ル(A2〜B2)に対してステップST56からステップS
T67において行うことになる。そして、上記各トラン
ジスタ(Q4〜Q6)及び各コイル(A2〜B2)の状態を判定
した後、上記作動モジュールのステップST43に移る
ことになる。
The same operations as those in steps ST52 to ST55 are performed for other transistors (Q4 to Q6) and coils (A2 to B2) from steps ST56 to S56.
It will be performed at T67. Then, after determining the states of the transistors (Q4 to Q6) and the coils (A2 to B2), the operation module moves to step ST43.

【0039】これにより、駆動制御回路(4)のトラン
ジスタ(Q3〜Q6)及びステッピングモータ(2)のコイ
ル(A1〜B2)の異常を検出している。
As a result, the abnormality of the transistors (Q3 to Q6) of the drive control circuit (4) and the coils (A1 to B2) of the stepping motor (2) is detected.

【0040】従って、上記コイル(A1〜B2)と駆動制御
手段(4)との状態に対応した状態信号(IN1,IN2) を出
力する第1及び第2状態検出回路(5a,5b)と、該
各状態検出回路(5a,5b)の状態信号(IN1,IN2) の
組み合わせを利用して異常を検出する異常検出手段(6
1)とを設けたために、簡単な構成で且つ大型化するこ
となく、コイル(A1〜B2)や駆動制御回路(4)の異常
を検出することができる。また、上記コイル(A1〜B2)
及び駆動制御回路(4)の駆動状態から異常を検出して
いるので、電源投入時のみならず駆動中においても異常
を検出することができる。この結果、例えば、冷媒回路
の保護装置が作動する前に異常を検出することができる
ので、故障箇所の究明を容易に行うことができる。
Therefore, the first and second state detection circuits (5a, 5b) for outputting the state signals (IN1, IN2) corresponding to the states of the coils (A1 to B2) and the drive control means (4), Abnormality detecting means (6) for detecting an abnormality using a combination of the state signals (IN1, IN2) of the respective state detecting circuits (5a, 5b)
1) is provided, it is possible to detect an abnormality in the coils (A1 to B2) and the drive control circuit (4) with a simple configuration and without increasing the size. Also, the above coils (A1 to B2)
Since the abnormality is detected from the driving state of the drive control circuit (4), the abnormality can be detected not only when the power is turned on but also during driving. As a result, for example, an abnormality can be detected before the protection device for the refrigerant circuit is activated, so that the location of the failure can be easily identified.

【0041】また、過電流検出手段を設けることなくコ
イル(A1〜B2)のショートを検出することができるの
で、ポート数を少なくすることができ、より簡単な構成
でもって異常を検出することができる。更に、上記コイ
ル(A1〜B2)の異常と駆動制御回路(4)の異常とを識
別できることから、異常処置をより精度良く行うことが
できる。
Further, since it is possible to detect a short circuit of the coils (A1 to B2) without providing an overcurrent detecting means, it is possible to reduce the number of ports and detect an abnormality with a simpler configuration. it can. Further, since the abnormality of the coils (A1 to B2) and the abnormality of the drive control circuit (4) can be discriminated from each other, the abnormality can be corrected more accurately.

【0042】図7は請求項1に係る発明の実施例を示し
ており、上記実施例の電源供給回路(3)に連繋して過
電流検出手段である過電流検出回路(7)が設けられる
と共に、上記実施例の第1状態検出回路(5a)及び第
2状態検出回路(5b)に代り、第1異常検出手段であ
る第1異常検出回路(8a)及び第2異常検出手段であ
る第2異常検出回路(8b)が設けられている。尚、図
1と同様に図7中のAはコイルA1を、AバーはコイルA2
を、BはコイルB1を、BバーはコイルB2を示している。
FIG. 7 shows an embodiment of the invention according to claim 1. An overcurrent detection circuit (7) which is an overcurrent detection means is provided in communication with the power supply circuit (3) of the above embodiment. At the same time, instead of the first state detection circuit (5a) and the second state detection circuit (5b) of the above-described embodiment, the first abnormality detection circuit (8a) and the second abnormality detection means, which are the first abnormality detection means, are used. 2 An abnormality detection circuit (8b) is provided. The figure
As in the case of 1, A in FIG. 7 is a coil A1, and A bar is a coil A2.
, B indicates the coil B1, and B bar indicates the coil B2.

【0043】該過電流検出回路(7)は、発光回路(7
1)と受光回路(72)とを有しており、該発光回路
(71)は電源供給回路(3)のトランジスタ(Q8)と
並列に抵抗(R11)及び発光素子(P1)が接続されると共
に、該発光素子(P1)と並列に抵抗(R12)及びコンデン
サ(C1)が接続されて構成されている。一方、上記受光
回路(72)は受光素子(P2)の入力ポートが抵抗(R1
3)を介して電源(73)に接続されると共に、抵抗(R1
4)を介してCPU(6)に接続されて構成されている。
更に、上記受光回路(72)はコンデンサ(C2)を有す
ると共に、電源供給回路(3)にダイオード(D12)を介
して接続されており、該電源供給回路(3)の両トラン
ジスタ(Q7,Q8)間にはツェナーダイオード(D11)が設
けられると共に、トランジスタ(Q7)とCPU(6)の
間には抵抗(R15)及び電源(32)が抵抗(R16)を介し
て接続されている。そして、電源供給回路(3)からス
テッピングモータ(2)に過電流が流れると、発光素子
(P1)が発光してCPU(6)の入力ポートに受光回路
(72)よりロー信号が入力する。
The overcurrent detection circuit (7) is a light emitting circuit (7).
1) and a light receiving circuit (72), and the light emitting circuit (71) is connected with a resistor (R11) and a light emitting element (P1) in parallel with the transistor (Q8) of the power supply circuit (3). At the same time, a resistor (R12) and a capacitor (C1) are connected in parallel with the light emitting element (P1). On the other hand, in the light receiving circuit (72), the input port of the light receiving element (P2) is a resistor (R1
3) is connected to the power supply (73) and the resistance (R1
It is configured to be connected to the CPU (6) via 4).
Further, the light receiving circuit (72) has a capacitor (C2) and is connected to the power supply circuit (3) through a diode (D12), and both transistors (Q7, Q8) of the power supply circuit (3) are connected. ) Is provided with a Zener diode (D11), and a resistor (R15) and a power supply (32) are connected between the transistor (Q7) and the CPU (6) through the resistor (R16). When an overcurrent flows from the power supply circuit (3) to the stepping motor (2), the light emitting element (P1) emits light and a low signal is input to the input port of the CPU (6) from the light receiving circuit (72).

【0044】一方、上記第1異常検出回路(8a)及び
第2異常検出回路(8b)は、それぞれ駆動制御回路
(4)と一対のコイル(A1〜B2)間に接続されると共
に、CPU(6)に接続されており、ダイオード (D1〜
D4) と抵抗(R17,R19) とを備えると共に、抵抗(R18,R2
0)とツェナーダイオード(D17,D18) との並列回路を有し
ている。該第1異常検出回路(8a)及び第2異常検出
回路(8b)は一対のコイル(A1〜B2)における励磁時
のオーバーラップ時(t3,t7)にCPU(6)の入力ポー
トにロー信号を出力するようになっている。
On the other hand, the first abnormality detection circuit (8a) and the second abnormality detection circuit (8b) are respectively connected between the drive control circuit (4) and the pair of coils (A1 to B2), and the CPU ( 6) connected to a diode (D1 ~
D4) and resistors (R17 , R19), and resistors (R18, R2).
It has a parallel circuit of 0) and Zener diode (D17, D18). The first abnormality detection circuit (8a) and the second abnormality detection circuit (8b) output a low signal to the input port of the CPU (6) when the pair of coils (A1 to B2) overlap at excitation (t3, t7). Is output.

【0045】また、上記CPU(6)には、電源供給回
路(3)と第1異常検出回路(8a)と第2異常検出回
路(8b)との入力信号に基づいて異常を検出する異常
検出手段(62)が構成されている。
Further, the CPU (6) detects an abnormality based on the input signals of the power supply circuit (3), the first abnormality detection circuit (8a) and the second abnormality detection circuit (8b). Means (62) are constructed.

【0046】次に、上記過電流検出回路(7)と第1異
常検出回路(8a)及び第2異常検出回路(8b)との
チェックモードについて説明する。
Next, the check mode of the overcurrent detection circuit (7) and the first abnormality detection circuit (8a) and the second abnormality detection circuit (8b) will be described.

【0047】上記過電流検出回路(7)は、図8に示す
ように、正常時においてCPU(6)の入力ポートSHに
ハイ信号を、異常時においてロー信号を入力させる(図
10(h),(l)参照)。
As shown in FIG. 8, the overcurrent detection circuit (7) inputs a high signal to the input port SH of the CPU (6) in a normal state and a low signal in an abnormal state (FIG. 10 (h)). , (L)).

【0048】また、上記両異常検出回路(8a,8b)
は、図9に示すように、各コイル(A1〜B2)を駆動する
駆動制御回路(4)のトランジスタ(Q3〜Q6)の駆動信
号I1〜I4が入力するナンド論理で構成されており、正常
時において両駆動信号I1,I2(I3,I4)が出力するときにロ
ーレベルになる正常パターン信号を、異常時において正
常パターン信号と異なる異常パターン信号をCPU
(6)の入力ポートO12,O34 に入力させる(図10
(f)〜(k)参照)。
Further, both the abnormality detecting circuits (8a, 8b)
Is configured by NAND logic to which the drive signals I1 to I4 of the transistors (Q3 to Q6) of the drive control circuit (4) for driving the coils (A1 to B2) are input, as shown in FIG. The normal pattern signal that goes low when both drive signals I1, I2 (I3, I4) are output when abnormal, and the abnormal pattern signal that is different from the normal pattern signal when abnormal
Input to the input ports O12 and O34 of (6) (Fig. 10
(F) to (k)).

【0049】そこで、上記両異常検出回路(8a,8
b)で検出するようにしたステッピングモータ回路
(1)の異常パターンについて説明する。
Therefore, both the abnormality detecting circuits (8a, 8a)
An abnormal pattern of the stepping motor circuit (1) detected in b) will be described.

【0050】まず、図12に示すように、2種類のコイ
ル(A1〜B2)おいて、コイル(A1〜B2)のオープン
と、トランジスタ(Q3〜Q6)のオープン及びショートが
ある。この異常パターンに対して、第1異常検出回路
(8a)と第2異常検出回路(8b)とのCPU(6)
の入力信号は、図13に示すようになる。そして、すべ
てのコイル(A1〜B2)及びトランジスタ(Q3〜Q6)にお
ける入力信号パターンは、図14に示すようになり、パ
ターン0は正常パターン信号で、図10の(f),
(g)に示すようになる。また、他の4つのパターン1
〜4は異常パターン信号で、図10の(i)〜()に
示すようになる。
[0050] First, as shown in FIG. 12, Oite the two coils (A1 to B2), and an open coil (A1 to B2), there is an open and a short transistor (Q3 to Q6). With respect to this abnormality pattern, the CPU (6) of the first abnormality detection circuit (8a) and the second abnormality detection circuit (8b)
The input signal of is as shown in FIG. The input signal patterns in all the coils (A1 to B2) and the transistors (Q3 to Q6) are as shown in FIG. 14, and the pattern 0 is a normal pattern signal, which is shown in FIG.
As shown in (g). Also, the other four patterns 1
4 are abnormal pattern signals, as shown in (i) to ( L ) of FIG.

【0051】一方、上記コイル(A1〜B2)のショートは
過電流検出回路(7)によって検出するようにしてい
る。
On the other hand, the short circuit of the coils (A1 to B2) is detected by the overcurrent detection circuit (7).

【0052】次に、上記異常検出手段(62)及び過電
流検出回路(7)によるについて制御フローに基づいて
説明する。
Next, the abnormality detection means (62) and the overcurrent detection circuit (7) will be described based on the control flow.

【0053】この異常検出動作は電源(31)投入時と
作動時とにおいて行われている。
This abnormality detecting operation is performed when the power source (31) is turned on and when it is activated.

【0054】電源(31)投入時は、図15に示すよう
に、ステップST101において、電源(31)投入さ
れた後、ステップST102において、チェックパター
ン信号を出力し、図11のX点よりチェック期間が開始
される。
When the power source (31) is turned on, as shown in FIG. 15, in step ST101, after the power source (31) is turned on, a check pattern signal is output in step ST102, and the check period starts from point X in FIG. Is started.

【0055】続いて、ステップST103において、駆
動制御回路(4)のトランジスタ(Q3〜Q6)をオンする
2つの駆動信号I1,I2 がハイか否かを判定し、一方の駆
動信号がハイなどの状態においては、ステップST10
4に移り、第1異常検出回路(8a)からの入力信号O1
2 がハイか否かを判定する。そして、ローの場合はコイ
ル(A1〜B2)のオープンなどの異常が生じているので、
ステップST105に移り、異常処理を行ってリターン
する。また、上記両駆動信号I1,I2 の出力時において
は、ステップST103からステップST106に移
り、第1異常検出回路(8a)からの入力信号O12 がロ
ーか否かが判定される。そして、ハイの場合にはコイル
(A1〜B2)のオープンなどが生じているので、上記ステ
ップST105に移り、異常処理を行うことになる。
Then, in step ST103, it is determined whether or not the two drive signals I1 and I2 for turning on the transistors (Q3 to Q6) of the drive control circuit (4) are high. In the state, step ST10
4, the input signal O1 from the first abnormality detection circuit (8a)
Determines if 2 is high. And in the case of low, there is an abnormality such as the opening of the coils (A1 to B2), so
The process moves to step ST105, the abnormality process is performed, and the process returns. Further, when both drive signals I1 and I2 are output, the process proceeds from step ST103 to step ST106, and it is determined whether or not the input signal O12 from the first abnormality detection circuit (8a) is low. If it is high, the coils (A1 to B2) are opened, so that the procedure goes to step ST105 to perform the abnormality processing.

【0056】つまり、上記第1異常検出回路(8a)か
らの入力信号O12 は、両駆動信号I1,I2 の出力時のみロ
ーとなる正常パターン信号であるので、他の異常パター
ン信号のときはステップST104,ST106からス
テップST105に移ることになる。
That is, the input signal O12 from the first abnormality detection circuit (8a) is a normal pattern signal which becomes low only when both drive signals I1 and I2 are output. The process moves from ST104 and ST106 to step ST105.

【0057】その後、第1異常検出回路(8a)が正常
パターン信号を出力していると、上記ステップST10
4,ST106よりステップST107に移り、第2異
常検出回路(8b)に対して上記第1異常検出回路(8
a)と同様な検出動作をステップST110まで行い、
チェックパターン信号の出力が終了するまで上述の動作
を繰り返し、異常を検出する。
After that, when the first abnormality detection circuit (8a) outputs the normal pattern signal, the above-mentioned step ST10 is executed.
4, the process proceeds from ST106 to step ST107, and the first abnormality detection circuit (8) is compared with the second abnormality detection circuit (8b).
The same detection operation as in a) is performed up to step ST110,
The above operation is repeated until the output of the check pattern signal is completed, and the abnormality is detected.

【0058】一方、電動膨脹弁の作動時においては、図
16に示すように、ステップST121において、電動
膨脹弁の駆動時か否かを判定し、駆動時のみ以下の検出
動作を行う。そして、ステップST122からステップ
ST125は,上記ステップST103からステップS
T106と同様に第1異常検出回路(8a)が異常パタ
ーン信号を出力しているか否かを判定しており、異常パ
ターン信号の場合は異常処理を行うことになる。また、
ステップST126からステップST128は上記ステ
ップST107からステップST109と同様に第2異
常検出回路(8b)が異常パターン信号を出力している
か否かを判定する。この動作を電動膨脹弁の駆動中は常
時行い異常を検出する。
On the other hand, when the electric expansion valve is operating, as shown in FIG. 16, in step ST121, it is determined whether or not the electric expansion valve is being driven, and the following detection operation is performed only when the electric expansion valve is being driven. Then, steps ST122 to ST125 are steps ST103 to S
Similar to T106, it is determined whether or not the first abnormality detection circuit (8a) is outputting an abnormality pattern signal, and in the case of an abnormality pattern signal, abnormality processing is performed. Also,
From step ST126 to step ST128, it is determined whether the second abnormality detection circuit (8b) is outputting an abnormal pattern signal as in step ST107 to step ST109. This operation is always performed while the electric expansion valve is being driven to detect an abnormality.

【0059】また、図17は、各コイル(A1〜B2)のシ
ョートを検出しており、ステップST141において、
過電流検出回路(7)がハイ信号を出力したか否かを判
定しており、ロー信号になると、ステップST142に
移り、異常処理を行うことになり、その他の場合はリタ
ーンすることになる。
Further, in FIG. 17, a short circuit of each coil (A1 to B2) is detected, and in step ST141,
It is determined whether or not the overcurrent detection circuit (7) has output a high signal, and when it becomes a low signal, the process proceeds to step ST142 to perform abnormality processing, and otherwise returns.

【0060】従って、上記コイル(A1〜B2)のショート
を検出する過電流検出回路(7)と、正常パターン信号
及び異常パターン信号を出力する両異常検出回路(8
a,8b)とを設けたために、簡単な構成で且つ大型化
することなく、コイル(A1〜B2)や駆動制御回路(4)
の異常を検出することができる。また、上記コイル(A1
〜B2)及び駆動制御回路(4)の駆動状態から状態パタ
ーンを設定しているので、電源投入時のみならず駆動中
においても異常を検出することができる。この結果、例
えば、冷媒回路の保護装置が作動する前に異常を検出す
ることができるので、故障箇所の究明を容易に行うこと
ができる。
Therefore, an overcurrent detection circuit (7) for detecting a short circuit of the coils (A1 to B2) and both abnormality detection circuits (8) for outputting a normal pattern signal and an abnormal pattern signal.
a, 8b), the coils (A1 to B2) and the drive control circuit (4) have a simple structure and do not increase in size.
Can detect abnormalities. In addition, the coil (A1
~ B2) and the drive pattern of the drive control circuit (4) are set, the abnormality can be detected not only when the power is turned on but also during the drive. As a result, for example, an abnormality can be detected before the protection device for the refrigerant circuit is activated, so that the location of the failure can be easily identified.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図4[Name of item to be corrected] Fig. 4

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図4】 [Figure 4]

【手続補正3】[Procedure 3]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図7[Name of item to be corrected] Figure 7

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図7】 [Figure 7]

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 各相の各コイル(A1〜B2)を励磁するこ
とによって駆動するステッピングモータ(2)と、 該ステッピングモータ(2)の各コイル(A1〜B2)に接
続されて該コイル(A1〜B2)に電力供給する電源供給手
段(3)と、 上記ステッピングモータ(2)の各コイル(A1〜B2)に
接続されていて、該各コイル(A1〜B2)を予め設定され
た極性で時間順次に励磁させる駆動制御手段(4)と、 上記電源供給手段(3)に連繋され、コイル(A1〜B2)
のショートによる過電流を検出して異常信号を出力する
過電流検出手段(7)と、 それぞれ一対のコイル(A1〜B2)と駆動制御手段(4)
との間に接続され、正常状態において各一対のコイル
(A1〜B2)が共に励磁するとレベルが変化する正常パタ
ーン信号を出力し、異常状態において正常パターン信号
と異なるパターンの異常パターン信号を出力する異常検
出手段(8a,8b)とを備えていることを特徴とする
ステッピングモータ回路の異常検出装置。
1. A stepping motor (2) driven by exciting each coil (A1 to B2) of each phase, and the coil (A1 to B2) connected to each coil (A1 to B2) of the stepping motor (2). A1 to B2) is connected to a power supply means (3) for supplying electric power to each coil (A1 to B2) of the stepping motor (2), and each coil (A1 to B2) has a preset polarity. Drive control means (4) for sequentially exciting with the power supply means (3) and the coils (A1 to B2)
Overcurrent detection means (7) for detecting an overcurrent due to a short circuit between the two and outputting an abnormal signal, a pair of coils (A1 to B2) and a drive control means (4), respectively.
Is connected between and, and outputs a normal pattern signal whose level changes when both pairs of coils (A1 to B2) are excited together in a normal state, and an abnormal pattern signal of a pattern different from the normal pattern signal in an abnormal state. An abnormality detecting device for a stepping motor circuit, comprising: abnormality detecting means (8a, 8b).
【請求項2】 各相の各コイル(A1〜B2)を励磁するこ
とによって駆動するステッピングモータ(2)と、 該ステッピングモータ(2)の各コイル(A1〜B2)に接
続されて該コイル(A1〜B2)に電力供給する電源供給手
段(3)と、 上記ステッピングモータ(2)の各コイル(A1〜B2)に
接続されていて、該各コイル(A1〜B2)を予め設定され
た極性で時間順次に励磁させる駆動制御手段(4)と、 それぞれ一対のコイル(A1〜B2)と駆動制御手段(4)
との間に接続され、各コイル(A1〜B2)と駆動制御手段
(4)との導通及び遮断に対応して状態信号を出力する
複数の状態検出手段(5a,5b)と、 上記電源供給手段(3)と駆動制御手段(4)と各状態
検出手段(5a,5b)との入出力信号より異常を検出
する異常検出手段(61)とを備えていることを特徴と
するステッピングモータ回路の異常検出装置。
2. A stepping motor (2) which is driven by exciting each coil (A1 to B2) of each phase, and the coil (A1 to B2) connected to each coil (A1 to B2) of the stepping motor (2). A1 to B2) is connected to a power supply means (3) for supplying electric power to each coil (A1 to B2) of the stepping motor (2), and each coil (A1 to B2) has a preset polarity. Drive control means (4) for sequentially exciting with a pair of coils (A1 to B2) and drive control means (4)
A plurality of state detecting means (5a, 5b) connected between the coil (A1 and B2) and the drive control means (4) to output a state signal in response to conduction and interruption of the drive control means (4); A stepping motor circuit comprising an abnormality detecting means (61) for detecting an abnormality from an input / output signal of the means (3), the drive control means (4) and the respective state detecting means (5a, 5b). Abnormality detection device.
JP2416986A 1990-12-29 1990-12-29 Abnormality detection device for stepping motor circuit Expired - Fee Related JP2636511B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2416986A JP2636511B2 (en) 1990-12-29 1990-12-29 Abnormality detection device for stepping motor circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2416986A JP2636511B2 (en) 1990-12-29 1990-12-29 Abnormality detection device for stepping motor circuit

Publications (2)

Publication Number Publication Date
JPH06113593A true JPH06113593A (en) 1994-04-22
JP2636511B2 JP2636511B2 (en) 1997-07-30

Family

ID=18525148

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2416986A Expired - Fee Related JP2636511B2 (en) 1990-12-29 1990-12-29 Abnormality detection device for stepping motor circuit

Country Status (1)

Country Link
JP (1) JP2636511B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58116880A (en) * 1981-12-29 1983-07-12 Canon Inc Image pickup device
JPS59158510A (en) * 1983-02-28 1984-09-08 Tokyo Electric Co Ltd Discharge lamp stabilizer
JPS602096A (en) * 1983-06-08 1985-01-08 Fujitsu Ten Ltd Erroneous operation detecting circuit of stepping motor
JPS6016191A (en) * 1983-07-05 1985-01-26 Fujitsu Ten Ltd Erroneous operation detecting circuit of stepping motor
JPS6120240A (en) * 1984-07-06 1986-01-29 Tokyo Electric Co Ltd Disk-shaped optical recording medium
JPS6181200A (en) * 1984-09-22 1986-04-24 Sharp Corp Disconnection detector of coil
JPS61135395A (en) * 1984-12-05 1986-06-23 Matsushita Electric Ind Co Ltd Self-diagnosing circuit of motor drive circuit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58116880A (en) * 1981-12-29 1983-07-12 Canon Inc Image pickup device
JPS59158510A (en) * 1983-02-28 1984-09-08 Tokyo Electric Co Ltd Discharge lamp stabilizer
JPS602096A (en) * 1983-06-08 1985-01-08 Fujitsu Ten Ltd Erroneous operation detecting circuit of stepping motor
JPS6016191A (en) * 1983-07-05 1985-01-26 Fujitsu Ten Ltd Erroneous operation detecting circuit of stepping motor
JPS6120240A (en) * 1984-07-06 1986-01-29 Tokyo Electric Co Ltd Disk-shaped optical recording medium
JPS6181200A (en) * 1984-09-22 1986-04-24 Sharp Corp Disconnection detector of coil
JPS61135395A (en) * 1984-12-05 1986-06-23 Matsushita Electric Ind Co Ltd Self-diagnosing circuit of motor drive circuit

Also Published As

Publication number Publication date
JP2636511B2 (en) 1997-07-30

Similar Documents

Publication Publication Date Title
JPH0787781A (en) Driving device for dc brushless motor and its conformity identification method
JPH11159467A (en) Energizing controlling method in motor preheating device and motor preheating device
JPH11148378A (en) Actuator controller
JP2005318791A (en) Fault detection circuit of driving device
JPH06113593A (en) Abnormality detector for step motor circuit
WO2003067349A1 (en) Load failure diagnosis method and apparatus and load failure processing method and apparatus
JPH1020001A (en) Failure diagnostic method for motor driving circuit and device therefor
JP4281420B2 (en) Semiconductor relay
CN101141104A (en) Vehicle mirror device
JP2007151300A (en) Control unit and method for drive circuit
JP3631662B2 (en) Latching relay drive circuit
JP2003040052A (en) Load diagnostic circuit
JPH10257602A (en) Breaker device for electric vehicle
JP4211139B2 (en) Electrical load energization control device
JP3772930B2 (en) SIGNAL ABNORMALITY DETECTING METHOD FOR VEHICLE AC GENERATOR, VOLTAGE CONTROL DEVICE AND VEHICLE CONTROL DEVICE
JP2927104B2 (en) Air conditioner protection device operation detection circuit
JP2549452Y2 (en) Stepping motor failure detection circuit
JP4211137B2 (en) Electrical load energization control device
KR100208361B1 (en) Airconditioner and compressor control method of airconditioner
JP2010528217A (en) Method for feeding back the state of an electrical component to an engine controller of an internal combustion engine
JPH03122792A (en) Automatic positive-phasing device for three-phase antiphase connection
JP2000339025A (en) Energization control device for electric load
JP3134663B2 (en) Step motor excitation coil disconnection diagnostic device
JP2004096873A (en) Control device for electric vehicle
JPH0678596A (en) Trouble diagnostic device for motor driving device

Legal Events

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

Free format text: PAYMENT UNTIL: 20080425

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090425

Year of fee payment: 12

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

Year of fee payment: 13

Free format text: PAYMENT UNTIL: 20100425

LAPS Cancellation because of no payment of annual fees