JP6673003B2 - Motor control device, sheet conveying device, image forming device, and motor control method - Google Patents

Motor control device, sheet conveying device, image forming device, and motor control method Download PDF

Info

Publication number
JP6673003B2
JP6673003B2 JP2016099616A JP2016099616A JP6673003B2 JP 6673003 B2 JP6673003 B2 JP 6673003B2 JP 2016099616 A JP2016099616 A JP 2016099616A JP 2016099616 A JP2016099616 A JP 2016099616A JP 6673003 B2 JP6673003 B2 JP 6673003B2
Authority
JP
Japan
Prior art keywords
motor
control device
state management
unit
polarity
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
JP2016099616A
Other languages
Japanese (ja)
Other versions
JP2017017979A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to US15/198,154 priority Critical patent/US9944482B2/en
Publication of JP2017017979A publication Critical patent/JP2017017979A/en
Application granted granted Critical
Publication of JP6673003B2 publication Critical patent/JP6673003B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Electric Motors In General (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Delivering By Means Of Belts And Rollers (AREA)

Description

本発明は、モータ制御装置、シート搬送装置、画像形成装置およびモータ制御方法に関する。   The present invention relates to a motor control device, a sheet conveying device, an image forming device, and a motor control method.

例えば画像形成装置には、画像形成に用いる用紙を搬送するためのモータなど、多くのモータが搭載されている。このようなモータの制御技術として、CPU(Central Processing Unit)からモータドライバに対してモータに印加する制御電圧に応じたPWM(Pulse Width Modulation)信号などの駆動信号を送り、この駆動信号に基づきモータドライバがモータを駆動する技術が知られている。   For example, an image forming apparatus is equipped with many motors such as a motor for transporting a sheet used for image formation. As such a motor control technique, a CPU (Central Processing Unit) sends a drive signal such as a PWM (Pulse Width Modulation) signal corresponding to a control voltage applied to the motor driver to a motor driver, and based on the drive signal, A technique in which a driver drives a motor is known.

モータの非駆動時には、通常、モータに電流が流れない。しかし、CPUからモータドライバに送られる駆動信号に何らかの異常が生じた場合、モータの非駆動時であるにもかかわらず、モータドライバが最大の制御電圧でモータを駆動しようとして、モータに深刻なダメージを与えてしまう場合がある。このため、モータの非駆動時における誤動作を防止することが求められる。   When the motor is not driven, no current normally flows through the motor. However, if any abnormality occurs in the drive signal sent from the CPU to the motor driver, the motor driver tries to drive the motor at the maximum control voltage even when the motor is not driven, and the motor is seriously damaged. May be given. For this reason, it is required to prevent a malfunction when the motor is not driven.

モータの非駆動時における誤動作を防止する技術としては、例えば、特許文献1に記載の技術が知られている。この技術は、モータの非駆動時は2分割型とされたアイソレーション回路の双方の制御電源を遮断してドライバ部をモータ非駆動状態に切り換えるとともに、ブレーキ装置をブレーキ動作状態に切り換えることで、モータが停止した状態を維持するものである。   As a technique for preventing a malfunction when the motor is not driven, for example, a technique described in Patent Document 1 is known. According to this technique, when the motor is not driven, the control power of both isolation circuits of the two-split type is shut off to switch the driver unit to the motor non-drive state and to switch the brake device to the brake operation state. This keeps the motor stopped.

しかし、特許文献1に記載の技術は、モータの非駆動時にブレーキ装置をブレーキ動作状態としてモータの停止状態を維持する構成であり、装置構成が大掛かりなものとなる。このため、モータの非駆動時における誤動作をより簡便に防止できるようにすることが求められる。   However, the technology described in Patent Literature 1 is a configuration in which the brake device is set to a brake operation state when the motor is not driven and the stopped state of the motor is maintained, and the device configuration becomes large. For this reason, it is demanded to be able to more easily prevent a malfunction when the motor is not driven.

上述した課題を解決するために、本発明は、モータの非駆動時に該モータに流れる電流を検出する電流検出手段と、検出された前記電流に対応する電圧の極性を判定する電圧極性判定手段と、前記電圧の極性に応じて前記モータを停止させる制御を行う動作状態管理手段と、を備える。   In order to solve the above-described problems, the present invention provides a current detection unit that detects a current flowing through a motor when the motor is not driven, a voltage polarity determination unit that determines a polarity of a voltage corresponding to the detected current. Operating state management means for performing control to stop the motor in accordance with the polarity of the voltage.

本発明によれば、モータの非駆動時における誤動作を簡便に防止することができるという効果を奏する。   ADVANTAGE OF THE INVENTION According to this invention, there exists an effect that malfunction at the time of non-drive of a motor can be easily prevented.

図1は、画像形成装置の概略構成図である。FIG. 1 is a schematic configuration diagram of the image forming apparatus. 図2は、モータ制御装置のハードウェア構成図である。FIG. 2 is a hardware configuration diagram of the motor control device. 図3は、CPUにより実現される機能的な構成例を示すブロック図である。FIG. 3 is a block diagram illustrating a functional configuration example realized by the CPU. 図4は、モータの非駆動時に電流が流れる現象を説明する図である。FIG. 4 is a diagram illustrating a phenomenon in which a current flows when the motor is not driven. 図5は、モニタ電圧に対して設定したマスク領域を説明する図である。FIG. 5 is a diagram illustrating a mask region set for a monitor voltage. 図6は、モータの非駆動時にCPUにより実行される処理シーケンスの一例を説明するフローチャートである。FIG. 6 is a flowchart illustrating an example of a processing sequence executed by the CPU when the motor is not driven. 図7は、上位CPUの機能的な構成例を示すブロック図である。FIG. 7 is a block diagram illustrating a functional configuration example of the upper CPU. 図8は、上位CPUにより実行される処理シーケンスの一例を説明するフローチャートである。FIG. 8 is a flowchart illustrating an example of a processing sequence executed by the upper CPU. 図9は、シャント抵抗をモータ電源側に設けた変形例のハードウェア構成図である。FIG. 9 is a hardware configuration diagram of a modification in which a shunt resistor is provided on the motor power supply side. 図10は、シャント抵抗に代えてホールセンサを設けた変形例のハードウェア構成図である。FIG. 10 is a hardware configuration diagram of a modification in which a hall sensor is provided instead of the shunt resistor. 図11は、画像形成装置に接続される給紙装置の概略構成図である。FIG. 11 is a schematic configuration diagram of a sheet feeding device connected to the image forming apparatus.

以下に添付図面を参照して、本発明に係るモータ制御装置、シート搬送装置、画像形成装置およびモータ制御方法の実施形態を詳細に説明する。以下では、本発明を適用可能な画像形成装置の一例として、中間転写方式のタンデム型カラー複写機を例示して説明する。   Exemplary embodiments of a motor control device, a sheet conveying device, an image forming device, and a motor control method according to the present invention will be described below in detail with reference to the accompanying drawings. Hereinafter, a tandem color copying machine of an intermediate transfer system will be described as an example of an image forming apparatus to which the present invention can be applied.

<第1実施形態>
図1は、本実施形態の画像形成装置1の概略構成図である。図1に示すように、画像形成装置1は、ADF(Auto Document Feeder)1Aと、装置本体1Bとを備える。装置本体1Bは、給紙部3と、画像読取部4と、画像形成部5とを含む。
<First embodiment>
FIG. 1 is a schematic configuration diagram of an image forming apparatus 1 of the present embodiment. As shown in FIG. 1, the image forming apparatus 1 includes an ADF (Auto Document Feeder) 1A and an apparatus main body 1B. The apparatus main body 1B includes a paper feed unit 3, an image reading unit 4, and an image forming unit 5.

ADF1Aは、原稿トレイ20と、原稿給紙ローラ21と、原稿搬送ベルト22と、原稿排紙ローラ23と、原稿排紙トレイ24とを有する。ADF1Aは、画像読取部4に対し、ヒンジなどの開閉機構を介して開閉自在に取り付けられている。   The ADF 1A includes a document tray 20, a document feed roller 21, a document transport belt 22, a document discharge roller 23, and a document discharge tray 24. The ADF 1A is openably and closably attached to the image reading unit 4 via an opening and closing mechanism such as a hinge.

原稿給紙ローラ21は、原稿トレイ20に載置された原稿束から原稿を1枚ずつ分離して、画像読取部4に向かって搬送する。原稿搬送ベルト22は、原稿給紙ローラ21によって分離された原稿を画像読取部4に搬送する。原稿排紙ローラ23は、原稿搬送ベルト22によって画像読取部4から排紙される原稿を、原稿トレイ20の下方の原稿排紙トレイ24に排紙する。   The document feed roller 21 separates documents one by one from the document bundle placed on the document tray 20 and transports the documents toward the image reading unit 4. The document transport belt 22 transports the document separated by the document feed roller 21 to the image reading unit 4. The document discharge roller 23 discharges a document discharged from the image reading unit 4 by the document conveying belt 22 to a document discharge tray 24 below the document tray 20.

画像読取部4は、筐体40と、走査光学ユニット41と、コンタクトガラス42と、駆動手段とを有する。走査光学ユニット41はLEDユニットを備え、筐体40の内部に設けられている。走査光学ユニット41は、LEDユニットから主走査方向に光を照射するとともに、駆動手段によって全照射領域内において副走査方向に走査される。これにより、走査光学ユニット41は、原稿の二次元カラー画像を読み取るようになっている。   The image reading unit 4 includes a housing 40, a scanning optical unit 41, a contact glass 42, and a driving unit. The scanning optical unit 41 includes an LED unit and is provided inside the housing 40. The scanning optical unit 41 emits light from the LED unit in the main scanning direction, and is scanned in the sub-scanning direction in the entire irradiation area by the driving unit. As a result, the scanning optical unit 41 reads a two-dimensional color image of a document.

コンタクトガラス42は、画像読取部4の筐体40の上部に設けられ、筐体40の上面部を構成している。駆動手段は、走査光学ユニット41に固定された不図示のワイヤと、このワイヤに橋架される複数の従動プーリおよび駆動プーリと、駆動プーリを回転させるモータとを備えている。   The contact glass 42 is provided on an upper portion of the housing 40 of the image reading unit 4 and forms an upper surface of the housing 40. The driving means includes a wire (not shown) fixed to the scanning optical unit 41, a plurality of driven pulleys and a driving pulley bridged by the wire, and a motor for rotating the driving pulley.

給紙部3は、給紙カセット30と、給紙手段31とを有する。給紙カセット30は用紙サイズの異なる記録媒体としての用紙を収容する。給紙手段31は、給紙カセット30に収納された用紙を画像形成部5の主搬送路70まで搬送する。   The paper supply unit 3 includes a paper supply cassette 30 and a paper supply unit 31. The paper feed cassette 30 stores paper as recording media having different paper sizes. The paper supply unit 31 transports the paper stored in the paper supply cassette 30 to the main transport path 70 of the image forming unit 5.

また、画像形成部5の側面には、手差しトレイ32が画像形成部5に対して開閉可能に配設されており、画像形成部5に対して開いた状態でトレイ上面に紙束が手差しされる。手差しされた紙束における一番上の用紙は、手差しトレイ32の送出ローラによって主搬送路70に向けて送り出される。   A manual tray 32 is provided on the side surface of the image forming unit 5 so as to be openable and closable with respect to the image forming unit 5. You. The uppermost sheet in the manually inserted sheet bundle is sent out toward the main transport path 70 by the sending roller of the manual feed tray 32.

主搬送路70には、レジストローラ対70aが配設されている。レジストローラ対70aは、主搬送路70内を搬送されてくる用紙をローラ間に挟み込んだ後、所定のタイミングで二次転写ニップに向けて送り込む。   The main transport path 70 is provided with a pair of registration rollers 70a. The registration roller pair 70a sandwiches the paper conveyed in the main conveyance path 70 between the rollers, and then feeds the paper toward the secondary transfer nip at a predetermined timing.

画像形成部5は、露光ユニット51、タンデム作像ユニット50、中間転写ベルト54、中間転写ローラ55、二次転写装置52、定着ユニット53などを有している。また、画像形成部5は、主搬送路70、反転搬送路73、排紙路60などを有している。   The image forming unit 5 includes an exposure unit 51, a tandem image forming unit 50, an intermediate transfer belt 54, an intermediate transfer roller 55, a secondary transfer device 52, a fixing unit 53, and the like. The image forming section 5 has a main transport path 70, a reverse transport path 73, a paper discharge path 60, and the like.

図1に示すように、露光ユニット51は、タンデム作像ユニット50に隣接して配置されている。露光ユニット51は、イエロー、シアン、マゼンタ、ブラックの各色に対応して設けられた感光体ドラム74に露光を行うようになっている。   As shown in FIG. 1, the exposure unit 51 is disposed adjacent to the tandem image forming unit 50. The exposure unit 51 exposes a photosensitive drum 74 provided for each color of yellow, cyan, magenta, and black.

タンデム作像ユニット50は、中間転写ベルト54の上であって、中間転写ベルト54の回転方向に沿って配置されたイエロー、シアン、マゼンタ、ブラックの4つの作像ユニット75から構成されている。個々の作像ユニット75は、詳細な図示を省略するが、上記各色に対応して設けられた感光体ドラム74の周りに帯電装置、現像装置、感光体クリーニング装置、除電装置などを備えている。そして、各感光体ドラム74とその周りに設けられる上記各装置がユニット化されて1つのプロセスカートリッジを構成している。   The tandem image forming unit 50 includes four image forming units 75 of yellow, cyan, magenta, and black arranged on the intermediate transfer belt 54 and along the rotation direction of the intermediate transfer belt 54. Although not shown in detail, each image forming unit 75 includes a charging device, a developing device, a photoconductor cleaning device, a static eliminator, and the like around photoconductor drums 74 provided for the respective colors. . Each of the photosensitive drums 74 and the above-described devices provided therearound are unitized to form one process cartridge.

タンデム作像ユニット50は、画像読取部4によって読み取られて色別分解された画像情報に基づいて、各感光体ドラム74に色分けしてトナーにより形成された可視画像(トナー画像)を形成するようになっている。また、各感光体ドラム74に形成された可視画像は、各感光体ドラム74と中間転写ローラ55との間で中間転写ベルト54に転写されるようになっている。   The tandem image forming unit 50 forms a visible image (toner image) formed by using toner on each of the photosensitive drums 74 based on the image information read by the image reading unit 4 and separated by color. It has become. The visible image formed on each photoconductor drum 74 is transferred to the intermediate transfer belt 54 between each photoconductor drum 74 and the intermediate transfer roller 55.

一方、中間転写ベルト54を挟んでタンデム作像ユニット50の反対側には、二次転写装置52が設けられている。二次転写装置52は、転写部材としての二次転写ローラ521を有している。この二次転写ローラ521を中間転写ベルト54に押し当てることにより、二次転写ニップを形成している。この二次転写ニップには、中間転写ベルト54に形成されたトナー画像が、給紙部3から主搬送路70を介して搬送された用紙に転写されるように構成されている。   On the other hand, a secondary transfer device 52 is provided on the opposite side of the tandem image forming unit 50 with the intermediate transfer belt 54 interposed therebetween. The secondary transfer device 52 has a secondary transfer roller 521 as a transfer member. The secondary transfer roller 521 is pressed against the intermediate transfer belt 54 to form a secondary transfer nip. In the secondary transfer nip, the toner image formed on the intermediate transfer belt 54 is configured to be transferred onto a sheet conveyed from the sheet feeding unit 3 via the main conveyance path 70.

二次転写ニップでトナー画像が転写された用紙は、2つの支持ローラ57に張架された用紙搬送ベルト56により定着ユニット53へ送り込まれる。   The sheet on which the toner image has been transferred at the secondary transfer nip is sent to the fixing unit 53 by a sheet transport belt 56 stretched over two support rollers 57.

定着ユニット53は、無端ベルトである定着ベルト58に加圧ローラ59を押し当てて構成している。そして、定着ユニット53は、加圧ローラ59により用紙に熱と圧力を加えることにより、用紙に転写されたトナー画像のトナーを溶融して、用紙にカラー画像として定着するようになっている。   The fixing unit 53 is configured by pressing a pressure roller 59 against a fixing belt 58 which is an endless belt. The fixing unit 53 applies heat and pressure to the sheet by the pressing roller 59 to melt the toner of the toner image transferred to the sheet and fix the toner image on the sheet as a color image.

このようにしてカラー画像が定着された用紙は、排紙搬送路としての排紙路60を経由して機外の排紙トレイ61上にスタックされる。   The sheet on which the color image has been fixed in this way is stacked on a sheet discharge tray 61 outside the apparatus via a sheet discharge path 60 as a sheet discharge conveyance path.

また、図1に示すように、反転搬送路73が、二次転写装置52および定着ユニット53の下側に設けられている。反転搬送路73は、用紙の両面に画像を形成するために、定着ユニット53から排出された用紙の表裏を反転させて再度、主搬送路70を介して二次転写装置52に供給するためのものである。   Further, as shown in FIG. 1, a reverse conveyance path 73 is provided below the secondary transfer device 52 and the fixing unit 53. The reversing conveyance path 73 is for reversing the front and back of the sheet discharged from the fixing unit 53 and supplying the sheet to the secondary transfer device 52 again via the main conveyance path 70 in order to form images on both sides of the sheet. Things.

以上のように構成される画像形成装置1において、ADF1Aは、シートの一例である原稿を搬送するシート搬送装置として機能する。また、装置本体1Bにおける給紙部3の給紙手段31、画像形成部5の主搬送路70、反転搬送路73および排紙路60などは、それぞれシートの一例である用紙を搬送するシート搬送装置として機能する。これらのシート搬送装置は、モータの動力によりローラ部材を回転させてシートを搬送する。本実施形態の画像形成装置1は、これらのシート搬送装置のモータを制御するために、以下で説明するモータ制御装置を備える。   In the image forming apparatus 1 configured as described above, the ADF 1A functions as a sheet conveying device that conveys a document as an example of a sheet. Further, the sheet feeding unit 31 of the sheet feeding unit 3, the main conveyance path 70, the reverse conveyance path 73, and the paper ejection path 60 of the image forming unit 5 in the apparatus main body 1 </ b> B are each configured to convey a sheet as an example of a sheet Functions as a device. These sheet conveying apparatuses convey a sheet by rotating a roller member by the power of a motor. The image forming apparatus 1 of the present embodiment includes a motor control device described below to control the motors of these sheet conveying devices.

図2は、本実施形態のモータ制御装置100のハードウェア構成図である。図2に示すように、本実施形態のモータ制御装置100は、モータMを駆動するモータドライバ110と、モータMの回転数を検出するエンコーダ(ENC)120と、モータMに流れる電流を検出するシャント抵抗130と、モータドライバ110の動作を制御するCPU140とを備える。   FIG. 2 is a hardware configuration diagram of the motor control device 100 of the present embodiment. As shown in FIG. 2, the motor control device 100 according to the present embodiment includes a motor driver 110 that drives the motor M, an encoder (ENC) 120 that detects the number of revolutions of the motor M, and a current that flows through the motor M. It includes a shunt resistor 130 and a CPU 140 that controls the operation of the motor driver 110.

本実施形態では、制御対象のモータMとしてブラシレスモータを想定する。ただし、制御対象のモータMはブラシレスモータに限定されるものではなく、様々なタイプのモータMを制御対象とすることができる。また、本実施形態では、モータMの回転数を検出するためにエンコーダ120を用いているが、他の方式でモータMの回転数を検出してもよい。   In the present embodiment, a brushless motor is assumed as the motor M to be controlled. However, the motor M to be controlled is not limited to a brushless motor, and various types of motors M can be controlled. In the present embodiment, the encoder 120 is used to detect the rotation speed of the motor M. However, the rotation speed of the motor M may be detected by another method.

モータドライバ110は、モータMの巻線の端子が接続されたスイッチング回路を備える。モータドライバ110は、CPU140から送られるPWM信号(駆動信号の一例)に基づいてこのスイッチング回路の動作を制御することによって、モータ電源VccからモータMを通ってグランドGNDへと流れる電流量を調整し、モータMを所望の制御電圧で駆動する。また、モータドライバ110は、CPU140から送られるブレーキ信号がON(論理値「1」)になると、モータ電源VccからモータMを通ってグランドGNDへと流れる電流を遮断してモータMを停止させるように、スイッチング回路の動作を制御する。   The motor driver 110 includes a switching circuit to which terminals of windings of the motor M are connected. The motor driver 110 controls the operation of this switching circuit based on a PWM signal (an example of a drive signal) sent from the CPU 140 to adjust the amount of current flowing from the motor power supply Vcc to the ground GND through the motor M. , And drives the motor M with a desired control voltage. When the brake signal sent from the CPU 140 is turned ON (logical value “1”), the motor driver 110 shuts off the current flowing from the motor power supply Vcc to the ground GND through the motor M and stops the motor M. Next, the operation of the switching circuit is controlled.

なお、本実施形態では、CPU140からモータドライバ110に対して送られる駆動信号としてPWM信号を用いる例を説明するが、駆動信号はモータMに印加する制御電圧に応じた信号であればよく、PWM信号に限らない。例えば、PFM信号(パルス周波数信号)を駆動信号として用いてもよいし、アナログ信号であってもよい。   In the present embodiment, an example will be described in which a PWM signal is used as a drive signal sent from the CPU 140 to the motor driver 110. However, the drive signal may be a signal corresponding to a control voltage applied to the motor M. Not limited to signals. For example, a PFM signal (pulse frequency signal) may be used as a drive signal or an analog signal.

モータドライバ110には、少なくとも、PWM信号を入力する端子と、ブレーキ信号を入力する端子と、スタート/ストップ信号を入力する端子とが設けられている。このうち、PWM信号を入力する端子とブレーキ信号を入力する端子は、それぞれハーネスを介してCPU140(後述の制御信号出力手段143)に接続されている。一方、スタート/ストップ信号を入力する端子は、その出力がスタート側に固定されている。すなわち、モータドライバ110は、スタート/ストップ信号がスタート側のときにPWM信号に基づいてスイッチング回路の動作を制御する構成であるが、スタート/ストップ信号を常にスタート側と認識しており、CPU140からハーネスを介して有意なPWM信号(ON区間(論理値「1」の区間)を含むPWM信号)が送られてくると、このPWM信号に基づいてスイッチング回路の動作を制御する。   The motor driver 110 has at least a terminal for inputting a PWM signal, a terminal for inputting a brake signal, and a terminal for inputting a start / stop signal. Among them, a terminal for inputting a PWM signal and a terminal for inputting a brake signal are connected to a CPU 140 (control signal output means 143 described later) via a harness, respectively. On the other hand, the output of the terminal for inputting the start / stop signal is fixed to the start side. In other words, the motor driver 110 is configured to control the operation of the switching circuit based on the PWM signal when the start / stop signal is on the start side. When a significant PWM signal (a PWM signal including an ON section (a section with a logical value of “1”) is sent via the harness, the operation of the switching circuit is controlled based on the PWM signal.

なお、本実施形態では、CPU140からモータドライバ110に対してPWM信号とブレーキ信号の2つの信号を送るものとしているが、これに加えてモータMの回転方向を示す回転方向信号を送るようにしてもよい。この場合、モータドライバ110は回転方向信号を入力する端子をさらに備え、この端子が出力する回転信号に応じて、スイッチング回路内の制御対象とするスイッチング素子を切り換える。   In the present embodiment, the CPU 140 sends two signals, a PWM signal and a brake signal, to the motor driver 110. In addition, the CPU 140 sends a rotation direction signal indicating the rotation direction of the motor M. Is also good. In this case, the motor driver 110 further includes a terminal for inputting a rotation direction signal, and switches a switching element to be controlled in the switching circuit according to the rotation signal output from the terminal.

また、本実施形態では、CPU140からモータドライバ110に送られるPWM信号およびブレーキ信号が、負論理の信号(LoレベルがONを示す信号)であることを想定する。したがって、PWM信号を送るハーネスに挟み込みなどによるショート故障が発生すると、PWM信号はON区間が連続する信号、すなわち、モータMを最大の制御電圧で駆動する信号となる。このため、このような異常が発生すると、モータMの非駆動中にモータドライバ110がモータMを最大の制御電圧で駆動しようとして、モータMに深刻なダメージを与える虞がある。そこで、本実施形態では、CPU140がこのようなモータMの非駆動時における誤動作の有無を判定し、誤動作している場合はブレーキ信号をONしてモータMを停止させる。なお、ブレーキ信号を送るハーネスに挟み込みなどによるショート故障が発生した場合は、モータドライバ110のブレーキ信号を入力する端子がON側に固定されるため、モータMは停止した状態が維持される。   In the present embodiment, it is assumed that the PWM signal and the brake signal sent from the CPU 140 to the motor driver 110 are negative logic signals (signals indicating that the Lo level is ON). Therefore, when a short-circuit failure occurs due to pinching in a harness for transmitting the PWM signal, the PWM signal becomes a signal in which ON sections are continuous, that is, a signal for driving the motor M with the maximum control voltage. Therefore, if such an abnormality occurs, the motor driver 110 may drive the motor M at the maximum control voltage while the motor M is not driven, and may seriously damage the motor M. Thus, in the present embodiment, the CPU 140 determines whether or not there is a malfunction when the motor M is not driven, and if so, turns on the brake signal to stop the motor M. If a short-circuit failure occurs due to pinching in the harness that sends the brake signal, the terminal for inputting the brake signal of the motor driver 110 is fixed to the ON side, so that the motor M remains stopped.

なお、PWM信号が正論理の信号(HiレベルがONを示す信号)である場合であっても、PWM信号を送るハーネスに断線などのオープン故障が発生すると同様の誤動作が生じるため、本実施形態の上述した機能は有効である。モータドライバ110は、ブレーキ信号を送るハーネスに異常が生じた場合は、ショート故障かオープン故障かにかかわらず、ブレーキ信号を入力する端子の出力をON側に固定する構成であることが望ましい。   Even when the PWM signal is a positive logic signal (a signal indicating that the Hi level indicates ON), the same malfunction occurs when an open failure such as a disconnection occurs in the harness that transmits the PWM signal. The above-mentioned function is effective. It is desirable that the motor driver 110 be configured to fix the output of the terminal for inputting the brake signal to the ON side regardless of whether a short circuit or an open circuit occurs when an abnormality occurs in the harness for transmitting the brake signal.

エンコーダ120は、モータMの回転数に応じたENC信号を出力する。このENC信号は、モータMの現在の駆動状態を表す信号であるため、例えば、CPU140においてモータMの速度フィードバック制御を行うために用いられる。   The encoder 120 outputs an ENC signal according to the rotation speed of the motor M. Since the ENC signal is a signal indicating the current driving state of the motor M, it is used, for example, to perform speed feedback control of the motor M in the CPU 140.

シャント抵抗130は、例えばモータMとグランドGNDとの間に直列に接続された抵抗であり、モータMに流れる電流を検出する。すなわち、モータMに電流が流れると、その電流の大きさに応じた電位差がシャント抵抗130の両端に発生する。この電位差から、モータMに流れる電流を検出することができる。   The shunt resistor 130 is, for example, a resistor connected in series between the motor M and the ground GND, and detects a current flowing through the motor M. That is, when a current flows through the motor M, a potential difference corresponding to the magnitude of the current is generated at both ends of the shunt resistor 130. From this potential difference, the current flowing through the motor M can be detected.

シャント抵抗130は、通常、モータMの駆動時における過電流の検出に用いられる。つまり、モータドライバ110が、このシャント抵抗130により検出される電流が過剰にならないように電流制限を行う。本実施形態では、このシャント抵抗130の両端に発生する電位差をモニタ電圧としてCPU140に入力し、モータMの非駆動時にモータMに流れる電流を検出するために用いる。シャント抵抗130を用いた電流検出は、モータMに流れる電流を検出する方式の中で、特に安価かつ簡便に行える方式である。   The shunt resistor 130 is usually used for detecting an overcurrent when the motor M is driven. That is, the motor driver 110 limits the current so that the current detected by the shunt resistor 130 does not become excessive. In the present embodiment, a potential difference generated between both ends of the shunt resistor 130 is input to the CPU 140 as a monitor voltage, and is used to detect a current flowing through the motor M when the motor M is not driven. The current detection using the shunt resistor 130 is a method that can be performed particularly cheaply and easily among the methods for detecting the current flowing through the motor M.

CPU140は、上位CPUから速度目標値および起動/停止指令、エンコーダ120からENC信号をそれぞれ入力し、モータドライバ110に対してPWM信号とブレーキ信号を出力して、モータドライバ110の動作を制御する。また、CPU140は、モータMの非駆動時に上述のモニタ電圧を入力し、このモニタ電圧に基づいてモータMの非駆動時における誤動作の有無を判定する。そして、モータMが誤動作していると判定した場合、CPU140は、ブレーキ信号をONにしてモータMを停止させるとともに、上位CPUに対して異常が発生したことを通知する。ここで、モータMの非駆動時とは、上位CPUからCPU140に対してモータMを駆動する指令、つまりモータMの起動指令や速度目標値などが入力されていない状態をいう。なお、上位CPUは、本実施形態のモータ制御装置100を搭載した画像形成装置1全体の動作を制御する上位制御装置の一例である。モータ制御装置100のCPU140は、この上位CPUに対して通信可能に接続されている。   The CPU 140 controls the operation of the motor driver 110 by inputting a speed target value and a start / stop command from the host CPU and an ENC signal from the encoder 120 and outputting a PWM signal and a brake signal to the motor driver 110. Further, the CPU 140 inputs the above-described monitor voltage when the motor M is not driven, and determines whether or not there is a malfunction when the motor M is not driven based on the monitor voltage. When it is determined that the motor M is malfunctioning, the CPU 140 turns on the brake signal to stop the motor M, and notifies the upper CPU of the occurrence of the abnormality. Here, the non-driving state of the motor M refers to a state in which a command to drive the motor M from the host CPU to the CPU 140, that is, a start command of the motor M, a target speed value, or the like is not input. The host CPU is an example of a host control device that controls the operation of the entire image forming apparatus 1 including the motor control device 100 of the present embodiment. The CPU 140 of the motor control device 100 is communicably connected to the host CPU.

図3は、CPU140により実現される機能的な構成例を示すブロック図である。図3に示すように、CPU140は、本実施形態のモータ制御にかかわる機能的な構成要素として、動作状態管理手段141と、制御電圧算出手段142と、制御信号出力手段143と、電圧極性判定手段144とを備える。これらの機能的な構成要素は、例えば、CPU140が所定の制御プログラムを実行することにより実現される。なお、これらの機能的な構成要素の一部または全部を、汎用プロセッサであるCPU140ではなく、例えばASIC(Application Specific Integrated Circuit)やFPGA(Field-Programmable Gate Array)などの専用のハードウェアを用いて実現することもできる。   FIG. 3 is a block diagram illustrating a functional configuration example realized by the CPU 140. As shown in FIG. 3, the CPU 140 includes, as functional components related to the motor control of the present embodiment, an operation state management unit 141, a control voltage calculation unit 142, a control signal output unit 143, and a voltage polarity determination unit. 144. These functional components are realized, for example, by the CPU 140 executing a predetermined control program. It should be noted that some or all of these functional components are not used by the CPU 140, which is a general-purpose processor, but by dedicated hardware such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array). It can also be achieved.

動作状態管理手段141は、モータMの動作状態が上位CPUからの指令に応じた動作状態となるように、制御電圧算出手段142および制御信号出力手段143に対して指示を出力する。すなわち、上位CPUからモータMの起動指令が入力されると、動作状態管理手段141は、制御信号出力手段143に対してブレーキ信号をOFFにすることを指示するとともに、モータMの起動指令とともに上位CPUから入力される速度目標値を制御電圧算出手段142に渡して、モータMに印加する制御電圧の算出を制御電圧算出手段142に指示する。また、上位CPUからモータMの停止指令が入力されると、動作状態管理手段141は、制御信号出力手段143に対してブレーキ信号をONにすることを指示してモータMを停止させる。   The operation state management unit 141 outputs an instruction to the control voltage calculation unit 142 and the control signal output unit 143 so that the operation state of the motor M becomes an operation state according to a command from the host CPU. That is, when a start command of the motor M is input from the host CPU, the operation state management unit 141 instructs the control signal output unit 143 to turn off the brake signal, and together with the start instruction of the motor M, The speed target value input from the CPU is passed to the control voltage calculation means 142 to instruct the control voltage calculation means 142 to calculate the control voltage applied to the motor M. When a stop command for the motor M is input from the host CPU, the operation state management means 141 instructs the control signal output means 143 to turn on the brake signal, and stops the motor M.

また、動作状態管理手段141は、モータMの非駆動時に、電圧極性判定手段144に対してモータMが誤動作しているか否かの判定を指示する。そして、電圧極性判定手段144によりモータMが誤動作していると判定されると、動作状態管理手段141は、制御信号出力手段143に対してブレーキ信号をONにすることを指示してモータMを停止させるとともに、上位CPUに対して異常が発生したことを通知する。また、電圧極性判定手段144によりモータMが外部から回されている状態であると判定されると、動作状態管理手段141は、モータMが外部から回されていることを、上位CPUに対して通知する。なお、電圧極性判定手段144は、モータMの非駆動時におけるモニタ電圧の極性に基づいてモータMの誤動作を判定するが、これについては後述する。   In addition, the operation state management unit 141 instructs the voltage polarity determination unit 144 to determine whether the motor M is malfunctioning when the motor M is not driven. When the voltage polarity determining means 144 determines that the motor M is malfunctioning, the operating state managing means 141 instructs the control signal output means 143 to turn on the brake signal and turns the motor M on. The CPU is stopped, and the host CPU is notified that an abnormality has occurred. When the voltage polarity determining means 144 determines that the motor M is being turned from the outside, the operating state managing means 141 notifies the host CPU that the motor M is being turned from the outside. Notice. The voltage polarity determining unit 144 determines a malfunction of the motor M based on the polarity of the monitor voltage when the motor M is not driven, which will be described later.

制御電圧算出手段142は、動作状態管理手段141から制御電圧算出指示とともに渡される速度目標値と、エンコーダ120から入力されるENC信号によって示されるモータMの現在の回転数とを比較して、速度偏差を補正するように、モータMに印加する制御電圧を算出する。制御電圧算出手段142により算出された制御電圧は、制御信号出力手段143に渡される。   The control voltage calculation unit 142 compares the target speed value passed along with the control voltage calculation instruction from the operation state management unit 141 with the current rotation speed of the motor M indicated by the ENC signal input from the encoder 120, and The control voltage applied to the motor M is calculated so as to correct the deviation. The control voltage calculated by the control voltage calculation means 142 is passed to the control signal output means 143.

制御信号出力手段143は、制御電圧算出手段142により算出された制御電圧に応じたPWM信号を出力する。また、制御信号出力手段143は、動作状態管理手段141によりON/OFFが制御されるブレーキ信号を出力する。制御信号出力手段143が出力するPWM信号やブレーキ信号は、上述したように、それぞれハーネスを介してCPU140からモータドライバ110に送られ、モータドライバ110の各端子に入力される。   The control signal output unit 143 outputs a PWM signal according to the control voltage calculated by the control voltage calculation unit 142. Further, the control signal output unit 143 outputs a brake signal whose ON / OFF is controlled by the operation state management unit 141. As described above, the PWM signal and the brake signal output from the control signal output unit 143 are sent from the CPU 140 to the motor driver 110 via the harness, and input to each terminal of the motor driver 110, as described above.

電圧極性判定手段144は、モータMの非駆動時に、モータMに流れる電流を検出するシャント抵抗130の両端に発生する電位差をモニタ電圧として入力し、このモニタ電圧の極性に基づいて、モータMが誤動作しているか否かを判定する。すなわち、モータ電源VccからモータMを通りグランドGNDに向かって流れる電流に対応するモニタ電圧の極性をプラスとする。このとき、電圧極性判定手段144は、モニタ電圧の極性がプラスである場合に、モータMが誤動作していると判定する。一方、モニタ電圧の極性がマイナスである場合は、電圧極性判定手段144は、モータMが外部から回されている状態であると判定する。ここで、モータMが外部から回されている状態とは、例えば、画像形成装置1にジャムが発生してオペレータがシート(原稿や用紙)を引き抜く作業を行う際にモータMがつれ回り回転した場合など、モータドライバ110の駆動によらずにモータMが回転している状態をいう。   When the motor M is not driven, the voltage polarity determination unit 144 inputs a potential difference generated between both ends of the shunt resistor 130 that detects a current flowing through the motor M as a monitor voltage. Based on the polarity of the monitor voltage, the motor M It is determined whether or not a malfunction has occurred. That is, the polarity of the monitor voltage corresponding to the current flowing from the motor power supply Vcc to the ground GND through the motor M is made positive. At this time, when the polarity of the monitor voltage is positive, the voltage polarity determination unit 144 determines that the motor M is malfunctioning. On the other hand, when the polarity of the monitor voltage is negative, the voltage polarity determination unit 144 determines that the motor M is being rotated from the outside. Here, the state in which the motor M is being rotated from the outside means, for example, that the motor M has rotated around when a jam occurs in the image forming apparatus 1 and the operator pulls out a sheet (document or paper). For example, a state in which the motor M is rotating without depending on the driving of the motor driver 110.

図4は、モータMの非駆動時に電流が流れる現象を説明する図であり、(a)は、CPU140からモータドライバ110にPWM信号を送るハーネスにショート故障が発生した場合の例を示し、(b)は、ジャム処理中にモータMがつれ回り回転した場合の例を示している。   4A and 4B are diagrams illustrating a phenomenon in which a current flows when the motor M is not driven. FIG. 4A illustrates an example in which a short circuit has occurred in a harness that sends a PWM signal from the CPU 140 to the motor driver 110. FIG. 3B shows an example in which the motor M rotates while rotating in a jam.

PWM信号を送るハーネスに挟み込みなどによるショート故障が発生すると、PWM信号はON区間が連続する信号となり、モータドライバ110がモータMを最大の制御電圧で駆動しようとする。その結果、図4(a)に示すように、モータ電源VccからモータMを通ってグランドGNDに向かう方向のモータ駆動電流Idが流れる。そして、このモータ駆動電流Idに対応するモニタ電圧の極性はプラスになるため、CPU140の電圧極性判定手段144は、モータMが誤動作していると判定する。   When a short-circuit failure occurs due to pinching in a harness that transmits a PWM signal, the PWM signal becomes a signal in which ON sections are continuous, and the motor driver 110 attempts to drive the motor M with the maximum control voltage. As a result, as shown in FIG. 4A, a motor drive current Id flows from the motor power supply Vcc through the motor M to the ground GND. Then, since the polarity of the monitor voltage corresponding to the motor drive current Id is positive, the voltage polarity determination means 144 of the CPU 140 determines that the motor M is malfunctioning.

一方、画像形成装置1に対するジャム処理中に、オペレータがシートを引き抜く作業を行うことでモータMがつれ回り回転した場合は、モータMが発電機として動作する。その結果、図4(c)に示すように、グランドGNDからモータMを通ってモータ電源Vccに向かう方向のモータ発電電流Igが流れる。そして、このモータ発電電流Igに対応するモニタ電圧の極性はマイナスになるため、CPU140の電圧極性判定手段144は、モータMが外部から回されている状態であると判定する。   On the other hand, when the operator rotates the motor M during the jam processing for the image forming apparatus 1 by pulling out the sheet, the motor M operates as a generator. As a result, as shown in FIG. 4C, a motor generated current Ig flows from the ground GND to the motor power supply Vcc through the motor M. Then, since the polarity of the monitor voltage corresponding to the motor generated current Ig becomes negative, the voltage polarity determining means 144 of the CPU 140 determines that the motor M is being turned from the outside.

以上のように、モータMの非駆動時に電流が流れる現象は、PWM信号を送るハーネスのショート故障などに起因してモータMが誤動作している場合だけでなく、例えばジャム処理中にモータMがつれ回り回転している場合など、モータMが外部から回されている状態である場合にも発生する。したがって、モータMの非駆動時に電流が流れている場合にモータMが誤動作していると判定する構成であると、モータMが外部から回されている状態のときにもモータMが誤動作していると誤って判定してしまう。そこで、本実施形態では、モータMの非駆動時に流れる電流に対応するモニタ電圧をCPU140に入力し、CPU140の電圧極性判定手段144が、このモニタ電圧の極性に基づいて、モータMが誤動作しているのか、あるいは、モータMが外部から回された状態であるのかを判定するようにしている。   As described above, the phenomenon that current flows when the motor M is not driven is caused not only when the motor M is malfunctioning due to a short-circuit failure of the harness that sends the PWM signal, but also when the motor M This also occurs when the motor M is being rotated from the outside, such as when the motor M is rotating. Therefore, if the configuration is such that it is determined that the motor M is malfunctioning when the current is flowing when the motor M is not driven, the motor M malfunctions even when the motor M is being turned from the outside. Is incorrectly determined to be Therefore, in the present embodiment, a monitor voltage corresponding to the current flowing when the motor M is not driven is input to the CPU 140, and the voltage polarity determining unit 144 of the CPU 140 causes the motor M to malfunction based on the polarity of the monitor voltage. Or whether the motor M is being turned from the outside.

モータMに電流が流れていない場合、通常は、シャント抵抗130の両端の電位差がゼロになるため、CPU140に入力されるモニタ電圧の値もゼロとなる。しかし、例えばノイズの混入などにより、モータMに電流が流れていないにも関わらず、モニタ電圧がゼロ以外の値を示す場合もある。そこで、絶対値が予め定めた基準値以下となる電圧値の範囲をマスク領域として設定し、モニタ電圧の値がマスク領域内であれば電圧極性判定手段144による判定を行わない構成とすることが望ましい。すなわち、電圧極性判定手段144は、モニタ電圧の値(絶対値)が基準値を超える場合にモニタ電圧の極性を判定し、このモニタ電圧の極性に基づいて、モータMが誤動作しているのか、あるいは、モータMが外部から回された状態であるのかを判定することが望ましい。   When no current flows through the motor M, normally, the potential difference between both ends of the shunt resistor 130 becomes zero, so that the value of the monitor voltage input to the CPU 140 also becomes zero. However, the monitor voltage may indicate a value other than zero even though no current flows through the motor M due to, for example, noise. Therefore, a configuration in which the voltage value range in which the absolute value is equal to or less than a predetermined reference value is set as the mask region, and the determination by the voltage polarity determination unit 144 is not performed if the monitor voltage value is within the mask region. desirable. That is, the voltage polarity determination means 144 determines the polarity of the monitor voltage when the value (absolute value) of the monitor voltage exceeds the reference value, and determines whether the motor M is malfunctioning based on the polarity of the monitor voltage. Alternatively, it is desirable to determine whether the motor M is being turned from the outside.

図5は、モニタ電圧に対して設定したマスク領域を説明する図である。マスク領域は、例えば±10V程度の範囲に設定される。図5(a)に示す例では、モニタ電圧の値がマスク領域内ではなく、かつ、モニタ電圧の極性がプラスであるため、電圧極性判定手段144は、モータMが誤動作していると判定する。また、図5(b)に示す例では、モニタ電圧の値がマスク領域内ではなく、かつ、モニタ電圧の極性がマイナスであるため、電圧極性判定手段144は、モータMが外部から回されている状態であると判定する。   FIG. 5 is a diagram illustrating a mask region set for a monitor voltage. The mask area is set, for example, in a range of about ± 10V. In the example shown in FIG. 5A, the value of the monitor voltage is not within the mask area, and the polarity of the monitor voltage is positive. Therefore, the voltage polarity determination unit 144 determines that the motor M is malfunctioning. . Further, in the example shown in FIG. 5B, since the value of the monitor voltage is not within the mask area and the polarity of the monitor voltage is negative, the voltage polarity determination unit 144 determines that the motor M is externally turned. It is determined that it is in the state of being.

上述したように、電圧極性判定手段144によりモータMが誤動作していると判定されると、動作状態管理手段141は、制御信号出力手段143に対してブレーキ信号をONにすることを指示してモータMを停止させるとともに、上位CPUに対して異常が発生したことを通知する。これにより、モータMの非駆動時における誤動作を有効に防止することができるとともに、例えば上位CPUがオペレーションパネルに異常発生の警告を表示させるなどの制御を行うことで、モータMの誤動作の要因となった異常を早期に復旧させる対応をオペレータに促すことができる。   As described above, when the voltage polarity determination unit 144 determines that the motor M is malfunctioning, the operation state management unit 141 instructs the control signal output unit 143 to turn on the brake signal. The motor M is stopped, and the host CPU is notified that an abnormality has occurred. This can effectively prevent the malfunction of the motor M when the motor M is not driven. In addition, for example, when the host CPU performs control such as displaying a warning of occurrence of an abnormality on the operation panel, the cause of the malfunction of the motor M can be reduced. The operator can be urged to take measures to recover the abnormal condition early.

また、電圧極性判定手段144によりモータMが外部から回されている状態であると判定されると、動作状態管理手段141は、上述したように、モータMが外部から回されていることを、上位CPUに対して通知する。この通知は、例えば、上位CPUがオペレーションパネルにジャム処理中であることを表示させる制御を行ったり、シートの搬送経路に設けられたセンサの信号を入力してシートの残留を検知する処理の開始タイミングを判断したりするために有用な情報として利用される。ただし、動作状態管理手段141から上位CPUへの通知は必須ではなく、必要に応じて必要な通知を行う構成とすればよい。   Further, when the voltage polarity determination unit 144 determines that the motor M is being rotated from the outside, the operation state management unit 141 determines that the motor M is being rotated from the outside as described above. Notify the upper CPU. This notification is performed, for example, by controlling the upper CPU to display on the operation panel that a jam is being processed, or by starting a process of detecting a remaining sheet by inputting a signal of a sensor provided on a sheet conveyance path. It is used as useful information for judging timing. However, the notification from the operation state management means 141 to the upper CPU is not indispensable, and a configuration may be adopted in which necessary notification is performed as needed.

また、モニタ電圧の極性に基づいてモータMが誤動作しているか否かを判定する機能を動作状態管理手段141に持たせるように構成してもよい。この場合、電圧極性判定手段144は、例えばモニタ電圧の値がマスク領域内でない、つまりモニタ電圧の値(絶対値)が基準値を超えている場合にモニタ電圧の極性を判定し、モニタ電圧の極性を示す判定結果を動作状態管理手段141に渡す。そして、動作状態管理手段141は、モニタ電圧の極性がプラスである場合に、制御信号出力手段143に対してブレーキ信号をONにすることを指示してモータMを停止させるとともに、上位CPUに対して異常が発生したことを通知する。また、モニタ電圧の極性がマイナスである場合は、動作状態管理手段141は、モータMが外部から回されている状態であることを、上位CPUに対して通知する。   Further, the operation state management unit 141 may be configured to have a function of determining whether the motor M is malfunctioning based on the polarity of the monitor voltage. In this case, the voltage polarity determination unit 144 determines the polarity of the monitor voltage, for example, when the value of the monitor voltage is not within the mask area, that is, when the value (absolute value) of the monitor voltage exceeds the reference value. The determination result indicating the polarity is passed to the operation state management unit 141. When the polarity of the monitor voltage is positive, the operation state management means 141 instructs the control signal output means 143 to turn on the brake signal to stop the motor M, and instructs the host CPU to To notify that an error has occurred. If the polarity of the monitor voltage is negative, the operation state management unit 141 notifies the host CPU that the motor M is being rotated from the outside.

次に、本実施形態のモータ制御装置100のモータMの非駆動時における動作について、図6のフローチャートを参照して説明する。図6は、モータMの非駆動時にCPU140により実行される処理シーケンスの一例を説明するフローチャートである。   Next, the operation of the motor control device 100 of the present embodiment when the motor M is not driven will be described with reference to the flowchart of FIG. FIG. 6 is a flowchart illustrating an example of a processing sequence executed by CPU 140 when motor M is not driven.

まず、動作状態管理手段141が、モータMの非駆動時であるか否かを判定する(ステップS101)。ここで、モータMの駆動時である場合は(ステップS101:No)、そのまま処理シーケンスが終了する。一方、モータMの非駆動時であれば(ステップS101:Yes)、電圧極性判定手段144が、動作状態管理手段141からの指示に従ってモニタ電圧を読み込み、モニタ電圧の値がマスク領域内であるか否かを判定する(ステップS102)。ここで、モニタ電圧の値がマスク領域内である場合は(ステップS102:Yes)、そのまま処理シーケンスが終了する。一方、モニタ電圧の値がマスク領域内でない場合は(ステップS102:No)、電圧極性判定手段144は、モニタ電圧の極性がプラスか否かを判定する(ステップS103)。   First, the operation state management means 141 determines whether or not the motor M is not driven (step S101). Here, when the motor M is being driven (step S101: No), the processing sequence ends as it is. On the other hand, when the motor M is not driven (step S101: Yes), the voltage polarity determination unit 144 reads the monitor voltage according to the instruction from the operation state management unit 141, and determines whether the value of the monitor voltage is within the mask area. It is determined whether or not it is (step S102). Here, if the value of the monitor voltage is within the mask area (step S102: Yes), the processing sequence ends as it is. On the other hand, when the value of the monitor voltage is not within the mask area (Step S102: No), the voltage polarity determination unit 144 determines whether the polarity of the monitor voltage is positive (Step S103).

ステップS103の判定の結果、モニタ電圧の極性がプラスである場合は(ステップS103:Yes)、制御信号出力手段143が、動作状態管理手段141からの指示に従ってブレーキ信号をONにして(ステップS104)、モータMを停止させる。また、動作状態管理手段141が、異常が発生したことを上位CPUへ通知して(ステップS105)、処理シーケンスが終了する。一方、ステップS103の判定の結果、モニタ電圧の極性がマイナスである場合は(ステップS103:No)、動作状態管理手段141が、モータが外部から回されていることを上位CPUに通知して(ステップS106)、処理シーケンスが終了する。   If the result of determination in step S103 is that the polarity of the monitor voltage is positive (step S103: Yes), the control signal output means 143 turns on the brake signal in accordance with the instruction from the operation state management means 141 (step S104). Then, the motor M is stopped. Further, the operation state management unit 141 notifies the upper CPU of the occurrence of the abnormality (step S105), and the processing sequence ends. On the other hand, if the result of determination in step S103 is that the polarity of the monitor voltage is negative (step S103: No), the operating state management means 141 notifies the host CPU that the motor is being turned from the outside ( Step S106), the processing sequence ends.

以上、具体的な例を挙げながら詳細に説明したように、本実施形態のモータ制御装置100は、モータMの非駆動時に、モータMに流れる電流に対応するモニタ電圧をCPU140に入力し、CPU140が、このモニタ電圧の極性に応じてモータMを停止させる制御を行う。したがって、本実施形態のモータ制御装置100によれば、モータMの非駆動時における誤動作を簡便に防止することができる。   As described above in detail with reference to a specific example, the motor control device 100 of the present embodiment inputs the monitor voltage corresponding to the current flowing through the motor M to the CPU 140 when the motor M is not driven, and Performs control to stop the motor M according to the polarity of the monitor voltage. Therefore, according to the motor control device 100 of the present embodiment, it is possible to easily prevent a malfunction when the motor M is not driven.

従来の一般的なモータ制御装置では、CPUからモータドライバに対して、PWM信号などの駆動信号のほかにスタート/ストップ信号が送られる。そして、モータドライバは、このスタート/ストップ信号がスタート側である場合に、CPUから送られる駆動信号に基づいてモータを駆動する。これに対し、本実施形態のモータ制御装置100は、上述したように、スタート/ストップ信号をモータドライバ110においてスタート側に固定し、PWM信号のみでモータMの駆動を制御する構成としている。これにより、CPU140からモータドライバ110にスタート/ストップ信号を送る必要がないため、CPU140とモータドライバ110との間のハーネスの削減を実現できる。   In a conventional general motor control device, a start / stop signal is sent from a CPU to a motor driver in addition to a drive signal such as a PWM signal. When the start / stop signal is on the start side, the motor driver drives the motor based on the drive signal sent from the CPU. On the other hand, the motor control device 100 of the present embodiment has a configuration in which the start / stop signal is fixed to the start side in the motor driver 110 and the driving of the motor M is controlled only by the PWM signal, as described above. Accordingly, since it is not necessary to send a start / stop signal from the CPU 140 to the motor driver 110, it is possible to reduce the harness between the CPU 140 and the motor driver 110.

このような構成の本実施形態のモータ制御装置100では、従来の一般的なモータ制御装置よりも、モータMの非駆動時における誤動作に対して厳重な対策を講じることが求められる。すなわち、例えばCPU140からモータドライバ110にPWM信号を送るハーネスに挟み込みによるショート故障などの異常が生じた場合、モータMの非駆動時であるにもかかわらず、モータドライバ110が最大の制御電圧でモータMを駆動しようとして、モータMに深刻なダメージを与えてしまう場合がある。従来の一般的なモータ制御装置において上記の誤動作が発生するのは、CPUからモータドライバにPWM信号を送るハーネスとスタート/ストップ信号を送るハーネスとの双方にショート故障などの異常が生じるといった稀なケースであった。これに対し、PWM信号のみでモータMの駆動を制御する本実施形態の構成の場合、PWM信号を送るハーネスにショート故障などの異常が生じるだけで上記の誤動作が発生する。   In the motor control device 100 of the present embodiment having such a configuration, it is required to take stricter measures against a malfunction when the motor M is not driven than in a conventional general motor control device. That is, for example, when an abnormality such as a short circuit occurs due to pinching in a harness that sends a PWM signal from the CPU 140 to the motor driver 110, the motor driver 110 operates at the maximum control voltage even when the motor M is not driven. Attempting to drive M may cause serious damage to motor M. In the conventional general motor control device, the above-mentioned malfunction is rarely caused by an abnormality such as a short-circuit failure occurring in both the harness for transmitting the PWM signal from the CPU to the motor driver and the harness for transmitting the start / stop signal. Was the case. On the other hand, in the case of the configuration of the present embodiment in which the driving of the motor M is controlled only by the PWM signal, the malfunction described above occurs only when an abnormality such as a short-circuit failure occurs in the harness that transmits the PWM signal.

しかし、本実施形態のモータ制御装置100では、モータMの非駆動時に上記のような誤動作が生じた場合に、モータMに流れる電流に対応するモニタ電圧の極性からこの誤動作をいち早く検知して、CPU140がモータMを停止させる制御を行うため、上記のような誤動作によってモータMに深刻なダメージを与えてしまう不都合を有効に抑制することができる。   However, in the motor control device 100 of the present embodiment, when the above-described malfunction occurs when the motor M is not driven, the malfunction is quickly detected from the polarity of the monitor voltage corresponding to the current flowing through the motor M, Since the CPU 140 performs control to stop the motor M, it is possible to effectively suppress the inconvenience of causing serious damage to the motor M due to the above malfunction.

また、本実施形態のモータ制御装置100によれば、CPU140がモータMを停止させる際に異常が発生したことを上位CPUに通知するようにしているので、例えば上位CPUがオペレーションパネルに異常発生の警告を表示させるなどの制御を行うことで、モータMの誤動作の要因となった異常を早期に復旧させる対応をオペレータに促すことができる。   Further, according to the motor control device 100 of the present embodiment, the CPU 140 notifies the upper CPU that an abnormality has occurred when the motor M is stopped. By performing a control such as displaying a warning, it is possible to urge the operator to quickly recover from the abnormality that caused the malfunction of the motor M.

また、本実施形態のモータ制御装置100によれば、モニタ電圧の極性に応じてモータMが外部から回されている状態であると判定される場合に、モータMが外部から回されていることをCPU140が上位CPUに通知するようにしているので、この情報を用いて、上位CPUがオペレーションパネルにジャム処理中であることを表示させる制御を行ったり、シートの搬送経路に設けられたセンサの信号を入力してシートの残留を検知する処理の開始タイミングを判断したりすることができる。   Further, according to the motor control device 100 of the present embodiment, when it is determined that the motor M is being rotated from outside according to the polarity of the monitor voltage, the motor M is being rotated from outside. Is notified by the CPU 140 to the upper-level CPU. Using this information, the upper-level CPU controls the operation panel to indicate that a jam is being processed, or controls the sensor provided on the sheet conveyance path. By inputting a signal, it is possible to determine the start timing of the processing for detecting the remaining sheet.

また、本実施形態のモータ制御装置100によれば、モニタ電圧の値がマスク領域内でなく基準値を超えている場合に、モニタ電圧の極性を判定して、その判定結果に応じてモータMを停止させる制御や上位CPUへの通知を行うようにしているので、ノイズの混入などに起因する誤判定を有効に防止することができる。   Further, according to the motor control device 100 of the present embodiment, when the value of the monitor voltage is not within the mask area but exceeds the reference value, the polarity of the monitor voltage is determined, and the motor M is determined according to the determination result. , And the notification to the host CPU is performed, so that an erroneous determination caused by noise or the like can be effectively prevented.

また、本実施形態のモータ制御装置100によれば、モータMの駆動時における過電流の検出に用いられるシャント抵抗130を利用して、モータMの非駆動時にモータMに流れる電流を検出するようにしているので、モータMの非駆動時にモータMに流れる電流を検出するために、新たな構成を付加する必要がない。したがって、新たな構成の付加に伴うコストアップなどを招くことなく、モータMの非駆動時における誤動作を簡便に防止することができる。   Further, according to the motor control device 100 of the present embodiment, the current flowing through the motor M when the motor M is not driven is detected by using the shunt resistor 130 used for detecting the overcurrent when the motor M is driven. Therefore, it is not necessary to add a new configuration to detect the current flowing in the motor M when the motor M is not driven. Therefore, it is possible to easily prevent a malfunction when the motor M is not driven without incurring an increase in cost due to the addition of a new configuration.

<第2実施形態>
上述の第1実施形態では、モータ制御装置100のCPU140が、モータMの非駆動時に、モニタ電圧の極性に応じてモータMが誤動作していると判定すると異常が発生したことを上位CPU(「上位制御装置」の一例)に通知し、モータMが外部から回されている状態であると判定するとモータMが外部から回されていることを上位CPUに通知することを説明した。本実施形態では、このような通知を受けた上位CPUの動作の具体例について説明する。なお、以下では、第1実施形態と共通の構成要素については同一の符号を付して、重複した説明を適宜省略する。
<Second embodiment>
In the above-described first embodiment, when the CPU 140 of the motor control device 100 determines that the motor M is malfunctioning according to the polarity of the monitor voltage when the motor M is not driven, it is determined that an abnormality has occurred by the upper CPU (“ An example of the upper-level control device) is described, and when it is determined that the motor M is being rotated from the outside, the upper-level CPU is notified that the motor M is being rotated from the outside. In the present embodiment, a specific example of the operation of the upper CPU receiving such a notification will be described. In the following, the same components as those in the first embodiment are denoted by the same reference numerals, and redundant description will be omitted as appropriate.

図7は、モータ制御装置100のCPU140に接続された上位CPU80の機能的な構成例を示すブロック図である。上位CPU80は、モータ制御装置100に関連する機能的な構成要素として、図7に示すように、上位動作指令手段81と、モータ動作指令手段82と、通知受信手段83とを備える。これらの機能的な構成要素は、例えば、上位CPU80が所定の制御プログラムを実行することにより実現される。なお、これらの機能的な構成要素の一部または全部を、汎用プロセッサである上位CPU80ではなく、例えばASICやFPGAなどの専用のハードウェアを用いて実現することもできる。   FIG. 7 is a block diagram illustrating a functional configuration example of the host CPU 80 connected to the CPU 140 of the motor control device 100. As shown in FIG. 7, the host CPU 80 includes, as functional components related to the motor control device 100, a host operation command unit 81, a motor operation command unit 82, and a notification receiving unit 83. These functional components are realized, for example, by the host CPU 80 executing a predetermined control program. Note that some or all of these functional components may be realized using dedicated hardware such as an ASIC or FPGA instead of the upper CPU 80 which is a general-purpose processor.

なお、モータ制御装置100の構成は、基本的には上述した第1実施形態と同様である。ただし、第1実施形態ではモータMの非駆動時、つまりモータMが停止状態であるはずのときにモータMに電流が流れていることを検出した場合の振る舞いについてのみ言及したが、本実施形態では、モータMの駆動中にモータMに異常が発生した場合に、モータ制御装置100のCPU140がこれを検知して上位CPU80に通知するものとする。モータMの駆動中における異常としては、例えば、速度異常によるモータロックや、起動指令に応じた起動ができない起動不良などがある。なお、モータMの駆動中に異常を検出して上位CPU80に通知する機能はモータ制御装置100の一般的な機能であるため、詳細な説明は省略する。   The configuration of the motor control device 100 is basically the same as that of the first embodiment. However, in the first embodiment, only the behavior when the motor M is not driven, that is, when the motor M is supposed to be in the stopped state and the current is detected to flow through the motor M is described. Here, it is assumed that when an abnormality occurs in the motor M during driving of the motor M, the CPU 140 of the motor control device 100 detects this and notifies the upper CPU 80. The abnormality during the driving of the motor M includes, for example, a motor lock due to a speed abnormality, a start failure that cannot be started according to a start command, and the like. Note that the function of detecting an abnormality during the driving of the motor M and notifying the host CPU 80 of the abnormality is a general function of the motor control device 100, and a detailed description thereof will be omitted.

上位動作指令手段81は、画像形成装置1が所望の動作状態となるように、画像形成装置1の各部に対する動作指令を出力する。また、上位動作指令手段81は、所定の判断基準に従って画像形成装置1の全体の動作を停止させる必要があるかどうかを判断し、必要な場合に異常停止指令を出力して、画像形成装置1の全体の動作を停止させる。特に本実施形態では、通知受信手段83がモータ制御装置100のCPU140からの通知を受信することに応じて設定するフラグに基づいて、上位動作指令手段81が、画像形成装置1の全体の動作を停止させる必要があるかどうかを判断する。   The higher-level operation instruction unit 81 outputs an operation instruction to each unit of the image forming apparatus 1 so that the image forming apparatus 1 is in a desired operation state. The higher-level operation instructing means 81 determines whether or not it is necessary to stop the entire operation of the image forming apparatus 1 according to a predetermined criterion, and outputs an abnormal stop instruction if necessary, and outputs an abnormal stop instruction. Stop the whole operation of. In particular, in the present embodiment, based on a flag set in response to the notification receiving unit 83 receiving the notification from the CPU 140 of the motor control device 100, the higher-level operation instruction unit 81 determines the overall operation of the image forming apparatus 1 Determine if it needs to be stopped.

モータ動作指令手段82は、上位動作指令手段81からの指令に応じて、モータ制御装置100のCPU140に対して、上述の速度目標値や起動/停止指令を出力する。   The motor operation command unit 82 outputs the above-described target speed value and the start / stop command to the CPU 140 of the motor control device 100 in response to the command from the host operation command unit 81.

通知受信手段83は、モータ制御装置100のCPU140からの通知を受信して、受信した通知に応じたフラグをオンにする。具体的には、通知受信手段83は、モータMの駆動中にモータ制御装置100のCPU140からモータMの異常を示す通知を受信した場合は、モータMの駆動中に異常が発生したことを示すフラグ(以下、このフラグを「フラグA」と呼ぶ)をオンにする。また、通知受信手段83は、モータMの非駆動時にモータ制御装置100のCPU140から異常が発生したことを示す通知を受信した場合は、モータMの非駆動時に異常が発生したことを示すフラグ(以下、このフラグを「フラグB」と呼ぶ)をオンにする。また、通知受信手段83は、モータMの非駆動時にモータ制御装置100のCPU140から、モータMが外部から回されていることを示す通知を受信した場合は、モータMの非駆動時にモータMが外部から回されていることを示すフラグ(以下、このフラグを「フラグC」と呼ぶ)をオンにする。   The notification receiving unit 83 receives a notification from the CPU 140 of the motor control device 100 and turns on a flag corresponding to the received notification. Specifically, when the notification receiving unit 83 receives a notification indicating an abnormality of the motor M from the CPU 140 of the motor control device 100 during the driving of the motor M, it indicates that an abnormality has occurred during the driving of the motor M. A flag (hereinafter, this flag is referred to as “flag A”) is turned on. When the notification receiving unit 83 receives a notification indicating that an abnormality has occurred from the CPU 140 of the motor control device 100 when the motor M is not driven, the notification receiving unit 83 sets a flag indicating that an abnormality has occurred when the motor M is not driven ( Hereinafter, this flag is referred to as “flag B”). When the motor M is not driven, the notification receiving unit 83 receives a notification from the CPU 140 of the motor control device 100 indicating that the motor M is being rotated from the outside. A flag indicating that it is being turned on from outside (hereinafter, this flag is referred to as "flag C") is turned on.

フラグA、フラグB、フラグCは、いずれもオン/オフを示す2値(1ビット)の情報であり、例えば「1」がオン、「0」がオフであることを示す。これらのフラグは、通知受信手段83による通知受信のイベントが発生するたびに、上位動作指令手段81およびモータ動作指令手段82によって随時参照される。   The flag A, the flag B, and the flag C are binary (1 bit) information indicating ON / OFF. For example, “1” indicates ON and “0” indicates OFF. These flags are referred to by the higher-level operation instruction unit 81 and the motor operation instruction unit 82 whenever a notification reception event by the notification reception unit 83 occurs.

モータ動作指令手段82は、モータMの駆動中にフラグAがオンになると、モータ制御装置100のCPU140に対してモータMの停止指令を出力する。これにより、CPU140の動作状態管理手段141が、制御信号出力手段143に対してブレーキ信号をONにすることを指示してモータMを停止させる。   When the flag A is turned on while the motor M is being driven, the motor operation command means 82 outputs a command to stop the motor M to the CPU 140 of the motor control device 100. As a result, the operation state management means 141 of the CPU 140 instructs the control signal output means 143 to turn on the brake signal and stops the motor M.

また、上位動作指令手段81は、モータMの駆動中にフラグAがオンになった場合、あるいは、モータMの非駆動時にフラグBがオンになった場合は、異常停止指令を出力して、画像形成装置1の全体の動作を停止させる。一方、モータMの非駆動時にフラグCがオンになった場合は、上位動作指令手段81は、異常停止指令を出力せずに、画像形成装置1の全体の動作を継続させる。ここで、画像形成装置1の全体の動作停止は、例えば、上述のADF1Aや、装置本体1Bの給紙部3、画像読取部4、画像形成部5などの各部に対する電源供給を遮断するなどの方法により行われる。なお、画像形成装置1の全体の動作を停止した場合であっても、上位CPU80やオペレーションパネルに対する電源供給は遮断せず、異常発生により画像形成装置1の動作が停止している旨の警告などは行えるようにすることが望ましい。   When the flag A is turned on while the motor M is being driven, or when the flag B is turned on when the motor M is not driven, the upper operation command means 81 outputs an abnormal stop command. The entire operation of the image forming apparatus 1 is stopped. On the other hand, when the flag C is turned on when the motor M is not driven, the higher-level operation command unit 81 continues the entire operation of the image forming apparatus 1 without outputting the abnormal stop command. Here, the entire operation of the image forming apparatus 1 is stopped by, for example, shutting off the power supply to the above-described ADF 1A, the sheet feeding unit 3, the image reading unit 4, and the image forming unit 5 of the apparatus main body 1B. Done by the method. Even when the entire operation of the image forming apparatus 1 is stopped, the power supply to the host CPU 80 and the operation panel is not shut off, and a warning indicating that the operation of the image forming apparatus 1 is stopped due to the occurrence of an abnormality or the like. It is desirable to be able to do.

通知受信手段83によってオンされる上述のフラグA、フラグB、フラグCは、例えば、オペレータによる所定の操作を検知したときにオンからオフにリセットされる。例えば、フラグAやフラグBは、異常を復旧させる対応を行ったオペレータがオペレーションパネルを用いて所定操作を行うと、オンからオフにリセットされる。また、フラグCは、ジャム処理を実施したオペレータがオペレーションパネルを用いて所定操作を行うと、オンからオフにリセットされる。   The flags A, B, and C, which are turned on by the notification receiving unit 83, are reset from on to off when a predetermined operation by the operator is detected, for example. For example, the flag A and the flag B are reset from on to off when the operator who has performed the recovery from the abnormality performs a predetermined operation using the operation panel. The flag C is reset from on to off when the operator who has performed the jam processing performs a predetermined operation using the operation panel.

図8は、モータ制御装置100のCPU140からの通知に応じて上位CPU80により実行される処理シーケンスの一例を示すフローチャートである。この図8のフローチャートで示す一連の処理は、モータ制御装置100のCPU140が上位CPU80に対して通知を行うたびに、上位CPU80によって繰り返し実行される。   FIG. 8 is a flowchart illustrating an example of a processing sequence executed by the host CPU 80 in response to a notification from the CPU 140 of the motor control device 100. A series of processes shown in the flowchart of FIG. 8 is repeatedly executed by the upper CPU 80 each time the CPU 140 of the motor control device 100 notifies the upper CPU 80.

モータ制御装置100のCPU140から上位CPU80に対して通知が行われると、通知受信手段83がその通知を受信して、受信した通知に応じたフラグをオンにする(ステップS201)。   When a notification is sent from the CPU 140 of the motor control device 100 to the upper CPU 80, the notification receiving unit 83 receives the notification and turns on a flag corresponding to the received notification (step S201).

次に、ステップS201で通知受信手段83によりオンされたフラグがフラグAであるか否かが判定される(ステップS202)。そして、フラグAがオンされた場合は(ステップS202:Yes)、モータ動作指令手段82が、モータ制御装置100のCPU140に対してモータMの停止指令を出力するとともに(ステップS203)、上位動作指令手段81が、異常停止指令を出力して画像形成装置1の全体の動作を停止させ(ステップS205)、一連の処理を終了する。   Next, it is determined whether or not the flag turned on by the notification receiving unit 83 in step S201 is the flag A (step S202). When the flag A is turned on (step S202: Yes), the motor operation command unit 82 outputs a command to stop the motor M to the CPU 140 of the motor control device 100 (step S203), and outputs a higher-level operation command. The means 81 outputs an abnormal stop command to stop the entire operation of the image forming apparatus 1 (step S205), and ends a series of processing.

一方、ステップS201で通知受信手段83によりオンされたフラグがフラグAでなければ(ステップS202:No)、そのフラグがフラグBであるか否かが判定される(ステップS204)。そして、フラグBがオンされた場合は(ステップS204:Yes)、上位動作指令手段81が、異常停止指令を出力して画像形成装置1の全体の動作を停止させ(ステップS205)、一連の処理を終了する。一方、ステップS201で通知受信手段83によりオンされたフラグがフラグBでない、つまり、フラグCがオンされた場合は(ステップS204:No)、上位動作指令手段81による異常停止指令の出力は行われずに、そのまま処理を終了する。   On the other hand, if the flag turned on by the notification receiving unit 83 in step S201 is not the flag A (step S202: No), it is determined whether the flag is the flag B (step S204). When the flag B is turned on (step S204: Yes), the upper-level operation command unit 81 outputs an abnormal stop command to stop the entire operation of the image forming apparatus 1 (step S205), and a series of processes To end. On the other hand, when the flag turned on by the notification receiving unit 83 in step S201 is not the flag B, that is, when the flag C is turned on (step S204: No), the abnormal operation stop command is not output by the upper operation command unit 81. Then, the process ends.

以上説明したように、本実施形態では、上位CPU80が、モータ制御装置100のCPU140から異常が発生したことを示す通知を受け取った場合に異常停止指令を出力して画像形成装置1の全体の動作を停止させ、モータMの非駆動時にモータMが外部から回されていることを示す通知を受け取った場合には、異常停止指令を出力せずに画像形成装置1の全体の動作を継続させるようにしている。したがって、モータMの非駆動時にモータMが外部から回された場合に、画像形成装置1の全体の動作を不用意に停止させてしまう不都合を有効に抑制することができる。   As described above, in the present embodiment, when the upper CPU 80 receives a notification indicating that an abnormality has occurred from the CPU 140 of the motor control device 100, the upper CPU 80 outputs an abnormal stop command and performs the entire operation of the image forming apparatus 1. Is stopped, and when a notification indicating that the motor M is being rotated from the outside is received when the motor M is not driven, the entire operation of the image forming apparatus 1 is continued without outputting the abnormal stop command. I have to. Therefore, it is possible to effectively suppress the inconvenience of inadvertently stopping the entire operation of the image forming apparatus 1 when the motor M is externally turned when the motor M is not driven.

なお、上述の第1実施形態および第2実施形態では、モータMの非駆動時にモータMが誤動作していると判定された場合に、モータ制御装置100のCPU140が、上位CPU80からの指令によらずにモータMを停止させるようにしている。しかし、モータMの非駆動時にモータMが誤動作していると判定され、上位CPU80の通知受信手段83がモータMの非駆動時に異常が発生したことを示す通知を受信してフラグBをオンした場合に、上位CPU80のモータ動作指令手段82がモータ制御装置100のCPU140に対してモータMの停止指令を出力し、この停止指令を入力したCPU140の動作状態管理手段141が、制御信号出力手段143に対してブレーキ信号をONにすることを指示してモータMを停止させる構成としてもよい。   In the above-described first and second embodiments, when it is determined that the motor M is malfunctioning when the motor M is not driven, the CPU 140 of the motor control device 100 responds to a command from the host CPU 80. Instead, the motor M is stopped. However, it was determined that the motor M was malfunctioning when the motor M was not driven, and the notification receiving means 83 of the upper CPU 80 received a notification indicating that an abnormality occurred when the motor M was not driven, and turned on the flag B. In this case, the motor operation command means 82 of the upper CPU 80 outputs a stop command of the motor M to the CPU 140 of the motor control device 100. May be instructed to turn on the brake signal to stop the motor M.

また、上述の第2実施形態では、上位CPU80が、モータMの非駆動時に異常が発生したことを示す通知をモータ制御装置100のCPU140から受け取った場合に、異常停止指令を出力して画像形成装置1の全体の動作を停止させるようにしている。しかし、上位CPU80は、モータMの駆動中に異常が発生したことを示す通知を受け取った場合にのみ、異常停止指令を出力して画像形成装置1の全体の動作を停止させ、モータMの非駆動時に異常が発生したことを示す通知を受け取った場合は、異常停止指令を出力せずに画像形成装置1の全体の動作を継続させるようにしてもよい。   In the above-described second embodiment, when the host CPU 80 receives a notification from the CPU 140 of the motor control device 100 indicating that an abnormality has occurred when the motor M is not driven, the host CPU 80 outputs an abnormal stop command to perform image formation. The entire operation of the device 1 is stopped. However, the upper CPU 80 outputs an abnormal stop command to stop the entire operation of the image forming apparatus 1 only when receiving a notification indicating that an abnormality has occurred during the driving of the motor M, and When a notification indicating that an abnormality has occurred during driving is received, the entire operation of the image forming apparatus 1 may be continued without outputting an abnormal stop command.

以上、本発明の具体的な実施形態について説明したが、本発明は上記の実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々の変形を加えながら具体化することができる。以下では、いくつかの変形例を例示する。   As mentioned above, although the concrete embodiment of the present invention was explained, the present invention is not limited to the above-mentioned embodiment as it is, and is embodied while adding various modifications without departing from the gist in the implementation stage. be able to. Hereinafter, some modified examples will be exemplified.

(変形例1)
上述した実施形態では、モータMとグランドGNDとの間に直列に接続されたシャント抵抗130によりモータMの非駆動時に流れる電流を検出する構成としたが、シャント抵抗130は、モータ電源VccとモータMとの間に接続されていてもよい。図9は、シャント抵抗130をモータ電源Vcc側に設けた変形例のハードウェア構成図である。図9に示すように、モータ電源VccとモータMとの間にシャント抵抗130を直列に接続した構成であっても、このシャント抵抗130の両端の電位差をモニタ電圧としてCPU140に入力することで、上述した実施形態と同様の効果を得ることができる。
(Modification 1)
In the embodiment described above, the current flowing when the motor M is not driven is detected by the shunt resistor 130 connected in series between the motor M and the ground GND. However, the shunt resistor 130 is connected to the motor power supply Vcc and the motor M may be connected. FIG. 9 is a hardware configuration diagram of a modified example in which the shunt resistor 130 is provided on the motor power supply Vcc side. As shown in FIG. 9, even when the shunt resistor 130 is connected in series between the motor power supply Vcc and the motor M, the potential difference between both ends of the shunt resistor 130 is input to the CPU 140 as a monitor voltage. The same effects as in the above-described embodiment can be obtained.

(変形例2)
上述した実施形態では、モータMの非駆動時に流れる電流をシャント抵抗130により検出する構成としたが、他の方式の電流検出手段を用いてモータMの非駆動時に流れる電流を検出する構成としてもよい。図10は、シャント抵抗130に代えてホールセンサ150を設けた変形例のハードウェア構成図である。ホールセンサは、ホール効果を利用した磁電変換素子であるホール素子を用いた電流センサである。図10に示すように、シャント抵抗130に代えてホールセンサ150を設けた構成であっても、このホールセンサ150で検出される電流に対応する電圧をモニタ電圧としてCPU140に入力することで、上述した実施形態と同様の効果を得ることができる。
(Modification 2)
In the above-described embodiment, the current flowing when the motor M is not driven is detected by the shunt resistor 130. However, the current flowing when the motor M is not driven may be detected using another type of current detecting means. Good. FIG. 10 is a hardware configuration diagram of a modified example in which a hall sensor 150 is provided instead of the shunt resistor 130. The Hall sensor is a current sensor using a Hall element, which is a magnetoelectric conversion element using the Hall effect. As shown in FIG. 10, even in a configuration in which a Hall sensor 150 is provided instead of the shunt resistor 130, the voltage corresponding to the current detected by the Hall sensor 150 is input to the CPU 140 as a monitor voltage, and The same effect as that of the embodiment can be obtained.

(変形例3)
上述した実施形態では、本発明を適用可能な画像形成装置の一例として、中間転写方式のタンデム型カラー複写機として構成された画像形成装置1を例示したが、本発明は、あらゆるタイプの画像形成装置に対して広く適用することができる。また、本発明は、画像形成装置1に対して外付けで接続される給紙装置などにも有効に適用することができる。
(Modification 3)
In the above-described embodiment, the image forming apparatus 1 configured as an intermediate transfer type tandem-type color copying machine has been described as an example of an image forming apparatus to which the present invention can be applied. It can be widely applied to devices. Further, the present invention can be effectively applied to a sheet feeding device externally connected to the image forming apparatus 1 or the like.

図11は、画像形成装置1に接続される給紙装置200の概略構成図である。図11に示すように、この給紙装置200は、給紙本体部210と中継部220とを有し、中継部220を介して複数の給紙本体部210を直列に接続できる構成となっている。給紙本体部210は、給紙トレイ211,212から選択的に取り出された用紙、あるいは中継部220を介して直列に接続された上流側の給紙本体部210からの用紙を搬送経路Pに沿って搬送し、接続部213を介して接続された画像形成装置1に供給する。中継部220は、接続部221を介して上流側の給紙本体部210に接続され、上流側の給紙本体部210から供給される用紙を下流側の給紙本体部210へと搬送する。   FIG. 11 is a schematic configuration diagram of a sheet feeding device 200 connected to the image forming apparatus 1. As shown in FIG. 11, the paper feeding device 200 has a configuration in which a paper feeding main body 210 and a relay unit 220 are provided, and a plurality of paper feeding main bodies 210 can be connected in series via the relay unit 220. I have. The paper feed main body 210 transfers the paper selectively removed from the paper feed trays 211 and 212 or the paper from the upstream paper feed main body 210 connected in series via the relay 220 to the transport path P. Along with the image forming apparatus 1 connected to the image forming apparatus 1 via the connection unit 213. The relay unit 220 is connected to the upstream paper supply main unit 210 via the connection unit 221, and conveys the paper supplied from the upstream paper supply main unit 210 to the downstream paper supply main unit 210.

このように構成される給紙装置200は、搬送経路Pに沿って設けられたローラ部材をモータの動力により回転させることで、シートの一例である用紙を搬送する。このような給紙装置200に本発明を適用することで、上述した実施形態と同様に、モータの非駆動時における誤動作を簡便に防止することができる。   The sheet feeding device 200 configured as described above conveys a sheet, which is an example of a sheet, by rotating a roller member provided along the conveyance path P with the power of a motor. By applying the present invention to such a sheet feeding device 200, it is possible to easily prevent a malfunction when the motor is not driven, as in the above-described embodiment.

また、本発明は、画像形成装置1や給紙装置200に限らず、モータの動力によりローラ部材を回転させることでシートを搬送する構成の様々なシート搬送装置に対して有効に適用することができる。例えば、モータの動力によりローラ部材を回転させることで紙幣を搬送する装置、モータの動力によりローラ部材を回転させることで帳票を搬送する装置、モータの動力によりローラ部材を回転させることで切符や入場券を搬送する装置、モータの動力によりローラ部材を回転させることで樹脂シートや金属板を搬送する装置など、様々なシート搬送装置に対して、本発明は有効に適用することができる。   The present invention can be effectively applied not only to the image forming apparatus 1 and the sheet feeding apparatus 200 but also to various sheet conveying apparatuses configured to convey a sheet by rotating a roller member by the power of a motor. it can. For example, a device that transports banknotes by rotating a roller member with the power of a motor, a device that transports a document by rotating a roller member with the power of a motor, and a ticket or entrance by rotating a roller member with the power of a motor The present invention can be effectively applied to various sheet conveying apparatuses such as an apparatus for conveying a ticket and an apparatus for conveying a resin sheet or a metal plate by rotating a roller member by the power of a motor.

1 画像形成装置
80 上位CPU
81 上位動作指令手段
82 モータ動作指令手段
83 通知受信手段
100 モータ制御装置
110 モータドライバ
120 エンコーダ
130 シャント抵抗
140 CPU
141 動作状態管理手段
142 制御電圧算出手段
143 制御信号出力手段
144 電圧極性判定手段
150 ホールセンサ
200 給紙装置
M モータ
1 image forming apparatus 80 host CPU
81 Higher-level operation instruction means 82 Motor operation instruction means 83 Notification receiving means 100 Motor control device 110 Motor driver 120 Encoder 130 Shunt resistor 140 CPU
141 Operation state management means 142 Control voltage calculation means 143 Control signal output means 144 Voltage polarity determination means 150 Hall sensor 200 Paper feeder M Motor

特許第3889669号公報Japanese Patent No. 3888969

Claims (19)

モータの非駆動時に該モータに流れる電流を検出する電流検出手段と、
検出された前記電流に対応する電圧の極性を判定する電圧極性判定手段と、
前記電圧の極性に応じて前記モータを停止させる制御を行う動作状態管理手段と、を備えるモータ制御装置。
Current detection means for detecting a current flowing through the motor when the motor is not driven;
Voltage polarity determining means for determining the polarity of the voltage corresponding to the detected current,
An operation state management unit that performs control to stop the motor in accordance with the polarity of the voltage.
電源から前記モータを通りグランドに向かって流れる前記電流に対応する前記電圧の極性をプラスとしたとき、
前記動作状態管理手段は、前記電圧の極性がプラスである場合に前記モータを停止させる制御を行う、請求項1に記載のモータ制御装置。
When the polarity of the voltage corresponding to the current flowing from the power supply to the ground through the motor is plus,
The motor control device according to claim 1, wherein the operation state management unit performs control to stop the motor when the polarity of the voltage is positive.
前記動作状態管理手段は、前記モータを停止させる場合に異常が発生したことを上位制御装置に通知する、請求項1または2に記載のモータ制御装置。   The motor control device according to claim 1, wherein the operation state management unit notifies the host control device that an abnormality has occurred when the motor is stopped. 前記動作状態管理手段は、前記電圧の極性がマイナスである場合は、前記モータが外部から回されていることを上位制御装置に通知する、請求項2に記載のモータ制御装置。   3. The motor control device according to claim 2, wherein when the polarity of the voltage is negative, the operation state management unit notifies the host control device that the motor is being rotated from outside. 4. 前記電圧極性判定手段は、前記電圧の値が基準値を超える場合に、前記電圧の極性を判定する、請求項1乃至4のいずれか一項に記載のモータ制御装置。   The motor control device according to any one of claims 1 to 4, wherein the voltage polarity determination unit determines the polarity of the voltage when the value of the voltage exceeds a reference value. 前記モータに印加する制御電圧に応じた駆動信号と、前記モータを停止させるためのブレーキ信号とを出力する制御信号出力手段と、
前記駆動信号に基づいて前記モータを駆動するとともに、前記ブレーキ信号がONの場合に前記モータの通電を遮断するモータドライバと、をさらに備え、
前記動作状態管理手段は、前記制御信号出力手段に対して前記ブレーキ信号をONにすることを指示することで前記モータを停止させる、請求項1乃至5のいずれか一項に記載のモータ制御装置。
A drive signal corresponding to a control voltage applied to the motor, and a control signal output unit that outputs a brake signal for stopping the motor,
A motor driver that drives the motor based on the drive signal, and shuts off the power supply to the motor when the brake signal is ON.
6. The motor control device according to claim 1, wherein the operation state management unit stops the motor by instructing the control signal output unit to turn on the brake signal. 7. .
前記モータドライバは、前記駆動信号を入力する端子と、前記ブレーキ信号を入力する端子と、スタート/ストップ信号を入力する端子と、を有し、前記スタート/ストップ信号がスタート側である場合に、入力されている前記駆動信号に基づいて前記モータを駆動するものであり、
前記駆動信号を入力する端子と、前記ブレーキ信号を入力する端子は、それぞれハーネスを介して前記制御信号出力手段と接続され、
前記スタート/ストップ信号を入力する端子は、出力がスタート側に固定されている、請求項6に記載のモータ制御装置。
The motor driver has a terminal for inputting the drive signal, a terminal for inputting the brake signal, and a terminal for inputting a start / stop signal. When the start / stop signal is on the start side, Driving the motor based on the input driving signal,
A terminal for inputting the drive signal and a terminal for inputting the brake signal are respectively connected to the control signal output means via a harness,
The motor control device according to claim 6, wherein an output of the terminal for inputting the start / stop signal is fixed to a start side.
前記ブレーキ信号を入力する端子は、該端子と前記制御信号出力手段とを接続するハーネスに異常が発生すると、前記ブレーキ信号をONとする側に固定される、請求項7に記載のモータ制御装置。   The motor control device according to claim 7, wherein the terminal for inputting the brake signal is fixed to a side where the brake signal is turned on when an abnormality occurs in a harness connecting the terminal and the control signal output means. . 前記電流検出手段は、前記モータの駆動時における過電流の検出に用いられるシャント抵抗である、請求項1乃至8のいずれか一項に記載のモータ制御装置。   The motor control device according to any one of claims 1 to 8, wherein the current detection unit is a shunt resistor used for detecting an overcurrent when the motor is driven. モータの非駆動時に、該モータに流れる電流を検出する電流検出手段と、
検出された前記電流に対応する電圧の極性に基づいて、前記モータが誤動作しているか否かを判定する電圧極性判定手段と、を備えるモータ制御装置。
Current detection means for detecting a current flowing through the motor when the motor is not driven;
A motor control device comprising: a voltage polarity determination unit configured to determine whether the motor is malfunctioning based on a polarity of a voltage corresponding to the detected current.
請求項1乃至10のいずれか一項に記載のモータ制御装置と、
前記モータと、
前記モータの動力により回転してシートを搬送するローラ部材と、を備えるシート搬送装置。
A motor control device according to any one of claims 1 to 10,
Said motor;
A roller member configured to rotate the sheet by a power of the motor to convey the sheet.
請求項11に記載のシート搬送装置と、
搬送される前記シートに画像を形成する画像形成部と、を備える画像形成装置。
A sheet conveying device according to claim 11,
An image forming apparatus comprising: an image forming unit that forms an image on the conveyed sheet.
モータと、モータ制御装置と、上位制御装置と、を備える画像形成装置であって、
前記モータ制御装置は、
前記モータの非駆動時に、該モータに流れる電流を検出する電流検出手段と、
検出された前記電流に対応する電圧の極性に基づいて、前記モータが誤動作しているか否かを判定する電圧極性判定手段と、
前記モータが誤動作していると判定された場合は、異常が発生したことを前記上位制御装置に通知し、前記モータが誤動作していないと判定された場合は、前記モータが外部から回されていることを前記上位制御装置に通知する動作状態管理手段と、を備え、
前記上位制御装置は、
前記動作状態管理手段から異常が発生したことが通知された場合は、前記画像形成装置の全体の動作を停止させる異常停止指令を出力し、前記動作状態管理手段から前記モータが外部から回されていることが通知された場合は、前記異常停止指令を出力せずに前記画像形成装置の動作を継続させる上位動作指令手段を備える、画像形成装置。
A motor, a motor control device, and a higher-level control device, comprising an image forming apparatus,
The motor control device,
Current detection means for detecting a current flowing through the motor when the motor is not driven;
Based on the polarity of the voltage corresponding to the detected current, voltage polarity determining means for determining whether the motor is malfunctioning,
When it is determined that the motor is malfunctioning, it notifies the host controller that an abnormality has occurred, and when it is determined that the motor is not malfunctioning, the motor is turned from outside. Operating state management means for notifying the higher-level control device that the
The higher-level control device,
When the operation state management unit notifies that an abnormality has occurred, the operation state management unit outputs an abnormal stop command to stop the entire operation of the image forming apparatus, and the operation state management unit externally rotates the motor. An image forming apparatus, comprising: a higher-level operation instruction unit that continues the operation of the image forming apparatus without outputting the abnormal stop instruction when the notification is made.
前記動作状態管理手段は、前記モータが誤動作していると判定された場合に前記モータを停止させる制御を行う、請求項13に記載の画像形成装置。   The image forming apparatus according to claim 13, wherein the operation state management unit performs control to stop the motor when it is determined that the motor is malfunctioning. 前記上位制御装置は、
前記動作状態管理手段から異常が発生したことが通知された場合に、前記動作状態管理手段に対して前記モータの停止指令を出力するモータ動作指令手段をさらに備え、
前記動作状態管理手段は、前記モータ動作指令手段から出力される前記停止指令に応じて、前記モータを停止させる制御を行う、請求項14に記載の画像形成装置。
The higher-level control device,
Further provided is a motor operation command unit that outputs a motor stop command to the operation state management unit when notified that an abnormality has occurred from the operation state management unit,
The image forming apparatus according to claim 14, wherein the operation state management unit performs control to stop the motor in response to the stop command output from the motor operation command unit.
モータと、モータ制御装置と、上位制御装置と、を備えるシート搬送装置であって、
前記モータ制御装置は、
前記モータの非駆動時に、該モータに流れる電流を検出する電流検出手段と、
検出された前記電流に対応する電圧の極性に基づいて、前記モータが誤動作しているか否かを判定する電圧極性判定手段と、
前記モータが誤動作していると判定された場合は、異常が発生したことを前記上位制御装置に通知し、前記モータが誤動作していないと判定された場合は、前記モータが外部から回されていることを前記上位制御装置に通知する動作状態管理手段と、を備え、
前記上位制御装置は、
前記動作状態管理手段から異常が発生したことが通知された場合は、前記シート搬送装置の全体の動作を停止させる異常停止指令を出力し、前記動作状態管理手段から前記モータが外部から回されていることが通知された場合は、前記異常停止指令を出力せずに前記シート搬送装置の動作を継続させる上位動作指令手段を備える、シート搬送装置。
A motor, a motor control device, a higher-level control device, a sheet conveying device including:
The motor control device,
Current detection means for detecting a current flowing through the motor when the motor is not driven;
Based on the polarity of the voltage corresponding to the detected current, voltage polarity determining means for determining whether the motor is malfunctioning,
When it is determined that the motor is malfunctioning, it notifies the host controller that an abnormality has occurred, and when it is determined that the motor is not malfunctioning, the motor is turned from outside. Operating state management means for notifying the higher-level control device that the
The higher-level control device,
If the operation state management unit is notified that an abnormality has occurred, the operation state management unit outputs an abnormal stop command to stop the entire operation of the sheet conveyance device, and the operation state management unit externally rotates the motor. A sheet transport device that includes a higher-level operation command unit that continues the operation of the sheet transport device without outputting the abnormal stop command when notified that the sheet transport device is not operating.
前記動作状態管理手段は、前記モータが誤動作していると判定された場合に前記モータを停止させる制御を行う、請求項16に記載のシート搬送装置。   The sheet conveying device according to claim 16, wherein the operation state management unit performs control to stop the motor when it is determined that the motor is malfunctioning. 前記上位制御装置は、
前記動作状態管理手段から異常が発生したことが通知された場合に、前記動作状態管理手段に対して前記モータの停止指令を出力するモータ動作指令手段をさらに備え、
前記動作状態管理手段は、前記モータ動作指令手段から出力される前記停止指令に応じて、前記モータを停止させる制御を行う、請求項17に記載のシート搬送装置。
The higher-level control device,
Further provided is a motor operation command unit that outputs a motor stop command to the operation state management unit when notified that an abnormality has occurred from the operation state management unit,
18. The sheet conveying device according to claim 17, wherein the operation state management unit controls the motor to stop according to the stop command output from the motor operation command unit.
モータ制御装置により実行されるモータ制御方法であって、
モータの非駆動時に該モータに流れる電流を検出する工程と、
検出された前記電流に対応する電圧の極性を判定する工程と、
前記電圧の極性に応じて前記モータを停止させる制御を行う工程と、を含むモータ制御方法。
A motor control method executed by a motor control device,
Detecting a current flowing through the motor when the motor is not driven;
Determining the polarity of the voltage corresponding to the detected current;
Controlling the motor to stop according to the polarity of the voltage.
JP2016099616A 2015-07-02 2016-05-18 Motor control device, sheet conveying device, image forming device, and motor control method Expired - Fee Related JP6673003B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/198,154 US9944482B2 (en) 2015-07-02 2016-06-30 Motor control device, sheet conveying device, and image forming apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015133969 2015-07-02
JP2015133969 2015-07-02

Publications (2)

Publication Number Publication Date
JP2017017979A JP2017017979A (en) 2017-01-19
JP6673003B2 true JP6673003B2 (en) 2020-03-25

Family

ID=57829397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016099616A Expired - Fee Related JP6673003B2 (en) 2015-07-02 2016-05-18 Motor control device, sheet conveying device, image forming device, and motor control method

Country Status (1)

Country Link
JP (1) JP6673003B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017070014A (en) 2015-09-28 2017-04-06 株式会社リコー Motor control device, drive device, transport device, image formation device, motor control method, and program
JP7354579B2 (en) * 2019-05-13 2023-10-03 株式会社リコー Image forming device and electromagnetic actuator driving method

Also Published As

Publication number Publication date
JP2017017979A (en) 2017-01-19

Similar Documents

Publication Publication Date Title
US9285746B2 (en) Abnormality monitoring system and image forming apparatus
JP6673003B2 (en) Motor control device, sheet conveying device, image forming device, and motor control method
US9944482B2 (en) Motor control device, sheet conveying device, and image forming apparatus
US9170764B2 (en) Image forming apparatus
JP5862341B2 (en) Motor control apparatus and image forming apparatus
JP6418082B2 (en) Electronic circuit and image forming apparatus
US8867935B2 (en) Power control device, electronic apparatus, and image forming apparatus
JP2008254868A (en) Image forming device
JP3175471B2 (en) Device cover open / close detection device
JP6201657B2 (en) Image transfer control apparatus, image forming apparatus, and image transfer apparatus control method
JP2017070014A (en) Motor control device, drive device, transport device, image formation device, motor control method, and program
US9672088B2 (en) Hardware device controller, image forming apparatus, and control method
JP5212618B2 (en) Image forming apparatus
JP6897595B2 (en) Image processing device
JP2015059974A (en) Image forming apparatus
JP6900919B2 (en) Image processing device
JP5522391B2 (en) Image forming apparatus and drive motor control method
JP2009047807A (en) Image forming apparatus
WO2013103121A1 (en) Image forming device
JP6308906B2 (en) High voltage power supply device and image forming apparatus using the same
JP6904278B2 (en) Image processing device
JP7354579B2 (en) Image forming device and electromagnetic actuator driving method
JP2013140253A (en) Image forming device
JP5538316B2 (en) Sheet conveying apparatus, automatic document feeder, and image forming apparatus
JP2010231036A (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191218

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: 20200204

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200217

R151 Written notification of patent or utility model registration

Ref document number: 6673003

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees