JP2019015141A - Control device for opening/closing body for vehicle - Google Patents

Control device for opening/closing body for vehicle Download PDF

Info

Publication number
JP2019015141A
JP2019015141A JP2017134801A JP2017134801A JP2019015141A JP 2019015141 A JP2019015141 A JP 2019015141A JP 2017134801 A JP2017134801 A JP 2017134801A JP 2017134801 A JP2017134801 A JP 2017134801A JP 2019015141 A JP2019015141 A JP 2019015141A
Authority
JP
Japan
Prior art keywords
operation amount
feedforward
closing body
feedback
amount
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.)
Granted
Application number
JP2017134801A
Other languages
Japanese (ja)
Other versions
JP7005972B2 (en
Inventor
浩司 長瀬
Koji Nagase
浩司 長瀬
菊田 岳史
Takeshi Kikuta
岳史 菊田
伸康 別所
Nobuyasu Bessho
伸康 別所
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 JP2017134801A priority Critical patent/JP7005972B2/en
Publication of JP2019015141A publication Critical patent/JP2019015141A/en
Application granted granted Critical
Publication of JP7005972B2 publication Critical patent/JP7005972B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power-Operated Mechanisms For Wings (AREA)

Abstract

To make it possible to suppress variation in displacement speed of a movable panel 14.SOLUTION: A CPU 62 calculates the sum of a feedforward operation variable Mff which is an operation variable for feedforward control of a rotational speed of a motor 32 to a target value, and a feedback operation variable Mfb for feedback control to obtain a target voltage V* to be applied to the motor 32, where the feedback operation variable Mfb is a sum of a feedback operation variable P calculated using a proportional element and a feedback operation variable I calculated using an integral element. Then, the CPU 62 operates an H bridge circuit 50 so that a voltage actually applied to the motor 32 becomes the target voltage V*. When a displacement control of the movable panel 14 is being executed, the CPU 62 stores the feedback operation variable I and updates the feed forward operation variable Mff based on this.SELECTED DRAWING: Figure 1

Description

本発明は、車両用開閉体を変位させる動力を生成するモータの駆動回路を操作する車両用開閉体の制御装置に関する。   The present invention relates to a control device for a vehicle opening / closing body that operates a drive circuit of a motor that generates power for displacing the vehicle opening / closing body.

たとえば特許文献1には、車両に設けられたスライドドア(車両用開閉体)の変位速度(制御量)を目標速度に制御するためのモータの駆動回路の操作量を、フィードフォワード制御の操作量であるフィードフォワード操作量とフィードバック制御の操作量であるフィードバック操作量との和によって算出する制御装置が記載されている。   For example, Patent Document 1 discloses an operation amount of a motor drive circuit for controlling a displacement speed (control amount) of a slide door (vehicle opening / closing body) provided in a vehicle to a target speed, and an operation amount of feedforward control. Describes a control device that calculates a sum of a feedforward operation amount that is and a feedback operation amount that is an operation amount of feedback control.

特開2003−182368号公報JP 2003-182368 A

フィードバック制御は、変位速度が目標速度から乖離することによりこれを解消しようとするものであることから、変位速度の変動を伴う。これに対し、上記制御装置によれば、フィードフォワード操作量を用いることにより、フィードバック操作量のみから駆動回路の操作量を算出する場合と比較すると、変位速度の変動を抑制することができる。ただし、モータの個体差や経年変化、さらには車両用開閉体の摺動部の摺動抵抗の個体差や経年変化等に起因して、フィードフォワード操作量のみによって実現される変位速度が目標速度から大きくずれうるおそれがあり、結果として、変位速度の変動が大きくなるおそれがある。   The feedback control is accompanied by fluctuations in the displacement speed because the displacement speed is to be resolved by deviating from the target speed. On the other hand, according to the above control device, it is possible to suppress fluctuations in the displacement speed by using the feedforward operation amount as compared with the case where the operation amount of the drive circuit is calculated only from the feedback operation amount. However, due to individual differences and aging of motors, and individual differences and aging of sliding resistance of sliding parts of vehicle opening / closing bodies, the displacement speed realized only by the feedforward operation amount is the target speed. There is a possibility that the displacement speed may be greatly deviated from the distance, and as a result, the variation in the displacement speed may be increased.

以下、上記課題を解決するための手段およびその作用効果について記載する。
1.車両用開閉体の制御装置は、車両の開口部の開口度を調整する車両用開閉体の変位速度と正の相関を有するパラメータを制御量とし、該制御量を目標値にフィードフォワード制御するための操作量であるフィードフォワード操作量を記憶する記憶装置と、処理回路とを備え、前記処理回路は、前記記憶装置に記憶されたフィードフォワード操作量と、前記制御量を前記目標値にフィードバック制御するための操作量であるフィードバック操作量とに応じた2自由度操作量に基づき、前記車両用開閉体を変位させる動力を生成するモータの駆動回路を操作する操作処理と、前記フィードバック操作量を入力とし、前記記憶装置に記憶されている前記フィードフォワード操作量を、前記入力となるフィードバック操作量の算出時よりも前記制御量の前記目標値に対する誤差が小さくなるように更新する更新処理と、を実行する。
Hereinafter, means for solving the above-described problems and the effects thereof will be described.
1. A control device for a vehicular opening / closing body uses a parameter having a positive correlation with a displacement speed of the vehicular opening / closing body that adjusts the opening degree of the opening of the vehicle as a control amount, and feedforward-controls the control amount to a target value A storage device that stores a feedforward operation amount that is an operation amount of the control unit, and a processing circuit, wherein the processing circuit feedback-controls the feedforward operation amount stored in the storage device and the control amount to the target value. An operation process for operating a drive circuit of a motor that generates power for displacing the opening / closing body for the vehicle, based on a 2-degree-of-freedom operation amount corresponding to a feedback operation amount that is an operation amount for performing the operation, and the feedback operation amount The amount of feedforward operation stored in the storage device as an input is greater than the amount of control than when calculating the amount of feedback operation to be input. It executes, and update processing for updating so that the error becomes smaller with respect to the target value.

車両用開閉体の摺動抵抗の個体差や経年変化、モータの個体差や経年変化等に起因して、フィードフォワード操作量が制御量を目標値に制御する上で適切な操作量からずれる場合、このずれは、フィードバック操作量によって補償される。この場合、フィードバック操作量には、上記個体差や経年変化が反映される。このため、上記構成では、フィードフォワード操作量を、フィードバック操作量に基づき更新する。これにより、更新後のフィードフォワード操作量に上記個体差や経年変化が反映され、フィードフォワード操作量によって実現される制御量が目標値に追従しやすくなる。このため、上記構成によれば、当初設定されていたフィードフォワード操作量によっては制御量を目標値とするうえで誤差が生じる場合であっても、制御量の変動を抑制することができる。   When the feedforward manipulated variable deviates from the appropriate manipulated variable to control the controlled variable to the target value due to individual differences or aging of the sliding resistance of the vehicle opening / closing body, individual differences or aging of the motor, etc. This deviation is compensated by the feedback manipulated variable. In this case, the individual difference and the secular change are reflected in the feedback operation amount. For this reason, in the above configuration, the feedforward operation amount is updated based on the feedback operation amount. As a result, the individual difference and the secular change are reflected in the updated feedforward manipulated variable, and the control variable realized by the feedforward manipulated variable easily follows the target value. For this reason, according to the said structure, even if it is a case where an error arises by making the control amount into a target value depending on the feedforward manipulated variable set initially, the fluctuation | variation of a control amount can be suppressed.

2.上記1記載の車両用開閉体の制御装置において、前記記憶装置には、前記車両用開閉体の位置毎に、前記フィードフォワード操作量が記憶されており、前記更新処理は、前記車両用開閉体の位置毎に、該当する位置における前記フィードバック操作量に基づき、該当する位置における前記フィードフォワード操作量を更新する処理である。   2. 2. The control device for a vehicle opening / closing body according to 1 above, wherein the storage device stores the feedforward operation amount for each position of the vehicle opening / closing body, and the update processing is performed by the vehicle opening / closing body. For each position, the feedforward operation amount at the corresponding position is updated based on the feedback operation amount at the corresponding position.

車両用開閉体を変位させるうえでモータに要求されるトルクの大きさは、車両用開閉体の位置に応じて変動することがある。この場合、フィードフォワード操作量を制御量を目標値に制御する上で適切な値とするうえでは、フィードフォワード操作量を位置に応じて異なる値に設定可能とすることが望ましい。このため、上記構成では、更新処理によって車両用開閉体の位置毎にフィードフォワード操作量を更新することにより、フィードフォワード操作量を、車両用開閉体の位置毎に互いに異なる値に設定可能とした。   The magnitude of torque required for the motor to displace the vehicle opening / closing body may vary depending on the position of the vehicle opening / closing body. In this case, in order to set the feedforward manipulated variable to an appropriate value for controlling the controlled variable to the target value, it is desirable that the feedforward manipulated variable can be set to a different value depending on the position. Therefore, in the above configuration, the feedforward operation amount can be set to a different value for each position of the vehicle opening / closing body by updating the feedforward operation amount for each position of the vehicle opening / closing body by the update process. .

3.上記1または2記載の車両用開閉体の制御装置において、前記2自由度操作量は、前記モータに印加する電圧であり、前記更新処理は、前記フィードバック操作量が同一である場合、前記記憶装置に記憶されている前記フィードフォワード操作量が、前記モータの温度が高い場合に低い場合よりも小さい値となるように更新する規格化処理を含み、前記処理回路は、前記記憶装置に記憶されている前記フィードフォワード操作量を入力とし、前記2自由度操作量の算出に用いられるフィードフォワード操作量を、前記モータの温度が高い場合に低い場合よりも大きい量とする温度補正処理を実行する。   3. 3. The control device for a vehicle opening / closing body according to 1 or 2, wherein the two-degree-of-freedom operation amount is a voltage to be applied to the motor, and the update process is performed when the feedback operation amount is the same. A normalization process in which the feedforward manipulated variable stored in is updated so as to be smaller than a low value when the motor temperature is high, and the processing circuit is stored in the storage device. The feedforward manipulated variable is input, and a temperature correction process is performed in which the feedforward manipulated variable used for calculating the two-degree-of-freedom manipulated variable is greater when the motor temperature is high than when it is low.

モータに印加する電圧が同一であっても、モータの温度が高い場合には低い場合よりもモータを流れる電流が小さくなり、ひいてはモータのトルクが小さくなる。このため、たとえば高温時におけるフィードバック操作量に基づき更新されたフィードフォワード操作量を低温時に用いる場合、制御量を目標値に制御する上で適切なトルクに対しモータの実際のトルクが過度に大きくなるおそれがある。   Even if the voltage applied to the motor is the same, when the motor temperature is high, the current flowing through the motor is smaller than when it is low, and as a result, the motor torque is small. For this reason, for example, when the feedforward manipulated variable updated based on the feedback manipulated variable at a high temperature is used at a low temperature, the actual torque of the motor becomes excessive with respect to an appropriate torque for controlling the controlled variable to the target value. There is a fear.

そこで、上記構成では、モータの温度が高い場合に低い場合よりもフィードフォワード操作量を小さい値に更新することにより、更新処理によって補正されたフィードフォワード操作量を、モータの温度が所定温度であるときに適切な値に規格化することができる。そして、温度補正処理により、2自由度操作量の算出に用いるフィードフォワード操作量を、モータの温度が高い場合に低い場合よりも大きい量とすることにより、モータの温度に応じた適切な量とすることができる。   Therefore, in the above configuration, when the motor temperature is high, the feedforward operation amount is updated to a smaller value than when the motor temperature is low, so that the feedforward operation amount corrected by the update process is equal to the motor temperature. Sometimes it can be normalized to an appropriate value. And by the temperature correction process, the feedforward operation amount used for the calculation of the two-degree-of-freedom operation amount is set to an amount larger than when the motor temperature is high, so that an appropriate amount according to the motor temperature is obtained. can do.

4.上記1または2記載の車両用開閉体の制御装置において、前記操作処理は、前記駆動回路のスイッチング素子を周期的にオン・オフ操作する際のオン・オフの周期に対するオン時間の時比率を操作することにより、前記モータに印加する電圧を操作するものであり、前記2自由度操作量は、前記時比率であり、前記更新処理は、前記フィードバック操作量が同一である場合、前記記憶装置に記憶されている前記フィードフォワード操作量が、前記モータの温度が高い場合に低い場合よりも小さい値となるように更新する規格化処理を含み、前記処理回路は、前記記憶装置に記憶されている前記フィードフォワード操作量を入力とし、前記2自由度操作量の算出に用いられるフィードフォワード操作量を、前記モータの温度が高い場合に低い場合よりも大きい量とする温度補正処理を実行する。   4). 3. The control device for a vehicle opening / closing body according to 1 or 2, wherein the operation processing is performed by operating a time ratio of an on time to an on / off cycle when the switching element of the drive circuit is periodically turned on / off. The two-degree-of-freedom operation amount is the duty ratio, and the update processing is performed in the storage device when the feedback operation amount is the same. Including a normalization process in which the stored feedforward manipulated variable is updated to be a smaller value when the motor temperature is high than when the motor temperature is low, and the processing circuit is stored in the storage device When the feedforward manipulated variable is used as an input and the feedforward manipulated variable used for calculating the two-degree-of-freedom manipulated variable is low when the motor temperature is high, It executes the temperature correction processing for the greater amount than.

上記時比率が同一であっても、モータの温度が高い場合には低い場合よりもモータを流れる電流が小さくなり、ひいてはモータのトルクが小さくなる。このため、たとえば高温時におけるフィードバック操作量に基づき更新されたフィードフォワード操作量を低温時に用いる場合、制御量を目標値に制御する上で適切なトルクに対しモータの実際のトルクが過度に大きくなるおそれがある。   Even if the time ratio is the same, when the motor temperature is high, the current flowing through the motor is smaller than when the motor temperature is low, and thus the torque of the motor is small. For this reason, for example, when the feedforward manipulated variable updated based on the feedback manipulated variable at a high temperature is used at a low temperature, the actual torque of the motor becomes excessive with respect to an appropriate torque for controlling the controlled variable to the target value. There is a fear.

そこで、上記構成では、モータの温度が高い場合に低い場合よりもフィードフォワード操作量を小さい値に更新することにより、更新処理によって補正されたフィードフォワード操作量を、モータの温度が所定温度であるときに適切な値に規格化することができる。そして、温度補正処理により、2自由度操作量の算出に用いるフィードフォワード操作量を、モータの温度が高い場合に低い場合よりも大きい量とすることにより、モータの温度に応じた適切な量とすることができる。   Therefore, in the above configuration, when the motor temperature is high, the feedforward operation amount is updated to a smaller value than when the motor temperature is low, so that the feedforward operation amount corrected by the update process is equal to the motor temperature. Sometimes it can be normalized to an appropriate value. And by the temperature correction process, the feedforward operation amount used for the calculation of the two-degree-of-freedom operation amount is set to an amount larger than when the motor temperature is high, so that an appropriate amount according to the motor temperature is obtained. can do.

5.上記1〜4のいずれか1つに記載の車両用開閉体の制御装置において、前記更新処理は、前記車両が走行しているときの前記フィードバック操作量を利用して前記記憶装置に記憶されている前記フィードフォワード操作量を更新しない。   5. 5. The vehicle opening / closing member control apparatus according to any one of 1 to 4, wherein the update process is stored in the storage device using the feedback operation amount when the vehicle is traveling. The feedforward operation amount is not updated.

車両が走行している場合には、走行していない場合と比較して、制御量に外乱が加わりやすい。このため、車両が走行しているときのフィードバック操作量に基づき更新処理を実行する場合には、走行していない場合のフィードバック操作量に基づき更新処理を実行する場合と比較して、フィードフォワード操作量が、外乱に大きく影響されやすい。そこで上記構成では、車両が走行しているときのフィードバック操作量を利用してフィードフォワード操作量を更新しないことにより、フィードフォワード操作量が意図せぬ様々な外乱を反映した値に更新されることを抑制する。   When the vehicle is traveling, a disturbance is more likely to be added to the control amount than when the vehicle is not traveling. Therefore, when the update process is executed based on the feedback operation amount when the vehicle is traveling, the feedforward operation is performed as compared with the case where the update process is performed based on the feedback operation amount when the vehicle is not traveling. The quantity is highly sensitive to disturbances. Therefore, in the above configuration, the feedforward operation amount is not updated using the feedback operation amount when the vehicle is traveling, so that the feedforward operation amount is updated to a value reflecting various unintended disturbances. Suppress.

6.上記1〜5のいずれか1つに記載の車両用開閉体の制御装置において、前記制御量は、前記車両用開閉体の変位速度である。
車両用開閉体の変位速度は、車両用開閉体の動作を直接的に定量化したものであるため、変位速度の目標値を設定して変位速度を目標値に制御することにより、目標値の設定によって、車両用開閉体の動作を、ユーザにとって違和感のない動作に制御しやすい。しかし、車両用開閉体の変位速度は、モータのトルクによって一義的には定まらないため、変位速度を目標値に制御する際には、誤差が生じやすい。このため、フィードフォワード操作量を高精度なものに学習していく更新処理の利用価値が特に大きい。
6). 6. The control device for a vehicle opening / closing body according to any one of 1 to 5 above, wherein the control amount is a displacement speed of the vehicle opening / closing body.
Since the displacement speed of the vehicle opening / closing body is a direct quantification of the operation of the vehicle opening / closing body, by setting the target value of the displacement speed and controlling the displacement speed to the target value, By setting, it is easy to control the operation of the vehicle opening / closing body to an operation that does not give the user a sense of incongruity. However, since the displacement speed of the vehicle opening / closing body is not uniquely determined by the torque of the motor, an error is likely to occur when the displacement speed is controlled to the target value. For this reason, the utility value of the update process which learns the feedforward manipulated variable with high accuracy is particularly great.

7.上記6記載の車両用開閉体の制御装置において、前記操作処理の実行時において前記車両用開閉体の変位速度の低下量が所定量以上となることを条件に前記車両用開閉体の変位方向を反転させる反転処理を実行する。   7). 7. The control device for a vehicle opening / closing body according to 6 above, wherein the displacement direction of the vehicle opening / closing body is determined on condition that a decrease amount of a displacement speed of the vehicle opening / closing body is equal to or greater than a predetermined amount when the operation process is executed. Execute the inversion process to invert.

車両用開閉体の変位に伴って開口度が縮小していく際に、車両用開閉体が異物を挟み込む場合、車両用開閉体の変位速度が低下する。そこで、上記構成では、変位速度の低下量が所定値以上である場合、挟み込みを検出したとして、反転処理によって車両用開閉体の変位方向を反転させることにより、異物に加わる力を抑制することができる。ただし、フィードバック制御のゲインが大きい場合には、異物を挟み込んだ際にフィードバック制御によって変位速度の低下が抑制されるため、挟み込みを検出するまでに要する時間が伸長するおそれがある。これに対し、上記構成では、更新処理によってフィードフォワード操作量の精度を向上させることができることから、変位速度を目標値に制御する上での制御精度の低下を十分に抑制しつつもフィードバックゲインを小さい値に設定することができる。このため、フィードバック制御に起因して挟み込みを検出するまでに要する時間が伸長することを極力抑制することができる。   When the opening degree is reduced in accordance with the displacement of the vehicle opening / closing body, if the vehicle opening / closing body sandwiches a foreign object, the displacement speed of the vehicle opening / closing body decreases. Therefore, in the above configuration, when the amount of decrease in the displacement speed is equal to or greater than the predetermined value, it is possible to suppress the force applied to the foreign matter by reversing the displacement direction of the vehicle opening / closing body by reversing processing, assuming that pinching has been detected. it can. However, when the gain of the feedback control is large, since the decrease in the displacement speed is suppressed by the feedback control when the foreign object is sandwiched, there is a possibility that the time required to detect the sandwiching may be extended. On the other hand, in the above configuration, the accuracy of the feedforward manipulated variable can be improved by the update process. Therefore, the feedback gain can be increased while sufficiently suppressing the decrease in the control accuracy in controlling the displacement speed to the target value. It can be set to a small value. For this reason, it can suppress as much as possible that the time required to detect the pinching due to the feedback control is extended.

第1の実施形態にかかる制御装置およびその制御対象を示す図。The figure which shows the control apparatus concerning 1st Embodiment, and its control object. 同実施形態にかかる目標速度の設定を示す図。The figure which shows the setting of the target speed concerning the embodiment. 同実施形態にかかる可動パネルの駆動処理の手順を示す流れ図。The flowchart which shows the procedure of the drive process of the movable panel concerning the embodiment. 同実施形態にかかるフィードフォワード操作量の更新に関する処理の手順を示す流れ図。The flowchart which shows the procedure of the process regarding the update of the feedforward manipulated variable concerning the embodiment. (a)および(b)は、本実施形態の操作量を例示するタイムチャート。(A) And (b) is a time chart which illustrates the operation amount of this embodiment. 第2の実施形態にかかる可動パネルの駆動処理の手順を示す流れ図。The flowchart which shows the procedure of the drive process of the movable panel concerning 2nd Embodiment. 第2の実施形態の変形例にかかる可動パネルの駆動処理の手順を示す流れ図。The flowchart which shows the procedure of the drive process of the movable panel concerning the modification of 2nd Embodiment.

<第1の実施形態>
以下、車両用開閉体の第1の実施形態について図面を参照しつつ説明する。
図1の右側には、上方から見下ろした車両10の一部が記載されている。車両10の屋根部分には、一点鎖線にて示す開口部12が形成されており、開口部12の開口度は、破線にて示す可動パネル14が開口部12の一部または全部を塞ぐことによって調整可能となっている。開口部12のうち車両の左方向YLおよび右方向YRには、ガイドレール20およびガイドレール20上を移動可能に設けられた移動体22を備えた開閉駆動機構24が設けられている。可動パネル14は、移動体22がガイドレール20上を変位することによって、変位し、開口部12の開口度を調整する。
<First Embodiment>
Hereinafter, a first embodiment of a vehicle opening / closing body will be described with reference to the drawings.
On the right side of FIG. 1, a part of the vehicle 10 as viewed from above is shown. An opening 12 indicated by a one-dot chain line is formed in the roof portion of the vehicle 10, and the opening degree of the opening 12 is determined by the movable panel 14 indicated by a broken line blocking part or all of the opening 12. It is adjustable. In the left direction YL and the right direction YR of the vehicle in the opening 12, an opening / closing drive mechanism 24 including a guide rail 20 and a movable body 22 provided on the guide rail 20 is provided. The movable panel 14 is displaced when the movable body 22 is displaced on the guide rail 20 and adjusts the opening degree of the opening 12.

開閉駆動機構24は、アクチュエータ30によって駆動される。アクチュエータ30は、モータ32とモータ32によって駆動されるベルト34とを備えている。ベルト34は、移動体22に連結されており、モータ32の回転動力によってベルト34が駆動されると、移動体22がガイドレール20上を、その一方(車両10の前方XF)から他方(車両10の後方XR)へ、または他方から一方へ変位する。これにより、モータ32によって、可動パネル14を変位させ、開口部12の開口度を調整することができる。   The opening / closing drive mechanism 24 is driven by an actuator 30. The actuator 30 includes a motor 32 and a belt 34 driven by the motor 32. The belt 34 is connected to the moving body 22, and when the belt 34 is driven by the rotational power of the motor 32, the moving body 22 moves on the guide rail 20 from one side (front XF of the vehicle 10) to the other side (vehicle). 10 backward XR) or from one to the other. Thereby, the movable panel 14 can be displaced by the motor 32, and the opening degree of the opening part 12 can be adjusted.

なお、本実施形態では、開口部12のうちの車両10の前方XF側にディフレクタ40が設けられている。ディフレクタ40は、移動体22が車両10の後方XRに変位することにより、前方XF部分に対して後方XR部分が上昇する。これは、移動体22が車両10の後方XRに変位することによって可動パネル14も後方XR側に変位し、開口部12の開口面積が拡大したときに、車室内への気流の巻き込みを抑制することを狙ったものである。なお、移動体22が車両10の前方XFに変位すると、ディフレクタ40のうち車両10の後方XR部分は下がり、可動パネル14よりも下方に位置することとなる。   In the present embodiment, the deflector 40 is provided on the front XF side of the vehicle 10 in the opening 12. When the moving body 22 is displaced to the rear XR of the vehicle 10, the rear XR portion of the deflector 40 is raised with respect to the front XF portion. This is because when the moving body 22 is displaced to the rear XR of the vehicle 10, the movable panel 14 is also displaced to the rear XR side and the opening area of the opening 12 is enlarged, thereby suppressing the entrainment of the airflow into the vehicle interior. It is aimed at. When the moving body 22 is displaced to the front XF of the vehicle 10, the rear XR portion of the vehicle 10 in the deflector 40 is lowered and is positioned below the movable panel 14.

上記モータ32は、直流モータであり、モータ32には、2組のハーフブリッジ回路を備えたHブリッジ回路50が接続されている。すなわち、モータ32の2つの端子のうちの一方には、第1のハーフブリッジ回路を構成するハイサイドスイッチSH1およびローサイドスイッチSL1の接続点が接続され、他方には、第2のハーフブリッジ回路を構成するハイサイドスイッチSH2およびローサイドスイッチSL2の接続点が接続されている。なお、Hブリッジ回路50のうちハイサイドスイッチSH1,SH2側には、バッテリ52の正極端子が接続され、ローサイドスイッチSL1,SL2側は接地されている。   The motor 32 is a DC motor, and an H bridge circuit 50 having two sets of half bridge circuits is connected to the motor 32. That is, one of the two terminals of the motor 32 is connected to a connection point of the high-side switch SH1 and the low-side switch SL1 constituting the first half-bridge circuit, and the other is connected to the second half-bridge circuit. The connection points of the high-side switch SH2 and the low-side switch SL2 that are configured are connected. In the H bridge circuit 50, the positive terminal of the battery 52 is connected to the high side switches SH1 and SH2 and the low side switches SL1 and SL2 are grounded.

制御装置60は、可動パネル14を制御対象とし、Hブリッジ回路50を操作する。制御装置60は、ユーザが開口部12の開口度の調整を指示するために操作する操作スイッチ54の出力信号に基づき、可動パネル14による開口度を制御する。制御装置60は、可動パネル14による開口度の制御のために、回転角度センサ56によって検出されるモータ32の回転角度θや温度センサ58によって検出されるモータ32の温度Tm、バッテリ52の端子電圧Vbを取得する。なお、本実施形態では、回転角度センサ56として、モータ32が所定量回転する毎にパルス信号を出力するものを想定しており、回転角度θは、パルス信号に基づき把握される。さらに、制御装置60は、車両10内の通信線70を介して車両10内の他の制御装置(他ECU72)から各種信号を取り込む。   The control device 60 operates the H bridge circuit 50 with the movable panel 14 as a control target. The control device 60 controls the opening degree of the movable panel 14 based on the output signal of the operation switch 54 that is operated by the user to instruct the adjustment of the opening degree of the opening portion 12. The control device 60 controls the rotation angle θ of the motor 32 detected by the rotation angle sensor 56, the temperature Tm of the motor 32 detected by the temperature sensor 58, and the terminal voltage of the battery 52 for controlling the degree of opening by the movable panel 14. Vb is acquired. In the present embodiment, it is assumed that the rotation angle sensor 56 outputs a pulse signal every time the motor 32 rotates by a predetermined amount, and the rotation angle θ is grasped based on the pulse signal. Furthermore, the control device 60 takes in various signals from other control devices (other ECU 72) in the vehicle 10 via the communication line 70 in the vehicle 10.

制御装置60は、CPU62、ROM64および電気的に書き換え可能な不揮発性メモリ66を備えており、ROM64に記憶されたプログラムをCPU62が実行することにより、上記制御を実行する。CPU62は、開口度が最小となる全閉位置と開口度が最大となる全開位置とのいずれか一方から他方に可動パネル14を変位させる場合、図2に示すようにモータ32の回転速度ωの目標値ω*を設定する。   The control device 60 includes a CPU 62, a ROM 64, and an electrically rewritable nonvolatile memory 66, and the CPU 62 executes the above-described control by executing a program stored in the ROM 64. When the movable panel 14 is displaced from one of the fully closed position where the opening degree is the minimum and the fully opened position where the opening degree is the maximum to the other, the CPU 62 determines the rotational speed ω of the motor 32 as shown in FIG. Set the target value ω *.

図2には、可動パネル14の変位開始位置x0が全開位置であって停止位置xcが全閉位置である場合を例示するが、可動パネル14の変位開始位置x0が全閉位置であって停止位置xcが全開位置である場合も同様な設定となる。図2に示すように、本実施形態では、目標値ω*を、原則、基準値ωtに設定する。ただし、変位開始位置x0においては、目標値ω*を初期値ω0に設定し、変位開始位置x0から所定距離X1だけ変位した基準開始位置xLまでは、可動パネル14の位置xに応じて目標値ω*を漸増させて基準開始位置xLにおいて目標値ω*を基準値ωtとする。これは、モータ32の停止状態から駆動を開始する場合、モータ32に突入電流が流れてトルクが過度に大きくなりやすいことや、バックラッシュによって回転速度ωが一時的に急上昇しやすいなど、モータ32の回転速度の制御性が低下しやすいことに鑑みた設定である。すなわち、目標値ω*を小さい値に制限することにより、モータ32に印加される電圧が大きくなることを制限し、ひいては回転速度ωの急上昇を抑制する。また、停止位置xcよりも規定距離X2だけ手前の基準終了位置xHから停止位置xcまでは停止位置xcにおいて終了値ωeとなるように目標値ω*を漸減させる。これは、停止位置xcにおいて可動パネル14の慣性力やモータ32のトルクが大きい場合には、衝撃が大きくなる懸念があることに鑑み、衝撃を抑制するための設定である。なお、本実施形態では、初期値ω0は、終了値ωeよりも小さい値に設定されている。   FIG. 2 illustrates the case where the displacement start position x0 of the movable panel 14 is the fully open position and the stop position xc is the fully closed position, but the displacement start position x0 of the movable panel 14 is the fully closed position and stops. The same setting is made when the position xc is the fully open position. As shown in FIG. 2, in this embodiment, the target value ω * is set to the reference value ωt in principle. However, at the displacement start position x0, the target value ω * is set to the initial value ω0, and the target value is set according to the position x of the movable panel 14 from the displacement start position x0 to the reference start position xL displaced by a predetermined distance X1. By gradually increasing ω *, the target value ω * is set as the reference value ωt at the reference start position xL. This is because, when driving is started from a stopped state of the motor 32, an inrush current flows through the motor 32 and the torque tends to become excessively large, or the rotational speed ω tends to increase temporarily due to backlash. This is a setting in view of the fact that the controllability of the rotation speed is likely to deteriorate. That is, by restricting the target value ω * to a small value, the voltage applied to the motor 32 is restricted from increasing, thereby suppressing the rapid increase in the rotational speed ω. Further, the target value ω * is gradually decreased so that the end value ωe at the stop position xc is the end value ωe from the reference end position xH just before the stop position xc by the specified distance X2 to the stop position xc. This is a setting for suppressing the impact in view of the concern that the impact may increase when the inertial force of the movable panel 14 or the torque of the motor 32 is large at the stop position xc. In the present embodiment, the initial value ω0 is set to a value smaller than the end value ωe.

図3に、可動パネル14の変位速度の制御の処理手順を示す。図3に示す処理は、ROM64に記憶されたプログラムをCPU62が上記パルス信号の所定のエッジが出現する周期で繰り返し実行することにより実現される。なお、以下では、先頭に「S」の付与された数字によってステップ番号を表現する。   FIG. 3 shows a processing procedure for controlling the displacement speed of the movable panel 14. The processing shown in FIG. 3 is realized by the CPU 62 repeatedly executing the program stored in the ROM 64 at a cycle in which a predetermined edge of the pulse signal appears. In the following, the step number is represented by a number with “S” at the beginning.

図3に示す一連の処理において、CPU62は、まず、図3に示す一連の処理の前回の起動タイミングと今回の起動タイミングとの時間差に基づきモータ32の回転速度ω(n)と可動パネル14の位置x(n)とを算出する(S10)。なお、変数nは、サンプリングの順序を指定するものであり、「n」は、図2に示す一連の処理の今回の制御周期における値に付与され、「n−1」は、前回の制御周期における値に付与される。   In the series of processes shown in FIG. 3, the CPU 62 first determines the rotational speed ω (n) of the motor 32 and the movable panel 14 based on the time difference between the previous startup timing and the current startup timing in the series of processes shown in FIG. 3. The position x (n) is calculated (S10). The variable n designates the sampling order, “n” is assigned to the value in the current control cycle of the series of processes shown in FIG. 2, and “n−1” is the previous control cycle. To the value at.

次に、CPU62は、前回の回転速度ω(n−1)に対する今回の回転速度ω(n)の低下量が所定量Δωth以上であることと、前前回の回転速度ω(n−2)に対する前回の回転速度ω(n−1)の低下量が所定量Δωth以上であることとの論理積が真であるか否かを判定する(S12)。この処理は、可動パネル14の変位に伴って異物の挟み込みが生じたか否かを判定する処理である。そして、CPU62は、論理積が真であると判定する場合(S12:YES)、挟み込みを検出したとして、モータ32の回転方向を反転させる処理を実行する(S14)。具体的には、CPU62は、モータ32にそれまで印加されていた電圧とは逆極性の電圧を印加するようにHブリッジ回路50を操作する。   Next, the CPU 62 determines that the amount of decrease in the current rotational speed ω (n) with respect to the previous rotational speed ω (n−1) is equal to or greater than a predetermined amount Δωth, and the previous rotational speed ω (n−2). It is determined whether the logical product of the previous decrease in the rotational speed ω (n−1) being equal to or greater than the predetermined amount Δωth is true (S12). This process is a process for determining whether or not a foreign object has been caught with the displacement of the movable panel 14. When determining that the logical product is true (S12: YES), the CPU 62 executes a process of reversing the rotation direction of the motor 32 (S14), assuming that pinching has been detected. Specifically, the CPU 62 operates the H bridge circuit 50 so as to apply a voltage having a reverse polarity to the voltage applied to the motor 32 until then.

