JP3474953B2 - Motor drive - Google Patents

Motor drive

Info

Publication number
JP3474953B2
JP3474953B2 JP31577894A JP31577894A JP3474953B2 JP 3474953 B2 JP3474953 B2 JP 3474953B2 JP 31577894 A JP31577894 A JP 31577894A JP 31577894 A JP31577894 A JP 31577894A JP 3474953 B2 JP3474953 B2 JP 3474953B2
Authority
JP
Japan
Prior art keywords
motor
current
motor current
circuit
value
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
JP31577894A
Other languages
Japanese (ja)
Other versions
JPH08154389A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP31577894A priority Critical patent/JP3474953B2/en
Publication of JPH08154389A publication Critical patent/JPH08154389A/en
Application granted granted Critical
Publication of JP3474953B2 publication Critical patent/JP3474953B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Motor And Converter Starters (AREA)
  • Control Of Electric Motors In General (AREA)

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】本発明は、両替機の両替紙幣排出
用のモータや、自動販売機の商品排出用のモータなどを
駆動するモータ駆動装置に関するものである。 【0002】 【従来の技術】この種のモータ駆動装置として、従来、
モータを介して電源に接続され、モータにモータ電流を
供給するモータドライバと、モータドライバに駆動信号
を出力する制御回路と、モータドライバの作動時間をカ
ウントするタイマとを備えたものが知られている。この
従来のモータ駆動装置では、モータ駆動信号が制御回路
からモータドライバに出力されると、モータドライバが
モータにモータ電流を供給して、これを駆動する。そし
て、モータドライバへの駆動信号の出力を停止すること
により、モータ電流の供給を停止して、モータを停止さ
せている。 【0003】一方、モータの負荷である両替紙幣排出用
ベルトは、ジャムなどにより回転不能になることがあ
る。この場合、モータには、定常回転時におけるモータ
電流よりもはるかに大きいロック電流が流れ続ける。こ
の状態が継続すると、モータの寿命が短くなる。このた
め、従来のモータ駆動装置では、モータにモータ電流が
供給されている時間をタイマでカウントし、所定時間、
例えば、紙幣の排出に必要な時間よりもやや長い時間が
経過したときに、制御回路にタイムアップ信号を出力す
る。これにより、制御回路が、モータドライバへの駆動
信号の出力を停止することにより、モータを停止させて
いる。 【0004】 【発明が解決しようとする課題】ところが、このような
モータ駆動装置では、タイムアップするまでの間、ロッ
ク電流が流れ続けているため、モータやモータドライバ
の内部抵抗によって、これらに多量の熱が発生する。こ
のため、この熱を除去するために、モータやモータドラ
イバを、熱容量の大きい放熱板に取り付けたり、送風装
置によって冷却したりしている。この結果、装置の大型
化を招くと共に、コストの上昇を招くという問題があ
る。また、モータドライバが故障し、そのために制御回
路がモータ駆動信号の出力を停止してもモータにロック
電流が流れ続けているような場合、従来のモータ駆動装
置では、モータへのモータ電流の供給を停止することは
不可能である。また、仮にモータ電流が流れる電源ライ
ンにリレー切片などを直列に配設し、リレーをオフする
ことによりモータ電流を遮断するようにした場合には、
電流値が大きいロック電流を遮断するためには、非常に
切片容量が大きなリレーを必要とする結果、装置のさら
なる大型化や、コストの上昇を招くという問題点があ
る。 【0005】本発明は、このような問題に鑑みてなされ
たものであり、モータやモータ駆動装置で発生する熱量
を抑制することができると共に、それにより装置の小型
化、ローコスト化を図ることができるモータ駆動装置を
提供することを目的とする。 【0006】 【課題を解決するための手段】上記目的を達成すべく請
求項1に係るモータ駆動装置は、起動後のモータに流す
モータ電流の許容最大値を記憶するモータ電流記憶回路
と、モータのモータ電流の電流値を検出するモータ電流
検出回路と、モータ電流制御信号を出力し、検出された
モータ電流が記憶されている許容最大値よりも大きいと
きに、モータ電流が許容最大値になるように、モータ電
流制御信号の電圧値を制御するモータ電流制御回路と、
モータ電流制御回路から出力されたモータ電流制御信号
の電圧値に応じた電流値のモータ電流を出力する第1の
モータドライブ回路と、駆動命令が入力されたときに、
第1のモータドライブ回路から出力されたモータ電流を
モータに供給する第2のモータドライブ回路と、を備
え、モータ電流制御回路は、第2のモータドライブ回路
に駆動命令が入力されず、かつモータにモータ電流が流
れていることがモータ電流検出回路によって検出された
ときに、モータ電流が流れなくなるように、第1のモー
タドライブ回路に出力するモータ電流制御信号の電圧値
を制御することを特徴とする。 【0007】 【0008】 【作用】請求項1記載のモータ駆動装置では、第1およ
び第2のモータドライブ回路によってモータが駆動され
ると、モータにモータ電流が流れ、このモータ電流の電
流値は、モータ電流検出回路によって検出される。そし
て、検出されたモータ電流が、モータ電流記憶回路に記
憶されている起動後のモータに流すモータ電流の許容最
大値(例えば、両替の紙幣排出用のベルトを駆動する
場合、起動後のモータがベルトを駆動するために必要な
トルクを発生する電流値)よりも大きくなったときに、
その許容最大値になるようにモータ電流制御信号の電圧
値制御して、第1のモータドライブ回路に出力する。そ
して、第1のモータドライブ回路は、モータ電流制御信
号の電圧値に応じた電流値のモータ電流を第2のモータ
ドライブ回路に出力し、第2のモータドライブ回路は、
駆動命令が入力されたときに、第1のモータドライブ回
路から出力されたモータ電流をモータに供給する。この
結果、起動後のモータに流れるモータ電流は、最大でも
設定された許容最大値以下に抑えられる。このため、前
述の例において、ベルトがジャムなどにより回転不能の
ときでも、モータに流れる電流は、許容最大値以下であ
り、この電流は、通常ロック電流よりも小さいため、モ
ータや第1および第2のモータドライブ回路での熱の発
生をその分少なくすることができる。この結果、モータ
に取り付ける放熱板を省略することが可能になると共
に、第1および第2のモータドライブ回路に取り付ける
放熱板もその分熱容量の小さいものを用いることができ
るので、装置の小型化を図ることができると共に、コス
トの削減を図ることができる。 【0009】さらに、第2のモータドライブ回路が故障
し、駆動命令が入力されていない状態で、モータが作動
しているような場合、モータ電流制御回路が、モータ電
流が流れなくなるような電圧値のモータ電流制御信号を
第1のモータドライブ回路に出力することにより、モー
タを停止させることができる。このため、リレー等の他
の部品を何等用いることなく、モータを停止させること
ができる。 【0010】 【実施例】以下、添付図面を参照して、本発明を適用し
た、両替機の紙幣排出用のモータMを駆動するモータ駆
動装置について説明する。図1に示すように、このモー
タ駆動装置1は、CPU(モータ電流記憶回路、モータ
電流制御回路)2、モータドライブ回路3、およびモー
タ電流検出回路4を備えている。なお、モータ駆動装置
1によって駆動されるモータMは、図示しない排出ベル
トを駆動し、排出ベルトは、両替紙幣を紙幣金庫から紙
幣排出口に排出する(いずれも図示せず)。 【0011】CPU2は、起動時および起動後のモータ
Mに流れるモータ電流を、モータ電流制御信号により制
御する。そして、その内部にはROMを備えており、R
OMには、起動後のモータMに流すモータ電流の許容最
大値に対応する許容最大値データが記憶されている。ま
た、CPU2は、ディジタルデータをアナログ電圧に変
換するD/A変換部と、アナログ電圧をディジタルデー
タに変換するA/D変換部とを内部に備えている。D/
A変換部の出力部に接続されるD/A変換ポートには、
モータドライブ回路3が接続され、A/D変換部の入力
部に接続されるA/D変換ポートには、モータ電流検出
回路4の出力部が接続されている。 【0012】モータドライブ回路3は、CPU2から出
力されるモータ電流制御信号の電圧値に応じた電流値の
モータ電流をモータMに供給する。モータドライブ回路
3は、バッファ回路5、ドライブトランジスタ回路6お
よびモータドライブIC7から構成されている。 【0013】バッファ回路5は、CPU2とドライブト
ランジスタ回路6の間に配設され、インピーダンス変換
すると共に、CPU2のD/A変換ポートから出力され
るモータ電流制御信号の電圧値に応じた電流値のバイア
ス電流をドライブトランジスタ回路6に供給する。具体
的には、バッファ回路5は、オペアンプ11とNPNト
ランジスタ12を備えて構成されている。そして、オペ
アンプ11とNPNトランジスタ12が、電圧−電流変
換回路として機能し、オペアンプ11に入力されたモー
タ電流制御信号の電圧値にほぼ比例する電流値のコレク
タ電流をNPNトランジスタ12に流す。 【0014】ドライブトランジスタ回路6は、モータ電
流をモータドライブIC7に供給する回路であって、P
NPトランジスタ13を備えている。PNPトランジス
タ13は、ベース電流としてのNPNトランジスタ12
のコレクタ電流を増幅し、増幅したコレクタ電流をモー
タ電流としてモータドライブIC7に供給する。なお、
ダイオード14は、モータMの起動時に発生する逆起電
圧を低下させると共に、電源を遮断したときにモータド
ライブIC7にチャージされている電荷を放電させて、
PNPトランジスタ13を保護する。 【0015】モータドライブIC7は、モータMにモー
タ電流を供給するものであって、図2に示すように、直
列接続されたPNPトランジスタ21およびNPNトラ
ンジスタ22からなるトランジスタ列と、同じく直列接
続されたPNPトランジスタ23およびNPNトランジ
スタ24からなるトランジスタ列から構成されたブリッ
ジ回路を備えている。PNPトランジスタ21,23の
両エミッタは、PNPトランジスタ13のコレクタに接
続され、NPNトランジスタ22,24の各エミッタ
は、モータ電流検出回路4のシャント抵抗31に接続さ
れている。また、PNPトランジスタ21,23の各コ
レクタは、モータMの入力端子にそれぞれ接続されると
共に、抵抗25,26を介して、互いに他方のPNPト
ランジスタ23,21のベースに接続されている。さら
に、NPNトランジスタ22,24の各ベースは、アン
ドゲート27,28の出力部に接続され、アンドゲート
27の2つの入力端子は、CPU2の出力端子1および
出力端子2にそれぞれ接続され、アンドゲート28の2
つの入力端子は、CPU2の出力端子1および出力端子
3にそれぞれ接続されている。なお、AVR29は、入
力された電源電圧を5Vに安定化して、アンドゲート2
7,28に供給する。 【0016】モータドライブIC7は、CPU2の出力
端子1からハイレベル信号が出力されると、スタンバイ
状態になり、この状態で、CPU2の出力端子2からハ
イレベル信号が出力されると、アンドゲート27がハイ
レベル信号をNPNトランジスタ22のベースに出力す
ることにより、NPNトランジスタ22がオンになると
共にPNPトランジスタ23もオンになり、モータMを
正転駆動する。一方、スタンバイ状態で、CPU2の出
力端子3からハイレベル信号が出力されると、アンドゲ
ート28がハイレベル信号をNPNトランジスタ24の
ベースに出力することにより、NPNトランジスタ24
がオンになると共にPNPトランジスタ21もオンにな
り、モータMを逆転駆動する。 【0017】モータ電流検出回路4は、図1に示すよう
に、シャント抵抗31、オペアンプ32および入力抵抗
33から構成されている。シャント抵抗31は、PNP
トランジスタ13、モータドライブIC7を介してモー
タMに流れたモータ電流が自身に流れることにより、モ
ータ電流の電流値を電圧信号に変換する。オペアンプ3
2は、ボルテージフォロワとして機能し、シャント抵抗
31によって変換された電圧信号をインピーダンス変換
し、電流検出信号としてCPU2のA/D変換ポートに
出力する。 【0018】このモータ電流制御回路1では、まず、図
示しない制御装置からCPU2に紙幣排出信号が入力さ
れると、CPU2が、出力端子1および出力端子2にハ
イレベル信号を出力すると共に、モータMの起動に必要
なモータ電流を流すように、D/A変換ポートから所定
の電圧値の起動電流制御信号をオペアンプ11に出力す
る。オペアンプ11およびNPNトランジスタ12は、
電流制御信号の電圧値に応じた電流値になるようなベー
ス電流を引き込むことにより、PNPトランジスタ13
をオンにする。PNPトランジスタ13は、ベース電流
を所定の電流増幅度で増幅し、エミッタ電流をモータド
ライブIC7に供給する。つまり、オペアンプ11、N
PNトランジスタ12およびPNPトランジスタ13
は、一体となって、電流制御信号の電圧値に応じたモー
タ電流をモータドライブIC7に供給する。 【0019】モータドライブIC7では、CPU2の出
力端子1および2から出力されたハイレベル信号によっ
てNPNトランジスタ22およびPNPトランジスタ2
3がオンになり、PNPトランジスタ13からのモータ
電流を、モータMに供給してモータMを正転駆動する。
なお、モータMを逆転駆動する場合には、CPU2は、
出力端子3にハイレベル信号を出力することにより、N
PNトランジスタ24、PNPトランジスタ21をオン
にする。 【0020】モータMに流れたモータ電流は、シャント
抵抗31に流れ、シャント抵抗31、オペアンプ32に
よって電圧変換された電流検出信号がCPU2のA/D
変換ポートに入力される。CPU2は、モータMが起動
して定常電流になるまでの時間(約50mS〜100m
S)が経過した後に入力されたモータ電流検出電圧をデ
ィジタルデータに変換する。そして、CPU2は、ディ
ジタルデータを、ROMが記憶している許容最大値デー
タと比較して、許容最大値データよりも大きいとき、つ
まりモータ電流が許容最大値を超えたときに、モータ電
流がその許容最大値になるように、モータ電流制御信号
の電圧値を変化させる。この結果、CPU2、モータド
ライブ回路3およびモータ電流検出回路4からなるフィ
ードバック回路が形成され、起動後にモータMに流れる
電流は、許容最大値以下に抑えられる。 【0021】この場合、許容最大値は、例えば、排出用
ベルトを駆動するのに必要なだけのトルクを発生する電
流値に設定されている(本実施例では2A)。したがっ
て、排出用ベルトのジャムなどにより、モータMにロッ
ク電流、例えば、3.2Aが流れたときには、フィード
バックループの働きにより、モータ電流が2Aに制限さ
れる。この結果、負荷となる排出ベルトなどに異常が起
こることによりモータMがロック状態になったときで
も、モータ電流を2Aにすることにより、モータ電流を
1.2Aだけ低減させることができる。このため、モー
タMの放熱が不要になり、モータMを樹脂板に取り付け
ることが可能になると共に、PNPトランジスタ13お
よびモータドライブIC7に取り付ける放熱板の熱容量
も小さくて済むことになる。 【0022】次に、モータ電流制御処理を中心に、CP
U2が実行する紙幣排出処理について、図3,4のフロ
ーチャートを参照して説明する。 【0023】最初に、図3に示すように、まず、制御装
置からモータ駆動信号が出力されると、D/A変換ポー
トに起動電流制御信号を出力してモータMを駆動する
(ステップ41)。次いで、シャント抵抗31がモータ
電流を検出する(ステップ42)。起動後、例えば、所
定時間(約50mS)経過後に、シャント抵抗31が検
出したモータ電流検出電圧をディジタルデータに変換
し、電流値が許容最大値よりも大きいか否かを判別定す
る(ステップ43)。許容最大値以内と判別したとき
は、紙幣が紙幣排出口に到達したか否かを判別する(ス
テップ44)。紙幣が到達したと判別したときは、モー
タMを停止させて(ステップ45)、次のステップを行
う。 【0024】ステップ43において、モータMを流れる
電流が許容最大値よりも大きいときは、モータ電流が許
容最大値になるような電圧値のモータ制御信号を出力す
る(ステップ46)。次いで、第1設定時間以内か否か
を判別する(ステップ47)。ここで、第1設定時間と
は、ロック電流をモータMに流すことが許容できる時間
であり、本実施例では1秒に設定されている。第1設定
時間以内と判別したときは、上述したステップ44を行
う一方、第1設定時間以内でないと判別したときは、排
出ベルトなどに異常が発生することによりモータMにロ
ック電流が流れていると判定し、モータMを停止させる
(ステップ45)。 【0025】前述したステップ44において、紙幣が到
達していないと判別したときは、第2設定時間以内か否
かを判別する(ステップ48)。ここで、第2設定時間
とは、紙幣を紙幣金庫から紙幣排出口まで排出するのに
必要とされる時間(約0.3秒)に余裕を持たせた時間
であり、本実施例では3秒に設定されている。第2設定
時間以内と判別したときは、上述したステップ42に戻
りモータ電流の電流値を監視する一方、第2設定時間以
内でないと判別したときは、排出ベルトなどに紙幣が詰
まったなどの搬送不良が発生したと判定し、出力端子2
からハイレベル信号の出力を停止することにより、モー
タMを停止させる(ステップ45)。 【0026】次いで、図4に示すように、モータMに流
れている電流値が値0であるか否か、つまりモータMに
モータ電流が流れているか否かを判別する(ステップ5
1)。電流値が値0であると判別したときは、前述した
ステップ47で第1設定時間を経過していたか否か、お
よびステップ48において第2設定時間を経過していた
か否かに基づいて、モータMが正常に作動していたか否
かを判別する(ステップ52)。両時間以内と判別した
ときは、正常に作動したと判定し、この紙幣排出処理を
終了する(ステップ53)。 【0027】前述したステップ51において、モータ電
流が流れていると判別したときは、モータ電流を値0に
するようなモータ電流制御信号を出力する(ステップ5
4)次いで、モータドライブICが故障したと判定し、
図示しない液晶表示部(LCD)に回路不良が起きたこ
とを表示し(ステップ55)、両替動作を休止し(ステ
ップ56)、紙幣排出処理を終了する(ステップ5
3)。 【0028】前述したステップ52において、正常に作
動していなかったと判別したときは、ステップ47の判
別結果に基づいて、モータMにロックが起きていたか否
かを判別する(ステップ57)。モータロックが起きた
と判別したときは、液晶表示部にモータロックが起きた
ことを表示し(ステップ58)、両替動作を休止し(ス
テップ59)、紙幣排出処理を終了する(ステップ5
3)。一方、モータロックが起きていないと判別したと
きは、紙幣の詰まりなどによる搬送不良が起きたと判定
し、液晶表示部に搬送不良が起きたことを表示し(ステ
ップ60)、両替動作を休止し(ステップ59)、紙幣
排出処理を終了する(ステップ53)。 【0029】以上のように、本実施例では、モータMに
モータロックが起きたときでも、モータ電流を2Aに制
限するため、モータM、PNPトランジスタ13および
モータドライブIC7で発生する熱量を抑制することが
できるため、その分モータMの放熱が不要になり、モー
タMを樹脂板に取り付けることが可能になると共に、P
NPトランジスタ13およびモータドライブIC7に取
り付ける放熱板の熱容量を小さくすることができる。こ
の結果、装置の小型化、ローコスト化を図ることができ
る。 【0030】さらに、モータドライブIC7が故障する
ことにより、モータMが駆動され続けたような場合で
も、CPU2が、モータ電流検出回路によって検出され
たモータ電流検出電圧を監視し、モータ電流が流れなく
なるような電圧値(例えば、0V)のモータ電流制御信
号を、モータドライブ回路3に出力することにより、モ
ータMを停止させることができる。このため、リレー等
の他の部品を何等用いることなく、簡易にモータMを停
止させることができる。 【0031】なお、本実施例においては、許容最大値を
ROMに記憶させているが、ボリュームなどによって任
意に設定することができる。また、CPU2は、モータ
Mが起動した時から所定時間を経過した後にモータ電流
が許容最大値以下になるように制御しているが、起動時
直後から許容最大値になるように制御することもでき
る。 【0032】また、本実施例では、直流モータについて
説明したが、これに限定されず、ACモータでもよい
し、ステッピングモータなどや他のいかなるモータにも
適用可能である。 【0033】 【発明の効果】以上のように、本発明のモータ電流駆動
装置によれば、モータやモータドライ回路で発生する
熱を低下させることができる結果、モータやモータドラ
回路に放熱板を取り付けたり、送風装置により送風
する必要がなくなるため、装置の小型化を図ることがで
きると共に、装置のコストを削減することができる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motor driving device for driving a motor for exchanging bills of a money changing machine, a motor for discharging goods of a vending machine, and the like. It is. 2. Description of the Related Art Conventionally, as this kind of motor drive device,
A motor driver that is connected to a power supply via a motor and supplies a motor current to the motor, a control circuit that outputs a drive signal to the motor driver, and a timer that counts the operating time of the motor driver are known. I have. In this conventional motor drive device, when a motor drive signal is output from a control circuit to a motor driver, the motor driver supplies a motor current to the motor and drives it. Then, by stopping the output of the drive signal to the motor driver, the supply of the motor current is stopped, and the motor is stopped. [0003] On the other hand, a currency exchange belt, which is a load of a motor, may not be able to rotate due to a jam or the like. In this case, a lock current that is much larger than the motor current during steady rotation continues to flow through the motor. If this state continues, the life of the motor will be shortened. For this reason, in the conventional motor driving device, the time during which the motor current is being supplied to the motor is counted by a timer,
For example, a time-up signal is output to the control circuit when a time slightly longer than a time required for discharging a bill has elapsed. Thus, the control circuit stops the motor by stopping the output of the drive signal to the motor driver. However, in such a motor drive device, since a lock current continues to flow until the time is up, a large amount of the lock current flows due to the internal resistance of the motor and the motor driver. Generates heat. Therefore, in order to remove this heat, a motor or a motor driver is mounted on a heat radiating plate having a large heat capacity or cooled by a blower. As a result, there is a problem that the size of the apparatus is increased and the cost is increased. In the case where the motor driver fails and the lock current continues to flow through the motor even when the control circuit stops outputting the motor drive signal, the conventional motor drive device supplies the motor current to the motor. It is impossible to stop. Also, if a relay section or the like is arranged in series on a power supply line through which the motor current flows, and the relay is turned off to shut off the motor current,
In order to cut off a lock current having a large current value, a relay having a very large intercept capacity is required. As a result, there is a problem that the device is further increased in size and the cost is increased. The present invention has been made in view of such a problem, and it is possible to suppress the amount of heat generated in a motor and a motor driving device, and to reduce the size and cost of the device. It is an object of the present invention to provide a motor drive device capable of performing the above. [0006] The motor drive apparatus according to claim 1 to achieve the above object, according order to achieve the above, a motor current storing circuit for storing the allowable maximum value of the motor current supplied to the motor after startup, the motor Motor current that detects the current value of the motor current
Outputs a detection circuit and a motor current control signal, and
If the motor current is greater than the stored maximum
The motor current so that the motor current reaches the maximum allowable value.
A motor current control circuit for controlling the voltage value of the current control signal,
A first motor current having a current value corresponding to the voltage value of the motor current control signal output from the motor current control circuit is output.
When a motor drive circuit and a drive command are input,
A second motor drive circuit for supplying a motor current output from the first motor drive circuit to the motor, wherein the motor current control circuit comprises a second motor drive circuit.
Drive command is not input to the motor, and motor current
Is detected by the motor current detection circuit
Sometimes, the first motor is stopped so that the motor current stops flowing.
The voltage value of the motor current control signal output to the motor drive circuit is controlled. According to the first aspect of the present invention, the first and second motor driving devices are provided.
When the motor is driven by the second motor drive circuit, the motor current flows through the motor, and the current value of the motor current is detected by the motor current detection circuit. Then, the detected motor current is stored in the motor current storage circuit, and the allowable maximum value of the motor current flowing to the motor after the start (for example, when driving a bill discharging belt of a change machine , the motor after the start is driven) Is greater than the current value that generates the torque required to drive the belt)
The voltage value of the motor current control signal is controlled so as to reach the allowable maximum value, and is output to the first motor drive circuit. The first motor drive circuit outputs a motor current having a current value corresponding to the voltage value of the motor current control signal to the second motor.
Output to the drive circuit, and the second motor drive circuit
When a drive command is input, the first motor drive circuit
The motor current output from the road is supplied to the motor. As a result, the motor current flowing through the motor after the start is suppressed to a value equal to or less than the maximum allowable value set at the maximum. For this reason, in the above-described example, even when the belt cannot be rotated due to a jam or the like, the current flowing through the motor is equal to or less than the allowable maximum value, and this current is smaller than the normal lock current . In the second motor drive circuit, heat generation can be reduced accordingly. As a result, it is possible to omit the heat radiating plate to be attached to the motor, and to use the heat radiating plate to be attached to the first and second motor drive circuits having a small heat capacity, thereby reducing the size of the device. In addition to the above, it is possible to reduce costs. Further, in a case where the motor is operating in a state where the second motor drive circuit has failed and a drive command has not been input, the motor current control circuit determines a voltage value at which the motor current stops flowing. Motor current control signal
By outputting the signal to the first motor drive circuit, the motor can be stopped. Therefore, the motor can be stopped without using any other component such as a relay. Referring to the accompanying drawings, a description will be given of a motor drive device to which the present invention is applied for driving a motor M for discharging bills of a money changer. As shown in FIG. 1, the motor driving device 1 includes a CPU (motor current storage circuit, motor current control circuit) 2, a motor drive circuit 3, and a motor current detection circuit 4. The motor M driven by the motor driving device 1 drives a discharge belt (not shown), and the discharge belt discharges exchanged bills from a bill safe to a bill outlet (both not shown). The CPU 2 controls the motor current flowing through the motor M at the time of startup and after startup by a motor current control signal. And, ROM is provided in the inside, and R
The OM stores allowable maximum value data corresponding to the allowable maximum value of the motor current flowing through the motor M after the start. Further, the CPU 2 includes therein a D / A converter for converting digital data to analog voltage and an A / D converter for converting analog voltage to digital data. D /
The D / A conversion port connected to the output unit of the A conversion unit includes:
The output of the motor current detection circuit 4 is connected to the A / D conversion port connected to the motor drive circuit 3 and to the input of the A / D converter. The motor drive circuit 3 supplies a motor current having a current value corresponding to the voltage value of the motor current control signal output from the CPU 2 to the motor M. The motor drive circuit 3 includes a buffer circuit 5, a drive transistor circuit 6, and a motor drive IC 7. The buffer circuit 5 is provided between the CPU 2 and the drive transistor circuit 6 to perform impedance conversion and to output a current value corresponding to a voltage value of a motor current control signal output from a D / A conversion port of the CPU 2. A bias current is supplied to the drive transistor circuit 6. More specifically, the buffer circuit 5 includes an operational amplifier 11 and an NPN transistor 12. Then, the operational amplifier 11 and the NPN transistor 12 function as a voltage-current conversion circuit, and a collector current having a current value substantially proportional to the voltage value of the motor current control signal input to the operational amplifier 11 flows through the NPN transistor 12. The drive transistor circuit 6 is a circuit for supplying a motor current to the motor drive IC 7.
An NP transistor 13 is provided. The PNP transistor 13 is an NPN transistor 12 serving as a base current.
, And supplies the amplified collector current to the motor drive IC 7 as a motor current. In addition,
The diode 14 lowers the back electromotive voltage generated when the motor M is started, and discharges the electric charge charged in the motor drive IC 7 when the power is turned off.
The PNP transistor 13 is protected. The motor drive IC 7 supplies a motor current to the motor M. As shown in FIG. 2, the motor drive IC 7 is connected in series to a transistor line including a PNP transistor 21 and an NPN transistor 22 connected in series. There is provided a bridge circuit composed of a transistor row including a PNP transistor 23 and an NPN transistor 24. The emitters of the PNP transistors 21 and 23 are connected to the collector of the PNP transistor 13, and the emitters of the NPN transistors 22 and 24 are connected to the shunt resistor 31 of the motor current detection circuit 4. The collectors of the PNP transistors 21 and 23 are connected to the input terminal of the motor M, respectively, and are connected to the bases of the other PNP transistors 23 and 21 via the resistors 25 and 26, respectively. Further, the bases of the NPN transistors 22 and 24 are connected to the output units of the AND gates 27 and 28, and the two input terminals of the AND gate 27 are connected to the output terminal 1 and the output terminal 2 of the CPU 2, respectively. 28-2
The two input terminals are connected to the output terminal 1 and the output terminal 3 of the CPU 2, respectively. The AVR 29 stabilizes the input power supply voltage to 5 V, and
7, 28. When a high-level signal is output from the output terminal 1 of the CPU 2, the motor drive IC 7 enters a standby state. In this state, when a high-level signal is output from the output terminal 2 of the CPU 2, the AND gate 27 is turned on. Outputs a high-level signal to the base of the NPN transistor 22, so that the NPN transistor 22 is turned on and the PNP transistor 23 is also turned on, and the motor M is driven forward. On the other hand, when a high-level signal is output from the output terminal 3 of the CPU 2 in the standby state, the AND gate 28 outputs a high-level signal to the base of the NPN transistor 24 so that the NPN transistor 24
Is turned on, the PNP transistor 21 is also turned on, and the motor M is driven in reverse. The motor current detection circuit 4 comprises a shunt resistor 31, an operational amplifier 32 and an input resistor 33, as shown in FIG. The shunt resistor 31 is a PNP
The motor current flowing to the motor M via the transistor 13 and the motor drive IC 7 flows to the motor M, thereby converting the current value of the motor current into a voltage signal. Operational amplifier 3
Numeral 2 functions as a voltage follower, performs impedance conversion of the voltage signal converted by the shunt resistor 31, and outputs the voltage signal to the A / D conversion port of the CPU 2 as a current detection signal. In this motor current control circuit 1, first, when a bill discharge signal is input to the CPU 2 from a control device (not shown), the CPU 2 outputs a high-level signal to the output terminals 1 and 2, A starting current control signal having a predetermined voltage value is output from the D / A conversion port to the operational amplifier 11 so that a motor current necessary for starting the motor flows. The operational amplifier 11 and the NPN transistor 12
By drawing a base current such that a current value according to the voltage value of the current control signal is obtained, the PNP transistor 13
Turn on. PNP transistor 13 amplifies the base current with a predetermined current amplification, and supplies the emitter current to motor drive IC 7. That is, the operational amplifier 11, N
PN transistor 12 and PNP transistor 13
Supplies the motor drive IC 7 with a motor current corresponding to the voltage value of the current control signal. In the motor drive IC 7, the NPN transistor 22 and the PNP transistor 2 are driven by the high level signals output from the output terminals 1 and 2 of the CPU 2.
3 is turned on, and the motor current from the PNP transistor 13 is supplied to the motor M to drive the motor M to rotate forward.
When the motor M is driven to rotate in the reverse direction, the CPU 2
By outputting a high level signal to the output terminal 3, N
The PN transistor 24 and the PNP transistor 21 are turned on. The motor current flowing to the motor M flows to the shunt resistor 31, and the current detection signal converted by the shunt resistor 31 and the operational amplifier 32 is converted into an A / D signal of the CPU 2.
Input to the conversion port. The CPU 2 determines a time (about 50 mS to 100 m
After the elapse of S), the motor current detection voltage input is converted into digital data. Then, the CPU 2 compares the digital data with the allowable maximum value data stored in the ROM, and when the digital data is larger than the allowable maximum value data, that is, when the motor current exceeds the allowable maximum value, The voltage value of the motor current control signal is changed so as to reach the maximum allowable value. As a result, a feedback circuit including the CPU 2, the motor drive circuit 3, and the motor current detection circuit 4 is formed, and the current flowing through the motor M after startup is suppressed to a maximum allowable value or less. In this case, the allowable maximum value is set, for example, to a current value that generates a torque necessary to drive the discharge belt (2 A in this embodiment). Therefore, when a lock current, for example, 3.2 A flows through the motor M due to a jam of the discharge belt or the like, the motor current is limited to 2 A by the function of the feedback loop. As a result, the motor current can be reduced by 1.2 A by setting the motor current to 2 A even when the motor M is locked due to an abnormality in the discharge belt or the like serving as a load. Therefore, heat radiation of the motor M is not required, and the motor M can be mounted on the resin plate, and the heat capacity of the heat radiation plate mounted on the PNP transistor 13 and the motor drive IC 7 can be reduced. Next, focusing on the motor current control processing, the CP
The bill discharging process executed by U2 will be described with reference to the flowcharts of FIGS. First, as shown in FIG. 3, when a motor drive signal is output from the control device, a start current control signal is output to the D / A conversion port to drive the motor M (step 41). . Next, the shunt resistor 31 detects the motor current (step 42). After the start, for example, after a lapse of a predetermined time (about 50 mS), the motor current detection voltage detected by the shunt resistor 31 is converted into digital data, and it is determined whether or not the current value is larger than an allowable maximum value (step 43). ). If it is determined that the bill is within the allowable maximum value, it is determined whether or not the bill has reached the bill outlet (step 44). When it is determined that the bill has arrived, the motor M is stopped (step 45), and the next step is performed. If the current flowing through the motor M is larger than the maximum allowable value in step 43, a motor control signal having a voltage value such that the motor current becomes the maximum allowable value is output (step 46). Next, it is determined whether it is within the first set time (step 47). Here, the first set time is a time during which the lock current can be allowed to flow through the motor M, and is set to 1 second in the present embodiment. When it is determined that the current is not within the first set time, the above-described step 44 is performed. On the other hand, when it is determined that the current is not within the first set time, a lock current is flowing through the motor M due to an abnormality occurring in the discharge belt or the like. Is determined, and the motor M is stopped (step 45). If it is determined in step 44 that the bill has not arrived, it is determined whether or not it is within the second set time (step 48). Here, the second set time is a time required to allow a margin (about 0.3 seconds) required for discharging a banknote from a banknote safe to a banknote outlet, and in the present embodiment, 3 seconds. Set to seconds. When it is determined that it is within the second set time, the process returns to step 42 described above to monitor the current value of the motor current. It is determined that a defect has occurred, and the output terminal 2
Then, the motor M is stopped by stopping the output of the high level signal from (step 45). Next, as shown in FIG. 4, it is determined whether or not the value of the current flowing through the motor M is 0, that is, whether or not the motor current is flowing through the motor M (step 5).
1). When it is determined that the current value is 0, the motor is determined based on whether the first set time has elapsed in step 47 and whether the second set time has elapsed in step 48. It is determined whether or not M is operating normally (step 52). When it is determined that the time is within the two hours, it is determined that the operation is normal, and the bill discharging process is terminated (step 53). If it is determined in step 51 that the motor current is flowing, a motor current control signal for setting the motor current to a value of 0 is output (step 5).
4) Next, it is determined that the motor drive IC has failed,
The fact that a circuit failure has occurred is displayed on a liquid crystal display (LCD) (not shown) (step 55), the exchange operation is suspended (step 56), and the bill discharging process is terminated (step 5).
3). If it is determined in step 52 that the motor M is not operating normally, it is determined whether or not the motor M is locked based on the determination result in step 47 (step 57). When it is determined that the motor lock has occurred, the fact that the motor lock has occurred is displayed on the liquid crystal display unit (step 58), the exchange operation is stopped (step 59), and the bill discharging process is terminated (step 5).
3). On the other hand, when it is determined that the motor lock has not occurred, it is determined that a transport failure has occurred due to a jam of bills or the like, and the fact that the transport failure has occurred is displayed on the liquid crystal display unit (step 60), and the exchange operation is stopped. (Step 59), the banknote discharge process ends (Step 53). As described above, in this embodiment, even when the motor M is locked, the amount of heat generated in the motor M, the PNP transistor 13 and the motor drive IC 7 is suppressed in order to limit the motor current to 2 A. Therefore, the heat radiation of the motor M is not necessary, and the motor M can be mounted on the resin plate.
The heat capacity of the heat sink attached to the NP transistor 13 and the motor drive IC 7 can be reduced. As a result, the size and cost of the device can be reduced. Further, even if the motor M continues to be driven due to the failure of the motor drive IC 7, the CPU 2 monitors the motor current detection voltage detected by the motor current detection circuit, and the motor current stops flowing. By outputting a motor current control signal having such a voltage value (for example, 0 V) to the motor drive circuit 3, the motor M can be stopped. Therefore, the motor M can be easily stopped without using any other component such as a relay. In this embodiment, the maximum permissible value is stored in the ROM, but can be set arbitrarily according to the volume. Further, the CPU 2 controls the motor current to be equal to or less than the allowable maximum value after a predetermined time has elapsed from the start of the motor M, but may control the motor current to be the allowable maximum value immediately after the start. it can. In this embodiment, a DC motor has been described. However, the present invention is not limited to this, and may be applied to an AC motor, a stepping motor, or any other motor. [0033] As is evident from the foregoing description, according to the motor current driving device of the present invention, the results can be reduced heat generated by the motor and the motor drive circuit, a motor and Motadora <br/> Lee Since there is no need to attach a heat radiating plate to the blower circuit or to blow air using a blower, the size of the device can be reduced and the cost of the device can be reduced.

【図面の簡単な説明】 【図1】実施例のモータ駆動装置の電気回路図である。 【図2】実施例のモータドライバの回路図である。 【図3】実施例のCPUが実行する紙幣排出処理のフロ
ーチャートである。 【図4】実施例のCPUが実行する紙幣排出処理のフロ
ーチャートである。 【符号の説明】 1 モータ駆動装置 2 CPU 3 モータドライブ回路 4 モータ電流検出回路 M モータ
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is an electric circuit diagram of a motor driving device according to an embodiment. FIG. 2 is a circuit diagram of a motor driver according to the embodiment. FIG. 3 is a flowchart of a bill discharging process executed by a CPU of the embodiment. FIG. 4 is a flowchart of a bill discharging process executed by a CPU according to the embodiment. [Description of Signs] 1 Motor drive device 2 CPU 3 Motor drive circuit 4 Motor current detection circuit M Motor

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H02P 7/00 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int. Cl. 7 , DB name) H02P 7/00

Claims (1)

(57)【特許請求の範囲】 【請求項1】 起動後のモータに流すモータ電流の許容
最大値を記憶するモータ電流記憶回路と、前記モータのモータ電流の電流値を検出するモータ電流
検出回路と、 モータ電流制御信号を出力し、前記検出されたモータ電
流が前記記憶されている許容最大値よりも大きいとき
に、前記モータ電流が前記許容最大値になるように、前
記モータ電流制御信号の電圧値を制御するモータ電流制
御回路と、 当該モータ電流制御回路から出力された前記モータ電流
制御信号の電圧値に応じた電流値のモータ電流を出力す
る第1のモータドライブ回路と、 駆動命令が入力されたときに、前記第1のモータドライ
ブ回路から出力されたモータ電流を 前記モータに供給す
第2のモータドライブ回路と、 を備え、 前記モータ電流制御回路は、前記第2のモータドライブ
回路に前記駆動命令が入力されず、かつ前記モータにモ
ータ電流が流れていることが前記モータ電流検出回路に
よって検出されたときに、当該モータ電流が流れなくな
るように、前記第1のモータドライブ回路に出力する
記モータ電流制御信号の電圧値を制御することを特徴と
するモータ駆動装置。
(57) [Claim 1] A motor current storage circuit for storing an allowable maximum value of a motor current flowing through a motor after starting, and a motor current for detecting a current value of the motor current of the motor.
A detection circuit, and outputs a motor current control signal, the detected motor electric
When the flow is greater than the stored maximum allowed
So that the motor current becomes the maximum allowable value.
A motor current control circuit for controlling the voltage value of the motor current control signal; and a motor current having a current value corresponding to the voltage value of the motor current control signal output from the motor current control circuit .
A first motor drive circuit, and when the drive command is input , the first motor drive circuit
And a second motor drive circuit for supplying a motor current output from the drive circuit to the motor, wherein the motor current control circuit comprises a second motor drive circuit.
The drive command is not input to the circuit and the motor is not
Motor current is flowing to the motor current detection circuit.
Therefore, when detected, the motor current stops flowing.
A motor drive device for controlling the voltage value of the motor current control signal output to the first motor drive circuit as described above .
JP31577894A 1994-11-25 1994-11-25 Motor drive Expired - Fee Related JP3474953B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31577894A JP3474953B2 (en) 1994-11-25 1994-11-25 Motor drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31577894A JP3474953B2 (en) 1994-11-25 1994-11-25 Motor drive

Publications (2)

Publication Number Publication Date
JPH08154389A JPH08154389A (en) 1996-06-11
JP3474953B2 true JP3474953B2 (en) 2003-12-08

Family

ID=18069443

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31577894A Expired - Fee Related JP3474953B2 (en) 1994-11-25 1994-11-25 Motor drive

Country Status (1)

Country Link
JP (1) JP3474953B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4804100B2 (en) * 2005-10-18 2011-10-26 三洋電機株式会社 Motor drive device, control method therefor, and air conditioner
JP4641986B2 (en) * 2006-08-30 2011-03-02 株式会社デンソー Variable valve timing control device for internal combustion engine
JP4641985B2 (en) * 2006-08-30 2011-03-02 株式会社デンソー Variable valve timing control device for internal combustion engine

Also Published As

Publication number Publication date
JPH08154389A (en) 1996-06-11

Similar Documents

Publication Publication Date Title
US6268711B1 (en) Battery manager
US7439708B2 (en) Battery charger with control of two power supply circuits
JPH08182219A (en) Charge control system and electronic apparatus
JPH11122967A (en) Control device for variable speed motor
US20090190280A1 (en) Current limiter circuit and motor drive circuit
JP3474953B2 (en) Motor drive
KR20010010006A (en) Cooling fan driving apparatus for car with obstacle sensing function
US20060049806A1 (en) Capacitor charging apparatus, semiconductor integrated circuit therefor, and capacitor charging-discharging system
JPS61240890A (en) Control circuit for variable magnetic reluctance motor
WO2005101644A1 (en) Motor drive
US7477502B1 (en) Method and system for providing fault protection in a power supply system
JP4121972B2 (en) Inverter device
US5825157A (en) Camera using solar battery
JP3013136B2 (en) Charge / discharge device
JP3473779B2 (en) Fault detection method of current detector
JP4083065B2 (en) Load drive device
JP3489438B2 (en) Battery pack
JPH05161277A (en) Method and device for charging battery
JP3169374B2 (en) Electronics
JP3397031B2 (en) Overdischarge prevention device
JPS58218881A (en) Device provided with plural dc motors
JP3357851B2 (en) Motor start control circuit
JPH10174311A (en) Electronic equipment using solar battery
JP2607370Y2 (en) Charge / discharge control circuit
JPH05308729A (en) Method for controlling cooling fan

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030902

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

Free format text: PAYMENT UNTIL: 20070919

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080919

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees