JP3654645B2 - Abnormality detection device for motor drive system - Google Patents

Abnormality detection device for motor drive system Download PDF

Info

Publication number
JP3654645B2
JP3654645B2 JP2002146325A JP2002146325A JP3654645B2 JP 3654645 B2 JP3654645 B2 JP 3654645B2 JP 2002146325 A JP2002146325 A JP 2002146325A JP 2002146325 A JP2002146325 A JP 2002146325A JP 3654645 B2 JP3654645 B2 JP 3654645B2
Authority
JP
Japan
Prior art keywords
abnormality
stepping motor
storage means
phase
microprocessor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002146325A
Other languages
Japanese (ja)
Other versions
JP2003339190A (en
Inventor
正基 中道
光司 橋本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2002146325A priority Critical patent/JP3654645B2/en
Priority to US10/288,283 priority patent/US6781341B2/en
Priority to DE10254419A priority patent/DE10254419A1/en
Priority to CN02157485.5A priority patent/CN1264273C/en
Publication of JP2003339190A publication Critical patent/JP2003339190A/en
Application granted granted Critical
Publication of JP3654645B2 publication Critical patent/JP3654645B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/22Safety or indicating devices for abnormal conditions
    • F02D41/221Safety or indicating devices for abnormal conditions relating to the failure of actuators or electrically driven elements
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/20Output circuits, e.g. for controlling currents in command coils
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/20Output circuits, e.g. for controlling currents in command coils
    • F02D2041/202Output circuits, e.g. for controlling currents in command coils characterised by the control of the circuit
    • F02D2041/2024Output circuits, e.g. for controlling currents in command coils characterised by the control of the circuit the control switching a load after time-on and time-off pulses
    • F02D2041/2027Control of the current by pulse width modulation or duty cycle control
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/20Output circuits, e.g. for controlling currents in command coils
    • F02D2041/202Output circuits, e.g. for controlling currents in command coils characterised by the control of the circuit
    • F02D2041/2058Output circuits, e.g. for controlling currents in command coils characterised by the control of the circuit using information of the actual current value
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/20Output circuits, e.g. for controlling currents in command coils
    • F02D2041/2086Output circuits, e.g. for controlling currents in command coils with means for detecting circuit failures
    • F02D2041/2089Output circuits, e.g. for controlling currents in command coils with means for detecting circuit failures detecting open circuits
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D31/00Use of speed-sensing governors to control combustion engines, not otherwise provided for
    • F02D31/001Electric control of rotation speed
    • F02D31/002Electric control of rotation speed controlling air supply
    • F02D31/003Electric control of rotation speed controlling air supply for idle speed control
    • F02D31/005Electric control of rotation speed controlling air supply for idle speed control by controlling a throttle by-pass
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/0025Controlling engines characterised by use of non-liquid fuels, pluralities of fuels, or non-fuel substances added to the combustible mixtures
    • F02D41/0047Controlling exhaust gas recirculation [EGR]
    • F02D41/0065Specific aspects of external EGR control
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2425Particular ways of programming the data
    • F02D41/2429Methods of calibrating or learning
    • F02D41/2432Methods of calibration
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Control Of Stepping Motors (AREA)
  • Protection Of Generators And Motors (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、例えば自動車用エンジンの排気ガス循環通路に設けられた循環ガス量の調整弁やアイドル回転速度制御用吸気弁の駆動制御に用いられるモータ駆動系の異常検出装置に関するものである。特に、モータ駆動系に用いられるステッピングモータの多相界磁コイル自体や、界磁コイルの駆動用開閉素子、或いは界磁コイルと開閉素子間の配線等の断線・短絡異常等を手軽に検出することができる改良されたモータ駆動系の異常検出装置に関するものである。
【0002】
【従来の技術】
ステッピングモータ用の界磁コイルを負荷として、負荷自体や、駆動用開閉素子、或いは負荷と開閉素子間の配線等の断線・短絡異常を検出する手段そのものとして、様々の方式のものが開示されており、その典型的な方式は次のとおりである。
【0003】
A=負荷電流検出方式:
負荷となる界磁コイルに通電した時に、電流検出用直列抵抗に発生する電圧降下を監視し、適正な電流が流れているかどうかを判定するものである。これは、負荷短絡、配線短絡等があれば過大な電流が流れる一方で、負荷断線、配線断線、開閉素子の閉路異常等があれば所定値未満の電流しか流れないことを利用して各部の異常を総合的に検出するものである。
【0004】
この負荷電流検出方式は、負荷や配線の短絡異常時に、開閉素子を自動的に遮断して、開閉素子の破損を防止するためににも有効な手段であるが、電気負荷が誘導性負荷の場合には開閉素子の導通直後では電流上昇遅れが発生するので不用意に断線異常と判定しないような遅延検出処理が必要となる。
【0005】
B=漏れ電流検出方式:
負荷駆動用開閉素子と並列に、漏れ電流を流す高抵抗を接続し、該高抵抗の分圧電圧を監視するものであり、開閉素子を遮断した時に負荷に流れる漏れ電流が無ければ負荷や配線の断線または開閉素子の短絡異常として各部の異常が総合的に検出される。
【0006】
C=サージ電圧検出方式:
負荷駆動用開閉素子を遮断した時に、誘導性負荷が発生するサージ電圧を検出するものであり、サージ電圧が無ければ負荷・配線の断線、開閉素子の遮断異常、負荷・配線の短絡による遮断異常として各部の異常が総合的に検出される。このサージ電圧検出方式でも、開閉素子の遮断直後ではサージ電圧の発生遅れがあるので、不用意に異常と判定しないような遅延検出処理が必要となる。
【0007】
特開平3−203599号公報(特許第2639144号)「排気ガス循環弁制御装置」(文献A)は負荷電流検出方式に基づくステッピングモータの駆動制御の例である。特開平10−257799号公報「多チャンネル出力装置の出力オープン検出装置」(文献B)は漏れ電流検出方式に基づくステッピングモータの駆動制御の例である。特開平7−99796号公報「ステッピングモータの駆動装置」(文献 AB)は負荷電流検出方式と漏れ電流検出方式を併用したステッピングモータの駆動制御の例である。
【0008】
一方、多数の電気負荷に対する公知の異常検出手段としては、ハードウエアで判定・合成した結果をマイクロプロセッサに取込むような外部ハードウエア(H/W)方式のものと、合成された状態信号をマイクロプロセッサに入力して、マイクロプロセッサ内部で判定処理を行う内部ソフトウエア(S/W)方式のものに大別される。
【0009】
上記文献Aではステッピングモータの4個の界磁コイルに関する異常をディレイラッチして、これをAND結合した総合異常判定結果をマイクロプロセッサに取込む外部H/W方式となっている。上記文献Bではステッピングモータの4個の界磁コイルに関する正常状態信号をダイオードでOR結合し、その出力信号で積分回路をリセットすると共に、積分回路の出力を総合異常判定結果として必要に応じてマイクロプロセッサに取込むことができる外部H/W方式となっている。上記文献ABでは各種状態信号を論理結合してマイクロプロセッサに入力し、該入力されたパルス列の周期及びデューティ比をマイクロプロセッサ内で監視することによって断線・短絡検出を行う内部S/W方式となっている。
【0010】
その他、この発明に関連する公知技術として、特公平7−92016号公報「内燃機関用燃料噴射弁駆動回路の故障検出回路」(文献C)はサージ電圧検出方式に基づく燃料噴射弁駆動用電磁コイルの駆動制御の例である。
【0011】
また、特開平5−18315号公報「自動車用エンジン制御装置」(文献D)によれば、エンジン制御装置に内蔵されたマイクロプロセッサによって駆動制御されるアクチュエータのイニシャライズを行うために、電源スイッチによって駆動される電源リレーを介してエンジン制御装置に給電し、電源スイッチの遮断後も上記電源リレーの動作を継続させイニシャライズの終了によって電源リレーを遮断することが述べられている。
【0012】
なお、特願2000-380652号「車載電気負荷駆動系の異常検出装置」(文献E)によれば、内部S/W方式であって、しかも異常相の分離検出を行う手段が提示されている。本発明は上記文献Eのものをステッピングモータに適用し、サージ電圧検出によって異常検出する場合の改良に関するものである。
【0013】
【発明が解決しようとする課題】
(1)従来技術の課題の説明
上記のような従来技術において、文献Aまたは文献Bで見られる外部H/W方式は、寸法、コスト面で不利であって、この点では文献ABで示したような内部S/W方式が望ましい。しかし、この文献ABのものは、多数の電気負荷の内、どの負荷系統が異常となったものであるかを特定する概念がなく、このため保守作業が困難となるという不都合な点があった。
【0014】
また、文献Cで見られるサージ電圧検出方式を多相界磁コイルに適用した場合、界磁コイルや開閉素子・配線等の異常を総合的に検出できる特徴があるが、多相界磁コイルのサージ電圧を並列合成すると、ステッピングモータの高速駆動時には異常相の分離検出が困難となるという問題がある。
【0015】
(2)発明の目的の説明
この発明の第一の目的は、サージ電圧検出による安価で簡易な外部H/Wによる個別状態検出信号を用い、この個別状態検出信号を論理結合した単一の合成状態検出信号をマイクロプロセッサに入力して、高速動作時での異常判定を回避しながら、マイクロプロセッサ内のS/W処理によって正しい異常検出を行うと共に、異常な負荷系統を特定できるようにして保守作業の容易化を図ったモータ駆動系の異常検出装置を得ることにある。
【0016】
この発明の第二の目的は、サージ電圧検出による安価、簡易な外部H/Wによる個別状態検出信号を用い、この個別状態検出信号を論理結合した複数の合成状態検出信号をマイクロプロセッサに入力して、高速動作時の異常判定を可能にし、マイクロプロセッサ内のS/W処理によって正しい異常検出を行うと共に、異常な負荷系統を特定できるようにして保守作業の容易化を図ったモータ駆動系の異常検出装置を得ることにある。
【0017】
【課題を解決するための手段】
この発明の請求項1に係るモータ駆動系の異常検出装置は、マイクロプロセッサ、上記マイクロプロセッサにより生成された断続信号に応答し、多相界磁コイルを所定順序で付勢してステッピングモータを正逆転駆動する複数の開閉素子、上記開閉素子による上記界磁コイルへの通電遮断時に生じるサージ電圧を各相別に検出して、上記各相界磁コイルへの通電、遮断を確認する検出信号を発生する個別状態検出手段、上記個別状態検出手段によって検出された信号を論理和して上記全相界磁コイルへの通電、遮断を確認する合成信号を発生する合成状態検出手段、上記ステッピングモータの駆動停止時間又は回転方向反転時の休止時間が所定値以上であることを確認する駆動開始遅延確認手段、上記合成状態検出手段によって検出された合成信号の発生を記憶する一時記憶手段、上記断続信号が所定時間以上休止した後の初回立上りまたは立下り時点の直後における変動遅延時間をおいて記憶された上記一時記憶の内容を、上記断続信号の次回の立上りまたは立下り時点で読み出して相別に異常の有無を記憶する個別判定記憶手段、上記個別判定記憶手段が今回の相別異常の有無を記憶した後に上記一時記憶手段の内容を消去して、次回の合成信号を新たに記憶可能にするリセット手段、及び上記個別判定記憶手段の内で少なくとも一個以上のものが異常記憶していることに応動して異常警報表示器を動作させる異常警報表示手段を備え、上記個別判定記憶手段は、上記ステッピングモータが所定時間以上の休止を行った後の初回の通電遮断に対して、上記サージ電圧の合成検出信号が発生しなかったことを通電遮断された相別に記憶して、上記ステッピングモータの正逆転起動時に異常判定を行うことを特徴とするものである。
【0018】
また、請求項1に係る装置において、電源投入時の初回動作または/及び電源遮断直前の最終動作において動作し、上記サージ電圧波形が断続波形となる限度以下の低速動作で原点位置に一方向復帰を行うための原点復帰動作制御手段を備え、上記個別判定記憶手段は、上記ステッピングモータの駆動開始または回転方向反転後の初回の通電遮断に対して上記サージ電圧の合成検出信号が発生しなかったことを通電遮断された相別に記憶すると共に、上記ステッピングモータの原点復帰動作中において、上記サージ電圧の合成検出信号が発生しなかったことを通電遮断された相別に記憶するようにしたことを特徴とするものである。
【0019】
また、請求項2に係る装置において、電源スイッチが投入されると直ちに動作して異常検出装置に給電すると共に、上記電源スイッチが遮断されてから少なくとも上記ステッピングモータが原点復帰するまでの間は電源供給を継続した後に電源遮断を行う遅延遮断動作を行う電源リレー、上記ステッピングモータの駆動パルス量または移動パルス量を可逆計数してステッピングモータの現在回転位置を測定する動作を行う現在カウンタ、及び上記ステッピングモータが原点位置に復帰した時に動作して上記現在値カウンタをリセットし、上記電源スイッチが遮断された運転停止後に原点復帰を行っておくことにより、電源投入時は直ちに正常運転を開始することができるようにする復帰検出スイッチを備えたことを特徴とするものである。
【0020】
また、請求項2または請求項3に係る装置において、上記ステッピングモータの駆動パルス量または移動パルス量を可逆計数してステッピングモータの現在回転位置を測定する現在値カウンタ、原点復帰動作に先立って、上記現在値カウンタに対して設定され、ステッピングモータの正転限界位置から逆転限界位置への移動を行うに足る目標駆動パルス量を設定する最大量設定手段、上記ステッピングモータが原点位置に復帰した時に動作して、上記現在値カウンタをリセットするように動作する復帰検出スイッチ、及び上記目標駆動パルス量で原点復帰動作を行った後に、上記復帰検出スイッチが動作したかどうかを判定し、上記ステッピングモータまたは機構系の異常を検出して異常警報表示器を動作させる復帰異常判定手段を備えたことを特徴とするものである。
【0021】
また、請求項1または請求項2に係る装置において、上記一時記憶手段は、上記マイクロプロセッサの外部に設けられたフリップフロップ回路が用いられ、該フリップフロップ回路は上記合成状態検出信号によってセットされ、上記マイクロプロセッサによって読出し、リセットされるものであることを特徴とするものである。
【0022】
また、この発明の請求項6に係るモータ駆動系の異常検出装置は、マイクロプロセッサ、上記マイクロプロセッサにより生成された断続信号に応答し、多相界磁コイルを所定順序で付勢してステッピングモータを正逆転駆動する複数の開閉素子、上記開閉素子による上記界磁コイルへの通電遮断時に生じるサージ電圧を各相別に検出して、各相界磁コイルに対する通電、遮断を確認する検出信号を発生する個別状態検出手段、上記個別状態検出手段によって検出された信号の内、隣接動作しないグループの信号を論理和して各グループの界磁コイルへの通電・遮断を確認する合成信号を発生する第一及び第二の合成状態検出手段、上記第一及び第二の合成状態検出手段によって検出された合成信号を第一及び第二の割込み入力端子を介して少なくとも夫々のグループ毎に分離して上記マイクロプロセッサ内のRAMメモリに記憶する一時記憶手段、上記グループ別の断続信号出力の前回の立上がりまたは立下がり時点の直後における変動遅延時間をおいてグループ別に記憶された上記一時記憶の内容を、上記断続信号出力の今回の立下がりまたは立上がり時点で読み出して相別に異常の有無を記憶する個別判定記憶手段、上記個別判定記憶手段が今回の相別異常の有無を記憶した後に上記一時記憶手段の内容を消去して、次回の合成信号を新たに記憶可能にするリセット手段、及び上記個別判定記憶手段の内で少なくとも1個以上のものが異常記憶していることに応動して異常警報表示器を作動させ、上記ステッピングモータが高速連続駆動されている状態で異常判定が行えるようにした異常警報表示手段を備えたことを特徴とするものである。
【0023】
また、請求項1または請求項6に係る装置において、上記一時記憶手段は、上記マイクロプロセッサ内部のRAMメモリが用いられ、該RAMメモリは上記合成状態検出信号のパルス幅よりも短い時間間隔で周期的に入力監視が行われるマイクロプロセッサの割込み入力端子を介してセットされ、マイクロプロセッサ内部で読出し、リセットされるものであることを特徴とするものである。
【0024】
また、請求項 1 または請求項6に係る装置において、上記個別判定記憶手段が記憶した異常発生回数を計数し、相別異常発生回数または相別異常発生回数の総和が所定値を超過したときに上記異常警報表示手段を作動させる計数判定手段を備えたことを特徴とするものである。
【0025】
また、請求項1または請求項6に係る装置において、上記マイクロプロセッサには外部ツール接続用インタフェースが設けられ、上記個別判定記憶手段の内容が上記外部ツールによって読み出し表示されると共に、上記外部ツールからの指令によって上記内容がリセットされるものであることを特徴とするものである。
【0026】
【発明の実施の形態】
実施の形態1.
(1)実施の形態1の構成の詳細な説明
以下この発明の実施の形態1を図について説明する。図1はこの発明の実施の形態1に係る装置の構成ブロックを示すもので、図1において、100aはマイクロプロセッサ110aを包含し、外部接続されたステッピングモータ101aを駆動制御する異常検出装置、102aは上記ステッピングモータ101aの回転子、102bは該回転子によって図示方向に正転・逆転動作を行う移動体、102cは該移動体の正逆転限界位置に設けられたストッパ、102dは上記移動体102bが逆転限界位置に到達した時、即ち上記ステッピングモータ101aが原点位置に復帰したときに閉路する復帰検出スイッチ、103a、103b、103c、103dは多相の界磁コイルであり、各界磁コイルの一端はコネクタ端子A2、B2、C2、D2を介して上記異常検出装置100aのコネクタ端子A1、B1、C1、D1に接続されている。
【0027】
104はステッピングモータ101aの電源となる車載バッテリ、105は電源スイッチ、106aは車載バッテリ104から電源スイッチ105とダイオード105aを介して付勢される電源リレー、106bはこのリレーの出力接点である。上記界磁コイル103a、103b、103c、103dの他端は出力接点106bを介して車載バッテリ104に接続されている。
【0028】
SLPは車載バッテリ104に接続された上記異常検出装置100aの端子、MPWは出力接点106bを介して車載バッテリ104に接続された異常検出装置100aの端子である。107は異常検出装置100aの駆動出力DR2から駆動される異常警報表示器(LMP)、108はケーブル109を介して異常警報装置100aの通信用インタフェース(I/F)111に接続された外部ツールである。
【0029】
異常検出装置100aの内部構成に関し、114a、114b、114c、114dはトランジスタによって構成された開閉素子、113a、113b、113c、113dは上記開閉素子を駆動するベース抵抗、115b、115dはそれぞれベース抵抗113b、113dに接続された論理反転素子、112a、112cはマイクロプロセッサ100aの断続信号出力P1とP2に接続されたプルダウン抵抗である。
【0030】
開閉素子114a、114b、114c、114dの内、開閉素子114aと114cには断続信号出力P1、P2がベース抵抗113aとベース抵抗113cを通して給電される。また、開閉素子114bと114dには論理反転素子115bとベース抵抗113bおよび論理反転素子115dとベース抵抗113dを通して給電される。開閉素子114a、114b、114c、114dのコレクタ端子はコネクタ端子A1、B1、C1、D1に接続されて上記界磁コイル103a、103b、103c、103dを駆動すると共に、OR結合用ダイオード116を介して抵抗117に接続されている。
【0031】
118はそのエミッタ端子がエミッタ抵抗119を介して電源端子MPWに接続され、さらに抵抗117を介してOR結合用ダイオード116のカソード側に接続されたトランジスタ、120は該トランジスタのベース端子と電源端子MPW間に接続されたドロッパダイオード、121はトランジスタ118のコレクタ端子に接続され、トランジスタ122を駆動するベース抵抗、123はトランジスタ122のベース/エミッタ端子間に接続された安定抵抗である。
【0032】
124は上記電源端子MPW及びSLP端子から給電され、制御用定電圧出力を発生してマイクロプロセッサ110aに給電する電源ユニットで、上記電源端子SLPからの電源は出力接点106bが開路した時のスリープ電源として用いられる。125は上記トランジスタ122のコレクタ端子から駆動される一時記憶手段であるフリップフロップ回路である。
【0033】
P4はフリップフロップ回路125のセット出力をマイクロプロセッサ110aに読込む入力信号、RSTは上記フリップフロップ回路125をリセットするためにマイクロプロセッサ110aが発生するフリップフロップ回路125へのリセット信号出力、P3は上記フリップフロップ回路125のセット入力信号となる合成状態検出信号である。
【0034】
DR1はマイクロプロセッサ110aの駆動出力、126は該駆動出力DR1によって電源リレー106aの動作を継続保持する駆動素子、DR2は異常警報表示器107を駆動するためのマイクロプロセッサ110aの駆動出力である。電源リレー106aは、電源スイッチ105によって一旦付勢駆動された後は、電源スイッチ105が開路しても駆動出力DR1によって動作保持され、マイクロプロセッサ110aが初期化動作を行った後で駆動出力DR1を停止して、電源リレー106aを消勢するようになっている。更に、マイクロプロセッサ110aはROMメモリ131aに格納されたプログラムに従って制御動作や外部ツール108との通信を行うようになっている。
【0035】
132は、断続信号出力P1の立上がりエッジ、立下がりエッジを割込み計数するマイクロプロセッサ110aの現在値カウンタ(CNT)であり、この現在値カウンタ132は計数時の断続信号出力P2の論理レベルによって可逆計数を行い、ステッピングモータ101aの現在位置を表すものとなっている。HPは復帰検出スイッチ102dが接続されたマイクロプロセッサ110aへの入力である。
【0036】
復帰検出スイッチ102dはステッピングモータ101aによって駆動される開閉弁等のアクチェータの原点位置を確認したり、復帰動作の完了信号を出すものとして用いられるものであるが、原点復帰が当止めストッパ方式による場合には復帰検出スイッチ102dは不要であり、ステッピングモータ101aを復帰方向に十分駆動しておけば、原点復帰したものと見做す制御を行うこともできる。IGSはインタフェース回路127を介して電源スイッチ105に接続された電源検出入力信号である。
【0037】
(2)実施の形態1の作用・動作の詳細な説明
図1のとおり構成されたこの発明の実施の形態1において、先ず図2に示すステッピングモータ101aの正転動作のタイムチャートに基づいて作用・動作の説明をする。図2において、マイクロプロセッサ110aの断続信号出力P1の立上がりエッジは○1○5○9で示され、立下がりエッジは○3○7○11で示されている。また、マイクロプロセッサ110aの断続信号出力P2の立上がりエッジは○4○8○12で示され、立下がりエッジは○2○6○10で示されている。断続信号出力P1の立上がりエッジ○1○5○9時点における断続信号出力P2のレベルは「H」となっているのに対して、断続信号出力P1の立下がりエッジ○3○7○11時点における断続信号出力P2のレベルは「L」となっているのが正転状態を表している。なお、○1〜○12は、図中ではその数字を○で囲んだもので表している。
【0038】
図2におけるA1、B1、C1、D1は開閉素子114a、114b、114c、114dのコレクタ端子電圧波形、即ち異常検出装置100aのコネクタ端子A1、B1、C1、D1の電圧波形を示しており、界磁コイル103a、103b、103c、103dへの通電時は「L」、遮断時は「H」レベルとなっている。
【0039】
200a〜200dは個別状態検出信号となるサージ電圧である。このうち、200aは断続信号出力P1の立下がりエッジ○3で界磁コイル103aの通電が遮断された時のサージ電圧波形、200bは断続信号出力P1の立上がりエッジ○1で界磁コイル103bの通電が遮断された時のサージ電圧波形、200cは断続信号出力P2の立下がりエッジ○2で界磁コイル103cの通電が遮断された時のサージ電圧波形、200dは断続信号出力P2の立上がりエッジ○4で界磁コイル103dの通電が遮断された時のサージ電圧波形である。
【0040】
各サージ電圧200a〜200dによる電流は、OR結合用ダイオード116を介して抵抗117、エミッタ抵抗119、出力接点106bを通じて車載バッテリ104に吸収されるが、その一部はドロッパダイオード120に流れてトランジスタ118を駆動するので、トランジスタ118とベース抵抗121を介してトランジスタ122が駆動される。その結果、サージ電圧200a〜200dが発生している時にはトランジスタ122のコレクタ端子は正常を意味する信号「L」レベルとなっていて、これが合成状態検出信号P3として一時記憶手段であるフリップフロップ回路125に取込まれるようになっている。
【0041】
但し、サージ電圧200a〜200dが発生しなかった時にはトランジスタ122のコレクタ出力は論理「H」レベルのままであり、フリップフロプ回路125がセットされることは無い。フリップフロップ回路125の内容は次回のタイミング(信号出力P1、P2の立上がりエッジや立下がりエッジ)で読出し・判定の上でリセットされ、新たな入力信号P3が格納される。
【0042】
図1のとおり構成されたこの発明の実施の形態1において、図3に示すステッピングモータ101aの逆転動作のタイムチャートに基づいて作用・動作の説明をする。図3において、マイクロプロセッサ110aの断続信号出力P1の立上がりエッジは○1○5○9で示され、立下がりエッジは○3○7○11で示されている。また、マイクロプロセッサ110aの断続信号出力P2の立下がりエッジは○4○8○12で示され、立上がりエッジは○2○6○10で示されている。断続信号出力P1の立上がりエッジ○1○5○9時点における断続信号出力P2のレベルは「L」となっているのに対して、断続信号出力P1の立下がりエッジ○3○7○11時点における断続信号出力P2のレベルは「H」となっている。
【0043】
図3におけるA1、B1、C1、D1は開閉素子114a、114b、114c、114dのコレクタ端子電圧波形、即ち異常検出装置100aのコネクタ端子A1、B1、C1、D1の電圧波形を示しており、界磁コイル103a、103b、103c、103dへの通電時は「L」、遮断時は「H」レベルとなっている。
【0044】
300a〜300dは個別状態検出信号となるサージ電圧である。このうち、300aは断続信号出力P1の立下がりエッジ○3で界磁コイル103aの通電が遮断された時のサージ電圧波形、300bは断続信号出力P1の立上がりエッジ○1で界磁コイル103bの通電が遮断された時のサージ電圧波形、300cは断続信号出力P2の立下がりエッジ○4で界磁コイル103cの通電が遮断された時のサージ電圧波形、300dは断続信号出力P2の立上がりエッジ○2で界磁コイル103dの通電が遮断された時のサージ電圧波形である。
【0045】
各サージ電圧300a〜300dによる電流は図1のOR結合用ダイオード116を介して抵抗117、エミッタ抵抗119、出力接点106bを通じて車載バッテリ104に吸収されるが、その一部はドロッパダイオード120に流れてトランジスタ118を駆動するので、トランジスタ118とベース抵抗121を介してトランジスタ122が駆動される。その結果、サージ電圧が発生している時にはフリップフロップ回路125の入力信号P3は「L」レベルとなっているのは図2の場合と同じである。なお、図2や図3のパルス列P3において、例えば○2Bと表現されている意味は、○2のタイミングでサージ電圧300bによる界磁コイル103bの状態信号を読取り判定するということである。
【0046】
図1のものの全体動作説明用フローチャートを示す図4において、400はマイクロプロセッサ110aの動作開始工程、401は該工程に続いて作用し、IGS入力(電源検出入力)が動作しているかどうかを判定する工程、402は該工程がYESの時に作用し、下記のDR1出力(電源保持駆動出力)がセットされているかどうかによって電源投入直後の初回動作であるかどうかを判定する工程、403は該工程が初回動作である時に作用し、駆動出力DR1をセットする工程、404は該工程に続いて作用し、原点復帰検出スイッチ102dが動作しているかどうかを判定する工程、405は該工程が原点復帰位置ではないと判定した時に作用し、現在値カウンタ132を最大量に設定する工程(最大量設定手段)である。ここでいう最大量は図1における移動体102bがストッパ102cによる正転限界位置から逆転限界位置に移動するのに必要なパルス量ことである。
【0047】
406は工程405に続いて作用し、原点復帰のために逆転パルス列として断続信号出力P1、P2を発生する工程(原点復帰動作制御手段)、407は該工程に続いて作用し、図6で後述するサブルーチンプログラム、408は該サブルーチンプログラムに続いて作用し、原点復帰検出スイッチ102dが動作したかどうかを判定する工程、409は工程408が復帰完了の判定であった時に作用し、現在値カウンタ132を0にリセットする工程である。
【0048】
410は工程401がNOであって、電源スイッチ105がOFFされていると判定した場合に作用し、DR1出力がセットされているかどうかを判定する工程であり、該工程がYESの判定であってDR1出力が既にセットされておれば工程404へ移行するようになっている。411は工程408が原点復帰位置ではないと判定した時に作用し、現在値カウンタ132の現在値が0になっていないかどうかを判定する工程(復帰異常判定手段)であり、該工程がNOの判定である時は引続いて工程406へ移行し、逆転パルスを発生することによって現在値が減少するようになっている。
【0049】
412は上記工程411がYESの判定であった時に作用し、異常警報表示器107を駆動する工程(異常警報表示手段)である。該工程では上記工程405で設定された十分な量の設定値に対応する逆転パルスが工程406で与えられ、工程411が現在値0を判定しているにも関らず、工程408では復帰検出スイッチ102dが不作動であって、これによってステッピングモータ101aが正常回転していないことを判定している。
【0050】
413は工程409または412に続いて作用し、電源スイッチ入力IGSがOFFであるかどうかを判定する工程、414は該工程がYESであって電源スイッチ105がOFFされていると判定した場合に作用し、工程403でセットされた駆動出力DR1をリセットする工程、415は工程410や工程413がNOの判定であった時、または工程414に続いて移行する動作終了工程であり、該動作終了工程において再度動作開始工程400が活性化されることによって繰返して制御動作が行われるようになっている。
【0051】
416は工程402がNOの判定であって原点復帰動作が完了している時に作用し、図示しない駆動制御手段の中からステッピングモータ101aの目標回転位置を読み出す工程、417は該工程に続いて作用し、現在値カウンタ132の現在値を読み出す工程、418は該工程に続いて作用し、工程416によって読み出された目標位置と工程417で読み出された現在値を比較する工程である。
【0052】
420は工程418が位置偏差過大の判定を行った時に作用し、位置偏差の正負によって補正回転方向を判定する工程、421aは該工程が正転判定であった時に作用し、断続信号出力P1、P2によって正転パルス列を発生する工程、422aは該工程に続いて作用し、後述の工程424aで完了フラグがセットされていたかどうかを判定する工程、423aは該工程がNOの判定であった時に作用し、図5で後述するサブルーチンプログラム、424aは該サブルーチンプログラムに続いて作用し、異常検出完了フラグをセットする工程、425aは上記工程422aがYESの判定であった時、または上記工程424aに続いて作用し、現在時点での目標位置と現在位置を比較して正転パルス列の発生を継続するかどうかを判定する工程であり、該工程が継続判定であった時には工程421aへ復帰する。
【0053】
421bは上記工程420が逆転判定であった時に作用し、断続信号出力P1、P2によって逆転パルス列を発生する工程、422bは該工程に続いて作用し、後述の工程424bで完了フラグがセットされていたかどうかを判定する工程、423bは該工程がNOの判定であった時に作用し、図6で後述するサブルーチンプログラム、424bは該サブルーチンプログラムに続いて作用し、異常検出完了フラグをセットする工程、425bは上記工程422bがYESの判定であった時、または上記工程424bに続いて作用し、現在時点での目標位置と現在位置を比較して逆転パルス列の発生を継続するかどうかを判定する工程であり、該工程が継続判定であった時には上記工程421bへ復帰しするようになっている。
【0054】
426は上記工程418が正常判定であった時、または上記工程425a、425bが継続停止判定であった時に作用し、駆動停止時間が所定値以上であるかどうかを判定し、所定時間に達していないときは工程426を繰返し動作する待ち時間工程(駆動開始遅延確認手段)である。なお、ステッピングモータ101aの再駆動開始または正転逆転切換駆動前の停止時間は、通常は上記所定時間以上となっていて、工程426でわざわざ時間待ちをしなくてもよいので、工程426は主として駆動開始遅延確認手段として機能するものとなっている。427は上記工程426による待ち時間経過後に作用し、上記工程424aまたは工程424bでセットされていた完了フラグをリセットする工程であり、該工程に続いて上記終了工程415へ移行するようになっている。
【0055】
以上の動作を総括説明すると、工程401から工程414までの動作は、電源スイッチ投入時または電源スイッチ遮断時における原点復帰動作と、原点復帰過程での異常検出に関するものである。なお、この実施の形態では原点復帰検出スイッチ102dを備えているので、電源スイッチ遮断時に原点復帰動作をさせるようにしておけば、電源投入時は一般にはわざわざ原点復帰動作を行わなくても既に原点位置にあるので、復帰検出スイッチ102dの動作を確認するだけで、速やかに通常運転状態に移行することができると共に、万一原点復帰していなかったときだけ電源投入時に原点復帰を行うようにすることができるものである。また、十分な逆転パルスを与えても原点復帰検出スイッチ102dが動作しない時にはステッピングモータ101aまたは被駆動機械系の異常であると判定できる。
【0056】
工程416以降の工程は通常運転時における正逆転駆動と異常検出に関するものであるが、通常運転における正転完了後や逆転完了後の再起動や、回転方向が変化するときには工程426による休止時間が確保されていると共に、サブルーチンプログラム423aや423bによる異常検出は休止直後の初回サージ電圧の有無を検出するようになっている。
【0057】
図1のものの正転時異常検出動作説明用フローチャートを示す図5において、500は図4の工程422aがNOの判定であった時に活性化されるサブルーチンプログラムの動作開始工程、501aは該工程500に続いて作用し、断続信号出力P1が立下がったかどうかを判定する工程、501bは該工程501aがNOの判定であった時に作用し、断続信号出力P1が立上がったかどうかを判定する工程、501cは該工程501bがNOの判定であった時に作用し、断続信号出力P2が立下がったかどうかを判定する工程、501dは該工程501cがNOの判定であった時に作用し、断続信号出力P2が立上がったかどうかを判定する工程であり、上記工程501dの判定がNOであった時は上記工程501aに復帰するようになっており、上記工程501a〜501dは循環繰返し動作を行いながら断続信号P1またはP2が立上がりまたは立下がるのを検出する工程となっている。
【0058】
502aは上記工程501aがYESの判定であった時に作用し、図2のタイムチャートに従って断続信号P2が立上がるまで待機動作を行う工程、502bは上記工程501bがYESの判定であった時に作用し、図2のタイムチャートに従って断続信号P2が立下がるまで待機動作を行う工程、502cは上記工程501cがYESの判定であった時に作用し、図2のタイムチャートに従って断続信号P1が立下がるまで待機動作を行う工程、502dは上記工程501dがYESの判定であった時に作用し、図2のタイムチャートに従って断続信号P1が立上がるまで待機動作を行う工程である。
【0059】
503aは上記工程502aがYESの判定であった時に作用し、前記フリップフロップ回路125に合成状態検出信号P3がセットされているかどうかを判定する工程、503bは上記工程502bがYESの判定であった時に作用し、前記フリップフロップ回路125に合成状態検出信号P3がセットされているかどうかを判定する工程、503cは上記工程502cがYESの判定であった時に作用し、前記フリップフロップ回路125に合成状態検出信号P3がセットされているかどうかを判定する工程、503dは上記工程502dがYESの判定であった時に作用し、前記フリップフロップ回路125に合成状態検出信号P3がセットされているかどうかを判定する工程である。
【0060】
504a〜504dはリセット工程(リセット手段)である。このうち、504aは上記工程503aがYESの判定であった時に作用し、前記フリップフロップ回路125に記憶された合成状態検出信号P3をリセットする工程、504bは上記工程503bがYESの判定であった時に作用し、前記フリップフロップ回路125に記憶された合成状態検出信号P3をリセットする工程、504cは上記工程503cがYESの判定であった時に作用し、前記フリップフロップ回路125に記憶された合成状態検出信号P3をリセットする工程、504dは上記工程503dがYESの判定であった時に作用し、前記フリップフロップ回路125に記憶された合成状態検出信号P3をリセットする工程である。
【0061】
505a〜505dは異常検出回数計数工程(個別判定記憶手段=相別異常計数記憶手段)である。このうち、505aは上記工程503aがNOの判定であった時に作用し、図示しないA相異常計数カウンタで異常検出回数を加算計数する工程、505bは上記工程503bがNOの判定であった時に作用し、図示しないB相異常計数カウンタで異常検出回数を加算計数する工程、505cは上記工程503cがNOの判定であった時に作用し、図示しないC相異常計数カウンタで異常検出回数を加算計数する工程、505dは上記工程503dがNOの判定であった時に作用し、図示しないD相異常計数カウンタで異常検出回数を加算計数する工程であり、上記工程505a〜505dによって合成状態検出信号P3が発生しなかったことを相別に分離して記憶するようになっている。
【0062】
506は上記工程504a〜504dまたは上記工程505a〜505dに続いて作用し、上記工程505a〜505dで計数された異常検出回数のどれかが所定値を超過したかどうか、または上記工程505a〜505dで計数された異常検出回数の総和の回数が所定値を超過したかどうかを判定する工程(計数判定手段)、507は該工程がYESの判定であった時に作用し、異常警報表示器107に対する駆動出力DR2を発生する工程(異常警報表示手段)、508は上記工程506がNOの判定であった時、または上記工程507に続いて作用し、図4の工程424aへ移行する復帰ラベルである。
【0063】
以上の動作を総括説明すると、工程501aから工程505aまでの動作は、A相界磁コイル103a系統の異常を検出し、ステッピングモータ101aの正転起動動作毎に異常検出回数を加算計数する工程、工程501bから工程505bまでの動作は、B相界磁コイル103b系統の異常を検出し、ステッピングモータ101aの正転起動動作毎に異常検出回数を加算計数する工程、工程501cから工程505cまでの動作は、C相界磁コイル103c系統の異常を検出し、ステッピングモータ101aの正転起動動作毎に異常検出回数を加算計数する工程、工程501dから工程505dまでの動作は、D相界磁コイル103d系統の異常を検出し、ステッピングモータ101aの正転起動動作毎に異常検出回数を加算計数する工程であり、各系統では界磁コイルや開閉素子及び配線の断線・短絡異常が合併され、分離不可状態で検出されるものである。なお、各相の異常計数カウンタは上記工程505a〜505dで加算計数されるほか、図6の工程605a〜605dでも加算計数され、工程506によって比較される加算現在値は両者を合計したものとなっている。
【0064】
図1のものの逆転時異常検出動作説明用フローチャートを示す図6において、600は図4の工程422bがNOの判定であった時、または工程406に続いて活性化されるサブルーチンプログラムの動作開始工程、601aは該工程600に続いて作用し、断続信号出力P1が立下がったかどうかを判定する工程、601bは該工程601aがNOの判定であった時に作用し、断続信号出力P1が立上がったかどうかを判定する工程、601cは該工程601bがNOの判定であった時に作用し、断続信号出力P2が立下がったかどうかを判定する工程、601dは該工程601cがNOの判定であった時に作用し、断続信号出力P2が立上がったかどうかを判定する工程であり、上記工程601dの判定がNOであった時は上記工程601aに復帰するようになっており、上記工程601a〜601dは循環繰返し動作を行いながら断続信号P1またはP2が立上がりまたは立下がるのを検出する工程となっている。
【0065】
602aは上記工程601aがYESの判定であった時に作用し、図3のタイムチャートに従って断続信号P2が立下がるまで待機動作を行う工程、602bは上記工程601bがYESの判定であった時に作用し、図3のタイムチャートに従って断続信号P2が立上がるまで待機動作を行う工程、602cは上記工程601cがYESの判定であった時に作用し、図3のタイムチャートに従って断続信号P1が立上がるまで待機動作を行う工程、602dは上記工程601dがYESの判定であった時に作用し、図3のタイムチャートに従って断続信号P1が立下がるまで待機動作を行う工程である。
【0066】
603aは上記工程602aがYESの判定であった時に作用し、一時記憶手段である前記フリップフロップ回路125に合成状態検出信号P3がセットされているかどうかを判定する工程、603bは上記工程602bがYESの判定であった時に作用し、前記フリップフロップ回路125に合成状態検出信号P3がセットされているかどうかを判定する工程、603cは上記工程602cがYESの判定であった時に作用し、前記フリップフロップ回路125に合成状態検出信号P3がセットされているかどうかを判定する工程、603dは上記工程602dがYESの判定であった時に作用し、前記フリップフロップ回路125に合成状態検出信号P3がセットされているかどうかを判定する工程である。
【0067】
604a〜604dはリセット工程(リセット手段)である。このうち、604aは上記工程603aがYESの判定であった時に作用し、前記フリップフロップ回路125に記憶された合成状態検出信号P3をリセットする工程、604bは上記工程603bがYESの判定であった時に作用し、前記フリップフロップ回路125に記憶された合成状態検出信号P3をリセットする工程、604cは上記工程603cがYESの判定であった時に作用し、前記フリップフロップ回路125に記憶された合成状態検出信号P3をリセットする工程、604dは上記工程603dがYESの判定であった時に作用し、前記フリップフロップ回路125に記憶された合成状態検出信号P3をリセットする工程である。
【0068】
605a〜605dは異常検出回数計数工程(個別判定記憶手段)である。このうち、605aは上記工程603aがNOの判定であった時に作用し、図示しないA相異常計数カウンタで異常検出回数を加算計数する工程、605bは上記工程603bがNOの判定であった時に作用し、図示しないB相異常計数カウンタで異常検出回数を加算計数する工程、605cは上記工程603cがNOの判定であった時に作用し、図示しないC相異常計数カウンタで異常検出回数を加算計数する工程、605dは上記工程603dがNOの判定であった時に作用し、図示しないD相異常計数カウンタで異常検出回数を加算計数する工程であり、上記工程605a〜605dによって合成状態検出信号P3が発生しなかったことを相別に分離して記憶するようになっている。
【0069】
606は上記工程604a〜604dまたは上記工程605a〜605dに続いて作用し、上記工程605a〜605dで計数された異常検出回数のどれかが所定値を超過したかどうか、または上記工程605a〜605dで計数された異常検出回数の総和の回数が所定値を超過したかどうかを判定する工程(計数判定手段)、607は該工程がYESの判定であった時に作用し、前記異常警報表示器107に対する駆動出力DR2を発生する工程(異常警報表示手段)、608は上記工程606がNOの判定であった時、または上記工程607に続いて作用し、図4の工程424bまたは工程408へ移行する復帰ラベルである。
【0070】
以上の動作を総括説明すると、工程601aから工程605aまでの動作は、A相界磁コイル103a系統の異常を検出し、ステッピングモータ101aの逆転起動動作毎に異常検出回数を加算計数する工程、工程601bから工程605bまでの動作は、B相界磁コイル103b系統の異常を検出し、ステッピングモータ101aの逆転起動動作毎に異常検出回数を加算計数する工程、工程601cから工程605cまでの動作は、C相界磁コイル103c系統の異常を検出し、ステッピングモータ101aの逆転起動動作毎に異常検出回数を加算計数する工程、工程601dから工程605dまでの動作は、D相界磁コイル103d系統の異常を検出し、ステッピングモータ101aの逆転起動動作毎に異常検出回数を加算計数する工程であり、各系統では界磁コイルや開閉素子及び配線の断線・短絡異常が合併され、分離不可状態で検出されるものである。なお、各相の異常計数カウンタは上記工程605a〜605dで加算計数されるほか、図5の工程505a〜505dでも加算計数され、上記工程606によって比較される加算現在値は両者を合計したものとなっている。
【0071】
以上の説明を踏まえて、図1について概括的に作用動作を説明すると、開閉素子114a〜114dが発生するパルス列によって順次駆動されるステッピングモータ101aの回転量は、発生パルス列を可逆計数する現在値カウンタ132によって測定され、目標位置との相対偏差に応じて可逆駆動が行われるようになっている。ステッピングモータ101aの原点復帰位置は復帰検出スイッチ102dで検出され、この時点で上記現在値カウンタ132はリセットされるようになっているが、ストッパ位置102cに突き当たって停止するに足る十分な復帰駆動パルス列が与えられたにも関らず復帰検出スイッチ102dが動作しない時には異常警報表示器107が動作するようになっている。
【0072】
開閉素子114a〜114dが界磁コイル103a〜103dに給電してから遮断すると、端子A1〜D1にはサージ電圧が発生する。但し、開閉素子が短絡故障で電流遮断ができなかったり、開閉素子が開放異常で通電ができなかったような場合には上記の遮断サージ電圧は発生しない。界磁コイルが断線・短絡していたり、配線路の断線や地絡(端子A1〜D1とA2〜D2間の配線が車載バッテリ104の負側端子に誤接触すること)または天絡(端子A1〜D1とA2〜D2間の配線が車載バッテリ104の正側端子に誤接触すること)があっても同様に遮断サージ電圧は発生しない。
【0073】
マイクロプロセッサ110aに対する制御入力点数を削減するために、各相のサージ電圧はOR結合用ダイオード116によって並列結合されているが、異常発生した時にはどの相の異常であったかを識別する必要がある。更に、ステッピングモータ101aが高速回転している時には、ダイオード116による論理和出力は途切れの無い連続信号レベルになって各相の分離が行えなくなる問題がある。例えば、図2のサージ電圧200aは断続信号出力P1の立下がり○3によって、界磁コイル103aが発生したものであり、これが断続信号P2の立上がり○4によって、記憶されてからリセットされるようになっているが、ステッピングモータ101aが高速回転している時には、サージ電圧200aの波形が断続信号P2の立上がり○4の時点を超えて継続してる現象が発生する。
【0074】
そのため、もしもサージ電圧波形200dが発生していなくても、サージ電圧200aの終焉部波形によって見掛け上でサージ電圧200dが発生したかのようにフリップフロップ回路125が誤記憶するという問題が発生する。この問題を回避するためにエミッタ抵抗119を小さくし、抵抗117を大きくしてトランジスタ118による検出感度を下げた場合には、車載バッテリ104の電源電圧が低下している時にサージ電圧が検出できなくなる問題が発生する。以上のような背景があって、各相別の異常検出はステッピングモータ101aの起動初期、または低速動作の原点復帰の時に行われ、高速運転時の異常検出を回避するようになっている。
【0075】
実施の形態2.
(1)実施の形態2の構成の詳細な説明
この発明の実施の形態2を図1のものとの相違点を中心に説明する。図7は実施の形態2に係る装置の構成ブロック図であり、図7において、100bはマイクロプロセッサ110bを包含し、外部接続されたステッピングモータ101bを駆動制御する異常検出装置、102aは上記ステッピングモータ101bの回転子であり、この実施の形態では、図1に示す復帰検出スイッチ102dは設けられていない。また、図1に示す電源リレー106aは用いられず、異常検出装置100bは車載バッテリ104から直接給電されたり、電源スイッチ105を介して給電されるようになっている。
【0076】
異常検出装置100bの内部構成に関し、開閉素子114a、114b、114c、114dのコレクタ端子はコネクタ端子A1、B1、C1、D1に接続されて界磁コイル103a、103b、103c、103dを駆動する。界磁コイル103aと103bはOR結合用ダイオード116aを介して抵抗117aに接続され、また、界磁コイル103cと103dはOR結合用ダイオード116cを介して抵抗117cに接続されている。
【0077】
118aはエミッタ抵抗119aを介して電源端子MPWに接続され、上記抵抗117aを介してOR結合用ダイオード116aのカソード側に接続されたトランジスタ、120aは該トランジスタのベース端子と電源端子MPW間に接続されたドロッパダイオード、121aは上記トランジスタ118aのコレクタ端子に接続され、トランジスタ122aを駆動するベース抵抗、123aは上記トランジスタ122aのベース/エミッタ端子間に接続された安定抵抗、128aは上記トランジスタ122aのコレクタと電源端子MPW間に接続されたプルアップ抵抗、P3aは上記マイクロプロセッサ110bの割込み入力であり、該割込み入力は上記トランジスタ122aの出力が論理レベル「0」になったことをRAMメモリ130内の第一の記憶手段に記憶するようになっている。
【0078】
118cはエミッタ抵抗119cを介して電源端子MPWに接続され、上記抵抗117cを介してOR結合用ダイオード116cのカソード側に接続されたトランジスタ、120cは該トランジスタのベース端子と電源端子MPW間に接続されたドロッパダイオード、121cは上記トランジスタ118cのコレクタ端子に接続され、トランジスタ122cを駆動するベース抵抗、123cは上記トランジスタ122cのベース/エミッタ端子間に接続された安定抵抗、128cは上記トランジスタ122cのコレクタと電源線MPW間に接続されたプルアップ抵抗、P3cは上記マイクロプロセッサ110bの割込み入力であり、該割込み入力は上記トランジスタ122cの出力が論理レベル「0」になったことをRAMメモリ130内の第二の記憶手段に記憶するようになっている。なお、上記マイクロプロセッサ110bはROMメモリ131bに格納されたプログラムに従って制御動作や上記外部ツール108との通信を行うようになっている。
【0079】
(2)実施の形態2の作用・動作の詳細な説明
図7のとおり構成されたこの発明の実施の形態2に係る装置において、先ず図8に示す正転動作のタイムチャートに基づいて作用・動作の説明をする。図8において、マイクロプロセッサ110bの断続信号出力P1の立上がりエッジは○1○5○9で示され、立下がりエッジは○3○7○11で示されている。また、マイクロプロセッサ110bの断続信号出力P2の立上がりエッジは○4○8○12で示され、立下がりエッジは○2○6○10で示されている。断続信号出力P1の立上がりエッジ○1○5○9時点における断続信号出力P2のレベルは「H」となっていると共に、断続信号出力P1の立下がりエッジ○3○7○11時点における断続信号出力P2のレベルは「L」となっているのが正転状態を表している。
【0080】
図8におけるA1、B1、C1、D1は開閉素子114a、114b、114c、114dのコレクタ端子電圧波形、即ち異常検出装置100bのコネクタ端子A1、B1、C1、D1の電圧波形を示しており、界磁コイル103a、103b、103c、103dへの通電時は「L」、遮断時は「H」レベルとなっている。
【0081】
800a〜800dは個別状態検出信号となるサージ電圧である。このうち、800aは断続信号出力P1の立下がりエッジ○3で界磁コイル103aの通電が遮断された時のサージ電圧波形、800bは断続信号出力P1の立上がりエッジ○1で界磁コイル103bの通電が遮断された時のサージ電圧波形、800cは断続信号出力P2の立下がりエッジ○2で界磁コイル103cの通電が遮断された時のサージ電圧波形、800dは断続信号出力P2の立上がりエッジ○4で界磁コイル103dの通電が遮断された時のサージ電圧波形である。
【0082】
サージ電圧800a、800bによる電流は図7のOR結合用ダイオード116aを介して抵抗117a、エミッタ抵抗119a、電源スイッチ105を通じて車載バッテリ104に吸収されるが、その一部はドロッパダイオード120aに流れてトランジスタ118aを駆動するので、トランジスタ118aとベース抵抗121aを介してトランジスタ122aが駆動される。
【0083】
その結果、サージ電圧が発生している時にはトランジスタ122aのコレクタ端子は正常を意味する信号「L」レベルとなっていて、これが第一の合成状態検出信号P3aとしてマイクロプロセッサ110bに取込まれるようになっている。サージ電圧800c、800dによる電流は図7のOR結合用ダイオード116cを介して抵抗117c、エミッタ抵抗119c、電源スイッチ105を通じて車載バッテリ104に吸収されるが、その一部はドロッパダイオード120cに流れてトランジスタ118cを駆動するので、トランジスタ118cとベース抵抗121cを介してトランジスタ122cが駆動される。
【0084】
その結果、サージ電圧が発生している時にはトランジスタ122cのコレクタ端子は正常を意味する信号「L」レベルとなっていて、これが第二の合成状態検出信号P3cとしてマイクロプロセッサ110bに取込まれるようになっている。なお、例えば○3Bと表示した記号の意味は、○3のタイミングで読み出されるB相サージ電圧による一時記憶信号であり、記憶のタイミングは断続信号出力P1の立上がり○1の直後に割込み動作で記憶されたものである。
【0085】
図7のとおり構成されたこの発明の実施の形態2の装置において、図9に示す逆転動作のタイムチャートに基づいて作用・動作の説明をする。図9において、マイクロプロセッサ110bの断続信号出力P1の立上がりエッジは○1○5○9で示され、立下がりエッジは○3○7○11で示されている。また、マイクロプロセッサ110bの断続信号出力P2の立下がりエッジは○4○8○12で示され、立上がりエッジは○2○6○10で示されている。断続信号出力P1の立上がりエッジ○1○5○9時点における断続信号出力P2のレベルは「L」となっていると共に、断続信号出力P1の立下がりエッジ○3○7○11時点における断続信号出力P2のレベルは「H」となっているのが逆転状態を表している。
【0086】
図9におけるA1、B1、C1、D1は開閉素子114a、114b、114c、114dのコレクタ端子電圧波形、即ち異常検出装置100bのコネクタ端子A1、B1、C1、D1の電圧波形を示しており、界磁コイル103a、103b、103c、103dへの通電時は「L」、遮断時は「H」レベルとなっている。
【0087】
900a〜900dは個別状態検出信号となるサージ電圧である。このうち、900aは断続信号出力P1の立下がりエッジ○3で界磁コイル103aの通電が遮断された時のサージ電圧波形、900bは断続信号出力P1の立上がりエッジ○1で界磁コイル103bの通電が遮断された時のサージ電圧波形、900cは断続信号出力P2の立下がりエッジ○4で界磁コイル103cの通電が遮断された時のサージ電圧波形、900dは断続信号出力P2の立上がりエッジ○2で界磁コイル103dの通電が遮断された時のサージ電圧波形である。
【0088】
サージ電圧900a、900bによる電流は図7のOR結合用ダイオード116aを介して抵抗117a、エミッタ抵抗119a、電源スイッチ105を通じて車載バッテリ104に吸収されるが、その一部はドロッパダイオード120aに流れてトランジスタ118aを駆動するので、トランジスタ118aとベース抵抗121aを介してトランジスタ122aが駆動される。その結果、サージ電圧が発生している時にはトランジスタ122aのコレクタ端子は正常を意味する信号「L」レベルとなっていて、これが第一の合成状態検出信号P3aとしてマイクロプロセッサ110bに取込まれるようになっている。
【0089】
サージ電圧900c、900dによる電流は図7のOR結合用ダイオード116cを介して抵抗117c、エミッタ抵抗119c、電源スイッチ105を通じて車載バッテリ104に吸収されるが、その一部はドロッパダイオード120cに流れてトランジスタ118cを駆動するので、トランジスタ118cとベース抵抗121cを介してトランジスタ122cが駆動される。
【0090】
その結果、サージ電圧が発生している時にはトランジスタ122cのコレクタ端子は正常を意味する信号「L」レベルとなっていて、これが第二の合成状態検出信号P3cとしてマイクロプロセッサ110bに取込まれるようになっている。なお、例えば○3Bと表示した記号の意味は、○3のタイミングで読み出されるB相サージ電圧による一時記憶信号であり、記憶のタイミングは断続信号出力P1の立上がり○1の直後に割込み動作で記憶されたものである。
【0091】
図7のものの全体動作説明用フローチャートを示す図10において、450はマイクロプロセッサ110bの動作開始工程、452は該工程に続いて作用し、工程462で後述するフラグがセットされているかどうかによって判定される初回動作であるかどうかの判定工程、455は該工程がYESの時に作用し、図7の現在値カウンタ132を最大値にセットする工程、456は該工程に続いて作用し、原点復帰のために逆転パルス列として断続信号出力P1、P2を発生する工程(原点復帰動作制御手段)、457は該工程に続いて作用し、図12で後述するサブルーチンプログラム、461は該サブルーチンプログラムに続いて作用し、現在値カウンタ132の現在値が0になったかどうかを判定する工程であり、該工程461で現在値カウンタ132の現在値が0になるまでは上記工程456へ復帰すると共に、現在値が0になれば工程462へ移行して原点復帰フラグがセットされる。
【0092】
466は上記工程452がNOの判定であって原点復帰動作が完了している時に作用し、図示しない駆動制御手段の中からステッピングモータ101bの目標回転位置を読み出す工程、467は該工程に続いて作用し、現在値カウンタ132の現在値を読み出す工程、468は該工程に続いて作用し、上記工程466によって読み出された目標位置と上記工程467で読み出された現在値を比較する工程、465は上記工程468が偏差正常の判定であった時、または上記工程462に続いて移行する動作終了工程であり、該動作終了工程において再度動作開始工程450が活性化されることによって繰返して制御動作が行われるようになっている。
【0093】
470は上記工程468が位置偏差過大の判定を行った時に作用し、位置偏差の正負によって補正回転方向を判定する工程、471aは該工程が正転判定であった時に作用し、断続信号出力P1、P2によって正転パルス列を発生する工程、473aは該工程に続いて作用し、図11で後述するサブルーチンプログラム、475aは該サブルーチンプログラムに続いて作用し、現在時点での目標位置と現在位置を比較して正転パルス列の発生を継続するかどうかを判定する工程であり、該工程が継続判定であった時には上記工程471aへ復帰し、継続停止であった時には終了工程465へ移行するようになっている。
【0094】
471bは上記工程470が逆転判定であった時に作用し、断続信号出力P1、P2によって逆転パルス列を発生する工程、473bは該工程に続いて作用し、図12で後述するサブルーチンプログラム、475bは該サブルーチンプログラムに続いて作用し、現在時点での目標位置と現在位置を比較して逆転パルス列の発生を継続するかどうかを判定する工程であり、該工程が継続判定であった時には上記工程471bへ復帰し、継続停止であった時には終了工程465へ移行するようになっている。以上の動作を総括説明すると、工程452から工程462までの動作は、電源投入時における原点復帰動作と、原点復帰過程での異常検出に関するものである。工程466以降の工程は通常運転時における正逆転駆動と異常検出に関するものであるが、異常検出のためのサブルーチンプログラム473aや473b、457は図11、図12で説明する。
【0095】
図7のものの正転時異常検出動作説明用フローチャートを示す図11において、550は図10の工程471aに続いて活性化されるサブルーチンプログラムの動作開始工程、551aは該工程550に続いて作用し、断続信号出力P1が立下がったかどうかを判定する工程、551bは該工程551aがNOの判定であった時に作用し、断続信号出力P1が立上がったかどうかを判定する工程、551cは該工程551bがNOの判定であった時に作用し、断続信号出力P2が立下がったかどうかを判定する工程、551dは該工程551cがNOの判定であった時に作用し、断続信号出力P2が立上がったかどうかを判定する工程であり、上記工程551dの判定がNOであった時は上記工程551aに復帰するようになっており、上記工程551a〜551dは循環繰返し動作を行いながら断続信号P1またはP2が立上がりまたは立下がるのを検出する工程となっている。
【0096】
552aは断続信号P1が立下がったことによって界磁コイル103aの電流が遮断され、A相サージ電圧が発生したことを入力端子P3aを介して割込み記憶する第一の一時記憶手段、552bは断続信号P1が立上がったことによって界磁コイル103bの電流が遮断され、B相サージ電圧が発生したことを入力端子P3aを介して割込み記憶する第一の一時記憶手段、552cは断続信号P2が立下がったことによって界磁コイル103cの電流が遮断され、C相サージ電圧が発生したことを入力端子P3cを介して割込み記憶する第二の一時記憶手段、552dは断続信号P2が立上がったことによって界磁コイル103dの電流が遮断され、D相サージ電圧が発生したことを入力端子P3cを介して割込み記憶する第二の一時記憶手段であり、上記第一の一時記憶手段552aと552bは前記RAMメモリ130の中のどれか一点の同一メモリ、上記第二の一時記憶手段552cと552dは前記RAMメモリ130の中の他のどれか一点の同一メモリとなっている。
【0097】
553aは上記工程551aがYESの判定であった時に作用し、上記第一の一時記憶手段552bに合成状態検出信号P3aがセットされているかどうかを判定する工程、553bは上記工程551bがYESの判定であった時に作用し、上記第一の一時記憶手段552aに合成状態検出信号P3aがセットされているかどうかを判定する工程、553cは上記工程551cがYESの判定であった時に作用し、上記第二の一時記憶手段552dに合成状態検出信号P3cがセットされているかどうかを判定する工程、553dは上記工程551dがYESの判定であった時に作用し、上記第二の一時記憶手段552cに合成状態検出信号P3cがセットされているかどうかを判定する工程である。
【0098】
554aは上記工程553aがYESの判定であった時に作用し、上記第一の一時記憶手段552bに記憶された合成状態検出信号をリセットする工程、554bは上記工程553bがYESの判定であった時に作用し、上記第一の一時記憶手段552aに記憶された合成状態検出信号をリセットする工程、554cは上記工程553cがYESの判定であった時に作用し、上記第二の一時記憶手段552dに記憶された合成状態検出信号をリセットする工程、554dは上記工程553dがYESの判定であった時に作用し、上記第二の一時記憶手段552cに記憶された合成状態検出信号をリセットする工程である。
【0099】
555a〜555dは異常検出回数計数工程(個別判定記憶手段=相別異常計数記憶手段)である。そのうち、555aは上記工程553aがNOの判定であった時に作用し、図示しないB相異常計数カウンタで異常検出回数を加算計数する工程、555bは上記工程553bがNOの判定であった時に作用し、図示しないA相異常計数カウンタで異常検出回数を加算計数する工程、555cは上記工程553cがNOの判定であった時に作用し、図示しないD相異常計数カウンタで異常検出回数を加算計数する工程、555dは上記工程553dがNOの判定であった時に作用し、図示しないC相異常計数カウンタで異常検出回数を加算計数する工程であり、上記工程555a〜555dによって合成状態検出信号P3cやP3aが発生しなかったことを相別に分離して記憶するようになっている。
【0100】
556は上記工程554a〜554dまたは上記工程555a〜555dに続いて作用し、上記工程555a〜555dで計数された異常検出回数のどれかが所定値を超過したかどうか、または上記工程555a〜555dで計数された異常検出回数の総和の回数が所定値を超過したかどうかを判定する工程、557は該工程がYESの判定であった時に作用し、前記異常警報表示器107に対する駆動出力DR2を発生する工程、558は上記工程556がNOの判定であった時、または上記工程557に続いて作用し、図10の工程475aへ移行する復帰ラベルである。
【0101】
以上の動作を総括説明すると、工程551aから工程555aまでの動作は、B相界磁コイル103b系統の異常を検出して、異常検出回数を加算計数する工程、工程551bから工程555bまでの動作は、A相界磁コイル103a系統の異常を検出して、異常検出回数を加算計数する工程、工程551cから工程555cまでの動作は、D相界磁コイル103d系統の異常を検出して、異常検出回数を加算計数する工程、工程551dから工程555dまでの動作は、C相界磁コイル103c系統の異常を検出して、異常検出回数を加算計数する工程であり、各系統では界磁コイルや開閉素子及び配線の断線・短絡異常が合併され、分離不可状態で検出されるものである。なお、各相の異常計数カウンタは上記工程555a〜555dで加算計数されるほか、図12の工程655a〜655dでも加算計数され、上記工程556によって比較される加算現在値は両者を合計したものとなっている。
【0102】
図7のものの逆転時異常検出動作説明用フローチャートを示す図12において、650は図10の工程471bまたは工程456に続いて活性化されるサブルーチンプログラムの動作開始工程、658は工程656がNOの判定であった時、または工程657に続いて作用し、図10の工程475bまたは工程461へ移行する復帰ラベルであり、上記工程650〜工程658間の動作は図11の場合と同様であり、500番台の数値を600番台に置き直したものである。なお、図11と図12において、552a、552b、652a、652bは便宜上で異なる番号が用いられているが、実態としては同一の第一の一時記憶手段であって、該一時記憶手段はRAMメモリ130内に設けられ、グループ別の合成状態検出信号P3aの割込み入力信号を更新記憶するようになっている。
【0103】
同様に、552c、552d、652c、652dは便宜上で異なる番号が用いられているが、実態としては同一の第二の一時記憶手段であって、該一時記憶手段はRAMメモリ130内に設けられ、グループ別の合成状態検出信号P3cの割込み入力信号を更新記憶するようになっている。
【0104】
以上の説明を踏まえて、図7について概括的に作用・動作を説明すると、開閉素子114a〜114dが発生するパルス列によって順次駆動されるステッピングモータ101bの回転量は、発生パルス列を可逆計数する現在値カウンタ132によって測定され、目標位置との相対偏差に応じて可逆駆動が行われるようになっている。ステッピングモータ101bの原点復帰は移動体102bがストッパ102c位置に突き当たって停止するに足る十分な復帰駆動パルス列が与えられたことによって原点復帰したと見做すようになっている。
【0105】
開閉素子114a〜114dが界磁コイル103a〜103dに給電してから遮断すると、端子A1〜D1にはサージ電圧が発生する。但し、開閉素子が短絡故障で電流遮断ができなかったり、開閉素子が開放異常で通電ができなかったような場合には上記の遮断サージ電圧は発生しない。界磁コイルが断線・短絡していたり、配線路の断線や地絡(端子A1〜D1とA2〜D2間の配線が車載バッテリ104の負側端子に誤接触すること)または天絡(端子A1〜D1とA2〜D2間の配線が車載バッテリ104の正側端子に誤接触すること)があっても同様に遮断サージ電圧は発生しない。
【0106】
マイクロプロセッサ110bに対する制御入力点数を削減するために、A相とB相のサージ電圧はOR結合用ダイオード116aによって並列結合されているが、異常発生した時にはどの相の異常であったかを識別する必要がある。同様に、C相とD相のサージ電圧はOR結合用ダイオード116cによって並列結合されているが、異常発生した時にはどの相の異常であったかを識別する必要がある。なお、ステッピングモータ101bが高速回転していても、ダイオード116aや116cによる論理和出力は途切れを伴った断続信号レベルになって各相の分離が行えるようになっている。以上のように、非隣接サージ電圧をダイオード116aまたは116cによって並列結合することによって、高速運転時の異常検出が可能であって、マイクロプロセッサ110bの入力端子数を削減した上で、異常発生相の分離が行えるようになっている。
【0107】
発明の他の実施の形態
図1で示したこの発明の実施の形態の装置によれば、一時記憶手段はマイクロプロセッサ110aの外部に設けられたフリップフロップ回路125によって構成されているが、合成状態検出信号P3をマイクロプロセッサ110aの割込み入力端子に直接接続して、フリップフロップ回路125を省略してRAMメモリ130を用いるようにすることもできる。図7で示したこの発明の実施の形態の装置によれば、一時記憶手段はマイクロプロセッサ110bに設けられたRAMメモリ130が使用され、しかも界磁コイル103a、103bのグループと界磁コイル103c、103dのグループに分けて一対の一時記憶手段が用いられているが、一時記憶手段は各界磁コイル毎に個別に設けてもさしつかえはない。
【0108】
図1、図7の実施の形態によれば、ステッピングモータの駆動量を測定するために現在値カウンタが設けられ、該現在値カウンタはステッピングモータに対する駆動パルスを可逆計数するオープンループ制御方式となっている。しかし、ステッピングモータの回転子に2相式の回転センサを設け、該回転センサの発生パルスを現在値カウンタで可逆計数するようにすれば位置制御に関するクローズドループ制御を行うことができる。更に、上記回転センサに代わって、絶対位置検出センサを設けると、原点復帰検出スイッチも省略することができる。
【0109】
【発明の効果】
以上の説明で明らかなとおり、請求項1の発明によれば、マイクロプロセッサによって生成された断続信号出力に応動して順次開閉動作する複数の開閉素子によって駆動され、多相界磁コイルを所定順序で順次付勢することによって所定角度毎に正逆回転動作を行うステッピングモータにおいて、各相の個別状態検出手段と全相の合成状態検出手段と一時記憶手段と個別判定記憶手段とリセット手段と異常警報表示手段とを備え、上記ステッピングモータの駆動開始または回転方向反転後の初回の通電遮断に対して上記サージ電圧の合成検出信号が発生しなかったことを通電遮断された相別に記憶して、異常判定を行うようになっている。従って、取扱い信号点数が削減されてハードウエア構成が安価、簡易になると共に、ステッピングモータの高速運転時に検出サージ電圧が途切れの無い連続波形になることがあっても確実に相別異常が検出できる効果がある。
【0110】
また、請求項2の発明によれば、請求項1において、原点復帰動作制御手段を備え、上記個別判定記憶手段は上記ステッピングモータの駆動開始または回転方向反転後の初回の通電遮断に対して上記サージ電圧の合成検出信号が発生しなかったことを通電遮断された相別に記憶すると共に、上記ステッピングモータの原点復帰動作中において、上記サージ電圧の合成検出信号が発生しなかったことを通電遮断された相別に記憶するようになっている。従って、運転開始時と運転中において相別異常が検出できるので、異常があれば速やかに検出することができる効果がある。
【0111】
また、請求項3の発明によれば、請求項2において、電源リレーと現在値カウンタと復帰検出スイッチとを備えている。従って、電源スイッチが遮断された運転停止後に原点復帰を行っておくことにより、電源投入時は復帰検出スイッチの動作を確認することで直ちに正常運転を開始することができる効果がある。
【0112】
また、請求項4の発明によれば、請求項2または請求項3において、現在値カウンタと最大量設定手段と復帰検出スイッチと復帰異常判定手段とを備えている。従って、ステッピングモータまたは機構系の異常を検出して上記異常警報表示器を動作させることができる効果がある。
【0113】
また、請求項5の発明によれば、請求項1または請求項2において、上記一時記憶手段として上記マイクロプロセッサの外部に設けられたフリップフロップ回路が用いられている。従って、併用マイクロプロセッサの高速処理制御負担が軽減されて、高速運転制御に適すると共に、検出信号が論理結合されているのでハードウエアとしてのフリップフロップ回路は1個あればよく、経済的に構成することができる効果がある。
【0114】
また、請求項6の発明によれば、マイクロプロセッサによって生成された断続信号出力に応動して順次開閉動作する複数の開閉素子によって駆動され、多相界磁コイルを所定順序で順次付勢することによって所定角度毎に正逆回転動作を行うステッピングモータにおいて、各相の個別状態検出手段と第一、第二の合成状態検出手段と一時記憶手段と個別判定記憶手段とリセット手段と異常警報表示手段とを備えている。従って、ステッピングモータを高速運転しても、グループ別の検出信号であるサージ電圧が途切れのある断続波形となって、相別異常の検出が可能となると共に、取扱う信号点数が削減されて簡易、安価に異常検出が行える効果がある。
【0115】
また、請求項7の発明によれば、請求項1または請求項6において、上記一時記憶手段は上記マイクロプロセッサ内部のRAMメモリが用いられている。従って、マイクロプロセッサの外部に接続されるハアードウエアとしてのフリップフロップ回路が不要となり、装置を小形、安価に構成することができる効果がある。
【0116】
また、請求項8の発明によれば、請求項1または請求項6において、上記個別判定記憶手段は異常発生回数の計数判定手段を備え、該計数判定手段は相別異常発生回数または相別異常発生回数の総和が所定値を超過した時に上記異常警報表示手段を作動させるようになっている。従って、ノイズ誤動作等があっても、早まった異常判定を行って混乱を来すことがない実用上の効果がある。
【0117】
また、請求項9の発明によれば、請求項1または請求項6において、上記マイクロプロセッサには外部ツール接続用インタフェースが設けられ、上記個別判定記憶手段の内容は上記外部ツールによって読み出し表示されると共に、外部ツールからの指令によってリセットされるようになっている。従って、異常系統が識別できるので、特定された異常相について、開閉素子または界磁コイルまたは配線のいずれの異常であるかを点検して、速やかに異常要素の除去、交換が行える効果がある。
【図面の簡単な説明】
【図1】 この発明の実施の形態1に係るモータ駆動系の異常検出装置を示すブロック図である。
【図2】 図1のステッピングモータの正転動作を説明するタイムチャートである。
【図3】 図1のステッピングモータの逆転動作を説明するタイムチャートである。
【図4】 図1の全体動作説明用フローチャートである。
【図5】 図1のステッピングモータ正転時における異常検出動作を説明するフローチャートである。
【図6】 図1のステッピングモータ逆転時における異常検出動作を説明するフローチャートである。
【図7】 この発明の実施の形態2に係るモータ駆動系の異常検出装置を示すブロック図である。
【図8】 図7のステッピングモータの正転動作を説明するタイムチャートである。
【図9】 図7のステッピングモータの逆転動作を説明するタイムチャートである。
【図10】 図7の全体動作説明用フローチャートである。
【図11】 図7のステッピングモータ正転時における異常検出動作を説明するフローチャートである。
【図12】 図7のステッピングモータ逆転時における異常検出動作を説明フローチャートである。
【符号の説明】
P1、P2 断続信号出力、
P3 合成状態検出信号、
P3a 第一の合成状態検出信号、
P3c 第二の合成状態検出信号、
RST リセット信号出力、
100a、100b 異常検出装置、
101a、101b ステッピングモータ、
102d 復帰検出スイッチ、
103a〜103d 界磁コイル、
105 電源スイッチ、
106a 電源リレー、
107 異常警報表示器、
108 外部ツール
110a、110b マイクロプロセッサ、
111 インタフェース、
114a〜114d 開閉素子、
125 フリップフロップ回路(一時記憶手段)、
130 RAMメモリ(一時記憶手段)、
132 現在値カウンタ、
200a〜200d サージ電圧(個別状態検出信号)、
300a〜300d サージ電圧(個別状態検出信号)、
405 最大量設定手段、
406 原点復帰動作制御手段、
411 復帰異常判定手段、
412 異常警報表示手段、
426 駆動開始遅延確認手段、
455 最大量設定手段、
456 原点復帰動作制御手段、
504a〜504d リセット手段、
505a〜505d 個別判定記憶手段(相別異常計数記憶手段)、
506 計数判定手段、
507 異常警報表示手段、
552a・552b 第一の一時記憶手段、
552c・552d 第二の一時記憶手段、
554a・554b 第一のリセット手段、
554c・554d 第二のリセット手段、
555a〜555d 個別判定記憶手段(相別異常計数記憶手段)、
556 計数判定手段、
557 異常警報表示手段、
604a〜604d リセット手段、
605a〜605d 個別判定記憶手段(相別異常計数記憶手段)、
606 計数判定手段、
607 異常警報表示手段、
652a・652b 第一の一時記憶手段、
652c・652d 第二の一時記憶手段、
654a・654b 第一のリセット手段、
654c・654d 第二のリセット手段、
655a〜655d 個別判定記憶手段(相別異常計数記憶手段)、
656 計数判定手段、
657 異常警報表示手段、
800a〜800d サージ電圧(個別状態検出信号)、
900a〜900d サージ電圧(個別状態検出信号)。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an abnormality detection device for a motor drive system used for drive control of, for example, an adjustment valve for circulating gas amount provided in an exhaust gas circulation passage of an automobile engine or an intake valve for idle rotation speed control. In particular, it can easily detect disconnection / short-circuit abnormalities in the multiphase field coil of the stepping motor used in the motor drive system, the field coil drive switching element, or the wiring between the field coil and the switching element. The present invention relates to an improved abnormality detection device for a motor drive system.
[0002]
[Prior art]
Various methods are disclosed as means for detecting disconnection / short circuit abnormality of a load itself, a driving switching element, or a wiring between a load and a switching element, using a field coil for a stepping motor as a load. The typical method is as follows.
[0003]
A = Load current detection method:
When a field coil serving as a load is energized, a voltage drop generated in the current detection series resistor is monitored to determine whether or not an appropriate current is flowing. This means that an excessive current flows if there is a load short circuit, wiring short circuit, etc., but if there is a load disconnection, wiring disconnection, switch circuit abnormality, etc., only a current less than a predetermined value flows. Abnormality is comprehensively detected.
[0004]
This load current detection method is an effective means for automatically shutting off the switching element when the load or wiring is short-circuited and preventing the switching element from being damaged. In such a case, a delay in current rise occurs immediately after the opening / closing element is turned on, so that it is necessary to perform a delay detection process that does not inadvertently determine that the disconnection is abnormal.
[0005]
B = Leakage current detection method:
A high resistance that flows leakage current is connected in parallel with the load drive switching element, and the divided voltage of the high resistance is monitored. If there is no leakage current flowing to the load when the switching element is shut off, the load or wiring An abnormality of each part is comprehensively detected as an open circuit or a short circuit abnormality of the switching element.
[0006]
C = Surge voltage detection method:
Detects a surge voltage generated by an inductive load when the load drive switching element is shut off. If there is no surge voltage, the load / wiring is disconnected, the switching element is shut off abnormally, or the load / wiring is shut off. As a result, abnormality of each part is detected comprehensively. Even in this surge voltage detection method, there is a delay in the generation of a surge voltage immediately after the switching element is cut off, so that it is necessary to perform a delay detection process that does not inadvertently determine that there is an abnormality.
[0007]
Japanese Patent Laid-Open No. 3-203599 (Patent No. 2639144) “Exhaust Gas Circulation Valve Control Device” (Document A) is an example of stepping motor drive control based on a load current detection method. Japanese Patent Laid-Open No. 10-257799 “Output Open Detection Device for Multi-Channel Output Device” (Document B) is an example of stepping motor drive control based on a leakage current detection method. Japanese Patent Laid-Open No. 7-99796, “Stepping Motor Drive Device” (Document AB) is an example of stepping motor drive control using both a load current detection method and a leakage current detection method.
[0008]
On the other hand, as known abnormality detection means for a large number of electric loads, an external hardware (H / W) system in which the result of determination / synthesis by hardware is taken into a microprocessor and a synthesized status signal are used. It is broadly classified into an internal software (S / W) system that inputs to a microprocessor and performs determination processing inside the microprocessor.
[0009]
In the above document A, an external H / W method is adopted in which an abnormality relating to the four field coils of the stepping motor is delayed and latched, and a comprehensive abnormality determination result obtained by ANDing this is taken into the microprocessor. In the above document B, normal state signals related to the four field coils of the stepping motor are OR-coupled by diodes, the integration circuit is reset by the output signal, and the output of the integration circuit is micro-measured as a result of the overall abnormality determination as necessary It is an external H / W system that can be incorporated into the processor. The above-mentioned document AB is an internal S / W system that detects disconnection / short circuit by logically combining various state signals and inputting them to the microprocessor and monitoring the period and duty ratio of the input pulse train in the microprocessor. ing.
[0010]
In addition, as a known technique related to the present invention, Japanese Patent Publication No. 7-92016 “Failure detection circuit for fuel injection valve drive circuit for internal combustion engine” (Document C) is an electromagnetic coil for driving a fuel injection valve based on a surge voltage detection system. This is an example of the drive control.
[0011]
Further, according to Japanese Patent Application Laid-Open No. 5-18315, “Automotive Engine Control Device” (Document D), a power switch is used to initialize an actuator that is driven and controlled by a microprocessor built in the engine control device. It is stated that power is supplied to the engine control device via the power relay, and the operation of the power relay is continued even after the power switch is shut off, and the power relay is shut off upon completion of initialization.
[0012]
In addition, according to Japanese Patent Application No. 2000-380652, “Abnormality Detection Device for In-vehicle Electric Load Drive System” (Document E), an internal S / W method and a means for detecting and detecting abnormal phases are presented. . The present invention relates to an improvement in the case where the above-mentioned document E is applied to a stepping motor and abnormality is detected by surge voltage detection.
[0013]
[Problems to be solved by the invention]
(1) Explanation of problems in the prior art
In the prior art as described above, the external H / W method found in Document A or Document B is disadvantageous in terms of size and cost, and in this respect, the internal S / W method as shown in Document AB is desirable. . However, this AB document has no inconvenient point of specifying which load system out of many electric loads is abnormal, which makes maintenance work difficult. .
[0014]
In addition, when the surge voltage detection method found in Document C is applied to a multiphase field coil, there is a feature that it is possible to comprehensively detect abnormalities in the field coil, switching elements, wiring, etc. If the surge voltages are combined in parallel, there is a problem that it is difficult to detect and detect abnormal phases when the stepping motor is driven at high speed.
[0015]
(2) Description of the object of the invention
The first object of the present invention is to use an inexpensive and simple individual H / W individual state detection signal based on surge voltage detection, and input a single combined state detection signal obtained by logically combining the individual state detection signals to the microprocessor. In addition, while avoiding abnormality determination during high-speed operation, correct abnormality detection is performed by S / W processing in the microprocessor, and an abnormal load system can be identified to facilitate maintenance work. The object is to obtain a drive system abnormality detection device.
[0016]
A second object of the present invention is to use an inexpensive and simple individual H / W individual state detection signal based on surge voltage detection, and input a plurality of combined state detection signals obtained by logically combining the individual state detection signals to a microprocessor. Thus, it is possible to determine an abnormality during high-speed operation, to detect a correct abnormality by S / W processing in the microprocessor, and to identify an abnormal load system so that maintenance work is facilitated. It is to obtain an abnormality detection device.
[0017]
[Means for Solving the Problems]
  According to a first aspect of the present invention, there is provided an abnormality detection device for a motor drive system in which a multiphase field coil is energized in a predetermined order to correct a stepping motor in response to a microprocessor and an intermittent signal generated by the microprocessor. A plurality of switching elements that are driven in reverse, and surge voltages generated when the field coils are de-energized by the switching elements are detected for each phase, and detection signals are generated to confirm the energization and decoupling of the phase field coils. Individual state detection means for generating, and a combined state detection means for generating a composite signal for logically summing signals detected by the individual state detection means and confirming energization and interruption of the all-phase field coils,A drive start delay confirmation means for confirming that the drive stop time of the stepping motor or the pause time when the rotation direction is reversed is a predetermined value or more;Temporary storage means for storing the generation of a composite signal detected by the composite state detection means, and stored at a variable delay time immediately after the first rising or falling time after the intermittent signal has been paused for a predetermined time or more. Individual determination storage means for reading out the contents of temporary storage at the next rising or falling time of the intermittent signal and storing the presence / absence of an abnormality for each phase, after the individual determination storage means stores the presence / absence of the current abnormality for a phase Responding to the fact that the contents of the temporary storage means are erased and at least one of the reset means and the individual determination storage means that can newly store the next synthesized signal is abnormally stored. An abnormality alarm display means for operating an abnormality alarm indicator is provided, and the individual determination storage means is the first communication after the stepping motor has been stopped for a predetermined time or more. Against blocking, synthetic detection signal is stored in a separate phase that is energized shut off that did not occur in the surge voltage, it is characterized in that the abnormality determination during forward and reverse rotation start of the stepping motor.
[0018]
Further, in the device according to claim 1, the device operates in the initial operation at the time of power-on or / and in the final operation immediately before the power-off, and returns to the original position at a low speed operation below the limit at which the surge voltage waveform becomes an intermittent waveform. The individual determination storage means does not generate a combined detection signal of the surge voltage for the first interruption of energization after the start of driving of the stepping motor or reversal of the rotation direction. This is stored for each phase in which the current is cut off, and the fact that the combined detection signal of the surge voltage is not generated during the origin return operation of the stepping motor is stored for each phase in which the current is cut off. It is what.
[0019]
  Further, in the apparatus according to claim 2, when the power switch is turned on, it operates immediately to supply power to the abnormality detection apparatus, and at least until the stepping motor returns to the origin after the power switch is turned off. A power supply relay that performs a delay cut-off operation that cuts off the power after continuing the supply, and a current operation that measures the current rotation position of the stepping motor by reversibly counting the drive pulse amount or moving pulse amount of the stepping motor.valueOperates when the counter and the stepping motor return to the home position, resets the current value counter, and returns to the home position after stopping the operation when the power switch is turned off. It is characterized by having a return detection switch that can start the operation.
[0020]
Further, in the apparatus according to claim 2 or claim 3, prior to the return to origin operation, a current value counter for reversibly counting the driving pulse amount or the moving pulse amount of the stepping motor and measuring the current rotational position of the stepping motor, Maximum amount setting means that is set for the current value counter and sets a target drive pulse amount that is sufficient to move the stepping motor from the forward rotation limit position to the reverse rotation limit position. When the stepping motor returns to the home position A return detection switch that operates to reset the current value counter, and determines whether or not the return detection switch has operated after performing an origin return operation with the target drive pulse amount, and the stepping motor Or equipped with return abnormality judgment means that detects abnormality of the mechanical system and operates the abnormality alarm indicator It is an feature.
[0021]
Further, in the apparatus according to claim 1 or claim 2, the temporary storage means uses a flip-flop circuit provided outside the microprocessor, the flip-flop circuit is set by the synthesized state detection signal, It is read and reset by the microprocessor.
[0022]
  According to a sixth aspect of the present invention, there is provided an abnormality detection device for a motor drive system, which responds to an intermittent signal generated by a microprocessor and the microprocessor and urges a multi-phase field coil in a predetermined order to provide a stepping motor. Detects the surge voltage generated when the field coil is de-energized by the switching elements, and generates a detection signal for confirming the energization and de-energization of each phase field coil. Individual state detecting means for generating a combined signal for logically summing signals of groups not adjacently operated among the signals detected by the individual state detecting means to confirm energization / cutoff of the field coils of each group. The combined signals detected by the first and second combined state detecting means and the first and second combined state detecting means are reduced via the first and second interrupt input terminals. Temporary storage means for separating each group and storing it in the RAM memory in the microprocessor, and for each group with a variable delay time immediately after the previous rise or fall of the intermittent signal output for each group. Individual determination storage means for reading out the contents of the stored temporary storage at the current fall or rise time of the intermittent signal output and storing the presence / absence of abnormality for each phase, and the individual determination storage means After the presence / absence is stored, the contents of the temporary storage means are erased, and at least one of the reset means and the individual determination storage means that can newly store the next synthesized signal is abnormally stored. The abnormality alarm indicator is activated in response to the fact that the stepping motor is continuously driven at high speed so that abnormality can be determined. It is characterized in that it comprises the anomaly alarm display unit.
[0023]
  Further, in the apparatus according to claim 1 or 6, the RAM memory in the microprocessor is used as the temporary storage means, and the RAM memory has a period at a time interval shorter than a pulse width of the synthesized state detection signal. It is set through an interrupt input terminal of a microprocessor for which input monitoring is performed, and is read out and reset within the microprocessor.
[0024]
  Also,Claim 1 Or according to claim 6In the apparatus, counting determination means for counting the number of occurrences of abnormality stored in the individual determination storage means and activating the abnormality alarm display means when the number of occurrences of phase-specific abnormalities or the sum of the number of occurrences of phase-specific abnormalities exceeds a predetermined value It is characterized by comprising.
[0025]
  Also,According to claim 1 or claim 6In the apparatus, the microprocessor is provided with an external tool connection interface, and the contents of the individual determination storage means are read and displayed by the external tool, and the contents are reset by a command from the external tool. It is characterized by being.
[0026]
DETAILED DESCRIPTION OF THE INVENTION
Embodiment 1 FIG.
(1) Detailed description of the configuration of the first embodiment
Embodiment 1 of the present invention will be described below with reference to the drawings. FIG. 1 shows a configuration block of an apparatus according to Embodiment 1 of the present invention. In FIG. 1, reference numeral 100a includes a microprocessor 110a, and an abnormality detection apparatus 102a for driving and controlling an externally connected stepping motor 101a. Is a rotor of the stepping motor 101a, 102b is a moving body that performs forward / reverse operation in the illustrated direction by the rotor, 102c is a stopper provided at a forward / reverse limit position of the moving body, and 102d is the moving body 102b. The return detection switches 103a, 103b, 103c, and 103d that close when the stepping motor 101a reaches the reverse rotation limit position, that is, when the stepping motor 101a returns to the home position, are multiphase field coils, and one end of each field coil. Is the connector of the abnormality detecting device 100a via the connector terminals A2, B2, C2, and D2. And is connected to the child A1, B1, C1, D1.
[0027]
Reference numeral 104 denotes an in-vehicle battery serving as a power source for the stepping motor 101a, 105 denotes a power switch, 106a denotes a power relay energized from the in-vehicle battery 104 via the power switch 105 and the diode 105a, and 106b denotes an output contact of this relay. The other ends of the field coils 103a, 103b, 103c, and 103d are connected to the in-vehicle battery 104 through an output contact 106b.
[0028]
  SLP is a terminal of the abnormality detecting device 100a connected to the in-vehicle battery 104, and MPW is a terminal of the abnormality detecting device 100a connected to the in-vehicle battery 104 through the output contact 106b. Reference numeral 107 denotes the abnormality detection apparatus 100a.Drive outputAn abnormality alarm indicator (LMP) 108 driven from the DR 2 is an external tool connected to the communication interface (I / F) 111 of the abnormality alarm device 100 a via the cable 109.
[0029]
Regarding the internal configuration of the abnormality detection apparatus 100a, 114a, 114b, 114c, and 114d are switching elements constituted by transistors, 113a, 113b, 113c, and 113d are base resistors that drive the switching elements, and 115b and 115d are base resistors 113b, respectively. , 113d, logic inversion elements 112a and 112c are pull-down resistors connected to the intermittent signal outputs P1 and P2 of the microprocessor 100a.
[0030]
Among the switching elements 114a, 114b, 114c, and 114d, intermittent signal outputs P1 and P2 are supplied to the switching elements 114a and 114c through the base resistance 113a and the base resistance 113c. Further, power is supplied to the open / close elements 114b and 114d through the logic inversion element 115b and the base resistance 113b, and the logic inversion element 115d and the base resistance 113d. The collector terminals of the switching elements 114a, 114b, 114c, and 114d are connected to the connector terminals A1, B1, C1, and D1 to drive the field coils 103a, 103b, 103c, and 103d, and through the OR coupling diode 116. The resistor 117 is connected.
[0031]
118 is a transistor whose emitter terminal is connected to the power supply terminal MPW via an emitter resistor 119 and further connected to the cathode side of the OR coupling diode 116 via a resistor 117, and 120 is a base terminal of the transistor and the power supply terminal MPW. A dropper diode 121 connected between them is connected to the collector terminal of the transistor 118 and a base resistor for driving the transistor 122. A stable resistor 123 is connected between the base / emitter terminals of the transistor 122.
[0032]
A power supply unit 124 is supplied with power from the power supply terminals MPW and SLP, generates a constant voltage output for control, and supplies power to the microprocessor 110a. The power supply from the power supply terminal SLP is a sleep power supply when the output contact 106b is opened. Used as A flip-flop circuit 125 is temporary storage means driven from the collector terminal of the transistor 122.
[0033]
  P4 is an input signal for reading the set output of the flip-flop circuit 125 into the microprocessor 110a, and RST is an input signal to the flip-flop circuit 125 generated by the microprocessor 110a to reset the flip-flop circuit 125.Reset signal output, P3 is a composite state detection signal which becomes a set input signal of the flip-flop circuit 125.
[0034]
DR1 is a driving output of the microprocessor 110a, 126 is a driving element for continuously maintaining the operation of the power supply relay 106a by the driving output DR1, and DR2 is a driving output of the microprocessor 110a for driving the abnormality alarm indicator 107. The power supply relay 106a is once energized and driven by the power switch 105, and is maintained in operation by the drive output DR1 even when the power switch 105 is opened. After the microprocessor 110a performs the initialization operation, the drive output DR1 is maintained. The power supply relay 106a is de-energized after being stopped. Further, the microprocessor 110a performs control operations and communication with the external tool 108 in accordance with a program stored in the ROM memory 131a.
[0035]
Reference numeral 132 denotes a current value counter (CNT) of the microprocessor 110a that interrupts and counts the rising and falling edges of the intermittent signal output P1, and the current value counter 132 is reversibly counted according to the logic level of the intermittent signal output P2 at the time of counting. To indicate the current position of the stepping motor 101a. HP is an input to the microprocessor 110a to which the return detection switch 102d is connected.
[0036]
The return detection switch 102d is used for confirming the origin position of an actuator such as an on-off valve driven by the stepping motor 101a or for outputting a completion signal for the return operation. In this case, the return detection switch 102d is not required, and if the stepping motor 101a is sufficiently driven in the return direction, it is possible to perform control that assumes that the origin has been returned. IGS is a power detection input signal connected to the power switch 105 via the interface circuit 127.
[0037]
(2) Detailed description of the operation and operation of the first embodiment
  In the first embodiment of the present invention configured as shown in FIG. 1, the operation and operation will be described based on the time chart of the forward rotation operation of the stepping motor 101a shown in FIG. In FIG. 2, the rising edge of the intermittent signal output P1 of the microprocessor 110a is indicated by ○ 1 ○ 5 ○ 9, and the falling edge is indicated by ○ 3 ○ 7 ○ 11. Further, the rising edge of the intermittent signal output P2 of the microprocessor 110a is indicated by ○ 448 ○ 12, and the falling edge is indicated by 22 ○ 6 ○ 10. The level of the intermittent signal output P1 at the time of the rising edge ○ 1 ○ 5 ○ 9 of the intermittent signal output P1 is “H”, whereas the level of the falling edge of the intermittent signal output P1 at the time of ○ 3 ○ 7 ○ 11 The level of the intermittent signal output P2 is “L”, indicating a normal rotation state. In the figure, ◯ 1 to ◯ 12 are represented by the numbers surrounded by ◯.
[0038]
2, A1, B1, C1, and D1 indicate collector terminal voltage waveforms of the switching elements 114a, 114b, 114c, and 114d, that is, voltage waveforms of the connector terminals A1, B1, C1, and D1 of the abnormality detection device 100a. The magnetic coils 103a, 103b, 103c, and 103d are at “L” level when energized, and are at “H” level when interrupted.
[0039]
  Reference numerals 200a to 200d denote surge voltages that serve as individual state detection signals. Of these, 200a is a surge voltage waveform when the energization of the field coil 103a is cut off at the falling edge ○ 3 of the intermittent signal output P1, and 200b is the energization of the field coil 103b at the rising edge ○ 1 of the intermittent signal output P1. Is the surge voltage waveform when 200 is interrupted, 200c is the surge voltage waveform when the field coil 103c is de-energized at the falling edge ○ 2 of the intermittent signal output P2, and 200d is the rising edge of the intermittent signal output P2 ○ 4 The surge voltage waveform when the field coil 103d is turned off.
[0040]
The current generated by each of the surge voltages 200a to 200d is absorbed by the in-vehicle battery 104 through the resistor 117, the emitter resistor 119, and the output contact 106b via the OR coupling diode 116, but part of the current flows to the dropper diode 120 and flows through the transistor 118. Therefore, the transistor 122 is driven through the transistor 118 and the base resistor 121. As a result, when the surge voltages 200a to 200d are generated, the collector terminal of the transistor 122 is at the signal “L” level indicating normality, and this is the flip-flop circuit 125 which is a temporary storage means as the combined state detection signal P3. It is supposed to be taken in.
[0041]
However, when the surge voltages 200a to 200d are not generated, the collector output of the transistor 122 remains at the logic “H” level, and the flip-flop circuit 125 is not set. The contents of the flip-flop circuit 125 are reset after reading and determination at the next timing (rising edge or falling edge of the signal outputs P1 and P2), and a new input signal P3 is stored.
[0042]
  In the first embodiment of the present invention configured as shown in FIG. 1, the operation and operation will be described based on the time chart of the reverse operation of the stepping motor 101a shown in FIG. In FIG. 3, the rising edge of the intermittent signal output P1 of the microprocessor 110a is indicated by ○ 1 ○ 5 ○ 9, and the falling edge is indicated by ○ 3 ○ 7 ○ 11. Further, the falling edge of the intermittent signal output P2 of the microprocessor 110a is indicated by ○ 4 ○ 8 ○ 12, and the rising edge is indicated by ○ 2 ○ 6 ○ 10. The level of the intermittent signal output P1 at the time of the rising edge ○ 1 ○ 5 ○ 9 of the intermittent signal output P1 is “L”, whereas the level of the falling edge of the intermittent signal output P1 at the time of ○ 3 ○ 7 ○ 11 The level of the intermittent signal output P2 is “H”.
[0043]
3, A1, B1, C1, and D1 indicate collector terminal voltage waveforms of the switching elements 114a, 114b, 114c, and 114d, that is, voltage waveforms of the connector terminals A1, B1, C1, and D1 of the abnormality detection device 100a. The magnetic coils 103a, 103b, 103c, and 103d are at “L” level when energized, and are at “H” level when interrupted.
[0044]
  300a to 300d are surge voltages that serve as individual state detection signals. Of these, 300a is a surge voltage waveform when the field coil 103a is de-energized at the falling edge ○ 3 of the intermittent signal output P1, and 300b is the energization of the field coil 103b at the rising edge ○ 1 of the intermittent signal output P1. Surge waveform when 300 is interrupted, 300c is the falling edge of the intermittent signal output P2, and the surge voltage waveform when the field coil 103c is interrupted at the falling edge ○ 4, 300d is the rising edge of the intermittent signal output P2 ○ 2 The surge voltage waveform when the field coil 103d is turned off.
[0045]
  The current generated by each of the surge voltages 300a to 300d is absorbed by the in-vehicle battery 104 through the resistor 117, the emitter resistor 119, and the output contact 106b via the OR coupling diode 116 of FIG. 1, but part of the current flows to the dropper diode 120. Since the transistor 118 is driven, the transistor 122 is driven through the transistor 118 and the base resistor 121. As a result, when the surge voltage is generated, the input signal P3 of the flip-flop circuit 125 is at the “L” level as in the case of FIG. In the pulse train P3 of FIG. 2 and FIG. 3, for example, the meaning expressed as ◯ 2B means that the state signal of the field coil 103b by the surge voltage 300b is read and determined at the timing of ◯ 2.
[0046]
In FIG. 4, which shows a flowchart for explaining the overall operation of FIG. 1, 400 is an operation start process of the microprocessor 110a, 401 is operated following the process, and it is determined whether or not the IGS input (power supply detection input) is operating. Step 402, which acts when the step is YES, determines whether it is the first operation immediately after power-on depending on whether the following DR1 output (power holding drive output) is set, 403 is the step Is applied when the first operation is performed and the drive output DR1 is set, 404 is performed subsequent to the step, and it is determined whether the origin return detection switch 102d is operating, or 405 is the origin return. This is a step (maximum amount setting means) that operates when it is determined not to be a position and sets the current value counter 132 to the maximum amount. The maximum amount here is a pulse amount necessary for the moving body 102b in FIG. 1 to move from the forward rotation limit position to the reverse rotation limit position by the stopper 102c.
[0047]
Reference numeral 406 acts following the step 405, a step of generating intermittent signal outputs P1 and P2 as a reverse pulse train for the origin return (origin return operation control means), and 407 following the step, and will be described later with reference to FIG. Subroutine program 408 operates following the subroutine program and determines whether or not the origin return detection switch 102d has operated. 409 operates when step 408 indicates completion of recovery, and present value counter 132 Is a step of resetting to zero.
[0048]
410 is a step for determining whether or not the DR1 output is set when the step 401 is NO and it is determined that the power switch 105 is OFF, and the step is a YES determination. If the DR1 output has already been set, the process proceeds to step 404. Reference numeral 411 denotes a step (return abnormality determining means) for determining whether or not the current value of the current value counter 132 is 0 when the step 408 determines that it is not the origin return position. When the determination is made, the process proceeds to step 406, where the current value is decreased by generating a reverse pulse.
[0049]
Reference numeral 412 denotes a step (abnormality alarm display means) that operates when the above-described step 411 is YES and drives the abnormality alarm indicator 107. In this step, a reverse pulse corresponding to a sufficient amount of set value set in step 405 is given in step 406, and in step 408, return detection is detected even though step 411 has determined the current value 0. It is determined that the switch 102d is inoperative and the stepping motor 101a is not normally rotated.
[0050]
Step 413 acts after step 409 or 412 and step 414 determines whether the power switch input IGS is OFF. Step 414 acts when the step is YES and it is determined that the power switch 105 is OFF. The step 415 resets the drive output DR1 set in the step 403, and the step 415 is an operation end step when the step 410 or the step 413 is NO or a transition to the step 414. When the operation start process 400 is activated again, the control operation is repeatedly performed.
[0051]
Step 416 operates when NO is determined in step 402 and the return to origin operation is completed. Step 417 reads the target rotational position of the stepping motor 101a from drive control means (not shown), and step 417 follows the step. The step 418 for reading the current value of the current value counter 132 is a step that follows the step and compares the target position read in step 416 with the current value read in step 417.
[0052]
420 is operated when the step 418 determines that the position deviation is excessive, and the correction rotation direction is determined based on whether the position deviation is positive or negative. 421a is operated when the step is the normal rotation determination, and the intermittent signal output P1, A step of generating a normal pulse train by P2, 422a acts subsequent to the step, a step of determining whether or not a completion flag has been set in step 424a described later, and a step 423a of determining that the step is NO A subroutine program 424a, which will be described later in FIG. 5, operates following the subroutine program, and sets the abnormality detection completion flag 425a when the above step 422a is YES or at the above step 424a Next, the process is performed to compare the target position at the current time point with the current position to determine whether to continue generating the forward rotation pulse train. , And the return to step 421a when the process was continued determination.
[0053]
421b operates when the above-described step 420 is a reverse rotation determination, a step of generating a reverse pulse train by the intermittent signal outputs P1 and P2, 422b operates following this step, and a completion flag is set in step 424b described later. The step 423b operates when the step is NO, the subroutine program 424b described later in FIG. 6 operates after the subroutine program, and sets the abnormality detection completion flag. 425b is a step of determining whether or not to continue the generation of the reverse pulse train by comparing the target position at the current time point with the current position when the step 422b is YES or following the step 424b. When the process is a continuation determination, the process returns to the process 421b.
[0054]
426 acts when the above step 418 is normal or when the above steps 425a and 425b are continuous stop determinations, and determines whether the drive stop time is equal to or greater than a predetermined value and has reached the predetermined time. If not, it is a waiting time step (drive start delay confirmation means) in which the step 426 is repeatedly performed. Note that the stop time before the re-start of the stepping motor 101a or the forward / reverse switching operation is usually equal to or longer than the predetermined time, and it is not necessary to wait for the time in Step 426. It functions as drive start delay confirmation means. Reference numeral 427 is a step for resetting the completion flag set in the step 424a or step 424b after the waiting time has elapsed in the step 426, and the process proceeds to the end step 415 following the step. .
[0055]
  The above operations will be generally described. The operations from step 401 to step 414 relate to the origin return operation when the power switch is turned on or when the power switch is turned off, and the abnormality detection in the origin return process. In this embodiment, since the origin return detection switch 102d is provided, the power switch is shut off.SometimesIf the origin return operation is performed, when the power is turned on, it is generally already at the origin position without performing the origin return operation.Just confirming the operation of the return detection switch 102d,In addition to being able to promptly shift to the normal operation state, it is possible to perform the origin return when the power is turned on only when the origin has not been returned. Further, when the origin return detection switch 102d does not operate even when a sufficient reverse pulse is applied, it can be determined that the stepping motor 101a or the driven mechanical system is abnormal.
[0056]
Steps after step 416 relate to forward / reverse drive and abnormality detection during normal operation, but after normal rotation is completed during normal operation, restart after completion of reverse rotation, or when the rotation direction changes, the pause time by step 426 is In addition, the abnormality detection by the subroutine programs 423a and 423b detects the presence or absence of the initial surge voltage immediately after the pause.
[0057]
In FIG. 5 showing a flowchart for explaining the abnormality detection operation during normal rotation of FIG. 1, reference numeral 500 denotes a subroutine program operation start step activated when step 422a in FIG. 4 is NO, and reference numeral 501a denotes step 500. A step of determining whether or not the intermittent signal output P1 has fallen, and a step of determining whether or not the intermittent signal output P1 has risen, 501b is operated when the step 501a is NO. 501c operates when the step 501b is NO, and determines whether the intermittent signal output P2 has fallen. 501d operates when the step 501c is NO, and the intermittent signal output P2. Is a step for determining whether or not the operation has started, and when the determination in step 501d is NO, the process returns to step 501a. Cage, said step 501a~501d has a step of detecting an intermittent signal P1 or P2 while circulating repeated operation rising or falling down of.
[0058]
502a works when the above step 501a is YES, and performs a standby operation until the intermittent signal P2 rises according to the time chart of FIG. 2, and 502b works when the above step 501b is YES. The step of performing a standby operation until the intermittent signal P2 falls according to the time chart of FIG. 2, 502c operates when the above step 501c is YES, and waits until the intermittent signal P1 falls according to the time chart of FIG. An operation step 502d is a step that operates when the above step 501d is YES, and performs a standby operation until the intermittent signal P1 rises in accordance with the time chart of FIG.
[0059]
503a operates when the above step 502a is YES, and determines whether or not the composite state detection signal P3 is set in the flip-flop circuit 125, and 503b indicates that the above step 502b is YES. A step of determining whether or not the composite state detection signal P3 is set in the flip-flop circuit 125, and 503c operates when the step 502c is YES, and the composite state is detected in the flip-flop circuit 125. The step 503d for determining whether or not the detection signal P3 is set is activated when the step 502d is YES, and determines whether or not the composite state detection signal P3 is set in the flip-flop circuit 125. It is a process.
[0060]
Reference numerals 504a to 504d denote reset processes (reset means). Of these, 504a is activated when the above-mentioned step 503a is YES, and resets the composite state detection signal P3 stored in the flip-flop circuit 125, and 504b is the above-mentioned step 503b is YES. A step of resetting the composite state detection signal P3 stored in the flip-flop circuit 125, 504c is applied when the step 503c is YES, and the composite state stored in the flip-flop circuit 125 A step 504d for resetting the detection signal P3 is a step for resetting the composite state detection signal P3 stored in the flip-flop circuit 125.
[0061]
Reference numerals 505a to 505d denote abnormality detection times counting steps (individual determination storage means = phase-specific abnormality count storage means). Of these, 505a operates when the above-described step 503a is NO, and a step of adding and counting the number of times of abnormality detection by an A phase abnormality count counter (not shown), and 505b operates when the above-described step 503b is NO. The step 505c adds and counts the number of abnormality detections with a B-phase abnormality count counter (not shown). The step 505c works when the above-described step 503c is NO, and adds and counts the number of abnormality detections with a C-phase abnormality count counter (not shown). Step 505d acts when the above-mentioned step 503d is NO, and is a step of adding and counting the number of times of abnormality detection with a D-phase abnormality count counter (not shown), and the above-mentioned steps 505a to 505d generate the combined state detection signal P3. What is not done is separated and memorized separately.
[0062]
Step 506 operates following the above steps 504a to 504d or the above steps 505a to 505d. A step (counting determination means) for determining whether or not the total number of times of abnormality detection counted exceeds a predetermined value, 507 operates when the determination is YES, and drives the abnormality alarm indicator 107. A step 508 for generating the output DR2 (abnormal alarm display means) 508 is a return label that operates when the step 506 is NO or after the step 507 and moves to step 424a in FIG.
[0063]
The above operations will be generally described. The operations from Step 501a to Step 505a are the steps of detecting an abnormality of the A-phase field coil 103a system and adding and counting the number of times of abnormality detection for each forward rotation starting operation of the stepping motor 101a. The operation from step 501b to step 505b is a step of detecting an abnormality in the B-phase field coil 103b system and adding and counting the number of times of abnormality detection for each forward rotation starting operation of the stepping motor 101a. An operation from step 501c to step 505c. Is a step of detecting an abnormality in the C-phase field coil 103c system and adding and counting the number of times of abnormality detection for each forward rotation starting operation of the stepping motor 101a. The operations from step 501d to step 505d are performed in accordance with the D-phase field coil 103d. A step of detecting an abnormality of the system and adding and counting the number of times of abnormality detection for each forward rotation starting operation of the stepping motor 101a Yes, disconnection and short-circuit abnormality of the field coil and the switching element and the wiring in each system are merged, is intended to be detected by the inseparable state. The abnormal count counter for each phase is added and counted in the above steps 505a to 505d, and is also added and counted in steps 605a to 605d in FIG. 6. The added current value compared in step 506 is the sum of both. ing.
[0064]
In FIG. 6 showing a flowchart for explaining the reverse rotation abnormality detection operation of FIG. 1, reference numeral 600 denotes an operation start step of a subroutine program activated when step 422b in FIG. 601a acts following the step 600 to determine whether the intermittent signal output P1 has fallen; 601b acts when the step 601a is NO and whether the intermittent signal output P1 has risen The step 601c is activated when the step 601b is NO, and the step 601d is activated when the intermittent signal output P2 falls. The step 601d is activated when the step 601c is NO. The step 60 determines whether or not the intermittent signal output P2 rises. When the determination in the step 601d is NO, the step 60 Being adapted to return to a, the step 601a~601d has a step of detecting an intermittent signal P1 or P2 while circulating repeated operation rising or falling down of.
[0065]
602a operates when the above step 601a is YES, and performs a standby operation until the intermittent signal P2 falls according to the time chart of FIG. 3, and 602b operates when the above step 601b is YES. The step of performing a standby operation until the intermittent signal P2 rises according to the time chart of FIG. 3, 602c operates when the above step 601c is YES, and waits until the intermittent signal P1 rises according to the time chart of FIG. An operation step 602d is a step that operates when the above step 601d is YES, and performs a standby operation until the intermittent signal P1 falls according to the time chart of FIG.
[0066]
603a operates when the above step 602a is YES, and determines whether or not the composite state detection signal P3 is set in the flip-flop circuit 125, which is a temporary storage means, and 603b is YES when the above step 602b is YES. A step of determining whether or not the composite state detection signal P3 is set in the flip-flop circuit 125; 603c is operated when the step 602c is YES; A step 603d for determining whether or not the composite state detection signal P3 is set in the circuit 125, 603d operates when the above step 602d is YES, and the composite state detection signal P3 is set in the flip-flop circuit 125. It is a step of determining whether or not.
[0067]
Reference numerals 604a to 604d denote reset processes (reset means). Of these, 604a is activated when the above-mentioned step 603a is YES, and resets the composite state detection signal P3 stored in the flip-flop circuit 125. 604b is the above-mentioned step 603b is YES. A step of resetting the composite state detection signal P3 stored in the flip-flop circuit 125, 604c is applied when the step 603c is YES, and the composite state stored in the flip-flop circuit 125 A step 604d for resetting the detection signal P3 is a step for acting when the step 603d is YES, and resetting the composite state detection signal P3 stored in the flip-flop circuit 125.
[0068]
Reference numerals 605a to 605d denote abnormality detection times counting steps (individual determination storage means). Of these, 605a operates when the above-described step 603a is NO, and a step of adding and counting the number of times of abnormality detection with an A phase abnormality count counter (not shown), and 605b operates when the above-described step 603b is NO. The step 605c adds and counts the number of abnormality detections with a B-phase abnormality count counter (not shown). The step 605c works when the step 603c is NO, and the C-phase abnormality count counter (not shown) adds and counts the number of abnormality detections. Step 605d acts when the above-mentioned step 603d is NO, and is a step of adding and counting the number of times of abnormality detection with a D-phase abnormality count counter (not shown), and the above-mentioned steps 605a to 605d generate the combined state detection signal P3. What is not done is separated and memorized separately.
[0069]
Step 606 operates following the steps 604a to 604d or the steps 605a to 605d, and whether any of the number of abnormality detections counted in the steps 605a to 605d exceeds a predetermined value, or in the steps 605a to 605d. A step of determining whether or not the total number of times of abnormality detection counted has exceeded a predetermined value (counting determination means), 607 acts when the step is a determination of YES and acts on the abnormality alarm indicator 107 Step 608 for generating drive output DR2 (abnormal alarm display means), 608, when step 606 is NO, or following step 607, returns to step 424b or step 408 in FIG. It is a label.
[0070]
The above operations will be generally described. The operations from step 601a to step 605a are steps for detecting an abnormality in the A-phase field coil 103a system and adding and counting the number of times of abnormality detection for each reverse starting operation of the stepping motor 101a. The operation from step 601b to step 605b is a step of detecting an abnormality in the B-phase field coil 103b system and adding and counting the number of times of abnormality detection for each reverse rotation starting operation of the stepping motor 101a. The process of detecting an abnormality in the C-phase field coil 103c system and adding and counting the number of times of abnormality detection every time the stepping motor 101a performs the reverse rotation operation, the operation from the process 601d to the process 605d is an abnormality of the D-phase field coil 103d system. And adding and counting the number of times of abnormality detection for each reverse rotation starting operation of the stepping motor 101a Yes, disconnection and short-circuit abnormality of the field coil and the switching element and the wiring in each system are merged, is intended to be detected by the inseparable state. The abnormal count counter for each phase is added and counted in steps 605a to 605d, and is also added and counted in steps 505a to 505d in FIG. 5. The added current value compared in step 606 is the sum of both. It has become.
[0071]
Based on the above description, the operation will be described generally with reference to FIG. 1. The rotation amount of the stepping motor 101a sequentially driven by the pulse train generated by the switching elements 114a to 114d is a current value counter for reversibly counting the generated pulse train. The reversible driving is performed according to the relative deviation from the target position. The origin return position of the stepping motor 101a is detected by the return detection switch 102d. At this time, the current value counter 132 is reset, but a sufficient return drive pulse train sufficient to hit the stopper position 102c and stop. When the return detection switch 102d does not operate in spite of being given, the abnormality alarm indicator 107 operates.
[0072]
When the switching elements 114a to 114d supply power to the field coils 103a to 103d and then shut off, a surge voltage is generated at the terminals A1 to D1. However, when the switching element cannot be cut off due to a short circuit failure, or when the switching element cannot be energized due to an abnormal opening, the above-described breaking surge voltage does not occur. The field coil is disconnected or short-circuited, or the wiring path is disconnected or grounded (the wiring between the terminals A1 to D1 and A2 to D2 erroneously contacts the negative terminal of the in-vehicle battery 104) or the sky (terminal A1) Even if the wiring between ~ D1 and A2 ~ D2 is erroneously in contact with the positive terminal of the in-vehicle battery 104), the interrupting surge voltage is not generated.
[0073]
  In order to reduce the number of control inputs to the microprocessor 110a, the surge voltage of each phase is coupled in parallel by the OR coupling diode 116, but it is necessary to identify which phase is abnormal when an abnormality occurs. Further, when the stepping motor 101a rotates at a high speed, the logical sum output by the diode 116 becomes a continuous signal level without interruption, and there is a problem that the phases cannot be separated. For example, the surge voltage 200a shown in FIG. 2 is generated by the field coil 103a due to the fall of the intermittent signal output P1, and is reset after being stored by the rise of the intermittent signal P2. However, when the stepping motor 101a rotates at a high speed, a phenomenon occurs in which the waveform of the surge voltage 200a continues beyond the time when the intermittent signal P2 rises.
[0074]
Therefore, even if the surge voltage waveform 200d is not generated, there arises a problem that the flip-flop circuit 125 erroneously stores as if the surge voltage 200d is apparently generated by the end waveform of the surge voltage 200a. In order to avoid this problem, when the emitter resistance 119 is reduced and the resistance 117 is increased to reduce the detection sensitivity of the transistor 118, the surge voltage cannot be detected when the power supply voltage of the in-vehicle battery 104 is lowered. A problem occurs. With the background as described above, the abnormality detection for each phase is performed at the initial start of the stepping motor 101a or at the time of returning to the origin of the low speed operation, and the detection of the abnormality at the time of high speed operation is avoided.
[0075]
Embodiment 2. FIG.
(1) Detailed description of the configuration of the second embodiment
The second embodiment of the present invention will be described focusing on the differences from the one shown in FIG. FIG. 7 is a block diagram of the configuration of the apparatus according to the second embodiment. In FIG. 7, reference numeral 100b includes a microprocessor 110b, and an abnormality detection apparatus for driving and controlling an externally connected stepping motor 101b. Reference numeral 102a is the stepping motor. The return detection switch 102d shown in FIG. 1 is not provided in this embodiment. Further, the power relay 106 a shown in FIG. 1 is not used, and the abnormality detection device 100 b is fed directly from the in-vehicle battery 104 or fed through the power switch 105.
[0076]
Regarding the internal configuration of the abnormality detection device 100b, the collector terminals of the switching elements 114a, 114b, 114c, and 114d are connected to the connector terminals A1, B1, C1, and D1 to drive the field coils 103a, 103b, 103c, and 103d. The field coils 103a and 103b are connected to the resistor 117a via the OR coupling diode 116a, and the field coils 103c and 103d are connected to the resistor 117c via the OR coupling diode 116c.
[0077]
A transistor 118a is connected to the power supply terminal MPW through the emitter resistor 119a, and is connected to the cathode side of the OR coupling diode 116a through the resistor 117a. A transistor 120a is connected between the base terminal of the transistor and the power supply terminal MPW. The dropper diode 121a is connected to the collector terminal of the transistor 118a and drives the transistor 122a, 123a is a stable resistor connected between the base and emitter terminals of the transistor 122a, and 128a is the collector of the transistor 122a. A pull-up resistor P3a connected between the power supply terminals MPW is an interrupt input of the microprocessor 110b. The interrupt input indicates that the output of the transistor 122a has become a logic level “0” in the RAM memory 130. It is adapted to store in the first memory means.
[0078]
A transistor 118c is connected to the power supply terminal MPW through the emitter resistor 119c, and is connected to the cathode side of the OR coupling diode 116c through the resistor 117c. A transistor 120c is connected between the base terminal of the transistor and the power supply terminal MPW. The dropper diode 121c is connected to the collector terminal of the transistor 118c and drives the transistor 122c, 123c is a stable resistor connected between the base / emitter terminals of the transistor 122c, and 128c is the collector of the transistor 122c. A pull-up resistor P3c connected between the power supply lines MPW is an interrupt input of the microprocessor 110b. The interrupt input indicates that the output of the transistor 122c has become a logic level “0” in the RAM memory 130. It is adapted to store in the second storage means. The microprocessor 110b performs control operations and communication with the external tool 108 in accordance with a program stored in the ROM memory 131b.
[0079]
(2) Detailed description of operation and operation of the second embodiment
  In the apparatus according to the second embodiment of the present invention configured as shown in FIG. 7, the operation and operation will be described based on the time chart of normal rotation operation shown in FIG. In FIG. 8, the rising edge of the intermittent signal output P1 of the microprocessor 110b is indicated by ○ 1 ○ 5 ○ 9, and the falling edge is indicated by ○ 3 ○ 7 ○ 11. Further, the rising edge of the intermittent signal output P2 of the microprocessor 110b is indicated by ○ 4 ○ 8 ○ 12, and the falling edge is indicated by ○ 2 ○ 6 ○ 10. Intermittent signal output P1 rising edge ○ 1 ○ 5 ○ 9 intermittent signal output P2 level is “H” and intermittent signal output P1 falling edge ○ 3 ○ 7 ○ 11 intermittent signal output The level of P2 is “L”, indicating a normal rotation state.
[0080]
8, A1, B1, C1, and D1 indicate collector terminal voltage waveforms of the switching elements 114a, 114b, 114c, and 114d, that is, voltage waveforms of the connector terminals A1, B1, C1, and D1 of the abnormality detection device 100b. The magnetic coils 103a, 103b, 103c, and 103d are at “L” level when energized, and are at “H” level when interrupted.
[0081]
  800a to 800d are surge voltages that serve as individual state detection signals. Of these, 800a is a surge voltage waveform when the energization of the field coil 103a is cut off at the falling edge ○ 3 of the intermittent signal output P1, and 800b is the energization of the field coil 103b at the rising edge ○ 1 of the intermittent signal output P1. Is a surge voltage waveform when 800 is interrupted, 800c is a surge voltage waveform when the field coil 103c is de-energized at the falling edge ○ 2 of the intermittent signal output P2, and 800d is a rising edge of the intermittent signal output P2 ○ 4 The surge voltage waveform when the field coil 103d is turned off.
[0082]
The current generated by the surge voltages 800a and 800b is absorbed by the in-vehicle battery 104 through the resistor 117a, the emitter resistor 119a, and the power switch 105 via the OR coupling diode 116a shown in FIG. 7, but a part of the current flows to the dropper diode 120a. Since 118a is driven, the transistor 122a is driven through the transistor 118a and the base resistor 121a.
[0083]
As a result, when a surge voltage is generated, the collector terminal of the transistor 122a is at a signal “L” level indicating normality, and this is taken into the microprocessor 110b as the first composite state detection signal P3a. It has become. The current due to the surge voltages 800c and 800d is absorbed by the in-vehicle battery 104 through the resistor 117c, the emitter resistor 119c, and the power switch 105 via the OR coupling diode 116c of FIG. 7, but a part of the current flows to the dropper diode 120c and flows through the transistor. Since 118c is driven, the transistor 122c is driven through the transistor 118c and the base resistor 121c.
[0084]
  As a result, when the surge voltage is generated, the collector terminal of the transistor 122c is at the signal “L” level indicating normality, and this is taken into the microprocessor 110b as the second composite state detection signal P3c. It has become. For example, the meaning of the symbol indicated by ○ 3B is a temporary storage signal by the B phase surge voltage read at the timing of ○ 3, and the storage timing is stored by an interrupt operation immediately after the rise of the intermittent signal output P1 ○ 1 It has been done.
[0085]
  In the apparatus according to the second embodiment of the present invention configured as shown in FIG. 7, the operation and operation will be described based on the time chart of the reverse operation shown in FIG. In FIG. 9, the rising edge of the intermittent signal output P1 of the microprocessor 110b is indicated by ○ 1 ○ 5 ○ 9, and the falling edge is indicated by ○ 3 ○ 7 ○ 11. Further, the falling edge of the intermittent signal output P2 of the microprocessor 110b is indicated by ○ 448 ○ 12, and the rising edge is indicated by 22 ○ 6 ○ 10. The level of the intermittent signal output P1 at the time of the rising edge of the intermittent signal output P1 is “L” and the output of the intermittent signal at the time of the falling edge of the intermittent signal output P1 of ○ 3 ○ 7 ○ 11 The level of P2 is “H”, indicating a reverse state.
[0086]
9, A1, B1, C1, and D1 indicate collector terminal voltage waveforms of the switching elements 114a, 114b, 114c, and 114d, that is, voltage waveforms of the connector terminals A1, B1, C1, and D1 of the abnormality detection device 100b. The magnetic coils 103a, 103b, 103c, and 103d are at “L” level when energized, and are at “H” level when interrupted.
[0087]
  900a to 900d are surge voltages serving as individual state detection signals. Of these, 900a is the surge voltage waveform when the field coil 103a is de-energized at the falling edge ○ 3 of the intermittent signal output P1, and 900b is the energization of the field coil 103b at the rising edge ○ 1 of the intermittent signal output P1. Is the surge voltage waveform when 900 is interrupted, 900c is the surge voltage waveform when the field coil 103c is de-energized at the falling edge of the intermittent signal output P2, and 900d is the rising edge of the intermittent signal output P2. The surge voltage waveform when the field coil 103d is turned off.
[0088]
The current due to the surge voltages 900a and 900b is absorbed by the in-vehicle battery 104 through the resistor 117a, the emitter resistor 119a, and the power switch 105 via the OR coupling diode 116a of FIG. 7, but a part of the current flows to the dropper diode 120a and flows through the transistor. Since 118a is driven, the transistor 122a is driven through the transistor 118a and the base resistor 121a. As a result, when a surge voltage is generated, the collector terminal of the transistor 122a is at a signal “L” level indicating normality, and this is taken into the microprocessor 110b as the first composite state detection signal P3a. It has become.
[0089]
The current due to the surge voltages 900c and 900d is absorbed by the in-vehicle battery 104 through the resistor 117c, the emitter resistor 119c, and the power switch 105 via the OR coupling diode 116c of FIG. 7, but a part of the current flows to the dropper diode 120c and flows through the transistor. Since 118c is driven, the transistor 122c is driven through the transistor 118c and the base resistor 121c.
[0090]
  As a result, when the surge voltage is generated, the collector terminal of the transistor 122c is at the signal “L” level indicating normality, and this is taken into the microprocessor 110b as the second composite state detection signal P3c. It has become. For example, the meaning of the symbol indicated by ○ 3B is a temporary storage signal by the B phase surge voltage read at the timing of ○ 3, and the storage timing is stored by an interrupt operation immediately after the rise of the intermittent signal output P1 ○ 1 It has been done.
[0091]
In FIG. 10, which shows a flowchart for explaining the overall operation of the one of FIG. 7, 450 is an operation start process of the microprocessor 110b, 452 is operated following this process, and is determined by whether or not a flag described later is set in process 462. Step 455 for determining whether or not this is the first operation is performed when the step is YES, step 456 for setting the current value counter 132 of FIG. Therefore, a process of generating intermittent signal outputs P1 and P2 as a reverse pulse train (origin return operation control means), 457 operates following this process, a subroutine program described later in FIG. 12, and 461 operates following the subroutine program. And determining whether or not the current value of the current value counter 132 has become 0. Together until the current value of the counter 132 becomes 0 is returned to the step 456, the current value is migrated to homing flag is set to step 462 if zero.
[0092]
466 is applied when the above step 452 is NO and the return to origin operation is completed. The step 467 reads the target rotational position of the stepping motor 101b from the drive control means (not shown), and the step 467 follows this step. Acting and reading the current value of the current value counter 132, 468 follows the step, and compares the target position read in step 466 with the current value read in step 467; Reference numeral 465 denotes an operation end process which is shifted to the process 468 when the above-mentioned process 468 is normal or after the above-mentioned process 462. In the operation end process, the operation start process 450 is activated again, so that the control is repeated. Operation is to be performed.
[0093]
Reference numeral 470 acts when the step 468 determines that the position deviation is excessive, and the step 471a acts when the correction rotation direction is determined based on whether the position deviation is positive or negative. Reference numeral 471a acts when the step is forward rotation determination, and the intermittent signal output P1. , P2 generates a normal pulse train, 473a operates following this step, and a subroutine program 475a, which will be described later in FIG. 11, operates following the subroutine program to determine the target position and current position at the current time point. This is a step for determining whether or not to continue the generation of the forward pulse train by comparison. When the step is a continuation determination, the process returns to step 471a, and when it is a continuation stop, the process proceeds to the end step 465. It has become.
[0094]
471b operates when the above-described step 470 is a reverse rotation determination, a step of generating a reverse pulse train by the intermittent signal outputs P1 and P2, 473b operates subsequent to this step, and a subroutine program 475b described later in FIG. This is a step that follows the subroutine program, compares the target position at the current time point with the current position, and determines whether or not to continue the generation of the reverse pulse train. If the step is a continuation determination, go to step 471b. When returning and continuing stop, it moves to the completion | finish process 465. The above operations will be described generally. The operations from Step 452 to Step 462 relate to the origin return operation when the power is turned on and the abnormality detection in the origin return process. Steps 466 and subsequent steps relate to forward / reverse driving and abnormality detection during normal operation. Subroutine programs 473a, 473b, and 457 for abnormality detection will be described with reference to FIGS.
[0095]
In FIG. 11 showing a flowchart for explaining the abnormality detection operation during normal rotation of FIG. 7, reference numeral 550 denotes an operation start step of a subroutine program activated following the step 471a of FIG. 10, and 551a acts following the step 550. The step of determining whether the intermittent signal output P1 has fallen, 551b operates when the step 551a is NO, and the step of determining whether the intermittent signal output P1 has risen, 551c is the step 551b. The step 551d is activated when the intermittent signal output P2 falls, and 551d is activated when the intermittent signal output P2 rises. 551d is activated when the step 551c is NO. When the determination in step 551d is NO, the process returns to step 551a. Degree 551a~551d has a step of detecting an intermittent signal P1 or P2 while circulating repeated operation rising or falling down of.
[0096]
552a is a first temporary storage means for interrupting and memorizing that the current of the field coil 103a is interrupted by the fall of the intermittent signal P1 and the A-phase surge voltage is generated via the input terminal P3a, and 552b is an intermittent signal. The first temporary storage means 552c interrupts and memorizes the occurrence of the B-phase surge voltage via the input terminal P3a by interrupting the current of the field coil 103b due to the rise of P1, and the intermittent signal P2 falls. The second temporary storage means 552d interrupts and memorizes that the current of the field coil 103c is cut off and the C-phase surge voltage is generated via the input terminal P3c. Second temporary storage that interrupts and memorizes that the current of the magnetic coil 103d is cut off and the D-phase surge voltage is generated via the input terminal P3c The first temporary storage means 552a and 552b are one of the same memories in the RAM memory 130, and the second temporary storage means 552c and 552d are the other ones in the RAM memory 130. Or the same memory.
[0097]
553a operates when the above step 551a is YES, and determines whether the composite state detection signal P3a is set in the first temporary storage means 552b. 553b determines that the above step 551b is YES. The step 553c acts when the composite state detection signal P3a is set in the first temporary storage means 552a, and the step 553c acts when the step 551c is YES. The step 553d for determining whether or not the composite state detection signal P3c is set in the second temporary storage unit 552d acts when the step 551d is YES, and the composite state is detected in the second temporary storage unit 552c. This is a step of determining whether or not the detection signal P3c is set.
[0098]
554a acts when step 553a is YES, and resets the composite state detection signal stored in the first temporary storage means 552b. 554b is when step 553b is YES. Acting and resetting the composite state detection signal stored in the first temporary storage means 552a, 554c acts when the determination in step 553c is YES, and stores in the second temporary storage means 552d. The step 554d of resetting the synthesized state detection signal thus performed is a step of acting when the step 553d is YES, and resetting the synthesized state detection signal stored in the second temporary storage means 552c.
[0099]
Reference numerals 555a to 555d denote abnormality detection times counting steps (individual determination storage means = phase-specific abnormality count storage means). Of these, 555a operates when the above-mentioned step 553a is NO, and the step 555b adds and counts the number of abnormality detections by a B-phase abnormality counting counter (not shown), 555b operates when the above-mentioned step 553b is NO. The step of adding and counting the number of times of abnormality detection with an A phase abnormality count counter (not shown) is a step of adding and counting the number of times of abnormality detection with a D phase abnormality count counter (not shown). 555d acts when the above-mentioned step 553d is NO, and is a step of adding and counting the number of times of abnormality detection by a C phase abnormality counting counter (not shown). The fact that it did not occur is stored separately.
[0100]
556 operates following the above steps 554a to 554d or the above steps 555a to 555d. A step 557 for determining whether or not the total number of abnormality detection times counted exceeds a predetermined value, 557 is activated when the step is YES, and generates a drive output DR2 for the abnormality alarm indicator 107. Step 558 is a return label that acts when the determination at Step 556 is NO or following Step 557 and moves to Step 475a in FIG.
[0101]
The above operations will be described generally. The operations from Step 551a to Step 555a are the steps of detecting an abnormality in the B-phase field coil 103b system and adding and counting the number of times of abnormality detection, and the operations from Step 551b to Step 555b. The process of detecting an abnormality in the A-phase field coil 103a system and adding and counting the number of abnormal detections, the operation from the process 551c to the process 555c, detects the abnormality in the D-phase field coil 103d system and detects the abnormality. The process of adding and counting the number of times, the operation from step 551d to step 555d is a process of detecting an abnormality in the system of the C-phase field coil 103c and adding and counting the number of times of abnormality detection. The disconnection / short-circuit abnormality of the element and wiring is merged and detected in an inseparable state. The abnormal count counter of each phase is added and counted in the above steps 555a to 555d, and is also added and counted in steps 655a to 655d in FIG. 12, and the added current value compared in the above step 556 is the sum of both. It has become.
[0102]
In FIG. 12, which shows a flowchart for explaining the reverse rotation abnormality detection operation of FIG. 7, 650 is a subroutine program operation start step activated following step 471b or step 456 of FIG. 10, and 658 is NO in step 656. Or a return label that acts after step 657 and moves to step 475b or step 461 in FIG. 10. The operation between step 650 to step 658 is the same as that in FIG. The numerical value of the number range is changed to the 600 number range. In FIG. 11 and FIG. 12, 552a, 552b, 652a, and 652b are different numbers for convenience. Actually, however, the same temporary storage means is the RAM memory. The interrupt input signal of the combined state detection signal P3a for each group is updated and stored.
[0103]
Similarly, 552c, 552d, 652c, and 652d are different numbers for convenience, but are actually the same second temporary storage means, and the temporary storage means is provided in the RAM memory 130. The interrupt input signal of the combined state detection signal P3c for each group is updated and stored.
[0104]
Based on the above description, the operation and operation will be described generally with reference to FIG. 7. The rotation amount of the stepping motor 101b sequentially driven by the pulse train generated by the opening / closing elements 114a to 114d is the current value for reversibly counting the generated pulse train. It is measured by the counter 132, and reversible driving is performed according to the relative deviation from the target position. The return to origin of the stepping motor 101b is considered to have returned to the origin when a sufficient return drive pulse train is provided to stop the moving body 102b from hitting the stopper 102c position.
[0105]
When the switching elements 114a to 114d supply power to the field coils 103a to 103d and then shut off, a surge voltage is generated at the terminals A1 to D1. However, when the switching element cannot be cut off due to a short circuit failure, or when the switching element cannot be energized due to an abnormal opening, the above-described breaking surge voltage does not occur. The field coil is disconnected or short-circuited, or the wiring path is disconnected or grounded (the wiring between the terminals A1 to D1 and A2 to D2 erroneously contacts the negative terminal of the in-vehicle battery 104) or the sky (terminal A1) Even if the wiring between ~ D1 and A2 ~ D2 is erroneously in contact with the positive terminal of the in-vehicle battery 104), the interrupting surge voltage is not generated.
[0106]
In order to reduce the number of control input points to the microprocessor 110b, the surge voltages of the A phase and the B phase are coupled in parallel by the OR coupling diode 116a. However, when an abnormality occurs, it is necessary to identify which phase is abnormal. is there. Similarly, the C-phase and D-phase surge voltages are coupled in parallel by the OR coupling diode 116c. When an abnormality occurs, it is necessary to identify which phase is abnormal. Even if the stepping motor 101b rotates at a high speed, the logical sum output by the diodes 116a and 116c becomes an intermittent signal level with interruption, so that each phase can be separated. As described above, the non-adjacent surge voltage is coupled in parallel by the diode 116a or 116c, so that it is possible to detect an abnormality during high-speed operation and reduce the number of input terminals of the microprocessor 110b, Separation can be performed.
[0107]
Other embodiments of the invention
According to the apparatus of the embodiment of the present invention shown in FIG. 1, the temporary storage means is constituted by the flip-flop circuit 125 provided outside the microprocessor 110a, but the synthesized state detection signal P3 is sent to the microprocessor 110a. The RAM memory 130 can be used by omitting the flip-flop circuit 125 by connecting directly to the interrupt input terminal. According to the apparatus of the embodiment of the present invention shown in FIG. 7, the RAM memory 130 provided in the microprocessor 110b is used as the temporary storage means, and the group of field coils 103a and 103b and the field coil 103c, Although a pair of temporary storage means is used in the group 103d, the temporary storage means may be provided individually for each field coil.
[0108]
According to the embodiment of FIGS. 1 and 7, a current value counter is provided for measuring the driving amount of the stepping motor, and the current value counter is an open loop control system for reversibly counting the driving pulses for the stepping motor. ing. However, if a two-phase rotation sensor is provided in the rotor of the stepping motor and the generated pulses of the rotation sensor are reversibly counted by the current value counter, closed loop control relating to position control can be performed. Furthermore, if an absolute position detection sensor is provided in place of the rotation sensor, the origin return detection switch can be omitted.
[0109]
【The invention's effect】
As is apparent from the above description, according to the first aspect of the present invention, the multiphase field coils are driven in a predetermined order by being driven by a plurality of switching elements that sequentially open and close in response to the intermittent signal output generated by the microprocessor. In stepping motors that perform forward and reverse rotation operations at predetermined angles by sequentially energizing at each phase, individual state detection means for all phases, combined state detection means for all phases, temporary storage means, individual determination storage means, reset means, and abnormality An alarm display means, storing the fact that the combined detection signal of the surge voltage did not occur for the first energization interruption after the start of driving or reversing the rotation direction of the stepping motor, Abnormality judgment is performed. Therefore, the number of handled signals is reduced, the hardware configuration is cheap and simple, and even if the detected surge voltage becomes a continuous waveform without interruption during high-speed operation of the stepping motor, it is possible to reliably detect a phase-specific abnormality. effective.
[0110]
According to a second aspect of the present invention, the apparatus according to the first aspect further comprises an origin return operation control means, wherein the individual determination storage means is configured to prevent the first energization interruption after the start of driving of the stepping motor or the reversal of the rotation direction. The fact that the combined detection signal of the surge voltage has not been generated is stored for each phase where the energization was cut off, and the absence of the combined detection signal of the surge voltage was cut off during the origin return operation of the stepping motor. It comes to memorize separately. Therefore, the phase-specific abnormality can be detected at the start of the operation and during the operation, so that there is an effect that it can be quickly detected if there is an abnormality.
[0111]
According to a third aspect of the present invention, in the second aspect, the power supply relay, the current value counter, and the return detection switch are provided. Therefore, by performing the origin return after the operation stop when the power switch is shut off, there is an effect that the normal operation can be started immediately by confirming the operation of the return detection switch when the power is turned on.
[0112]
According to a fourth aspect of the present invention, in the second or third aspect, a current value counter, a maximum amount setting means, a return detection switch, and a return abnormality determination means are provided. Therefore, there is an effect that the abnormality alarm indicator can be operated by detecting an abnormality of the stepping motor or the mechanical system.
[0113]
According to a fifth aspect of the present invention, in the first or second aspect, a flip-flop circuit provided outside the microprocessor is used as the temporary storage means. Therefore, the high-speed processing control burden of the combined microprocessor is reduced, which is suitable for high-speed operation control, and since the detection signal is logically coupled, only one flip-flop circuit as hardware is required, and the configuration is economical. There is an effect that can.
[0114]
  Also,Claim 6According to the invention, the multi-phase field coils are driven by a plurality of open / close elements that sequentially open and close in response to the intermittent signal output generated by the microprocessor, and the multiphase field coils are sequentially energized in a predetermined order for each predetermined angle. A stepping motor that performs forward / reverse rotation operation includes individual state detection means for each phase, first and second combined state detection means, temporary storage means, individual determination storage means, reset means, and abnormality alarm display means. . Therefore, even if the stepping motor is operated at high speed, the surge voltage, which is the detection signal for each group, becomes an intermittent waveform with discontinuity, enabling detection of phase-specific anomalies and reducing the number of signal points to be handled. There is an effect that abnormality detection can be performed at low cost.
[0115]
  Also,According to the invention of claim 7, in claim 1 or claim 6,The temporary storage means uses a RAM memory inside the microprocessor. Therefore, a flip-flop circuit as hardware connected to the outside of the microprocessor is not required, and the apparatus can be configured to be small and inexpensive.
[0116]
  According to the invention of claim 8,Claim 1 or Claim 6In the above, the individual determination storage means is provided with a count determination means for the number of occurrences of abnormality, and the count determination means operates the abnormality alarm display means when the number of occurrences of abnormalities by phase or the sum of the numbers of occurrences of abnormalities by phase exceeds a predetermined value. It is supposed to let you. Therefore, even if there is a noise malfunction or the like, there is a practical effect that does not cause confusion by making an early abnormality determination.
[0117]
  According to the invention of claim 9,Claim 1 or Claim 6The microprocessor is provided with an external tool connection interface, and the contents of the individual determination storage means are read and displayed by the external tool and reset by a command from the external tool. Therefore, since the abnormal system can be identified, there is an effect that it is possible to quickly remove or replace the abnormal element by checking whether the specified abnormal phase is abnormal in the switching element, the field coil, or the wiring.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an abnormality detection apparatus for a motor drive system according to Embodiment 1 of the present invention.
FIG. 2 is a time chart for explaining normal rotation operation of the stepping motor of FIG. 1;
FIG. 3 is a time chart for explaining a reverse rotation operation of the stepping motor of FIG. 1;
4 is a flowchart for explaining the overall operation of FIG. 1. FIG.
FIG. 5 is a flowchart for explaining an abnormality detection operation during normal rotation of the stepping motor of FIG. 1;
6 is a flowchart for explaining an abnormality detection operation at the time of reverse rotation of the stepping motor of FIG. 1;
FIG. 7 is a block diagram showing an abnormality detection apparatus for a motor drive system according to Embodiment 2 of the present invention.
8 is a time chart for explaining the forward rotation operation of the stepping motor of FIG.
9 is a time chart for explaining a reverse rotation operation of the stepping motor of FIG. 7;
10 is a flowchart for explaining the overall operation of FIG. 7;
FIG. 11 is a flowchart for explaining an abnormality detection operation during normal rotation of the stepping motor of FIG. 7;
12 is a flowchart for explaining an abnormality detection operation when the stepping motor of FIG. 7 is reversely rotated.
[Explanation of symbols]
P1, P2 Intermittent signal output,
P3 composite state detection signal,
P3a first composite state detection signal,
P3c second composite state detection signal,
RST reset signal output,
100a, 100b abnormality detection device,
101a, 101b stepping motor,
102d return detection switch,
103a to 103d field coils,
105 Power switch,
106a power relay,
107 Abnormal alarm indicator,
108 External tools
110a, 110b microprocessor,
111 interface,
114a-114d switching elements,
125 flip-flop circuit (temporary storage means),
130 RAM memory (temporary storage means),
132 Current value counter,
200a to 200d Surge voltage (individual state detection signal),
300a to 300d Surge voltage (individual state detection signal),
405 maximum amount setting means,
406 Origin return operation control means,
411 return abnormality determination means,
412 abnormality alarm display means,
426 drive start delay confirmation means,
455 maximum amount setting means,
456 origin return operation control means,
504a to 504d resetting means,
505a to 505d individual determination storage means (phase-specific abnormality count storage means),
506 counting determination means,
507 abnormality alarm display means,
552a and 552b first temporary storage means,
552c and 552d second temporary storage means,
554a and 554b first reset means,
554c and 554d second reset means,
555a to 555d individual determination storage means (phase-specific abnormality count storage means),
556 counting determination means,
557 abnormality alarm display means,
604a-604d reset means,
605a to 605d individual determination storage means (phase-specific abnormality count storage means),
606 counting determination means,
607 abnormality alarm display means,
652a and 652b first temporary storage means,
652c and 652d second temporary storage means,
654a and 654b first reset means,
654c, 654d second reset means,
655a to 655d individual determination storage means (phase-specific abnormality count storage means),
656 counting determination means;
657 abnormality alarm display means,
800a to 800d surge voltage (individual state detection signal),
900a to 900d Surge voltage (individual state detection signal).

Claims (9)

マイクロプロセッサ、上記マイクロプロセッサにより生成された断続信号に応答し、多相界磁コイルを所定順序で付勢してステッピングモータを正逆転駆動する複数の開閉素子、上記開閉素子による上記界磁コイルへの通電遮断時に生じるサージ電圧を各相別に検出して、上記各相界磁コイルへの通電、遮断を確認する検出信号を発生する個別状態検出手段、上記個別状態検出手段によって検出された信号を論理和して上記全相界磁コイルへの通電、遮断を確認する合成信号を発生する合成状態検出手段、上記ステッピングモータの駆動停止時間又は回転方向反転時の休止時間が所定値以上であることを確認する駆動開始遅延確認手段、上記合成状態検出手段によって検出された合成信号の発生を記憶する一時記憶手段、上記断続信号が所定時間以上休止した後の初回立上りまたは立下り時点の直後における変動遅延時間をおいて記憶された上記一時記憶の内容を、上記断続信号の次回の立上りまたは立下り時点で読み出して相別に異常の有無を記憶する個別判定記憶手段、上記個別判定記憶手段が今回の相別異常の有無を記憶した後に上記一時記憶手段の内容を消去して、次回の合成信号を新たに記憶可能にするリセット手段、及び上記個別判定記憶手段の内で少なくとも一個以上のものが異常を記憶していることに応動して異常警報表示器を動作させる異常警報表示手段を備え、上記個別判定記憶手段は、上記ステッピングモータが所定時間以上の休止を行った後の初回の通電遮断に対して、上記サージ電圧の合成検出信号が発生しなかったことを通電遮断された相別に記憶して、上記ステッピングモータの正逆転起動時に異常判定を行うことを特徴とするモータ駆動系の異常検出装置。In response to the intermittent signal generated by the microprocessor, the microprocessor, a plurality of open / close elements for energizing the multiphase field coils in a predetermined order to drive the stepping motor forward and reverse, and the field coils by the open / close elements The individual state detecting means for detecting the surge voltage generated when the current is cut off for each phase and generating a detection signal for confirming whether the respective phase field coils are turned on or off, and the signal detected by the individual state detecting means Combined state detecting means for generating a combined signal for performing an OR operation to check the energization and interruption of the all-phase field coil, the driving stop time of the stepping motor or the pause time when the rotation direction is reversed is not less than a predetermined value. drive start delay confirmation means for confirming, temporary storage means for storing the occurrence of the detected combined signal by the composite state detecting means, the intermittent signal is given Read the contents of the temporary memory stored with the variable delay time immediately after the first rise or fall after the pause for more than a period at the next rise or fall of the intermittent signal, and check whether there is an abnormality for each phase Individual determination storage means for storing, reset means for erasing the contents of the temporary storage means after the individual determination storage means stores the presence or absence of the current phase abnormality, and newly storing the next synthesized signal, And an abnormality alarm display means for operating an abnormality alarm indicator in response to at least one of the individual determination storage means storing an abnormality, wherein the individual determination storage means includes the stepping motor The fact that the combined detection signal of the above surge voltage did not occur for the first energization interruption after having stopped for a predetermined time or longer is stored for each phase where the energization was interrupted. Abnormality detection apparatus for a motor drive system, characterized in that the abnormality determination during forward and reverse rotation start of the stepping motor. 電源投入時の初回動作または/及び電源遮断直前の最終動作において動作し、上記サージ電圧波形が断続波形となる限度以下の低速動作で原点位置に一方向復帰を行うための原点復帰動作制御手段を備え、上記個別判定記憶手段は、上記ステッピングモータの駆動開始または回転方向反転後の初回の通電遮断に対して上記サージ電圧の合成検出信号が発生しなかったことを通電遮断された相別に記憶すると共に、上記ステッピングモータの原点復帰動作中において、上記サージ電圧の合成検出信号が発生しなかったことを通電遮断された相別に記憶するようにしたことを特徴とする請求項1に記載のモータ駆動系の異常検出装置。  Origin return operation control means that operates in the initial operation at the time of power-on or / and the final operation immediately before the power-off, and performs a one-way return to the origin position at a low speed operation below the limit where the surge voltage waveform becomes an intermittent waveform. The individual determination storage means stores the fact that the combined detection signal of the surge voltage was not generated for the first interruption of energization after the start of driving of the stepping motor or the reversal of the rotation direction for each phase where the energization was interrupted. The motor drive according to claim 1, wherein during the return-to-origin operation of the stepping motor, the fact that the combined detection signal of the surge voltage has not been generated is stored for each phase in which the power is cut off. System abnormality detection device. 電源スイッチが投入されると直ちに動作して異常検出装置に給電すると共に、上記電源スイッチが遮断されてから少なくとも上記ステッピングモータが原点復帰するまでの間は電源供給を継続した後に電源遮断を行う遅延遮断動作を行う電源リレー、上記ステッピングモータの駆動パルス量または移動パルス量を可逆計数してステッピングモータの現在回転位置を測定する動作を行う現在カウンタ、及び上記ステッピングモータが原点位置に復帰した時に動作して上記現在値カウンタをリセットし、上記電源スイッチが遮断された運転停止後に原点復帰を行っておくことにより、電源投入時は直ちに正常運転を開始することができるようにする復帰検出スイッチを備えたことを特徴とする請求項2に記載のモータ駆動系の異常検出装置。A delay that shuts off the power supply after the power switch is turned on and operates immediately to supply power to the anomaly detection device and at least until the stepping motor returns to the origin after the power switch is turned off. A power supply relay that performs a shut-off operation, a current value counter that performs an operation of measuring the current rotation position of the stepping motor by reversibly counting the drive pulse amount or the movement pulse amount of the stepping motor, and when the stepping motor returns to the origin position A return detection switch that operates to reset the current value counter and return to the home position after stopping the operation when the power switch is turned off, so that normal operation can be started immediately when the power is turned on. The motor drive system abnormality detection device according to claim 2, wherein the motor drive system abnormality detection device is provided. 上記ステッピングモータの駆動パルス量または移動パルス量を可逆計数してステッピングモータの現在回転位置を測定する現在値カウンタ、原点復帰動作に先立って、上記現在値カウンタに対して設定され、ステッピングモータの正転限界位置から逆転限界位置への移動を行うに足る目標駆動パルス量を設定する最大量設定手段、上記ステッピングモータが原点位置に復帰した時に動作して、上記現在値カウンタをリセットするように動作する復帰検出スイッチ、及び上記目標駆動パルス量で原点復帰動作を行った後に、上記復帰検出スイッチが動作したかどうかを判定し、上記ステッピングモータまたは機構系の異常を検出して異常警報表示器を動作させる復帰異常判定手段を備えたことを特徴とする請求項2または請求項3に記載のモータ駆動系の異常検出装置。  Prior to the return to origin operation, a current value counter for measuring the current rotation position of the stepping motor by reversibly counting the driving pulse amount or the moving pulse amount of the stepping motor, and setting the current value counter to the positive value of the stepping motor. Maximum amount setting means for setting a target drive pulse amount sufficient to move from the rotation limit position to the rotation limit position. Operates when the stepping motor returns to the origin position and operates to reset the current value counter. After performing the home position return operation with the return detection switch and the target drive pulse amount, it is determined whether the return detection switch has been operated, an abnormality in the stepping motor or mechanism system is detected, and an abnormality alarm indicator is displayed. The motor according to claim 2 or 3, further comprising return abnormality determining means for operating. Drive system of the abnormality detecting device. 上記一時記憶手段は、上記マイクロプロセッサの外部に設けられたフリップフロップ回路が用いられ、該フリップフロップ回路は上記合成状態検出信号によってセットされ、上記マイクロプロセッサによって読出し、リセットされるものであることを特徴とする請求項1または請求項2に記載のモータ駆動系の異常検出装置。  As the temporary storage means, a flip-flop circuit provided outside the microprocessor is used, and the flip-flop circuit is set by the composite state detection signal, and is read and reset by the microprocessor. The abnormality detection apparatus for a motor drive system according to claim 1 or 2, characterized in that マイクロプロセッサ、上記マイクロプロセッサにより生成された断続信号に応答し、多相界磁コイルを所定順序で付勢してステッピングモータを正逆転駆動する複数の開閉素子、上記開閉素子による上記界磁コイルへの通電遮断時に生じるサージ電圧を各相別に検出して、各相界磁コイルに対する通電、遮断を確認する検出信号を発生する個別状態検出手段、上記個別状態検出手段によって検出された信号の内、隣接動作しないグループの信号を論理和して各グループの界磁コイルへの通電・遮断を確認する合成信号発生する第一及び第二の合成状態検出手段、上記第一及び第二の合成状態検出手段によって検出された合成信号を第一及び第二の割込み入力端子を介して少なくとも夫々のグループ毎に分離して上記マイクロプロセッサ内のRAMメモリに記憶する一時記憶手段、上記グループ別の断続信号出力の前回の立上がりまたは立下がり時点の直後における変動遅延時間をおいてグループ別に記憶された上記一時記憶の内容を、上記断続信号出力の今回の立下がりまたは立上がり時点で読み出して相別に異常の有無を記憶する個別判定記憶手段、上記個別判定記憶手段が今回の相別異常の有無を記憶した後に上記一時記憶手段の内容を消去して、次回の合成信号を新たに記憶可能にするリセット手段、及び上記個別判定記憶手段の内で少なくとも1個以上のものが異常記憶していることに応動して異常警報表示器を作動させ、上記ステッピングモータが高速連続駆動されている状態で異常判定が行えるようにした異常警報表示手段を備えたことを特徴とするモータ駆動系の異常検出装置。In response to the intermittent signal generated by the microprocessor, the microprocessor, a plurality of open / close elements for energizing the multiphase field coils in a predetermined order to drive the stepping motor forward and reverse, and the field coils by the open / close elements The individual state detection means for detecting the surge voltage generated when the current is cut off for each phase and generating a detection signal for confirming the current supply and cut-off for each phase field coil, among the signals detected by the individual state detection means, First and second combined state detecting means for generating a combined signal for logically summing signals of groups that do not operate adjacently and confirming energization / cutoff to the field coils of each group, the first and second combined states The combined signal detected by the detection means is separated into at least each group via the first and second interrupt input terminals, and the signal is stored in the microprocessor. Temporary storage means for storing in the AM memory, the contents of the temporary storage stored for each group with a variable delay time immediately after the previous rise or fall time of the intermittent signal output for each group, Individual determination storage means for reading out the presence / absence of an abnormality for each phase by reading at the time of falling or rising at the current time, and erasing the contents of the temporary storage means after the individual determination storage means stores the presence / absence of an abnormality for the current phase Responsive to the fact that at least one of the reset means that can newly store the next synthesized signal and the individual determination storage means is abnormally stored, the abnormality alarm indicator is activated, A motor drive system characterized by having an abnormality alarm display means that can perform abnormality determination while the stepping motor is continuously driven at high speed. Atmospheric detection device. 上記一時記憶手段は、上記マイクロプロセッサ内部のRAMメモリが用いられ、該RAMメモリは上記合成状態検出信号のパルス幅よりも短い時間間隔で周期的に入力監視が行われるマイクロプロセッサの割込み入力端子を介してセットされ、マイクロプロセッサ内部で読出し、リセットされるものであることを特徴とする請求項1または請求項6に記載のモータ駆動系の異常検出装置。As the temporary storage means, a RAM memory inside the microprocessor is used, and the RAM memory has an interrupt input terminal of a microprocessor for periodically monitoring input at a time interval shorter than the pulse width of the synthesized state detection signal. through the set, read out within the microprocessor, the abnormality detection apparatus for a motor drive system according to claim 1 or claim 6, characterized in that it is intended to be reset. 上記個別判定記憶手段が記憶した異常発生回数を計数し、相別異常発生回数または相別異常発生回数の総和が所定値を超過したときに上記異常警報表示手段を作動させる計数判定手段を備えたことを特徴とする請求項1または請求項6に記載のモータ駆動系の異常検出装置。Counting means that counts the number of occurrences of abnormality stored in the individual judgment storage means, and includes a counting judgment means that activates the abnormality alarm display means when the number of occurrences of abnormalities by phase or the sum of the number of occurrences of abnormalities by phase exceeds a predetermined value. The abnormality detection device for a motor drive system according to claim 1 or 6, characterized in that 上記マイクロプロセッサには外部ツール接続用インタフェースが設けられ、上記個別判定記憶手段の内容が上記外部ツールによって読み出し表示されると共に、上記外部ツールからの指令によって上記内容がリセットされるものであることを特徴とする請求項1または請求項6に記載のモータ駆動系の異常検出装置。The microprocessor is provided with an interface for connecting an external tool, and the contents of the individual determination storage means are read and displayed by the external tool, and the contents are reset by a command from the external tool. The abnormality detection device for a motor drive system according to claim 1 or 6, characterized in that:
JP2002146325A 2002-05-21 2002-05-21 Abnormality detection device for motor drive system Expired - Fee Related JP3654645B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2002146325A JP3654645B2 (en) 2002-05-21 2002-05-21 Abnormality detection device for motor drive system
US10/288,283 US6781341B2 (en) 2002-05-21 2002-11-06 Abnormality detector for a motor drive system
DE10254419A DE10254419A1 (en) 2002-05-21 2002-11-21 Anomaly detection device for a motor drive system
CN02157485.5A CN1264273C (en) 2002-05-21 2002-12-20 Abnormal detector for motor driving system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002146325A JP3654645B2 (en) 2002-05-21 2002-05-21 Abnormality detection device for motor drive system