一方、CPU62は、論理積が偽であると判定する場合(S12:NO)、可動パネル14の位置x(n)が、基準開始位置xLと基準終了位置xHとの間にあるか否かを判定する(S16)。そしてCPU62は、間にあると判定する場合(S16:YES)、モータ32の回転速度ωの目標値ω*に基準値ωtを代入する(S18)。そしてCPU62は、回転速度ωを目標値ω*にフィードバック制御するための操作量であるフィードバック操作量Mfbを算出する(S20)。本実施形態では、目標値ω*から回転速度ω(n)を減算した偏差Δを入力とする比例要素によって算出されるフィードバック操作量Pと、偏差Δを入力とする積分要素によって算出されるフィードバック操作量Iとの和をフィードバック操作量Mfbとする。次に、CPU62は、今回算出した積分要素によるフィードバック操作量Iを、位置x(n)とともに、不揮発性メモリ66に記憶する(S22)。   On the other hand, when determining that the logical product is false (S12: NO), the CPU 62 determines whether or not the position x (n) of the movable panel 14 is between the reference start position xL and the reference end position xH. Determine (S16). If the CPU 62 determines that it is in between (S16: YES), the CPU 62 substitutes the reference value ωt for the target value ω * of the rotational speed ω of the motor 32 (S18). Then, the CPU 62 calculates a feedback operation amount Mfb which is an operation amount for performing feedback control of the rotational speed ω to the target value ω * (S20). In the present embodiment, the feedback manipulated variable P calculated by a proportional element having a deviation Δ obtained by subtracting the rotational speed ω (n) from the target value ω * and the feedback calculated by an integral element having the deviation Δ as an input. The sum of the operation amount I is defined as a feedback operation amount Mfb. Next, the CPU 62 stores the feedback manipulated variable I by the integral element calculated this time in the nonvolatile memory 66 together with the position x (n) (S22).

次に、CPU62は、目標値ω*にフィードフォワード制御するための操作量であるフィードフォワード操作量Mffを不揮発性メモリ66から読み出す(S24)。なお、後述するように、フィードフォワード操作量Mffは、基準量MffRと学習補正量MffLとからなり、不揮発性メモリ66には、それらが記憶されているため、CPU62は、実際には、不揮発性メモリ66から基準量MffRと学習補正量MffLとを読み出してそれらを加算することによってフィードフォワード操作量Mffを算出する。   Next, the CPU 62 reads a feedforward operation amount Mff, which is an operation amount for performing feedforward control to the target value ω *, from the nonvolatile memory 66 (S24). As will be described later, the feedforward manipulated variable Mff is composed of a reference amount MffR and a learning correction amount MffL. Since these are stored in the nonvolatile memory 66, the CPU 62 is actually nonvolatile. The feedforward operation amount Mff is calculated by reading the reference amount MffR and the learning correction amount MffL from the memory 66 and adding them.

次に、CPU62は、フィードバック操作量Mfbとフィードフォワード操作量Mffとを加算することにより、モータ32に印加する電圧の目標値(目標電圧V*)を算出する(S26)。そしてCPU62は、バッテリ52の端子電圧Vbに基づき、モータ32に印加する電圧が目標電圧V*となるように、ローサイドスイッチSL1またはローサイドスイッチSL2をオン・オフ操作させるpwm周期に対するオン時間の時比率Dを算出する(S28)。これは、本実施形態において、以下の処理がなされることを前提として実行されるものである。すなわち、CPU62は、ハイサイドスイッチSH1とローサイドスイッチSL2とをオン操作するか、ハイサイドスイッチSH2とローサイドスイッチSL1とをオン操作するかを選択することにより、モータ32の回転方向を制御する。さらにCPU62は、ローサイドスイッチSL1またはローサイドスイッチSL2を、時比率Dでオン・オフ操作することによって、pwm周期の間にモータ32に印加される電圧の平均値を目標電圧V*に制御する。   Next, the CPU 62 calculates a target value (target voltage V *) of the voltage applied to the motor 32 by adding the feedback operation amount Mfb and the feedforward operation amount Mff (S26). Then, based on the terminal voltage Vb of the battery 52, the CPU 62 sets the time ratio of the on time to the pwm cycle for turning on / off the low side switch SL1 or the low side switch SL2 so that the voltage applied to the motor 32 becomes the target voltage V *. D is calculated (S28). This is executed on the assumption that the following processing is performed in the present embodiment. That is, the CPU 62 controls the rotation direction of the motor 32 by selecting whether to turn on the high side switch SH1 and the low side switch SL2 or to turn on the high side switch SH2 and the low side switch SL1. Further, the CPU 62 controls the average value of the voltage applied to the motor 32 during the pwm cycle to the target voltage V * by turning on or off the low side switch SL1 or the low side switch SL2 at the time ratio D.

そしてCPU62は、ハイサイドスイッチSH1またはハイサイドスイッチSH2をオン状態に維持しつつローサイドスイッチSL2またはローサイドスイッチSL1を時比率Dに応じてオン・オフ操作すべく、Hブリッジ回路50に操作信号MSを出力する(S30)。   Then, the CPU 62 sends an operation signal MS to the H bridge circuit 50 in order to turn on / off the low side switch SL2 or the low side switch SL1 in accordance with the time ratio D while maintaining the high side switch SH1 or the high side switch SH2. Output (S30).

一方、CPU62は、位置xが基準開始位置xLと基準終了位置xHとの間にないと判定する場合(S16:NO)、目標電圧V*に、位置xに応じたフィードフォワード操作量Mffを代入する(S32)。ここで用いるフィードフォワード操作量Mffは、不揮発性メモリ66のうち、位置xが基準開始位置xLと基準終了位置xHとの間にあるときのデータが記憶されている記憶領域とは相違する記憶領域に記憶されている。CPU62は、S32の処理が完了する場合、S28の処理に移行する。   On the other hand, when the CPU 62 determines that the position x is not between the reference start position xL and the reference end position xH (S16: NO), the feedforward operation amount Mff corresponding to the position x is substituted for the target voltage V *. (S32). The feedforward manipulated variable Mff used here is a storage area different from the storage area in the nonvolatile memory 66 in which data is stored when the position x is between the reference start position xL and the reference end position xH. Is remembered. When the process of S32 is completed, the CPU 62 proceeds to the process of S28.

なお、CPU62は、S14,S30の処理が完了する場合、図3に示す一連の処理を一旦終了する。
図4に、学習補正量MffLの更新処理の手順を示す。図4に示す処理は、ROM64に記憶されたプログラムをCPU62が所定周期で実行することにより実現される。
Note that, when the processes of S14 and S30 are completed, the CPU 62 once ends the series of processes shown in FIG.
FIG. 4 shows a procedure for updating the learning correction amount MffL. The processing shown in FIG. 4 is realized by the CPU 62 executing the program stored in the ROM 64 at a predetermined cycle.

図4に示す一連の処理において、CPU62は、まず可動パネル14が変位している状態から停止している状態に切り替わった時点であるか否かを判定する(S40)。この処理は、学習補正量MffLの更新処理の実行条件が成立するか否かを判定する処理である。そしてCPU62は、切り替わった時点であると判定する場合(S40:YES)、図3のS22の処理によって記憶した位置xにおけるフィードバック操作量Iと、S24の処理において用いた位置xにおける学習補正量MffLと、を不揮発性メモリ66から読み出す(S42)。   In the series of processes shown in FIG. 4, the CPU 62 first determines whether or not it is a time when the movable panel 14 is switched from a displaced state to a stopped state (S40). This process is a process for determining whether or not an execution condition for the update process of the learning correction amount MffL is satisfied. When the CPU 62 determines that it is the time of switching (S40: YES), the feedback operation amount I at the position x stored by the process of S22 in FIG. 3 and the learning correction amount MffL at the position x used in the process of S24. Are read from the nonvolatile memory 66 (S42).

そして、CPU62は、読み出した学習補正量MffLに重み係数αを乗算した値と、フィードバック操作量Iに重み係数β(α+β=1)を乗算した値との和である指数移動平均処理値を算出する(S44)。そしてCPU62は、不揮発性メモリ66に記憶されている、位置xにおける学習補正量MffLを、指数移動平均処理値に更新する(S46)。なお、この処理によって、次にS24の処理がなされるときに算出されるフィードフォワード操作量Mffが更新されることから、この処理は、不揮発性メモリ66に記憶されているフィードフォワード操作量Mffを更新する処理と見なせる。   Then, the CPU 62 calculates an exponential moving average processing value that is the sum of the value obtained by multiplying the read learning correction amount MffL by the weighting factor α and the value obtained by multiplying the feedback manipulated variable I by the weighting factor β (α + β = 1). (S44). Then, the CPU 62 updates the learning correction amount MffL at the position x stored in the nonvolatile memory 66 to the exponential moving average processing value (S46). In this process, the feedforward operation amount Mff calculated when the process of S24 is performed next is updated, so this process uses the feedforward operation amount Mff stored in the nonvolatile memory 66. It can be regarded as a process to update.

CPU62は、S42〜S46の処理を、可動パネル14の変位制御時における基準開始位置xLから基準終了位置xHまでの全領域について(S48:NO)、位置xを更新しつつ実行する(S50)。なお、ここでの全領域は、可動パネル14が全閉位置から全開位置に変位する場合と、全開位置から全閉位置に変位する場合とで相違しうる。そして、CPU62は、全領域において学習補正量MffLの更新が完了する場合(S48:YES)や、S40において否定判定する場合には、図4に示す一連の処理を一旦終了する。   The CPU 62 executes the processes of S42 to S46 while updating the position x for all regions from the reference start position xL to the reference end position xH during the displacement control of the movable panel 14 (S48: NO) (S50). Here, the entire area can be different between when the movable panel 14 is displaced from the fully closed position to the fully open position and when the movable panel 14 is displaced from the fully open position to the fully closed position. Then, when the update of the learning correction amount MffL is completed in all regions (S48: YES), or when a negative determination is made in S40, the CPU 62 once ends the series of processes shown in FIG.

ここで本実施形態の作用を説明する。
図5(a)は、可動パネル14を初めて変位させた際の回転速度ω、フィードフォワード操作量Mffおよびフィードバック操作量Mfbの推移を示す。なお、この場合、学習補正量MffLはゼロであるため、フィードフォワード操作量Mffは、基準量MffRと等しい。
Here, the operation of the present embodiment will be described.
FIG. 5A shows changes in the rotational speed ω, the feedforward manipulated variable Mff, and the feedback manipulated variable Mfb when the movable panel 14 is displaced for the first time. In this case, since the learning correction amount MffL is zero, the feedforward manipulated variable Mff is equal to the reference amount MffR.

図5(a)に示すように、回転速度ωは、基準終了位置xH付近で大きく落ち込んでいる。これは、基準終了位置xH付近において移動体22を車両10の前方XFに変位させることによりディフレクタ40が押し下げられることから、基準終了位置xH付近では移動体22を車両10の前方XFに変位させるのに必要な力が基準終了位置xHから遠いときよりも大きくなるためである。本実施形態では、図5(a)に示したように、基準開始位置xLと基準終了位置xHとの間の領域においては基準量MffRを位置xに依存しない一定値としているため、基準終了位置xH付近では、回転速度ωを目標値ω*に制御する上で必要な電圧に対してフィードフォワード操作量Mffが小さい値となっている。   As shown in FIG. 5A, the rotational speed ω is greatly reduced near the reference end position xH. This is because the deflector 40 is pushed down by displacing the moving body 22 to the front XF of the vehicle 10 in the vicinity of the reference end position xH, so that the moving body 22 is displaced to the front XF of the vehicle 10 in the vicinity of the reference end position xH. This is because the force required for the above is greater than when the force is far from the reference end position xH. In the present embodiment, as shown in FIG. 5A, the reference amount MffR is a constant value independent of the position x in the region between the reference start position xL and the reference end position xH. In the vicinity of xH, the feedforward manipulated variable Mff is smaller than the voltage necessary for controlling the rotational speed ω to the target value ω *.

図5(b)は、可動パネル14の変位制御が複数回なされた後において、可動パネル14を変位させた際の回転速度ω、フィードフォワード操作量Mffおよびフィードバック操作量Mfbの推移を示す。   FIG. 5B shows changes in the rotational speed ω, the feedforward operation amount Mff, and the feedback operation amount Mfb when the movable panel 14 is displaced after the displacement control of the movable panel 14 is performed a plurality of times.

この場合、不揮発性メモリ66に記憶されている学習補正量MffLが、それまでのフィードバック操作量Iに応じた値となっている。このため、不揮発性メモリ66に記憶されている基準量MffRと学習補正量MffLとによって構成されるフィードフォワード操作量Mffは、図5(a)のものとは相違し、フィードバック操作量Mfbによるフィードフォワード操作量Mffの誤差の補償量「V*−Mff」が反映された値となっている。換言すれば、フィードフォワード操作量Mffは、目標値ω*に制御する上での誤差がより小さい値に更新されている。このため、回転速度ωの制御性が向上する。   In this case, the learning correction amount MffL stored in the nonvolatile memory 66 is a value corresponding to the feedback operation amount I so far. For this reason, the feedforward manipulated variable Mff constituted by the reference quantity MffR and the learning correction quantity MffL stored in the nonvolatile memory 66 is different from that shown in FIG. 5A, and feed by the feedback manipulated variable Mfb. This is a value reflecting the compensation amount “V * −Mff” of the error of the forward operation amount Mff. In other words, the feedforward manipulated variable Mff is updated to a value with a smaller error in controlling to the target value ω *. For this reason, the controllability of the rotational speed ω is improved.

しかも、このように回転速度ωの制御性を向上させることができることから、学習補正量MffLを用いない場合と比較すると、回転速度ωの制御性を維持しつつも、フィードバック制御のゲインである積分要素のゲイン(積分ゲインKi)や、比例要素のゲイン(比例ゲインKp)をより小さい値とすることが可能となる。そしてフィードバック制御のゲインを小さい値にすることにより、フィードバック制御を採用することに起因して挟み込みの検出精度が低下することを抑制することができる。すなわち、フィードバック制御を採用する場合、挟み込みが生じることによって回転速度ωが低下すると、回転速度ωが目標値ω*よりも低くなり、フィードバック制御によって回転速度ωを上昇させるようにモータ32に印加される電圧が上昇操作される。そしてこれにより、回転速度ωの落ち込みに基づき挟み込みを検出することが妨げられるおそれがある。しかし、本実施形態では、回転速度ωの目標値ω*への追従精度の低下を抑制しつつもフィードバック制御のゲインを小さくできるため、挟み込みが生じたときに直ちにモータ32の電圧が大きく上昇操作されることが抑制され、挟み込みの検出が遅れることを極力抑制できる。   In addition, since the controllability of the rotational speed ω can be improved in this way, the integral that is the gain of the feedback control is maintained while maintaining the controllability of the rotational speed ω as compared with the case where the learning correction amount MffL is not used. The gain of the element (integral gain Ki) and the gain of the proportional element (proportional gain Kp) can be set to a smaller value. And by making the gain of feedback control small, it can suppress that the detection accuracy of pinching falls due to adopting feedback control. That is, when the feedback control is employed, if the rotational speed ω is decreased due to the pinching, the rotational speed ω becomes lower than the target value ω * and is applied to the motor 32 so as to increase the rotational speed ω by the feedback control. The voltage is increased. As a result, there is a risk that it is difficult to detect pinching based on the drop in the rotational speed ω. However, in this embodiment, since the gain of feedback control can be reduced while suppressing a decrease in the follow-up accuracy of the rotational speed ω to the target value ω *, the voltage of the motor 32 increases greatly immediately when a pinch occurs. It is possible to prevent the detection of the pinching from being delayed as much as possible.

以上説明した本実施形態によれば、さらに以下に記載する効果が得られる。
(1)可動パネル14の変位を制御するうえでの制御量を、可動パネル14の変位速度(回転速度ω)とした。これにより、たとえば移動体22とガイドレール20との間の摺動抵抗が変化した場合であっても、可動パネル14の動作をユーザにとって違和感のない動作に制御しやすい。
According to the embodiment described above, the following effects can be obtained.
(1) The control amount for controlling the displacement of the movable panel 14 is the displacement speed (rotational speed ω) of the movable panel 14. Thereby, for example, even when the sliding resistance between the moving body 22 and the guide rail 20 changes, it is easy to control the operation of the movable panel 14 so that the user does not feel uncomfortable.

<第2の実施形態>
以下、第2の実施形態について、第1の実施形態との相違点を中心に図面を参照しつつ説明する。
<Second Embodiment>
Hereinafter, the second embodiment will be described with reference to the drawings with a focus on differences from the first embodiment.

図6に、本実施形態にかかる可動パネル14の変位速度の制御の処理手順を示す。図6に示す処理は、ROM64に記憶されたプログラムをCPU62が上記パルス信号の所定のエッジが出現する周期で繰り返し実行することにより実現される。なお、図6において、図3に示した処理に対応する処理については、便宜上同一のステップ番号を付与している。   FIG. 6 shows a processing procedure for controlling the displacement speed of the movable panel 14 according to the present embodiment. The processing shown in FIG. 6 is realized by the CPU 62 repeatedly executing the program stored in the ROM 64 at a cycle in which a predetermined edge of the pulse signal appears. In FIG. 6, processes corresponding to the processes shown in FIG. 3 are given the same step numbers for convenience.

図6に示す一連の処理において、CPU62は、S20の処理が完了する場合、車両10の停止時であるか否かを判定する(S60)。この処理は、S20の処理によって算出したフィードバック操作量Iを用いて学習補正量MffLを更新するか否かを判定するためのものである。CPU62は、車両10の停止時であると判定する場合(S60:YES)、フィードバック操作量Iを用いて学習補正量MffLを更新すべく、S62の処理に移行する。S62の処理において、CPU62は、フィードバック操作量Iに、規格化係数Kを乗算したものを、不揮発性メモリ66に記憶するフィードバック操作量Iとして算出し、S22の処理に移行する。   In the series of processes shown in FIG. 6, when the process of S20 is completed, the CPU 62 determines whether or not the vehicle 10 is at a stop (S60). This process is for determining whether or not to update the learning correction amount MffL using the feedback operation amount I calculated by the process of S20. When determining that the vehicle 10 is at a stop (S60: YES), the CPU 62 proceeds to S62 to update the learning correction amount MffL using the feedback operation amount I. In the process of S62, the CPU 62 calculates a value obtained by multiplying the feedback manipulated variable I by the normalization coefficient K as the feedback manipulated variable I stored in the nonvolatile memory 66, and proceeds to the process of S22.

ここで、CPU62は、温度Tmが高い場合に低い場合よりも規格化係数Kを小さい値に算出する。これは、温度Tmが高い場合、モータ32のコイルの抵抗が大きくなることに起因して、モータ32に印加する電圧が同一であってもモータ32に流れる電流が小さくなり、ひいてはモータ32のトルクが小さくなることに鑑みたものである。規格化係数Kは、S20の処理によって算出されたフィードバック操作量Iを、温度Tmが基準温度であるときのフィードバック操作量Iに規格化するための係数である。詳しくは、不揮発性メモリ66に、入力変数を温度Tmとし出力変数を規格化係数Kとするマップデータを記憶しておき、CPU62により、規格化係数Kをマップ演算する。ここで、マップデータとは、入力変数の離散的な値と、入力変数の値のそれぞれに対応する出力変数の値と、の組データである。またマップ演算は、たとえば、入力変数の値がマップデータの入力変数の値のいずれかに一致する場合、対応するマップデータの出力変数の値を演算結果とし、一致しない場合、マップデータに含まれる複数の出力変数の値の補間によって得られる値を演算結果とする処理とすればよい。   Here, the CPU 62 calculates the normalization coefficient K to a smaller value when the temperature Tm is high than when the temperature Tm is low. This is because, when the temperature Tm is high, the resistance of the coil of the motor 32 is increased, so that even if the voltage applied to the motor 32 is the same, the current flowing through the motor 32 is reduced, and thus the torque of the motor 32 is increased. This is in view of the fact that becomes smaller. The normalization coefficient K is a coefficient for normalizing the feedback manipulated variable I calculated by the process of S20 to the feedback manipulated variable I when the temperature Tm is the reference temperature. Specifically, map data in which the input variable is the temperature Tm and the output variable is the normalization coefficient K is stored in the nonvolatile memory 66, and the normalization coefficient K is map-calculated by the CPU 62. Here, the map data is set data of discrete values of input variables and output variable values corresponding to the respective input variable values. In addition, for example, when the value of the input variable matches one of the values of the input variable of the map data, the map calculation uses the value of the output variable of the corresponding map data as the calculation result. What is necessary is just to set it as the process which makes the value obtained by the interpolation of the value of a some output variable the calculation result.

CPU62は、S22の処理が完了する場合やS60において否定判定する場合には、不揮発性メモリ66から基準量MffRと学習補正量MffLとを読み出し、学習補正量MffLを規格化係数Kで除算した値と、基準量MffRとの和を、フィードフォワード操作量Mffとする(S24a)。そして、CPU62は、S24aの処理が完了する場合、S26の処理に移行する。これにより、目標電圧V*を算出するために用いられるフィードフォワード操作量Mffは、不揮発性メモリ66に記憶されているフィードフォワード操作量(MffR+MffL)が同一であっても、温度Tmが高い場合に低い場合よりも大きい値となる。ちなみに、本実施形態においては、図4のS40の処理において肯定判定される場合であっても、S22の処理を実行していない場合には、S42〜S50の処理を実行しない。   When the process of S22 is completed or a negative determination is made in S60, the CPU 62 reads the reference amount MffR and the learning correction amount MffL from the nonvolatile memory 66, and the value obtained by dividing the learning correction amount MffL by the normalization coefficient K. And the reference amount MffR is defined as a feedforward manipulated variable Mff (S24a). Then, when the process of S24a is completed, the CPU 62 proceeds to the process of S26. As a result, the feedforward manipulated variable Mff used for calculating the target voltage V * is equal to the feedforward manipulated variable (MffR + MffL) stored in the nonvolatile memory 66 even when the temperature Tm is high. It becomes a larger value than when it is low. Incidentally, in the present embodiment, even if a positive determination is made in the process of S40 of FIG. 4, if the process of S22 is not executed, the processes of S42 to S50 are not executed.

ここで本実施形態の作用を説明する。
CPU62は、車両10の走行時に可動パネル14の変位制御をする場合、そのときのフィードバック操作量Iを用いて学習補正量MffLを更新しない。これにより、車両10の停止時と比較して可動パネル14に意図しない外乱が加わりやすく結果として回転速度ωを目標値ω*に制御する上で適切な電圧が外乱の影響を受けやすいときのフィードバック操作量Iに基づく学習補正量MffLの更新を回避することができる。ここで意図しない外乱とは、車両10の振動に起因したものや、加減速に起因して可動パネル14に加わる慣性力などがある。
Here, the operation of the present embodiment will be described.
When the displacement control of the movable panel 14 is performed when the vehicle 10 is traveling, the CPU 62 does not update the learning correction amount MffL using the feedback operation amount I at that time. As a result, an unintended disturbance is likely to be applied to the movable panel 14 as compared to when the vehicle 10 is stopped. As a result, feedback when an appropriate voltage is easily affected by the disturbance in controlling the rotational speed ω to the target value ω *. Update of the learning correction amount MffL based on the operation amount I can be avoided. Unintended disturbances here include those caused by vibration of the vehicle 10 and inertial force applied to the movable panel 14 due to acceleration / deceleration.

またCPU62は、フィードバック操作量Iを、規格化係数Kによって規格化した値に基づき、学習補正量MffLを更新する。これにより、不揮発性メモリ66に記憶される学習補正量MffLは、モータ32の温度Tmが基準温度であるときのフィードバック操作量I相当となる。そしてCPU62は、目標電圧V*を算出するためにフィードフォワード操作量Mffを読み出す場合には、不揮発性メモリ66に記憶された学習補正量MffLをそのまま用いるのではなく、規格化係数Kで除算することによって、現在の温度Tmにとって適切な学習補正量MffLとする。これにより、不揮発性メモリ66から読み出される基準量MffRが同一であっても、温度Tmが高い場合には低い場合よりも、フィードフォワード操作量Mffが大きい値に算出される。換言すれば、不揮発性メモリ66に記憶された基準量MffRと学習補正量MffLとの和であるフィードフォワード操作量Mffが、温度Tmが高い場合には大きい値に補正されて目標電圧V*の算出に利用される。これにより、フィードバック操作量Mfbが大きい値となることを抑制しつつも、目標電圧V*を、現在の温度Tmにおいて回転速度ωを目標値ω*に制御するうえで適切な値とすることができる。   Further, the CPU 62 updates the learning correction amount MffL based on the value obtained by normalizing the feedback operation amount I with the normalization coefficient K. Thus, the learning correction amount MffL stored in the nonvolatile memory 66 corresponds to the feedback operation amount I when the temperature Tm of the motor 32 is the reference temperature. When the CPU 62 reads the feedforward operation amount Mff to calculate the target voltage V *, the CPU 62 does not use the learning correction amount MffL stored in the nonvolatile memory 66 as it is, but divides it by the normalization coefficient K. Thus, the learning correction amount MffL appropriate for the current temperature Tm is set. Thus, even if the reference amount MffR read from the nonvolatile memory 66 is the same, the feedforward manipulated variable Mff is calculated to be larger when the temperature Tm is higher than when the temperature Tm is low. In other words, the feedforward operation amount Mff, which is the sum of the reference amount MffR and the learning correction amount MffL stored in the nonvolatile memory 66, is corrected to a large value when the temperature Tm is high, and the target voltage V * Used for calculation. Thus, the target voltage V * can be set to an appropriate value for controlling the rotational speed ω to the target value ω * at the current temperature Tm while suppressing the feedback manipulated variable Mfb from becoming a large value. it can.

<対応関係>
上記実施形態における事項と、上記「課題を解決するための手段」の欄に記載した事項との対応関係は、次の通りである。以下では、「課題を解決するための手段」の欄に記載した解決手段の番号毎に、対応関係を示している。
<Correspondence>
The correspondence relationship between the items in the above embodiment and the items described in the column “Means for Solving the Problems” is as follows. In the following, the correspondence relationship is shown for each number of solution means described in the “means for solving the problem” column.

[1]2自由度操作量は、目標電圧V*に対応し、操作処理は、S26〜S30の処理に対応し、更新処理は、S42〜S50の処理に対応し、駆動回路は、Hブリッジ回路50に対応する。記憶装置は、不揮発性メモリ66に対応し、処理回路は、CPU62およびROM64に対応する。[2]不揮発性メモリ66に、位置x毎に学習補正量MffLが記憶されていることに対応する。すなわち、フィードフォワード操作量Mffは、不揮発性メモリ66に記憶されている基準量MffRと学習補正量MffLとからなり、学習補正量MffLが位置x毎に記憶されていることから、フィードフォワード操作量Mffが位置x毎に不揮発性メモリ66に記憶されていると見なせる。[3,4]規格化処理は、S62の処理に対応し、温度補正処理は、S24aの処理に対応する。[5]S60において否定判定される場合にS62,S22の処理に移行しない設定に対応する。[6]変位速度は、回転速度ωに対応する。[7]反転処理は、S14の処理に対応する。   [1] The two-degree-of-freedom operation amount corresponds to the target voltage V *, the operation process corresponds to the process of S26 to S30, the update process corresponds to the process of S42 to S50, and the drive circuit is an H bridge. This corresponds to the circuit 50. The storage device corresponds to the nonvolatile memory 66, and the processing circuit corresponds to the CPU 62 and the ROM 64. [2] This corresponds to the fact that the learning correction amount MffL is stored in the nonvolatile memory 66 for each position x. That is, the feedforward manipulated variable Mff is composed of the reference quantity MffR and the learning correction quantity MffL stored in the nonvolatile memory 66, and the learned correction quantity MffL is stored for each position x. It can be considered that Mff is stored in the nonvolatile memory 66 for each position x. [3,4] The normalization process corresponds to the process of S62, and the temperature correction process corresponds to the process of S24a. [5] When a negative determination is made in S60, this corresponds to a setting that does not shift to the processing in S62 and S22. [6] The displacement speed corresponds to the rotational speed ω. [7] The inversion process corresponds to the process of S14.

<その他の実施形態>
なお、上記実施形態の各事項の少なくとも1つを、以下のように変更してもよい。
・「制御量について」
上記実施形態では、変位速度として回転速度ωを用いたが、これに限らず、たとえば位置xの時間変化から算出される値であってもよい。制御量としては、変位速度に限らない。たとえば、モータ32に流れる電流であってもよい。
<Other embodiments>
In addition, you may change at least 1 of each matter of the said embodiment as follows.
・ "Control amount"
In the above-described embodiment, the rotational speed ω is used as the displacement speed. The control amount is not limited to the displacement speed. For example, a current flowing through the motor 32 may be used.

・「目標値について」
上記実施形態では、基準開始位置xLまで、位置xに応じて目標値ω*を漸増させたが、これに限らず、たとえば基準値ωt未満であることを条件に、時間に応じて目標値ω*を漸増させてもよい。上記実施形態は、基準終了位置xHから、位置xに応じて目標値ω*を漸減させたが、これに限らず、たとえば終了値ωeよりも高いことを条件に、時間に応じて目標値ω*を漸減させてもよい。
・ About the target value
In the above-described embodiment, the target value ω * is gradually increased according to the position x up to the reference start position xL. However, the present invention is not limited to this. For example, the target value ω depending on the time is less than the reference value ωt. * May be gradually increased. In the above embodiment, the target value ω * is gradually decreased from the reference end position xH according to the position x. However, the present invention is not limited to this. For example, the target value ω depends on time on the condition that it is higher than the end value ωe. * May be gradually decreased.

なお、基準値ωtが一定であることは必須ではなく、たとえば、可動パネル14の変位に伴う騒音が特に大きくなる領域があって且つその騒音が変位速度が高いほど大きくなる場合には、その領域において基準値ωtを低下させてもよい。   It is not essential that the reference value ωt is constant. For example, when there is a region where the noise accompanying the displacement of the movable panel 14 is particularly large and the noise increases as the displacement speed increases, this region In this case, the reference value ωt may be decreased.

ω*の初期値ω0が終了値ωeよりも小さいことは必須ではない。
・「基準量MffRについて」
上記実施形態では、フィードバック制御をする領域において基準量MffRを位置xによらない固定値としたが、これに限らない。たとえば移動体22の変位によってディフレクタ40を押し下げる領域等、同一の速度で変位させるために必要なトルクが他のトルクと比較して大きい領域を有する場合、その領域においては他の領域と比較して基準量MffRを大きい値としてもよい。
It is not essential that the initial value ω0 of ω * is smaller than the end value ωe.
・ "Reference amount MffR"
In the above embodiment, the reference amount MffR is a fixed value that does not depend on the position x in the region where feedback control is performed. However, the present invention is not limited to this. For example, when the torque required to be displaced at the same speed, such as a region where the deflector 40 is pushed down due to the displacement of the moving body 22, has a large region compared to other torques, that region is compared with other regions. The reference amount MffR may be a large value.

・「フィードバック操作量について」
上記実施形態では、積分要素によるフィードバック操作量Iと、比例要素によるフィードバック操作量Pとの和を、目標電圧V*の算出に用いるフィードバック操作量Mfbとしたが、これに限らない。たとえば、微分要素によるフィードバック操作量Dを、さらに加算した値をフィードバック操作量Mfbとしてもよい。
・ About feedback operation amount
In the above embodiment, the sum of the feedback manipulated variable I based on the integral element and the feedback manipulated variable P based on the proportional element is set as the feedback manipulated variable Mfb used for calculating the target voltage V *. For example, a value obtained by further adding the feedback operation amount D based on the differential element may be set as the feedback operation amount Mfb.

上記実施形態では、目標値を漸増させる期間や漸減させる期間をフィードバック制御をする期間としなかったが、これに限らない。なお、目標値を漸増させる期間や漸減させる期間をフィードバック制御をする期間とする場合であって、たとえば「目標値について」の欄に記載したように、時間に応じて目標値を漸増させたり漸減させたりする場合には、その期間におけるフィードバック操作量Mfbを、2重積分要素を利用して算出してもよい。   In the above embodiment, the period in which the target value is gradually increased and the period in which the target value is gradually decreased is not the period for performing feedback control, but is not limited thereto. It should be noted that the period for gradually increasing or decreasing the target value is a period for performing feedback control. For example, as described in the column “Target Value”, the target value is gradually increased or decreased according to time. In such a case, the feedback manipulated variable Mfb during that period may be calculated using a double integral element.

・「フィードバック操作量の記憶処理について」
上記実施形態では、フィードバック操作量Iを記憶する記憶処理の周期と、フィードバック操作量の更新周期とを同一としたが、これに限らない。たとえば、記憶処理の周期を、フィードバック操作量の更新周期よりも長くしてもよい。
・ "About memory processing of feedback manipulated variable"
In the above embodiment, the cycle of the storage process for storing the feedback manipulated variable I is the same as the update cycle of the feedback manipulated variable, but the present invention is not limited to this. For example, the storage processing period may be longer than the feedback operation amount update period.

上記実施形態では、記憶処理の記憶対象を、積分要素が算出するフィードバック操作量Iとしたが、これに限らず、たとえばフィードバック操作量Mfbとしてもよい。この場合、S42,S44の処理においてフィードバック操作量Iに代えてフィードバック操作量Mfbを用いる。   In the above embodiment, the storage target of the storage process is the feedback operation amount I calculated by the integral element, but is not limited thereto, and may be, for example, the feedback operation amount Mfb. In this case, the feedback operation amount Mfb is used in place of the feedback operation amount I in the processing of S42 and S44.

フィードバック操作量Iとともに記憶するパラメータとしては、位置xに限らない。たとえば、下記「更新処理について」の欄に記載したように温度Tmの複数の領域のそれぞれ毎に学習補正量MffLを更新する場合、S62の処理を設けることなく、S20の処理において温度Tmに関する上記複数の領域および位置x毎にフィードバック操作量Iを記憶すればよい。   The parameter stored together with the feedback manipulated variable I is not limited to the position x. For example, when the learning correction amount MffL is updated for each of the plurality of regions of the temperature Tm as described in the “Regarding update process” section below, the above-described processing relating to the temperature Tm is performed in the processing of S20 without providing the processing of S62. The feedback manipulated variable I may be stored for each of a plurality of regions and positions x.

なお、フィードバック操作量を記憶する処理は必須ではなく、たとえば図3の処理において、S28の処理の後に、不揮発性メモリ66から学習補正量MffLを読み出し、S20の処理で算出したフィードバック操作量に基づき、S44,S46の処理を実行してもよい。   Note that the process of storing the feedback operation amount is not essential. For example, in the process of FIG. 3, after the process of S28, the learning correction amount MffL is read from the nonvolatile memory 66, and based on the feedback operation amount calculated in the process of S20. , S44, S46 may be executed.

・「規格化処理について」
図6の処理においては、規格化係数Kを、積分要素によるフィードバック操作量Iに乗算したが、たとえば「フィードバック操作量の記憶処理について」の欄に記載したように、記憶対象をフィードバック操作量Mfbとする場合には、規格化係数Kを、フィードバック操作量Mfbに乗算すればよい。
・ About the standardization process
In the process of FIG. 6, the normalization coefficient K is multiplied by the feedback manipulated variable I by the integration element. However, as described in the column “For the feedback manipulated variable storage process”, for example, the storage target is the feedback manipulated variable Mfb. In this case, the normalization coefficient K may be multiplied by the feedback manipulated variable Mfb.

