JP2005039943A - Motor drive control method and motor drive control circuit - Google Patents

Motor drive control method and motor drive control circuit Download PDF

Info

Publication number
JP2005039943A
JP2005039943A JP2003275256A JP2003275256A JP2005039943A JP 2005039943 A JP2005039943 A JP 2005039943A JP 2003275256 A JP2003275256 A JP 2003275256A JP 2003275256 A JP2003275256 A JP 2003275256A JP 2005039943 A JP2005039943 A JP 2005039943A
Authority
JP
Japan
Prior art keywords
signal
motor
speed instruction
instruction signal
determined
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.)
Pending
Application number
JP2003275256A
Other languages
Japanese (ja)
Inventor
Masashi Okubo
昌史 大久保
Kazumitsu Arai
和光 新井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Valeo Thermal Systems Japan Corp
Original Assignee
Zexel Valeo Climate Control Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zexel Valeo Climate Control Corp filed Critical Zexel Valeo Climate Control Corp
Priority to JP2003275256A priority Critical patent/JP2005039943A/en
Publication of JP2005039943A publication Critical patent/JP2005039943A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a motor drive control method and a motor drive control circuit capable of dealing with a plurality of speed indication signals and high in versatility. <P>SOLUTION: The speed indication signal input from the outside is converted to a signal suitable for the input of a microcomputer 2 in a communication circuit 1 and input to the microcomputer 2. The kind of the speed indication signal is determined, and a control signal that corresponds to the determined signal is generated and outputted to a motor drive circuit 3, to make a brushless motor 4 rotatively driven by the motor drive circuit 3. The motor drive control method and the motor drive control circuit can thus deal with a plurality of kinds of the speed indication signals. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、モータの駆動制御に係り、特に、車両用空調装置における送風用ファン等の回転駆動に用いられるモータ駆動制御回路の汎用性向上等を図ったものに関する。   The present invention relates to drive control of a motor, and more particularly to improvement of versatility of a motor drive control circuit used for rotational drive of a blower fan or the like in a vehicle air conditioner.

従来、車両用空調装置の送風用ファンなどの回転体の駆動には、例えばブラシレスモータなどが主として用いられている。そして、その駆動制御回路は、外部からモータのスピードを指定するスピード指示信号が印加され、その入力信号に基づいてモータの駆動を制御するように構成されており、様々なものが提案されている(例えば、特許文献1参照)。
かかるモータ駆動制御回路へ入力されるスピード指示信号の代表的なものとしては、従来から用いられているPWM(Pulse Width Modulation)信号を挙げることができるが、 近年、車両への各種情報機器の搭載が実現されるに伴い開発された車載LANのためのLIN(Local Interconnect Network)などに代表される各種の通信プロトコルに基づく通信信号なども用いられてきている。
図4には、スピード指示信号がPWM信号の場合のモータ駆動制御回路の基本構成例が、図5には、スピード指示信号がLIN通信信号である場合のモータ駆動制御回路の基本構成例が、それぞれ示されており、以下、同図を参照しつつこれら従来回路例について説明することとする。
Conventionally, for example, a brushless motor or the like is mainly used for driving a rotating body such as a blower fan of a vehicle air conditioner. The drive control circuit is configured to be applied with a speed instruction signal for designating the speed of the motor from the outside and to control the drive of the motor based on the input signal, and various types have been proposed. (For example, refer to Patent Document 1).
A typical example of a speed instruction signal input to such a motor drive control circuit is a conventionally used PWM (Pulse Width Modulation) signal. In recent years, various information devices have been installed in vehicles. Communication signals based on various communication protocols typified by LIN (Local Interconnect Network) for in-vehicle LANs, etc., which have been developed along with the realization of the above, have been used.
FIG. 4 shows a basic configuration example of the motor drive control circuit when the speed instruction signal is a PWM signal, and FIG. 5 shows a basic configuration example of the motor drive control circuit when the speed instruction signal is a LIN communication signal. These conventional circuit examples will be described below with reference to FIG.

まず、スピード指示信号としてPWM信号が用いられる場合、そのPWM信号は、例えば、車両用空調装置の制御回路101からオープンコレクタトランジスタ101aを用いて出力されるようになっており、モータ駆動制御回路Saの入力段に設けられた電圧変換回路(図4においては「V−CON」と表記)11に入力されて、後段のマイクロコンピュータ(図4においては「CPU」と表記)12の入力に適した電圧レベルに変換されてマイクロコンピュータ12へ入力されるようになっている。
マイクロコンピュータ12においては、入力されたPWM信号のオン・オフ期間が判定され、その判定結果に応じたブラシレスモータ14の駆動制御信号がモータドライブ回路13へ対して出力されるようになっている。そして、モータドライブ回路13においては、マイクロコンピュータ12からの駆動制御信号に応じてブラシレスモータ14へ対して駆動電流が通電されるようになっている。
First, when a PWM signal is used as the speed instruction signal, the PWM signal is output from, for example, the control circuit 101 of the vehicle air conditioner using the open collector transistor 101a, and the motor drive control circuit Sa. Is input to a voltage conversion circuit (noted as “V-CON” in FIG. 4) 11 provided in the input stage of FIG. The voltage level is converted and input to the microcomputer 12.
In the microcomputer 12, the on / off period of the input PWM signal is determined, and a drive control signal for the brushless motor 14 corresponding to the determination result is output to the motor drive circuit 13. In the motor drive circuit 13, a drive current is supplied to the brushless motor 14 in accordance with a drive control signal from the microcomputer 12.

