JP6539226B2 - Motor drive - Google Patents
Motor drive Download PDFInfo
- 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
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
続いて、図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
モータを制御する制御部が、モータ駆動回路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
このため、特許文献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.
図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.
以下、本発明の例示的な実施形態について図面を参照して説明する。なお、以下の実施形態は例示であり、本発明を実施形態の内容に限定するものではない。また、以下の各図においては、実施形態の説明に必要ではない構成要素については図から省略する。 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
図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
増幅部214は、目標電流信号と検出電流信号との差分である誤差を増幅し、誤差電流信号としてPWM生成部213に出力する。増幅部214のゲインは、比例ゲイン及び積分ゲインの和である。PWM生成部213は、誤差電流信号と所定周期の三角波搬送波とを比較することによってモータ駆動回路100に出力するPWM+及びPWM−を生成する。この様に、モータ制御部210は、検出抵抗110の電圧Vsnsにより相電流を検出し、PWM+に基づきその極性を補正してフィードバック制御を行う。
The
続いて、モータ制御部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
本実施形態では、三角波の最小値より大きく最大値より小さい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
図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
図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
ただし、図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
図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
以上、本実施形態においては、サンプリングタイミングにおいて誤差電流信号の値が所定の範囲内にないと、前回のサンプリングタイミングで求めた検出電流信号の値を、今回のサンプリングタイミングの値とする。一方、サンプリングタイミングにおいて誤差電流信号の値が所定の範囲内にあると、検出抵抗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
<第二実施形態>
続いて、第二実施形態について第一実施形態との相違点を中心に説明する。第一実施形態では、図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 /
図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
<第三実施形態>
以下、第三実施形態について第一実施形態及び第二実施形態との相違点を中心に説明する。第一実施形態及び第二実施形態では、誤差電流信号が条件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
図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
以上、本実施形態では、サンプリングタイミングにおいて誤差電流信号の値が所定範囲内にないと、前回のサンプリングタイミングで求めた検出電流信号の値に基づき、今回のサンプリングタイミングにおける検出電流信号の予測値を決定する。この構成により、より精度良く相電流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
ここで、モータ制御部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
なお、モータ制御部210は、サンプリングタイミングにおいてパルス信号が第1の論理であると、検出部が検出する電流の方向に対応する方向に駆動電流が流れていると判定する。一方、モータ制御部210は、パルス信号が第1の論理とは異なる第2の論理であると、検出部が検出する電流の方向とは逆の方向に対応する方向に駆動電流が流れていると判定する。これは、図9を用いて説明した様に、検出部を流れる電流の方向と、駆動電流の方向との関係が、パルス信号がオン状態であるときとオフ状態であるときとで異なるからである。
The
なお、モータ制御部210は、誤差評価値と三角波との比較によりパルス信号を生成するが、前記所定の範囲は、パルス信号の論理が変化しない時間が所定時間より大きくなる様に求められる。さらに、当該所定時間は、FETのオンとオフとが切り替わるのに必要な時間から求められる。これは、図10を用いて説明した様に、パルス信号の論理が切り替わる時間間隔が所定時間より短いと、FETがオン状態からオフ状態に切り替わらず、オン状態のままとなるからである。また、この場合、検出部の検出結果は、駆動電流を精度よく示すものではなく、よって、本実施形態では、誤差評価値が所定の範囲内にないと、そのときの検出部の検出結果を使用しない構成としている。これにより、精度よく駆動電流を検出し、安定したモータ制御が可能になる。
The
したがって、上記各実施形態は、モータ制御部210がサンプリングタイミングの前後におけるパルス信号の切り替わりの時間間隔が所定値より小さいか否かを判定する構成を開示している。そして、モータ制御部210は、パルス信号の切り替わりの時間間隔が所定値より小さいと判定すると、当該サンプリングタイミングにおける駆動電流を、前回のサンプリングタイミングにおいて求めた駆動電流から求める。上記各実施形態において、この判定は、サンプリングタイミングにおける誤差電流信号の値と閾値との比較により行う。つまり、サンプリングタイミングにおいて、誤差電流信号が閾値1以上であるか、閾値2以下であると、パルス信号の切り替わりの時間間隔が所定値より小さいと判定する。なお、誤差電流信号が閾値1以上又は閾値2以下であっても、結果としてパルス信号の切り替わりの時間間隔が所定値以上となることも生じるが、その発生確率は低く問題にはならない。
Therefore, each of the above embodiments discloses a configuration in which the
なお、上述したモータの電流の検出結果は、モータのベクトル制御等に利用される。例えば、モータ制御部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
また、上記各実施形態によるモータ駆動装置は、シートに画像形成を行う画像形成装置におけるモータを駆動するために使用される。一例として、本実施形態によるモータ駆動装置が実装される画像形成装置について図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
一次帯電部112は、回転する感光ドラム111を一様に帯電させる。露光部113は、画像信号に基づいて変調したレーザ光(光ビーム)を出力し、感光ドラム111の表面をレーザ光で走査する。これにより、感光ドラム111上に静電潜像が形成される。現像部114は、トナーを用いて静電潜像を現像し、感光ドラム111上にトナー画像を形成する。一次転写ローラ117は、感光ドラム111上のトナー画像を中間転写ベルト116に一次転写する。中間転写ベルト116は、矢印Bの方向に回転している。中間転写ベルト116上のトナー画像は、中間転写ベルト116と二次転写ローラ123とによって形成された二次転写部へ搬送される。その間、各ステーションの感光ドラム111上に形成された各色のトナー画像が順に中間転写ベルト116上に重ね合わせて一次転写されることで、多色のトナー画像が中間転写ベルト116上に形成される。
The
給紙カセット(給紙部)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
このように、画像形成装置は、画像が形成されるシートの搬送用のローラとして、給紙ローラ121、搬送ローラ122、排紙ローラ126等のローラを備えている。これらのローラを駆動する駆動源に相当するモータは、画像形成装置内の上位の制御回路からの指示により、上記各実施形態のモータ駆動装置によって駆動される。また、感光ドラム111や、中間転写ベルト116を駆動するためのモータを、上記各実施形態によりモータ駆動装置によって駆動することができる。
As described above, the image forming apparatus includes rollers such as the
[その他の実施形態]
本発明は、上述の実施形態の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
前記駆動手段とグランドとの間を流れる電流を検出する検出手段と、
サンプリングタイミングにおいて前記検出手段の検出結果から駆動電流を求め、前記求めた駆動電流と前記モータに供給すべき駆動電流の目標値との差に基づき前記複数のスイッチング素子をオン・オフするためのパルス信号を生成して前記モータを制御する制御手段と、
を備えており、
前記制御手段は、サンプリングタイミングにおいて前記差が所定の範囲内にないと、当該サンプリングタイミングにおける駆動電流を、前回のサンプリングタイミングにおいて求めた駆動電流から求めることを特徴とするモータ駆動装置。 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から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.
前記駆動手段とグランドとの間を流れる電流を検出する検出手段と、
サンプリングタイミングにおいて前記検出手段の検出結果から駆動電流を求め、前記求めた駆動電流と前記モータに供給すべき駆動電流の目標値に基づき前記複数のスイッチング素子をオン・オフするためのパルス信号を生成して前記モータを制御する制御手段と、
を備えており、
前記制御手段は、サンプリングタイミングの前後における前記パルス信号の切り替わりの時間間隔が所定値より小さいと判定すると、当該サンプリングタイミングにおける駆動電流を、前回のサンプリングタイミングにおいて求めた駆動電流から求めることを特徴とするモータ駆動装置。 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.
前記駆動手段とグランドとの間を流れる電流を検出する検出手段と、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
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)
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)
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 |
-
2016
- 2016-04-28 JP JP2016091655A patent/JP6539226B2/en active Active
-
2019
- 2019-06-04 JP JP2019104783A patent/JP6770610B2/en active Active
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 |