温度Tmによる特性変化を補償して学習補正量MffLを更新する手法としては、上記第2の実施形態において例示したものに限らない。たとえば、温度Tmの複数の領域のそれぞれ毎に学習補正量MffLを更新してもよい。なお、この場合、S24の処理において用いる学習補正量MffLを、そのときの温度Tmを含む領域における学習補正量MffLとすればよい。   The method for updating the learning correction amount MffL by compensating for the characteristic change due to the temperature Tm is not limited to the method exemplified in the second embodiment. For example, the learning correction amount MffL may be updated for each of the plurality of regions having the temperature Tm. In this case, the learning correction amount MffL used in the process of S24 may be the learning correction amount MffL in the region including the temperature Tm at that time.

・「更新処理について」
更新処理による更新対象としては、制御量の目標値(目標値ω*)が一定である期間に限らない。たとえば「フィードバック操作量について」の欄に記載したように、目標値を漸増させる期間や漸減させる期間においてもフィードバック制御をする場合には、漸増する期間や漸減する期間においても学習補正量MffLを算出してもよい。ただし、目標値を漸増させる期間や漸減させる期間においてもフィードバック制御をする場合に漸増する期間や漸減する期間における学習補正量MffLを算出することは必須ではない。
・ About update process
The update target by the update process is not limited to a period in which the control value target value (target value ω *) is constant. For example, as described in the column “Feedback operation amount”, when feedback control is performed during a period in which the target value is gradually increased or gradually decreased, the learning correction amount MffL is also calculated during the period in which the target value is gradually increased or gradually decreased. May be. However, it is not essential to calculate the learning correction amount MffL during the gradual increase period or the gradual decrease period when feedback control is performed even during the period during which the target value is gradually increased or gradually decreased.

フィードフォワード操作量Mffの更新処理としては、位置xに応じて各別の値に更新するものに限らない。たとえば、上記基準開始位置xLから基準終了位置xHまでの領域におけるフィードバック操作量Iの平均値に基づき、同領域に共通の学習補正量MffLを算出してもよい。これによっても、個体差や経年変化によるフィードフォワード操作量Mffの精度の低下を抑制することができる。   The update process of the feedforward manipulated variable Mff is not limited to the process of updating to each different value according to the position x. For example, the learning correction amount MffL common to the region may be calculated based on the average value of the feedback operation amount I in the region from the reference start position xL to the reference end position xH. This also can suppress a decrease in accuracy of the feedforward manipulated variable Mff due to individual differences and secular changes.

上記実施形態では、可動パネル14の変位方向に応じて学習補正量MffLを区別しなかったが、区別してもよい。すなわち、可動パネル14が全閉側に変位する場合の学習補正量MffLと、全開側に変位する場合の学習補正量MffLとを各別に算出してもよい。   In the above embodiment, the learning correction amount MffL is not distinguished according to the displacement direction of the movable panel 14, but may be distinguished. That is, the learning correction amount MffL when the movable panel 14 is displaced to the fully closed side and the learning correction amount MffL when it is displaced to the fully open side may be calculated separately.

・「更新処理によって利用対象とされるフィードバック操作量について」
上記第2の実施形態では、車両10が停止している時のフィードバック操作量であることを、更新処理への利用条件としたが、これに限らない。たとえば、車両10が停止している場合であっても、たとえば通信線70を介して他ECU72から取得した路面の傾斜情報に基づき、傾斜が所定値以上である場合に算出されたフィードバック操作量については、更新処理に利用しないようにしてもよい。これは、傾斜が急である場合には、目標値ω*に制御する上で必要なモータ32のトルクが大きく異なるおそれがあることに鑑みたものである。
・ "About the amount of feedback operation to be used by the update process"
In the second embodiment, the feedback operation amount when the vehicle 10 is stopped is set as the use condition for the update process, but is not limited thereto. For example, even when the vehicle 10 is stopped, the feedback operation amount calculated when the inclination is equal to or greater than a predetermined value based on, for example, road surface inclination information acquired from another ECU 72 via the communication line 70. May not be used for the update process. This is because the torque of the motor 32 required for controlling the target value ω * may vary greatly when the inclination is steep.

・「2自由度操作量について」
上記実施形態では、2自由度操作量として目標電圧V*を用いたが、これに限らず、たとえば、Hブリッジ回路50の電源として電圧の変動が十分に抑制された安定電源を採用する場合には、電圧と正の相関を有するパラメータである時比率Dを用いてもよい。図7に、図6の処理において2自由度操作量を時比率Dに代えた処理を示す。図7に示す処理は、ROM64に記憶されたプログラムをCPU62が上記パルス信号の所定のエッジが出現する周期で繰り返し実行することにより実現される。なお、図7において、図6に示した処理に対応する処理については、便宜上同一のステップ番号を付与している。
・ "About 2 degrees of freedom manipulated variable"
In the above embodiment, the target voltage V * is used as the two-degree-of-freedom operation amount. However, the present invention is not limited to this. May use the time ratio D which is a parameter having a positive correlation with the voltage. FIG. 7 shows processing in which the 2-degree-of-freedom operation amount is replaced with the duty ratio D in the processing of FIG. The processing shown in FIG. 7 is realized by the CPU 62 repeatedly executing the program stored in the ROM 64 at a cycle in which a predetermined edge of the pulse signal appears. In FIG. 7, processes corresponding to the processes shown in FIG. 6 are given the same step numbers for convenience.

図7に示す処理において、CPU62は、S24aの処理においてフィードフォワード操作量Mffを算出すると、フィードバック操作量Mfbとフィードフォワード操作量Mffとを加算することにより、時比率Dを算出する(S26a)。また、CPU62は、S16において否定判定する場合、時比率Dに、フィードフォワード操作量Mffを代入する(S32a)。なお、CPU62は、S26a,S32aの処理が完了する場合、S30の処理に移行する。   In the process shown in FIG. 7, when calculating the feedforward manipulated variable Mff in the process of S24a, the CPU 62 calculates the time ratio D by adding the feedback manipulated variable Mfb and the feedforward manipulated variable Mff (S26a). Further, when a negative determination is made in S16, the CPU 62 substitutes the feedforward manipulated variable Mff for the time ratio D (S32a). In addition, CPU62 transfers to the process of S30, when the process of S26a and S32a is completed.

・「2自由度操作量の算出処理について」
2自由度操作量を、フィードフォワード操作量とフィードバック操作量との和とする代わりに、フィードバック操作量を補正係数とし、フィードフォワード操作量にフィードバック操作量を乗算した値を2自由度操作量としてもよい。
・ "Calculation processing of 2-DOF manipulated variable"
Instead of the 2-degree-of-freedom manipulated variable being the sum of the feedforward manipulated variable and the feedback manipulated variable, the feedback manipulated variable is used as a correction coefficient, and the value obtained by multiplying the feedforward manipulated variable by the feedback manipulated variable is used as the 2-degree-of-freedom manipulated variable Also good.

・「操作処理について」
上記実施形態では、一方のハーフブリッジ回路を構成するハイサイドスイッチSH1(SH2)をオン状態に維持しつつ他方のハーフブリッジ回路を構成するローサイドスイッチSL2(SL1)をオン・オフ操作することによって、モータ32に印加される電圧を調整したがこれに限らない。たとえば、一方のハーフブリッジ回路を構成するローサイドスイッチSL1(SL2)をオン状態に維持しつつ他方のハーフブリッジ回路を構成するハイサイドスイッチSH2(SH1)をオン・オフ操作してもよい。
・ About operation processing
In the above embodiment, by turning on / off the low side switch SL2 (SL1) constituting the other half bridge circuit while maintaining the high side switch SH1 (SH2) constituting one half bridge circuit in the ON state, Although the voltage applied to the motor 32 is adjusted, the present invention is not limited to this. For example, the high side switch SH2 (SH1) constituting the other half bridge circuit may be turned on / off while the low side switch SL1 (SL2) constituting one half bridge circuit is maintained in the on state.

・「挟み込み検出処理について」
上記実施形態では、回転速度ωの落ち込みが2度連続して検出されることにより、挟み込みを検出したが、これに限らない。たとえば、3回以上連続で回転速度ωの落ち込みが検出される場合に挟み込みを検出してもよく、またたとえば回転速度ωの落ち込みが1回検出される場合に挟み込みを検出してもよい。
・ "Pinch detection process"
In the above-described embodiment, pinching is detected by detecting a drop in the rotational speed ω twice in succession, but the present invention is not limited to this. For example, pinching may be detected when a drop in rotational speed ω is detected three or more times continuously, or pinching may be detected when, for example, a drop in rotation speed ω is detected once.

・「記憶装置について」
記憶装置としては、不揮発性メモリ66に限らない。たとえば、不揮発性メモリ66とROM64とを備えた装置であってもよい。この場合、基準量MffRをROM64に記憶し、学習補正量MffLを不揮発性メモリ66に記憶すればよい。
・ About the storage device
The storage device is not limited to the nonvolatile memory 66. For example, a device including a nonvolatile memory 66 and a ROM 64 may be used. In this case, the reference amount MffR may be stored in the ROM 64 and the learning correction amount MffL may be stored in the nonvolatile memory 66.

・「車両用開閉体について」
車両用開閉体としては、可動パネル14に限らない。たとえば、車両の窓ガラスやスライドドアであってもよい。
・ "Vehicle opening / closing body"
The vehicle opening / closing body is not limited to the movable panel 14. For example, it may be a vehicle window glass or a sliding door.

・「駆動回路について」
駆動回路としては、Hブリッジ回路50に限らない。たとえばモータを3相ブラシレスモータとし、駆動回路を3相インバータとしてもよい。この場合たとえば、周知の120°通電方式による通電期間において、ローサイドスイッチおよびハイサイドスイッチのいずれか一方を周期的にオン・オフ操作し、その時比率Dを可変とすればよい。
・ About the drive circuit
The drive circuit is not limited to the H bridge circuit 50. For example, the motor may be a three-phase brushless motor and the drive circuit may be a three-phase inverter. In this case, for example, during the energization period using the well-known 120 ° energization method, either the low-side switch or the high-side switch is periodically turned on / off, and the time ratio D is variable.

・「制御装置について」
制御装置としては、CPU62とROM64とを備えて、ソフトウェア処理を実行するものに限らない。たとえば、上記実施形態においてソフトウェア処理されたものの少なくとも一部を、ハードウェア処理する専用のハードウェア回路(たとえばASIC等)を備えてもよい。すなわち、制御装置は、以下の(a)〜(c)のいずれかの構成であればよい。(a)上記処理の全てを、プログラムに従って実行する処理装置と、プログラムを記憶するROM等のプログラム格納装置とを備える。(b)上記処理の一部をプログラムに従って実行する処理装置およびプログラム格納装置と、残りの処理を実行する専用のハードウェア回路とを備える。(c)上記処理の全てを実行する専用のハードウェア回路を備える。ここで、処理装置およびプログラム格納装置を備えたソフトウェア処理回路や、専用のハードウェア回路は複数であってもよい。すなわち、上記処理は、1または複数のソフトウェア処理回路および1または複数の専用のハードウェア回路の少なくとも一方を備えた処理回路によって実行されればよい。
・ About the control unit
The control device is not limited to one that includes the CPU 62 and the ROM 64 and executes software processing. For example, a dedicated hardware circuit (for example, an ASIC) that performs hardware processing on at least a part of the software processed in the above embodiment may be provided. That is, the control device may have any of the following configurations (a) to (c). (A) A processing device that executes all of the above processing according to a program, and a program storage device such as a ROM that stores the program. (B) A processing device and a program storage device that execute part of the above processing according to a program, and a dedicated hardware circuit that executes the remaining processing. (C) A dedicated hardware circuit that performs all of the above processes is provided. Here, there may be a plurality of software processing circuits including a processing device and a program storage device, and a plurality of dedicated hardware circuits. That is, the above process may be executed by a processing circuit including at least one of one or more software processing circuits and one or more dedicated hardware circuits.

10…車両、12…開口部、14…可動パネル、20…ガイドレール、22…移動体、24…開閉駆動機構、30…アクチュエータ、32…モータ、34…ベルト、40…ディフレクタ、50…Hブリッジ回路、52…バッテリ、54…操作スイッチ、56…回転角度センサ、58…温度センサ、60…制御装置、62…CPU、64…ROM、66…不揮発性メモリ、70…通信線、72…他ECU。   DESCRIPTION OF SYMBOLS 10 ... Vehicle, 12 ... Opening part, 14 ... Movable panel, 20 ... Guide rail, 22 ... Moving body, 24 ... Opening / closing drive mechanism, 30 ... Actuator, 32 ... Motor, 34 ... Belt, 40 ... Deflector, 50 ... H bridge Circuit, 52 ... Battery, 54 ... Operation switch, 56 ... Rotation angle sensor, 58 ... Temperature sensor, 60 ... Control device, 62 ... CPU, 64 ... ROM, 66 ... Non-volatile memory, 70 ... Communication line, 72 ... Other ECU .

Claims (7)

車両の開口部の開口度を調整する車両用開閉体の変位速度と正の相関を有するパラメータを制御量とし、該制御量を目標値にフィードフォワード制御するための操作量であるフィードフォワード操作量を記憶する記憶装置と、処理回路とを備え、
前記処理回路は、
前記記憶装置に記憶されたフィードフォワード操作量と、前記制御量を前記目標値にフィードバック制御するための操作量であるフィードバック操作量とに応じた2自由度操作量に基づき、前記車両用開閉体を変位させる動力を生成するモータの駆動回路を操作する操作処理と、
前記フィードバック操作量を入力とし、前記記憶装置に記憶されている前記フィードフォワード操作量を、前記入力となるフィードバック操作量の算出時よりも前記制御量の前記目標値に対する誤差が小さくなるように更新する更新処理と、を実行する車両用開閉体の制御装置。
A feedforward operation amount, which is an operation amount for performing feedforward control of the control amount to a target value, with a parameter having a positive correlation with the displacement speed of the vehicle opening / closing body that adjusts the opening degree of the opening of the vehicle as a control amount A storage device for storing the memory, and a processing circuit,
The processing circuit includes:
The vehicle opening / closing body based on a two-degree-of-freedom operation amount corresponding to a feedforward operation amount stored in the storage device and a feedback operation amount that is an operation amount for performing feedback control of the control amount to the target value An operation process for operating a motor drive circuit that generates power for displacing
Using the feedback manipulated variable as an input, the feedforward manipulated variable stored in the storage device is updated so that the error of the control variable with respect to the target value is smaller than when calculating the feedback manipulated variable that is the input. And a vehicle opening / closing body control device for executing the update process.
前記記憶装置には、前記車両用開閉体の位置毎に、前記フィードフォワード操作量が記憶されており、
前記更新処理は、前記車両用開閉体の位置毎に、該当する位置における前記フィードバック操作量に基づき、該当する位置における前記フィードフォワード操作量を更新する処理である請求項1記載の車両用開閉体の制御装置。
The storage device stores the feedforward operation amount for each position of the vehicle opening and closing body,
2. The vehicle opening / closing body according to claim 1, wherein the update process is a process of updating the feedforward operation amount at a corresponding position based on the feedback operation amount at the corresponding position for each position of the vehicle opening / closing body. Control device.
前記2自由度操作量は、前記モータに印加する電圧であり、
前記更新処理は、前記フィードバック操作量が同一である場合、前記記憶装置に記憶されている前記フィードフォワード操作量が、前記モータの温度が高い場合に低い場合よりも小さい値となるように更新する規格化処理を含み、
前記処理回路は、前記記憶装置に記憶されている前記フィードフォワード操作量を入力とし、前記2自由度操作量の算出に用いられるフィードフォワード操作量を、前記モータの温度が高い場合に低い場合よりも大きい量とする温度補正処理を実行する請求項1または2記載の車両用開閉体の制御装置。
The two-degree-of-freedom operation amount is a voltage applied to the motor,
In the update process, when the feedback operation amount is the same, the feedforward operation amount stored in the storage device is updated so as to be a smaller value when the motor temperature is high than when it is low. Including standardization processing,
The processing circuit uses the feedforward manipulated variable stored in the storage device as an input, and the feedforward manipulated variable used for calculating the two-degree-of-freedom manipulated variable is lower than when the motor temperature is high. The control device for a vehicle opening / closing body according to claim 1 or 2, wherein a temperature correction process is performed with a larger amount.
前記操作処理は、前記駆動回路のスイッチング素子を周期的にオン・オフ操作する際のオン・オフの周期に対するオン時間の時比率を操作することにより、前記モータに印加する電圧を操作するものであり、
前記2自由度操作量は、前記時比率であり、
前記更新処理は、前記フィードバック操作量が同一である場合、前記記憶装置に記憶されている前記フィードフォワード操作量が、前記モータの温度が高い場合に低い場合よりも小さい値となるように更新する規格化処理を含み、
前記処理回路は、前記記憶装置に記憶されている前記フィードフォワード操作量を入力とし、前記2自由度操作量の算出に用いられるフィードフォワード操作量を、前記モータの温度が高い場合に低い場合よりも大きい量とする温度補正処理を実行する請求項1または2記載の車両用開閉体の制御装置。
The operation process is to operate a voltage applied to the motor by manipulating a time ratio of an on time to an on / off cycle when the switching element of the drive circuit is periodically turned on / off. Yes,
The two-degree-of-freedom operation amount is the duty ratio.
In the update process, when the feedback operation amount is the same, the feedforward operation amount stored in the storage device is updated so as to be a smaller value when the motor temperature is high than when it is low. Including standardization processing,
The processing circuit uses the feedforward manipulated variable stored in the storage device as an input, and the feedforward manipulated variable used for calculating the two-degree-of-freedom manipulated variable is lower than when the motor temperature is high. The control device for a vehicle opening / closing body according to claim 1 or 2, wherein a temperature correction process is performed with a larger amount.
前記更新処理は、前記車両が走行しているときの前記フィードバック操作量を利用して前記記憶装置に記憶されている前記フィードフォワード操作量を更新しない請求項1〜4のいずれか1項に記載の車両用開閉体の制御装置。   5. The update process according to claim 1, wherein the update process does not update the feedforward operation amount stored in the storage device using the feedback operation amount when the vehicle is traveling. Control device for vehicle opening / closing body. 前記制御量は、前記車両用開閉体の変位速度である請求項1〜5のいずれか1項に記載の車両用開閉体の制御装置。   The control device for a vehicle opening / closing body according to any one of claims 1 to 5, wherein the control amount is a displacement speed of the vehicle opening / closing body. 前記操作処理の実行時において前記車両用開閉体の変位速度の低下量が所定量以上となることを条件に前記車両用開閉体の変位方向を反転させる反転処理を実行する請求項6記載の車両用開閉体の制御装置。
The vehicle according to claim 6, wherein a reversing process for reversing a displacement direction of the vehicle opening / closing body is executed on condition that a decrease amount of a displacement speed of the vehicle opening / closing body is equal to or greater than a predetermined amount when the operation process is performed. Opening / closing body control device.
JP2017134801A 2017-07-10 2017-07-10 Vehicle open / close control device Active JP7005972B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017134801A JP7005972B2 (en) 2017-07-10 2017-07-10 Vehicle open / close control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017134801A JP7005972B2 (en) 2017-07-10 2017-07-10 Vehicle open / close control device

Publications (2)

Publication Number Publication Date
JP2019015141A true JP2019015141A (en) 2019-01-31
JP7005972B2 JP7005972B2 (en) 2022-01-24

Family

ID=65357276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017134801A Active JP7005972B2 (en) 2017-07-10 2017-07-10 Vehicle open / close control device

Country Status (1)

Country Link
JP (1) JP7005972B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3835527A1 (en) * 2019-12-10 2021-06-16 Inalfa Roof Systems Group B.V. Open roof assembly for use in a vehicle and a method for operating same
DE102021122244A1 (en) 2020-09-01 2022-03-03 Denso Corporation CONTROL FOR OPENABLE OBJECT
DE112022004155T5 (en) 2021-08-27 2024-06-13 Denso Corporation Engine controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5770934A (en) * 1994-05-02 1998-06-23 Dorma Gmbh & Co. Kg Method for the closed-loop control of an automatic door which is propelled by a drive motor
JP2003182368A (en) * 2001-12-21 2003-07-03 Keihin Corp Controller for open-and-close body for vehicle
JP2012001965A (en) * 2010-06-16 2012-01-05 Shiroki Corp Movable-body driving device
JP2016094807A (en) * 2014-11-17 2016-05-26 アイシン精機株式会社 Control device of opening/closing body

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5770934A (en) * 1994-05-02 1998-06-23 Dorma Gmbh & Co. Kg Method for the closed-loop control of an automatic door which is propelled by a drive motor
JP2003182368A (en) * 2001-12-21 2003-07-03 Keihin Corp Controller for open-and-close body for vehicle
JP2012001965A (en) * 2010-06-16 2012-01-05 Shiroki Corp Movable-body driving device
JP2016094807A (en) * 2014-11-17 2016-05-26 アイシン精機株式会社 Control device of opening/closing body

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3835527A1 (en) * 2019-12-10 2021-06-16 Inalfa Roof Systems Group B.V. Open roof assembly for use in a vehicle and a method for operating same
US11585142B2 (en) 2019-12-10 2023-02-21 Inalfa Roof Systems Group B.V. Open roof assembly for use in a vehicle and a method for operating same
DE102021122244A1 (en) 2020-09-01 2022-03-03 Denso Corporation CONTROL FOR OPENABLE OBJECT
DE112022004155T5 (en) 2021-08-27 2024-06-13 Denso Corporation Engine controller

Also Published As

Publication number Publication date
JP7005972B2 (en) 2022-01-24

Similar Documents

Publication Publication Date Title
JP7005972B2 (en) Vehicle open / close control device
JP4984598B2 (en) Electric power steering device
KR100254867B1 (en) Power steering motor control unit with driving mode correction
EP1944221A1 (en) Controller of electric power steering system
US8068958B2 (en) Method for monitoring the adjustment movement of a component driven by a drive device
JP6239634B2 (en) Vehicle door opening / closing control device
US7859204B2 (en) Closure panel control apparatus
US10787065B2 (en) Vehicular opening/closing body control device and motor control device
US9048703B2 (en) System and method for controlling power trunk
US8639417B2 (en) Method for regulating position and/or speed
JP2017019347A (en) Driving device
JP6582887B2 (en) Steering control device
WO2019216119A1 (en) Vehicular opening/closing body control device
JP5182694B2 (en) Elevator door control device
JP2000152677A (en) Device for detecting presence of pinching of window glass
KR101283833B1 (en) Apparatus and method for controlling sunroof
JP7005971B2 (en) Vehicle open / close control device
JP6451243B2 (en) Control device for opening and closing body
JP2003003740A (en) Open-close member controller and method for controlling open-close member
JP4678475B2 (en) Electric motor control device
JP7327326B2 (en) Opening/closing body control device
US11173951B2 (en) Electric power steering device and control method therefor
US20240059348A1 (en) Motor control in an electric power steering
JP4586960B2 (en) Electric motor control device
JP2023059037A (en) Opening/closing body control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200611

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210601

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211207

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211220

R150 Certificate of patent or registration of utility model

Ref document number: 7005972

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150