JPH0965685A - Current carrying controller of electric motor - Google Patents

Current carrying controller of electric motor

Info

Publication number
JPH0965685A
JPH0965685A JP7214363A JP21436395A JPH0965685A JP H0965685 A JPH0965685 A JP H0965685A JP 7214363 A JP7214363 A JP 7214363A JP 21436395 A JP21436395 A JP 21436395A JP H0965685 A JPH0965685 A JP H0965685A
Authority
JP
Japan
Prior art keywords
acceleration
state
electric motor
energization
motor
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
JP7214363A
Other languages
Japanese (ja)
Inventor
Masanori Sugiyama
山 昌 典 杉
Naoyoshi Takahashi
橋 尚 良 高
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.)
Aisin Corp
Original Assignee
Aisin Seiki Co Ltd
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 Aisin Seiki Co Ltd filed Critical Aisin Seiki Co Ltd
Priority to JP7214363A priority Critical patent/JPH0965685A/en
Publication of JPH0965685A publication Critical patent/JPH0965685A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To suppress noises and improve acceleration characteristics by a method wherein a first state in which a target acceleration is larger than an actual acceleration and a second state in which a target acceleration is smaller than an actual acceleration are discriminated from each other and the feedback compensation value of the second state is reduced in comparison with that of the first state. SOLUTION: A vibration compensation value and a speed compensation value are added by an adder 16 to a reference current value S4 given by a current waveform generator 15 and the result is converted into an analog voltage Vr2 which is applied to one of the input terminals of an analog comparator 7a. The voltage Vs6 of a signal S6 corresponding to the detection current of a current sensor 2 is applied to the other input terminal of the analog comparator 7a. The comparison result is outputted as a binary signal S71. If the input signal S71 shows Vs6>Vs2, the state is switched to the 'ON-impossible' state and, if Vs6<Vs2, the state is switched to the 'ON- possible' state and, by a timing controller 17c, an independent control system which performs acceleration feedback control is provided. As a result, the feedback compensation value of the second state can be reduced in comparison with that of the first state, so that the acceleration characteristics can be improved and, further, the vibration of the rotor is reduced and the noises can be suppressed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、電気モ−タの通電
制御に関し、特にスイッチドリラクタンスモ−タを駆動
する用途に適する通電制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power supply control for an electric motor, and more particularly to a power supply control device suitable for use in driving a switched reluctance motor.

【0002】[0002]

【従来の技術】スイッチドリラクタンスモ−タ(以下、
SRモ−タと言う)は、例えば図18に示すように、非
常に単純な構造になっている。SRモ−タの回転子R
は、単に鉄板を積層して構成した鉄心であり、その外周
面上には、その外周を囲む固定子Sに向かって突出する
ように形成された複数の歯(Ra,Rb,Rc,Rd)
を有している。また固定子は、鉄板を積層して構成した
環状鉄心の内周面に沿って形成された複数の歯(Sa,
Sb,Sc,・・・)に、それぞれ電気コイルを集中巻
して構成される。この種のSRモ−タにおいては、各電
気コイルの通電により、固定子の各歯の部分に電磁石が
形成され、回転子の各歯を固定子の磁力で吸引すること
によって回転子が回転する。従って、回転子の各歯の回
転位置に応じて、固定子の各歯に巻回されたコイルの通
電状態を順次に切換えることによって、回転子を希望す
る方向に回転させることができる。
2. Description of the Related Art Switched reluctance motors (hereinafter referred to as
The SR motor) has a very simple structure, for example, as shown in FIG. SR motor rotor R
Is an iron core formed by simply stacking iron plates, and a plurality of teeth (Ra, Rb, Rc, Rd) formed on the outer peripheral surface so as to project toward the stator S surrounding the outer periphery.
have. The stator has a plurality of teeth (Sa, Sa, formed on the inner peripheral surface of an annular core formed by stacking iron plates).
Sb, Sc, ...) Concentrated winding of electric coils. In this type of SR motor, by energizing each electric coil, an electromagnet is formed in each tooth portion of the stator, and the rotor is rotated by attracting each tooth of the rotor by the magnetic force of the stator. . Therefore, the rotor can be rotated in a desired direction by sequentially switching the energization state of the coil wound around each tooth of the stator according to the rotational position of each tooth of the rotor.

【0003】この種のSRモ−タに関する従来技術は、
例えば、特開平1−298940号公報に開示されてい
る。
The prior art relating to this type of SR motor is as follows.
For example, it is disclosed in Japanese Patent Laid-Open No. 1-298940.

【0004】[0004]

【発明が解決しようとする課題】SRモ−タは、構造が
簡単で、機械的に頑丈であり、高温下での動作も可能で
ある等々の長所を有しているが、ほとんど実用的に利用
されていないのが実情である。その原因の1つは、回転
時に発生する騒音が大きいことである。
The SR motor has the advantages that it has a simple structure, is mechanically tough, and can operate at high temperatures, but it is practically practical. The reality is that it is not used. One of the causes is that the noise generated during rotation is large.

【0005】SRモ−タにおいては、回転子の各極が特
定の回転位置にある時に、固定子各極に対する通電のオ
ン/オフを切換えるので、その切換時に、回転子に加わ
る磁気吸引力の大きさが急激に変化する。そのため、回
転子及び固定子には、比較的大きな機械振動が発生す
る。この振動によって騒音が生じる。
In the SR motor, when each pole of the rotor is at a specific rotation position, the energization of each pole of the stator is switched on / off. Therefore, at the time of switching, the magnetic attraction force applied to the rotor is changed. The size changes rapidly. Therefore, relatively large mechanical vibrations occur in the rotor and the stator. This vibration produces noise.

【0006】このような振動を抑制するためには、モ−
タの通電制御によって、できる限り滑らかにモ−タを駆
動する必要がある。一般的に用いられる単純なパルス状
の通電のオン/オフだけを実施する場合には、モ−タを
滑らかに駆動することは不可能である。従って、モ−タ
の回転角度毎に、微妙な電流値の調整を実施しなければ
ならない。
In order to suppress such vibrations, the motor
It is necessary to drive the motor as smoothly as possible by controlling the energization of the motor. It is impossible to drive the motor smoothly when only the simple pulsed energization that is generally used is turned on / off. Therefore, it is necessary to finely adjust the current value for each rotation angle of the motor.

【0007】SRモ−タの騒音は、回転子の回転方向の
実加速度の変動が主要因の1つである。そこで、回転子
の回転方向の実加速度を検出し、その変化を抑制するよ
うに、フィ−ドバック(負帰還)制御を実施して、付勢
量、即ちコイルに流れる電流を制御すれば、SRモ−タ
の騒音を低減することが可能である。ところが、このよ
うなフィ−ドバック制御を実施することは、回転子の加
速を抑制することを意味するので、フィ−ドバック制御
を実施すると、騒音とは別の不都合が生じる。例えば、
自動車の駆動源としてSRモ−タを利用する場合には、
SRモ−タの駆動速度を頻繁に変更する必要があり、し
かも加速をすばやく実施しなければならない。しかし、
騒音を抑制するためにフィ−ドバック制御を実施する
と、速度変化が抑制されるので、加速に対する制御系の
応答性が悪化し、自動車の加速特性の低下につながる。
One of the main causes of the noise of the SR motor is the fluctuation of the actual acceleration in the rotation direction of the rotor. Therefore, if the actual acceleration in the rotation direction of the rotor is detected and feedback control is performed so as to suppress the change, and the bias amount, that is, the current flowing in the coil is controlled, SR It is possible to reduce the noise of the motor. However, performing such feedback control means suppressing the acceleration of the rotor. Therefore, performing feedback control causes a disadvantage other than noise. For example,
When using an SR motor as a drive source for an automobile,
The drive speed of the SR motor needs to be changed frequently, and the acceleration must be performed quickly. But,
When feedback control is performed to suppress noise, speed change is suppressed, so the responsiveness of the control system to acceleration deteriorates, leading to deterioration in the acceleration characteristics of the vehicle.

【0008】前述のように、SRモ−タを滑らかに駆動
するためには、モ−タの回転角度毎に微妙な電流値の調
整を実施する必要がある。
As described above, in order to drive the SR motor smoothly, it is necessary to finely adjust the current value for each rotation angle of the motor.

【0009】例えば、次のような制御を実施すれば、モ
−タの回転角度に応じた電流値の微妙な調整を実施しう
る。即ち、回転角度にそれぞれ対応付けた多数の電流値
(電流波形)を予めメモリに保持しておき、モ−タが微
小回転する毎に、その時の角度に対応付けられた電流値
をメモリから読み出して、電流の制御目標値を逐次変更
する。しかしながら、この種の制御において、電流の目
標値は、モ−タの回転角度だけに依存するのではなく、
モ−タの回転速度や必要な駆動トルクに対応して変更す
る必要がある。そして、モ−タの多数の回転角度,多数
の回転速度,多数の駆動トルクの全ての変化に対応した
電流値を全てメモリに保持するには、膨大なメモリ容量
を必要とする。更に、時々刻々と変化するトルクの変動
や速度の変化に対応できる電流値をメモリに保持するの
は極めて困難である。
For example, if the following control is performed, the current value can be finely adjusted according to the rotation angle of the motor. That is, a large number of current values (current waveforms) associated with respective rotation angles are stored in a memory in advance, and each time the motor makes a minute rotation, the current value associated with the angle at that time is read from the memory. Then, the control target value of the current is sequentially changed. However, in this type of control, the target value of the current does not depend only on the rotation angle of the motor, but
It must be changed according to the rotation speed of the motor and the required drive torque. A huge memory capacity is required to hold all the current values corresponding to all the changes in many rotation angles, many rotation speeds, and many driving torques of the motor in the memory. Further, it is extremely difficult to store in the memory a current value that can cope with a momentary torque change and a speed change.

【0010】そこで、電流値を保持するのに必要なメモ
リの容量を低減するために、メモリに保持するデ−タ
を、1種類の回転速度、および1種類の駆動トルクに対
応する1組の各回転位置の電流値だけに限定し、モ−タ
の回転速度や駆動トルクが変化する度に、計算処理を実
施して、メモリの内容を書き換えるように制御すること
が考えられる。しかしながら、このような制御を実施す
る場合には、計算処理及びメモリの内容の更新に時間が
かかるため、制御系の応答が非常に遅くなる。例えば、
コイル1相の1波形あたり128ステップの角度に応じ
た電流値が必要な場合には、モ−タの回転速度や駆動ト
ルクが変化する度に、相数×128個のデ−タ全てにつ
いて、計算処理とメモリ内容の更新を実施する必要があ
るので、非常に時間がかかる。
Therefore, in order to reduce the capacity of the memory required to hold the current value, the data held in the memory is set to one set corresponding to one kind of rotation speed and one kind of driving torque. It is conceivable that the current value at each rotational position is limited and the calculation processing is performed every time the motor rotational speed or the driving torque changes to rewrite the contents of the memory. However, when such control is performed, it takes time to perform calculation processing and update the contents of the memory, so that the response of the control system becomes very slow. For example,
When a current value corresponding to an angle of 128 steps per waveform of one phase of the coil is required, every time the motor rotation speed or drive torque changes, the number of phases x 128 data is Since it is necessary to perform calculation processing and update of memory contents, it takes a very long time.

【0011】加速度の制御誤差を補償するようにフィ−
ドバック制御を実施する場合には、制御系に高い応答性
が要求される。しかし、フィ−ドバック制御によって生
成した補償量に基づいて、電流目標値、即ち多数のメモ
リの内容を更新しようとすると、メモリの更新に長い時
間を要するため、高い応答性が期待できない。
It is necessary to compensate for the acceleration control error.
When performing the feedback control, the control system is required to have high responsiveness. However, if it is attempted to update the current target value, that is, the contents of a large number of memories based on the compensation amount generated by the feedback control, it takes a long time to update the memories, so that high responsiveness cannot be expected.

【0012】本発明は、SRモ−タのような電気モ−タ
が発生する騒音を低減するとともに、加速特性を改善す
ることを課題とする。
An object of the present invention is to reduce noise generated by an electric motor such as an SR motor and improve acceleration characteristics.

【0013】[0013]

【課題を解決するための手段】上記課題を解決するため
に、請求項1の電気モ−タの通電制御装置は、電気モ−
タ(1);前記電気モ−タの通電を制御するモ−タ付勢
手段(6,7,17,18,19,1A);前記電気モ
−タの目標加速度を決定する加速度決定手段(64);
前記電気モ−タの実加速度を検出する加速度検出手段
(1d,7E,7F);前記加速度決定手段が決定した
目標加速度と、前記加速度検出手段が検出した実加速度
と、フィ−ドバックル−プゲインを決定するパラメ−タ
とに応じたフィ−ドバック補償量を生成して、前記電気
モ−タの付勢量を抑制するように前記フィ−ドバック補
償量を前記モ−タ付勢手段に入力する負帰還制御手段
(88,89,8A);および前記目標加速度と前記実
加速度との大小関係を調べて、目標加速度が実加速度よ
りも大きい第1の状態と、目標加速度が実加速度よりも
小さい第2の状態とを識別し、第1の状態と第2の状態
とで、前記パラメ−タを切換え、第1の状態におけるフ
ィ−ドバック補償量に比べて、第2の状態におけるフィ
−ドバック補償量を減らすフィ−ドバックゲイン切換手
段(87);を備える。
In order to solve the above-mentioned problems, the energization control device for an electric motor according to claim 1 is an electric motor.
A motor (1); a motor energizing means (6, 7, 17, 18, 19, 1A) for controlling the energization of the electric motor; an acceleration deciding means for deciding a target acceleration of the electric motor ( 64);
Acceleration detecting means (1d, 7E, 7F) for detecting the actual acceleration of the electric motor; the target acceleration determined by the acceleration determining means, the actual acceleration detected by the acceleration detecting means, and the feedback buck gain. A feedback compensation amount corresponding to the parameter to be determined is generated, and the feedback compensation amount is input to the motor urging means so as to suppress the urging amount of the electric motor. Negative feedback control means (88, 89, 8A); and the magnitude relationship between the target acceleration and the actual acceleration are checked to find a first state in which the target acceleration is greater than the actual acceleration and the target acceleration is less than the actual acceleration. The second state is identified, the parameters are switched between the first state and the second state, and the feedback in the second state is compared with the feedback compensation amount in the first state. Reduce compensation amount To Fi --back gain switching means (87); comprises.

【0014】また、請求項2では、前記加速度検出手段
は、前記電気モ−タの回転速度を検出する速度検出手段
(1d,7E)と、該手段によって検出された速度の単
位時間あたりの変化量を検出する速度差分検出手段(7
F)を含む。
According to a second aspect of the present invention, the acceleration detecting means is a speed detecting means (1d, 7E) for detecting the rotational speed of the electric motor, and a change in the speed detected by the means per unit time. Speed difference detecting means (7) for detecting the amount
F).

【0015】また、請求項3の電気モ−タの通電制御装
置は、電気モ−タ(1);前記電気モ−タの回転子の回
転位置毎の付勢量目標値を保持する通電マップ手段(4
9);前記電気モ−タの回転子の回転位置を検出する回
転位置検出手段(1d);前記電気モ−タの実際の付勢
量を検出する付勢量検出手段(2,3,4);前記回転
位置検出手段が検出した回転位置に基づいて、前記通電
マップ手段に保持された付勢量目標値を入力し、該付勢
量目標値と前記付勢量検出手段が検出した付勢量とに応
じて前記電気モ−タの通電を制御するモ−タ付勢手段
(6,7,17,18,19,1A);前記電気モ−タ
の目標加速度を決定する加速度決定手段(64);前記
電気モ−タの回転速度の変化および目標加速度の変化に
対応して、前記通電マップ手段が保持する付勢量目標値
を更新する、マップ制御手段(68,69,6A);前
記電気モ−タの実加速度を検出する加速度検出手段(1
d,7E,7F);前記加速度決定手段が決定した目標
加速度と、前記加速度検出手段が検出した実加速度と、
フィ−ドバックル−プゲインを決定するパラメ−タとに
応じたフィ−ドバック補償量を生成する負帰還制御手段
(88,89,8A);該負帰還制御手段が生成したフ
ィ−ドバック補償量を、前記マップ制御手段から独立し
た経路で前記モ−タ付勢手段の入力に加算する、補償量
加算手段(16);および前記目標加速度と前記実加速
度との大小関係を調べて、目標加速度が実加速度よりも
大きい第1の状態と、目標加速度が実加速度よりも小さ
い第2の状態とを識別し、第1の状態と第2の状態と
で、前記パラメ−タを切換え、第1の状態におけるフィ
−ドバック補償量に比べて、第2の状態におけるフィ−
ドバック補償量を減らすフィ−ドバックゲイン切換手段
(87);を備える。
An electric motor energization control device according to a third aspect of the present invention is an electric motor (1); an energization map for holding an urging amount target value for each rotational position of a rotor of the electric motor. Means (4
9); Rotational position detecting means (1d) for detecting the rotational position of the rotor of the electric motor; Energizing amount detecting means (2, 3, 4) for detecting the actual energizing amount of the electric motor. ); Based on the rotational position detected by the rotational position detecting means, the energizing amount target value held in the energization map means is input, and the energizing amount target value and the energizing amount detecting means detect the energizing amount target value. Motor energizing means (6, 7, 17, 18, 19, 1A) for controlling energization of the electric motor according to the amount of energy; acceleration determining means for deciding a target acceleration of the electric motor. (64); Map control means (68, 69, 6A) for updating the energizing amount target value held by the energization map means in response to a change in the rotation speed of the electric motor and a change in the target acceleration. Acceleration detecting means (1 for detecting the actual acceleration of the electric motor)
d, 7E, 7F); the target acceleration determined by the acceleration determining means, and the actual acceleration detected by the acceleration detecting means,
Negative feedback control means (88, 89, 8A) for generating a feedback compensation amount according to the parameter for determining the feedback loop gain; and the feedback compensation amount generated by the negative feedback control means, Compensation amount adding means (16) for adding to the input of the motor urging means through a path independent of the map control means; and the magnitude relationship between the target acceleration and the actual acceleration is checked to find out the actual target acceleration. A first state in which the target acceleration is larger than the acceleration and a second state in which the target acceleration is smaller than the actual acceleration are discriminated, and the parameters are switched between the first state and the second state to change the first state. Compared to the amount of feedback compensation in the second state
A feedback gain switching means (87) for reducing the feedback compensation amount is provided.

【0016】また、請求項4では、前記加速度検出手段
は、前記電気モ−タの回転速度を検出する速度検出手段
(1d,7E)と、該手段によって検出された速度の単
位時間あたりの変化量を検出する速度差分検出手段(7
F)を含む。
Further, in claim 4, the acceleration detecting means is speed detecting means (1d, 7E) for detecting the rotation speed of the electric motor, and a change in the speed detected by the means per unit time. Speed difference detecting means (7) for detecting the amount
F).

【0017】なお上記括弧内に示した記号は、後述する
実施例中の対応する要素の符号を参考までに示したもの
であるが、本発明の各構成要素は実施例中の具体的な要
素のみに限定されるものではない。
The symbols shown in the parentheses are reference numerals of corresponding elements in the embodiments described later, but each constituent element of the present invention is a specific element in the embodiments. It is not limited to only.

【0018】前記請求項1の構成においては、負帰還制
御手段(88,89,8A)は、加速度決定手段が決定
した目標加速度と、加速度検出手段が検出した実加速度
と、フィ−ドバックル−プゲインを決定するパラメ−タ
とに応じたフィ−ドバック補償量を生成して、電気モ−
タの付勢量を抑制するように、前記フィ−ドバック補償
量をモ−タ付勢手段に入力する。このフィ−ドバック制
御によって、目標加速度と実加速度との偏差が抑制され
るように電気モ−タの付勢量が制御される。即ち、目標
加速度が一定の場合を想定すれば、実加速度の変動が抑
制されるので、回転子の機械振動、即ち騒音が低減され
る。
In the structure of claim 1, the negative feedback control means (88, 89, 8A) includes the target acceleration determined by the acceleration determining means, the actual acceleration detected by the acceleration detecting means, and the feedback loop gain. The feedback compensation amount is generated according to the parameter that determines the
The feedback compensation amount is input to the motor biasing means so as to suppress the biasing amount of the motor. By this feedback control, the biasing amount of the electric motor is controlled so that the deviation between the target acceleration and the actual acceleration is suppressed. That is, assuming a case where the target acceleration is constant, fluctuations in the actual acceleration are suppressed, so that mechanical vibration of the rotor, that is, noise is reduced.

【0019】フィ−ドバック補償量(負帰還量)を大き
くすると、騒音の低減効果はより改善されるが、制御系
の応答特性、即ちモ−タの加速性能は逆に低下する。加
速性能を低下させることなく騒音を低減するために、フ
ィ−ドバックゲイン切換手段(87)が備わっている。
When the feedback compensation amount (negative feedback amount) is increased, the noise reduction effect is further improved, but the response characteristic of the control system, that is, the acceleration performance of the motor is deteriorated. A feedback gain switching means (87) is provided to reduce noise without degrading acceleration performance.

【0020】フィ−ドバックゲイン切換手段(87)
は、目標加速度と実加速度との大小関係を調べて、目標
加速度が実加速度よりも大きい第1の状態と、目標加速
度が実加速度よりも小さい第2の状態とを識別し、第1
の状態と第2の状態とで、前記パラメ−タを切換え、第
1の状態におけるフィ−ドバック補償量に比べて、第2
の状態におけるフィ−ドバック補償量を減らすように制
御する。
Feedback gain switching means (87)
Examines the magnitude relationship between the target acceleration and the actual acceleration to identify a first state where the target acceleration is larger than the actual acceleration and a second state where the target acceleration is smaller than the actual acceleration.
The parameter is switched between the second state and the second state and compared with the feedback compensation amount in the first state.
In this state, the feedback compensation amount is controlled to be reduced.

【0021】例えば、目標加速度を一定にしてモ−タの
駆動速度を上げる(加速する)場合には、図17に示す
ように、実際の加速度が短い周期で変動し、「目標加速
度>実加速度」の状態と「目標加速度<実加速度」の状
態とが交互に現われる。前者の場合には、実加速度が増
大するように、電気モ−タの付勢量(即ち電流値)がフ
ィ−ドバック補償量に応じて増大し、後者の場合には、
実加速度が減小するように、電気モ−タの付勢量がフィ
−ドバック補償量に応じて低減される。
For example, in the case of increasing (accelerating) the motor drive speed while keeping the target acceleration constant, the actual acceleration fluctuates in a short cycle as shown in FIG. The state of "" and the state of "target acceleration <actual acceleration" appear alternately. In the former case, the biasing amount (that is, current value) of the electric motor increases in accordance with the feedback compensation amount so that the actual acceleration increases, and in the latter case,
The urging amount of the electric motor is reduced according to the feedback compensation amount so that the actual acceleration is reduced.

【0022】フィ−ドバック補償量が大きいと、加減速
を抑制する効果が増大し、モ−タの回転方向の振動がよ
り抑制されるので、騒音が小さくなる。しかしその場合
には、加減速の抑制により、速度変更の所要時間が長く
なる。即ち、加減速の目標値の変更に対して応答性が悪
化する。従って、例えばドライバの意志に応じて、頻繁
に走行速度の変更を必要とする電気自動車に用いる駆動
系としては具合が悪い。逆に、フィ−ドバック補償量を
小さくすると、加減速を抑制する効果が減小し、加減速
の目標値の変更に対して応答性が改善される代わりに、
騒音が増大する。
When the feedback compensation amount is large, the effect of suppressing the acceleration / deceleration is increased, and the vibration in the rotational direction of the motor is further suppressed, so that the noise is reduced. However, in that case, the time required for speed change is lengthened due to the suppression of acceleration / deceleration. That is, the responsiveness is deteriorated with respect to the change of the acceleration / deceleration target value. Therefore, for example, it is unsatisfactory as a drive system used in an electric vehicle that requires frequent changes in traveling speed according to the driver's will. On the contrary, if the feedback compensation amount is reduced, the effect of suppressing the acceleration / deceleration is reduced, and the responsiveness to the change of the target value of the acceleration / deceleration is improved.
Noise increases.

【0023】フィ−ドバック補償量は、目標加速度,検
出された実加速度,及びフィ−ドバック制御系のル−プ
ゲインによって決定される。一般的には、ル−プゲイン
は一定であり、目標加速度と検出された実加速度との偏
差に応じてフィ−ドバック補償量が決定される。しか
し、本発明のフィ−ドバックゲイン切換手段(87)
は、前記目標加速度と前記実加速度との大小関係を調べ
て、目標加速度が実加速度よりも大きい第1の状態と、
目標加速度が実加速度よりも小さい第2の状態とを識別
し、第1の状態と第2の状態とで、前記パラメ−タを切
換え、第1の状態におけるフィ−ドバック補償量に比べ
て、第2の状態におけるフィ−ドバック補償量を減ら
す、ように制御する。即ち本発明においては、第1の状
態と第2の状態とで、フィ−ドバック制御系のル−プゲ
インが自動的に変更される。しかも、フィ−ドバック補
償量の大きさは、第1の状態では比較的大きく、第2の
状態では比較的小さくなる。
The feedback compensation amount is determined by the target acceleration, the detected actual acceleration, and the loop gain of the feedback control system. In general, the loop gain is constant, and the feedback compensation amount is determined according to the deviation between the target acceleration and the detected actual acceleration. However, the feedback gain switching means (87) of the present invention.
Is a first state in which the target acceleration is larger than the actual acceleration by examining the magnitude relationship between the target acceleration and the actual acceleration,
A second state in which the target acceleration is smaller than the actual acceleration is discriminated, and the parameters are switched between the first state and the second state to compare the feedback compensation amount in the first state with the feedback compensation amount. The control is performed so as to reduce the feedback compensation amount in the second state. That is, in the present invention, the loop gain of the feedback control system is automatically changed between the first state and the second state. Moreover, the amount of feedback compensation is relatively large in the first state and relatively small in the second state.

【0024】本発明の負帰還制御においては、図22に
示すように、第1の状態では、フィ−ドバック補償量
(帰還量)が大きいので、それに応じて電気モ−タの付
勢量(即ち電流値)が増大し、実加速度の目標値との偏
差が低減される。また、第2の状態では、フィ−ドバッ
ク補償量が小さくなるので、電気モ−タの付勢量(即ち
電流値)の抑制量が小さくなり、加速特性の改善にな
る。しかも、第1の状態でフィ−ドバック補償量を大き
くすることができるので、充分な負帰還制御の効果が得
られ、回転子の振動、即ち騒音の発生を抑制することが
できる。これらの効果は、本発明者の実験により確認さ
れている。
In the negative feedback control of the present invention, as shown in FIG. 22, the feedback compensation amount (feedback amount) is large in the first state, and accordingly, the biasing amount of the electric motor ( That is, the current value) increases and the deviation of the actual acceleration from the target value is reduced. Further, in the second state, the feedback compensation amount becomes small, so that the suppression amount of the biasing amount (that is, the current value) of the electric motor becomes small and the acceleration characteristic is improved. Moreover, since the feedback compensation amount can be increased in the first state, a sufficient effect of negative feedback control can be obtained, and vibration of the rotor, that is, noise can be suppressed. These effects have been confirmed by experiments by the present inventor.

【0025】また、請求項3においては、通電マップ手
段(49)が前記電気モ−タの回転子の回転位置毎の付
勢量目標値を保持する。更に、モ−タ付勢手段(6,
7,17,18,19,1A)は、回転位置検出手段が
検出した前記電気モ−タの回転子の回転位置に基づい
て、前記通電マップ手段に保持された付勢量目標値を入
力し、該付勢量目標値と付勢量検出手段が検出した実際
の付勢量とに応じて前記電気モ−タの通電を制御する。
従って、電気モ−タの回転位置毎に、所望の大きさの電
流を該電気モ−タの電気コイルに流すことができる。ま
た、マップ制御手段(68,69,6A)は、前記電気
モ−タの回転速度の変化および目標加速度の変化に対応
して、前記通電マップ手段が保持する付勢量目標値を更
新する。これにより、その時の駆動条件に応じて、電気
モ−タの通電波形を微妙に調整することができるので、
効率の良いモ−タ駆動が可能になり、モ−タ駆動時に生
じる騒音の低減も実現可能になる。しかも、通電マップ
手段が保持する付勢量目標値は駆動条件に応じて逐次更
新されるので、様々な条件における付勢量目標値を全て
通電マップ手段に保持する必要がなく、通電マップ手段
のメモリ容量を低減しうる。
In the third aspect, the energization map means (49) holds the urging amount target value for each rotational position of the rotor of the electric motor. Furthermore, the motor urging means (6,
7, 17, 18, 19, 1A) inputs the urging amount target value held in the energization map means based on the rotational position of the rotor of the electric motor detected by the rotational position detecting means. The energization of the electric motor is controlled according to the target value of the bias amount and the actual bias amount detected by the bias amount detecting means.
Therefore, a desired amount of current can be passed through the electric coil of the electric motor for each rotational position of the electric motor. Further, the map control means (68, 69, 6A) updates the urging amount target value held by the energization map means in response to the change in the rotation speed of the electric motor and the change in the target acceleration. As a result, the energization waveform of the electric motor can be finely adjusted according to the driving conditions at that time.
It is possible to drive the motor efficiently, and it is possible to reduce the noise generated when the motor is driven. Moreover, since the energization amount target value held by the energization map means is sequentially updated according to the drive condition, it is not necessary to hold all the energization amount target values under various conditions in the energization map means, The memory capacity can be reduced.

【0026】勿論、通電マップ手段が保持する付勢量目
標値の更新にはある程度の時間を要するため、それによ
る制御だけでは、駆動条件の変化に対してモ−タの応答
が遅れるのは避けられない。しかし、負帰還制御手段が
生成したフィ−ドバック補償量は、補償量加算手段(1
6)によって、前記マップ制御手段から独立した経路で
前記モ−タ付勢手段の入力に加算されるので、通電マッ
プ手段が保持する付勢量目標値の更新とは無関係に、負
帰還制御を実施することができ、応答性の良好な制御が
実現する。
Of course, it takes some time to update the energizing amount target value held by the energization map means, and therefore the control of the energizing amount does not delay the response of the motor to changes in the driving conditions. I can't. However, the feedback compensation amount generated by the negative feedback control means is equal to the compensation amount adding means (1
According to 6), since it is added to the input of the motor energizing means through a path independent of the map controlling means, the negative feedback control is performed regardless of the updating of the energizing amount target value held by the energization map means. It can be carried out, and control with good responsiveness is realized.

【0027】請求項2及び請求項4においては、速度検
出手段(1d,7E)が前記電気モ−タの回転速度を検
出し、速度差分検出手段(7F)が、検出された回転速
度の単位時間あたりの変化量に基づいて実加速度を検出
する。
In the second and fourth aspects, the speed detecting means (1d, 7E) detects the rotation speed of the electric motor, and the speed difference detecting means (7F) is a unit of the detected rotation speed. The actual acceleration is detected based on the amount of change per unit time.

【0028】[0028]

【発明の実施の形態】実施例の装置の構成を図1に示
す。図1に示す装置は、電気自動車の駆動ユニットの主
要部分を構成している。この例では、駆動源として1個
のSRモ−タ1が備わっており、このSRモ−タ1はコ
ントロ−ラECUによって制御される。コントロ−ラE
CUは、シフトレバ−,ブレ−キスイッチ,アクセルス
イッチ,及びアクセル開度センサから入力される情報に
基づいて、SRモ−タ1の駆動を制御する。電源はバッ
テリ−から供給される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT FIG. 1 shows the configuration of an apparatus according to an embodiment. The device shown in FIG. 1 constitutes a main part of a drive unit of an electric vehicle. In this example, one SR motor 1 is provided as a drive source, and this SR motor 1 is controlled by the controller ECU. Controller E
The CU controls the drive of the SR motor 1 based on the information input from the shift lever, the brake switch, the accelerator switch, and the accelerator opening sensor. Power is supplied from the battery.

【0029】SRモ−タ1の基本的な構成とその駆動原
理を図18に示す。図18に示すSRモ−タ1は、固定
子Sとその内空間に回動自在に支持された回転子Rとで
構成されている。回転子Rは、多数枚の薄い鉄板を積層
して構成してあり、外周の互いに90度ずつずれた位置
に、外側に向かって突出した4つの極部Ra,Rb,R
c及びRdが形成されている。固定子Sも多数枚の薄い
鉄板を積層して構成してあり、内周の互いに60度ずつ
ずれた位置に、内側に向かって突出した6つの極部S
a,Sb,Sc,Sd,Se及びSfが形成されてい
る。図18では一部分だけが示されているが、固定子S
の極部Sa,Sb,Sc,Sd,Se及びSfには、電
気コイルCLがそれぞれ巻回されている。
The basic structure of the SR motor 1 and its driving principle are shown in FIG. The SR motor 1 shown in FIG. 18 is composed of a stator S and a rotor R rotatably supported in its inner space. The rotor R is formed by laminating a large number of thin iron plates, and has four pole portions Ra, Rb, R projecting outward at positions offset by 90 degrees from each other on the outer circumference.
c and Rd are formed. The stator S is also formed by laminating a large number of thin iron plates, and has six pole portions S protruding inward at positions on the inner circumference that are offset by 60 degrees from each other.
a, Sb, Sc, Sd, Se and Sf are formed. Although only a part is shown in FIG. 18, the stator S
The electric coils CL are wound around the pole portions Sa, Sb, Sc, Sd, Se and Sf, respectively.

【0030】ここで、固定子Sの極部Sa,Sdに巻回
したコイルCLを第1相、固定子Sの極部Sb,Seに
巻回したコイルCLを第2相、固定子Sの極部Sc,S
fに巻回したコイルを第3相と定義すると、回転子Rの
極の位置に応じて、図18に示すように、第1相−第2
相−第3相のコイルCLに順次に通電することにより、
時計回りに連続的に回転子Rを回転駆動することができ
る。即ち、固定子Sの通電した極部が電磁石を構成する
ので、その電磁石に近い位置にある回転子Rの極部が電
磁石に吸引されて回転移動する。回転を継続するために
は、回転子Rの回転移動に伴なってコイルの通電を切換
える必要がある。実際には、このSRモ−タ1の場合、
回転子Rが30度回転する毎に、通電するコイルを第1
相−第2相−第3相と切換えればよい。
Here, the coil CL wound around the pole portions Sa and Sd of the stator S is the first phase, and the coil CL wound around the pole portions Sb and Se of the stator S is the second phase, Poles Sc, S
When the coil wound around f is defined as the third phase, depending on the position of the pole of the rotor R, as shown in FIG.
By sequentially energizing the phase-third phase coil CL,
The rotor R can be continuously driven to rotate clockwise. That is, since the energized pole portion of the stator S constitutes an electromagnet, the pole portion of the rotor R located near the electromagnet is attracted by the electromagnet and rotationally moves. In order to continue the rotation, it is necessary to switch the energization of the coil with the rotational movement of the rotor R. Actually, in the case of this SR motor 1,
Whenever the rotor R rotates 30 degrees, the first coil is energized.
The phase-second phase-third phase may be switched.

【0031】再び図1を参照して説明を続ける。SRモ
−タ1には、それを駆動するための3相のコイル1a,
1b,1cと、回転子Rの回転位置(角度)を検出する
角度センサ1dが備わっている。3相のコイル1a,1
b及び1cは、それぞれ、コントロ−ラECU内部のド
ライバ18,19及び1Aと接続されており、コイル1
aとドライバ18とを接続する信号線,コイル1bとド
ライバ19とを接続する信号線,及びコイル1cとドラ
イバ1Aとを接続する信号線には、それぞれ、電流セン
サ2,3及び4が設置されている。これらの電流センサ
2,3及び4は、それぞれ、コイル1a,1b及び1c
に実際に流れる電流に比例する電圧を電流信号S6とし
て出力する。この実施例においては、角度センサ1dと
して、多摩川精機製のTS2028N94E21を使用
している。この角度センサ1dは、図7に示すように、
0〜360度の角度の絶対値を示す10ビットの2値信
号を出力する。検出角度の最小分解能は0.35度であ
る。
The description will be continued with reference to FIG. 1 again. The SR motor 1 has a three-phase coil 1a for driving it,
1b and 1c, and an angle sensor 1d for detecting the rotational position (angle) of the rotor R are provided. Three-phase coils 1a, 1
b and 1c are connected to the drivers 18, 19 and 1A inside the controller ECU, respectively, and are connected to the coil 1
Current sensors 2, 3 and 4 are installed on the signal line connecting a and the driver 18, the signal line connecting the coil 1b and the driver 19, and the signal line connecting the coil 1c and the driver 1A, respectively. ing. These current sensors 2, 3 and 4 are coils 1a, 1b and 1c, respectively.
A voltage proportional to the current actually flowing is output as a current signal S6. In this embodiment, TS2028N94E21 manufactured by Tamagawa Seiki is used as the angle sensor 1d. This angle sensor 1d, as shown in FIG.
It outputs a 10-bit binary signal indicating the absolute value of the angle of 0 to 360 degrees. The minimum resolution of the detection angle is 0.35 degrees.

【0032】コントロ−ラECUの内部には、CPU
(マイクロコンピュ−タ)11,入力インタ−フェ−ス
12,電流マップメモリ13a,PWMマップメモリ1
3b,波形マップメモリ13c,電源回路14,電流波
形生成回路15,加算回路16,方向検出回路5,D/
A変換器6,比較回路7,出力判定回路17,ドライバ
18,19及び1Aが備わっている。このコントロ−ラ
ECUは、シフトレバ−,ブレ−キスイッチ,アクセル
スイッチ,及びアクセル開度センサから入力される情報
に基づいて、SRモ−タ1の駆動速度及び駆動トルクを
逐次計算し、その計算の結果に基づいて、SRモ−タ1
のコイル1a,1b及び1cの各々に流す電流を制御す
る。
A CPU is installed inside the controller ECU.
(Microcomputer) 11, input interface 12, current map memory 13a, PWM map memory 1
3b, waveform map memory 13c, power supply circuit 14, current waveform generation circuit 15, addition circuit 16, direction detection circuit 5, D /
An A converter 6, a comparison circuit 7, an output determination circuit 17, drivers 18, 19 and 1A are provided. This controller ECU sequentially calculates the drive speed and drive torque of the SR motor 1 based on the information input from the shift lever, the brake switch, the accelerator switch, and the accelerator opening sensor, and the calculated values are calculated. Based on the results, SR motor 1
The current flowing through each of the coils 1a, 1b and 1c is controlled.

【0033】図1の回路の一部分の具体的な構成を図2
に示す。図2は、SRモ−タ1のコイル1aの通電を制
御する回路のみを示しており、実際には他のコイル1b
及び1cの通電を制御する同様の回路がそれぞれ含まれ
ている。
A specific configuration of a part of the circuit shown in FIG. 1 is shown in FIG.
Shown in FIG. 2 shows only a circuit for controlling the energization of the coil 1a of the SR motor 1, but actually the other coil 1b is used.
And a similar circuit for controlling energization of 1c, respectively.

【0034】図2を参照すると、コイル1aの一端は、
スイッチングトランジスタ(IGBT)18aを介して
電源の高電位ライン18eと接続され、コイル1aの他
端は、スイッチングトランジスタ(IGBT)18bを
介して電源の低電位ライン18fと接続されている。ま
た、トランジスタ18aのエミッタと低電位ライン18
fとの間にはダイオ−ド18cが接続され、トランジス
タ18dのエミッタと高電位ライン18eとの間にはダ
イオ−ド18dが接続されている。従って、トランジス
タ18a及び18bの両方をオン(導通状態)にすれ
ば、電源ライン18e,18fとコイル1aとの間に電
流が流れ、いずれか一方、又は両方をオフ(非導通状
態)にすれば、コイル1aの通電を停止することができ
る。
Referring to FIG. 2, one end of the coil 1a is
The other end of the coil 1a is connected via a switching transistor (IGBT) 18b to a low potential line 18f of the power supply via a switching transistor (IGBT) 18a. Further, the emitter of the transistor 18a and the low potential line 18
The diode 18c is connected between the transistor 18f and the transistor 18d, and the diode 18d is connected between the emitter of the transistor 18d and the high potential line 18e. Therefore, if both the transistors 18a and 18b are turned on (conduction state), a current flows between the power supply lines 18e and 18f and the coil 1a, and either one or both are turned off (non-conduction state). The energization of the coil 1a can be stopped.

【0035】出力判定回路17には、2つのアンドゲ−
ト17a,17bとタイミング制御回路17cが備わっ
ている。アンドゲ−ト17aの出力端子はトランジスタ
18bのゲ−ト端子と接続されており、アンドゲ−ト1
7bの出力端子は、タイミング制御回路17cの入力に
接続されている。タイミング制御回路17cの出力が、
トランジスタ18aのゲ−ト端子と接続されている。ア
ンドゲ−ト17aの入力端子には信号S10とS5が入
力され、アンドゲ−ト17bの入力端子には、信号S7
1及びS5が入力される。信号S71は、比較回路7の
アナログ比較器7aが出力する2値信号である。また信
号S5は、電流波形生成回路15が出力する2値信号
(オン/オフ信号)である。
The output judgment circuit 17 has two AND gates.
17a and 17b and a timing control circuit 17c. The output terminal of the AND gate 17a is connected to the gate terminal of the transistor 18b.
The output terminal of 7b is connected to the input of the timing control circuit 17c. The output of the timing control circuit 17c is
It is connected to the gate terminal of the transistor 18a. The signals S10 and S5 are input to the input terminal of the AND gate 17a, and the signal S7 is input to the input terminal of the AND gate 17b.
1 and S5 are input. The signal S71 is a binary signal output from the analog comparator 7a of the comparison circuit 7. The signal S5 is a binary signal (on / off signal) output from the current waveform generation circuit 15.

【0036】アナログ比較器7aの一方の入力端子に
は、電流波形生成回路15が出力する基準電流値S4に
振動補償値及び速度補償値を加算回路16で加算した結
果を、D/A変換器6で変換したアナログ電圧Vr2が
印加され、他方の入力端子には、電流センサ2が検出し
た電流に対応する信号S6の電圧(Vs6)が印加され
る。アナログ比較器7aは、電圧Vr2とVs6とを比
較した結果を2値信号S71として出力する。
At one input terminal of the analog comparator 7a, the result obtained by adding the vibration compensation value and the speed compensation value to the reference current value S4 output from the current waveform generating circuit 15 by the adding circuit 16 is used as a D / A converter. The analog voltage Vr2 converted in 6 is applied, and the voltage (Vs6) of the signal S6 corresponding to the current detected by the current sensor 2 is applied to the other input terminal. The analog comparator 7a outputs the result of comparing the voltages Vr2 and Vs6 as a binary signal S71.

【0037】信号S5が高レベルH(通電オン)の時に
は、アナログ比較器7aが出力する2値信号S71に基
づいて、トランジスタ18aのオン/オフが制御され
る。但し、2値信号S71のオン/オフとトランジスタ
18aのオン/オフとの関係は1対1ではなく、タイミ
ング制御回路17cによってタイミングが調整される。
これについては後で詳細に説明する。また信号S5が高
レベルH(通電オン)の時には、ドライバ18のトラン
ジスタ18bは、アンドゲ−ト17aに入力される2値
信号S10に応じてオン/オフする。この2値信号S1
0は、CPU11の内部で生成される信号であり、信号
の周期は一定(15KHz)、デュ−ティは可変になっ
ている。また、信号S10のデュ−ティは、CPU11
の処理によって必要に応じて変更される。実際には、C
PU11は、その時のモ−タの回転数(rpm)と必要
な駆動トルクに基づいて、オンデュ−ティ値をそれに接
続されたPWMマップメモリ13bに保持されたテ−ブ
ル(図13参照)の参照により得て、この値のデュ−テ
ィを有する信号S10を出力する。
When the signal S5 is at a high level H (energization ON), the ON / OFF of the transistor 18a is controlled based on the binary signal S71 output from the analog comparator 7a. However, the relationship between ON / OFF of the binary signal S71 and ON / OFF of the transistor 18a is not one-to-one, but the timing is adjusted by the timing control circuit 17c.
This will be described in detail later. When the signal S5 is at the high level H (energization ON), the transistor 18b of the driver 18 is turned on / off according to the binary signal S10 input to the AND gate 17a. This binary signal S1
Reference numeral 0 is a signal generated inside the CPU 11, the period of the signal is constant (15 KHz), and the duty is variable. The duty of the signal S10 is the CPU 11
It is changed as necessary by the processing of. In fact, C
The PU 11 refers to the table (see FIG. 13) stored in the PWM map memory 13b connected to the on-duty value based on the rotation speed (rpm) of the motor at that time and the required driving torque. Then, the signal S10 having the duty of this value is output.

【0038】つまりこの実施例では、トランジスタ18
a及び18bが、それぞれ互いに独立した制御信号S8
1及びS82によって、独立にオン/オフ制御されるの
で、ドライバ18の通電制御状態としては、トランジス
タ18a,18bが共にオンする状態と、共にオフする
状態と、一方がオンして他方がオフする状態との3状態
が存在する。
That is, in this embodiment, the transistor 18
a and 18b are independent control signals S8
Since the on / off control is independently performed by 1 and S82, the energization control state of the driver 18 includes a state in which the transistors 18a and 18b are both turned on, a state in which both the transistors 18a and 18b are both turned on, and one is turned on and the other is turned off. There are three states, the state and the state.

【0039】例えば通電を開始する時に、トランジスタ
18bがオンであると仮定すると、電流の基準レベルV
r2を0からIrefに切換えると、Vr2>Vs6に
なるため、まずトランジスタ18aがオン状態になり、
負荷に流れる電流は、0から駆動回路及び負荷の特性
(時定数)によって定まる傾きで徐々に上昇する。そし
て、負荷に流れる電流がIrefに達した後、トランジ
スタ18aがオフ→オン→オフ→オン→・・・を繰り返
し、電流の最大値がIrefとほぼ等しくなるように制
御される。また、通電を終了する時に、基準電流値をI
refから0に切換えると、Vr2<Vs6になるた
め、トランジスタ18aがオフ状態になり、負荷に流れ
る電流は、駆動回路及び負荷の特性(時定数)によって
定まる傾きで徐々に下降して0になる。
For example, assuming that the transistor 18b is on at the time of starting energization, the reference level V of the current is
When r2 is switched from 0 to Iref, Vr2> Vs6, so that the transistor 18a is turned on first,
The current flowing through the load gradually increases from 0 with a slope determined by the characteristics (time constant) of the drive circuit and the load. Then, after the current flowing through the load reaches Iref, the transistor 18a repeats OFF → ON → OFF → ON → ... And is controlled so that the maximum value of the current becomes substantially equal to Iref. When the energization is finished, the reference current value is set to I
When switching from ref to 0, Vr2 <Vs6, so the transistor 18a is turned off, and the current flowing through the load gradually decreases to 0 with a slope determined by the characteristics (time constant) of the drive circuit and the load. .

【0040】しかし実際には、トランジスタ18bに印
加される制御信号S82はパルス信号であるため、通電
開始時の立上り期間中でも、トランジスタ18bがオフ
状態の期間が存在し、これの影響を受けて、負荷電流の
立上りカ−ブは変化する。即ち、トランジスタ18bに
印加される制御信号S82のデュ−ティに応じて、図1
2に示すように、負荷電流の立上りカ−ブが変化する。
また、通電終了時の立下り期間中でも、トランジスタ1
8bがオフ状態の期間とトランジスタ18bがオン状態
の期間とが存在し、それらの比率に応じて、負荷電流の
立下りカ−ブが変化する。
However, in reality, since the control signal S82 applied to the transistor 18b is a pulse signal, there is a period in which the transistor 18b is in the off state even during the rising period at the start of energization. The rising curve of the load current changes. That is, according to the duty of the control signal S82 applied to the transistor 18b, as shown in FIG.
As shown in 2, the rising curve of the load current changes.
Also, even during the falling period at the end of energization, the transistor 1
There is a period in which 8b is in the off state and a period in which the transistor 18b is in the on state, and the falling curve of the load current changes in accordance with the ratio thereof.

【0041】図23及び図24を参照して説明する。図
23に示すように、スイッチング手段18a,18bを
共にオンして負荷1aに電流が流れている状態から、両
方のスイッチング手段18a,18bをオフに切換える
と、負荷1aに蓄えられたエネルギ−によって流れる電
流は、ダイオ−ドD1,D2を通って、電源の低電位ラ
インから高電位ラインに向かって流れる。この時には、
負荷1aの端子間の電位差が大きいため、エネルギ−の
放出が速く、電流の減衰速度が速い。つまり、過渡電流
カ−ブの立下りの傾きが大きい。
Description will be made with reference to FIGS. 23 and 24. As shown in FIG. 23, when both switching means 18a, 18b are turned off from the state where the switching means 18a, 18b are both turned on and the current is flowing to the load 1a, the energy stored in the load 1a is changed by the energy stored in the load 1a. The flowing current flows from the low potential line to the high potential line of the power supply through the diodes D1 and D2. At this time,
Since the potential difference between the terminals of the load 1a is large, the energy is released quickly and the current decay rate is fast. That is, the slope of the fall of the transient current curve is large.

【0042】一方、図24に示すように、スイッチング
手段18a,18bを共にオンして負荷1aに電流が流
れている状態から、一方のスイッチング手段18aだけ
をオフに切換えると、他方のスイッチング手段18bが
オンのままであるため、負荷1aに蓄えられたエネルギ
−によって流れる電流は、ダイオ−ドD1,負荷1a,
スイッチング手段18bの閉ル−プを通る。そしてこの
時には、負荷1aの端子間の電位差が小さくなるため、
エネルギ−の放出は緩やかであり、電流の減衰速度も遅
い。つまり、過渡電流カ−ブの立下りの傾きが小さい。
On the other hand, as shown in FIG. 24, when both the switching means 18a and 18b are turned on and the current is flowing through the load 1a, when only one of the switching means 18a is turned off, the other switching means 18b is turned on. Is on, the current flowing by the energy stored in the load 1a is the diode D1, the load 1a,
It passes through the closed loop of the switching means 18b. At this time, since the potential difference between the terminals of the load 1a becomes small,
The energy is released slowly and the current decay rate is also slow. That is, the falling slope of the transient current curve is small.

【0043】即ち、トランジスタ18bに印加される制
御信号S82のデュ−ティの調整によって、負荷電流の
立上り時の波形、ならびに立下り時の波形を制御するこ
とができる。
That is, by adjusting the duty of the control signal S82 applied to the transistor 18b, the waveform of the load current at the time of rising and the waveform at the time of falling can be controlled.

【0044】また、比較器7aの出力する2値信号S7
1によりチョッピング制御を実施する場合、負荷電流の
立下り速度が比較的速いと、図23に示すように電流の
変動幅(振幅)が大きく、電流の立下り速度が比較的遅
いと、図24に示すように電流の変動幅が小さくなる。
電流の変動幅を小さくすることにより、SRモ−タの場
合、回転時に生じる振動及び騒音を大幅に低減しうる。
Further, the binary signal S7 output from the comparator 7a
When the chopping control is performed according to No. 1, when the falling speed of the load current is relatively fast, the fluctuation range (amplitude) of the current is large as shown in FIG. 23, and when the falling speed of the current is relatively slow, FIG. As shown in, the fluctuation range of the current becomes small.
By reducing the fluctuation range of the current, in the case of the SR motor, vibration and noise generated during rotation can be significantly reduced.

【0045】しかしながら、電流の立下り速度が遅い
と、チョッピング制御における目標値(基準レベル)を
変化させた場合に、目標値に対する電流の追従遅れが生
じ易い。モ−タに流す電流のレベルは、駆動トルクの変
更などに伴なって変える必要がある。特にSRモ−タを
駆動する場合には、回転子の極の位置に応じて、各コイ
ルの通電/非通電を切換える必要があり、目標値に対す
る電流の追従遅れが生じると、特に高速回転の場合に回
転トルクの低下が著しくなる。
However, when the falling speed of the current is slow, when the target value (reference level) in the chopping control is changed, a delay in following the current to the target value is likely to occur. The level of the electric current supplied to the motor needs to be changed in accordance with the change of the driving torque. In particular, when driving the SR motor, it is necessary to switch between energization and de-energization of each coil according to the position of the rotor poles, and if there is a delay in following the current with respect to the target value, especially high speed rotation In this case, the rotation torque is significantly reduced.

【0046】この実施例においては、モ−タの回転数
(rpm)と必要な駆動トルクに基づいて、信号S10
のデュ−ティを自動的に調整するので、回転数が高い、
あるいは大きな駆動トルクを必要とする時には、通電の
立上りが速くなり、目標値の変化に対する電流の追従遅
れが防止される。また、回転数が低い、あるいは大きな
駆動トルクを必要としない時には、負荷電流の立上り,
立下り等の変化速度が遅いため、振動及び騒音の発生が
抑制される。電流の基準レベル(Vr2)の波形を短い
期間で細かく調整するのは困難であるが、信号S10の
デュ−ティの調整は容易である。
In this embodiment, the signal S10 is generated on the basis of the rotation speed (rpm) of the motor and the required driving torque.
Since the duty of is automatically adjusted, the number of rotations is high,
Alternatively, when a large driving torque is required, the rise of energization becomes faster, and the delay in following the current with respect to the change in the target value is prevented. Also, when the rotation speed is low or when a large driving torque is not required, the load current rises,
Since the rate of change such as falling is slow, generation of vibration and noise is suppressed. It is difficult to finely adjust the waveform of the current reference level (Vr2) in a short period, but it is easy to adjust the duty of the signal S10.

【0047】ところで、比較器7aの比較結果に従っ
て、トランジスタ18aは通常、短い周期でオン/オフ
を繰り返すが、仮に比較器7aが出力する信号S71を
そのままトランジスタ18aに印加すると、トランジス
タ18aのオン/オフ周期は、その通電回路の特性,モ
−タのコイルのインピ−ダンスなどによって定まり、温
度,湿度等の環境変化の影響も受ける。その場合、トラ
ンジスタ18aのオン/オフ周波数が異常に高くなる場
合もある。しかし、通電をオン/オフする周波数が高く
なると、それに伴なって、トランジスタ18aにおける
損失が増大し、発熱量も増大する。また逆に、通電をオ
ン/オフする周波数が人間の可聴周波数の上限よりも低
い場合、電流のスイッチングによって生じる機械振動
が、ノイズとして人間に聞こえることになる。従って、
トランジスタ18aのオン/オフ周波数を、一般的な人
間の可聴周波数の上限より僅かに高い周波数(例えば1
5KHz)になるように制御するのが望ましい。
By the way, according to the comparison result of the comparator 7a, the transistor 18a normally repeats on / off in a short cycle, but if the signal S71 output from the comparator 7a is directly applied to the transistor 18a, the transistor 18a is turned on / off. The OFF period is determined by the characteristics of the energizing circuit, the impedance of the motor coil, and the like, and is also affected by environmental changes such as temperature and humidity. In that case, the on / off frequency of the transistor 18a may be abnormally high. However, when the frequency at which the power is turned on / off increases, the loss in the transistor 18a increases and the amount of heat generation also increases. On the contrary, when the frequency for turning on / off the energization is lower than the upper limit of the human audible frequency, the human being hears the mechanical vibration caused by the switching of the current as noise. Therefore,
The on / off frequency of the transistor 18a is set to a frequency slightly higher than the upper limit of a general human audible frequency (for example, 1
It is desirable to control the frequency to be 5 KHz).

【0048】トランジスタ18aのオン/オフ周波数を
制御するために、この実施例の装置を試作する前に、図
11に(a)として示す制御を実施した。この制御につ
いて説明する。即ち、周期が一定の同期信号を用いて、
その周期毎に生じるタイミングt1,t2,t3,・・
・を生成し、トランジスタ18aに印加する信号S81
xを、Vr2<Vs6になる毎にオフレベルに切換え、
タイミングt1,t2,t3,・・・の各々において、
Vr2>Vs6であれば、その時に信号S81xをオン
レベルに切換えるが、Vr2≦Vs6なら信号S81x
をオフレベルに維持する。
In order to control the on / off frequency of the transistor 18a, the control shown as (a) in FIG. 11 was performed before the device of this example was prototyped. This control will be described. That is, using a synchronization signal with a constant cycle,
Timings t1, t2, t3, ...
A signal S81 for generating and applying it to the transistor 18a
x is switched to the off level every time Vr2 <Vs6,
At each of the timings t1, t2, t3, ...
If Vr2> Vs6, the signal S81x is switched to the on level at that time, but if Vr2 ≦ Vs6, the signal S81x.
Keep off level.

【0049】ところが、この制御(図11の(a))で
は、同期信号のタイミング(t4)の直前でVr2<V
s6になると、その直後の同期信号のタイミング(t
4)で、Vr2<Vs6であるため、信号S81xはオ
フレベルに維持される。その結果、信号S81xのオン
/オフが切換らない期間が長くなり、トランジスタ18
aのオン/オフ周波数が人間の可聴周波数の上限より低
くなる時があった。
However, in this control ((a) in FIG. 11), Vr2 <V immediately before the timing (t4) of the synchronizing signal.
At s6, the timing (t
In 4), since Vr2 <Vs6, the signal S81x is maintained at the off level. As a result, the period during which the signal S81x is not switched on / off becomes long, and the transistor 18
There were times when the on / off frequency of a fell below the upper limit of human audible frequencies.

【0050】そこでこの実施例では、更に改良されたタ
イミング制御回路17cを用いて、図11に(b)とし
て示すように制御している。この制御を図11の(b)
を参照して説明する。周期が一定の同期信号を用いて、
その周期毎に生じるタイミングt1,t2,t3,・・
・を生成する。信号FEは、Vs6>Vr2になった時
に高レベルH(オン不可)に切換え、同期信号の各タイ
ミングt1,t2,t3,・・・でそれぞれ低レベルL
(オン可)に切換える。そして、信号S81をオフに切
換える条件は、Vs6>Vr2になった時であり、信号
S81をオンに切換える条件は、信号FEがオン可で、
かつVs6≦Vr2になった時である。この制御によれ
ば、同期信号のタイミング(t4)の直前でVr2<V
s6になり、その直後の同期信号のタイミング(t4)
で、Vr2<Vs6であっても、信号FEがオン可に切
換わった後でVs6>Vr2になれば、その時に信号S
81がオンに切換るため、信号S81のオン/オフ周期
は、同期信号の周期(基準チョッピング周期)とほぼ同
一になり、周波数の変化はあまり生じない。このため、
同期信号の周波数を人間の可聴周波数の上限より僅かに
高く設定することにより、可聴周波数のノイズの発生を
防止し、しかも大きな発熱の発生も防止しうる。
Therefore, in this embodiment, control is performed as shown in FIG. 11B by using the further improved timing control circuit 17c. This control is shown in FIG.
This will be described with reference to FIG. Using a synchronization signal with a constant cycle,
Timings t1, t2, t3, ...
・ Generate. The signal FE is switched to a high level H (not on) when Vs6> Vr2, and is set to a low level L at each timing t1, t2, t3, ... Of the synchronizing signal.
Switch to (ON enabled). The condition for switching the signal S81 off is when Vs6> Vr2, and the condition for switching the signal S81 on is that the signal FE can be turned on.
It is when Vs6 ≦ Vr2. According to this control, Vr2 <V immediately before the timing (t4) of the synchronization signal.
The timing of the synchronization signal immediately after that is s6 (t4)
Then, even if Vr2 <Vs6, if Vs6> Vr2 after the signal FE is switched to ON, the signal S at that time.
Since 81 is turned on, the on / off cycle of the signal S81 becomes substantially the same as the cycle of the synchronization signal (reference chopping cycle), and the frequency does not change much. For this reason,
By setting the frequency of the synchronization signal to be slightly higher than the upper limit of the human audible frequency, it is possible to prevent the generation of noise of the audible frequency and also prevent the generation of a large amount of heat.

【0051】実際のタイミング制御回路17cの構成を
図3に示し、回路中の各部の信号波形の例を図10に示
す。この実施例では、同期信号CLK15Kとして、周
波数が15KHzのパルス信号を用いている。図3に示
す回路は、ゲ−ト回路171,174,177,178
及び179と、D型のフリップフロップ172,17
3,176及び17Aと、インバ−タ175を備えてい
る。図10に示すように、信号FEは、入力信号S71
がVs6>Vr2の条件になると、「オン不可」に切換
り、15KHzの同期信号CLK15Kの立上りのタイ
ミングで「オン可」に切換る。そして信号S81は、入
力信号S71がVs6>Vr2の条件になると、オフに
切換り、信号FEの「オン不可」が解除された後で、入
力信号S71がVs6<Vr2になると、オンに切換
る。従って、タイミング制御回路17cを用いることに
より、図11に(b)として示す制御が実現する。
FIG. 3 shows the actual configuration of the timing control circuit 17c, and FIG. 10 shows an example of the signal waveform of each part in the circuit. In this embodiment, a pulse signal having a frequency of 15 KHz is used as the synchronizing signal CLK15K. The circuit shown in FIG. 3 is a gate circuit 171, 174, 177, 178.
And 179, and D-type flip-flops 172, 17
3, 176 and 17A, and an inverter 175. As shown in FIG. 10, the signal FE is the input signal S71.
Becomes a condition of Vs6> Vr2, it is switched to "ON disabled" and switched to "ON enabled" at the rising timing of the 15 KHz synchronization signal CLK15K. Then, the signal S81 is turned off when the input signal S71 satisfies the condition of Vs6> Vr2, and is turned on when the input signal S71 becomes Vs6 <Vr2 after the “unable to turn on” of the signal FE is released. . Therefore, the control shown as (b) in FIG. 11 is realized by using the timing control circuit 17c.

【0052】ところで、例えばモ−タ1の回転加速度を
目標加速度に正確に追従させるために、加速度のフィ−
ドバック制御を実施するのが望ましい。この実施例にお
いては、比較器7aに入力する電流の基準レベルVr2
を制御することにより、モ−タ1の電流値を制御してい
るが、電流の微妙な波形の制御をも可能にするために、
モ−タ1の微小回転角度(0.7度)毎に、独立した電
流値が基準レベルVr2に割り当てられる。このため、
例えば回転数(rpm)や必要トルクの変更に伴なっ
て、モ−タ1の付勢量を調整する場合には、各相のコイ
ルの全角度の電流値をそれぞれ計算して、それらの値を
メモリに更新登録しなければならない。即ち、制御量の
更新に非常に時間がかかるため、制御系の応答が非常に
遅い。このような多数の電流値を調整する制御系(電流
波形生成回路15)に、加速度フィ−ドバック制御を含
めると、加速度変化に対する速い応答は期待できない。
By the way, in order to make the rotational acceleration of the motor 1 accurately follow the target acceleration, for example, the acceleration force
It is desirable to implement feedback control. In this embodiment, the reference level Vr2 of the current input to the comparator 7a
The current value of the motor 1 is controlled by controlling, but in order to enable the control of the delicate waveform of the current,
An independent current value is assigned to the reference level Vr2 for each minute rotation angle (0.7 degrees) of the motor 1. For this reason,
For example, when the energizing amount of the motor 1 is adjusted in accordance with the change of the rotation speed (rpm) and the required torque, the current values of all angles of the coils of each phase are calculated and those values are calculated. Must be updated and registered in the memory. That is, since it takes a very long time to update the control amount, the response of the control system is very slow. If acceleration feedback control is included in the control system (current waveform generation circuit 15) for adjusting such a large number of current values, a fast response to changes in acceleration cannot be expected.

【0053】そこでこの実施例においては、電流波形の
生成とは別の独立した制御系として、加速度フィ−ドバ
ック制御を実施している。即ち、図2に示すように、加
速度フィ−ドバック制御によって生成される加速度補償
値は、加算回路16によって、電流波形生成回路15の
出力信号S4に加算される。従って、この加速度フィ−
ドバック制御系には、格別に時間のかかる処理が含まれ
ないため、加速度制御系の応答速度は速い。
Therefore, in this embodiment, the acceleration feedback control is carried out as an independent control system other than the generation of the current waveform. That is, as shown in FIG. 2, the acceleration compensation value generated by the acceleration feedback control is added to the output signal S4 of the current waveform generation circuit 15 by the addition circuit 16. Therefore, this acceleration
Since the feedback control system does not include any processing that takes much time, the response speed of the acceleration control system is fast.

【0054】加算回路16においては、加速度補償値の
他に、振動補償値が加算される。この振動補償値は、モ
−タ1の回転方向の微小振動を抑制するための補償値で
ある。本発明者の実験によれば、SRモ−タ1を一定の
方向に回転駆動している間に、その回転子は、一時的に
駆動方向とは逆の方向に回転(振動)する場合があるこ
とが確かめられている。このような逆転による振動を抑
制すれば、SRモ−タ1がより滑らかに駆動され、騒音
も確実に低減される。
In addition circuit 16, in addition to the acceleration compensation value, the vibration compensation value is added. This vibration compensation value is a compensation value for suppressing a minute vibration in the rotation direction of the motor 1. According to an experiment by the present inventor, while the SR motor 1 is rotationally driven in a certain direction, the rotor may temporarily rotate (vibrate) in a direction opposite to the driving direction. It has been confirmed that there is. If the vibration due to such reverse rotation is suppressed, the SR motor 1 is driven more smoothly and the noise is surely reduced.

【0055】そこでこの実施例においては、駆動中の回
転方向の逆転を検出し、その逆転を抑制するような振動
補償値を生成し、それを加算回路16に入力して電流値
を補償している。この振動補償制御系においても、電流
波形の生成とは別の独立した制御系であるため、速い変
化(振動)に対して充分に追従しうる。
Therefore, in this embodiment, the reverse rotation of the rotation direction during driving is detected, a vibration compensation value for suppressing the reverse rotation is generated, and the vibration compensation value is input to the adder circuit 16 to compensate the current value. There is. Also in this vibration compensation control system, since it is an independent control system different from the generation of the current waveform, it is possible to sufficiently follow a rapid change (vibration).

【0056】実際には、図7に示す方向検出回路5を用
いて、角度センサ1dが出力する信号の下位2ビットに
基づいて、SRモ−タ1の回転子の回転方向CW/CC
W(前進方向/後退方向)を検出している。図7を参照
すると、方向検出回路5は、D型のフリップフロップ5
1,52及び58とゲ−ト回路53,54,55,56
及び57で構成されている。この方向検出回路5の各部
の信号波形の例を図8に示すので参照されたい。角度セ
ンサ1dと方向検出回路5を用いることにより、微妙な
逆転をも検出することができる。
In practice, the direction detection circuit 5 shown in FIG. 7 is used to determine the rotation direction CW / CC of the rotor of the SR motor 1 based on the lower 2 bits of the signal output by the angle sensor 1d.
W (forward direction / backward direction) is detected. Referring to FIG. 7, the direction detection circuit 5 includes a D-type flip-flop 5
1, 52 and 58 and gate circuits 53, 54, 55 and 56
And 57. Please refer to the example of the signal waveform of each part of the direction detection circuit 5 shown in FIG. By using the angle sensor 1d and the direction detection circuit 5, it is possible to detect even a slight reverse rotation.

【0057】図1に示すCPU11の動作の概略を図1
4に示す。図14を参照してCPU11の動作を説明す
る。電源がオンすると、ステップ61で初期化を実行す
る。即ち、CPU11の内部メモリの初期化および内部
タイマ,割込等のモ−ドセットを実施した後、システム
の診断を実施し、異常がなければ次の処理に進む。
An outline of the operation of the CPU 11 shown in FIG. 1 is shown in FIG.
4 shows. The operation of the CPU 11 will be described with reference to FIG. When the power is turned on, initialization is executed in step 61. That is, after the initialization of the internal memory of the CPU 11 and the mode setting such as the internal timer and the interrupt, the system diagnosis is performed, and if there is no abnormality, the process proceeds to the next processing.

【0058】ステップ62では、シフトレバ−,ブレ−
キスイッチ,アクセルスイッチ,アクセル開度センサの
それぞれが出力する信号の状態を読取る。ステップ62
で検出した状態に何らかの変化があった場合には、ステ
ップ63からステップ64に進む。変化がない時には、
ステップ63からステップ65に進む。
At step 62, shift lever and blur are set.
Read the status of the signals output by the switch, accelerator switch, and accelerator position sensor. Step 62
If there is any change in the state detected in step 6, the process proceeds from step 63 to step 64. When there is no change,
The process proceeds from step 63 to step 65.

【0059】ステップ64では、ステップ62で検出し
た各種状態に基づいて、SRモ−タ1の駆動トルクの目
標値ならびに加速度の目標値を決定する。例えば、アク
セル開度センサによって検出されたアクセル開度が増大
した時には、駆動トルク及び加速度の目標値も増大す
る。また、ここで目標トルクの変化を示すトルク変更フ
ラグをセットする。
In step 64, the target value of the drive torque of the SR motor 1 and the target value of the acceleration are determined based on the various states detected in step 62. For example, when the accelerator opening detected by the accelerator opening sensor increases, the target values of the drive torque and the acceleration also increase. Here, a torque change flag indicating a change in the target torque is set.

【0060】ステップ65では、検出された現在のSR
モ−タ1の回転速度を入力する。なお回転速度は、後述
する割込処理によって検出される。そして、SRモ−タ
1の回転速度に変化がある時には、ステップ66からス
テップ68に進み、回転速度に変化がなければステップ
67に進む。ステップ67では、トルク変更フラグの状
態を調べ、フラグがセットされている時、即ち目標トル
クの変化がある時には、ステップ68に進み、トルクに
変化がない時にはステップ62に戻る。
In step 65, the detected current SR
Input the rotation speed of the motor 1. The rotation speed is detected by an interrupt process described later. When the rotation speed of the SR motor 1 has changed, the routine proceeds from step 66 to step 68, and when the rotation speed does not change, the routine proceeds to step 67. In step 67, the state of the torque change flag is checked, and when the flag is set, that is, when the target torque changes, the process proceeds to step 68, and when there is no torque change, the process returns to step 62.

【0061】ステップ68では、PWMマップメモリ1
3bを参照してデ−タを入力し、CPU11が出力して
いるパルス信号(PWM信号)S10のデュ−ティを変
更する。このパルス信号S10は、モ−タ1の駆動中は
常時出力されており、その周期は15KHzに固定され
ているが、デュ−ティはその時の状態に応じて変更され
る。
In step 68, the PWM map memory 1
3b, the data is input and the duty of the pulse signal (PWM signal) S10 output from the CPU 11 is changed. The pulse signal S10 is constantly output during the driving of the motor 1 and its cycle is fixed at 15 KHz, but the duty is changed according to the state at that time.

【0062】即ち、PWMマップメモリ13bは、予め
様々なデ−タを登録した読み出し専用メモリ(ROM)
で構成してあり、図13に示すように、様々な目標トル
クと様々な回転数(モ−タの回転速度)のそれぞれに対
応付けられた多数のデ−タPnm(n:トルクに対応す
る列の数値,m:回転数に対応する行の数値)が保持さ
れている。例えば、デ−タP34には、オンデュ−ティ
の95%を示す数値が保持されているので、例えば、ト
ルクが20[N・m]で回転数が500[rpm]の時
には、CPU11は、デ−タP34の内容を参照して、
信号S10のオン時間が95%になるようにそのデュ−
ティを更新する。
That is, the PWM map memory 13b is a read-only memory (ROM) in which various data are registered in advance.
As shown in FIG. 13, a large number of data Pnm (n: corresponding to torque) are associated with various target torques and various rotational speeds (rotational speeds of motors). The numerical value of the column, m: the numerical value of the row corresponding to the rotation speed) are held. For example, since the value indicating 95% of the on-duty is held in the data P34, for example, when the torque is 20 [Nm] and the rotation speed is 500 [rpm], the CPU 11 is -Refer to the contents of P34,
Duty so that the on time of the signal S10 is 95%.
Update the tee.

【0063】次のステップ69では、電流マップメモリ
13a及び波形マップメモリ13cから、それぞれデ−
タを入力する。この実施例では、電流マップメモリ13
a及び波形マップメモリ13cは、予め様々なデ−タを
登録した読み出し専用メモリ(ROM)で構成してあ
り、電流マップメモリ13aには図19に示すようなデ
−タが保持され、波形マップメモリ13cには図21に
示すようなデ−タが保持されている。
At the next step 69, the current map memory 13a and the waveform map memory 13c are respectively deselected.
Input data. In this embodiment, the current map memory 13
The a and the waveform map memory 13c are constituted by a read-only memory (ROM) in which various data are registered in advance, and the current map memory 13a holds the data as shown in FIG. The memory 13c holds data as shown in FIG.

【0064】即ち、電流マップメモリ13aには、様々
な目標トルクと様々な回転数(モ−タの回転速度)のそ
れぞれに対応付けられた多数のデ−タCnm(n:トル
クに対応する列の数値,m:回転数に対応する行の数
値)が保持されており、デ−タCnmの1組には、通電
オン角度,通電オフ角度,電流上限値及び波形パタ−ン
番号が含まれている。例えば、トルクが20[N・m]
で回転数が500[rpm]の時のデ−タC34の内容
は、52.5度,82.5度,200[A]及び波形パ
タ−ン番号3である。このデ−タC34は、0〜90度
の回転位置の範囲内における通電情報を示しており、5
2.5〜82.5度の範囲においては、電流の上限値が
200Aの予め定めた3番の波形パタ−ンの電流を流
し、0〜52.5度の範囲及び82.5〜90度の範囲
では電流を遮断することを意味している。ステップ69
では、その時のトルクと回転数に応じて選択した、Cm
nの1組のデ−タを入力する。
That is, the current map memory 13a has a large number of data Cnm (n: columns corresponding to torques) associated with various target torques and various rotational speeds (rotational speeds of motors). , M: numerical value of the line corresponding to the number of revolutions) are stored, and one set of data Cnm includes the energization ON angle, the energization OFF angle, the current upper limit value and the waveform pattern number. ing. For example, the torque is 20 [N · m]
When the number of revolutions is 500 [rpm], the contents of the data C34 are 52.5 degrees, 82.5 degrees, 200 [A] and the waveform pattern number 3. This data C34 indicates the energization information within the range of the rotational position of 0 to 90 degrees.
In the range of 2.5 to 82.5 degrees, the current of the predetermined waveform pattern No. 3 having the upper limit of the current of 200 A is applied, and the range of 0 to 52.5 degrees and 82.5 to 90 degrees. The range of means that the current is cut off. Step 69
Then, Cm selected according to the torque and rotation speed at that time
Input a set of n data.

【0065】更に、入力したCmnのデ−タに含まれる
波形パタ−ン番号に対応する1組の波形デ−タを、波形
マップメモリ13cから読み込む。例えば、波形パタ−
ン番号が3の場合には、図21に示す0,12,26,
40,・・・・の一連の波形デ−タを入力する。この波
形デ−タによって、実際にコイルに流す電流の基準値の
波形が決定される。即ち、モ−タの回転子の角度ステッ
プ毎に、電流の基準値は細かく調整される。
Further, a set of waveform data corresponding to the waveform pattern number contained in the input Cmn data is read from the waveform map memory 13c. For example, waveform pattern
If the code number is 3, 0, 12, 26,
Input a series of 40, ... This waveform data determines the waveform of the reference value of the current actually passed through the coil. That is, the current reference value is finely adjusted for each angular step of the motor rotor.

【0066】次のステップ6Aでは、ステップ69で入
力したデ−タCnm及び波形デ−タに基づいて、通電マ
ップのデ−タを生成する。即ち、モ−タの回転子の各々
の角度ステップに対応付けられた多数の電流基準値とそ
れに付随するデ−タ(詳細は後述する)を生成する。そ
して、この通電マップのデ−タを、電流波形生成回路1
5の内部にあるメモリ(双方向性メモリ)に書込む。後
述するように、電流波形生成回路15は、基準となる1
相のデ−タに基づいて3相全てのデ−タを自動的に生成
するので、ステップ6Aでは、特定の1相分の通電マッ
プだけを作成し、それを電流波形生成回路15のメモリ
に書込む。
In the next step 6A, the energization map data is generated based on the data Cnm and the waveform data input in step 69. That is, a large number of current reference values associated with each angular step of the motor rotor and associated data (details will be described later) are generated. Then, the data of this energization map is used as the current waveform generation circuit 1
Write to the memory (bi-directional memory) inside 5. As will be described later, the current waveform generating circuit 15 has a reference value of 1
Since data for all three phases are automatically generated based on the phase data, only the energization map for a specific one phase is created in step 6A and stored in the memory of the current waveform generation circuit 15. Write.

【0067】CPU11は、上述のステップ62〜6A
の処理を繰り返し実行する。そして、検出したSRモ−
タの回転速度及びトルクが一定の場合には、ステップ6
6−67−62を通るが、回転速度が変化した場合、又
はトルクが変化した場合には、ステップ68−69−6
A−6Bを実行するので、電流波形生成回路15の通電
マップが更新される。
The CPU 11 executes the above steps 62 to 6A.
Is repeatedly executed. Then, the detected SR mode
If the rotation speed and torque of the motor are constant, step 6
6-67-62, but when the rotation speed changes or the torque changes, steps 68-69-6 are performed.
Since A-6B is executed, the energization map of the current waveform generation circuit 15 is updated.

【0068】また、ステップ61の初期化を終了した
後、4msec 毎にCPU11にタイマ割込みが発生す
る。このタイマ割込みが発生すると、CPU11は図1
5に示す処理を実行する。図15を参照して説明する。
After the initialization in step 61 is completed, a timer interrupt is generated in the CPU 11 every 4 msec. When this timer interrupt occurs, the CPU 11
The process shown in 5 is executed. This will be described with reference to FIG.

【0069】ステップ71では、カウンタTM24の値
を参照して、24msec 周期で生じる所定のタイミング
か否かを識別する。即ち、24msec に1回の割合い
で、ステップ71から図16のステップ81に進み、そ
れ以外の時にはステップ71からステップ72に進む。
In step 71, the value of the counter TM24 is referred to and it is discriminated whether or not it is a predetermined timing occurring in a cycle of 24 msec. That is, the process proceeds from step 71 to step 81 in FIG. 16 once every 24 msec, and otherwise proceeds from step 71 to step 72.

【0070】ステップ72では、カウンタTM8の値を
参照して、8msec 周期で生じる所定のタイミングか否
かを識別する。即ち、8msec に1回の割合いで、ステ
ップ72からステップ7Cに進み、それ以外の時にはス
テップ72からステップ73に進む。
In step 72, the value of the counter TM8 is referred to and it is discriminated whether or not it is a predetermined timing occurring in a cycle of 8 msec. That is, the process proceeds from step 72 to step 7C once every 8 msec, and otherwise proceeds from step 72 to step 73.

【0071】ステップ73においては、SRモ−タ1を
駆動中か否かを識別し、駆動中であれば次にステップ7
4に進み、そうでなければステップ7Aに進む。ステッ
プ74では、現在のSRモ−タの駆動方向(駆動しよう
としている方向)が正転/逆転のいずれであるかを識別
する。そして次のステップ75では、現在のSRモ−タ
の実際の回転方向が正転/逆転のいずれであるかを識別
する。SRモ−タの実際の回転方向は、方向検出回路5
によって検出されるので、CPU11は、方向検出回路
5が出力する2値信号CW/CCWを参照して、SRモ
−タ1の実際の回転方向を識別する。
At step 73, it is discriminated whether or not the SR motor 1 is being driven.
4. If not, proceed to step 7A. In step 74, it is identified whether the current driving direction of the SR motor (direction to be driven) is forward rotation / reverse rotation. Then, in the next step 75, it is identified whether the actual rotation direction of the current SR motor is forward rotation / reverse rotation. The actual rotation direction of the SR motor is the direction detection circuit 5
The CPU 11 identifies the actual rotation direction of the SR motor 1 by referring to the binary signal CW / CCW output from the direction detection circuit 5.

【0072】ステップ76では、ステップ74で識別し
た現在のSRモ−タの駆動方向と、ステップ75で識別
した現在のSRモ−タの実際の回転方向とが一致するか
否かを識別する。一致する場合には、ステップ7Bに進
み、振動補償値に0をセットする。また、駆動方向と実
際の回転方向とが一致しない場合、即ち振動により、駆
動方向に対して回転子が逆転方向に回転している時に
は、ステップ78に進み、予め定めた定数を振動補償値
にセットする。この実施例においては、ステップ78で
振動補償値にセットする定数(電流値)を+30[A]
に定めてある。次のステップ79では、ステップ78又
は7Bで決定した振動補償値を出力し、それを加算回路
16に印加する。なお、この振動補償値は、3相の制御
系で共通に利用される。
In step 76, it is determined whether or not the drive direction of the current SR motor identified in step 74 and the actual rotation direction of the current SR motor identified in step 75 match. If they match, the process proceeds to step 7B and 0 is set to the vibration compensation value. If the drive direction and the actual rotation direction do not match, that is, if the rotor is rotating in the reverse direction with respect to the drive direction due to vibration, the process proceeds to step 78, and a predetermined constant is set as the vibration compensation value. set. In this embodiment, the constant (current value) set to the vibration compensation value in step 78 is +30 [A].
Stipulated in. In the next step 79, the vibration compensation value determined in step 78 or 7B is output and applied to the adding circuit 16. The vibration compensation value is commonly used in the three-phase control system.

【0073】ステップ7Aでは、カウンタTM24の値
およびTM8の値をそれぞれ更新(+1)する。またス
テップ7Hでは、次回の割込みを発生させるために、割
込用のタイマを再セットする。
In step 7A, the value of the counter TM24 and the value of TM8 are updated (+1). In step 7H, the interrupt timer is reset to generate the next interrupt.

【0074】一方、8msec に1回の割合いで生じる所
定のタイミングにおいては、まず、ステップ7Cでシフ
トレバ−,ブレ−キスイッチ,アクセルスイッチ,アク
セル開度センサ等の状態を、入力インタ−フェ−ス12
を介して読取り、その結果を内部メモリに保持する。
On the other hand, at a predetermined timing that occurs once every 8 msec, first, in step 7C, the states of the shift lever, the brake switch, the accelerator switch, the accelerator opening sensor, etc. are set.
Read through and store the result in internal memory.

【0075】次のステップ7Eでは、モ−タの回転速度
を計算する。この実施例では、SRモ−タ1の駆動軸に
連結された角度センサ1dが、駆動軸の回転速度に応じ
て周期が変化するパルス信号を出力するので、CPU1
1は、角度センサ1dが出力する信号のパルス周期を測
定し、この周期に基づいてSRモ−タ1の回転速度を検
出する。検出した回転速度のデ−タは内部メモリに保存
する。
In the next step 7E, the rotation speed of the motor is calculated. In this embodiment, since the angle sensor 1d connected to the drive shaft of the SR motor 1 outputs a pulse signal whose period changes according to the rotation speed of the drive shaft, the CPU 1
1 measures the pulse cycle of the signal output by the angle sensor 1d, and detects the rotation speed of the SR motor 1 based on this cycle. The data of the detected rotation speed is stored in the internal memory.

【0076】次のステップ7Fでは、互いに異なるタイ
ミングにおいて、ステップ7Eで検出された複数の回転
速度のデ−タに基づいて、実加速度を計算する。例え
ば、最新の回転速度と1周期(8msec )前に検出され
た回転速度との差分を計算することにより、8msec あ
たりの速度変化、即ち加速度を得ることができる。加速
度を得るために利用する回転速度のデ−タ数や計算式
は、必要に応じて変更される。次のステップ7Gでは、
カウンタTM8をクリアする。
At the next step 7F, the actual acceleration is calculated at different timings based on the data of the plurality of rotational speeds detected at step 7E. For example, by calculating the difference between the latest rotation speed and the rotation speed detected one cycle (8 msec) ago, the speed change per 8 msec, that is, the acceleration can be obtained. The number of rotation speed data and the calculation formula used to obtain the acceleration are changed as necessary. In the next step 7G,
The counter TM8 is cleared.

【0077】次に、24msec に1回の割合いで生じる
所定のタイミングにおける動作を、図16を参照して説
明する。ステップ81においては、ステップ7Eで検出
された最新のモ−タ回転速度を第1のしきい値である5
00[rpm]と比較する。そして、回転速度≧500
ならステップ84に進み、そうでなければステップ82
に進む。ステップ84では高速フラグを1にセットし、
次にステップ85に進む。
Next, the operation at a predetermined timing that occurs once every 24 msec will be described with reference to FIG. In step 81, the latest motor rotation speed detected in step 7E is the first threshold value of 5
Compare with 00 [rpm]. And the rotation speed ≧ 500
If so, go to step 84, otherwise go to step 82.
Proceed to. In step 84, the high speed flag is set to 1,
Then, it proceeds to step 85.

【0078】また、ステップ82では、ステップ7Eで
検出された最新のモ−タ回転速度を第2のしきい値であ
る300[rpm]と比較する。そして、回転速度≦3
00ならステップ86に進み、そうでなければステップ
83に進む。ステップ86では高速フラグをクリアし
て、次にステップ87に進む。またステップ83では、
高速フラグをチェックして、それが1にセットされてい
る場合には、次にステップ85に進み、高速フラグがク
リアされている場合には、次にステップ87に進む。
In step 82, the latest motor rotation speed detected in step 7E is compared with the second threshold value of 300 [rpm]. And the rotation speed ≦ 3
If 00, proceed to step 86, otherwise proceed to step 83. At step 86, the high speed flag is cleared, and then the routine proceeds to step 87. In step 83,
The high speed flag is checked, and if it is set to 1, then the process proceeds to step 85, and if the high speed flag is cleared, then the process proceeds to step 87.

【0079】ステップ85では、加速度補償値をクリア
して、次にステップ8Aに進む。
In step 85, the acceleration compensation value is cleared, and then the process proceeds to step 8A.

【0080】ステップ87では、前記ステップ64で決
定した加速度の目標値と、前記ステップ7Fで求められ
る実加速度(検出値)とを比較する。そして、目標値≧
検出値なら次にステップ88に進み、そうでなければ次
にステップ89に進む。つまり、図22に示す「第1の
状態」であればステップ88を実行し、「第2の状態」
であればステップ89を実行する。
In step 87, the target value of acceleration determined in step 64 is compared with the actual acceleration (detection value) obtained in step 7F. And the target value ≧
If it is a detected value, the process proceeds to step 88, otherwise to step 89. That is, in the case of the “first state” shown in FIG. 22, step 88 is executed, and the “second state”
If so, step 89 is executed.

【0081】ステップ88及び89では、いずれもPI
D(比例・積分・微分)演算を実行して、加速度補償値
を生成する。但し、ステップ88の演算とステップ89
の演算とは内容が異なっている。
In steps 88 and 89, PI
A D (proportional / integral / derivative) operation is executed to generate an acceleration compensation value. However, the calculation of step 88 and step 89
The content is different from the operation of.

【0082】ステップ88では、前記ステップ64で決
定した加速度の目標値Aref と、前記ステップ7Fで求
められる実加速度(検出値)Adとの偏差(差分)Ea
を求めた後、加速度偏差Eaの単位時間あたりの変化、
即ち時間微分値dEと、加速度偏差Eaの積分値IEと
をそれぞれ計算し、次の第(1)式に基づいて、加速度補
償値CP2を生成する。またステップ89では、次の第
(2)式に基づいて、加速度補償値CP2を生成する。
In step 88, the deviation (difference) Ea between the acceleration target value Aref determined in step 64 and the actual acceleration (detection value) Ad obtained in step 7F.
Then, the change in the acceleration deviation Ea per unit time,
That is, the time differential value dE and the integral value IE of the acceleration deviation Ea are calculated, and the acceleration compensation value CP2 is generated based on the following equation (1). In step 89, the next
The acceleration compensation value CP2 is generated based on the equation (2).

【0083】 CP2=Kp1・Ea+Kd1・dE+Ki1・IE (1) Kp1,Kd1,Ki1:定数 CP2=Kp2・Ea+Kd2・dE+Ki2・IE (2) Kp2,Kd2,Ki2:定数 Kp1>Kp2,Kd1>Kd2,Ki1>Ki2 従って、仮に目標値Aref と実加速度Adとの偏差Ea
が等しい場合でも、第(1)式によって求められる加速度
補償値CP2の絶対値は、第(2)式によって求められる
加速度補償値CP2の絶対値よりも大きくなる。このよ
うにして決定される加速度補償値CP2がフィ−ドバッ
ク制御系の帰還量になるので、図22に示すように、
「第1の状態」における帰還量は、「第2の状態」の帰
還量に比べて大きくなる。
CP2 = Kp1 · Ea + Kd1 · dE + Ki1 · IE (1) Kp1, Kd1, Ki1: Constant CP2 = Kp2 · Ea + Kd2 · dE + Ki2 · IE (2) Kp2, Kd2, Ki2: Constant Kp1>Kp1> Kp2, Kd2, Kd2, Kd2 > Ki2 Therefore, if the deviation Ea between the target value Aref and the actual acceleration Ad is Ea
Even if the values are equal, the absolute value of the acceleration compensation value CP2 obtained by the equation (1) becomes larger than the absolute value of the acceleration compensation value CP2 obtained by the equation (2). Since the acceleration compensation value CP2 thus determined becomes the feedback amount of the feedback control system, as shown in FIG.
The feedback amount in the "first state" is larger than the feedback amount in the "second state".

【0084】即ち、「目標加速度>実加速度」(第1の
状態)の場合には、加速度の不足を補うための電流補償
量が比較的大きいので、加速度の不足を充分に補って実
加速度を目標加速度に近づけることができる。また、
「目標加速度<実加速度」(第2の状態)の場合には、
過大な加速度を抑えるための電流補償量が比較的小さい
ので、実加速度を目標加速度に充分に追従させることは
できないが、モ−タの電流値が目標値よりも大きいの
で、加速性能は改善される。モ−タの回転方向の振動に
よって生じる騒音の大きさは、目標加速度と実加速度と
の偏差の大きさで定まるが、前記偏差は、第1の状態で
は非常に小さく、第2の状態でも抑制されるので、偏差
の平均的な振幅は充分に小さくなり、従って騒音が抑制
される。
That is, in the case of "target acceleration> actual acceleration" (first state), the amount of current compensation for compensating for the lack of acceleration is relatively large, so the lack of acceleration is sufficiently compensated for to obtain the actual acceleration. It is possible to approach the target acceleration. Also,
If "target acceleration <actual acceleration" (second state),
Since the amount of current compensation for suppressing excessive acceleration is relatively small, it is not possible to make the actual acceleration sufficiently follow the target acceleration, but since the motor current value is larger than the target value, the acceleration performance is improved. It The magnitude of the noise generated by the vibration of the motor in the rotation direction is determined by the magnitude of the deviation between the target acceleration and the actual acceleration. The deviation is very small in the first state and suppressed in the second state. As a result, the average amplitude of the deviation is sufficiently small, so that noise is suppressed.

【0085】図16のステップ8Aでは、加速度補償値
を出力して加算回路16に入力する。また次のステップ
8Bでは、カウンタTM24をクリアする。
In step 8A of FIG. 16, the acceleration compensation value is output and input to the adder circuit 16. In the next step 8B, the counter TM24 is cleared.

【0086】図16に示す処理においては、モ−タの回
転速度が500[rpm]以上の場合、又はモ−タの回転速
度が300[rpm]を越えかつ高速フラグがセットされて
いる場合には、ステップ85に進むので、加速度補償値
がクリアされる。つまりその場合には、加速度を補償す
るためのフィ−ドバック制御は実行されない。このフィ
−ドバック制御が実施されるのは、モ−タの回転速度が
300[rpm]以下の場合、及びモ−タの回転速度が50
0[rpm]未満でかつ高速フラグがクリアされている場合
である。
In the processing shown in FIG. 16, when the rotation speed of the motor is 500 [rpm] or more, or when the rotation speed of the motor exceeds 300 [rpm] and the high speed flag is set. In step 85, the acceleration compensation value is cleared. That is, in that case, the feedback control for compensating the acceleration is not executed. This feedback control is executed when the rotation speed of the motor is 300 [rpm] or less, and when the rotation speed of the motor is 50 [rpm].
This is a case where the speed is less than 0 [rpm] and the high speed flag is cleared.

【0087】前述のように、フィ−ドバック制御に用い
る加速度補償値を得るためには、ステップ88又は89
において、微分,積分,掛算等を含む比較的時間のかか
る計算処理(前記第(1)式又は第(2)式)を実行しなけれ
ばならない。また、SRモ−タを駆動するためには、回
転子の回転位置が所定角度変化する毎に、電流を制御し
なければならない。特にこの実施例では、電流波形の切
換え,通電オン/オフ角度の計算等の処理を、回転子の
回転位置の変化に対応して実施しなければならない。と
ころが、SRモ−タの回転速度が速くなるに従って、回
転位置が所定角度変化するのに要する時間が短くなるの
で、電流波形の切換え,通電オン/オフ角度の計算等の
処理に許される時間が短くなり、SRモ−タの回転速度
を所定以上に上げると、許される時間内に処理が終了で
きなくなる。
As described above, in order to obtain the acceleration compensation value used for the feedback control, step 88 or 89.
In the above, a relatively time-consuming calculation process (formula (1) or (2)) including differentiation, integration, multiplication, etc. must be executed. In order to drive the SR motor, the current must be controlled every time the rotational position of the rotor changes by a predetermined angle. In particular, in this embodiment, processing such as current waveform switching and energization on / off angle calculation must be carried out in response to changes in the rotational position of the rotor. However, as the rotation speed of the SR motor becomes faster, the time required for the rotational position to change by a predetermined angle becomes shorter. If the rotation speed of the SR motor is shortened and the rotation speed of the SR motor is increased above a predetermined value, the processing cannot be completed within the allowable time.

【0088】前述の加速度補償のためのフィ−ドバック
制御は、主として、振動の発生を抑制するために実施さ
れる。しかし実際には、振動が発生するのは回転速度が
比較的低速の場合のみである。従って、モ−タの回転速
度が速い場合には、加速度補償のためのフィ−ドバック
制御を省略しても問題は生じない。フィ−ドバック制御
を省略すると、ステップ88,89のPID演算の実行
も省略できるので、それを省略した分だけ、電流波形の
切換え,通電オン/オフ角度の計算等の処理に許される
時間が長くなる。即ち、SRモ−タの回転速度が速い場
合でも、許された時間内に電流波形の切換え,通電オン
/オフ角度の計算等の処理を確実に終了することができ
る。
The above-mentioned feedback control for acceleration compensation is mainly carried out to suppress the occurrence of vibration. However, in reality, vibration occurs only when the rotation speed is relatively low. Therefore, when the rotation speed of the motor is high, there is no problem even if the feedback control for acceleration compensation is omitted. If the feedback control is omitted, the execution of the PID calculation in steps 88 and 89 can also be omitted. Therefore, the time required for the processing such as the switching of the current waveform and the calculation of the energization on / off angle is long because of the omission. Become. That is, even if the rotation speed of the SR motor is high, it is possible to surely finish the processing such as switching the current waveform and calculating the energization ON / OFF angle within the allowed time.

【0089】図16に示す処理においては、高速フラグ
がクリアされている場合に、加速度補償のためのフィ−
ドバック制御を実行し、高速フラグがセットされている
場合には前記フィ−ドバック制御を省略する。また、高
速フラグの切換えのために参照するしきい値として、5
00[rpm]と300[rpm]の2つを用いており、高速フラ
グの切換えにヒステリシスを持たせてある。
In the process shown in FIG. 16, when the high speed flag is cleared, the acceleration compensating force is reduced.
If feedback control is executed and the high speed flag is set, the feedback control is omitted. In addition, the threshold value to be referred to for switching the high speed flag is 5
Two of 00 [rpm] and 300 [rpm] are used, and hysteresis is given to the switching of the high speed flag.

【0090】図1の電流波形生成回路15が出力する電
流指示値S4と、補正後の電流指示値S4Bの波形例を
図9に示す。図9において、CP1が振動補償値であ
り、CP2が加速度補償値である。振動補償値CP1と
加速度補償値CP2は、それぞれ3相で共通に利用され
る。また、電流指示値S4が0の時には、補正後の電流
指示値S4Bも0にする。振動補償値CP1を電流指示
値S4に加算することによって、SRモ−タ1の振動が
抑制されるため騒音が低減され、また加速度補償値CP
2を電流指示値S4に加算することによって、SRモ−
タ1の加速度制御の応答性が改善される。
FIG. 9 shows a waveform example of the current instruction value S4 output by the current waveform generation circuit 15 of FIG. 1 and the corrected current instruction value S4B. In FIG. 9, CP1 is a vibration compensation value and CP2 is an acceleration compensation value. The vibration compensation value CP1 and the acceleration compensation value CP2 are commonly used for each of the three phases. When the current instruction value S4 is 0, the corrected current instruction value S4B is also set to 0. By adding the vibration compensation value CP1 to the current instruction value S4, the vibration of the SR motor 1 is suppressed, so that the noise is reduced, and the acceleration compensation value CP
By adding 2 to the current instruction value S4, the SR mode is
The response of the acceleration control of the motor 1 is improved.

【0091】さて、この実施例では3相のSRモ−タ1
を駆動するので、各相のコイルに流す電流の指示値を3
相分生成する必要がある。この実施例では、電流指示値
を回転子の位置(微小角度ステップ)毎にそれぞれ調整
して通電波形を最適化しようとしているので、電流指示
値S4の生成は非常に難しい。しかも、回転子が微小回
転する毎に電流指示値を変える必要があるので、電流指
示値S4の更新は瞬時に実行できなければならない。こ
のような信号を発生するためには、メモリに多数の電流
指示値(通電マップ)を予め登録して、メモリのアドレ
スを回転子の位置(角度ステップ)に対応付け、回転子
の位置が変わる毎に、その位置情報をメモリのアドレス
に印加して、その位置の電流指示値をメモリから読み出
して電流制御系に与えるように制御すればよい。また、
このような回路を3組設置すれば、3相の電流指示値を
生成することが可能である。
In this embodiment, the three-phase SR motor 1 is used.
Is driven, the indicated value of the current flowing in each phase coil is set to 3
It is necessary to generate phase components. In this embodiment, it is very difficult to generate the current instruction value S4 because the current instruction value is adjusted for each rotor position (small angle step) to optimize the energization waveform. Moreover, since it is necessary to change the current instruction value each time the rotor makes a minute rotation, the current instruction value S4 must be updated instantaneously. In order to generate such a signal, a large number of current instruction values (energization maps) are registered in the memory in advance, the memory address is associated with the rotor position (angle step), and the rotor position is changed. For each time, the position information may be applied to the address of the memory, and the current instruction value at the position may be read from the memory and given to the current control system. Also,
If three sets of such circuits are installed, it is possible to generate three-phase current instruction values.

【0092】しかしながら、3相のそれぞれに対応し
て、独立した電流波形生成回路を3組設けると、必要な
メモリの容量が大きくなり、回路構成も複雑化するのは
避けられない。また、CPU11は、モ−タの回転数や
必要トルクが変化する度に、メモリの内容(通電マッ
プ)を書き替えなければならないが、メモリの容量が大
きいと、その内容を全て更新するのに長い時間が必要に
なるため、制御系の応答性が悪くなる。
However, if three sets of independent current waveform generation circuits are provided for each of the three phases, the required memory capacity will increase and the circuit configuration will inevitably become complicated. Further, the CPU 11 has to rewrite the contents of the memory (energization map) each time the rotation speed of the motor or the required torque changes, but if the memory capacity is large, all the contents are updated. Since a long time is required, the responsiveness of the control system deteriorates.

【0093】一方、図9及び図20に示すように、3相
の電流指示値の波形は、互いに相似形であり、互いに波
形の位相(相対角度)だけが異なっている。従って、1
相の電流指示値の波形に基づいて、その位相をずらした
信号を生成すれば、3相の電流指示値を生成することが
可能である。
On the other hand, as shown in FIGS. 9 and 20, the waveforms of the current indication values of the three phases are similar to each other, and only the phases (relative angles) of the waveforms are different from each other. Therefore, 1
It is possible to generate three-phase current instruction values by generating signals whose phases are shifted based on the waveforms of the phase current instruction values.

【0094】例えば、図5に示すように、第1相の0〜
90度の範囲内の各角度ステップに対応付けた多数の波
形デ−タ(ハッチングを施した部分)を、それぞれの角
度ステップに対応付けたメモリアドレスに保持しておく
場合には、メモリアドレスに対する指示角度に+30度
の補正を加えることにより、第2相の波形デ−タを得る
ことができ、また、メモリアドレスに対する指示角度に
+60度の補正を加えることにより、第3相の波形デ−
タを得ることができる。また、第1相の0〜90度の範
囲の波形の繰り返しによって、0〜360度の範囲の波
形デ−タを得ることができる。
For example, as shown in FIG.
When a large number of waveform data (hatched portions) associated with each angle step within the range of 90 degrees are held in the memory address associated with each angle step, The second phase waveform data can be obtained by adding +30 degrees to the indicated angle, and the third phase waveform data can be obtained by adding +60 degrees to the indicated angle with respect to the memory address.
You can get the data. Further, by repeating the waveform of the first phase in the range of 0 to 90 degrees, the waveform data in the range of 0 to 360 degrees can be obtained.

【0095】即ち、基準となる1相の波形だけをメモリ
に登録しておき、それに基づいて3相の信号波形を生成
することができる。このようにすれば、メモリの容量が
低減され、回路構成が簡略化され、メモリの内容を更新
する処理の所要時間が短縮される。
That is, only the reference one-phase waveform can be registered in the memory, and the three-phase signal waveform can be generated based on it. By doing so, the capacity of the memory is reduced, the circuit configuration is simplified, and the time required for the process of updating the contents of the memory is shortened.

【0096】実際の電流波形生成回路15の構成を図4
に示し、各部の信号のタイミングを図6に示す。CPU
11が生成する通電マップは、電流波形生成回路15内
の双方向RAM(読み書きメモリ)49に書込まれる。
この実施例においては、双方向RAM49は、2つのメ
モリバンクを有しており、これら2つのメモリバンクの
うち、一方から波形デ−タの読み出しが実行され、他方
に対してCPU11のデ−タ書込みが実行される。従っ
て、波形デ−タの読み出しとCPU11のデ−タ書込み
とが同時に実行できる。
The actual configuration of the current waveform generation circuit 15 is shown in FIG.
6 and the signal timing of each part is shown in FIG. CPU
The energization map generated by 11 is written in the bidirectional RAM (read / write memory) 49 in the current waveform generation circuit 15.
In this embodiment, the bidirectional RAM 49 has two memory banks. One of these two memory banks is used to read the waveform data, and the other one is used to read the data of the CPU 11. Writing is executed. Therefore, the reading of the waveform data and the writing of the data by the CPU 11 can be executed simultaneously.

【0097】双方向RAM49のメモリバンク1はD8
00H〜D886H(H:16進数表記を示す、以下同
様)のメモリアドレスに割当ててあり、メモリバンク2
はDC00H〜DC86Hのメモリアドレスに割当ててあ
る。メモリバンク1の領域内は次のように割当ててあ
る。
The memory bank 1 of the bidirectional RAM 49 is D8.
00H to D886H (H: hexadecimal notation, the same applies below) are assigned to the memory bank 2
Are assigned to memory addresses DC00H to DC86H. The areas in the memory bank 1 are assigned as follows.

【0098】 D800H〜D87FH(128バイト):回転角度の
0.7度毎の各電流値(90度:128ステップ) D880H :第1相の角度1(通電開始又は終了角度) D881H :第1相の角度2(通電終了又は開始角度) D882H :第2相の角度1(通電開始又は終了角度) D883H :第2相の角度2(通電終了又は開始角度) D884H :第3相の角度1(通電開始又は終了角度) D885H :第3相の角度2(通電終了又は開始角度) D886H :波形の凸/凹(角度1で通電開始→角度2
で通電終了,角度1で通電終了→角度2で通電開始、の
区分) メモリバンク2のメモリ割当ては、アドレスが400H
ずれる他は、メモリバンク1と同一である。メモリバン
ク1とメモリバンク2の切換えは、双方向RAM49の
アドレスのビット10(A10)の制御により実施され
る。
D800H to D87FH (128 bytes): Current values for every 0.7 degree of rotation angle (90 degrees: 128 steps) D880H: First phase angle 1 (energization start or end angle) D881H: First phase Angle 2 (energization end or start angle) D882H: second phase angle 1 (energization start or end angle) D883H: second phase angle 2 (energization end or start angle) D884H: third phase angle 1 (energization Start or end angle) D885H: Third phase angle 2 (energization end or start angle) D886H: Waveform convex / concave (energization start → angle 2)
Energization ends in, energization ends in angle 1 → energization starts in angle 2) Memory allocation of memory bank 2 is 400H
It is the same as the memory bank 1 except that it is displaced. Switching between the memory bank 1 and the memory bank 2 is performed by controlling bit 10 (A10) of the address of the bidirectional RAM 49.

【0099】図4及び図6を参照して、電流波形生成回
路15を説明する。角度センサ1dが出力する10ビッ
トの角度信号RZ0〜RZ9は、ラッチ41によりラッ
チされ、加算器47の一方の入力に印加される。また、
角度信号RZ0は、タイミングパルス発生回路42に印
加される。タイミングパルス発生回路42は、その内部
で生成する8MHzのクロックパルスCLK8Mと角度
信号RZ0に基づいて、クロックパルスCLK1A,C
LK1B,CLK2A,CLK2B及びラッチ制御信号
LATZを生成する。
The current waveform generation circuit 15 will be described with reference to FIGS. 4 and 6. The 10-bit angle signals RZ0 to RZ9 output by the angle sensor 1d are latched by the latch 41 and applied to one input of the adder 47. Also,
The angle signal RZ0 is applied to the timing pulse generation circuit 42. The timing pulse generation circuit 42 generates clock pulses CLK1A, C based on the 8 MHz clock pulse CLK8M and the angle signal RZ0 generated therein.
LK1B, CLK2A, CLK2B and the latch control signal LATZ are generated.

【0100】4ビットカウンタ44は、タイミングパル
ス発生回路42が出力するクロックパルスCLK2Bを
計数して、0〜15の範囲の数値を順番に計数値CNT
として繰り返し出力する。電流波形生成回路15の各回
路の動作は、4ビットカウンタ44が出力する計数値C
NTの値に応じて決定される。計数値CNTは、ラッチ
制御回路45,角度補正出力回路46,アドレス制御回
路48,及び駆動信号生成回路4Cに入力される。
The 4-bit counter 44 counts the clock pulse CLK2B output from the timing pulse generating circuit 42, and sequentially counts the numerical value in the range of 0 to 15 as the count value CNT.
Is repeatedly output as. The operation of each circuit of the current waveform generation circuit 15 is based on the count value C output from the 4-bit counter 44.
It is determined according to the value of NT. The count value CNT is input to the latch control circuit 45, the angle correction output circuit 46, the address control circuit 48, and the drive signal generation circuit 4C.

【0101】角度補正出力回路46は、エンコ−ダであ
り、入力される計数値CNTの値に応じて、次のような
補正値CPSをそれぞれ出力する。
The angle correction output circuit 46 is an encoder and outputs the following correction values CPS according to the input count value CNT.

【0102】 CNT:0〜3, CPS:0 (0度) CNT:4〜7, CPS:84(30度) CNT:8〜11, CPS:42(60度) CNT:12〜15,CPS:42(60度:ダミ−) 従って、加算器47の出力には、計数値CNTが0〜3
の時には、その時の回転子の回転位置(角度:RZ0−
RZ9)がそのまま現われるが、計数値CNTが4〜7
の時には、60度分が加算(シフト)され、計数値CN
Tが8〜11の時には、30度分が加算(シフト)され
る。なお、計数値CNTが12〜15の時の加算器47
の出力は利用されない。
CNT: 0-3, CPS: 0 (0 degree) CNT: 4-7, CPS: 84 (30 degree) CNT: 8-11, CPS: 42 (60 degree) CNT: 12-15, CPS: Therefore, the count value CNT is 0 to 3 at the output of the adder 47.
When, the rotational position of the rotor at that time (angle: RZ0-
RZ9) appears as it is, but the count value CNT is 4 to 7
At the time of, 60 degrees is added (shifted) and the count value CN
When T is 8 to 11, 30 degrees is added (shifted). The adder 47 when the count value CNT is 12 to 15
Output is not used.

【0103】アドレス制御回路48は、入力される計数
値CNTの値に応じて、次のような8ビット値MA07
をそれぞれ出力する。
The address control circuit 48 determines the following 8-bit value MA07 according to the value of the input count value CNT.
Are output.

【0104】 CNT:0,1,4,5,8,9, MA07:加算器47の出力 CNT:2 MA07:0 CNT:3 MA07:1 CNT:6 MA07:2 CNT:7 MA07:3 CNT:10 MA07:4 CNT:11 MA07:5 CNT:12〜15 MA07:6 また、ラッチ制御回路45は、入力される計数値CNT
の値に応じて、次のように2ビット値MA89をそれぞ
れ出力する。またメモリ読出し信号MRDは、計数値C
NTが0〜12の間、有効になる。
CNT: 0, 1, 4, 5, 8, 9, MA07: Output of adder 47 CNT: 2 MA07: 0 CNT: 3 MA07: 1 CNT: 6 MA07: 2 CNT: 7 MA07: 3 CNT: 10 MA07: 4 CNT: 11 MA07: 5 CNT: 12-15 MA07: 6 Further, the latch control circuit 45 inputs the count value CNT.
The 2-bit value MA89 is output as follows according to the value of Further, the memory read signal MRD has a count value C.
It is valid when NT is 0 to 12.

【0105】 CNT:0,1,4,5,8,9 MA89:00H CNT:2,3,6,7,10〜15 MA89:01H アドレス制御回路48が出力する8ビット値MA07
は、双方向RAMのアドレスの下位8ビットに印加さ
れ、ラッチ制御回路45が出力する2ビット値MA89
は、双方向RAMのアドレスの第8ビット及び第9ビッ
トに印加される。従って、双方向RAM49の下位10
ビットの指定アドレスは、入力される計数値CNTの値
に応じて次のようになる。
CNT: 0,1,4,5,8,9 MA89: 00H CNT: 2,3,6,7,10-15 MA89: 01H 8-bit value MA07 output from the address control circuit 48.
Is applied to the lower 8 bits of the address of the bidirectional RAM and the 2-bit value MA89 output from the latch control circuit 45.
Are applied to the 8th and 9th bits of the address of the bidirectional RAM. Therefore, the lower 10 of the bidirectional RAM 49
The designated address of the bit is as follows according to the value of the input count value CNT.

【0106】 CNT:0,1,4,5,8,9, MA07:加算器47の出力 CNT:2 MA07:0100H CNT:3 MA07:0101H CNT:6 MA07:0102H CNT:7 MA07:0103H CNT:10 MA07:0104H CNT:11 MA07:0105H CNT:12〜15 MA07:0106H つまり、入力される計数値CNTの値に応じて、それぞ
れ次のような情報が、双方向RAM49から読み出され
る。
CNT: 0, 1, 4, 5, 8, 9, MA07: Output of adder 47 CNT: 2 MA07: 0100H CNT: 3 MA07: 0101H CNT: 6 MA07: 0102H CNT: 7 MA07: 0103H CNT: 10 MA07: 0104H CNT: 11 MA07: 0105H CNT: 12-15 MA07: 0106H That is, the following information is read from the bidirectional RAM 49 in accordance with the input count value CNT.

【0107】 CNT:0,1 DATA:現在の角度の電流値 (第1相の電流値) CNT:2 DATA:第1相の角度1 CNT:3 DATA:第1相の角度2 CNT:4,5 DATA:現在の角度+30度の電流値 (第2相の電流値) CNT:6 DATA:第2相の角度1 CNT:7 DATA:第2相の角度2 CNT:8,9 DATA:現在の角度+60度の電流値 (第3相の電流値) CNT:10 DATA:第3相の角度1 CNT:11 DATA:第3相の角度2 CNT:12〜15 DATA:波形の凸/凹区分 計数値CNTが0,1の時に双方向RAM49から出力
される第1相の電流値(DATA:8ビット)は、ラッ
チ制御回路45が出力する信号PH1Cに同期して、ラ
ッチ4Eにラッチされる。同様に、計数値CNTが4,
5の時に双方向RAM49から出力される第2相の電流
値は、ラッチ制御信号PH2Cに同期して、ラッチ4E
にラッチされ、計数値CNTが8,9の時に双方向RA
M49から出力される第3相の電流値は、ラッチ制御信
号PH3Cに同期して、ラッチ4Eにラッチされる。ラ
ッチ4Eから出力される3組(3相)の信号S4が、図
1に示す加算回路16に印加される。
CNT: 0, 1 DATA: current angle current value (first phase current value) CNT: 2 DATA: first phase angle 1 CNT: 3 DATA: first phase angle 2 CNT: 4, 5 DATA: current angle +30 degree current value (second phase current value) CNT: 6 DATA: second phase angle 1 CNT: 7 DATA: second phase angle 2 CNT: 8, 9 DATA: current Current value at an angle of +60 degrees (current value of the third phase) CNT: 10 DATA: Angle of the third phase 1 CNT: 11 DATA: Angle of the third phase 2 CNT: 12 to 15 DATA: Convex / concave section of waveform The current value of the first phase (DATA: 8 bits) output from the bidirectional RAM 49 when the numerical value CNT is 0 or 1 is latched in the latch 4E in synchronization with the signal PH1C output from the latch control circuit 45. Similarly, the count value CNT is 4,
The current value of the second phase output from the bidirectional RAM 49 at the time of 5 is synchronized with the latch control signal PH2C.
Bidirectional RA when the count value CNT is 8 or 9
The current value of the third phase output from M49 is latched by the latch 4E in synchronization with the latch control signal PH3C. Three sets (three phases) of signals S4 output from the latch 4E are applied to the adder circuit 16 shown in FIG.

【0108】一方、コンパレ−タ4Bは、加算器47の
出力と、双方向RAM49の出力とを比較する。ここ
で、実際に利用されるのは、双方向RAM49の出力の
うち、第1相の角度1,第1相の角度2,第2相の角度
1,第2相の角度2,第3相の角度1,第3相の角度2
および波形の凸/凹区分である。即ち、コンパレ−タ4
Bは、現在の回転子の角度(+シフト量)と各相の角度
1,角度2との大小関係を識別する。
On the other hand, the comparator 4B compares the output of the adder 47 with the output of the bidirectional RAM 49. Here, what is actually used is, among the outputs of the bidirectional RAM 49, the first phase angle 1, the first phase angle 2, the second phase angle 1, the second phase angle 2, and the third phase. Angle 1 and phase 3 angle 2
And the convex / concave section of the waveform. That is, the comparator 4
B identifies the magnitude relationship between the current rotor angle (+ shift amount) and the angles 1 and 2 of each phase.

【0109】コンパレ−タ4Bの出力は、ラッチ制御回
路45が出力する制御信号LTCH1によって、計数値
CNTが2,3,6,7,10,11,12及び13の
時に、それぞれ駆動信号生成回路4Cの内部でラッチさ
れ利用される。即ち、計数値CNTが2及び3の時のコ
ンパレ−タ4Bの出力を利用して、第1相についての通
電のオン/オフの切換りを示す2値信号を生成し、計数
値CNTが6及び7の時のコンパレ−タ4Bの出力を利
用して、第2相についての通電のオン/オフの切換りを
示す2値信号を生成し、計数値CNTが10及び11の
時のコンパレ−タ4Bの出力を利用して、第3相につい
ての通電のオン/オフの切換りを示す2値信号を生成す
る。また、計数値CNTが12及び13の時のコンパレ
−タ4Bの出力を利用して、波形の凸/凹を識別し、通
電のオン/オフを示す2値信号(S5)を生成する。
The output of the comparator 4B is generated by the control signal LTCH1 output from the latch control circuit 45 when the count value CNT is 2, 3, 6, 7, 10, 11, 12 and 13, respectively. It is latched and used inside 4C. That is, the output of the comparator 4B when the count value CNT is 2 and 3 is used to generate a binary signal indicating ON / OFF switching of energization for the first phase, and the count value CNT is 6 , 7 is used to generate a binary signal indicating the on / off switching of energization for the second phase, and the comparator when the count value CNT is 10 or 11 is generated. The output of the controller 4B is used to generate a binary signal indicating ON / OFF switching of energization for the third phase. Further, the output of the comparator 4B when the count value CNT is 12 and 13 is used to identify the convex / concave of the waveform and generate a binary signal (S5) indicating ON / OFF of energization.

【0110】ところで、加算器47が出力する8ビット
デ−タは、0〜127の範囲にあり、最上位ビットは常
に0である。また、双方向RAM49に保持された第1
相の角度1,第1相の角度2,第2相の角度1,第2相
の角度2,第3相の角度1及び第3相の角度2も0〜1
27の範囲にあり、最上位ビットは常に0である。一
方、双方向RAM49に保持された波形の凸/凹区分
は、凹波形に255が割当てられ、凸波形に0が割り当
てられている。そのため、コンパレ−タ4Bが波形の凸
/凹区分と加算器47の出力とを比較する時には、加算
器47の出力とは無関係に、波形の凸/凹区分のみに従
ってコンパレ−タ4Bの出力が定まる。従って駆動信号
生成回路4Cは、計数値CNTが12及び13の時に
は、「波形の凸/凹区分」情報に応じて、出力する3相
の2値信号の波形の凸/凹を決定する。即ち、波形の凸
/凹区分が0の場合: (現在の角度)≦(第1相の角度1)の間はオフ (第1相の角度1)<(現在の角度)≦(第1相の角度
2)の間はオン (第1相の角度2)<(現在の角度)の間はオフ となる2値信号(S5)を生成し、 波形の凸/凹区分が255の場合: (現在の角度)≦(第1相の角度1)の間はオン (第1相の角度1)<(現在の角度)≦(第1相の角度
2)の間はオフ (第1相の角度2)<(現在の角度)の間はオン となる2値信号(S5)を生成する。第2相,第3相の
2値信号(S5)についても同様である。
The 8-bit data output from the adder 47 is in the range of 0 to 127, and the most significant bit is always 0. In addition, the first stored in the bidirectional RAM 49
The phase angle 1, the first phase angle 2, the second phase angle 1, the second phase angle 2, the third phase angle 1 and the third phase angle 2 are also 0 to 1.
It is in the range of 27 and the most significant bit is always 0. On the other hand, regarding the convex / concave section of the waveform held in the bidirectional RAM 49, 255 is assigned to the concave waveform and 0 is assigned to the convex waveform. Therefore, when the comparator 4B compares the convex / concave section of the waveform with the output of the adder 47, the output of the comparator 4B follows only the convex / concave section of the waveform regardless of the output of the adder 47. Determined. Therefore, when the count value CNT is 12 and 13, the drive signal generation circuit 4C determines the convex / concave of the waveform of the three-phase binary signal to be output according to the "convex / concave section of the waveform" information. That is, when the convex / concave section of the waveform is 0: OFF while (current angle) ≦ (first phase angle 1) (first phase angle 1) <(current angle) ≦ (first phase) When the angle 2) of the waveform is on, the binary signal (S5) that is off during the angle 2 of the first phase <(the current angle) is generated, and when the convex / concave section of the waveform is 255: ( On while (current angle) ≤ (angle 1 of the first phase) (off angle 1 of first phase) <(angle of the first phase) ≤ (angle 2 of the first phase) (angle of the first phase) 2) A binary signal (S5) that is ON during <(current angle) is generated. The same applies to the second-phase and third-phase binary signals (S5).

【0111】駆動信号生成回路4Cが生成する第1相,
第2相および第3相の2値信号(S5)は、それぞれ駆
動信号生成回路4Cから出力されてラッチ4Dに入力さ
れる。そして、全ての2値信号の状態が確定するタイミ
ング(CNT:13)でラッチ制御回路45から出力さ
れるラッチ制御信号LTCH1に同期して現われる制御
信号LAT0によって、駆動信号生成回路4Cが出力す
る3つの2値信号はラッチ4Dにラッチされ、3相の2
値信号S5として、出力判定回路17に印加される。
The first phase generated by the drive signal generation circuit 4C,
The second-phase and third-phase binary signals (S5) are output from the drive signal generation circuit 4C and input to the latch 4D. The drive signal generation circuit 4C outputs 3 according to the control signal LAT0 that appears in synchronization with the latch control signal LTCH1 output from the latch control circuit 45 at the timing (CNT: 13) when the states of all binary signals are determined. The two binary signals are latched by the latch 4D and the three-phase two
The value signal S5 is applied to the output determination circuit 17.

【0112】上記実施例においては、第1の状態と第2
の状態とのフィ−ドバック補償量CP1の大きさを切換
えるために、前記第(1)式と第(2)式とで、互いに異なる
係数Kp1,Kd1,Ki1,Kp2,Kd2,及びKi2を用いて
いる。しかし、第1の状態と第2の状態とで大きさが変
わるように、ステップ88,89の前で予め加速度偏差
Eaを補正する処理を実施すれば、ステップ88,89
では、前記第(1)式と第(2)式のいずれか一方を第1の状
態と第2の状態とで共通に利用することができる。
In the above embodiment, the first state and the second state
In order to switch the magnitude of the feedback compensation amount CP1 from the above condition, different coefficients Kp1, Kd1, Ki1, Kp2, Kd2 and Ki2 are used in the equations (1) and (2). ing. However, if a process of correcting the acceleration deviation Ea is performed in advance before steps 88 and 89 so that the magnitude is changed between the first state and the second state, steps 88 and 89 are performed.
Then, either one of the equations (1) and (2) can be commonly used in the first state and the second state.

【0113】[0113]

【発明の効果】請求項1によれば、目標加速度が実加速
度よりも大きい第1の状態におけるフィ−ドバック補償
量に比べて、目標加速度が実加速度よりも小さい第2の
状態におけるフィ−ドバック補償量を小さくするので、
電気モ−タの加速特性を改善することができる。しか
も、加速度のフィ−ドバック制御によって、回転子の振
動を充分に抑制し、騒音を低減しうる。
According to the first aspect of the invention, compared to the feedback compensation amount in the first state where the target acceleration is larger than the actual acceleration, the feedback in the second state where the target acceleration is smaller than the actual acceleration is compared. Because the amount of compensation is small,
The acceleration characteristics of the electric motor can be improved. Moreover, the vibration feedback of the acceleration can sufficiently suppress the vibration of the rotor and reduce the noise.

【0114】請求項3によれば、更に、電気モ−タの回
転位置(角度)毎に付勢量(例えば電流値)を微妙に調
整することができるので、モ−タの回転を円滑にするの
に効果的である。しかも、フィ−ドバック制御の応答性
が悪化する恐れがないので、フィ−ドバック制御によっ
て効果的に回転子の振動を抑制しうる。
Further, according to the third aspect, since the biasing amount (for example, current value) can be finely adjusted for each rotation position (angle) of the electric motor, the rotation of the motor can be made smooth. It is effective to do. Moreover, since there is no fear that the responsiveness of the feedback control is deteriorated, the vibration of the rotor can be effectively suppressed by the feedback control.

【図面の簡単な説明】[Brief description of drawings]

【図1】 実施例のモ−タ駆動装置の構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of a motor drive device of an embodiment.

【図2】 図1の一部分の詳細な構成を示すブロック図
である。
FIG. 2 is a block diagram showing a detailed configuration of a part of FIG.

【図3】 図2のタイミング制御回路17cを示すブロ
ック図である。
FIG. 3 is a block diagram showing a timing control circuit 17c of FIG.

【図4】 図1の電流波形生成回路15の構成を示すブ
ロック図である。
4 is a block diagram showing a configuration of a current waveform generation circuit 15 of FIG.

【図5】 電流波形生成回路15のメモリの内容と生成
する波形との対応を示す模式図である。
FIG. 5 is a schematic diagram showing the correspondence between the contents of the memory of the current waveform generation circuit 15 and the generated waveform.

【図6】 電流波形生成回路15の動作を示すタイムチ
ャ−トである。
FIG. 6 is a time chart showing the operation of the current waveform generation circuit 15.

【図7】 図1の方向検出回路5の構成を示すブロック
図である。
7 is a block diagram showing a configuration of a direction detection circuit 5 in FIG.

【図8】 方向検出回路5の動作を示すタイムチャ−ト
である。
FIG. 8 is a time chart showing the operation of the direction detection circuit 5.

【図9】 電流波形生成回路15の出力と補償後の信号
を示すタイムチャ−トである。
FIG. 9 is a time chart showing the output of the current waveform generation circuit 15 and the signal after compensation.

【図10】 図2のタイミング制御回路17cの動作を
示すタイムチャ−トである。
10 is a time chart showing the operation of the timing control circuit 17c of FIG.

【図11】 図2のタイミング制御回路17cと改良前
の装置の動作を示すタイムチャ−トである。
11 is a time chart showing the operation of the timing control circuit 17c of FIG. 2 and the device before improvement.

【図12】 電流の基準レベルVr2と負荷に流れる電
流の波形を示すタイムチャ−トである。
FIG. 12 is a time chart showing waveforms of a current reference level Vr2 and a current flowing through a load.

【図13】 PWMマップメモリ13bの内容を示すマ
ップである。
FIG. 13 is a map showing the contents of a PWM map memory 13b.

【図14】 CPU11の処理を示すフロ−チャ−トで
ある。
FIG. 14 is a flowchart showing the processing of the CPU 11.

【図15】 CPU11のタイマ割込処理の一部分を示
すフロ−チャ−トである。
FIG. 15 is a flowchart showing a part of the timer interrupt processing of the CPU 11.

【図16】 CPU11のタイマ割込処理の残りの部分
を示すフロ−チャ−トである。
FIG. 16 is a flowchart showing the remaining part of the timer interrupt process of the CPU 11.

【図17】 加速度及び速度の変化の一例を示すタイム
チャ−トである。
FIG. 17 is a time chart showing an example of changes in acceleration and velocity.

【図18】 SRモ−タ内部の基本構造を示す正面図で
ある。
FIG. 18 is a front view showing the basic structure inside the SR motor.

【図19】 電流マップメモリ13aの内容を示すマッ
プである。
FIG. 19 is a map showing the contents of a current map memory 13a.

【図20】 実施例のSRモ−タ1を駆動する場合の基
本的な電流波形の例を示すタイムチャ−トである。
FIG. 20 is a time chart showing an example of a basic current waveform when driving the SR motor 1 of the embodiment.

【図21】 波形マップメモリ13cの内容を示すマッ
プである。
FIG. 21 is a map showing the contents of the waveform map memory 13c.

【図22】 加速度,電流値,及び帰還量の変化例を示
すタイムチャ−トである。
FIG. 22 is a time chart showing an example of changes in acceleration, current value, and feedback amount.

【図23】 通電回路に流れる電流の経路を示すブロッ
ク図である。
FIG. 23 is a block diagram showing a path of a current flowing through a conducting circuit.

【図24】 通電回路に流れる電流の経路を示すブロッ
ク図である。
FIG. 24 is a block diagram showing a path of a current flowing through an energization circuit.

【符号の説明】[Explanation of symbols]

1:SRモ−タ 1a,1b,1c,
CL:コイル 2,3,4:電流センサ 5:方向検出回路 6:D/A変換器 7:比較回路 7a:アナログ比較器 11:CPU 12:入力インタ−
フェ−ス 13a:電流マップメモリ 13b:PWMマッ
プメモリ 13c:波形マップメモリ 14:電源回路 15:電流波形生成回路 16:加算回路 16a,16b:加
算器 17:出力判定回路 18,19,1A:
ドライバ 18a,18b:トランジスタ(IGBT) 18c,18d:ダイオ−ド 18e,18f:電
源ライン 41:ラッチ 42:タイミングパ
ルス発生回路 43:カウンタ制御回路 44:4ビットカウ
ンタ 45:ラッチ制御回路 46:角度補正出力
回路 47:加算器 48:アドレス制御
回路 49:双方向RAM 4A:バンク切換回
路 4B:コンパレ−タ 4C:駆動信号生成
回路 4D,4E:ラッチ R:回転子 S:固定子 Ra〜Rd,Sa〜
Sf:極部
1: SR motors 1a, 1b, 1c,
CL: Coil 2, 3, 4: Current sensor 5: Direction detection circuit 6: D / A converter 7: Comparison circuit 7a: Analog comparator 11: CPU 12: Input interface
Phase 13a: Current map memory 13b: PWM map memory 13c: Waveform map memory 14: Power supply circuit 15: Current waveform generation circuit 16: Addition circuit 16a, 16b: Adder 17: Output determination circuit 18, 19, 1A:
Driver 18a, 18b: Transistor (IGBT) 18c, 18d: Diode 18e, 18f: Power supply line 41: Latch 42: Timing pulse generation circuit 43: Counter control circuit 44: 4-bit counter 45: Latch control circuit 46: Angle correction Output circuit 47: Adder 48: Address control circuit 49: Bidirectional RAM 4A: Bank switching circuit 4B: Comparator 4C: Drive signal generation circuit 4D, 4E: Latch R: Rotor S: Stator Ra to Rd, Sa ~
Sf: pole part

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 電気モ−タ;前記電気モ−タの通電を制
御するモ−タ付勢手段;前記電気モ−タの目標加速度を
決定する加速度決定手段;前記電気モ−タの実加速度を
検出する加速度検出手段;前記加速度決定手段が決定し
た目標加速度と、前記加速度検出手段が検出した実加速
度と、フィ−ドバックル−プゲインを決定するパラメ−
タとに応じたフィ−ドバック補償量を生成して、前記電
気モ−タの付勢量を抑制するように前記フィ−ドバック
補償量を前記モ−タ付勢手段に入力する負帰還制御手
段;および前記目標加速度と前記実加速度との大小関係
を調べて、目標加速度が実加速度よりも大きい第1の状
態と、目標加速度が実加速度よりも小さい第2の状態と
を識別し、第1の状態と第2の状態とで、前記パラメ−
タを切換え、第1の状態におけるフィ−ドバック補償量
に比べて、第2の状態におけるフィ−ドバック補償量を
減らすフィ−ドバックゲイン切換手段;を備える電気モ
−タの通電制御装置。
1. An electric motor; a motor energizing means for controlling energization of the electric motor; an acceleration determining means for determining a target acceleration of the electric motor; and an actual acceleration of the electric motor. An acceleration detecting means for detecting the target acceleration determined by the acceleration determining means, an actual acceleration detected by the acceleration detecting means, and a parameter for determining a feedback loop gain.
Negative feedback control means for generating a feedback compensation amount according to the motor and inputting the feedback compensation amount to the motor energizing means so as to suppress the energizing amount of the electric motor. ; And the magnitude relationship between the target acceleration and the actual acceleration is checked to identify a first state in which the target acceleration is larger than the actual acceleration and a second state in which the target acceleration is smaller than the actual acceleration. And the second state, the parameter
An energization control device for an electric motor, comprising: a feedback gain switching means for switching the controller to reduce the feedback compensation amount in the second state compared to the feedback compensation amount in the first state.
【請求項2】 前記加速度検出手段は、前記電気モ−タ
の回転速度を検出する速度検出手段と、該手段によって
検出された速度の単位時間あたりの変化量を検出する速
度差分検出手段を含む、前記請求項1記載の電気モ−タ
の通電制御装置。
2. The acceleration detecting means includes speed detecting means for detecting the rotational speed of the electric motor, and speed difference detecting means for detecting the amount of change in the speed detected by the means per unit time. An energization control device for an electric motor according to claim 1.
【請求項3】 電気モ−タ;前記電気モ−タの回転子の
回転位置毎の付勢量目標値を保持する通電マップ手段;
前記電気モ−タの回転子の回転位置を検出する回転位置
検出手段;前記電気モ−タの実際の付勢量を検出する付
勢量検出手段;前記回転位置検出手段が検出した回転位
置に基づいて、前記通電マップ手段に保持された付勢量
目標値を入力し、該付勢量目標値と前記付勢量検出手段
が検出した付勢量とに応じて前記電気モ−タの通電を制
御するモ−タ付勢手段;前記電気モ−タの目標加速度を
決定する加速度決定手段;前記電気モ−タの回転速度の
変化および目標加速度の変化に対応して、前記通電マッ
プ手段が保持する付勢量目標値を更新する、マップ制御
手段;前記電気モ−タの実加速度を検出する加速度検出
手段;前記加速度決定手段が決定した目標加速度と、前
記加速度検出手段が検出した実加速度と、フィ−ドバッ
クル−プゲインを決定するパラメ−タとに応じたフィ−
ドバック補償量を生成する負帰還制御手段;該負帰還制
御手段が生成したフィ−ドバック補償量を、前記マップ
制御手段から独立した経路で前記モ−タ付勢手段の入力
に加算する、補償量加算手段;および前記目標加速度と
前記実加速度との大小関係を調べて、目標加速度が実加
速度よりも大きい第1の状態と、目標加速度が実加速度
よりも小さい第2の状態とを識別し、第1の状態と第2
の状態とで、前記パラメ−タを切換え、第1の状態にお
けるフィ−ドバック補償量に比べて、第2の状態におけ
るフィ−ドバック補償量を減らすフィ−ドバックゲイン
切換手段;を備える電気モ−タの通電制御装置。
3. An electric motor; an energization map means for holding a target value of an urging amount for each rotational position of a rotor of the electric motor.
Rotational position detecting means for detecting the rotational position of the rotor of the electric motor; Energizing amount detecting means for detecting the actual energizing amount of the electric motor; Rotational position detected by the rotating position detecting means Based on the energization amount target value held in the energization map means, the energization of the electric motor is performed according to the energization amount target value and the energization amount detected by the energization amount detection means. A motor urging means for controlling the electric motor; an acceleration deciding means for deciding a target acceleration of the electric motor; and an energization map means for responding to a change in the rotational speed of the electric motor and a change in the target acceleration. Map control means for updating the urging amount target value to be held; acceleration detecting means for detecting the actual acceleration of the electric motor; target acceleration determined by the acceleration determining means and actual acceleration detected by the acceleration detecting means. And the feedback buckle gain Constant to parameters - Fi in response to the other -
Negative feedback control means for generating feedback compensation amount; compensation amount for adding feedback compensation amount generated by the negative feedback control means to the input of the motor energizing means through a path independent of the map control means An adding unit; and a magnitude relationship between the target acceleration and the actual acceleration are checked to identify a first state in which the target acceleration is larger than the actual acceleration and a second state in which the target acceleration is smaller than the actual acceleration, First state and second
The electric mode including the feedback gain switching means for switching the parameters depending on the state, and reducing the feedback compensation amount in the second state as compared with the feedback compensation amount in the first state. Power control device.
【請求項4】 前記加速度検出手段は、前記電気モ−タ
の回転速度を検出する速度検出手段と、該手段によって
検出された速度の単位時間あたりの変化量を検出する速
度差分検出手段を含む、前記請求項3記載の電気モ−タ
の通電制御装置。
4. The acceleration detecting means includes speed detecting means for detecting the rotational speed of the electric motor and speed difference detecting means for detecting the amount of change in the speed detected by the means per unit time. An energization control device for an electric motor according to claim 3.
JP7214363A 1995-08-23 1995-08-23 Current carrying controller of electric motor Pending JPH0965685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7214363A JPH0965685A (en) 1995-08-23 1995-08-23 Current carrying controller of electric motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7214363A JPH0965685A (en) 1995-08-23 1995-08-23 Current carrying controller of electric motor

Publications (1)

Publication Number Publication Date
JPH0965685A true JPH0965685A (en) 1997-03-07

Family

ID=16654554

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7214363A Pending JPH0965685A (en) 1995-08-23 1995-08-23 Current carrying controller of electric motor

Country Status (1)

Country Link
JP (1) JPH0965685A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007071073A (en) * 2005-09-06 2007-03-22 Honda Motor Co Ltd Load driving device and engine starting control device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007071073A (en) * 2005-09-06 2007-03-22 Honda Motor Co Ltd Load driving device and engine starting control device
JP4669762B2 (en) * 2005-09-06 2011-04-13 本田技研工業株式会社 Engine start control device

Similar Documents

Publication Publication Date Title
JPH0998594A (en) Conduction control method for electric motor
JP3268573B2 (en) Control device for switched reluctance motor
JP3381107B2 (en) Chopping energization control device
JP3564582B2 (en) Switched reluctance motor energization control device
JPH07274570A (en) Controller for switched reluctance motor
JP3697623B2 (en) Chopping current controller
JP4517456B2 (en) Motor control device
JP3803781B2 (en) Electric motor energization control device
JPH07274569A (en) Controller for power supply to electric motor
JPH0965686A (en) Current carrying controller of electric motor
JPH0965685A (en) Current carrying controller of electric motor
JP6286287B2 (en) Motor regeneration control device and motor regeneration control system
JP3406995B2 (en) Chopping energization control device
EP0948125A2 (en) Energisation control of a switched reluctance motor
JP4037321B2 (en) Electro-hydraulic power steering device
JP3416684B2 (en) Energization control device for electric motor
JP2002101693A (en) Controller of electric motor
JP3256840B2 (en) Drive control device for brushless motor
JP3801731B2 (en) Electric motor energization control device
JPH04251592A (en) Controller of wheel driving motor for electric vehicle
JP2767827B2 (en) Rotation control device for variable reluctance motor
US5122716A (en) Apparatus for reversibly controlling a motor
JP2001069789A (en) Chopping conduction unit
JP3546782B2 (en) Synchronous motor and control method thereof
JP4037536B2 (en) Motor control device