一方、LIN通信信号が用いられる場合、まず、そのLIN通信信号は、PWM信号が用いられる場合と同様に車両用空調装置の制御回路102からオープンコレクタトランジスタ102aを用いて出力されるようになっており、モータ駆動制御回路Sbの入力段に設けられた通信回路(図5においては「COM」と表記)15へ入力されるようになっている。なお、ここで、図4に示された構成要素と同一の構成要素については同一の符号を付すこととする。
通信回路15は、入力されたLIN通信信号を、マイクロコンピュータ(図5においては「CPU」と表記)16からのタイミング制御を受けつつマイクロコンピュータ16へ入力するに適した電圧に変換して出力するようになっているものである。
On the other hand, when the LIN communication signal is used, first, the LIN communication signal is output from the control circuit 102 of the vehicle air conditioner using the open collector transistor 102a as in the case where the PWM signal is used. Therefore, the signal is input to a communication circuit (indicated as “COM” in FIG. 5) 15 provided at the input stage of the motor drive control circuit Sb. Here, the same components as those shown in FIG. 4 are denoted by the same reference numerals.
The communication circuit 15 converts the input LIN communication signal into a voltage suitable for input to the microcomputer 16 while receiving timing control from the microcomputer (indicated as “CPU” in FIG. 5) 16 and outputs the voltage. It is something like that.

ここで、LIN通信に用いられるマイクロコンピュータ16は、受信ポート(図5においてはRXin」と表記)とタイマーポート(図5においては「Timer」と表記)が設けられており、通信回路15を経たLIN通信信号は、同時にそれぞれのポートに入力されるようになっている。そして、まず、受信ポートにおいて、入力された信号がLINプロトコルに適合した信号であるか否かの判定や、通信開始等の判定が行われ、ブラシレスモータ14の回転速度を定める信号が入力されたと判定されると、タイマーポートにおいて、入力されたシリアルデータ信号から回転速度が判定されるようになっている。次いで、このタイマーポートにおける、回転速度の判定結果に応じたブラシレスモータ14の駆動制御信号がモータドライブ回路13へ対して出力され、モータドライブ回路13においては、マイクロコンピュータ16からの駆動制御信号に応じてブラシレスモータ14へ対して駆動電流が通電されるようになっている。なお、モータドライブ回路13は、基本的に図4におけるものと同一構成である。
このように、従来、モータ駆動制御回路は、入力されるスピード指示信号の形式に応じた構成とされたものが提供されるのが通常であった。
Here, the microcomputer 16 used for the LIN communication is provided with a reception port (indicated as RXin in FIG. 5) and a timer port (indicated as “Timer” in FIG. 5). The LIN communication signal is input to each port at the same time. First, at the receiving port, it is determined whether the input signal is a signal conforming to the LIN protocol, determination of communication start, etc., and a signal for determining the rotation speed of the brushless motor 14 is input. When it is determined, the rotation speed is determined from the input serial data signal at the timer port. Next, a drive control signal of the brushless motor 14 corresponding to the determination result of the rotational speed at this timer port is output to the motor drive circuit 13, and the motor drive circuit 13 responds to the drive control signal from the microcomputer 16. Thus, a drive current is supplied to the brushless motor 14. The motor drive circuit 13 has basically the same configuration as that shown in FIG.
Thus, conventionally, the motor drive control circuit is usually provided with a configuration corresponding to the format of the input speed instruction signal.

特開2000−350484号公報JP 2000-350484 A

しかしながら、スピード指示信号の形式毎に駆動回路を設計、製造することは、設計や製造工程の共通化による重複労力の削減、製造コストの低減等の製造メーカにおける普遍的な要請に反し、経済的ではないという問題があった。
本発明は、上記実状に鑑みてなされたもので、複数のスピード指示信号に対応可能な汎用性の高いモータ駆動制御方法及びモータ駆動制御回路を提供することにある。
However, it is economical to design and manufacture a drive circuit for each type of speed instruction signal, contrary to the universal demands of manufacturers such as reduction of duplication labor and reduction of manufacturing cost due to common design and manufacturing processes. There was a problem that was not.
The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide a motor drive control method and a motor drive control circuit with high versatility that can handle a plurality of speed instruction signals.

上記本発明の目的を達成するため、本発明に係るモータ駆動制御回路は、
外部入力されるモータの回転状態を定めるスピード指示信号に基づいて、前記モータの通電を制御するよう構成されてなるモータ駆動制御回路であって、
前記スピード指示信号の信号レベルの変換を行う変換手段と、
外部入力された制御信号に応じて前記モータへの通電を行うドライブ手段と、
前記変換手段を介して入力された前記スピード指示信号の種類を判定し、判定されたスピード指示信号の種類に応じて、前記外部入力されたスピード指示信号から前記モータの回転速度を判定し、当該判定結果に応じ前記ドライブ手段へ対する制御信号を生成、出力する制御処理手段と、を具備してなるものである。
かかる構成によれば、スピード指示信号の種類を判別し、判別された信号の種類に応じた制御信号が生成、出力されるよう構成されているので、従来と異なり、信号の種類毎に応じて入力段の回路を設ける必要が無くなり、複数のスピード指示信号に対応可能な汎用性の高いモータ駆動制御方法及びモータ駆動制御回路を提供することができることとなるものである。
In order to achieve the above object of the present invention, a motor drive control circuit according to the present invention includes:
A motor drive control circuit configured to control energization of the motor based on a speed instruction signal that determines the rotation state of the motor input from the outside,
Conversion means for converting the signal level of the speed instruction signal;
Drive means for energizing the motor in response to an externally input control signal;
Determine the type of the speed instruction signal input via the conversion means, determine the rotational speed of the motor from the externally input speed instruction signal according to the determined speed instruction signal type, And a control processing means for generating and outputting a control signal for the drive means in accordance with the determination result.
According to such a configuration, the type of the speed instruction signal is determined, and a control signal corresponding to the determined type of signal is generated and output. It is not necessary to provide an input stage circuit, and it is possible to provide a highly versatile motor drive control method and motor drive control circuit that can handle a plurality of speed instruction signals.

本発明によれば、複数のスピード指示信号に対応できるため、汎用性の高い、比較的安価なモータ駆動制御回路を提供することができるという効果を奏するものである。   According to the present invention, since it can respond to a plurality of speed instruction signals, it is possible to provide a highly versatile and relatively inexpensive motor drive control circuit.

以下、本発明の実施の形態について、図1乃至図3を参照しつつ説明する。
なお、以下に説明する部材、配置等は本発明を限定するものではなく、本発明の趣旨の範囲内で種々改変することができるものである。
最初に、本発明の実施の形態におけるモータ駆動制御回路Sの構成例について、図1を参照しつつ説明する。
このモータ駆動制御回路Sは、通信回路(図1においては「COM」と表記)1と、マイクロコンピュータ(図1においては「CPU」と表記)2と、モータドライブ回路(図1においては「DRV」と表記)3とを主たる構成要素として構成されてなり、後述するようにして車両用空調装置のブロワモータとしての例えば公知・周知の構成を有してなるブラシレスモータ4の駆動がなされるようになっているものである。
Hereinafter, embodiments of the present invention will be described with reference to FIGS. 1 to 3.
The members and arrangements described below do not limit the present invention and can be variously modified within the scope of the gist of the present invention.
First, a configuration example of the motor drive control circuit S in the embodiment of the present invention will be described with reference to FIG.
The motor drive control circuit S includes a communication circuit (indicated as “COM” in FIG. 1) 1, a microcomputer (indicated as “CPU” in FIG. 1) 2, and a motor drive circuit (indicated as “DRV in FIG. 1). 3) as a main component, and as described later, for example, a brushless motor 4 having a known / known configuration as a blower motor of a vehicle air conditioner is driven. It is what has become.

このモータ駆動制御回路Sは、後述するようなマイクロコンピュータ2によるモータ駆動制御の実行により、ブラシレスモータ4の回転速度、運転停止を指示するための外部から入力されるスピード指示信号としてPWM信号とLIN(Local Interconnect Network)通信信号(又はK−LINE通信信号)のいずれにも対応可能なものとなっている。
なお、LINは、車載LAN(Local Area Network)のために欧州の複数の自動車メーカ等が提唱しているシリアル通信プロトコルであり、いわゆるデフェクトスタンダード(事実上の標準規格)化されたものと言え、その詳細は公知・周知となっているのでここでの説明は省略することとする。また、K−LINEは、主に車両搭載の種々の電子装置の電気的な故障診断用の上位の通信プロトコルであるが、それをブラシレスモータの回転制御に用いることも可能であり、しかも、授受される電気信号のレベルについてはLINと基本的に同一仕様であるため、例えば、LIN仕様の線路等のハードウェアが設けられた回路においてK−LINEにより制御を行うことも可能である。なお、K−LINE自体の詳細についてはISO9141に規定される公知・周知のものであるので、ここでの詳細な説明は省略することとする。
これらPWM信号、LIN通信信号(又はK−LINE通信信号)は、例えば、車両用空調装置の制御回路101,102からオープンコレクタトランジスタ101a,102aを用いて出力されるようになっており、通信回路1に印加されるようになっているものである(図1参照)。なお、LINやK−LINEにおいて、信号伝送には通常、バス・ライン方式が用いられるようになっており、図1における制御回路101,102と通信回路1との間の接続もバスラインで行われるものである。
The motor drive control circuit S executes a motor drive control by the microcomputer 2 as will be described later, and outputs a PWM signal and a LIN as a speed instruction signal input from the outside for instructing the rotation speed and operation stop of the brushless motor 4. The (Local Interconnect Network) communication signal (or K-LINE communication signal) can be handled.
LIN is a serial communication protocol advocated by several European automakers for in-vehicle LAN (Local Area Network), and can be said to be a so-called defect standard (de facto standard). Since the details are publicly known and well known, the description here will be omitted. K-LINE is a high-level communication protocol mainly used for electrical failure diagnosis of various electronic devices mounted on the vehicle, but it can also be used to control the rotation of brushless motors. Since the level of the electric signal to be performed is basically the same as that of LIN, for example, it is possible to control by K-LINE in a circuit provided with hardware such as a line of LIN specification. The details of K-LINE itself are publicly known and well-known as defined in ISO9141, and detailed description thereof will be omitted here.
These PWM signal and LIN communication signal (or K-LINE communication signal) are output from the control circuits 101 and 102 of the vehicle air conditioner using the open collector transistors 101a and 102a, for example. 1 (see FIG. 1). In LIN and K-LINE, a bus line system is usually used for signal transmission, and the connection between the control circuits 101 and 102 and the communication circuit 1 in FIG. It is what is said.

通信回路1は、従来、スピード指示信号としてLIN通信信号のみに対応可能に構成されていたモータ駆動制御回路(図5参照)において用いられていたものと基本的に同一構成を有してなる公知・周知のものである。すなわち、通信回路1は、外部から入力されたスピード指示信号を、マイクロコンピュータ2からのタイミング制御を受けつつマイクロコンピュータ2へ入力するに適した電圧に変換して出力するようになっているものである。
ここで、PWM信号とLIN通信信号(又はK−LINE通信信号)は、電圧レベルで比較する限りにおいては、いずれも同一の電圧範囲にあるものである。すなわち、図3(A)及び図3(B)には、具体的な信号波形例が示されており、以下、同図を参照しつつ説明すれば、まず、PWM信号は、繰り返し周期が大凡100Hz乃至1000Hz(10ms乃至1ms)のオン・オフパルス信号である。そして、そのオン・オフ時間のデューティ比は、ブラシレスモータ4の所望する回転速度に応じて設定されるものとなっている(図3(A)参照)。
The communication circuit 1 has basically the same configuration as that used in a motor drive control circuit (see FIG. 5) that has been conventionally configured to support only a LIN communication signal as a speed instruction signal.・ It is well known. That is, the communication circuit 1 converts a speed instruction signal input from the outside into a voltage suitable for input to the microcomputer 2 while receiving timing control from the microcomputer 2 and outputs the converted voltage. is there.
Here, the PWM signal and the LIN communication signal (or K-LINE communication signal) are both in the same voltage range as long as they are compared at the voltage level. That is, FIGS. 3A and 3B show specific signal waveform examples. The following description will be made with reference to FIG. This is an on / off pulse signal of 100 Hz to 1000 Hz (10 ms to 1 ms). The duty ratio of the on / off time is set according to the desired rotation speed of the brushless motor 4 (see FIG. 3A).

一方、LIN通信信号は、大凡10kbps乃至20kbps(100μs乃至50μs)の伝送速度を有するシリアルパルス信号である(図3(B)参照)。そして、いずれの信号も0vと12vとの間でオン・オフするものとなっている(図3(A)及び図3(B)参照)。なお、High側の電圧12vは、車両のバッテリ電圧であるので、バッテリ電圧が12v以外の場合には、12vに代えてその電圧とされるものである。
このような双方の信号の共通性から、本来、LIN通信信号用のモータ駆動制御回路の入力段に用いられている通信回路1を、PWM信号の入力に用いても何ら支障はなく、いずれの入力信号にあってもマイクロコンピュータ2の入力に適した電圧レベルに変換されてマイクロコンピュータ2へ入力される。
On the other hand, the LIN communication signal is a serial pulse signal having a transmission rate of approximately 10 kbps to 20 kbps (100 μs to 50 μs) (see FIG. 3B). Each signal is turned on / off between 0v and 12v (see FIGS. 3A and 3B). Since the high-side voltage 12v is a battery voltage of the vehicle, when the battery voltage is other than 12v, the voltage is replaced with 12v.
Because of the commonality of both signals, there is no problem even if the communication circuit 1 originally used in the input stage of the motor drive control circuit for the LIN communication signal is used for the input of the PWM signal. Even if it is an input signal, it is converted to a voltage level suitable for the input of the microcomputer 2 and input to the microcomputer 2.

マイクロコンピュータ2は、そのハードウェア構成としては、従来、スピード指示信号としてLIN通信信号のみに対応可能に構成されていたモータ駆動制御回路(図5参照)において用いられていたものと基本的に同一構成を有してなる公知・周知のものであるが、後述するようなモータ駆動制御が実行される点で従来と異なり、従来のモータ駆動制御回路では実現されない動作、機能が果たせるようになっているものである。
モータドライブ回路3は、例えば、複数のトランジスタがいわゆるブリッジ接続されてなり、これら複数のトランジスタがマイクロコンピュータ2からの制御信号に応じてオン・オフされてブラシレスモータ4への通電制御がなされるように構成されてなる公知・周知のもので、基本的には従来回路のものと同一構成のものである。
ブラシレスモータ4は、公知・周知の構成を有してなるものであるので、ここでの詳細な説明は省略することとする。なお、ブラシレスモータ4は、その回転子の位置検出のために、例えば、ホール素子等を用いた回転子の回転位置検出器が設けられており、その出力信号が出力されるようになっているが、図1においては、その出力信号の図示を省略してある。この回転位置検出器の出力信号は、マイクロコンピュータ2に入力されてモータドライブ回路3への制御信号の生成に供せられるものとなっている。
The microcomputer 2 has basically the same hardware configuration as that used in a motor drive control circuit (see FIG. 5) that has been conventionally configured to be compatible only with a LIN communication signal as a speed instruction signal. Although it is a publicly known device having a configuration, it differs from the conventional one in that motor drive control as will be described later is executed, and can now perform operations and functions that are not realized by the conventional motor drive control circuit. It is what.
In the motor drive circuit 3, for example, a plurality of transistors are connected in a so-called bridge, and the plurality of transistors are turned on / off in accordance with a control signal from the microcomputer 2 to control energization to the brushless motor 4. These are known and well-known ones, and basically have the same constitution as that of the conventional circuit.
Since the brushless motor 4 has a known and well-known configuration, a detailed description thereof will be omitted here. The brushless motor 4 is provided with, for example, a rotor rotational position detector using a Hall element or the like for detecting the rotor position, and an output signal thereof is output. However, in FIG. 1, illustration of the output signal is omitted. The output signal of the rotational position detector is input to the microcomputer 2 and used for generating a control signal to the motor drive circuit 3.

次に、上記構成におけるマイクロコンピュータ2により実行されるモータ駆動制御について、図2に示されたフローチャートを参照しつつ説明する。
まず、処理が開始されると、最初に通信回路1を介してマイクロコンピュータ2へのスピード指示信号の取り込み(入力)が行われることとなる(図2のステップS102参照)。
ここで、マイクロコンピュータ2は、従来同様に受信ポート(図1においてはRXin」と表記)とタイマーポート(図1においては「Timer」と表記)が設けられたものとなっており、通信回路1を経たスピード指示信号は、同時にそれぞれのポートに入力されるようになっている。
Next, motor drive control executed by the microcomputer 2 in the above configuration will be described with reference to the flowchart shown in FIG.
First, when processing is started, a speed instruction signal is first taken into (inputted) into the microcomputer 2 via the communication circuit 1 (see step S102 in FIG. 2).
Here, the microcomputer 2 is provided with a receiving port (denoted as RXin in FIG. 1) and a timer port (denoted as “Timer” in FIG. 1) as in the prior art. The speed instruction signals that have passed through are input to the respective ports at the same time.

次いで、入力されたスピード信号が何らかの通信プロトコルに適合したものであるか否かが判定されることとなる(図2のステップS104参照)。すなわち、本発明の実施の形態においては、マイクロコンピュータ2の受信ポート側において入力されたスピード指示信号が何らかの通信プロトコルに基づいたものであるか否かが判定され、通信プロトコルに適合したものであると判定された場合(YESの場合)には、次述するステップS106の処理へ、通信プロトコルに適合したものではないと判定された場合(NOの場合)には、後述するステップS112の処理へ、それぞれ進むこととなる。
ステップS106においては、先のステップS104においてスピード指示信号が何らかの通信プロトコルに基づいたものであると判定されたことに対応して、通信プロトコルがLINであるか否かが判定され、LINであると判定された場合(YESの場合)には、ステップS108へ進み、スピード指示信号をLIN通信信号としてのブラシレスモータ4の運転が開始されることとなる。一方、ステップS106において、スピード指示信号はLINではないと判定された場合(NOの場合)には、スピード指示信号はK−LINEであるとしてブラシレスモータ4の運転が開始されることとなる(図2のステップS110参照)。
そして、ステップS108又はステップS110が実行された後は、後述するステップS114の処理へ進むこととなる。
Next, it is determined whether or not the input speed signal is suitable for some communication protocol (see step S104 in FIG. 2). That is, in the embodiment of the present invention, it is determined whether or not the speed instruction signal input on the receiving port side of the microcomputer 2 is based on some communication protocol, and is adapted to the communication protocol. If it is determined (in the case of YES), the process proceeds to step S106 described below. If it is determined that the communication protocol is not satisfied (in the case of NO), the process proceeds to step S112 described later. , Each will proceed.
In step S106, in response to the determination that the speed instruction signal is based on some communication protocol in the previous step S104, it is determined whether or not the communication protocol is LIN. If it is determined (YES), the process proceeds to step S108, and the operation of the brushless motor 4 using the speed instruction signal as the LIN communication signal is started. On the other hand, when it is determined in step S106 that the speed instruction signal is not LIN (in the case of NO), the operation of the brushless motor 4 is started assuming that the speed instruction signal is K-LINE (FIG. 2 step S110).
And after step S108 or step S110 is performed, it will progress to the process of step S114 mentioned later.

一方、ステップS104において、スピード指示信号は、通信プロトコルに適合したものではないと判定されて(NOの場合)、ステップS112の処理へ進んだ場合には、スピード指示信号は、PWM信号であるとしてブラシレスモータ4の運転が開始されることとなり、ステップS114の処理へ進むこととなる。
ステップS114においては、再び通信回路1を介してマイクロコンピュータ2へのスピード指示信号の入力が行われ、次いで、ステップS116において、入力されたスピード指示信号が運転を指示しているか否か、換言すれば、スピード指示信号が回転速度を指示する信号となっているか否か、如何なる回転速度を指示しているのかが判定されることとなる。
具体的には、まず、このステップS116における判定は、マイクロコンピュータ2のタイマーポート側において行われるものとなっている。すなわち、入力されたスピード指示信号がPWM信号と判定されている場合(図2のステップS112参照)には、PWM信号のオン・オフ時間がブラシレスモータ4の回転速度を指示するものとなっているので、そのオン・オフ時間がタイマーポートにおいて検出されることとなる。また、スピード指示信号がLIN又はK−LINE通信信号と判定されている場合(図2のステップS108,S110参照)には、回転速度が所定の形式のシリアルビット信号として表されるようになっているので、そのシリアルデータの判定がタイマーポート側において行われることとなる。
On the other hand, if it is determined in step S104 that the speed instruction signal does not conform to the communication protocol (in the case of NO) and the process proceeds to step S112, it is assumed that the speed instruction signal is a PWM signal. The operation of the brushless motor 4 is started, and the process proceeds to step S114.
In step S114, the speed instruction signal is again input to the microcomputer 2 via the communication circuit 1. Next, in step S116, whether or not the input speed instruction signal instructs operation is described. For example, it is determined whether or not the speed instruction signal is a signal for instructing the rotation speed and what rotation speed is instructed.
Specifically, first, the determination in step S116 is performed on the timer port side of the microcomputer 2. That is, when the input speed instruction signal is determined to be a PWM signal (see step S112 in FIG. 2), the on / off time of the PWM signal indicates the rotation speed of the brushless motor 4. Therefore, the on / off time is detected at the timer port. When the speed instruction signal is determined to be a LIN or K-LINE communication signal (see steps S108 and S110 in FIG. 2), the rotation speed is represented as a serial bit signal in a predetermined format. Therefore, the serial data is determined on the timer port side.

そして、スピード指示信号が運転を指示していると判定された場合(YESの場合)には、その運転指示に基づいたモータ運転が行われ(図2のステップS118参照)、次いで、先のステップS114へ戻り、それ以降の処理が繰り返されることとなる。すなわち、スピード指示信号がPWM信号である場合には、そのタイマーポートで判定されたオン・オフ時間に応じた制御信号がモータドライブ回路3へ出力され、モータドライブ回路3によりその制御信号に応じた、すなわち、PWM信号のオン・オフ時間で定まる回転速度に対応した駆動電流の通電が行われることとなる。
また、スピード指示信号がLIN又はK−LINE通信信号である場合には、検出されたシリアルビットデータに応じた制御信号がモータドライブ回路3へ出力され、モータドライブ回路3によりその制御信号に応じた、すなわち、シリアルビットデータで定まる回転速度に対応した駆動電流の通電が行われることとなる。
When it is determined that the speed instruction signal instructs driving (in the case of YES), motor operation is performed based on the driving instruction (see step S118 in FIG. 2), and then the previous step The process returns to S114 and the subsequent processing is repeated. That is, when the speed instruction signal is a PWM signal, a control signal corresponding to the on / off time determined by the timer port is output to the motor drive circuit 3, and the motor drive circuit 3 responds to the control signal. That is, energization of the drive current corresponding to the rotation speed determined by the on / off time of the PWM signal is performed.
When the speed instruction signal is a LIN or K-LINE communication signal, a control signal corresponding to the detected serial bit data is output to the motor drive circuit 3, and the motor drive circuit 3 responds to the control signal. That is, energization of the drive current corresponding to the rotational speed determined by the serial bit data is performed.

一方、ステップS116の判定において、スピード指示信号は、運転を指示していないと判定された場合(NOの場合)には、モータ運転の停止がなされ、先のステップS102へ戻り、上述した一連の処理が再度繰り返されることとなる。なお、スピード指示信号による運転の停止の指示は、本発明の実施の形態の場合、PWM信号、LIN又はK−LINE通信信号のいずれも信号レベルが12vに継続的に保持された状態によってなされるようになっている。
上述の構成例においては、ブラシレスモータ4の駆動例を示したが、本発明に係るモータ駆動制御方法は、ブラシレスモータに限定される必要はなく、通常のブラシ付きのモータであっても基本的に同様に適用可能である。すなわち、モータの種類が変わって、それに応じてモータドライブ回路3の構成が変更されても、マイクロコンピュータ2からの制御信号については同一の仕様とすれば、上述のようにスピード指示信号の種類の判定や、その判定結果に応じた運転指示の判定、さらに、判定された運転指示に応じてモータドライブ回路3へ対する制御信号の出力によって、モータの駆動、停止が実現可能である。
On the other hand, if it is determined in step S116 that the speed instruction signal has not instructed driving (in the case of NO), the motor operation is stopped, and the process returns to the previous step S102, and the above-described series of steps. The process will be repeated again. In the embodiment of the present invention, the instruction to stop the operation by the speed instruction signal is made in a state in which the signal level of any of the PWM signal, the LIN or the K-LINE communication signal is continuously maintained at 12v. It is like that.
In the above configuration example, the driving example of the brushless motor 4 has been described. However, the motor drive control method according to the present invention is not necessarily limited to the brushless motor, and is basically applicable to a motor with a normal brush. Is equally applicable. That is, even if the type of motor is changed and the configuration of the motor drive circuit 3 is changed accordingly, if the control signal from the microcomputer 2 has the same specification, the type of speed instruction signal as described above. The motor can be driven and stopped by the determination, the determination of the driving instruction according to the determination result, and the output of the control signal to the motor drive circuit 3 according to the determined driving instruction.

また、上述の構成例においては、スピード指示信号として、PWM信号、LIN通信信号、K−LINE通信信号のいずれかが入力されることを前提としたが、これらの信号に限定される必要はなく、他の種類の信号であっても良いことは勿論である。なお、その場合には、先の図2のステップS104,S106、S116における判定基準をその信号に応じたものに変更し、また、S108,S110,S112の運転をそれぞれの信号に応じたものとすればよい。   In the above configuration example, it is assumed that any of the PWM signal, the LIN communication signal, and the K-LINE communication signal is input as the speed instruction signal. However, it is not necessary to be limited to these signals. Of course, other types of signals may be used. In this case, the determination criteria in steps S104, S106, and S116 in FIG. 2 are changed to those corresponding to the signals, and the operations in S108, S110, and S112 are changed according to the respective signals. do it.

本発明の実施の形態におけるモータ駆動制御回路の構成例を示す構成図である。It is a block diagram which shows the structural example of the motor drive control circuit in embodiment of this invention. 図1に示されたモータ駆動制御回路のマイクロコンピュータによって実行されるモータ駆動制御の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the motor drive control performed by the microcomputer of the motor drive control circuit shown by FIG. スピード指示信号の波形例を示す波形図であって、図3(A)はPWM信号の場合の波形図、図3(B)はLIN通信信号の場合の波形図である。FIG. 3A is a waveform diagram illustrating a waveform example of a speed instruction signal, FIG. 3A is a waveform diagram in the case of a PWM signal, and FIG. 3B is a waveform diagram in the case of a LIN communication signal. スピード指示信号がPWM信号の場合の従来回路の構成例を示す構成図である。It is a block diagram which shows the structural example of the conventional circuit in case a speed instruction | indication signal is a PWM signal. スピード指示信号がLIN通信信号の場合の従来回路の構成例を示す構成図である。It is a block diagram which shows the structural example of the conventional circuit in case a speed instruction | indication signal is a LIN communication signal.

符号の説明Explanation of symbols

1…通信回路
2…マイクロコンピュータ
3…モータドライブ回路
4…ブラシレスモータ
DESCRIPTION OF SYMBOLS 1 ... Communication circuit 2 ... Microcomputer 3 ... Motor drive circuit 4 ... Brushless motor

Claims (6)

外部入力されたモータの回転状態を定めるスピード指示信号の種類を判定し、判定されたスピード指示信号の種類に応じて、前記外部入力されたスピード指示信号から前記モータの回転速度を判定し、前記モータを当該判定された回転速度に駆動することを特徴とするモータの駆動制御方法。   Determine the type of the speed instruction signal that determines the rotational state of the externally input motor, determine the rotational speed of the motor from the externally input speed instruction signal according to the determined type of the speed instruction signal, A drive control method for a motor, wherein the motor is driven at the determined rotational speed. 外部入力されたモータの回転状態を定めるスピード指示信号が所定の通信プロトコルに適合したものであるか否か判定し、所定の通信プロトコルに適合したものであると判定された場合には、当該通信プロトコルに基づいて前記スピード指示信号から前記モータの回転速度を判定し、前記モータを当該判定された回転速度に駆動する一方、
前記スピード指示信号が所定の通信プロトコルに適合したものではないと判定された場合には、前記スピード指示信号はPWM信号であるとして、そのオン・オフ時間を判定し、当該判定結果に応じて前記モータの駆動を行うことを特徴とするモータの駆動制御方法。
It is determined whether or not the speed instruction signal that determines the rotation state of the externally input motor conforms to a predetermined communication protocol. If it is determined that the speed instruction signal conforms to a predetermined communication protocol, the communication While determining the rotational speed of the motor from the speed instruction signal based on a protocol, and driving the motor to the determined rotational speed,
When it is determined that the speed instruction signal does not conform to a predetermined communication protocol, the speed instruction signal is determined to be a PWM signal, and the on / off time is determined, and the speed instruction signal is determined according to the determination result. A motor drive control method characterized by driving a motor.
スピード指示信号は、PWM信号、LIN通信信号、K−LINE通信信号のいずれかであることを特徴とする請求項1又は請求項2記載のモータの駆動制御方法。   3. The motor drive control method according to claim 1, wherein the speed instruction signal is any one of a PWM signal, a LIN communication signal, and a K-LINE communication signal. 外部入力されるモータの回転状態を定めるスピード指示信号に基づいて、前記モータの通電を制御するよう構成されてなるモータ駆動制御回路であって、
前記スピード指示信号の信号レベルの変換を行う変換手段と、
外部入力された制御信号に応じて前記モータへの通電を行うドライブ手段と、
前記変換手段を介して入力された前記スピード指示信号の種類を判定し、判定されたスピード指示信号の種類に応じて、前記外部入力されたスピード指示信号から前記モータの回転速度を判定し、当該判定結果に応じ前記ドライブ手段へ対する制御信号を生成、出力する制御処理手段と、
を具備してなることを特徴とするモータ駆動制御回路。
A motor drive control circuit configured to control energization of the motor based on a speed instruction signal that determines the rotational state of the motor input from the outside,
Conversion means for converting the signal level of the speed instruction signal;
Drive means for energizing the motor in accordance with an externally input control signal;
Determine the type of the speed instruction signal input through the conversion means, determine the rotational speed of the motor from the speed instruction signal input from the outside according to the determined type of speed instruction signal, Control processing means for generating and outputting a control signal to the drive means according to a determination result;
A motor drive control circuit comprising:
制御処理手段は、マイクロコンピュータを用いてなり、当該マイクロコンピュータは、
変換手段を介して入力されたモータの回転状態を定めるスピード指示信号が所定の通信プロトコルに適合したものであるか否か判定し、所定の通信プロトコルに適合したものであると判定された場合には、当該通信プロトコルに基づいて前記スピード指示信号から前記モータの回転速度を判定し、当該判定された回転速度に対応したドライブ手段へ対する制御信号を生成、出力する一方、
前記スピード指示信号が所定の通信プロトコルに適合したものではないと判定された場合には、前記スピード指示信号はPWM信号であるとして、そのオン・オフ時間を判定し、当該判定結果に応じたドライブ手段へ対する制御信号を生成、出力するよう構成されたなることを特徴とする請求項4記載のモータ駆動制御回路。
The control processing means uses a microcomputer, and the microcomputer
When it is determined whether or not the speed instruction signal for determining the rotation state of the motor input via the conversion means conforms to a predetermined communication protocol, and if it is determined to conform to the predetermined communication protocol Determines the rotational speed of the motor from the speed instruction signal based on the communication protocol, and generates and outputs a control signal to the drive means corresponding to the determined rotational speed,
When it is determined that the speed instruction signal does not conform to a predetermined communication protocol, the speed instruction signal is determined to be a PWM signal, the on / off time is determined, and the drive corresponding to the determination result is determined. 5. The motor drive control circuit according to claim 4, wherein the motor drive control circuit is configured to generate and output a control signal to the means.
スピード指示信号は、PWM信号、LIN通信信号、K−LINE通信信号のいずれかであることを特徴とする請求項5記載のモータ駆動制御回路。   6. The motor drive control circuit according to claim 5, wherein the speed instruction signal is any one of a PWM signal, a LIN communication signal, and a K-LINE communication signal.
JP2003275256A 2003-07-16 2003-07-16 Motor drive control method and motor drive control circuit Pending JP2005039943A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003275256A JP2005039943A (en) 2003-07-16 2003-07-16 Motor drive control method and motor drive control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003275256A JP2005039943A (en) 2003-07-16 2003-07-16 Motor drive control method and motor drive control circuit

Publications (1)

Publication Number Publication Date
JP2005039943A true JP2005039943A (en) 2005-02-10

Family

ID=34211964

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003275256A Pending JP2005039943A (en) 2003-07-16 2003-07-16 Motor drive control method and motor drive control circuit

Country Status (1)

Country Link
JP (1) JP2005039943A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010171910A (en) * 2009-01-26 2010-08-05 Yazaki Corp Onboard communication apparatus and communication control program
JP2018158682A (en) * 2017-03-23 2018-10-11 株式会社デンソー On-vehicle device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010171910A (en) * 2009-01-26 2010-08-05 Yazaki Corp Onboard communication apparatus and communication control program
JP2018158682A (en) * 2017-03-23 2018-10-11 株式会社デンソー On-vehicle device

Similar Documents

Publication Publication Date Title
JP4497077B2 (en) Power generation abnormality monitoring system
US8378616B2 (en) Motor controller and motor assembly
US7538500B2 (en) Position detection and external driver multiplexing system for DC motors
US7589487B2 (en) Method of selectable simultaneous/sequential motor drive in a multiple drive circuit including failure detection
US20040232864A1 (en) Apparatus for controlling motor
JP4502022B2 (en) Vehicle power generation control device
US7352145B2 (en) Voltage-sensitive oscillator frequency for rotor position detection scheme
JP3985360B2 (en) Load control device
US5908154A (en) Air conditioning apparatus in an air conditioning system for use in a vehicle
JP6633634B2 (en) Motor controller input stage and electric motor motor controller
JP2004343998A (en) System and method for speed control for electric motor, and stall protection
JP2005039943A (en) Motor drive control method and motor drive control circuit
US10516362B2 (en) Motor driving device
JP2001264128A (en) Abnormality detector for sensor and controller for vehicle
JP2006270878A (en) Data converter and data conversion method
JP2008099454A (en) Motor controller
JP2006280071A (en) Control method and control device of motor
JP2004345558A (en) Servo motor control device
JP2005163706A (en) Abnormality diagnosing device for actuator driving system
WO2015163415A1 (en) Electrical device
JP2004350408A (en) Servo motor controller
KR20150065989A (en) Apparatus for controlling the driving of sun roof using internal network of vehicle
JP6984542B2 (en) Open / close member control device
JP2017211861A (en) Driving control device for vehicle lan actuator
JP2008034246A (en) Fan driving control method in battery overheating protecting device, and battery overheating protecting device