JP2017011987A - Motor drive - Google Patents

Motor drive Download PDF

Info

Publication number
JP2017011987A
JP2017011987A JP2016091655A JP2016091655A JP2017011987A JP 2017011987 A JP2017011987 A JP 2017011987A JP 2016091655 A JP2016091655 A JP 2016091655A JP 2016091655 A JP2016091655 A JP 2016091655A JP 2017011987 A JP2017011987 A JP 2017011987A
Authority
JP
Japan
Prior art keywords
current
motor
sampling timing
drive current
drive
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016091655A
Other languages
Japanese (ja)
Other versions
JP6539226B2 (en
JP2017011987A5 (en
Inventor
隼一 廣田
Junichi Hirota
隼一 廣田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to US15/171,147 priority Critical patent/US9787241B2/en
Publication of JP2017011987A publication Critical patent/JP2017011987A/en
Publication of JP2017011987A5 publication Critical patent/JP2017011987A5/ja
Application granted granted Critical
Publication of JP6539226B2 publication Critical patent/JP6539226B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Inverter Devices (AREA)
  • Electrophotography Configuration And Component (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a motor drive for driving a motor by detecting a drive current accurately.SOLUTION: A motor drive includes a motor drive circuit (100) including a plurality of switching elements in bridge connection, and supplying a dive current to a motor, a detection resistor (110) for detecting a current flowing between the motor drive circuit (100) and the ground, and a motor control section (210) for controlling the motor by determining a drive current from the detection result of current, and generating a PWM signal for turning the plurality of switching elements on/off based on the difference of the drive current thus determined and the target value of a drive current to be supplied to the motor. When the PWM signal is high level and the width of high level of the PWM signal goes above a predetermined value, the motor control section (210) performs current sampling by the detection resistor (110) in the high level period of the PWM signal. When the width of high level of the PWM signal goes below a predetermined value, even if the PWM signal is high level, the motor control section (210) does not performs current sampling by the detection resistor (110) in the high level period of the PWM signal.SELECTED DRAWING: Figure 1

Description

本発明は、モータを駆動するモータ駆動装置に関する。   The present invention relates to a motor driving device that drives a motor.

図8は、一般的なモータ駆動回路100の構成図である。4つのFET Q1〜Q4(以下、単にQ1〜Q4と呼ぶ)はブリッジ接続され、モータのコイルL1は、Q1とQ3の接続点と、Q2とQ4の接続点を橋絡するように接続される。図8においてQ1〜Q4は、nチャネルFETであり、Q1及びQ2のドレイン端子は、24Vの電源端子に接続される。また、Q3及びQ4のソース端子はグランド(GND)に接続される。また、Q1及びQ4は、同じPWM信号であるPWM+により駆動され、Q2及びQ3は、同じPWM信号であるPWM−により駆動される。なお、PWM+とPWM−は互いに逆位相の関係にある。   FIG. 8 is a configuration diagram of a general motor drive circuit 100. Four FETs Q1 to Q4 (hereinafter simply referred to as Q1 to Q4) are bridge-connected, and the motor coil L1 is connected to bridge the connection point between Q1 and Q3 and the connection point between Q2 and Q4. . In FIG. 8, Q1 to Q4 are n-channel FETs, and the drain terminals of Q1 and Q2 are connected to a 24V power supply terminal. The source terminals of Q3 and Q4 are connected to the ground (GND). Q1 and Q4 are driven by PWM + which is the same PWM signal, and Q2 and Q3 are driven by PWM− which is the same PWM signal. Note that PWM + and PWM− are in an opposite phase relationship.

続いて、図9によりモータ駆動回路100の動作を説明する。なお、図9において、期間T1は、図8のコイルL1に流れる相電流Iが正(矢印の方向)の期間であり、期間T2は、相電流Iが負(矢印と逆方向)の期間である。なお、相電流は、モータを駆動する駆動電流である。相電流Iが正の期間T1において、PWM+がハイであると、図9の実線の様に相電流Iが流れる。その後、PWM+がローになると、コイルL1には電流の変化を阻止する方向に誘導起電圧が生じる。この誘導起電圧はモータを駆動する24V電源より優位となり、図9の点線の様に相電流Iは流れる(回生電流)。一方、相電流Iが負の期間T2において、PWM+がローであると、相電流Iは、図9の実線の様に流れ、その後、PWM+がハイになると、コイルL1に生じる誘導起電圧により、相電流Iは、点線の様に流れる。   Next, the operation of the motor drive circuit 100 will be described with reference to FIG. In FIG. 9, a period T1 is a period in which the phase current I flowing through the coil L1 in FIG. 8 is positive (in the direction of the arrow), and a period T2 is a period in which the phase current I is negative (in the direction opposite to the arrow). is there. The phase current is a drive current that drives the motor. When PWM + is high during the period T1 in which the phase current I is positive, the phase current I flows as shown by the solid line in FIG. Thereafter, when PWM + becomes low, an induced electromotive voltage is generated in the coil L1 in a direction to prevent a change in current. The induced electromotive voltage is superior to the 24V power source for driving the motor, and the phase current I flows (regenerative current) as shown by the dotted line in FIG. On the other hand, when PWM + is low during the period T2 when the phase current I is negative, the phase current I flows as shown by the solid line in FIG. 9, and then when PWM + becomes high, the induced electromotive voltage generated in the coil L1 The phase current I flows like a dotted line.

モータを制御する制御部が、モータ駆動回路100を適切に駆動するには相電流Iを検出する必要がある。相電流Iの検出場所としては、図8のA点、B点及びC点がある。ここで、A点及びB点で電流を検出するには、24Vという高電圧の入力が可能な電流検出部が必要となりコストが高くなる。一方、C点で検出する場合には、安価な部品で電流検出が可能となる。しかしながら、相電流Iの方向が正である期間T1において、PWM+がハイであると、電源端子からQ1、コイルL1、Q4の順に経由してGNDに向かう電流が流れる。一方、相電流Iの方向が正である期間T1において、PWM+がローであると、GNDから、Q3、コイルL1、Q2の順に経由して電源端子に向かう電流が流れる。つまり、相電流Iの方向が正である期間T1において、C点には、GNDに向かう方向とGNDからの方向の両方向の電流が流れる。相電流Iの方向が負の期間についても同様である。つまり、C点に検出抵抗を設け、その両端の電圧Vsnsを取得すると図9に示す波形が得られるのみであり、相電流の方向を判定できない。   The controller that controls the motor needs to detect the phase current I in order to drive the motor drive circuit 100 appropriately. The detection locations of the phase current I include points A, B, and C in FIG. Here, in order to detect the current at the points A and B, a current detection unit capable of inputting a high voltage of 24 V is required, which increases the cost. On the other hand, when detecting at the point C, it is possible to detect the current with inexpensive components. However, if PWM + is high during the period T1 in which the direction of the phase current I is positive, a current flows from the power supply terminal to GND via the Q1, coils L1, and Q4 in this order. On the other hand, when PWM + is low during the period T1 in which the direction of the phase current I is positive, a current flows from GND toward the power supply terminal via Q3, coils L1, and Q2. That is, in the period T1 in which the direction of the phase current I is positive, currents flowing in both directions in the direction toward GND and in the direction from GND flow at the point C. The same applies to a period in which the direction of the phase current I is negative. That is, when a detection resistor is provided at point C and the voltage Vsns at both ends is obtained, only the waveform shown in FIG. 9 is obtained, and the direction of the phase current cannot be determined.

このため、特許文献1は、C点の検出抵抗の電圧を差動アンプで増幅する際に、PWM信号に同期して差動アンプに入力させる検出抵抗の電圧の極性を切り替える構成を開示している。   For this reason, Patent Document 1 discloses a configuration that switches the polarity of the voltage of the detection resistor that is input to the differential amplifier in synchronization with the PWM signal when the voltage of the detection resistor at point C is amplified by the differential amplifier. Yes.

特開平8−99645号公報JP-A-8-99645

図10は、PWM信号のハイ又はローの期間が非常に短い場合の各信号のタイミングチャートである。例えば、図10の相電流が正の期間T1において、PWM+は、非常に短い期間Toff1だけローとなっている。この非常に短い期間Toff1において、PWM+はローであり、理想的にはQ1及びQ4はオフとなるが、現実にはQ1及びQ4はオン状態を保つ。これは、期間Toff1の間にQ1及びQ4のゲート電荷が十分に放電されず、よって、ゲートとソース間の電圧が閾値電圧より低くならないからである。したがって、図10に示す様に、期間Toff1において電圧Vsnsは正のままとなり、結果、特許文献1の構成における差動アンプへの入力は図10に示す様に負となる。したがって、特許文献1の構成においても相電流Iを正しく検出することはできない。また、PWM信号のハイ、ローの切り替わりで、Q1〜Q4のスイッチングノイズが発生し、検出した電流値に重畳する虞がある。この場合も、相電流Iを正しく検出できなくなる。   FIG. 10 is a timing chart of each signal when the high or low period of the PWM signal is very short. For example, in the period T1 in which the phase current of FIG. 10 is positive, PWM + is low for a very short period Toff1. In this very short period Toff1, PWM + is low and ideally Q1 and Q4 are off, but in reality Q1 and Q4 remain on. This is because the gate charges of Q1 and Q4 are not sufficiently discharged during the period Toff1, and thus the voltage between the gate and the source does not become lower than the threshold voltage. Therefore, as shown in FIG. 10, the voltage Vsns remains positive in the period Toff1, and as a result, the input to the differential amplifier in the configuration of Patent Document 1 becomes negative as shown in FIG. Therefore, even in the configuration of Patent Document 1, the phase current I cannot be detected correctly. Further, switching noise of Q1 to Q4 is generated by switching the PWM signal between high and low, and may be superimposed on the detected current value. Also in this case, the phase current I cannot be detected correctly.

本発明は、精度良く駆動電流を検出してモータを駆動するモータ駆動装置を提供するものである。   The present invention provides a motor drive device that drives a motor by accurately detecting a drive current.

本発明の一側面によると、モータ駆動装置は、ブリッジ接続された複数のスイッチング素子を含み、モータに駆動電流を供給する駆動手段と、前記駆動手段とグランドとの間を流れる電流を検出する検出手段と、前記検出手段の検出結果から駆動電流を求め、前記求めた駆動電流と前記モータに供給すべき駆動電流の目標値との差に基づき前記複数のスイッチング素子をオン・オフするためのPWM信号を生成してモータを制御する制御手段と、を備え、前記制御手段は、前記PWM信号がハイレベルであり、且つ前記PWM信号のハイレベルの幅が所定値より大きくなる場合は、前記PWM信号のハイレベルの期間で前記検出手段による電流のサンプリングを行い、前記PWM信号がハイレベルであっても前記PWM信号のハイレベルの幅が前記所定値以下となる場合は、前記PWM信号のハイレベルの期間で前記検出手段による電流のサンプリングを行わないことを特徴とする。   According to one aspect of the present invention, a motor driving device includes a plurality of switching elements connected in a bridge, and includes a driving unit that supplies a driving current to the motor, and a detection that detects a current flowing between the driving unit and the ground. And a PWM for turning on / off the plurality of switching elements based on a difference between the obtained drive current and a target value of the drive current to be supplied to the motor. Control means for generating a signal to control the motor, wherein the control means is configured to control the PWM signal when the PWM signal is at a high level and the width of the high level of the PWM signal is greater than a predetermined value. The current is sampled by the detecting means during a high level period of the signal, and the PWM signal has a high level width even if the PWM signal is at the high level. If equal to or less than the predetermined value, characterized in that it does not perform the sampling of the current by the detection means in the period of the high level of the PWM signal.

本発明によると、精度良く駆動電流を検出してモータを駆動することができる。   According to the present invention, the motor can be driven by accurately detecting the drive current.

一実施形態によるモータ駆動装置の概略的な構成図。The schematic block diagram of the motor drive device by one Embodiment. 一実施形態による各信号のタイムチャート。The time chart of each signal by one Embodiment. 一実施形態による各信号のタイムチャート。The time chart of each signal by one Embodiment. 一実施形態による各信号のタイムチャート。The time chart of each signal by one Embodiment. 一実施形態によるモータ制御部での処理のフローチャート。The flowchart of the process in the motor control part by one Embodiment. 一実施形態によるモータ制御部での処理のフローチャート。The flowchart of the process in the motor control part by one Embodiment. 一実施形態によるモータ制御部での処理のフローチャート。The flowchart of the process in the motor control part by one Embodiment. 一実施形態によるモータ駆動回路の構成図。The block diagram of the motor drive circuit by one Embodiment. 相電流の説明図。Explanatory drawing of a phase current. PWM信号のハイ又はロー期間が短い場合のモータ駆動回路の動作の説明図。Explanatory drawing of operation | movement of a motor drive circuit when the high or low period of a PWM signal is short. 各実施形態によるモード駆動装置が使用される画像形成装置の構成図。1 is a configuration diagram of an image forming apparatus in which a mode driving device according to each embodiment is used.

以下、本発明の例示的な実施形態について図面を参照して説明する。なお、以下の実施形態は例示であり、本発明を実施形態の内容に限定するものではない。また、以下の各図においては、実施形態の説明に必要ではない構成要素については図から省略する。   Hereinafter, exemplary embodiments of the present invention will be described with reference to the drawings. In addition, the following embodiment is an illustration and does not limit this invention to the content of embodiment. In the following drawings, components that are not necessary for the description of the embodiments are omitted from the drawings.

<第一実施形態>
図1は、本実施形態によるモータ駆動装置1の構成図である。なお、モータ駆動装置1のモータ駆動回路100の構成及び動作は、図8及び図9を用いて説明したのと同様であるため再度の説明は省略する。検出抵抗110は、モータ駆動回路100とGNDとの間を流れる電流を検出するために、モータ駆動回路100のQ3及びQ4の結合点とGNDとの間に設けられる。なお、検出抵抗110には、モータを駆動する駆動電流である相電流Iの振幅に応じた電圧Vsnsが生じる。アナログ・デジタル(A/D)変換部120は、モータ制御部210からサンプリング要求があると、アナログ値である電圧Vsnsをデジタル値に変換して出力する。モータ制御部210は、本実施形態ではCPU200がプログラムを実行することで実現される。しかしながら、ハードウェア的に実現することもできる。さらに、以下に説明するモータ制御部210の一部の処理をCPU200が実行し、残りの処理をハードウェア的に実現することもできる。目標電流生成部211は、コイルL1に流すべき相電流Iの目標値を目標電流信号として出力する。例えば、相電流Iを1アンペアとする場合、目標電流信号は、+1アンペアの振幅を示す情報と−1アンペアの振幅を示す情報が、その周波数に応じて交互に変化する信号となる。検出電流生成部212は、A/D変換部120からのサンプリング値と、PWM生成部213が出力するPWM+に基づき、相電流Iに対応する検出電流信号を生成する。なお、本実施形態ではPWM+を検出電流生成部212に入力するが、PWM+とPWM−は互いに逆位相であるため、PWM−を入力する構成であっても良い。
<First embodiment>
FIG. 1 is a configuration diagram of a motor drive device 1 according to the present embodiment. The configuration and operation of the motor drive circuit 100 of the motor drive device 1 are the same as those described with reference to FIGS. The detection resistor 110 is provided between the connection point of Q3 and Q4 of the motor drive circuit 100 and GND in order to detect a current flowing between the motor drive circuit 100 and GND. Note that a voltage Vsns corresponding to the amplitude of the phase current I that is a drive current for driving the motor is generated in the detection resistor 110. When there is a sampling request from the motor control unit 210, the analog / digital (A / D) conversion unit 120 converts the voltage Vsns, which is an analog value, into a digital value and outputs the digital value. In this embodiment, the motor control unit 210 is realized by the CPU 200 executing a program. However, it can also be realized in hardware. Furthermore, the CPU 200 can execute some processes of the motor control unit 210 described below, and the remaining processes can be realized by hardware. The target current generator 211 outputs the target value of the phase current I that should flow through the coil L1 as a target current signal. For example, when the phase current I is 1 ampere, the target current signal is a signal in which information indicating an amplitude of +1 ampere and information indicating an amplitude of −1 ampere are alternately changed according to the frequency. The detection current generator 212 generates a detection current signal corresponding to the phase current I based on the sampling value from the A / D converter 120 and the PWM + output from the PWM generator 213. In the present embodiment, PWM + is input to the detection current generation unit 212. However, since PWM + and PWM− have opposite phases, a configuration in which PWM− is input may be employed.

図10を用いて説明した様に、電圧Vsnsの極性は相電流Iの方向と一致しない。したがって、検出電流生成部212はPWM+がローの場合、電圧Vsnsの極性を反転させて検出電流信号を生成する。したがって、検出電流信号の極性は相電流Iの方向に応じたものとなる。   As described with reference to FIG. 10, the polarity of the voltage Vsns does not coincide with the direction of the phase current I. Therefore, when PWM + is low, the detection current generation unit 212 generates a detection current signal by inverting the polarity of the voltage Vsns. Therefore, the polarity of the detection current signal depends on the direction of the phase current I.

増幅部214は、目標電流信号と検出電流信号との差分である誤差を増幅し、誤差電流信号としてPWM生成部213に出力する。増幅部214のゲインは、比例ゲイン及び積分ゲインの和である。PWM生成部213は、誤差電流信号と所定周期の三角波搬送波とを比較することによってモータ駆動回路100に出力するPWM+及びPWM−を生成する。この様に、モータ制御部210は、検出抵抗110の電圧Vsnsにより相電流を検出し、PWM+に基づきその極性を補正してフィードバック制御を行う。   The amplification unit 214 amplifies an error that is a difference between the target current signal and the detection current signal, and outputs the amplified error signal to the PWM generation unit 213. The gain of the amplification unit 214 is the sum of the proportional gain and the integral gain. The PWM generation unit 213 generates PWM + and PWM− to be output to the motor drive circuit 100 by comparing the error current signal with a triangular wave carrier wave having a predetermined period. As described above, the motor control unit 210 detects the phase current based on the voltage Vsns of the detection resistor 110, corrects the polarity based on PWM +, and performs feedback control.

続いて、モータ制御部210でのPWM信号の生成と、A/D変換部120でのサンプリングとの関係について説明する。図2は、所定周波数の三角波搬送波(以下、単に、三角波と呼ぶ。)と、誤差電流信号と、PWM+と、モータ制御部210によるA/D変換部120の出力のサンプリングタイミングとの関係を示している。PWM生成部213は、誤差電流信号を三角波と比較してPWM+及びPWM−を生成する。より詳しくは、誤差電流信号の値(振幅)が三角波の値(振幅)以上であると、PWM+はハイレベルになり、それ以外において、PWM+はローレベルとなる。したがって、誤差電流信号が三角波の最大値以上のままであるとデューティ比は100%となり、誤差電流信号が三角波の最小値より小さいままであるとデューティ比は0%となる。なお、デューティ比とはPWM+の1周期に対するハイの期間の割合である。   Subsequently, a relationship between generation of a PWM signal in the motor control unit 210 and sampling in the A / D conversion unit 120 will be described. FIG. 2 shows a relationship among a triangular wave carrier wave (hereinafter simply referred to as a triangular wave) having a predetermined frequency, an error current signal, PWM +, and a sampling timing of the output of the A / D converter 120 by the motor controller 210. ing. The PWM generation unit 213 compares the error current signal with a triangular wave to generate PWM + and PWM−. More specifically, when the value (amplitude) of the error current signal is equal to or greater than the value (amplitude) of the triangular wave, PWM + is at a high level, and otherwise, PWM + is at a low level. Accordingly, the duty ratio is 100% if the error current signal remains above the maximum value of the triangular wave, and the duty ratio becomes 0% if the error current signal remains below the minimum value of the triangular wave. The duty ratio is the ratio of the high period to one PWM + cycle.

本実施形態では、三角波の最小値より大きく最大値より小さい2つの閾値(閾値1及び閾値2)を設ける。ここで、閾値1は、閾値2より大きいものとする。例えば、閾値1は三角波の最大値の95%であり、閾値2は三角波の最大値の5%とすることができる。モータ制御部210は、通常、三角波が最大となるタイミング及び最小となるタイミングでA/D変換部120の出力をサンプリングする。そして、検出電流生成部212は、このサンプリング値とPWM+のハイ・ローに応じて検出電流信号を生成する。図2は、誤差電流信号が閾値1と閾値2の間にある場合のPWM+と、サンプリングタイミングを示している。しかしながら、上述した様に、PWM+及びPWM−のハイや、ローの期間が非常に短いと、この短い期間において生成される検出電流信号の符号は、相電流Iの方向を正しく表さない。したがって、本実施形態では、誤差電流信号が以下の2つの条件のいずれかに適合する場合、サンプリングを行わない。まず、条件1は、誤差電流信号が閾値1以上であり、かつ、PWM+がローである場合である。条件2は、誤差電流信号が閾値2以下であり、かつ、PWM+がハイである場合である。この条件を満たす状態は、PWM+のハイレベルの期間が所定期間以下となる状態、或いは、PWM+のローレベルの期間が前記所定期間以下となる状態である。従って、PWM+のハイレベルの期間が所定期間以下となる場合は、該ハイレベルの期間内ではサンプリングは行われず、PWM+のローレベルの期間が所定期間以下となる場合は、該ローレベル期間内ではサンプリングは行われない。同様に、PWM−のハイレベルの期間が所定期間以下となる場合は、該ハイレベルの期間内ではサンプリングは行われず、PWM−のローレベルの期間が所定期間以下となる場合は、該ローレベル期間内ではサンプリングは行われない。   In the present embodiment, two threshold values (threshold value 1 and threshold value 2) that are larger than the minimum value of the triangular wave and smaller than the maximum value are provided. Here, the threshold 1 is assumed to be larger than the threshold 2. For example, the threshold value 1 can be 95% of the maximum value of the triangular wave, and the threshold value 2 can be 5% of the maximum value of the triangular wave. The motor control unit 210 normally samples the output of the A / D conversion unit 120 at the timing when the triangular wave becomes maximum and the timing when it becomes the minimum. Then, the detection current generation unit 212 generates a detection current signal according to the sampling value and PWM + high / low. FIG. 2 shows PWM + and sampling timing when the error current signal is between the threshold value 1 and the threshold value 2. However, as described above, when the PWM + and PWM− high and low periods are very short, the sign of the detection current signal generated in this short period does not correctly represent the direction of the phase current I. Therefore, in this embodiment, sampling is not performed when the error current signal meets one of the following two conditions. First, Condition 1 is a case where the error current signal is equal to or greater than the threshold value 1 and PWM + is low. Condition 2 is when the error current signal is equal to or less than the threshold 2 and PWM + is high. The state satisfying this condition is a state in which the PWM + high level period is equal to or less than the predetermined period, or the PWM + low level period is equal to or less than the predetermined period. Therefore, when the high level period of PWM + is equal to or shorter than the predetermined period, sampling is not performed within the high level period, and when the low level period of PWM + is equal to or shorter than the predetermined period, the sampling is not performed within the low level period. Sampling is not performed. Similarly, when the high level period of PWM− is equal to or shorter than the predetermined period, sampling is not performed within the high level period, and when the low level period of PWM− is equal to or lower than the predetermined period, Sampling is not performed within the period.

図3(A)は、誤差電流信号が条件1に適合する場合を示している。図3(A)に示す様に、誤差電流信号が閾値1より高い場合、三角波が誤差電流信号以上となることによるPWM+のロー期間は非常に短くなる。したがって、このときのサンプリング値による検出電流信号は、実際の相電流Iを正しく表していない。したがって、図3(A)に示す様に、誤差電流信号が条件1に適合するとサンプリングを行わない。図3(B)は、誤差電流信号が条件2に適合する場合を示している。図3(B)に示す様に、誤差電流信号が閾値2より低い場合、三角波が誤差電流信号未満となることによるPWM+のハイ期間は非常に短くなる。したがって、このときのサンプリング値による検出電流信号は、実際の相電流Iを正しく表していない。したがって、図3(B)に示す様に、誤差電流信号が条件2に適合するとサンプリングを行わない。なお、サンプリングタイミングにおいて、誤差電流信号が条件1又は条件2に適合したとしても、その後、誤差電流信号が急激に変化すると、結果として、ハイ又はローの期間が長くなる場合もあり得る。しかしながら、誤差電流信号の変化は実際には緩やかであるため、誤差電流信号が条件1又は条件2に適合していながら、結果としてハイ又はローの期間が長くなることは殆ど生じない。   FIG. 3A shows a case where the error current signal meets the condition 1. As shown in FIG. 3A, when the error current signal is higher than the threshold value 1, the PWM + low period due to the triangular wave being equal to or higher than the error current signal becomes very short. Therefore, the detected current signal based on the sampling value at this time does not correctly represent the actual phase current I. Therefore, as shown in FIG. 3A, when the error current signal meets the condition 1, sampling is not performed. FIG. 3B shows a case where the error current signal meets the condition 2. As shown in FIG. 3B, when the error current signal is lower than the threshold value 2, the high period of PWM + due to the triangular wave being less than the error current signal becomes very short. Therefore, the detected current signal based on the sampling value at this time does not correctly represent the actual phase current I. Therefore, as shown in FIG. 3B, when the error current signal meets the condition 2, sampling is not performed. Note that even if the error current signal conforms to the condition 1 or the condition 2 at the sampling timing, if the error current signal changes rapidly thereafter, the high or low period may become longer as a result. However, since the change of the error current signal is actually gentle, the error current signal conforms to Condition 1 or Condition 2, and as a result, the high or low period hardly occurs.

本実施形態では、誤差電流信号が条件1又は条件2に適合するとサンプリングを行わないため、代わりに前回のサンプリングタイミングにおいて求めた検出電流信号の値を、今回のサンプリングタイミングにおける検出電流信号として使用する。なお、検出電流生成部212はサンプリングタイミングにおいて求めた検出電流信号の値を次のサンプリングタイミングまで記憶しておく。これによって、PWM信号のハイ期間、ロー期間が非常に短い場合においても、Vsnsに基づく電流検出結果と実際の相電流Iとの差を小さくして従来よりも高精度にモータ電流を検出することができる。その結果、安定したモータ電流制御が可能となる。   In the present embodiment, since sampling is not performed when the error current signal meets Condition 1 or Condition 2, the value of the detected current signal obtained at the previous sampling timing is used instead as the detected current signal at the current sampling timing. . The detection current generator 212 stores the value of the detection current signal obtained at the sampling timing until the next sampling timing. As a result, even when the high period and low period of the PWM signal are very short, the difference between the current detection result based on Vsns and the actual phase current I is reduced to detect the motor current with higher accuracy than in the past. Can do. As a result, stable motor current control is possible.

図4は、各信号の関係を示すタイミングチャートである。モータ制御部210は、各サンプリングタイミングでA/D変換部120の出力、つまり電圧Vsnsをデジタル値に変換した値をサンプリングする。その結果を(f)サンプリング結果として示す。モータ制御部210は、PWM+のハイ/ローと、サンプリング結果を用いて、相電流Iの検出値である検出電流信号を生成する。具体的には、PWM+がハイのときはサンプリング値をそのまま出力し、PWM+がローであると、サンプリング値の極性を反転させて出力することで検出電流信号を生成する。   FIG. 4 is a timing chart showing the relationship between the signals. The motor control unit 210 samples the output of the A / D conversion unit 120 at each sampling timing, that is, the value obtained by converting the voltage Vsns into a digital value. The result is shown as (f) sampling result. The motor control unit 210 generates a detection current signal that is a detection value of the phase current I by using the PWM + high / low and the sampling result. Specifically, when PWM + is high, the sampling value is output as it is, and when PWM + is low, the polarity of the sampling value is inverted and output to generate a detection current signal.

ただし、図4のToff1及びTon1の期間内におけるサンプリングタイミングでは、誤差電流信号は上述した条件に適合するためサンプリングは行わない。そして、検出電流生成部212は、サンプリングを行わなかったタイミングの1つ前のサンプリングタイミングにおいて出力した検出電流信号の値をそのまま出力する。これによって、PWM信号のハイ期間、ロー期間が非常に短い場合であっても、Vsnsに基づく相電流Iの検出結果と実際の相電流Iとの差を従来よりも低減することができる。   However, sampling is not performed at the sampling timing within the period of Toff1 and Ton1 in FIG. 4 because the error current signal meets the above-described conditions. Then, the detection current generation unit 212 outputs the value of the detection current signal output at the sampling timing immediately before the timing when sampling is not performed. Thereby, even when the high period and the low period of the PWM signal are very short, the difference between the detection result of the phase current I based on Vsns and the actual phase current I can be reduced as compared with the conventional case.

図5は、本実施形態において、検出電流生成部212で行う検出電流信号の生成処理のフローチャートである。図5の処理は、所定のサンプリングタイミング、本実施形態では、三角波の振幅が最大及び最小となるタイミング毎に行う。S10で、検出電流生成部212は、誤差電流信号が条件1又は条件2に適合するか判定する。誤差電流信号がいずれの条件にも適合しないと、検出電流生成部212は、S11で、A/D変換部120の出力をサンプリングする。続いて、検出電流生成部212は、S12で、S11でサンプリングを行った時点のPWM+がローであるか否かを判定する。PWM+がローであると、検出電流生成部212は、S11で取得したサンプリング値の極性を反転させ、S14で、反転後のサンプリング値に検出電流信号の値を更新する。一方、S12でPWM+がハイであると、検出電流生成部212は、S14において、S11で取得したサンプリング値に検出電流信号の値を更新する。さらに、S10において、誤差電流信号がいずれかの条件に適合していると、検出電流生成部212は、検出電流信号の値を更新することなく処理を終了する。   FIG. 5 is a flowchart of detection current signal generation processing performed by the detection current generation unit 212 in the present embodiment. The processing in FIG. 5 is performed at a predetermined sampling timing, which is the timing at which the amplitude of the triangular wave is maximum and minimum in this embodiment. In S10, the detection current generation unit 212 determines whether the error current signal satisfies the condition 1 or the condition 2. If the error current signal does not match any of the conditions, the detection current generator 212 samples the output of the A / D converter 120 in S11. Subsequently, in S12, the detection current generator 212 determines whether or not PWM + at the time of sampling in S11 is low. If PWM + is low, the detection current generator 212 inverts the polarity of the sampling value acquired in S11, and updates the value of the detection current signal to the inverted sampling value in S14. On the other hand, if PWM + is high in S12, the detection current generator 212 updates the value of the detection current signal to the sampling value acquired in S11 in S14. Furthermore, in S10, if the error current signal meets any of the conditions, the detection current generator 212 ends the process without updating the value of the detection current signal.

以上、本実施形態においては、サンプリングタイミングにおいて誤差電流信号の値が所定の範囲内にないと、前回のサンプリングタイミングで求めた検出電流信号の値を、今回のサンプリングタイミングの値とする。一方、サンプリングタイミングにおいて誤差電流信号の値が所定の範囲内にあると、検出抵抗110を使用して検出した電流値に基づき検出電流信号の値を求める。なお、所定の範囲は、パルス信号であるPWM+及びPWM−の論理(ハイ/ロー)が変化しない時間が所定時間より大きくなる様に決定しておく。なお、所定時間とは、モータ駆動回路100のスイッチング素子であるQ1〜Q4が切り替わるのに必要な時間より大きい時間である。以上の構成により、相電流Iの値及び方向を正しく判定して、モータを安定して制御することが可能になる。   As described above, in this embodiment, when the value of the error current signal is not within the predetermined range at the sampling timing, the value of the detected current signal obtained at the previous sampling timing is set as the value of the current sampling timing. On the other hand, when the value of the error current signal is within a predetermined range at the sampling timing, the value of the detected current signal is obtained based on the current value detected using the detection resistor 110. The predetermined range is determined so that the time during which the logic (high / low) of PWM + and PWM− that are pulse signals does not change is longer than the predetermined time. The predetermined time is a time longer than the time necessary for switching the switching elements Q1 to Q4 of the motor drive circuit 100. With the above configuration, it is possible to determine the value and direction of the phase current I correctly and to control the motor stably.

<第二実施形態>
続いて、第二実施形態について第一実施形態との相違点を中心に説明する。第一実施形態では、図5に示す様に、誤差電流信号が条件1又は条件2に適合するとサンプリングを行わないものであった。本実施形態では、所定のタイミング、本実施形態では三角波の振幅が最大となるタイミング及び最小となるタイミングにおいて常にA/D変換部120の出力をサンプリングする。但し、誤差電流信号が条件1又は条件2に適合している場合、そのサンプリング値による検出電流の更新は行わず、検出電流生成部212に記憶されている前回のサンプリングタイミングでの検出電流の値を維持する。
<Second embodiment>
Next, the second embodiment will be described focusing on the differences from the first embodiment. In the first embodiment, as shown in FIG. 5, sampling is not performed when the error current signal meets condition 1 or condition 2. In the present embodiment, the output of the A / D converter 120 is always sampled at a predetermined timing, in the present embodiment, at a timing at which the amplitude of the triangular wave is maximized and at a timing at which it is minimized. However, when the error current signal conforms to Condition 1 or Condition 2, the detection current is not updated with the sampling value, and the value of the detection current at the previous sampling timing stored in the detection current generation unit 212 is not performed. To maintain.

図6は、本実施形態において、検出電流生成部212で行う検出電流信号の生成処理のフローチャートである。S20で、検出電流生成部212は、A/D変換部120の出力をサンプリングし、S21で、検出電流生成部212は、誤差電流信号が条件1又は条件2に適合するか判定する。誤差電流信号がいずれの条件にも適合しないと、検出電流生成部212は、S22で、S20でサンプリングを行った時点のPWM+がローであるか否かを判定する。PWM+がローであると、検出電流生成部212は、S20で取得したサンプリング値の極性を反転させ、S24で、反転後のサンプリング値に検出電流信号の値を更新する。一方、S22でPWM+がハイであると、検出電流生成部212は、S24において、S20で取得したサンプリング値に検出電流信号の値を更新する。さらに、S21において、誤差電流信号がいずれかの条件に適合していると、検出電流生成部212は、検出電流信号の値を更新することなく処理を終了する。   FIG. 6 is a flowchart of detection current signal generation processing performed by the detection current generation unit 212 in the present embodiment. In S20, the detection current generation unit 212 samples the output of the A / D conversion unit 120. In S21, the detection current generation unit 212 determines whether the error current signal meets the condition 1 or the condition 2. If the error current signal does not meet any of the conditions, the detection current generator 212 determines in S22 whether PWM + at the time of sampling in S20 is low. If PWM + is low, the detection current generator 212 inverts the polarity of the sampling value acquired in S20, and updates the value of the detection current signal to the inverted sampling value in S24. On the other hand, if PWM + is high in S22, the detected current generator 212 updates the value of the detected current signal to the sampling value acquired in S20 in S24. Furthermore, in S21, if the error current signal meets any of the conditions, the detection current generation unit 212 ends the process without updating the value of the detection current signal.

<第三実施形態>
以下、第三実施形態について第一実施形態及び第二実施形態との相違点を中心に説明する。第一実施形態及び第二実施形態では、誤差電流信号が条件1又は条件2に適合すると、前回のサンプリングタイミングでの検出電流信号の値を、今回のサンプリングタイミングにおける検出電流信号の値としていた。本実施形態では、誤差電流信号が条件1又は条件2に適合すると、前回のサンプリングタイミングでの検出電流信号から、そのサンプリングタイミングにおける検出電流信号の値を予測して出力する。
<Third embodiment>
Hereinafter, the third embodiment will be described focusing on differences from the first embodiment and the second embodiment. In the first embodiment and the second embodiment, when the error current signal satisfies the condition 1 or the condition 2, the value of the detection current signal at the previous sampling timing is set as the value of the detection current signal at the current sampling timing. In the present embodiment, when the error current signal meets the condition 1 or 2, the value of the detection current signal at the sampling timing is predicted and output from the detection current signal at the previous sampling timing.

本実施形態において、モータ制御部210には、コイルL1のインダクタンス値を予め記憶させておく。例えば、時刻t1がサンプリングタイミングであり、時刻t2が時刻t1の次のサンプリングタイミングであるものとする。また、サンプリング間隔、つまり、t2−t1をΔtとし、コイルL1のインダクタンス値をLとし、モータの電源電圧(図1の24V)をVとする。この場合、時刻t1における相電流I1と、時刻t2における相電流I2との差ΔIは、ΔI=(V×Δt)/Lと予測できる。したがって、時刻t2において誤差電流信号が条件1又は条件2に適合する場合、時刻t1における検出電流信号の値I1から、時刻t2における検出電流信号の値I2を、I2=I1+(V×Δt)/Lと予測できる。なお、相電流I1は検出される毎に検出電流生成部212に記憶される。   In the present embodiment, the motor control unit 210 stores the inductance value of the coil L1 in advance. For example, it is assumed that time t1 is the sampling timing and time t2 is the next sampling timing after time t1. Further, the sampling interval, that is, t2−t1 is Δt, the inductance value of the coil L1 is L, and the motor power supply voltage (24V in FIG. 1) is V. In this case, the difference ΔI between the phase current I1 at time t1 and the phase current I2 at time t2 can be predicted as ΔI = (V × Δt) / L. Accordingly, when the error current signal meets the condition 1 or 2 at the time t2, the value I2 of the detected current signal at the time t2 is changed from the detected current signal value I1 at the time t1 to I2 = I1 + (V × Δt) / L can be predicted. The phase current I1 is stored in the detected current generator 212 every time it is detected.

図7は、本実施形態において、検出電流生成部212で行う検出電流信号の生成処理のフローチャートである。図7においては、S30において、誤差電流信号が条件1又は条件2に適合すると、S35において上述した様に検出電流信号の予測値を決定して、S34で検出電流信号を更新する点で、図5に示す第一実施形態と相違する。なお、S30において、誤差電流信号が条件1及び条件2に適合しない場合の処理は、第一実施形態と同様である。なお、図6に示す第二実施形態のS21で誤差電流信号が条件1又は条件2に適合すると、検出電流信号の予測値を決定して更新する構成であっても良い。   FIG. 7 is a flowchart of detection current signal generation processing performed by the detection current generation unit 212 in the present embodiment. In FIG. 7, when the error current signal meets the condition 1 or 2 in S30, the predicted value of the detected current signal is determined as described above in S35, and the detected current signal is updated in S34. This is different from the first embodiment shown in FIG. In S30, the process when the error current signal does not meet the conditions 1 and 2 is the same as that in the first embodiment. In addition, when the error current signal meets the condition 1 or the condition 2 in S21 of the second embodiment shown in FIG. 6, the configuration may be such that the predicted value of the detected current signal is determined and updated.

以上、本実施形態では、サンプリングタイミングにおいて誤差電流信号の値が所定範囲内にないと、前回のサンプリングタイミングで求めた検出電流信号の値に基づき、今回のサンプリングタイミングにおける検出電流信号の予測値を決定する。この構成により、より精度良く相電流Iを判定することができ、よって、より精度良くモータを制御することができる。   As described above, in this embodiment, if the value of the error current signal is not within the predetermined range at the sampling timing, the predicted value of the detected current signal at the current sampling timing is calculated based on the value of the detected current signal obtained at the previous sampling timing. decide. With this configuration, the phase current I can be determined with higher accuracy, and thus the motor can be controlled with higher accuracy.

<まとめ>
以上、上記各実施形態では、ブリッジ接続された複数のスイッチング素子であるFETを含むモータ駆動回路100によりモータに供給される駆動電流を精度よく検出する構成が開示される。具体的には、モータ駆動回路100とグランドとの間を流れる電流を検出するために検出抵抗110を、当該電流の検出部として設ける。そして、モータ制御部210は、サンプリングタイミングにおいて検出部の検出結果から駆動電流を求め、この求めた駆動電流と、モータに供給すべき駆動電流の目標値との差から誤差評価値(誤差電流信号)を求め、求めた誤差評価値に基づき、FETをオン・オフするためのパルス信号を生成してモータを制御する。ここで、誤差評価値は、求めた駆動電流と、モータに供給すべき駆動電流の目標値との差を増幅した値であり、増幅ゲインは、例えば、PI制御における比例ゲイン及び積分ゲインの和として求められる。
<Summary>
As described above, in each of the above embodiments, a configuration is disclosed in which the drive current supplied to the motor is accurately detected by the motor drive circuit 100 including the FETs that are a plurality of bridge-connected switching elements. Specifically, in order to detect a current flowing between the motor drive circuit 100 and the ground, a detection resistor 110 is provided as a detection unit for the current. The motor control unit 210 obtains a drive current from the detection result of the detection unit at the sampling timing, and calculates an error evaluation value (error current signal) from the difference between the obtained drive current and the target value of the drive current to be supplied to the motor. ) And a pulse signal for turning on / off the FET is generated based on the obtained error evaluation value to control the motor. Here, the error evaluation value is a value obtained by amplifying the difference between the obtained drive current and the target value of the drive current to be supplied to the motor, and the amplification gain is, for example, the sum of the proportional gain and integral gain in PI control. As required.

ここで、モータ制御部210は、パルス信号がハイレベルであり、且つパルス信号のハイレベルの幅が所定値より大きくなる場合は、パルス信号のハイレベルの期間で、検出抵抗110により検出する電流のサンプリングを行う。一方、モータ制御部210は、パルス信号がハイレベルであってもパルス信号のハイレベルの幅が所定値以下となる場合は、パルス信号のハイレベルの期間で検出抵抗110により検出する電流のサンプリングを行わない。言い換えると、モータ制御部210は、サンプリングタイミングにおいて誤差評価値が所定の範囲内にないと、当該サンプリングタイミングにおける駆動電流を、前回のサンプリングタイミングにおいて求めた駆動電流から求める。例えば、モータ制御部210は、当該サンプリングタイミングにおける駆動電流を、前回のサンプリングタイミングにおいて求めた駆動電流と同じ値とすることができる。また、モータ制御部210は、前回のサンプリングタイミングにおいて求めた駆動電流から、当該サンプリングタイミングにおける駆動電流の予測値を決定することもできる。この予測には、モータのインダクタンス値を使用する構成とすることができる。一方、モータ制御部210は、誤差評価値が所定の範囲内にあると、当該サンプリングタイミングにおける駆動電流を、当該サンプリングタイミングにおける検出部の検出結果から求める。   Here, when the pulse signal is at a high level and the width of the high level of the pulse signal is larger than a predetermined value, the motor control unit 210 detects the current detected by the detection resistor 110 during the high level period of the pulse signal. Sampling. On the other hand, the motor control unit 210 samples the current detected by the detection resistor 110 during the high level period of the pulse signal when the high level width of the pulse signal is equal to or less than a predetermined value even if the pulse signal is high level. Do not do. In other words, if the error evaluation value is not within the predetermined range at the sampling timing, the motor control unit 210 obtains the drive current at the sampling timing from the drive current obtained at the previous sampling timing. For example, the motor control unit 210 can set the drive current at the sampling timing to the same value as the drive current obtained at the previous sampling timing. The motor control unit 210 can also determine a predicted value of the drive current at the sampling timing from the drive current obtained at the previous sampling timing. For this prediction, the motor inductance value can be used. On the other hand, when the error evaluation value is within a predetermined range, the motor control unit 210 obtains the drive current at the sampling timing from the detection result of the detection unit at the sampling timing.

なお、モータ制御部210は、サンプリングタイミングにおいてパルス信号が第1の論理であると、検出部が検出する電流の方向に対応する方向に駆動電流が流れていると判定する。一方、モータ制御部210は、パルス信号が第1の論理とは異なる第2の論理であると、検出部が検出する電流の方向とは逆の方向に対応する方向に駆動電流が流れていると判定する。これは、図9を用いて説明した様に、検出部を流れる電流の方向と、駆動電流の方向との関係が、パルス信号がオン状態であるときとオフ状態であるときとで異なるからである。   If the pulse signal is the first logic at the sampling timing, the motor control unit 210 determines that the drive current is flowing in the direction corresponding to the direction of the current detected by the detection unit. On the other hand, if the pulse signal has a second logic different from the first logic, the motor control unit 210 has a drive current flowing in a direction corresponding to a direction opposite to the direction of the current detected by the detection unit. Is determined. This is because, as described with reference to FIG. 9, the relationship between the direction of the current flowing through the detection unit and the direction of the drive current differs between when the pulse signal is in the on state and when it is in the off state. is there.

なお、モータ制御部210は、誤差評価値と三角波との比較によりパルス信号を生成するが、前記所定の範囲は、パルス信号の論理が変化しない時間が所定時間より大きくなる様に求められる。さらに、当該所定時間は、FETのオンとオフとが切り替わるのに必要な時間から求められる。これは、図10を用いて説明した様に、パルス信号の論理が切り替わる時間間隔が所定時間より短いと、FETがオン状態からオフ状態に切り替わらず、オン状態のままとなるからである。また、この場合、検出部の検出結果は、駆動電流を精度よく示すものではなく、よって、本実施形態では、誤差評価値が所定の範囲内にないと、そのときの検出部の検出結果を使用しない構成としている。これにより、精度よく駆動電流を検出し、安定したモータ制御が可能になる。   The motor control unit 210 generates a pulse signal by comparing the error evaluation value and the triangular wave, and the predetermined range is obtained so that the time during which the logic of the pulse signal does not change is longer than the predetermined time. Further, the predetermined time is obtained from the time required for switching the FET on and off. This is because, as described with reference to FIG. 10, if the time interval at which the logic of the pulse signal is switched is shorter than a predetermined time, the FET does not switch from the on state to the off state but remains in the on state. In this case, the detection result of the detection unit does not accurately indicate the drive current. Therefore, in this embodiment, if the error evaluation value is not within the predetermined range, the detection result of the detection unit at that time is displayed. The configuration is not used. As a result, it is possible to detect the drive current with high accuracy and to perform stable motor control.

したがって、上記各実施形態は、モータ制御部210がサンプリングタイミングの前後におけるパルス信号の切り替わりの時間間隔が所定値より小さいか否かを判定する構成を開示している。そして、モータ制御部210は、パルス信号の切り替わりの時間間隔が所定値より小さいと判定すると、当該サンプリングタイミングにおける駆動電流を、前回のサンプリングタイミングにおいて求めた駆動電流から求める。上記各実施形態において、この判定は、サンプリングタイミングにおける誤差電流信号の値と閾値との比較により行う。つまり、サンプリングタイミングにおいて、誤差電流信号が閾値1以上であるか、閾値2以下であると、パルス信号の切り替わりの時間間隔が所定値より小さいと判定する。なお、誤差電流信号が閾値1以上又は閾値2以下であっても、結果としてパルス信号の切り替わりの時間間隔が所定値以上となることも生じるが、その発生確率は低く問題にはならない。   Accordingly, each of the above embodiments discloses a configuration in which the motor control unit 210 determines whether or not the time interval of switching of the pulse signal before and after the sampling timing is smaller than a predetermined value. When the motor control unit 210 determines that the pulse signal switching time interval is smaller than the predetermined value, the motor control unit 210 obtains the drive current at the sampling timing from the drive current obtained at the previous sampling timing. In each of the above embodiments, this determination is made by comparing the value of the error current signal at the sampling timing with a threshold value. That is, at the sampling timing, if the error current signal is greater than or equal to the threshold value 1 or less than or equal to the threshold value 2, it is determined that the time interval for switching the pulse signal is smaller than the predetermined value. Even if the error current signal is greater than or equal to the threshold value 1 or less than or equal to the threshold value 2, the switching time interval of the pulse signal may result in a predetermined value or more, but the occurrence probability is low and does not cause a problem.

なお、上述したモータの電流の検出結果は、モータのベクトル制御等に利用される。例えば、モータ制御部200は、上述した方法で取得したモータの巻線に流れる電流値に基づいてモータのロータ位置を決定し、決定した位置に応じて回転座標系における供給するべき駆動電流の値を決定する。   The motor current detection result described above is used for motor vector control and the like. For example, the motor control unit 200 determines the rotor position of the motor based on the value of the current flowing through the motor winding acquired by the method described above, and the value of the drive current to be supplied in the rotating coordinate system according to the determined position To decide.

また、上記各実施形態によるモータ駆動装置は、シートに画像形成を行う画像形成装置におけるモータを駆動するために使用される。一例として、本実施形態によるモータ駆動装置が実装される画像形成装置について図11を用いて説明する。画像形成装置は、単色画像を形成する画像形成装置であってもよいが、ここでは、複数色のトナー(現像剤)を用いて多色画像を形成する画像形成装置を想定する。画像形成装置は、例えば、印刷装置、プリンタ、複写機、複合機(MFP)、及びファクシミリ装置のいずれであってもよい。画像形成装置は、イエロー(Y)色、マゼンタ(M)色、シアン(C)色、及びブラック(K)色の4色のトナーを用いてトナー画像を形成する4つの画像形成ステーションを備えている。図11では、Y色のステーションの構成部品にのみ参照番号を付与しているが、4つのステーションはいずれも同一の構成を採用可能である。なお、各ステーションは、感光ドラム111や中間転写ベルト116等の像担持体にトナーを用いて画像を形成する画像形成部の一例である。   In addition, the motor driving device according to each of the above embodiments is used to drive a motor in an image forming apparatus that forms an image on a sheet. As an example, the image forming apparatus on which the motor driving apparatus according to the present embodiment is mounted will be described with reference to FIG. The image forming apparatus may be an image forming apparatus that forms a single-color image, but here, an image forming apparatus that forms a multicolor image using a plurality of colors of toner (developer) is assumed. The image forming apparatus may be, for example, a printing apparatus, a printer, a copier, a multifunction peripheral (MFP), or a facsimile apparatus. The image forming apparatus includes four image forming stations that form toner images using toners of four colors of yellow (Y), magenta (M), cyan (C), and black (K). Yes. In FIG. 11, reference numerals are assigned only to the components of the Y-colored station, but the same configuration can be adopted for all four stations. Each station is an example of an image forming unit that forms an image using toner on an image carrier such as the photosensitive drum 111 or the intermediate transfer belt 116.

一次帯電部112は、回転する感光ドラム111を一様に帯電させる。露光部113は、画像信号に基づいて変調したレーザ光(光ビーム)を出力し、感光ドラム111の表面をレーザ光で走査する。これにより、感光ドラム111上に静電潜像が形成される。現像部114は、トナーを用いて静電潜像を現像し、感光ドラム111上にトナー画像を形成する。一次転写ローラ117は、感光ドラム111上のトナー画像を中間転写ベルト116に一次転写する。中間転写ベルト116は、矢印Bの方向に回転している。中間転写ベルト116上のトナー画像は、中間転写ベルト116と二次転写ローラ123とによって形成された二次転写部へ搬送される。その間、各ステーションの感光ドラム111上に形成された各色のトナー画像が順に中間転写ベルト116上に重ね合わせて一次転写されることで、多色のトナー画像が中間転写ベルト116上に形成される。   The primary charging unit 112 uniformly charges the rotating photosensitive drum 111. The exposure unit 113 outputs laser light (light beam) modulated based on the image signal, and scans the surface of the photosensitive drum 111 with the laser light. Thereby, an electrostatic latent image is formed on the photosensitive drum 111. The developing unit 114 develops the electrostatic latent image using toner and forms a toner image on the photosensitive drum 111. The primary transfer roller 117 primarily transfers the toner image on the photosensitive drum 111 to the intermediate transfer belt 116. The intermediate transfer belt 116 rotates in the direction of arrow B. The toner image on the intermediate transfer belt 116 is conveyed to a secondary transfer portion formed by the intermediate transfer belt 116 and the secondary transfer roller 123. In the meantime, the toner images of the respective colors formed on the photosensitive drum 111 of each station are sequentially superimposed on the intermediate transfer belt 116 and primarily transferred, so that a multicolor toner image is formed on the intermediate transfer belt 116. .

給紙カセット(給紙部)124内のシートPは、給紙ローラ(ピックアップローラ)121によってシート搬送路へ給紙される。シートPは、記録紙、記録材、記録媒体、用紙、転写材、転写紙等と称されてもよい。シート搬送路へ給紙されたシートPは、搬送ローラ122によって二次転写部へ搬送される。二次転写部において、中間転写ベルト116によって搬送されてきたトナー画像がシートPに二次転写される。定着部125は、トナー画像に熱及び圧力を加えて、シートP上に定着させる。その後、トナー画像が定着したシートPは排紙ローラ126によって排紙トレイ(排紙部)へ排紙される。なお、感光ドラム111及び中間転写ベルト116の表面に残留したトナーは、ドラムクリーナ115及びベルトクリーナ118によってそれぞれ除去(回収)される。   The sheet P in the paper feed cassette (paper feed unit) 124 is fed to the sheet conveyance path by a paper feed roller (pickup roller) 121. The sheet P may be referred to as recording paper, recording material, recording medium, paper, transfer material, transfer paper, or the like. The sheet P fed to the sheet conveyance path is conveyed by the conveyance roller 122 to the secondary transfer unit. In the secondary transfer portion, the toner image conveyed by the intermediate transfer belt 116 is secondarily transferred to the sheet P. The fixing unit 125 fixes the toner image on the sheet P by applying heat and pressure. Thereafter, the sheet P on which the toner image is fixed is discharged to a discharge tray (discharge section) by a discharge roller 126. The toner remaining on the surfaces of the photosensitive drum 111 and the intermediate transfer belt 116 is removed (collected) by the drum cleaner 115 and the belt cleaner 118, respectively.

このように、画像形成装置は、画像が形成されるシートの搬送用のローラとして、給紙ローラ121、搬送ローラ122、排紙ローラ126等のローラを備えている。これらのローラを駆動する駆動源に相当するモータは、画像形成装置内の上位の制御回路からの指示により、上記各実施形態のモータ駆動装置によって駆動される。また、感光ドラム111や、中間転写ベルト116を駆動するためのモータを、上記各実施形態によりモータ駆動装置によって駆動することができる。   As described above, the image forming apparatus includes rollers such as a paper feed roller 121, a transport roller 122, and a paper discharge roller 126 as rollers for transporting a sheet on which an image is formed. A motor corresponding to a driving source for driving these rollers is driven by the motor driving device of each of the above embodiments in accordance with an instruction from a higher-level control circuit in the image forming apparatus. Further, the motor for driving the photosensitive drum 111 and the intermediate transfer belt 116 can be driven by the motor driving device according to each of the above embodiments.

[その他の実施形態]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Embodiments]
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

100:モータ駆動回路、110:検出抵抗、210:モータ制御部   100: motor drive circuit, 110: detection resistor, 210: motor control unit

Claims (12)

ブリッジ接続された複数のスイッチング素子を含み、モータに駆動電流を供給する駆動手段と、
前記駆動手段とグランドとの間を流れる電流を検出する検出手段と、
前記検出手段の検出結果から駆動電流を求め、前記求めた駆動電流と前記モータに供給すべき駆動電流の目標値との差に基づき前記複数のスイッチング素子をオン・オフするためのPWM信号を生成してモータを制御する制御手段と、
を備え、
前記制御手段は、前記PWM信号がハイレベルであり、且つ前記PWM信号のハイレベルの幅が所定値より大きくなる場合は、前記PWM信号のハイレベルの期間で前記検出手段による電流のサンプリングを行い、前記PWM信号がハイレベルであっても前記PWM信号のハイレベルの幅が前記所定値以下となる場合は、前記PWM信号のハイレベルの期間で前記検出手段による電流のサンプリングを行わないことを特徴とするモータ駆動装置。
Drive means including a plurality of bridge-connected switching elements and supplying a drive current to the motor;
Detecting means for detecting a current flowing between the driving means and the ground;
A drive current is obtained from the detection result of the detection means, and a PWM signal for turning on / off the plurality of switching elements is generated based on a difference between the obtained drive current and a target value of the drive current to be supplied to the motor. Control means for controlling the motor,
With
When the PWM signal is at a high level and the width of the high level of the PWM signal is larger than a predetermined value, the control unit performs current sampling by the detection unit during a period of the high level of the PWM signal. Even if the PWM signal is at a high level, if the width of the high level of the PWM signal is equal to or less than the predetermined value, current sampling by the detection means is not performed during the high level period of the PWM signal. A motor drive device.
前記制御手段は、前記差と三角波との比較により前記PWM信号を生成することを特徴とする請求項1に記載のモータ駆動装置。   2. The motor driving apparatus according to claim 1, wherein the control unit generates the PWM signal by comparing the difference with a triangular wave. ブリッジ接続された複数のスイッチング素子を含み、モータに駆動電流を供給する駆動手段と、
前記駆動手段とグランドとの間を流れる電流を検出する検出手段と、
サンプリングタイミングにおいて前記検出手段の検出結果から駆動電流を求め、前記求めた駆動電流と前記モータに供給すべき駆動電流の目標値との差に基づき前記複数のスイッチング素子をオン・オフするためのパルス信号を生成してモータを制御する制御手段と、
を備えており、
前記制御手段は、サンプリングタイミングにおいて前記差が所定の範囲内にないと、当該サンプリングタイミングにおける駆動電流を、前回のサンプリングタイミングにおいて求めた駆動電流から求めることを特徴とするモータ駆動装置。
Drive means including a plurality of bridge-connected switching elements and supplying a drive current to the motor;
Detecting means for detecting a current flowing between the driving means and the ground;
A pulse for obtaining a drive current from a detection result of the detection means at a sampling timing and turning on / off the plurality of switching elements based on a difference between the obtained drive current and a target value of the drive current to be supplied to the motor Control means for generating a signal to control the motor;
With
If the difference is not within a predetermined range at the sampling timing, the control means obtains the drive current at the sampling timing from the drive current obtained at the previous sampling timing.
前記制御手段は、サンプリングタイミングにおいて前記差が前記所定の範囲内にあると、当該サンプリングタイミングにおける駆動電流を、当該サンプリングタイミングにおける前記検出手段の検出結果から求めることを特徴とする請求項3に記載のモータ駆動装置。   The said control means calculates | requires the drive current in the said sampling timing from the detection result of the said detection means in the said sampling timing, if the said difference exists in the said predetermined range in sampling timing. Motor drive device. 前記制御手段は、サンプリングタイミングにおいて前記差が前記所定の範囲内にないと、当該サンプリングタイミングにおける駆動電流を、前回のサンプリングタイミングにおいて求めた駆動電流と同じ値とすることを特徴とする請求項3又は4に記載のモータ駆動装置。   4. The control unit according to claim 3, wherein if the difference at the sampling timing is not within the predetermined range, the driving current at the sampling timing is set to the same value as the driving current obtained at the previous sampling timing. Or the motor drive unit of 4. 前記制御手段は、サンプリングタイミングにおいて前記差が前記所定の範囲内にないと、前回のサンプリングタイミングにおいて求めた駆動電流から、当該サンプリングタイミングにおける駆動電流を予測することを特徴とする請求項3又は4に記載のモータ駆動装置。   The control means predicts the drive current at the sampling timing from the drive current obtained at the previous sampling timing if the difference is not within the predetermined range at the sampling timing. The motor drive device described in 1. 前記制御手段は、サンプリングタイミングにおいて前記差が前記所定の範囲内にないと、前回のサンプリングタイミングにおいて求めた駆動電流と、前記モータのインダクタンス値に基づき当該サンプリングタイミングにおける駆動電流を予測することを特徴とする請求項6に記載のモータ駆動装置。   The control means predicts the drive current at the sampling timing based on the drive current obtained at the previous sampling timing and the inductance value of the motor when the difference is not within the predetermined range at the sampling timing. The motor driving device according to claim 6. 前記制御手段は、サンプリングタイミングにおいて前記パルス信号が第1の極性であると、前記検出手段が検出する電流の方向に対応する方向に前記駆動電流が流れていると判定し、前記パルス信号が第1の極性とは異なる第2の極性であると、前記検出手段が検出する電流の方向とは逆の方向に対応する方向に前記駆動電流が流れていると判定することを特徴とする請求項3から7のいずれか1項に記載のモータ駆動装置。   The control means determines that the drive current is flowing in a direction corresponding to the direction of the current detected by the detection means when the pulse signal has the first polarity at the sampling timing, and the pulse signal is The second polarity different from the first polarity is determined to determine that the drive current is flowing in a direction corresponding to a direction opposite to the direction of the current detected by the detection means. The motor driving device according to any one of 3 to 7. 前記制御手段は、前記差と三角波との比較により前記パルス信号を生成し、
前記所定の範囲は、前記パルス信号の極性が変化しない時間が所定時間より大きくなる様に求められていることを特徴とする請求項3から8のいずれか1項に記載のモータ駆動装置。
The control means generates the pulse signal by comparing the difference with a triangular wave,
9. The motor driving apparatus according to claim 3, wherein the predetermined range is determined such that a time during which the polarity of the pulse signal does not change is longer than a predetermined time.
前記所定時間は、前記複数のスイッチング素子が切り替わるのに必要な時間から求められていることを特徴とする請求項9に記載のモータ駆動装置。   The motor driving apparatus according to claim 9, wherein the predetermined time is obtained from a time required for switching the plurality of switching elements. ブリッジ接続された複数のスイッチング素子を含み、モータに駆動電流を供給する駆動手段と、
前記駆動手段とグランドとの間を流れる電流を検出する検出手段と、
サンプリングタイミングにおいて前記検出手段の検出結果から駆動電流を求め、前記求めた駆動電流と前記モータに供給すべき駆動電流の目標値に基づき前記複数のスイッチング素子をオン・オフするためのパルス信号を生成してモータを制御する制御手段と、
を備えており、
前記制御手段は、サンプリングタイミングの前後における前記パルス信号の切り替わりの時間間隔が所定値より小さいと判定すると、当該サンプリングタイミングにおける駆動電流を、前回のサンプリングタイミングにおいて求めた駆動電流から求めることを特徴とするモータ駆動装置。
Drive means including a plurality of bridge-connected switching elements and supplying a drive current to the motor;
Detecting means for detecting a current flowing between the driving means and the ground;
A driving current is obtained from the detection result of the detecting means at a sampling timing, and a pulse signal for turning on / off the plurality of switching elements is generated based on the obtained driving current and a target value of the driving current to be supplied to the motor. Control means for controlling the motor,
With
When the control means determines that the time interval for switching the pulse signal before and after the sampling timing is smaller than a predetermined value, the control means obtains the drive current at the sampling timing from the drive current obtained at the previous sampling timing. A motor drive device.
前記制御手段は、サンプリングタイミングの前後における前記パルス信号の切り替わりの時間間隔が前記所定値より大きいと判定すると、当該サンプリングタイミングにおける駆動電流を、当該サンプリングタイミングにおける前記検出手段の検出結果から求めることを特徴とする請求項11に記載のモータ駆動装置。   When the control means determines that the time interval of switching of the pulse signal before and after the sampling timing is greater than the predetermined value, the control means obtains the drive current at the sampling timing from the detection result of the detection means at the sampling timing. The motor drive device according to claim 11, wherein
JP2016091655A 2015-06-16 2016-04-28 Motor drive Active JP6539226B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/171,147 US9787241B2 (en) 2015-06-16 2016-06-02 Motor driving device for controlling motor with pulse signal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015121424 2015-06-16
JP2015121424 2015-06-16

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2019104783A Division JP6770610B2 (en) 2015-06-16 2019-06-04 Motor drive device and image forming device

Publications (3)

Publication Number Publication Date
JP2017011987A true JP2017011987A (en) 2017-01-12
JP2017011987A5 JP2017011987A5 (en) 2018-08-30
JP6539226B2 JP6539226B2 (en) 2019-07-03

Family

ID=57764213

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2016091655A Active JP6539226B2 (en) 2015-06-16 2016-04-28 Motor drive
JP2019104783A Active JP6770610B2 (en) 2015-06-16 2019-06-04 Motor drive device and image forming device

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2019104783A Active JP6770610B2 (en) 2015-06-16 2019-06-04 Motor drive device and image forming device

Country Status (1)

Country Link
JP (2) JP6539226B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102079454B1 (en) * 2018-10-01 2020-02-19 동의대학교 산학협력단 Method and apparatus for sensing current of bidirectional single-phase pulse width modulation converter

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03218294A (en) * 1990-01-22 1991-09-25 Japan Electron Control Syst Co Ltd Monitor for motor drive
JPH04368490A (en) * 1991-06-15 1992-12-21 Matsushita Electric Works Ltd Motor driving circuit
JPH0899645A (en) * 1994-08-02 1996-04-16 Koyo Seiko Co Ltd Motor-driven power steering
JP2002119062A (en) * 2000-10-03 2002-04-19 Hitachi Ltd Method and apparatus for pulse width modulation and power converter
JP2004064903A (en) * 2002-07-30 2004-02-26 Hitachi Ltd Controller for synchronous motor, and apparatus using it
JP2006166574A (en) * 2004-12-06 2006-06-22 Toyota Industries Corp Inverter device
JP2010074902A (en) * 2008-09-17 2010-04-02 Ricoh Co Ltd Control method of motor drive unit
JP2010273445A (en) * 2009-05-20 2010-12-02 Yamatake Corp Current measuring method and measuring device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03218294A (en) * 1990-01-22 1991-09-25 Japan Electron Control Syst Co Ltd Monitor for motor drive
JPH04368490A (en) * 1991-06-15 1992-12-21 Matsushita Electric Works Ltd Motor driving circuit
JPH0899645A (en) * 1994-08-02 1996-04-16 Koyo Seiko Co Ltd Motor-driven power steering
JP2002119062A (en) * 2000-10-03 2002-04-19 Hitachi Ltd Method and apparatus for pulse width modulation and power converter
JP2004064903A (en) * 2002-07-30 2004-02-26 Hitachi Ltd Controller for synchronous motor, and apparatus using it
JP2006166574A (en) * 2004-12-06 2006-06-22 Toyota Industries Corp Inverter device
JP2010074902A (en) * 2008-09-17 2010-04-02 Ricoh Co Ltd Control method of motor drive unit
JP2010273445A (en) * 2009-05-20 2010-12-02 Yamatake Corp Current measuring method and measuring device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102079454B1 (en) * 2018-10-01 2020-02-19 동의대학교 산학협력단 Method and apparatus for sensing current of bidirectional single-phase pulse width modulation converter

Also Published As

Publication number Publication date
JP6539226B2 (en) 2019-07-03
JP2019170156A (en) 2019-10-03
JP6770610B2 (en) 2020-10-14

Similar Documents

Publication Publication Date Title
US9787241B2 (en) Motor driving device for controlling motor with pulse signal
JP5558786B2 (en) High voltage power supply device and image forming apparatus
US7898149B2 (en) Power supply device and image forming apparatus
JP2001282012A (en) Image forming device
JP6433114B2 (en) Power supply device, image forming apparatus, and IC
EP3349070A1 (en) High-voltage power supply apparatus and image forming apparatus
JP2014238457A (en) Image forming apparatus
US8340539B2 (en) Constant current-type high-voltage power supply apparatus and method of controlling power output from the same
JP6646490B2 (en) Power supply circuit and image forming apparatus
JP6770610B2 (en) Motor drive device and image forming device
JP2007189880A (en) High-voltage power supply and image forming apparatus equipped with the same
JP4508829B2 (en) High voltage power supply device and image forming apparatus having the same
US20020051142A1 (en) Developing method and developing apparatus
JP5322536B2 (en) Power supply apparatus, image forming apparatus, and control method for power supply apparatus
JP4404102B2 (en) Image forming apparatus
US10488801B2 (en) Image forming apparatus
JP4291653B2 (en) Electrophotographic equipment
JP2011193612A (en) Motor drive unit and image forming device
JP2019152759A (en) Image formation device
JP2014115346A (en) Image forming apparatus
JP2018033268A (en) Motor controller and image formation apparatus
JP2018064397A (en) Motor control device and image forming apparatus
JP2020137271A (en) Twin drive device and motor control method
JP6456148B2 (en) Image forming apparatus
JP2017184489A (en) Motor drive unit and image formation device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180718

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180718

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190426

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190510

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190607

R151 Written notification of patent or utility model registration

Ref document number: 6539226

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151