Publications (2)

Publication Number Publication Date
JP2003339190A JP2003339190A (en) 2003-11-28
JP3654645B2 true JP3654645B2 (en) 2005-06-02

Family

ID=29545122

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002146325A Expired - Fee Related JP3654645B2 (en) 2002-05-21 2002-05-21 Abnormality detection device for motor drive system

Country Status (4)

Country Link
US (1) US6781341B2 (en)
JP (1) JP3654645B2 (en)
CN (1) CN1264273C (en)
DE (1) DE10254419A1 (en)

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4248225B2 (en) * 2002-11-01 2009-04-02 トヨタ自動車株式会社 Fuel cell system
JPWO2005067134A1 (en) * 2004-01-09 2007-12-20 ローム株式会社 Power transistor protection circuit for motor drive circuit, motor drive circuit, and semiconductor device
JP4196345B2 (en) * 2004-02-18 2008-12-17 株式会社デンソー Valve open / close control device
DE102004018578B4 (en) * 2004-04-16 2007-02-22 Siemens Ag Method and device for detecting a degree of contamination of an operated converter device
JP4108695B2 (en) * 2005-07-15 2008-06-25 三菱電機株式会社 In-vehicle electronic control unit
JP2007066451A (en) * 2005-08-31 2007-03-15 Fujitsu Ltd Optical disk drive
JP4098803B2 (en) * 2005-11-18 2008-06-11 三菱電機株式会社 In-vehicle drive control device
DE102006003254A1 (en) * 2006-01-24 2007-07-26 Robert Bosch Gmbh Operating method for electrical machine with pulse-controlled inverter in case of disturbance, involves switching electrical machine into de-energizing mode and into short-circuit mode
JP5111780B2 (en) * 2006-05-08 2013-01-09 サーパス工業株式会社 Valve control device and flow controller
JP5210512B2 (en) * 2006-11-20 2013-06-12 東芝機械株式会社 Drive control device
US7868568B2 (en) * 2007-02-28 2011-01-11 Brother Kogyo Kabushiki Kaisha Motor driving device
CN102422523B (en) * 2009-05-08 2014-07-16 三菱电机株式会社 Motor controller
DE102009038111A1 (en) * 2009-08-19 2011-02-24 Conti Temic Microelectronic Gmbh Device and method for controlling and diagnosing stepper motors
JP2011158335A (en) * 2010-01-29 2011-08-18 Fujitsu Frontech Ltd Stepping motor connection detecting circuit
US8717181B2 (en) 2010-07-29 2014-05-06 Hill-Rom Services, Inc. Bed exit alert silence with automatic re-enable
CN103154750B (en) * 2010-09-15 2016-01-20 开利公司 For determining the method for the correct line of the multiple three phase electric machines in individual system
CN102419406A (en) * 2010-09-27 2012-04-18 珠海格力电器股份有限公司 Device and method for broken wire detection for step motor
US8823311B2 (en) * 2011-09-30 2014-09-02 Infineon Technologies Ag System and method for controlling a step motor
JP5892790B2 (en) * 2011-12-28 2016-03-23 ダイハツ工業株式会社 In-vehicle motor failure detection device
JP6046935B2 (en) * 2012-07-23 2016-12-21 株式会社日立ハイテクノロジーズ Maintenance support system
FR2999042B1 (en) * 2012-11-30 2016-10-21 Continental Automotive France METHOD FOR PROCESSING A SIGNAL SUPPLIED BY A BIDIRECTIONAL SENSOR AND CORRESPONDING DEVICE
FR2999041B1 (en) * 2012-11-30 2016-10-21 Continental Automotive France METHOD FOR PROCESSING A SIGNAL SUPPLIED BY A BIDIRECTIONAL SENSOR AND CORRESPONDING DEVICE
CN102957370A (en) * 2012-12-04 2013-03-06 常州奥立思特电子有限公司 Novel stepping motor driver
JP6070139B2 (en) * 2012-12-11 2017-02-01 ブラザー工業株式会社 Voltage abnormality detector
US9211878B2 (en) * 2013-03-06 2015-12-15 Hamilton Sundstrand Corporation In situ flap and slat wing tip brake response tester
JP6353648B2 (en) * 2013-12-10 2018-07-04 矢崎総業株式会社 Semiconductor abnormality detection circuit
CN103986379B (en) * 2014-05-26 2017-02-01 北京经纬恒润科技有限公司 Driving circuiting, driving chip and driving method of single-chip microcomputer and stepping motor
US20190011506A1 (en) * 2016-01-20 2019-01-10 Mitsubishi Electric Corporation Malfunction detection apparatus capable of detecting actual malfunctioning device not due to abnormal input values
CN109270428B (en) * 2018-08-18 2021-08-17 国营芜湖机械厂 Engine control circuit simulation detection circuit and method

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0792016B2 (en) 1986-06-09 1995-10-09 三菱電機株式会社 Failure detection circuit for fuel injection valve drive circuit for internal combustion engine
JP2671266B2 (en) * 1989-05-09 1997-10-29 アスモ 株式会社 Stepping motor
JP2639144B2 (en) 1989-12-29 1997-08-06 トヨタ自動車株式会社 Exhaust gas recirculation valve control device
JPH0459267A (en) * 1990-06-27 1992-02-26 Canon Inc Recording device
JP2970063B2 (en) * 1991-06-12 1999-11-02 アイシン精機株式会社 Servo system error handling method
JPH0518315A (en) 1991-07-11 1993-01-26 Mitsubishi Electric Corp Engine controller for automobile
JPH05184199A (en) * 1991-12-27 1993-07-23 Japan Electron Control Syst Co Ltd Step out detector for three-phase stepping motor
ATE172407T1 (en) * 1993-01-19 1998-11-15 Canon Kk RECORDING DEVICE
JPH0799796A (en) 1993-09-27 1995-04-11 Fujitsu Ten Ltd Driving device for stepping motor
WO1995027926A1 (en) * 1994-04-06 1995-10-19 Citizen Watch Co., Ltd. Electronic timepiece
JPH07322693A (en) * 1994-05-24 1995-12-08 Canon Inc Stepping-motor driving apparatus and recorder using stepping-motor driving means
JP3243517B2 (en) * 1996-11-11 2002-01-07 ミネベア株式会社 Recording disk driving apparatus and driving method for information recording apparatus
US6140792A (en) * 1997-02-17 2000-10-31 Canon Kabushiki Kaisha Motor drive control apparatus and method, and image forming apparatus using the method
JPH10257799A (en) 1997-03-07 1998-09-25 Toyota Motor Corp Output open-circuiting detection device of multichannel output device
JP4092811B2 (en) * 1999-04-19 2008-05-28 トヨタ自動車株式会社 Motor control device and control method
JP4454723B2 (en) * 1999-08-17 2010-04-21 キヤノン株式会社 Motor drive control device

Also Published As

Publication number Publication date
CN1264273C (en) 2006-07-12
JP2003339190A (en) 2003-11-28
DE10254419A1 (en) 2003-12-18
US6781341B2 (en) 2004-08-24
CN1459922A (en) 2003-12-03
US20030218443A1 (en) 2003-11-27

Similar Documents

Publication Publication Date Title
JP3654645B2 (en) Abnormality detection device for motor drive system
JP4333751B2 (en) Brushless motor drive device
JP4157576B2 (en) Engine control device
JP4094538B2 (en) Air-fuel ratio sensor failure diagnosis device
JP2006226158A (en) Method and device for failure diagnosis of manifold pressure sensor
JP2002349329A (en) Device for and method of diagnosing malfunction of o2 sensor
JPH07259562A (en) Diagnostic device of radiator fan controller
US6845315B2 (en) Engine air-intake control device and engine air-intake control method
JP2006226157A (en) Method and device for failure diagnosis of atmospheric pressure sensor
JPH08128360A (en) Failure diagnosing device of exhaust gas reflux device
JPH0114528B2 (en)
JP2781878B2 (en) Engine control device
JP3873877B2 (en) Failure detection device for intake air amount sensor for internal combustion engine
JP3858306B2 (en) Failure diagnosis device for exhaust gas recirculation control device
JP4134480B2 (en) Air-fuel ratio sensor deterioration diagnosis device
JP3802576B2 (en) Method and apparatus for controlling a drive unit of a vehicle
JPH0886248A (en) Self-diagnosing device for exhaust gas recirculation system for internal combustion engine
JPH01244143A (en) Trouble diagnosing device for solenoid valve
JP5472368B2 (en) Starter control system
JPH01159454A (en) Malfunction detector for exhaust gas recirculating temperature sensor
JP3097475B2 (en) Failure diagnosis device for exhaust gas recirculation device
JP4390521B2 (en) In-vehicle motor failure detection method and failure detection apparatus
JP2827211B2 (en) Idling speed control valve diagnostic device
JPH07119572A (en) Failure diagnostic device for variable delivery type fuel pump
JPH09244707A (en) Processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050127

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050222

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050228

R151 Written notification of patent or utility model registration

Ref document number: 3654645

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20080311

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090311

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100311

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100311

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110311

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110311

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120311

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130311

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130311

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140311

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees