JP6539226B2 - Motor drive - Google Patents

Motor drive Download PDF

Info

Publication number
JP6539226B2
JP6539226B2 JP2016091655A JP2016091655A JP6539226B2 JP 6539226 B2 JP6539226 B2 JP 6539226B2 JP 2016091655 A JP2016091655 A JP 2016091655A JP 2016091655 A JP2016091655 A JP 2016091655A JP 6539226 B2 JP6539226 B2 JP 6539226B2
Authority
JP
Japan
Prior art keywords
current
motor
drive
sampling timing
drive current
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.)
Active
Application number
JP2016091655A
Other languages
Japanese (ja)
Other versions
JP2017011987A (en
JP2017011987A5 (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.)
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

Description

本発明は、モータを駆動するモータ駆動装置に関する。   The present invention relates to a motor drive device for driving 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 block diagram of a general motor drive circuit 100. As shown in FIG. Four FETs Q1 to Q4 (hereinafter simply referred to as Q1 to Q4) are bridge-connected, and motor coil L1 is connected to bridge the connection point of Q1 and Q3 and the connection point of Q2 and Q4. . In FIG. 8, Q1 to Q4 are n-channel FETs, and the drain terminals of Q1 and Q2 are connected to the 24V power supply terminal. Also, the source terminals of Q3 and Q4 are connected to ground (GND). Also, Q1 and Q4 are driven by the same PWM signal, PWM +, and Q2 and Q3 are driven by the same PWM signal, PWM-. Note that PWM + and PWM− are in opposite phase to each other.

続いて、図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は、点線の様に流れる。   Subsequently, 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 for driving the motor. When the phase current I is in the positive period T1 and the PWM + is high, the phase current I flows as shown by the solid line in FIG. After that, when PWM + becomes low, an induced voltage is generated in the coil L1 in the direction to block the change of the current. This induced electromotive force is superior to the 24 V power source for driving the motor, and the phase current I flows (regeneration current) as shown by the dotted line in FIG. On the other hand, when the phase current I is negative during the period T2, when the PWM + is low, the phase current I flows as shown by the solid line in FIG. 9, and when the PWM + becomes high thereafter, the induced electromotive force generated in the coil L1 The phase current I flows as indicated by 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に示す波形が得られるのみであり、相電流の方向を判定できない。   A control unit that controls the motor needs to detect the phase current I in order to drive the motor drive circuit 100 properly. As a detection place of the phase current I, there are a point A, a point B and a point 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, current detection can be performed with inexpensive parts. However, in a period T1 in which the direction of the phase current I is positive, when PWM + is high, a current flows from the power supply terminal toward GND via Q1 and then through the coils L1 and Q4. On the other hand, in a period T1 in which the direction of the phase current I is positive, when PWM + is low, a current flows from GND to the power supply terminal via Q3 and then the coil L1 and Q2 in this order. That is, in a period T1 in which the direction of the phase current I is positive, current flows in both directions toward and away from GND at point C. The same applies to a period in which the direction of the phase current I is negative. That is, when the detection resistance is provided at the point C and the voltage Vsns at both ends thereof is obtained, only the waveform shown in FIG. 9 is obtained, and the direction of the phase current can not be determined.

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

特開平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 a period T1 in which the phase current in FIG. 10 is positive, PWM + is low for a very short period Toff1. In this very short period Toff1, PWM + is low, 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 fall below 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 can not be detected correctly. In addition, switching noise of Q1 to Q4 is generated when the PWM signal is switched between high and low, and there is a possibility that the noise may be superimposed on the detected current value. Also in this case, the phase current I can not be detected correctly.

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

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

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

一実施形態によるモータ駆動装置の概略的な構成図。BRIEF DESCRIPTION OF THE DRAWINGS 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. 一実施形態によるモータ駆動回路の構成図。BRIEF DESCRIPTION OF THE DRAWINGS The block diagram of the motor drive circuit by one Embodiment. 相電流の説明図。Explanatory drawing of phase current. PWM信号のハイ又はロー期間が短い場合のモータ駆動回路の動作の説明図。Explanatory drawing of operation | movement of a motor drive circuit in case the high or low period of a PWM signal is short. 各実施形態によるモード駆動装置が使用される画像形成装置の構成図。BRIEF DESCRIPTION OF THE DRAWINGS The block diagram of the image forming apparatus in which the mode drive device by each embodiment is used.

以下、本発明の例示的な実施形態について図面を参照して説明する。なお、以下の実施形態は例示であり、本発明を実施形態の内容に限定するものではない。また、以下の各図においては、実施形態の説明に必要ではない構成要素については図から省略する。   Hereinafter, exemplary embodiments of the present invention will be described with reference to the drawings. The following embodiment is an exemplification, and the present invention is not limited to the contents of the embodiment. Further, in each of the following drawings, components that are not necessary for the description of the embodiment will be 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 block 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. 8 and 9, and thus the description thereof will not be repeated. The detection resistor 110 is provided between the junction point of Q3 and Q4 of the motor drive circuit 100 and GND in order to detect the current flowing between the motor drive circuit 100 and the GND. Note that, in the detection resistor 110, a voltage Vsns occurs according to the amplitude of the phase current I which is a drive current for driving the motor. When receiving a sampling request from the motor control unit 210, the analog-to-digital (A / D) conversion unit 120 converts the voltage Vsns, which is an analog value, into a digital value and outputs the digital value. The motor control unit 210 is realized by the CPU 200 executing a program in the present embodiment. However, it can also be realized in hardware. Furthermore, the CPU 200 can execute part of the processing of the motor control unit 210 described below, and the remaining processing can be realized as hardware. The target current generation unit 211 outputs a target value of the phase current I to be supplied to the coil L1 as a target current signal. For example, when the phase current I is 1 amperes, the target current signal is a signal in which information indicating an amplitude of +1 amperes and information indicating an amplitude of −1 amperes alternately change according to the frequency. The detection current generation unit 212 generates a detection current signal corresponding to the phase current I based on the sampling value from the A / D conversion unit 120 and the PWM + output from the PWM generation unit 213. Although PWM + is input to the detected current generation unit 212 in this embodiment, PWM + may be input since PWM + and PWM− are in opposite phase to each other.

図10を用いて説明した様に、電圧Vsnsの極性は相電流Iの方向と一致しない。したがって、検出電流生成部212はPWM+がローの場合、電圧Vsnsの極性を反転させて検出電流信号を生成する。したがって、検出電流信号の極性は相電流Iの方向に応じたものとなる。   As described with reference to FIG. 10, the polarity of the voltage Vsns does not match the direction of the phase current I. Therefore, when PWM + is low, the detection current generation unit 212 inverts the polarity of the voltage Vsns to generate a detection current signal. Therefore, the polarity of the detected current signal corresponds to 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 the difference between the target current signal and the detected current signal, and outputs the result as an error current 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 the triangular wave carrier wave having a predetermined cycle. 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, the relationship between the generation of the PWM signal in the motor control unit 210 and the sampling in the A / D conversion unit 120 will be described. FIG. 2 shows the relationship between a triangular wave carrier wave of a predetermined frequency (hereinafter simply referred to as a triangular wave), an error current signal, PWM +, and the sampling timing of the output of A / D converter 120 by motor control unit 210. ing. The PWM generator 213 compares the error current signal with the 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 + becomes high level, and otherwise PWM + becomes low level. Therefore, the duty ratio is 100% when the error current signal remains at or above the maximum value of the triangular wave, and the duty ratio is 0% when the error current signal is smaller than the minimum value of the triangular wave. The duty ratio is a ratio of a high period to one cycle of PWM +.

本実施形態では、三角波の最小値より大きく最大値より小さい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 thresholds (Threshold 1 and Threshold 2) which are larger than the minimum value of the triangular wave and smaller than the maximum value are provided. Here, threshold 1 is assumed to be larger than threshold 2. For example, threshold 1 may be 95% of the maximum value of the triangular wave, and threshold 2 may 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 the triangular wave becomes minimum. Then, the detection current generation unit 212 generates a detection current signal according to the sampling value and the high / low of PWM +. FIG. 2 shows PWM + and sampling timing when the error current signal is between threshold 1 and threshold 2. FIG. However, as described above, when the high and low periods of PWM + and PWM− are very short, the sign of the detected current signal generated in this short period does not correctly represent the direction of the phase current I. Therefore, in the present embodiment, sampling is not performed when the error current signal meets either of the following two conditions. First, condition 1 is the case where the error current signal is equal to or greater than threshold 1 and PWM + is low. Condition 2 is the case where the error current signal is less than or equal to threshold 2 and PWM + is high. The state satisfying this condition is a state in which the high level period of PWM + is equal to or less than a predetermined period, or a period in which the low level of PWM + is equal to or shorter than the predetermined period. Therefore, when the high level period of PWM + is equal to or less than the predetermined period, sampling is not performed in the high level period, and when the low level period of PWM + is equal to or less than the predetermined period, the low level period is There is no sampling. Similarly, if the high level period of PWM- is less than or equal to the predetermined period, sampling is not performed within the high level period, and if the low level period of PWM- is less than or equal to the predetermined period, the low level There is no sampling 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 the case where the error current signal conforms to condition 1. As shown in FIG. 3A, when the error current signal is higher than the threshold 1, the low period of PWM + due to the triangular wave becoming equal to or higher than the error current signal becomes very short. Therefore, the detection 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, sampling is not performed when the error current signal conforms to condition 1. FIG. 3B shows the case where the error current signal conforms to condition 2. As shown in FIG. 3B, when the error current signal is lower than the threshold 2, the high period of PWM + due to the triangular wave being less than the error current signal becomes very short. Therefore, the detection 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, if the error current signal conforms to condition 2, sampling is not performed. Even if the error current signal conforms to Condition 1 or Condition 2 at the sampling timing, if the error current signal changes rapidly thereafter, the high or low period may be extended as a result. However, since the change in the error current signal is in fact slow, it is unlikely that the high or low period will be extended as a result, while the error current signal conforms to condition 1 or condition 2.

本実施形態では、誤差電流信号が条件1又は条件2に適合するとサンプリングを行わないため、代わりに前回のサンプリングタイミングにおいて求めた検出電流信号の値を、今回のサンプリングタイミングにおける検出電流信号として使用する。なお、検出電流生成部212はサンプリングタイミングにおいて求めた検出電流信号の値を次のサンプリングタイミングまで記憶しておく。これによって、PWM信号のハイ期間、ロー期間が非常に短い場合においても、Vsnsに基づく電流検出結果と実際の相電流Iとの差を小さくして従来よりも高精度にモータ電流を検出することができる。その結果、安定したモータ電流制御が可能となる。   In this embodiment, since the sampling is not performed when the error current signal conforms to the condition 1 or the condition 2, the value of the detection current signal obtained at the previous sampling timing is used instead as the detection current signal at the current sampling timing. . The detection current generation unit 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 motor current can be detected more accurately than before by reducing the difference between the current detection result based on Vsns and the actual phase current I. Can. 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 of each signal. The motor control unit 210 samples the output of the A / D conversion unit 120, that is, the value obtained by converting the voltage Vsns into a digital value at each sampling timing. The result is shown as (f) sampling result. The motor control unit 210 generates a detection current signal which is a detection value of the phase current I, using the high / low of PWM + 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, at the sampling timing in the period of Toff1 and Ton1 of FIG. 4, the error current signal is not sampled because it conforms to the conditions described above. Then, the detection current generation unit 212 directly outputs the value of the detection current signal output at the sampling timing immediately before the timing at which the sampling was not performed. This makes it possible to reduce the difference between the detection result of the phase current I based on Vsns and the actual phase current I compared to the prior art, even when the high period and low period of the PWM signal are very short.

図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 a process of generating a detection current signal performed by the detection current generation unit 212 in the present embodiment. The processing of FIG. 5 is performed at predetermined sampling timing, which is the timing at which the amplitude of the triangular wave is maximum and minimum in the present embodiment. At S10, the detection current generation unit 212 determines whether the error current signal conforms to Condition 1 or Condition 2. If the error current signal does not meet any of the conditions, the detected current generation unit 212 samples the output of the A / D conversion unit 120 at S11. Subsequently, in S12, the detection current generation unit 212 determines whether or not PWM + at the time of sampling in S11 is low. If PWM + is low, the detection current generation unit 212 inverts the polarity of the sampling value acquired in S11, and updates the value of the detection current signal to the sampling value after inversion in S14. On the other hand, if PWM + is high in S12, the detected current generation unit 212 updates the value of the detected current signal to the sampling value acquired in S11 in S14. Furthermore, in S10, if the error current signal conforms to any of the conditions, the detection current generation unit 212 ends the process without updating the value of the detection current signal.

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

<第二実施形態>
続いて、第二実施形態について第一実施形態との相違点を中心に説明する。第一実施形態では、図5に示す様に、誤差電流信号が条件1又は条件2に適合するとサンプリングを行わないものであった。本実施形態では、所定のタイミング、本実施形態では三角波の振幅が最大となるタイミング及び最小となるタイミングにおいて常にA/D変換部120の出力をサンプリングする。但し、誤差電流信号が条件1又は条件2に適合している場合、そのサンプリング値による検出電流の更新は行わず、検出電流生成部212に記憶されている前回のサンプリングタイミングでの検出電流の値を維持する。
Second Embodiment
Subsequently, a second embodiment will be described focusing on differences from the first embodiment. In the first embodiment, as shown in FIG. 5, when the error current signal conforms to the condition 1 or 2, the sampling is not performed. In this embodiment, the output of the A / D converter 120 is always sampled at a predetermined timing, that is, the timing at which the amplitude of the triangular wave is maximum and the timing at which the amplitude of the triangular wave is maximum in this embodiment. However, when the error current signal conforms to condition 1 or condition 2, the detection current is not updated by the sampling value, and the value of the detection current at the previous sampling timing stored in the detection current generation unit 212 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 a process of generating a detection current signal 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, and in S21, the detection current generation unit 212 determines whether the error current signal conforms to Condition 1 or Condition 2. If the error current signal does not meet any of the conditions, the detected current generation unit 212 determines in S22 whether or not PWM + at the time of sampling in S20 is low. If PWM + is low, the detected current generation unit 212 inverts the polarity of the sampling value acquired in S20, and updates the value of the detected current signal to the inverted sampling value in S24. On the other hand, if PWM + is high in S22, the detected current generation unit 212 updates the value of the detected current signal to the sampling value acquired in S20 in S24. Furthermore, in S21, when the error current signal conforms to 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 conforms to Condition 1 or Condition 2, the value of the detected current signal at the previous sampling timing is used as the value of the detected current signal at the current sampling timing. In this embodiment, when the error current signal conforms to Condition 1 or Condition 2, the value of the detected current signal at the sampling timing is predicted and output from the detected 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 in advance the inductance value of the coil L1. For example, it is assumed that time t1 is a sampling timing, and time t2 is a sampling timing next to time t1. Further, a sampling interval, that is, t2−t1 is Δt, an inductance value of the coil L1 is L, and a power supply voltage of the motor (24 V 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. Therefore, when the error current signal conforms to condition 1 or condition 2 at time t2, the value I2 of the detected current signal at time t2 is obtained from the value I1 of the detected current signal at time t1 It can be predicted as L. The phase current I1 is stored in the detection current generator 212 each 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 a process of generating a detection current signal performed by the detection current generation unit 212 in the present embodiment. In FIG. 7, when the error current signal conforms to condition 1 or condition 2 in S30, the predicted value of the detection current signal is determined as described above in S35, and the detection current signal is updated in S34. This is different from the first embodiment shown in FIG. The process in the case where the error current signal does not conform to the conditions 1 and 2 in S30 is the same as that in the first embodiment. If the error current signal conforms to the condition 1 or 2 in S21 of the second embodiment shown in FIG. 6, the predicted value of the detected current signal may be determined and updated.

以上、本実施形態では、サンプリングタイミングにおいて誤差電流信号の値が所定範囲内にないと、前回のサンプリングタイミングで求めた検出電流信号の値に基づき、今回のサンプリングタイミングにおける検出電流信号の予測値を決定する。この構成により、より精度良く相電流Iを判定することができ、よって、より精度良くモータを制御することができる。   As described above, in the present embodiment, when the value of the error current signal does not fall 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 more accurately, and hence the motor can be more accurately controlled.

<まとめ>
以上、上記各実施形態では、ブリッジ接続された複数のスイッチング素子であるFETを含むモータ駆動回路100によりモータに供給される駆動電流を精度よく検出する構成が開示される。具体的には、モータ駆動回路100とグランドとの間を流れる電流を検出するために検出抵抗110を、当該電流の検出部として設ける。そして、モータ制御部210は、サンプリングタイミングにおいて検出部の検出結果から駆動電流を求め、この求めた駆動電流と、モータに供給すべき駆動電流の目標値との差から誤差評価値(誤差電流信号)を求め、求めた誤差評価値に基づき、FETをオン・オフするためのパルス信号を生成してモータを制御する。ここで、誤差評価値は、求めた駆動電流と、モータに供給すべき駆動電流の目標値との差を増幅した値であり、増幅ゲインは、例えば、PI制御における比例ゲイン及び積分ゲインの和として求められる。
<Summary>
As described above, in each of the above-described 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 the current flowing between the motor drive circuit 100 and the ground, a detection resistor 110 is provided as a detection unit of the current. Then, the motor control unit 210 obtains the drive current from the detection result of the detection unit at the sampling timing, and 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 based on the determined error evaluation value, generates a pulse signal for turning on / off the FET 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 a proportional gain and an integral gain in PI control. Is 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 becomes 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. Do the sampling of On the other hand, when the width of the high level of the pulse signal is equal to or less than the predetermined value even if the pulse signal is high, the motor control unit 210 samples the current detected by the detection resistor 110 during the high level period of the pulse signal. 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 driving current at the sampling timing from the driving 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 the predicted value of the drive current at the sampling timing from the drive current obtained at the previous sampling timing. This prediction can be configured to use a motor inductance value. On the other hand, when the error evaluation value is within the 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を用いて説明した様に、検出部を流れる電流の方向と、駆動電流の方向との関係が、パルス信号がオン状態であるときとオフ状態であるときとで異なるからである。   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 if the pulse signal is the first logic at the sampling timing. On the other hand, in the motor control unit 210, when the pulse signal is the second logic different from the first logic, the drive current flows in the direction corresponding to the direction opposite to the direction of the current detected by the detection unit. It is determined that 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 with the triangular wave, but the predetermined range is determined such that the time during which the logic of the pulse signal does not change is larger than the predetermined time. Furthermore, the predetermined time can be obtained from the time required to switch the FET on and off. This is because, as described with reference to FIG. 10, when the time interval at which the logic of the pulse signal switches is shorter than a predetermined time, the FET does not switch from the on state to the off state, and remains in the on state. Further, in this case, the detection result of the detection unit does not accurately indicate the drive current. Therefore, in the present embodiment, when the error evaluation value is not within the predetermined range, the detection result of the detection unit at that time is It does not use it. As a result, the drive current is accurately detected, and stable motor control becomes possible.

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

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

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

給紙カセット(給紙部)124内のシートPは、給紙ローラ(ピックアップローラ)121によってシート搬送路へ給紙される。シートPは、記録紙、記録材、記録媒体、用紙、転写材、転写紙等と称されてもよい。シート搬送路へ給紙されたシートPは、搬送ローラ122によって二次転写部へ搬送される。二次転写部において、中間転写ベルト116によって搬送されてきたトナー画像がシートPに二次転写される。定着部125は、トナー画像に熱及び圧力を加えて、シートP上に定着させる。その後、トナー画像が定着したシートPは排紙ローラ126によって排紙トレイ(排紙部)へ排紙される。なお、感光ドラム111及び中間転写ベルト116の表面に残留したトナーは、ドラムクリーナ115及びベルトクリーナ118によってそれぞれ除去(回収)される。   A sheet P in a sheet feeding cassette (sheet feeding unit) 124 is fed to a sheet conveyance path by a sheet feeding roller (pickup roller) 121. The sheet P may be referred to as recording paper, recording material, recording medium, paper, transfer material, transfer paper, and the like. The sheet P fed to the sheet conveyance path is conveyed by the conveyance roller 122 to the secondary transfer unit. At 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 applies heat and pressure to the toner image to fix it on the sheet P. Thereafter, the sheet P on which the toner image is fixed is discharged by the sheet discharge roller 126 to the sheet discharge tray (sheet discharge unit). 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 the paper feed roller 121, the conveyance roller 122, and the paper discharge roller 126, as conveyance rollers for a sheet on which an image is formed. A motor corresponding to a drive source for driving these rollers is driven by the motor drive device of each of the above embodiments in accordance with an instruction from a higher 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 drive device according to the above embodiments.

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

100:モータ駆動回路、110:検出抵抗、210:モータ制御部   100: Motor drive circuit 110: Detection resistor 210: Motor controller

Claims (14)

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

Families Citing this family (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

Family Cites Families (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
JP3525195B2 (en) * 1994-08-02 2004-05-10 光洋精工株式会社 Electric power steering device
JP3665812B2 (en) * 2000-10-03 2005-06-29 株式会社日立製作所 Pulse width modulation method, apparatus and power converter
JP2004064903A (en) * 2002-07-30 2004-02-26 Hitachi Ltd Controller for synchronous motor, and apparatus using it
JP4513536B2 (en) * 2004-12-06 2010-07-28 株式会社豊田自動織機 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

Also Published As

Publication number Publication date
JP2017011987A (en) 2017-01-12
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
US9091989B2 (en) Color image forming apparatus
JP2001282012A (en) Image forming device
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
US9341976B2 (en) Multi-station image forming apparatus with start-up control
JP2017070014A (en) Motor control device, drive device, transport device, image formation device, motor control method, and program
JP5322536B2 (en) Power supply apparatus, image forming apparatus, and control method for power supply apparatus
JP4291653B2 (en) Electrophotographic equipment
JP2011193612A (en) Motor drive unit and image forming device
JP2016061898A (en) Image forming apparatus
US10488801B2 (en) Image forming apparatus
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
JP2001117325A (en) Electrostatic charging device and image forming device
US9977394B2 (en) Power source device, image forming apparatus and voltage control method
JP6456148B2 (en) Image forming apparatus
JP2022129004A (en) Image forming apparatus

Legal Events

Date Code Title Description
A521 Written amendment

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