JP6687406B2 - Motor control circuit, fan using it - Google Patents
Motor control circuit, fan using it Download PDFInfo
- Publication number
- JP6687406B2 JP6687406B2 JP2016018956A JP2016018956A JP6687406B2 JP 6687406 B2 JP6687406 B2 JP 6687406B2 JP 2016018956 A JP2016018956 A JP 2016018956A JP 2016018956 A JP2016018956 A JP 2016018956A JP 6687406 B2 JP6687406 B2 JP 6687406B2
- Authority
- JP
- Japan
- Prior art keywords
- conversion
- mode
- event
- register
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000006243 chemical reaction Methods 0.000 claims description 173
- 238000001514 detection method Methods 0.000 claims description 30
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims description 17
- 238000000034 method Methods 0.000 claims description 15
- 230000008569 process Effects 0.000 claims description 9
- 239000004065 semiconductor Substances 0.000 claims description 5
- 239000000758 substrate Substances 0.000 claims description 5
- 230000001934 delay Effects 0.000 claims description 2
- 229960001716 benzalkonium Drugs 0.000 claims 1
- CYDRXTMLKJDRQH-UHFFFAOYSA-N benzododecinium Chemical compound CCCCCCCCCCCC[N+](C)(C)CC1=CC=CC=C1 CYDRXTMLKJDRQH-UHFFFAOYSA-N 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 20
- 238000012545 processing Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 6
- 230000001960 triggered effect Effects 0.000 description 6
- 239000000470 constituent Substances 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 101100168116 Magnaporthe oryzae (strain 70-15 / ATCC MYA-4617 / FGSC 8958) CON7 gene Proteins 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
Images
Landscapes
- Control Of Electric Motors In General (AREA)
Description
本発明は、モータの制御回路に関する。 The present invention relates to a motor control circuit.
モータの駆動方式として、矩形波駆動、正弦波駆動、ベクトル制御などが知られている。このうちベクトル制御は、モータのコイル電流を直交するd軸成分およびq軸成分に分解し、それぞれを個別に制御するものであり、正弦波駆動の一種とも言える。ベクトル制御は、制御効率が高いという利点を有するが、制御が複雑である。 Known methods of driving a motor include rectangular wave drive, sine wave drive, and vector control. Of these, the vector control is a type of sine wave drive, in which the coil current of the motor is decomposed into the d-axis component and the q-axis component which are orthogonal to each other and each is controlled individually. Vector control has the advantage of high control efficiency, but it is complicated to control.
矩形波駆動や正弦波駆動は、アナログ回路あるいはデジタル回路などのハードウェアのみで実現することが可能である。一方、ベクトル制御は、その複雑さゆえに、ハードウェアのみで制御回路を構成することが困難であり、プロセッサ(マイコン)とプログラムの組み合わせによってソフトウェア制御に頼るのが一般的である。 The rectangular wave drive and the sine wave drive can be realized only by hardware such as an analog circuit or a digital circuit. On the other hand, in vector control, it is difficult to configure a control circuit only by hardware because of its complexity, and it is common to rely on software control by combining a processor (microcomputer) and a program.
モータを適切に駆動するために、モータの機械的状態(回転数やロータの位置)に関する情報が必要となる。モータの機械的状態は、ロータリエンコーダやレゾルバといった回転センサによって検出することが可能である。あるいはセンサレス方式では、モータの電気的状態(モータのコイル電流および/またはコイル電圧)にもとづいて、モータの機械的状態を推定し、推定された状態にもとづいて駆動制御信号を生成する必要がある。 In order to drive the motor properly, information on the mechanical state of the motor (rotational speed and rotor position) is required. The mechanical state of the motor can be detected by a rotation sensor such as a rotary encoder or a resolver. Alternatively, in the sensorless system, it is necessary to estimate the mechanical state of the motor based on the electric state of the motor (coil current and / or coil voltage of the motor) and generate the drive control signal based on the estimated state. .
図1は、ソフトウェア制御を利用したモータの駆動装置4Rのブロック図である。ここではセンサレス駆動を例とする。モータ2は三相ブラシレスモータである。駆動装置4Rは、主として、三相インバータ6およびモータ制御回路10Rを備える。
FIG. 1 is a block diagram of a
モータ制御回路10Rは、主としてA/Dコンバータモジュール12、プロセッサ14、パルス幅変調器16を備える。A/Dコンバータモジュール12は、モータ2の電気的状態、すなわちコイル電流やコイルの電圧に応じたアナログの検出信号S1を、デジタルの検出信号S2に変換する。たとえばインバータ6には、U相、V相、W相の電流を検出するためのセンス抵抗RsU,Rsv,Rswが設けられている(3シャント構成という)。センス抵抗Rsには、対応する相のコイル電流に比例した電圧降下が発生する。センス抵抗RsU〜Wの電圧降下は、複数のアナログポートを介して、A/Dコンバータモジュール12に入力される。A/Dコンバータモジュール12には、そのほかにも図示しないアナログ信号が入力可能となっている。
The
プロセッサ14は、A/Dコンバータモジュール12からのデジタルの検出信号S2にもとづいて、モータ2の駆動制御信号(たとえば三相電圧の指令値)S3を生成する。プロセッサ14は、ユーザがあらかじめ記述したプログラム18を実行するように構成される。
The
パルス幅変調器16は、駆動制御信号S3をパルス幅変調(PWM:Pulse Width Modulation)し、インバータ6の制御信号S4を生成する。インバータ6は、パルス幅変調器16からの制御信号S4に応じてスイッチングする。
The
モータ制御回路10Rに求められる機能は、組み合わせられるモータ2の種類、駆動形式、用途によってさまざまである。たとえば電流検出の方式として、図1に示す3シャント構成の他に、3相で1個のセンス抵抗が共有される1シャント構成が存在する。A/Dコンバータは、前者において3個の電流検出信号を処理し、後者においては1個の電流検出信号を処理することとなり、A/D変換の適切なタイミングも両者で異なる。
The functions required of the
モータ制御回路10Rに、多様な用途、駆動形式、モータとの組み合わせで使用可能な汎用性、柔軟性を持たせることができれば、モータ制御回路10Rのベンダーにとっては、品種数を減らすことができ、開発コスト、在庫管理の観点から有利である。またモータ制御回路10Rの購入者(ユーザ)にとっても、ハードウェア(すなわちモータ制御回路10R)を共通として、ソフトウェア(すなわちプログラム18)を修正することによりさまざまな用途、駆動形式、モータに対応することができれば、モータ2を搭載するさまざまな機器1の開発期間を短縮できる。
If the
本発明者は、従来のモータ制御回路10Rについて検討した結果、以下の課題を認識するに至った。すなわち従来のモータ制御回路10Rでは、A/Dコンバータモジュール12によるA/D変換の順序、タイミング、A/D変換の対象となるアナログポートをソフトウェアによって自由に設定、制御することができず、このことが、モータ制御回路10Rの汎用性、柔軟性を高めることの障壁の一因となっていた。
As a result of examining the conventional
本発明は係る課題に鑑みてなされたものであり、そのある態様の例示的な目的のひとつは、モータの制御回路において、ソフトウェア制御の容易性や柔軟性を提供することにある。 The present invention has been made in view of the above problems, and one of the exemplary objects of a certain aspect thereof is to provide software control easiness and flexibility in a motor control circuit.
本発明のある態様は、モータの制御回路に関する。制御回路は、それぞれにモータの電気的状態を示す検出信号が入力可能な複数m個(mは2以上の整数)のアナログポートと、m個のアナログポートそれぞれの検出信号を受けるマルチプレクサを有し、マルチプレクサが選択した検出信号をデジタルデータに変換するA/Dコンバータと、デジタルデータにもとづいてモータの駆動指令を生成するプロセッサと、プロセッサからの制御指令に応じてA/Dコンバータの動作を制御するとともに、デジタルデータをプロセッサに受け渡すインタフェース回路と、を備える。インタフェース回路は、ランレジスタ(RUN)と、ソフトウェアモードとハードウェアモードの一方を指定する値を格納するモードスタートレジスタ(MODE_START)と、を含む。インタフェース回路は、(i)ソフトウェアモードにおいて、ランレジスタのアサートをA/Dコンバータの動作スタートのトリガとし、(ii)ハードウェアモードにおいて、制御回路において生成される少なくともひとつの内部信号をA/Dコンバータの動作スタートのトリガとする。 One aspect of the present invention relates to a control circuit for a motor. The control circuit has a plurality of m (m is an integer of 2 or more) analog ports into which detection signals indicating the electric state of the motor can be input, and a multiplexer that receives the detection signals from the m analog ports. , A / D converter that converts the detection signal selected by the multiplexer into digital data, a processor that generates a motor drive command based on the digital data, and controls the operation of the A / D converter according to a control command from the processor And an interface circuit that transfers digital data to the processor. The interface circuit includes a run register (RUN) and a mode start register (MODE_START) that stores a value designating one of a software mode and a hardware mode. The interface circuit (i) uses the assertion of the run register as a trigger for the operation start of the A / D converter in the software mode, and (ii) in the hardware mode, at least one internal signal generated in the control circuit is A / D. This is the trigger to start the converter operation.
本明細書において、「レジスタのアサート」とは、そのレジスタに所定値(たとえば1)が書き込まれたことに対応する。
ハードウェアモードでは、A/Dコンバータを、制御回路の状態に同期させることができる。またソフトウェアモードにおいては、ハードウェアの状態に依存せずに、ソフトウェア制御によって、A/Dコンバータをトリガできる。
In this specification, "asserting a register" corresponds to writing a predetermined value (for example, 1) in the register.
In hardware mode, the A / D converter can be synchronized with the state of the control circuit. In the software mode, the A / D converter can be triggered by software control without depending on the hardware state.
インタフェース回路は、少なくともひとつの内部信号のひとつであるスタートイベント信号にもとづいてスタートタイミング信号を生成するタイミング信号生成回路と、スタートタイミング信号をA/Dコンバータの動作スタートのトリガとして、A/Dコンバータを制御するアクセス制御部と、を含んでもよい。 The interface circuit controls the A / D converter by using a timing signal generation circuit that generates a start timing signal based on a start event signal that is one of at least one internal signal, and the start timing signal as a trigger for starting the operation of the A / D converter. And an access control unit for controlling the access.
インタフェース回路はさらに、イベント選択レジスタ(EVENT_SEL)と、複数の内部信号を受け、イベント選択レジスタに格納される値に応じたひとつを選択し、スタートイベント信号を出力するイベントセレクタと、を含んでもよい。タイミング信号生成回路は、スタートイベント信号にもとづいてスタートタイミング信号を生成してもよい。
これにより、動作スタートのトリガとなる内部信号(すなわちイベント)をソフトウェア制御できる。
The interface circuit may further include an event selection register (EVENT_SEL) and an event selector that receives a plurality of internal signals, selects one according to a value stored in the event selection register, and outputs a start event signal. . The timing signal generation circuit may generate the start timing signal based on the start event signal.
This allows software control of the internal signal (ie, event) that triggers the operation start.
インタフェース回路はさらに、ハードウェアモードにおいて、スタートイベント信号のアサートからスタートタイミング信号のアサートまでの遅延時間の設定値を格納する遅延設定レジスタ(EVENT_DELAY_SEL,EVENT_DELAY_EN)を含んでもよい。タイミング信号生成回路は、スタートイベント信号に遅延設定レジスタの設定値に応じた遅延を与えて、スタートタイミング信号を出力する遅延回路を含んでもよい。
本明細書において、「信号のアサート」とは、その信号が所定レベルに遷移することに対応し、別の観点からは、その信号の所定のエッジが発生することに対応する。これにより動作スタートのタイミングを細かくソフトウェア制御できる。
The interface circuit may further include a delay setting register (EVENT_DELAY_SEL, EVENT_DELAY_EN) that stores a setting value of the delay time from the assertion of the start event signal to the assertion of the start timing signal in the hardware mode. The timing signal generation circuit may include a delay circuit that delays the start event signal according to the set value of the delay setting register and outputs the start timing signal.
As used herein, "asserting a signal" corresponds to a transition of the signal to a predetermined level, and from another perspective, to the occurrence of a predetermined edge of the signal. As a result, the operation start timing can be finely controlled by software.
インタフェース回路によるA/Dコンバータの1制御周期は、n(nは2以上の整数)を最大とするk回(1≦k≦n)のA/D変換を含んでもよい。インタフェース回路はさらに、1回変換モードと連続変換モードの一方を指定する値を格納するモードバーストレジスタ(MODE_BURST)を含んでもよい。インタフェース回路は、(i)1回変換モードにおいて、1制御周期の変換処理が終了すると、次の動作スタートを待機し、(ii)連続変換モードにおいて、1制御周期の変換処理が終了すると、次の動作スタートを待たずに、次の制御周期に移行してもよい。
1回変換モードと連続変換モードを選択可能とすることで、さらなる柔軟性が提供される。
One control cycle of the A / D converter by the interface circuit may include k times (1 ≦ k ≦ n) A / D conversion that maximizes n (n is an integer of 2 or more). The interface circuit may further include a mode burst register (MODE_BURST) that stores a value designating one of the once conversion mode and the continuous conversion mode. The interface circuit (i) waits for the start of the next operation when the conversion process of one control cycle is completed in the single conversion mode, and (ii) when the conversion process of one control cycle is completed in the continuous conversion mode, The operation may be shifted to the next control cycle without waiting for the start of the operation.
The additional flexibility is provided by the ability to select between the single conversion mode and the continuous conversion mode.
インタフェース回路はさらに、1制御周期に含まれる変換の回数kを指定する値を格納するレジスタ(BURST_SEL)を含んでもよい。
これにより、必要最低限の変換処理が行われるため、プロセッサの負荷を減らすことができる。
The interface circuit may further include a register (BURST_SEL) that stores a value that specifies the number of conversions k included in one control cycle.
As a result, the minimum necessary conversion processing is performed, so that the load on the processor can be reduced.
インタフェース回路によるA/Dコンバータの1制御周期は、n(nは2以上の整数)を最大とするk回(1≦k≦n)のA/D変換を含んでもよい。インタフェース回路はさらに、A/D変換ごとに、少なくともひとつの内部信号のひとつである変換イベント信号にもとづいて変換タイミング信号を生成するタイミング信号生成回路と、A/D変換ごとに、変換タイミング信号をA/D変換のトリガとして、A/Dコンバータを制御するアクセス制御部と、を含んでもよい。アクセス制御部は、シーケンシャルモードにおいて、k回のA/D変換それぞれを、対応する変換タイミング信号をトリガとして実行してもよい。
これにより、A/D変換のタイミングを、ハードウェアの状態にもとづいて制御できる。
One control cycle of the A / D converter by the interface circuit may include k times (1 ≦ k ≦ n) A / D conversion that maximizes n (n is an integer of 2 or more). The interface circuit further includes, for each A / D conversion, a timing signal generation circuit that generates a conversion timing signal based on a conversion event signal that is one of at least one internal signal, and a conversion timing signal for each A / D conversion. The A / D conversion trigger may include an access control unit that controls the A / D converter. In the sequential mode, the access control unit may execute each A / D conversion k times by using the corresponding conversion timing signal as a trigger.
As a result, the timing of A / D conversion can be controlled based on the state of hardware.
インタフェース回路はさらに、最大n回のA/D変換それぞれについて、トリガとすべき内部信号を個別に指定する値を格納するn個の個別イベント選択レジスタ(EVENT_SEL0-EVENT_SELn-1)と、複数の内部信号を受け、A/D変換ごとに、複数の内部信号のうち、n個の個別イベント選択レジスタのうち対応するひとつに格納される値に応じたひとつを選択し、変換イベント信号を出力するイベントセレクタと、を含んでもよい。タイミング信号生成回路は、シーケンシャルモードにおいて、A/D変換ごとに変換イベント信号にもとづいて、変換タイミング信号を生成してもよい。
これにより、変換毎に、トリガとするイベントを独立かつ個別に設定できる。
The interface circuit further includes n individual event selection registers (EVENT_SEL0 to EVENT_SELn-1) that store values that individually specify internal signals to be triggered for each maximum A / D conversion, and a plurality of internal events. An event that receives a signal and selects one of a plurality of internal signals corresponding to a value stored in a corresponding one of n individual event selection registers for each A / D conversion and outputs a conversion event signal And a selector may be included. The timing signal generation circuit may generate the conversion timing signal based on the conversion event signal for each A / D conversion in the sequential mode.
As a result, the trigger event can be set independently and individually for each conversion.
インタフェース回路はさらに、最大n回のA/D変換それぞれについて、変換イベント信号のアサートから変換タイミング信号のアサートまでの遅延時間の設定値を格納する遅延設定レジスタ(EVENT_DELAY_SEL0〜EVENT_DELAY_SELn-1、EVENT_DELAY_EN0〜EVENT_DELAY_ENn-1)を含んでもよい。タイミング信号生成回路は、A/D変換ごとに、対応する変換イベント信号に、対応する遅延設定レジスタの設定値に応じた遅延を与えて、変換タイミング信号を出力する遅延回路を含んでもよい。
これにより、A/D変換のタイミングを細かくソフトウェア制御できる。
The interface circuit further includes delay setting registers (EVENT_DELAY_SEL0 to EVENT_DELAY_SELn-1, EVENT_DELAY_EN0 to EVENT_DELAY_ENn) that store setting values of the delay time from the assertion of the conversion event signal to the assertion of the conversion timing signal for each maximum A / D conversion. -1) may be included. The timing signal generation circuit may include a delay circuit that outputs a conversion timing signal by giving a delay corresponding to the setting value of the corresponding delay setting register to the corresponding conversion event signal for each A / D conversion.
As a result, the timing of A / D conversion can be finely controlled by software.
インタフェース回路はさらに、オートモードとシーケンシャルモードの一方を指定する値を格納するモードシーケンスレジスタ(MODE_SEQ)を含んでもよい。インタフェース回路はオートモードにおいて、k回のA/D変換を自動的に実行してもよい。
オートモードでは、k回のA/D変換を、インタフェース回路が自動生成するタイミングで行うことができ、A/D変換のタイミングがそれほどシビアでない状況において有用である。シーケンシャルモード(マニュアルモード)では、各A/D変換のタイミングを個別にマニュアルで指定することができ、シビアなタイミング制御に対応できる。
The interface circuit may further include a mode sequence register (MODE_SEQ) that stores a value designating one of the auto mode and the sequential mode. The interface circuit may automatically perform k A / D conversions in the auto mode.
In the auto mode, k times of A / D conversion can be performed at the timing automatically generated by the interface circuit, which is useful in a situation where the timing of A / D conversion is not so severe. In the sequential mode (manual mode), the timing of each A / D conversion can be manually specified individually, and strict timing control can be supported.
制御回路は、A/Dコンバータを、複数チャンネル備えてもよい。 The control circuit may include a plurality of A / D converter channels.
制御回路は、ひとつの半導体基板に一体集積化されてもよい。
「一体集積化」とは、回路の構成要素のすべてが半導体基板上に形成される場合や、回路の主要構成要素が一体集積化される場合が含まれ、回路定数の調節用に一部の抵抗やキャパシタなどが半導体基板の外部に設けられていてもよい。
The control circuit may be integrated on one semiconductor substrate.
"Integrated integration" includes the case where all the components of the circuit are formed on the semiconductor substrate and the case where the main components of the circuit are integrated, and some of them are used for adjusting the circuit constants. A resistor or a capacitor may be provided outside the semiconductor substrate.
本発明の別の態様は、ファンに関する。ファンは、ファンモータと、ファンモータを駆動する上述のいずれかの制御回路と、を備える。 Another aspect of the invention relates to a fan. The fan includes a fan motor and any one of the control circuits described above that drives the fan motor.
なお、以上の構成要素の任意の組み合わせや本発明の構成要素や表現を、方法、装置、システムなどの間で相互に置換したものもまた、本発明の態様として有効である。 It should be noted that any combination of the above constituent elements and constituent elements and expressions of the present invention that are mutually replaced among methods, devices, systems, etc. are also effective as an aspect of the present invention.
本発明のある態様によれば、ソフトウェア制御の容易性や柔軟性を提供できる。 According to an aspect of the present invention, ease and flexibility of software control can be provided.
(全体構成)
図2は、実施の形態に係る制御回路10を備える駆動装置4のブロック図である。駆動装置4はモータ2とともに機器1に用いられる。機器1の種類は特に限定されないが、家電製品をはじめ、OA機器、産業機器、車載機器、携帯用電子機器など多岐にわたって利用することができる。身近なところでは、エアコンや冷蔵庫などのコンプレッサや、多くの機器の冷却用のファンに、モータ2が用いられている。駆動装置4は、制御回路10に加えて、インバータ6を備える。インバータ6は、U相、V相、W相のブリッジ回路(ドライバ)を含む。
(overall structure)
FIG. 2 is a block diagram of the
本実施の形態において、制御回路10の制御対象は三相ブラシレスモータであり、センサレス方式でインバータ6を制御するものとする。制御回路10からインバータ6へは、U,V,W相それぞれのハイサイドスイッチ、ローサイドスイッチを制御するために必要な駆動信号が出力される。
In the present embodiment, the control target of the
制御回路10は、ひとつの半導体基板に集積化された機能IC(Integrated Circuit)であり、モータ2の電気的状態を監視し、その結果にもとづいて、駆動信号を生成する。制御回路10は、複数m個(mは2以上の整数)のアナログポートPORT-0〜PORT-m-1が設けられる。本実施の形態ではm=8とし、PORT-0〜PORT-7が設けられる。各アナログポートには、モータ2の電気的状態を示す検出信号が入力可能である。なお各アナログポートには、そのほかの電気信号、たとえばサーミスタなどの温度センサの出力電圧や、モータ2の回転数を指示するアナログ電圧などを入力してもよい。
The
図2には3シャント構成が示されており、U,V,W相ごとにセンス抵抗(シャント抵抗)RSが設けられ、各センス抵抗は、ひとつのアナログポートに割り当てられ、それぞれの電圧降下が検出信号として割り当てられたアナログポートに入力される。1シャント構成の場合、1個のシャント抵抗の電圧降下が、いずれかのアナログポートに入力される。 A three-shunt configuration is shown in FIG. 2. A sense resistor (shunt resistor) R S is provided for each of the U, V, and W phases, each sense resistor is assigned to one analog port, and each voltage drop occurs. Is input to the analog port assigned as the detection signal. In the case of the one-shunt configuration, the voltage drop of one shunt resistor is input to any analog port.
制御回路10は、主として、デジタル演算処理部30、A/Dコンバータ50、メモリ60、クロック発生器70を備える。本発明と関係のないブロックは省略されている。A/Dコンバータ50は、その入力側に、m個のアナログポートそれぞれの検出信号を受けるマルチプレクサ52を有する。A/Dコンバータ50は、マルチプレクサ52が選択した検出信号をデジタルデータ(変換データ)DOUTに変換する。図2の制御回路10は、3チャンネル分ch0〜ch2のA/Dコンバータ50を備えるが、チャンネル数は任意である。A/Dコンバータ50の構成、方式は特に限定されないが、たとえば逐次比較型のA/Dコンバータを用いてもよい。
The
デジタル演算処理部30は、A/Dコンバータ50からの変換データDOUTを受け、インバータ6を制御するためのPWM信号(PWM_U,PWM_V,PWM_Wおよびそれらの反転信号#PWM_U,#PWM_V,#PWM_W)を生成する。デジタル演算処理部30のシステムプラットフォーム32は、いわゆる組み込みプロセッサであり、たとえばARM社が提供するARMアーキテクチャを用いて構成してもよい。システムプラットフォーム32は、CPUコア34に加えて、メモリコントローラ36,38、パワーマネージメントユニット40、システムコントローラ42などが内蔵される。
The digital
メモリ60は、フラッシュメモリなどの不揮発性メモリ62と、SRAMなどの揮発性メモリ64を含む。不揮発性メモリ62には、CPUコア34が実行すべきプログラムが格納される。揮発性メモリ64は、主記憶装置として利用される。
The
デジタル演算処理部30のうちモータ制御ブロック44は、モータ2の制御に固有の回路ブロックである。ADCインタフェース(インタフェース回路)46は、システムプラットフォーム32とA/Dコンバータ50のインタフェースであり、A/Dコンバータ50からの変換データをCPUコア34に受け渡す。また詳しくは後述するが、A/Dコンバータ50の動作は、CPUコア34によってソフトウェア制御可能となっている。ADCインタフェース46は、CPUコア34からの制御指令に応じて、A/Dコンバータ50の動作を制御する。CPUコア34からADCインタフェース46への制御指令は、後述する制御レジスタへの書き込みによって行われる。
The
システムプラットフォーム32は、プログラムを実行することにより、モータ2の駆動指令(たとえば3相の電圧指令値)を生成する。パルス幅変調器48は、システムプラットフォーム32が生成した駆動指令をパルス幅変調し、U,V,W相のPWM信号およびその反転信号を生成する。なおモータの制御方式やアルゴリズムは特に限定されず、公知のベクトル制御の技術を用いることができる。
The
システムプラットフォーム32内の各ブロックと、モータ制御ブロック44内の各ブロックは、バス31を介して接続され、レジスタを介してさまざまなデータや制御ビットを、相互に参照し、あるいは書き込み可能となっている。
Each block in the
以上が制御回路10の全体構成である。続いて、ADCインタフェース46について説明する。
The above is the overall configuration of the
(ADCインタフェース)
図3は、図2の制御回路10の一部の詳細なブロック図である。図3には、ADCインタフェース46の構成が詳細に示されている。ADCインタフェース46は、ADC I/Fレジスタ(以下、単にレジスタと称する)80、インタフェースユニット82_1〜82_3、イベントセレクタ84を備える。インタフェースユニット82は、チャンネルごとに設けられ、それらは同様に構成される。
(ADC interface)
FIG. 3 is a detailed block diagram of part of the
ADCインタフェース46は、CPUコア34と同じシステムクロックCLK_SYS(たとえば40MHz)と同期して動作する。一方、複数のA/Dコンバータ50は、A/Dコンバータ50の変換周波数動作範囲(たとえば16MHz)のクロックCLK_IRと同期して動作する。ADCインタフェース46とA/Dコンバータ50は、非同期であってよい。
The
図4は、ADCインタフェース46とA/Dコンバータ50のインタフェースを説明する図である。図4には1回の変換動作が示される。A/Dコンバータ50はたとえば12ビット逐次比較型であり、1回の変換に、クロックCLK_IRの12サイクルを要する。変換に先だって、ADCインタフェース46からA/Dコンバータ50に対して、アナログポートを指定するポート選択信号PORT_SEL[2:0]が与えられる。変換開始信号CONV_IHがアサートされると、A/D変換が開始される。そして12サイクルの経過後に、12ビット分の変換が完了すると、変換完了信号TRIG_OUT_OHがアサートされ、12ビットの変換データDOUT[11:0]が有効となる。なおA/Dコンバータ50のビット数は特に限定されず、10ビットあるいは8ビットであってもよく、あるいはビット数が可変であってもよい。
FIG. 4 is a diagram illustrating an interface between the
図3に戻る。レジスタ80は、CPUコア34からバス31を介してアクセス可能である。レジスタ80は、チャンネルごとに、データレジスタと制御レジスタを含む。各チャンネルのデータレジスタには、そのチャンネルのA/Dコンバータ50が生成した変換データDOUTが格納される。CPUコア34は、データレジスタにアクセスすることにより、複数のアナログポートPORT-0〜PORT7に入力された検出信号のデジタル値を取得する。また各チャンネルのA/Dコンバータ50の動作は、CPUコア34がそのチャンネルの制御レジスタに書き込んだ値にもとづいて制御される。具体的にはADCインタフェース46は、制御レジスタの値にもとづいて、ポート選択信号PORT_SELおよび変換開始信号CONV_IHのタイミングを制御する。
Returning to FIG. The
(制御周期)
続いて、制御周期について説明する。ADCインタフェース46によるA/Dコンバータ50の1制御周期は、n(nは2以上の整数)を最大とするk回(1≦k≦n)のA/D変換を含む。本実施の形態ではn=8とする。以下では1チャンネル分について説明する。
(Control cycle)
Next, the control cycle will be described. One control cycle of the A /
回数kを設定するために、以下の制御レジスタが設けられる。なお本明細書に示す制御レジスタの値は例示であり、別の値を割り当ててもよい。またレジスタの名称も便宜的なものである。 The following control registers are provided to set the number of times k. It should be noted that the values of the control register shown in the present specification are examples, and other values may be assigned. The names of the registers are also for convenience.
・回数レジスタ (BURST_SEL)
000: k=1
001: k=2
〜
111: k=8
レジスタBURST_SELには、変換回数kを指定する値が格納される。変換回数kの最大値はnと等しい。すなわち、1≦k≦nである。
・ Count register (BURST_SEL)
000: k = 1
001: k = 2
~
111: k = 8
A value designating the number of conversions k is stored in the register BURST_SEL. The maximum number of conversions k is equal to n. That is, 1 ≦ k ≦ n.
つまり、1制御周期の間にk回のA/D変換が行われ、したがってk個(最大8個)の変換データDOUT0〜DOUTk-1が生成される。DOUTi-1はi回目の変換データを表し、図4のDOUT[11:0]に相当する。最大n個の変換データDOUT0〜DOUTn-1を格納するために、n個のデータレジスタが設けられる。 That is, k / A conversion is performed during one control period, and thus k (maximum 8) conversion data DOUT0 to DOUTk-1 are generated. DOUTi-1 represents the i-th converted data and corresponds to DOUT [11: 0] in FIG. In order to store a maximum of n conversion data DOUT0 to DOUTn-1, n data registers are provided.
・データレジスタ (DATA0-DATAn-1)
データレジスタDATAの個数は、最大変換回数nと等しい。n個のデータレジスタ(DATA0-DATAn-1)は、n回分の変換データDOUT0〜DOUTn-1を格納する。変換データDOUT0〜DOUTn-1の格納は、上述したアクセス制御部92が行う。
・ Data register (DATA0-DATAn-1)
The number of data registers DATA is equal to the maximum conversion number n. The n data registers (DATA0 to DATAn-1) store the converted data DOUT0 to DOUTn-1 for n times. The
・ポート選択レジスタ (PORT_SEL0-PORT_SELn-1)
000: 1番目のポート PORT-0
001: 2番目のポート PORT-1
010: 3番目のポート PORT-2
〜
110: 7番目のポート PORT-6
111: 8番目のポート PORT-7
マルチプレクサ52の制御のために、ポート選択レジスタは、最大変換回数と等しいn個、設けられる。i番目のポート選択レジスタPORT_SELiの値Xi-1は、i回目のA/D変換において、マルチプレクサ52が選択すべきアナログポートを指定する。ポート選択レジスタPORT_SEL3の値X3が0であるとき、4回目のA/D変換において、1番目のアナログポートPORT-0が選択される。
・ Port selection register (PORT_SEL0-PORT_SELn-1)
000: 1st port PORT-0
001: Second port PORT-1
010: 3rd port PORT-2
~
110: 7th port PORT-6
111: 8th port PORT-7
To control the
図5は、A/Dコンバータ50およびADCインタフェース46の1制御周期の動作波形図である。はじめに、1回目の変換に先立ち、マルチプレクサ52に対するポート選択信号PORT_SELとして、1番目のポート選択レジスタPORT_SEL0の値がセットされる。続いて、変換開始信号CONV_IHがアサートされると変換が開始し、変換が終了すると、変換終了信号TRIG_OUT_OHがアサートされ、1回目の変換データDOUT0が有効となる。続いて、2回目の変換に先立ち、マルチプレクサ52に対するポート選択信号PORT_SELとして、2番目のポート選択レジスタPORT_SEL1の値がセットされる。続いて、変換開始信号CONV_IHがアサートされると変換が開始し、変換が終了すると、変換終了信号TRIG_OUT_OHがアサートされ、2回目の変換データDOUT1が有効となる。同様の処理をk回繰り返すと1制御周期が終了する。
FIG. 5 is an operation waveform diagram of the A /
(イベント)
続いて図3に戻り、イベントについて説明する。制御回路10は、制御回路10の内部で発生するさまざまなイベントをトリガとして制御可能に構成される。制御回路10の内部において生成され、そのエッジ(あるいはレベル)がイベントの発生を表す信号を、内部信号と称する。
(Event)
Next, returning to FIG. 3, the event will be described. The
本実施の形態において、制御回路10では、以下のイベントのうち、少なくともひとつ、好ましくは複数が利用可能となっている。
・ U相 ターンオンイベント
・ U相 ターンオフイベント
・ V相 ターンオンイベント
・ V相 ターンオフイベント
・ W相 ターンオンイベント
・ W相 ターンオフイベント
In the present embodiment, the
・ U-phase turn-on event ・ U-phase turn-off event ・ V-phase turn-on event ・ V-phase turn-off event ・ W-phase turn-on event ・ W-phase turn-off event
たとえばU相のターンオン、ターンオフのイベントを用いたい場合、パルス幅変調器48において生成されるU相PWM信号PWM_Uを内部信号として用いればよく、そのポジティブエッジ、ネガティブエッジそれぞれが、U相のターンオン、ターンオフに対応する。あるいは反転信号#PWM_Uを内部信号として用いてもよく、そのネガティブエッジ、ポジティブエッジそれぞれが、U相のターンオン、ターンオフに対応する。本明細書において#は、論理反転を表す。
For example, when it is desired to use U-phase turn-on and turn-off events, the U-phase PWM signal PWM_U generated in the
同様に、V相のターンオン、ターンオフのイベントを用いたい場合、V相PWM信号PWM_V(もしくはその反転信号#PWM_V)を内部信号として用いればよく、W相のターンオン、ターンオフのイベントを用いたい場合、W相PWM信号PWM_W(もしくはその反転信号#PWM_W)を内部信号として用いればよい。 Similarly, when it is desired to use the V-phase turn-on and turn-off events, the V-phase PWM signal PWM_V (or its inverted signal #PWM_V) can be used as an internal signal. When the W-phase turn-on and turn-off events are used, The W-phase PWM signal PWM_W (or its inverted signal #PWM_W) may be used as the internal signal.
また制御回路10では、イベントとして、パルス幅変調器48において使用される三角波のピーク(山)およびボトム(谷)が利用可能となっている。
・PWMの三角波のピークイベント、ボトムイベント
In the
・ PWM triangular wave peak and bottom events
ピーク、ボトムに対応する内部信号として、パルス幅変調器48からADCインタフェース46には、三角波のピークおよびボトムを表すピークボトム検出信号SP/Bが供給される。たとえばピークボトム検出信号SP/Bは、ピーク、ボトムそれぞれにおいて、システムクロックCLK_SYSの1サイクル、アサート(たとえばハイレベル)される。
As an internal signal corresponding to the peak and the bottom, the peak / bottom detection signal S P / B representing the peak and the bottom of the triangular wave is supplied from the
ピークボトムパルス発生器86は、ピークボトム検出信号SP/Bを受け、ピーク、ボトムごとにレベルが遷移するピークボトムパルスPP/Bを生成する。
Peak
図6は、パルス幅変調器48およびピークボトムパルス発生器86の動作波形図である。パルス幅変調器48においてタイマカウンタは、PWM周期の三角波を生成し、ピーク、ボトムそれぞれにおいて、ピークボトム検出信号SP/Bをアサート(たとえばハイレベル)する。ピークボトムパルス発生器86は、ピークボトム検出信号SP/Bがアサートされるたびに、ピークボトムパルスPP/Bのレベルを遷移させる。こうして生成されたピークボトムパルスPP/Bは、そのほかの内部信号(PWM_U〜PWM_W)と同様に、PWM周期を有するパルス信号となり、それらを同等に扱うことが可能である。
FIG. 6 is an operation waveform diagram of the
図3に戻る。イベントセレクタ84は、各チャンネルについて、複数の内部信号からひとつを選択し、イベント信号EVTとして、対応するインタフェースユニット82に供給する。イベント信号EVTに使用する内部信号は、レジスタ80の制御レジスタの値に応じてチャンネルごとに個別に選択可能である。
Returning to FIG. The
各チャンネルにおいて、インタフェースユニット82は、イベントセレクタ84からのイベント信号EVTにもとづいて、タイミング信号TMGを生成し、タイミング信号TMGに応じてA/Dコンバータ50の動作を制御する。これをハードウェアモードという。なお後述するように、A/Dコンバータ50を、イベント信号EVTに依存せずに制御することも可能であり、これをソフトウェアモードと称する。
In each channel, the
図7は、内部信号とイベントを示す図である。図3に示すように、ADCインタフェース46には、複数の内部信号PWM_U,PWM_V,PWM_W,ピークボトムパルスPP/Bが入力される。したがって各PWM周期において、8個のイベント(i)〜(viii)を、タイミング制御(具体的には後述するスタート状態の制御や変換タイミング)に利用することができる。非特許文献1に記載の従来技術では、17ページに記載のように、A/D変換の動作タイミングが、ハードウェアとして構成されるトリガ発生器(Trigger generator)によって生成されており、したがって、A/Dコンバータのタイミング制御に、ソフトウェアを介在させることができず、柔軟性に欠けていた。これに対して本実施の形態によれば、内部信号(イベント)を利用して、自由にA/Dコンバータ50のタイミングを制御することができる。これは、プログラムの自由度を高め、あるいはモータの制御性を高めることに寄与する。
FIG. 7 is a diagram showing internal signals and events. As shown in FIG. 3, a plurality of internal signals PWM_U, PWM_V, PWM_W and a peak bottom pulse P P / B are input to the
(イベントセレクタ84およびインタフェースユニット82)
図8は、イベントセレクタ84およびインタフェースユニット82の構成例を示す図である。イベントセレクタ84は、チャンネルごとに設けられたセレクタ88_1〜88_3を含む。各セレクタ88は、対応する制御レジスタに格納された値に応じた内部信号を選択してイベント信号EVTを生成し、対応するインタフェースユニット82に出力する。
(
FIG. 8 is a diagram showing a configuration example of the
続いてインタフェースユニット82の構成を説明する。ここでは第3チャンネルch2の構成のみを示すが、そのほかのチャンネルも同様に構成される。インタフェースユニット82は、タイミング信号生成回路90、アクセス制御部92、変換データバッファ94、エラー検出部96を備える。
Next, the configuration of the
タイミング信号生成回路90は、イベントセレクタ84からのイベント信号EVTに応じて、タイミング信号TMGを生成する。たとえばタイミング信号生成回路90は、エッジセレクタ100、遅延回路102、遅延セレクタ104、非同期処理回路106を含む。
The timing
上述のように、イベントセレクタ84から出力されるイベント信号EVTは、PWM周期を有するパルス信号である。エッジセレクタ100は、イベント信号EVTのポジティブエッジ、ネガティブエッジのうち、対応する制御レジスタの値に応じた一方を検出し、それを切り出す。つまり、ポジティブエッジ、ネガティブエッジそれぞれに対応する一方のイベントを選択する。遅延回路102は、カウンタを用いて構成され、切り出されたエッジ信号に、対応する制御レジスタの値に応じた遅延を与える。遅延セレクタ104は、それと対応する制御レジスタに応じて、遅延された、および遅延されない信号の一方を選択する。非同期処理回路106は、システムクロックCLK_SYSと同期した遅延セレクタ104の出力を、A/Dコンバータ側のクロックCLK_IRに同期処理し、タイミング信号TMGを生成する。
As described above, the event signal EVT output from the
アクセス制御部92は、主として2つの機能を担う。ひとつは、ハードウェアモードにおいて、タイミング信号TMGをトリガとして、A/Dコンバータ50の変換タイミングを制御する機能(アクセスタイミング生成)である。もうひとつは、A/Dコンバータ50から得られた変換データDOUTを、レジスタ80のデータレジスタDATAに格納する機能(ADC制御)である。
The
変換データバッファ94は、A/Dコンバータ50が生成したデジタル値を一時的に格納する。エラー検出部96は、アクセス制御部92の状態にもとづいて、A/Dコンバータ50やインタフェースユニット82における異常の有無を判定する。エラー検出部96は、たとえば以下のエラーを検出する。エラー検出時においては、エラー通知用のレジスタに所定値(たとえば1)を書き込み、またCPUコア34に割り込みをかけてもよい。
The
・イベントエラー
イベントエラーは、A/D変換中に、新たにA/D変換の開始のトリガとなるイベントが発生したときに、発生したものと判定される。
-Event error An event error is judged to have occurred when a new event that triggers the start of A / D conversion occurs during A / D conversion.
モータ制御では、高電圧を扱う必要があるため、意図しない制御が行われている場合には、いち早く検知して、モータを停止するなどの適切な保護処理が求められる。エラー検出部96にイベントエラーの検知機能を実装することにより、ADCインタフェース46に入力するイベントの関係が正しく制御できていないことをハードウェアレベルで迅速に検知することができ、回路を保護するができる。また機器1の設計段階においては、イベントエラーの検知は、ソフトウェアあるいはハードウェア設計のデバッグに大いに有用である。
Since high voltage needs to be handled in motor control, when unintended control is performed, it is necessary to detect it promptly and perform appropriate protection processing such as stopping the motor. By implementing an event error detection function in the
続いて、A/Dコンバータ50のタイミング制御について説明する。本実施の形態においては、制御回路10の代表的な制御可能なタイミングとして
(1) 動作スタートのタイミング
(2) k回のA/D変換のタイミング
が存在する。
Next, the timing control of the A /
図9は、A/Dコンバータ50の制御シーケンスを示す図である。動作スタートとは、あるモードにおいては、A/Dコンバータ50の1制御周期の開始に対応する。動作スタートに応じて、スタートフラグ(START)が立つと、A/Dコンバータ50がk回のA/D変換を実行可能な状態となる。実施の形態に係る制御回路10では、動作スタートのタイミングならびに複数のA/D変換のタイミングの少なくともひとつが、内部信号から得られるイベント信号(タイミング信号)によって制御可能となっている。
FIG. 9 is a diagram showing a control sequence of the A /
制御回路10は、多様なモードが切り替え可能となっている。以下、制御回路10のモードについて説明する。なお、3チャンネルch0〜ch2は同様であるため、一個のチャンネルのみに着目して説明する。なお制御レジスタおよびデータレジスタは、チャンネルごとに設けられる。
The
<バッファモードと通常モード>
実施の形態に係る制御回路10は、バッファモードと通常モードという2つのモードをサポートしており、レジスタMODE_BUFの値によって一方を指定可能となっている。2つのモードでは、変換データDOUT0〜DOUTn-1のデータレジスタDATA0〜DATAn-1への格納方法が異なる。
<Buffer mode and normal mode>
The
・モードバッファレジスタ(MODE_BUF)
値0: 通常モード
値1: バッファモード
-Mode buffer register (MODE_BUF)
Value 0: Normal mode Value 1: Buffer mode
図10(a)は、バッファモードにおけるアクセス制御部92の動作を説明する図である。図10(a)には、ポート選択レジスタも併せて示される。バッファモードにおいて、i回目(i=1〜8)の変換データDOUTi-1は、i番目のデータレジスタ(DATAi-1)に格納される。このバッファモードにおいて、n個のデータレジスタには、変換の時系列の順序でデータが格納されることとなる。バッファモードでは、n回のうち複数回、同じアナログポートを指定し、そのデータを取得することが可能である。ユーザはこのことを念頭においてソフトウェアを設計すればよく、プログラミングが容易となる。
FIG. 10A is a diagram for explaining the operation of the
図10(b)は、通常モードにおけるアクセス制御部92の動作を説明する図である。ポート選択レジスタの値は、図10(a)と同じである。通常モードにおいて、アクセス制御部92は、ポート選択レジスタPORT_SEL0〜PORT_SEL7を参照して、変換データDOUT〜DOUT7の格納先を決定する。具体的にはアクセス制御部92は、i回目の変換データDOUTi-1を、対応するポート選択レジスタPORT_SELi-1値に応じたデータレジスタDATAjに格納する。たとえば図10(b)において、1回目の変換データDOUT0に着目する。対応するポート選択レジスタPORT_SEL0の値は2であるから、変換データDOUT0は、データレジスタDATA2に格納される。同様に2回目の変換データDOUT1に着目すると、対応するポート選択レジスタPORT_SEL1の値は4であるから、変換データDOUT1は、データレジスタDATA4に格納される。
FIG. 10B is a diagram for explaining the operation of the
つまり通常モードでは、i番目のアナログポートPORT-iの変換データが、i番目のデータレジスタDATAi-1に格納されることとなる。通常モードでは、1制御周期につき、ひとつのアナログポートのデータを、1回だけ取得することができる。制御回路10に必要な機能に応じて、通常モードとバッファモードを選択することができ、ソフトウェア制御の柔軟性が提供される。
That is, in the normal mode, the conversion data of the i-th analog port PORT-i is stored in the i-th data register DATAi-1. In the normal mode, the data of one analog port can be acquired only once per control cycle. The normal mode and the buffer mode can be selected according to the function required for the
<ハードウェアモードとソフトウェアモード>
動作スタートに関して、以下で説明するハードウェアモードとソフトウェアモードが用意されている。これらのモードは、モードスタートレジスタ(MODE_START)の値で指定できる。
<Hardware mode and software mode>
Regarding the operation start, the hardware mode and software mode described below are prepared. These modes can be specified by the value of the mode start register (MODE_START).
・モードスタートレジスタ(MODE_START)
0:ソフトウェアモード
1:ハードウェアモード
・ Mode start register (MODE_START)
0: Software mode 1: Hardware mode
ソフトウェアモードは、動作スタートが、ハードウェアの状態(つまり内部信号やイベント信号)に依存せずに、ソフトウェアによって発生する。ソフトウェア的に動作スタートするために、ランレジスタが設けられる。
・ランレジスタ(RUN)
1: 1の書き込みで動作スタート
具体的にはソフトウェア制御にもとづいてCPUコア34が、ランレジスタRUNをアサートする(1を書き込み)と、それをトリガとして、A/Dコンバータ50の動作が開始する。
In the software mode, the operation start is generated by software without depending on the state of hardware (that is, internal signal or event signal). A run register is provided to start the operation by software.
・ Run register (RUN)
Operation start by writing 1: 1 Specifically, when the
ハードウェアモードでは、ランレジスタRUNがアサートされた後に、ハードウェアの所定の状態をトリガとして、動作スタートが発生する。具体的にはランレジスタRUNに1が書き込まれた後に、イベントセレクタ84からのスタートイベント信号EVT_STARTが入力されると、それをトリガとして、A/Dコンバータ50の動作がスタートする。スタートイベント信号EVT_STARTは、イベントセレクタ84が出力するイベント信号のひとつである。
In the hardware mode, after the run register RUN is asserted, the operation start is triggered by a predetermined state of the hardware. Specifically, when the start event signal EVT_START is input from the
スタートイベント信号EVT_STARTの生成のために、以下の制御レジスタが用意される。 The following control registers are prepared for generating the start event signal EVT_START.
・イベント選択レジスタ(EVENT_SEL)
0000: PWM_Uを選択
0001: PWM_Vを選択
0010: PWM_Wを選択
0011: #PWM_Uを選択
0100: #PWM_Vを選択
0101: #PWM_Wを選択
0110: PP/Bを選択
0111: #PP/Bを選択
スタートイベント信号EVT_STARTとなる内部信号を指定する。図3のイベントセレクタ84(図8のセレクタ88)を制御するために使用される。
-Event selection register (EVENT_SEL)
0000: Select PWM_U 0001: Select PWM_V 0010: Select PWM_W 0011: Select #PWM_U 0100: Select #PWM_V 0101: Select #PWM_W 0110: Select P P / B 0111: Select #P P / B The internal signal to be the start event signal EVT_START is designated. It is used to control the
インタフェースユニット82は、スタートイベント信号EVT_STARTにもとづいて、スタートタイミング信号TMG_STARTを生成する。スタートタイミング信号TMG_STARTの生成に関して、以下の制御レジスタが用意される。
The
・エッジ選択レジスタ(EVENT_EDGE)
0: ポジティブエッジ
1: ネガティブエッジ
内部信号のポジティブエッジ、ネガティブエッジのいずれを、スタートイベント信号EVT_STARTの生成に用いるかを指定する。図8のエッジセレクタ100を制御するために使用される。
-Edge selection register (EVENT_EDGE)
0: Positive edge 1: Negative edge Specifies whether the positive edge or the negative edge of the internal signal is used for generating the start event signal EVT_START. It is used to control the
イベント選択レジスタEVENT_SELとエッジ選択レジスタEVENT_EDGEの組み合わせによって、動作スタートのトリガとなるイベント(スタートイベント)が指定される。 A combination of the event selection register EVENT_SEL and the edge selection register EVENT_EDGE specifies the event (start event) that triggers the operation start.
・遅延設定レジスタ(EVENT_DELAY)
スタートイベント信号EVT_STARTのアサートから、スタートタイミング信号TMG_STARTのアサートまでの遅延時間を指定。図8の遅延回路102を制御するために使用される。
・ Delay setting register (EVENT_DELAY)
Specifies the delay time from the assertion of the start event signal EVT_START to the assertion of the start timing signal TMG_START. It is used to control the
・遅延イネーブルレジスタ(EVENT_DELAY_EN)
スタートタイミング信号TMG_STARTの遅延の有無を指定する。図8の遅延セレクタ104を制御するために使用される。
・ Delay enable register (EVENT_DELAY_EN)
The presence or absence of delay of the start timing signal TMG_START is designated. It is used to control the
また、動作スタートを解除するために、ストップレジスタ(STOP)が設けられる。
・ストップレジスタ(STOP)
1: 1の書き込みで動作停止(スタート状態の解除)
以上が動作スタートに関する説明である。
A stop register (STOP) is provided to release the operation start.
・ Stop register (STOP)
1: Stops operation when 1 is written (start status is released)
The above is the description regarding the operation start.
<オートモードとシーケンシャルモード>
続いて、変換タイミングについて説明する。変換タイミングに関連して、2つのモード、すなわちオートモードとシーケンシャルモードが用意され、その選択のために以下の制御レジスタが用意される。
<Auto mode and sequential mode>
Next, the conversion timing will be described. Two modes, that is, an auto mode and a sequential mode, are prepared in relation to the conversion timing, and the following control registers are prepared for the selection.
・モードシーケンスレジスタ(MODE_SEQ)
0:オートモード
1:シーケンシャルモード
-Mode sequence register (MODE_SEQ)
0: Auto mode 1: Sequential mode
アクセス制御部92は、(i)オートモードにおいて、1制御周期に含まれるk回のA/D変換を自動的に実行する。すなわち、複数の変換タイミングCONV0〜CON7は、動作スタート後に、アクセス制御部92が自動生成する。
The
アクセス制御部92は、(ii)シーケンシャルモードにおいて、1制御周期に含まれるk回のA/D変換それぞれを、A/D変換ごとにイベントが発生するごとに実行する。具体的には、シーケンシャルモードにおいて、図8のイベントセレクタ84は、スタートイベント信号EVT_STARTに続いて、変換イベント信号EVT0〜EVT7を順に発生する。
In the (ii) sequential mode, the
変換イベント信号EVT0〜EVT7に関して、以下の制御レジスタが用意される。
・個別イベント選択レジスタ(EVENT_SEL0-EVENT_SELn-1)
それぞれ、変換イベント信号EVT0〜EVT7となる内部信号を指定する。値についてはEVENT_SELと同様であり、図3のイベントセレクタ84(図8のセレクタ88)を制御するために使用される。
The following control registers are prepared for the conversion event signals EVT0 to EVT7.
-Individual event selection register (EVENT_SEL0-EVENT_SELn-1)
The respective internal signals to be the conversion event signals EVT0 to EVT7 are designated. The value is similar to EVENT_SEL and is used to control the
・個別エッジ選択レジスタ(EVENT_EDGE0-EVENT_EDGE7)
0: ポジティブエッジ
1: ネガティブエッジ
内部信号のポジティブエッジ、ネガティブエッジのいずれを、変換イベント信号EVT_CONVの生成に用いるかを指定する。図8のエッジセレクタ100を制御するために使用される。
-Individual edge selection register (EVENT_EDGE0-EVENT_EDGE7)
0: Positive edge 1: Negative edge Specifies which of the positive edge and the negative edge of the internal signal is used to generate the conversion event signal EVT_CONV. It is used to control the
個別イベント選択レジスタEVENT_SELi-1と個別エッジ選択レジスタEVENT_EDGEi-1の組み合わせによって、i回目のA/D変換のトリガとなるイベント(変換イベント)が指定される。 A combination of the individual event selection register EVENT_SELi-1 and the individual edge selection register EVENT_EDGEi-1 specifies an event (conversion event) that triggers the i-th A / D conversion.
図8のタイミング信号生成回路90は、レジスタ80からの変換イベント信号EVT0〜EVT7にもとづいて、変換タイミング信号TMG0〜TMG7を生成する。変換タイミング信号TMG0〜TMG7の生成に関して、以下の制御レジスタが用意される。
The timing
・遅延設定レジスタ(EVENT_DELAY0-EVENT_DELAY7)
各変換イベント信号EVTiのアサートから、変換タイミング信号TMGiのアサートまでの遅延時間を指定。値についてはEVENT_DELAYと同様であり、図8の遅延回路102を制御するために使用される。
・ Delay setting register (EVENT_DELAY0-EVENT_DELAY7)
Specify the delay time from the assertion of each conversion event signal EVTi to the assertion of the conversion timing signal TMGi. The value is similar to EVENT_DELAY and is used to control the
・遅延イネーブルレジスタ(EVENT_DELAY_EN0-EVENT_DELAY_ENn-1)
各変換イベント信号TMGiの遅延の有無を指定する。値についてはEVENT_DELAY_EN0と同様であり、図8の遅延セレクタ104を制御するために使用される。
・ Delay enable register (EVENT_DELAY_EN0-EVENT_DELAY_ENn-1)
The presence or absence of delay of each conversion event signal TMGi is designated. The value is similar to EVENT_DELAY_EN0 and is used to control the
オートモードでは、n回のA/D変換を自動的に、インタフェースユニット82が生成するタイミングで行うことができ、A/D変換のタイミングがそれほどシビアでない状況において有用である。シーケンシャルモード(マニュアルモード)では、各A/D変換のタイミング(変換タイミング)を個別にマニュアルで指定することができ、シビアなタイミング制御に対応できる。
In the auto mode, A / D conversion can be performed n times automatically at the timing generated by the
<1回変換モードと連続変換モード>
アクセス制御部92は、以下で説明する1回変換モードと連続変換モードが選択可能となっている。これらのモードの切りかえのために、以下の制御レジスタが設けられる。
<One time conversion mode and continuous conversion mode>
The
・モードバーストレジスタ(MODE_BURST)
0: 1回変換モード
1: 連続変換モード
・ Mode burst register (MODE_BURST)
0: Single conversion mode 1: Continuous conversion mode
アクセス制御部92は、(i)1回変換モードにおいて、k回の変換処理が終了すると、動作エンドとなり、図9のスタートフラグ(START)が一旦ネゲートされ、次の動作スタートを待機する。ソフトウェアモードでは、次にRUNレジスタがライトされると、動作スタートとなり、ハードウェアモードでは、RUNレジスタのライト、スタートイベントの発生によって、動作スタートとなる。
In the (i) single conversion mode, the
またアクセス制御部92は(ii)連続変換モードでは、1制御周期の変換処理が終了すると、次の動作スタートを待たずに、次の制御周期に移行する。つまり、1制御周期が終了しても、スタートフラグが立った状態が維持される。
Further, in the (ii) continuous conversion mode, the
言い換えれば1回変換モードでは、制御周期毎に動作スタートが要求されるのに対して、連続変換モードでは、初回のみ、動作スタートが要求される。1回変換モードと連続変換モードを選択可能とすることで、さらなる柔軟性が提供される。 In other words, in the single conversion mode, the operation start is requested every control cycle, whereas in the continuous conversion mode, the operation start is requested only for the first time. The additional flexibility is provided by the ability to select between the single conversion mode and the continuous conversion mode.
以上が、制御回路10がサポートするモードの説明である。続いて、制御回路10の具体的な動作を説明する。図11は、ハードウェアモード、シーケンシャルモードの組み合わせを示す波形図である。時刻t0にRUNレジスタに1がライトされると、回路がイネーブル状態となるが、ハードウェアモードではスタート状態にはならない。ここではPWMのボトム(PWM周期の先頭)が、スタートイベントとして指定される。つまりピークボトムパルスPP/Bのポジティブエッジにもとづいて、スタートタイミング信号TMG_STARTが生成され、時刻t1にスタート状態となる。ボトムイベントを選択することで、A/Dコンバータの制御周期を、PWM動作に同期させることができる。
The above is the description of the modes supported by the
1回目の変換は、W相PWM信号のネガティブエッジイベントを、2回目の変換は、V相PWM信号のネガティブエッジイベントを、3回目の変換は、U相PWM信号のネガティブエッジイベントを、トリガとしており、各イベントに応答して、変換タイミング信号TMG_CONV1〜TMG_CONV3が生成される。以降も同様である。そして設定した回数(k回)、の変換が完了すると、スタートフラグがネゲートされ、非スタート状態となる。そして、次のPWMの周期に移行すると、ボトムイベントに応答してスタートタイミング信号が生成され、再びスタート状態となる。 The first conversion is triggered by the negative edge event of the W-phase PWM signal, the second conversion is triggered by the negative edge event of the V-phase PWM signal, and the third conversion is triggered by the negative edge event of the U-phase PWM signal. Therefore, the conversion timing signals TMG_CONV1 to TMG_CONV3 are generated in response to each event. The same applies hereafter. When the set number of conversions (k times) have been completed, the start flag is negated and the non-start state is set. Then, when shifting to the next PWM cycle, a start timing signal is generated in response to the bottom event, and the start state is resumed.
以上、本発明について、実施の形態をもとに説明した。この実施の形態は例示であり、それらの各構成要素や各処理プロセスの組み合わせにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。以下、こうした変形例について説明する。 The present invention has been described above based on the embodiment. It should be understood by those skilled in the art that this embodiment is an exemplification, that various modifications can be made to the combinations of the respective constituent elements and the respective processing processes, and that such modifications are also within the scope of the present invention. is there. Hereinafter, such modified examples will be described.
モータの相数は特に限定されない。またレゾルバやロータリエンコーダを用いてモータの機械的状態を直接モニタする方式にも、制御回路10を利用することが可能である。この場合、レゾルバからの検出信号(速度信号や位置信号)を、いずれかのアナログポートに入力すればよい。
The number of phases of the motor is not particularly limited. The
2…モータ、4…駆動装置、6…インバータ、10…制御回路、12…A/Dコンバータモジュール、14…プロセッサ、16…パルス幅変調器、18…プログラム、30…デジタル演算処理部、31…バス、32…システムプラットフォーム、34…CPUコア、36,38…メモリコントローラ、40…パワーマネージメントユニット、42…システムコントローラ、44…モータ制御ブロック、46…ADCインタフェース、48…パルス幅変調器、50…A/Dコンバータ、52…マルチプレクサ、60…メモリ、62…不揮発性メモリ、64…揮発性メモリ、70…クロック発生器、80…レジスタ、82…インタフェースユニット、84…イベントセレクタ、86…ピークボトムパルス発生器、88…セレクタ、90…タイミング信号生成回路、92…アクセス制御部、94…変換データバッファ、96…エラー検出部、100…エッジセレクタ、102…遅延回路、104…遅延セレクタ、106…非同期処理回路。 2 ... Motor, 4 ... Driving device, 6 ... Inverter, 10 ... Control circuit, 12 ... A / D converter module, 14 ... Processor, 16 ... Pulse width modulator, 18 ... Program, 30 ... Digital arithmetic processing section, 31 ... Bus, 32 ... System platform, 34 ... CPU core, 36, 38 ... Memory controller, 40 ... Power management unit, 42 ... System controller, 44 ... Motor control block, 46 ... ADC interface, 48 ... Pulse width modulator, 50 ... A / D converter, 52 ... Multiplexer, 60 ... Memory, 62 ... Nonvolatile memory, 64 ... Volatile memory, 70 ... Clock generator, 80 ... Register, 82 ... Interface unit, 84 ... Event selector, 86 ... Peak bottom pulse Generator, 88 ... Selector, 90 ... Timin Signal generation circuit, 92 ... access control unit, 94 ... transform data buffer, 96 ... error detection section, 100 ... edge selector, 102 ... delay circuit, 104 ... delay selector, 106 ... asynchronous processing circuit.
Claims (13)
それぞれに前記モータの電気的状態を示す検出信号が入力可能な複数m個(mは2以上の整数)のアナログポートと、
前記m個のアナログポートそれぞれの検出信号を受けるマルチプレクサを有し、前記マルチプレクサが選択した検出信号をデジタルデータに変換するA/Dコンバータと、
ソフトウェアプログラムを実行可能であり、前記デジタルデータにもとづいて前記モータの駆動指令を生成するプロセッサと、
前記プロセッサからの制御指令に応じて前記A/Dコンバータの動作を制御するとともに、前記デジタルデータを前記プロセッサに受け渡すインタフェース回路と、
を備え、
前記インタフェース回路による前記A/Dコンバータの1制御周期は、n(nは2以上の整数)を最大とするk回(1≦k≦n)のA/D変換を含み、
前記インタフェース回路は、
前記プロセッサがアクセス可能なランレジスタと、
前記プロセッサがアクセス可能であり、ソフトウェアモードとハードウェアモードの一方を指定する値を格納するモードスタートレジスタと、
前記プロセッサがアクセス可能なn個のデータレジスタと、
前記プロセッサがアクセス可能なn個のポート選択レジスタであって、i番目(1≦i≦n)のポート選択レジスタは、i回目のA/D変換において、前記マルチプレクサが選択すべき前記アナログポートを示す値を格納する、n個のポート選択レジスタと、
前記プロセッサがアクセス可能であり、バッファモードと通常モードの一方を指示する値を格納するモードバッファレジスタと、
を含み、
前記インタフェース回路は、
(i)前記ソフトウェアモードにおいて、前記プロセッサが前記ランレジスタをアサートしたことを、前記A/Dコンバータの動作スタートのトリガとし、(ii)前記ハードウェアモードにおいて、前記制御回路において生成される少なくともひとつの内部信号を前記A/Dコンバータの動作スタートのトリガとするとともに、前記バッファモードにおいて、i回目の前記デジタルデータDOUT i-1 を、i番目の前記データレジスタに格納し、前記通常モードにおいて、i回目の前記デジタルデータDOUT i-1 を、前記n個のデータレジスタのうち対応するポート選択レジスタの値に応じたひとつに格納することを特徴とする制御回路。 A motor control circuit,
A plurality of m (m is an integer of 2 or more) analog ports to which detection signals indicating the electric state of the motor can be input,
An A / D converter that has a multiplexer that receives a detection signal of each of the m analog ports, and that converts the detection signal selected by the multiplexer into digital data;
A processor capable of executing a software program and generating a drive command for the motor based on the digital data;
An interface circuit that controls the operation of the A / D converter in accordance with a control command from the processor and transfers the digital data to the processor;
Equipped with
One control cycle of the A / D converter by the interface circuit includes k (1 ≦ k ≦ n) A / D conversion in which n (n is an integer of 2 or more) is maximum.
The interface circuit is
A run register accessible to the processor ;
A mode start register which is accessible to the processor and which stores a value designating one of a software mode and a hardware mode;
N data registers accessible to the processor,
Of the n port selection registers accessible by the processor, the i-th (1 ≦ i ≦ n) port selection register selects the analog port to be selected by the multiplexer in the i-th A / D conversion. N port selection registers for storing the indicated values,
A mode buffer register which is accessible to the processor and which stores a value indicating one of a buffer mode and a normal mode;
Including,
The interface circuit is
(I) in the software mode, said processor asserts the run register, a trigger operation start of the A / D converter, (ii) in the hardware mode, at least one generated in the control circuit The internal signal of is used as a trigger to start the operation of the A / D converter, and in the buffer mode, the i-th digital data DOUT i-1 is stored in the i-th data register, and in the normal mode, A control circuit for storing the i-th digital data DOUT i-1 in one of the n data registers according to the value of a corresponding port selection register .
前記少なくともひとつの内部信号のひとつであるスタートイベント信号にもとづいてスタートタイミング信号を生成するタイミング信号生成回路をさらに含み、
前記ハードウェアモードにおいて、前記スタートタイミング信号を前記A/Dコンバータの動作スタートのトリガとして、前記A/Dコンバータを制御することを特徴とする請求項1に記載の制御回路。 The interface circuit is
Further comprising a timing signal generation circuit that generates a start timing signal based on a start event signal that is one of the at least one internal signal ,
Wherein in hardware mode, the start timing signal as a trigger for the operation start of the A / D converter, control circuit according to claim 1, wherein the benzalkonium controls the A / D converter.
前記プロセッサがアクセス可能なイベント選択レジスタと、
複数の前記内部信号を受け、前記イベント選択レジスタに格納される値に応じたひとつを選択し、前記スタートイベント信号を出力するイベントセレクタと、
を含み、
前記タイミング信号生成回路は、前記スタートイベント信号にもとづいて前記スタートタイミング信号を生成することを特徴とする請求項2に記載の制御回路。 The interface circuit further comprises
An event selection register accessible to the processor ,
An event selector that receives a plurality of the internal signals, selects one according to a value stored in the event selection register, and outputs the start event signal,
Including,
The control circuit according to claim 2, wherein the timing signal generation circuit generates the start timing signal based on the start event signal.
前記プロセッサがアクセス可能であり、前記ハードウェアモードにおいて、前記スタートイベント信号のアサートから前記スタートタイミング信号のアサートまでの遅延時間の設定値を格納する遅延設定レジスタを含み、
前記タイミング信号生成回路は、
前記スタートイベント信号に前記遅延設定レジスタの設定値に応じた遅延を与えて、前記スタートタイミング信号を出力する遅延回路を含むことを特徴とする請求項2または3に記載の制御回路。 The interface circuit further comprises
A delay setting register that is accessible to the processor and stores a setting value of a delay time from the assertion of the start event signal to the assertion of the start timing signal in the hardware mode;
The timing signal generation circuit,
4. The control circuit according to claim 2, further comprising a delay circuit that delays the start event signal according to a set value of the delay setting register and outputs the start timing signal.
前記インタフェース回路はさらに、
前記プロセッサがアクセス可能であり、1回変換モードと連続変換モードの一方を指定する値を格納するモードバーストレジスタを含み、
前記インタフェース回路は、(i)前記1回変換モードにおいて、1制御周期の変換処理が終了すると、次の動作スタートを待機し、(ii)前記連続変換モードにおいて、1制御周期の変換処理が終了すると、次の動作スタートを待たずに、次の制御周期に移行することを特徴とする請求項1から4のいずれかに記載の制御回路。 One control cycle of the A / D converter by the interface circuit includes k (1 ≦ k ≦ n) A / D conversion in which n (n is an integer of 2 or more) is maximum.
The interface circuit further comprises
A mode burst register that is accessible to the processor and that stores a value designating one of a once conversion mode and a continuous conversion mode;
The interface circuit (i) waits for the start of the next operation when the conversion process of one control cycle is completed in the one-time conversion mode, and (ii) the conversion process of one control cycle is completed in the continuous conversion mode. Then, the control circuit according to any one of claims 1 to 4, wherein the control circuit shifts to the next control cycle without waiting for the start of the next operation.
前記プロセッサがアクセス可能であり、前記1制御周期に含まれる変換の回数kを指定する値を格納するレジスタを含むことを特徴とする請求項5に記載の制御回路。 The interface circuit further comprises
The control circuit according to claim 5, further comprising a register that is accessible by the processor and that stores a value that specifies the number k of conversions included in the one control cycle.
前記インタフェース回路はさらに、
A/D変換ごとに、前記少なくともひとつの内部信号のひとつである変換イベント信号にもとづいて変換タイミング信号を生成するタイミング信号生成回路と、
A/D変換ごとに、前記変換タイミング信号をA/D変換のトリガとして、前記A/Dコンバータを制御するアクセス制御部と、
を含み、
前記アクセス制御部は、シーケンシャルモードにおいて、k回のA/D変換それぞれを、対応する変換タイミング信号をトリガとして実行することを特徴とする請求項1に記載の制御回路。 One control cycle of the A / D converter by the interface circuit includes k (1 ≦ k ≦ n) A / D conversion in which n (n is an integer of 2 or more) is maximum.
The interface circuit further comprises
A timing signal generation circuit for generating a conversion timing signal based on a conversion event signal, which is one of the at least one internal signal, for each A / D conversion;
An access control unit that controls the A / D converter by using the conversion timing signal for each A / D conversion as a trigger for the A / D conversion,
Including,
The control circuit according to claim 1, wherein the access control unit executes each of A / D conversions k times in the sequential mode by using a corresponding conversion timing signal as a trigger.
前記プロセッサがアクセス可能であり、最大n回のA/D変換それぞれについて、トリガとすべき内部信号を個別に指定する値を格納するn個の個別イベント選択レジスタと、
複数の内部信号を受け、A/D変換ごとに、前記複数の内部信号のうち、前記n個の個別イベント選択レジスタのうち対応するひとつに格納される値に応じたひとつを選択し、変換イベント信号を出力するイベントセレクタと、
を含み、
前記タイミング信号生成回路は、前記シーケンシャルモードにおいて、A/D変換ごとに前記変換イベント信号にもとづいて、前記変換タイミング信号を生成することを特徴とする請求項7に記載の制御回路。 The interface circuit further comprises
N individual event selection registers that are accessible to the processor and that store a value that individually specifies an internal signal to be a trigger for each of up to n A / D conversions;
A plurality of internal signals are received, and for each A / D conversion, one of the plurality of internal signals is selected according to a value stored in a corresponding one of the n individual event selection registers, and a conversion event is selected. An event selector that outputs a signal,
Including,
The control circuit according to claim 7, wherein the timing signal generation circuit generates the conversion timing signal based on the conversion event signal for each A / D conversion in the sequential mode.
前記プロセッサがアクセス可能であり、最大n回のA/D変換それぞれについて、前記変換イベント信号のアサートから前記変換タイミング信号のアサートまでの遅延時間の設定値を格納する遅延設定レジスタを含み、
前記タイミング信号生成回路は、
A/D変換ごとに、対応する前記変換イベント信号に、対応する前記遅延設定レジスタの設定値に応じた遅延を与えて、前記変換タイミング信号を出力する遅延回路を含むことを特徴とする請求項7または8に記載の制御回路。 The interface circuit further comprises
A delay setting register that is accessible to the processor and stores a setting value of a delay time from the assertion of the conversion event signal to the assertion of the conversion timing signal for each of up to n A / D conversions;
The timing signal generation circuit,
A delay circuit for outputting the conversion timing signal by giving a delay corresponding to the set value of the corresponding delay setting register to the corresponding conversion event signal for each A / D conversion. 7. The control circuit according to 7 or 8.
前記プロセッサがアクセス可能であり、オートモードとシーケンシャルモードの一方を指定する値を格納するモードシーケンスレジスタを含み、
前記インタフェース回路は前記オートモードにおいて、k回のA/D変換を自動的に実行することを特徴とする請求項7から9のいずれかに記載の制御回路。 The interface circuit further comprises
A mode sequence register that is accessible to the processor and that stores a value that specifies one of auto mode and sequential mode;
10. The control circuit according to claim 7, wherein the interface circuit automatically executes k A / D conversions in the auto mode.
前記ファンモータを駆動する請求項1から12のいずれかに記載の制御回路と、
を備えることを特徴とするファン。 A fan motor,
The control circuit according to claim 1, which drives the fan motor,
A fan characterized by comprising.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016018956A JP6687406B2 (en) | 2016-02-03 | 2016-02-03 | Motor control circuit, fan using it |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016018956A JP6687406B2 (en) | 2016-02-03 | 2016-02-03 | Motor control circuit, fan using it |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017139883A JP2017139883A (en) | 2017-08-10 |
JP6687406B2 true JP6687406B2 (en) | 2020-04-22 |
Family
ID=59565240
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016018956A Expired - Fee Related JP6687406B2 (en) | 2016-02-03 | 2016-02-03 | Motor control circuit, fan using it |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6687406B2 (en) |
-
2016
- 2016-02-03 JP JP2016018956A patent/JP6687406B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2017139883A (en) | 2017-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6687405B2 (en) | Motor control circuit, fan using it | |
US7109694B2 (en) | Digital multiphase control system | |
US5933344A (en) | Microprocessor having timer circuit generating complementary non-overlapped PWM signals | |
JP2008193825A (en) | Ad conversion control circuit and related technology thereof | |
US9231506B2 (en) | Semiconductor device, electrical device and control signal, generation method | |
US9787231B2 (en) | Motor driving device and control method of motor driving device | |
CN108696229B (en) | Motor control device and method for controlling motor control device | |
CN111628678B (en) | Motor drive control device and motor drive control method | |
JP2005117839A (en) | Method and apparatus for generating pulse width modulated wave | |
JP3677497B2 (en) | Pulse width modulation waveform generator and three-phase pulse width modulation waveform generator | |
JP2000270591A (en) | Chopping current application controller for electric motor | |
US9136791B2 (en) | Motor driving device, integrated circuit device, motor apparatus and motor driving system | |
JP5930907B2 (en) | Fan motor drive device, drive method, cooling device, electronic device | |
JP2009194950A (en) | Controller for voltage-type pwm inverter | |
JP6687406B2 (en) | Motor control circuit, fan using it | |
JPH0311992A (en) | Motor, device and method of current control used for motor, etc., or arithmetic unit used therefor, or device equipped with them | |
JP6695158B2 (en) | Motor control circuit, fan using it | |
JP5721360B2 (en) | Motor driving device, cooling device using the same, and method for determining state of multiphase sensorless motor | |
US20170288594A1 (en) | Inverter control apparatus and air conditioner | |
JP3777242B2 (en) | Motor control device | |
US11205968B2 (en) | Matrix converter control device and power conversion system | |
US9762174B2 (en) | Increasing PWM resolution for digitally controlled motor control applications | |
JP2021112060A (en) | Motor drive control device, and motor drive control method | |
CN215912055U (en) | Motor control device, motor unit | |
JP2014108021A (en) | Pwm output device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190122 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20191128 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20191224 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200221 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20200324 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200402 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6687406 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |