JP7413905B2 - Vehicle opening/closing body control device - Google Patents

Vehicle opening/closing body control device Download PDF

Info

Publication number
JP7413905B2
JP7413905B2 JP2020072785A JP2020072785A JP7413905B2 JP 7413905 B2 JP7413905 B2 JP 7413905B2 JP 2020072785 A JP2020072785 A JP 2020072785A JP 2020072785 A JP2020072785 A JP 2020072785A JP 7413905 B2 JP7413905 B2 JP 7413905B2
Authority
JP
Japan
Prior art keywords
opening
fluctuation
fluctuation start
closing body
movable panel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020072785A
Other languages
Japanese (ja)
Other versions
JP2021169718A (en
Inventor
伸康 別所
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
Aisin Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aisin Seiki Co Ltd, Aisin Corp filed Critical Aisin Seiki Co Ltd
Priority to JP2020072785A priority Critical patent/JP7413905B2/en
Publication of JP2021169718A publication Critical patent/JP2021169718A/en
Application granted granted Critical
Publication of JP7413905B2 publication Critical patent/JP7413905B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power-Operated Mechanisms For Wings (AREA)

Description

本発明は、車両用開閉体の制御装置に関する。 The present invention relates to a control device for a vehicle opening/closing body.

特許文献1には、開口部が設けられるルーフを有する車体と、ルーフに搭載されるサンルーフ装置と、を備える車両が記載されている。サンルーフ装置は、開口部を開閉するスライドルーフと、スライドルーフを駆動するモータと、モータの回転量に応じたパルスを出力するパルス発生手段と、パルス発生手段が出力するパルスに基づいてモータを制御する制御部と、を有する。スライドルーフの移動範囲には、スライドルーフが機械的な接触により閉方向に移動不能となる閉側のロック位置と、スライドルーフが機械的な接触により開方向に移動不能となる開側のロック位置と、が含まれる。 Patent Document 1 describes a vehicle that includes a vehicle body having a roof provided with an opening and a sunroof device mounted on the roof. The sunroof device includes a sliding roof that opens and closes the opening, a motor that drives the sliding roof, a pulse generating means that outputs pulses according to the amount of rotation of the motor, and a motor that controls the motor based on the pulses output by the pulse generating means. and a control section. The range of movement of the sliding roof includes a locked position on the closed side where the sliding roof cannot be moved in the closing direction due to mechanical contact, and a locked position on the open side where the sliding roof cannot be moved in the opening direction due to mechanical contact. and are included.

そして、制御部は、スライドルーフを閉作動させる場合には、閉側のロック位置よりも手前の全閉位置でスライドルーフを停止させ、スライドルーフを開作動させる場合には、開側のロック位置よりも手前の全開位置でスライドルーフを停止させる。詳しくは、制御部は、全閉位置及び全開位置に応じたパルス情報を記憶し、当該パルス情報とスライドルーフの開閉作動時に出力されるパルスをカウントした値とを比較することで、スライドルーフが全閉位置及び全開位置に到達したか否かを判断する。 Then, when operating the sliding roof to close, the control unit stops the sliding roof at a fully closed position before the locking position on the closing side, and when operating the sliding roof to open, stopping the sliding roof at the locking position on the open side. Stop the sliding roof at the fully open position before this point. Specifically, the control unit stores pulse information corresponding to the fully closed position and the fully open position, and compares the pulse information with a value obtained by counting the pulses output when the sliding roof is opened/closed. Determine whether the fully closed position or the fully open position has been reached.

特開2005-290939号公報Japanese Patent Application Publication No. 2005-290939

上記のようなサンルーフ装置では、経年変化などにより、制御部に記憶される全閉位置及び全開位置と実際の全閉位置及び全開位置とに乖離が生じる場合がある。この場合、制御部は、制御部が記憶する全閉位置及び全開位置に応じたパルス情報を補正することが好ましい。 In the sunroof device as described above, there may be a discrepancy between the fully closed position and fully open position stored in the control unit and the actual fully closed position and fully open position due to aging or the like. In this case, it is preferable that the control section corrects the pulse information according to the fully closed position and the fully open position stored in the control section.

なお、こうした実情は、モータの回転量に応じたパルスに基づいて、開閉体を開閉作動させる車両用開閉体の制御装置においても概ね共通する。本発明の目的は、開閉体の開閉作動に必要な情報を補正できる車両用開閉体の制御装置を提供することである。 Incidentally, this situation is generally common to a control device for a vehicle opening/closing body that opens and closes the opening/closing body based on pulses corresponding to the amount of rotation of a motor. An object of the present invention is to provide a control device for a vehicle opening/closing body that can correct information necessary for opening/closing operations of the opening/closing body.

以下、上記課題を解決するための手段及びその作用効果について記載する。
上記課題を解決する車両用開閉体の制御装置は、車両の開口部を開閉する開閉体と、前記開閉体を駆動するモータと、を備え、前記開閉体が前記開口部を全開する全開位置及び前記開閉体が前記開口部を全閉する全閉位置の間の作動範囲内に前記モータの負荷が変動する変動位置を含む車両用開閉装置に適用され、前記開閉体の作動範囲内に設定される原点位置を基準とする前記開閉体の位置を取得する取得部と、前記原点位置を基準とする前記全閉位置、前記全開位置及び前記変動位置を記憶する記憶部と、前記取得部が取得する前記開閉体の位置と前記記憶部に記憶される前記全閉位置及び前記全開位置とに基づいて前記モータを制御することにより、前記開閉体を前記全閉位置及び前記全開位置の間で開閉作動させる制御部と、前記記憶部に記憶される前記変動位置を第1変動位置とし、前記第1変動位置が記憶された後の前記開閉体の開閉作動時に前記取得部が取得する前記変動位置を第2変動位置としたとき、前記第1変動位置及び前記第2変動位置に位置ずれが生じている場合、当該位置ずれに基づいて、前記記憶部に記憶される前記全閉位置及び前記全開位置を補正する補正処理を実施する補正部と、を備える。
Below, means for solving the above problems and their effects will be described.
A control device for a vehicle opening/closing body that solves the above problem includes an opening/closing body that opens and closes an opening of a vehicle, a motor that drives the opening/closing body, and a fully open position where the opening/closing body fully opens the opening. The present invention is applied to a vehicle opening/closing device that includes a variable position in which the load of the motor varies within an operating range between a fully closed position where the opening/closing body fully closes the opening, and is set within the operating range of the opening/closing body. an acquisition unit that acquires the position of the opening/closing body based on the origin position; a storage unit that stores the fully closed position, the fully open position, and the variable position based on the origin position; The opening/closing body is opened and closed between the fully closed position and the fully open position by controlling the motor based on the position of the opening/closing body and the fully closed position and the fully open position stored in the storage unit. a control section to operate, and the variable position stored in the storage section as a first variable position, and the variable position acquired by the acquisition section during the opening/closing operation of the opening/closing body after the first variable position is stored. is the second variable position, and if there is a positional deviation between the first variable position and the second variable position, the fully closed position and the fully open position are stored in the storage unit based on the positional deviation. A correction unit that performs a correction process to correct the position.

上記構成の制御装置が適用される車両用開閉装置において、開閉体を開閉作動させる場合、開閉体は、モータの負荷が変動する変動位置を通過する。そして、車両用開閉装置において、記憶部が記憶する第1変動位置と開閉体が開閉作動されるときに取得される第2変動位置との間に位置ずれが生じている場合には、記憶部が記憶する全閉位置及び全開位置と実際の全閉位置及び全開位置との間にも位置ずれが生じる。 In a vehicle opening/closing device to which the control device having the above configuration is applied, when opening/closing the opening/closing body, the opening/closing body passes through a variable position where the load of the motor varies. In the vehicle opening/closing device, if a positional deviation occurs between the first variable position stored in the storage unit and the second variable position acquired when the opening/closing body is operated to open/close, the storage unit A positional shift also occurs between the fully closed and fully open positions stored by the controller and the actual fully closed and fully open positions.

この点、制御装置は、第1変動位置と第2変動位置に位置ずれが生じている場合、両位置の位置ずれに基づいて補正処理を実施する。このため、制御装置は、開閉体を開閉作動させるときに、実際の全閉位置及び全開位置と乖離した位置に開閉体を停止することを抑制できる。こうして、制御装置は、開閉体の開閉作動に必要な情報を補正できる。 In this regard, when there is a positional deviation between the first variable position and the second variable position, the control device performs the correction process based on the positional deviation between both positions. Therefore, when the control device opens and closes the opening/closing body, it is possible to prevent the opening/closing body from stopping at a position that deviates from the actual fully closed position and full open position. In this way, the control device can correct the information necessary for the opening/closing operation of the opening/closing body.

上記車両用開閉体の制御装置において、前記変動位置は、前記開閉体を開作動又は閉作動させるときに前記モータの負荷が変動し始める変動開始位置であり、前記第1変動位置を第1変動開始位置とし、前記第2変動位置を第2変動開始位置としたとき、前記補正部は、前記第1変動開始位置及び前記第2変動開始位置に位置ずれが生じている場合、前記第1変動開始位置及び前記第2変動開始位置の差分に基づいて、前記補正処理を実施することが好ましい。 In the control device for a vehicle opening/closing body, the fluctuation position is a fluctuation start position at which the load of the motor starts to fluctuate when the opening/closing body is opened or closed, and the first fluctuation position is changed to a first fluctuation position. and the second fluctuation position is set as a second fluctuation start position, and the correction unit adjusts the first fluctuation position when a positional deviation occurs between the first fluctuation start position and the second fluctuation start position. Preferably, the correction process is performed based on a difference between the start position and the second fluctuation start position.

モータの負荷が変動し始める変動開始位置は、モータの負荷が変動し終わる変動終了位置よりも明確になりやすい。このため、車両用開閉体の制御装置は、第1変動開始位置及び第2変動開始位置に位置ずれが生じているか否かを精度良く判別できる。また、車両用開閉体の制御装置は、第1変動開始位置及び第2変動開始位置の差分に基づき、補正処理を精度良く実施できる。 The fluctuation start position where the motor load starts to fluctuate is more likely to be clear than the fluctuation end position where the motor load ends to fluctuate. Therefore, the control device for the vehicle opening/closing body can accurately determine whether or not there is a positional shift between the first fluctuation start position and the second fluctuation start position. Further, the control device for the vehicle opening/closing body can accurately perform the correction process based on the difference between the first fluctuation start position and the second fluctuation start position.

上記車両用開閉体の制御装置において、前記車両用開閉装置は、前記全閉位置及び前記全開位置の間の前記開閉体の作動範囲内に、前記変動位置を複数含むものであり、前記記憶部は、複数の前記第1変動位置を記憶し、前記補正部は、複数の前記第1変動位置と、複数の前記第2変動位置と、にそれぞれ位置ずれが生じている場合、当該位置ずれに基づいて、前記補正処理を実施することが好ましい。 In the vehicle opening/closing body control device, the vehicle opening/closing device includes a plurality of variable positions within an operating range of the opening/closing body between the fully closed position and the fully open position, and the storage unit stores a plurality of the first variable positions, and when a positional shift occurs between the plurality of first variable positions and the plurality of second variable positions, the correction unit corrects the positional shift. It is preferable to perform the correction processing based on the above.

上記構成の制御装置は、複数の第1変動位置及び複数の第2変動位置のそれぞれの位置ずれに基づいて補正処理を実施するため、補正処理を精度良く実施できる。
上記車両用開閉体の制御装置において、前記変動位置は、前記開閉体を開作動又は閉作動させるときに、前記モータの負荷が変動し始める変動開始位置と、前記モータの負荷が変動し終わる変動終了位置と、を含み、前記第1変動位置は、前記変動開始位置に対応する第1変動開始位置と、前記変動終了位置に対応する第1変動終了位置と、を含み、前記第2変動位置は、前記変動開始位置に対応する第2変動開始位置と、前記変動終了位置に対応する第2変動終了位置と、を含み、前記補正部は、前記第1変動開始位置及び前記第2変動開始位置に位置ずれが生じるとともに前記第1変動終了位置及び前記第2変動終了位置に位置ずれが生じている場合、前記第1変動開始位置及び前記第2変動開始位置の差分と前記第1変動終了位置及び前記第2変動終了位置の差分との平均値に基づいて、前記補正処理を実施することが好ましい。
The control device configured as described above performs the correction process based on the positional deviations of the plurality of first variable positions and the plurality of second variable positions, and therefore can perform the correction process with high accuracy.
In the control device for a vehicle opening/closing body, the fluctuation position includes a fluctuation start position at which the load of the motor starts to fluctuate and a fluctuation position at which the load of the motor ends when the opening/closing body is opened or closed. an end position, the first fluctuation position includes a first fluctuation start position corresponding to the fluctuation start position, a first fluctuation end position corresponding to the fluctuation end position, and the second fluctuation position includes a second fluctuation start position corresponding to the fluctuation start position and a second fluctuation end position corresponding to the fluctuation end position, and the correction unit is configured to adjust the first fluctuation start position and the second fluctuation start position. If a positional shift occurs in the position and a positional shift occurs in the first variation end position and the second variation end position, the difference between the first variation start position and the second variation start position and the first variation end position. Preferably, the correction process is performed based on an average value between the position and the difference between the second variation end position.

上記構成の車両用開閉体の制御装置は、第1変動開始位置及び第2変動開始位置の差分と第1変動終了位置及び第2変動終了位置の差分との平均値に基づいて、補正処理を実施する点で、補正処理をより精度良く実施できる。 The control device for a vehicle opening/closing body configured as described above performs a correction process based on the average value of the difference between the first fluctuation start position and the second fluctuation start position and the difference between the first fluctuation end position and the second fluctuation end position. In terms of implementation, the correction process can be performed with higher accuracy.

上記車両用開閉体の制御装置において、前記変動位置は、前記開閉体を開作動又は閉作動させるときに、前記モータの負荷が変動し始める複数の変動開始位置を含み、前記第1変動位置は、複数の前記変動開始位置に対応する複数の第1変動開始位置を含み、前記第2変動位置は、複数の前記変動開始位置に対応する複数の第2変動開始位置を含み、前記補正部は、複数の前記第1変動開始位置と、複数の前記第2変動開始位置と、にそれぞれ位置ずれが生じている場合、当該位置ずれに基づいて、前記補正処理を実施することが好ましい。 In the control device for a vehicle opening/closing body, the fluctuation position includes a plurality of fluctuation start positions at which the load of the motor starts to fluctuate when the opening/closing body is opened or closed, and the first fluctuation position is , the correction unit includes a plurality of first fluctuation start positions corresponding to the plurality of fluctuation start positions, the second fluctuation position includes a plurality of second fluctuation start positions corresponding to the plurality of fluctuation start positions, and the correction unit If a positional shift occurs between the plurality of first fluctuation start positions and the plurality of second fluctuation start positions, it is preferable to perform the correction process based on the positional deviation.

上記構成の車両用開閉体の制御装置は、複数の前記第1変動開始位置と複数の前記第2変動開始位置とのそれぞれの位置ずれに基づいて、補正処理を実施するため、精度良く補正処理を実施できる。 The control device for a vehicle opening/closing body configured as described above performs correction processing based on the respective positional deviations between the plurality of first fluctuation start positions and the plurality of second fluctuation start positions, so that the correction processing is performed with high accuracy. can be carried out.

上記車両用開閉体の制御装置において、前記補正部は、複数の前記第1変動開始位置と、複数の前記第2変動開始位置と、にそれぞれ位置ずれが生じている場合、複数の前記第1変動開始位置と複数の前記第2変動開始位置とのそれぞれの差分の平均値に基づいて、前記補正処理を実施することが好ましい。 In the above-described control device for a vehicle opening/closing body, when a positional shift occurs between the plurality of first fluctuation start positions and the plurality of second fluctuation start positions, the correction unit is configured to It is preferable that the correction process is performed based on an average value of the differences between the fluctuation start position and the plurality of second fluctuation start positions.

上記構成の車両用開閉体の制御装置は、複数の前記第1変動開始位置と複数の前記第2変動開始位置とのそれぞれの位置ずれを、差分の平均値として、容易に算出できる。
上記車両用開閉体の制御装置において、前記制御部は、前記原点位置を基準とした前記全閉位置及び前記全開位置を前記記憶部に記憶させる初期化処理を実施する際に、前記第1変動位置を前記記憶部に記憶させることが好ましい。
The control device for a vehicle opening/closing body configured as described above can easily calculate the respective positional deviations between the plurality of first fluctuation start positions and the plurality of second fluctuation start positions as an average value of the differences.
In the above-mentioned control device for a vehicle opening/closing body, the control unit is configured to change the first variation when performing an initialization process for storing the fully closed position and the fully open position based on the origin position in the storage unit. Preferably, the position is stored in the storage section.

上記構成の制御装置は、例えば、車両用開閉装置の出荷時において、初期化処理を実施することで、正確な変動位置を記憶部に記憶させることができる。この場合、制御装置は、精度良く補正処理を実施できる。 The control device having the above configuration can store accurate variable positions in the storage unit by performing initialization processing, for example, when the vehicle opening/closing device is shipped. In this case, the control device can perform the correction process with high accuracy.

上記車両用開閉体の制御装置において、前記補正部は、前記開閉体の閉作動時に、前記補正処理を実施しないことが好ましい。
開閉体が閉作動する場合には異物などの挟み込みなど、実際の変動位置とは異なる位置でモータの負荷が変動するおそれがある。つまり、第2変動位置の取得精度が低下するおそれがある。この点、上記構成の制御装置は、開閉体の閉作動時に補正処理を実施しないため、誤って補正処理を実施することを抑制できる。
In the control device for a vehicle opening/closing body, it is preferable that the correction unit does not perform the correction process when the opening/closing body is closed.
When the opening/closing body operates to close, there is a risk that the load on the motor may fluctuate at a position different from the actual fluctuating position due to a foreign object being caught. In other words, there is a possibility that the accuracy of obtaining the second variable position may be reduced. In this regard, since the control device having the above configuration does not perform the correction process during the closing operation of the opening/closing body, it is possible to suppress the correction process from being performed erroneously.

上記車両用開閉体の制御装置において、前記補正部は、車両が走行中の場合、前記補正処理を実施しないことが好ましい。
車両の走行中に開閉体が開閉作動する場合には、開閉体に振動及び走行風等が作用することによって、実際の変動位置とは異なる位置でモータの負荷が変動するおそれがある。この点、上記構成の制御装置は、車両が走行中の場合に補正処理を実施しないため、誤って補正処理を実施することを抑制できる。
In the control device for a vehicle opening/closing body, it is preferable that the correction section does not perform the correction process when the vehicle is running.
When the opening/closing body opens and closes while the vehicle is running, the load on the motor may vary at a position different from the actual position due to vibrations, traveling wind, etc. acting on the opening/closing body. In this regard, since the control device configured as described above does not perform the correction process while the vehicle is running, it is possible to prevent the correction process from being performed erroneously.

車両用開閉体の制御装置は、開閉体の開閉作動に必要な情報を補正できる。 A control device for a vehicle opening/closing body can correct information necessary for opening/closing operations of the opening/closing body.

第1実施形態に係るサンルーフ装置を備える車両の平面図。FIG. 1 is a plan view of a vehicle equipped with a sunroof device according to a first embodiment. 第1実施形態において、可動パネルが全閉位置に配置されるときのサンルーフ装置の側面図。FIG. 3 is a side view of the sunroof device when the movable panel is placed in the fully closed position in the first embodiment. 第1実施形態において、可動パネルがチルトアップ位置に配置されるときのサンルーフ装置の側面図。FIG. 3 is a side view of the sunroof device when the movable panel is placed in the tilt-up position in the first embodiment. 第1実施形態において、可動パネルが全開位置に配置されるときのサンルーフ装置の側面図。FIG. 2 is a side view of the sunroof device when the movable panel is placed in the fully open position in the first embodiment. 第1実施形態の可動パネルの作動範囲を示す模式図。FIG. 3 is a schematic diagram showing the operating range of the movable panel of the first embodiment. 第1実施形態において、可動パネルの開作動時のモータの負荷の変動の一例を示すグラフ。7 is a graph showing an example of a variation in motor load during the opening operation of the movable panel in the first embodiment. 第1実施形態において、可動パネルの開作動時に制御装置が実施する処理の流れを説明するフローチャート。5 is a flowchart illustrating the flow of processing performed by the control device during the opening operation of the movable panel in the first embodiment. 第1実施形態において、補正処理を実施するために制御装置が実施する処理の流れを説明するフローチャート。5 is a flowchart illustrating the flow of processing performed by the control device in order to perform correction processing in the first embodiment. 第1実施形態において、可動パネルの開作動時のモータの負荷の変動の一例を示すグラフ。7 is a graph showing an example of a variation in motor load during the opening operation of the movable panel in the first embodiment. 第2実施形態において、可動パネルの開作動時のモータの負荷の変動の一例を示すグラフ。7 is a graph illustrating an example of a change in motor load during an opening operation of a movable panel in the second embodiment. 第2実施形態において、補正処理を実施するために制御装置が実施する処理の流れを説明するフローチャート。7 is a flowchart illustrating the flow of processing performed by the control device to perform correction processing in the second embodiment. 第2実施形態において、可動パネルの開作動時のモータの負荷の変動の一例を示すグラフ。7 is a graph illustrating an example of a change in motor load during an opening operation of a movable panel in the second embodiment. 変更例において、可動パネルの開作動時のモータの負荷の変動の一例を示すグラフ。The graph which shows an example of the variation of the load of a motor at the time of the opening operation of a movable panel in the example of a change.

(第1実施形態)
以下、第1実施形態に係る車両用開閉体の制御装置を備える車両について図面を参照しつつ説明する。以降の説明では、車両の幅方向に延びる軸線をX軸で図示し、車両の前後方向に延びる軸線をY軸で示し、車両の上下方向に延びる軸線をZ軸で示す。
(First embodiment)
Hereinafter, a vehicle equipped with a control device for a vehicle opening/closing body according to a first embodiment will be described with reference to the drawings. In the following description, the axis extending in the width direction of the vehicle is indicated by the X-axis, the axis extending in the longitudinal direction of the vehicle is indicated by the Y-axis, and the axis extending in the vertical direction of the vehicle is indicated by the Z-axis.

図1に示すように、車両10は、ルーフ21にルーフ開口部22が設けられる車体20と、ルーフ開口部22を区画するベースフレーム30と、ルーフ21に搭載されるサンルーフ装置40と、サンルーフ装置40を作動させる際に操作される操作スイッチSWと、サンルーフ装置40を制御する制御装置100と、を備える。 As shown in FIG. 1, the vehicle 10 includes a vehicle body 20 in which a roof 21 is provided with a roof opening 22, a base frame 30 that partitions the roof opening 22, a sunroof device 40 mounted on the roof 21, and a sunroof device. The sunroof device 40 includes an operation switch SW that is operated when the sunroof device 40 is activated, and a control device 100 that controls the sunroof device 40.

ルーフ開口部22は、上方からの平面視において、幅方向を長手方向とし前後方向を短手方向とする略矩形状をなしている。ルーフ開口部22は、「車両の開口部」の一例に相当する。ベースフレーム30は、前後方向に延びる一対のガイドレール31と、幅方向に延びるフロントハウジング32と、フロントハウジング32よりも後方で幅方向に延びるセンターフレーム33と、を有する。フロントハウジング32は、一対のガイドレール31の前端部同士を接続し、センターフレーム33は、一対のガイドレール31の前後方向における中間部同士を接続する。こうして、一対のガイドレール31、フロントハウジング32及びセンターフレーム33は、ルーフ開口部22を区画する。 The roof opening 22 has a substantially rectangular shape with the width direction being the longitudinal direction and the front and rear direction being the lateral direction, when viewed from above. The roof opening 22 corresponds to an example of a "vehicle opening." The base frame 30 includes a pair of guide rails 31 extending in the front-rear direction, a front housing 32 extending in the width direction, and a center frame 33 extending in the width direction behind the front housing 32. The front housing 32 connects the front end portions of the pair of guide rails 31, and the center frame 33 connects the intermediate portions of the pair of guide rails 31 in the front-rear direction. In this way, the pair of guide rails 31, the front housing 32, and the center frame 33 define the roof opening 22.

次に、サンルーフ装置40について説明する。
図1及び図2に示すように、サンルーフ装置40は、ルーフ開口部22を開閉する可動パネル50と、可動パネル50を駆動する駆動装置60と、を備える。第1実施形態において、サンルーフ装置40は、「車両用開閉装置」の一例に相当する。
Next, the sunroof device 40 will be explained.
As shown in FIGS. 1 and 2, the sunroof device 40 includes a movable panel 50 that opens and closes the roof opening 22, and a drive device 60 that drives the movable panel 50. In the first embodiment, the sunroof device 40 corresponds to an example of a "vehicle opening/closing device."

図1に示すように、可動パネル50は、上方からの平面視において、ルーフ開口部22よりも一回り大きな矩形板状をなしている。可動パネル50は、例えば、透光性を有するガラスパネルである。第1実施形態において、可動パネル50は、「開閉体」の一例に相当する。 As shown in FIG. 1, the movable panel 50 has a rectangular plate shape that is one size larger than the roof opening 22 when viewed from above. The movable panel 50 is, for example, a translucent glass panel. In the first embodiment, the movable panel 50 corresponds to an example of an "opening/closing body".

図1及び図2に示すように、駆動装置60は、可動パネル50を支持する支持ブラケット61と、支持ブラケット61の前端部を支持するフロントリンク62と、フロントリンク62よりも後方で支持ブラケット61を支持するリアリンク63と、を備える。また、駆動装置は、ガイドレール31に沿って移動することでフロントリンク62及びリアリンク63を駆動する駆動シュー64と、可動パネル50の駆動源となるモータ65と、モータ65の動力を駆動シュー64に伝達するプッシュプルケーブル66と、を備える。また、駆動装置60は、駆動シュー64の前方への移動限界を規定するフロントブロック67と、駆動シュー64の後方への移動限界を規定するリアブロック68と、モータ65の回転角に応じた信号を出力する回転角センサSEと、を有する。図1に示すように、駆動装置60の構成要素のうち、モータ65を除く構成要素は、幅方向に対をなす構成部材である。 As shown in FIGS. 1 and 2, the drive device 60 includes a support bracket 61 that supports the movable panel 50, a front link 62 that supports the front end of the support bracket 61, and a support bracket 61 located behind the front link 62. and a rear link 63 that supports the. The drive device also includes a drive shoe 64 that drives the front link 62 and the rear link 63 by moving along the guide rail 31, a motor 65 that serves as a drive source for the movable panel 50, and a drive shoe 64 that drives the movable panel 50. 64. A push-pull cable 66 is provided. The drive device 60 also includes a front block 67 that defines the forward movement limit of the drive shoe 64, a rear block 68 that defines the rearward movement limit of the drive shoe 64, and a signal that corresponds to the rotation angle of the motor 65. It has a rotation angle sensor SE that outputs. As shown in FIG. 1, among the components of the drive device 60, the components other than the motor 65 are paired in the width direction.

続いて、サンルーフ装置40の動作について説明する。
図1及び図2に示すように、駆動シュー64がガイドレール31の前端付近に位置する状態では、支持ブラケット61の長手方向がガイドレール31の長手方向と略一致する。図2に示す状態では、支持ブラケット61に支持される可動パネル50が、ルーフ開口部22を全閉する「全閉位置Pc」に配置される。可動パネル50が全閉位置Pcに配置される場合、駆動シュー64は、フロントブロック67に最接近するが、フロントブロック67には接触しない。
Next, the operation of the sunroof device 40 will be explained.
As shown in FIGS. 1 and 2, when the drive shoe 64 is located near the front end of the guide rail 31, the longitudinal direction of the support bracket 61 substantially coincides with the longitudinal direction of the guide rail 31. In the state shown in FIG. 2, the movable panel 50 supported by the support bracket 61 is placed in a "fully closed position Pc" in which the roof opening 22 is fully closed. When the movable panel 50 is placed in the fully closed position Pc, the drive shoe 64 comes closest to the front block 67 but does not come into contact with the front block 67.

図1及び図3に示すように、可動パネル50が全閉位置Pcに配置される状況下において、モータ65に駆動されるプッシュプルケーブル66が駆動シュー64を後方に押すと、リアリンク63が起き上がる。つまり、支持ブラケット61の後端部が上昇し、可動パネル50は後端部が上昇した「チルトアップ位置Pt」に配置される。 As shown in FIGS. 1 and 3, when the push-pull cable 66 driven by the motor 65 pushes the drive shoe 64 rearward when the movable panel 50 is placed in the fully closed position Pc, the rear link 63 get up. That is, the rear end of the support bracket 61 is raised, and the movable panel 50 is placed at the "tilt-up position Pt" where the rear end is raised.

図1及び図4に示すように、可動パネル50がチルトアップ位置Ptに配置される状況下において、モータ65に駆動されるプッシュプルケーブル66が駆動シュー64を後方に押すと、フロントリンク62及びリアリンク63が後方に移動する。つまり、フロントリンク62及びリアリンク63に支持される支持ブラケット61が後方に移動し、可動パネル50は前端部に対して後端部が上昇した状態で後方に移動する。その結果、可動パネル50は、ルーフ開口部22を全開する「全開位置Po」に配置される。可動パネル50が全開位置Poに配置される場合、駆動シュー64は、リアブロック68に最接近するが、リアブロック68には接触しない。 As shown in FIGS. 1 and 4, when the push-pull cable 66 driven by the motor 65 pushes the drive shoe 64 rearward when the movable panel 50 is placed at the tilt-up position Pt, the front link 62 and The rear link 63 moves rearward. That is, the support bracket 61 supported by the front link 62 and the rear link 63 moves rearward, and the movable panel 50 moves rearward with the rear end raised relative to the front end. As a result, the movable panel 50 is placed at the "fully open position Po" where the roof opening 22 is fully opened. When the movable panel 50 is placed in the fully open position Po, the drive shoe 64 comes closest to the rear block 68 but does not come into contact with the rear block 68.

一方、可動パネル50が全開位置Poに配置される状況下において、モータ65に駆動されるプッシュプルケーブル66が駆動シュー64を前方に引くと、フロントリンク62及びリアリンク63が前方に移動する。つまり、フロントリンク62及びリアリンク63に支持される支持ブラケット61が前方に移動し、可動パネル50はチルトアップ位置Ptに配置される。さらに、可動パネル50がチルトアップ位置Ptに配置される状況下において、モータ65に駆動されるプッシュプルケーブル66が駆動シュー64を前方に引くと、リアリンク63が前傾する。つまり、支持ブラケット61の後端部が下降し、可動パネル50は全閉位置Pcに配置される。 On the other hand, when the push-pull cable 66 driven by the motor 65 pulls the drive shoe 64 forward when the movable panel 50 is placed in the fully open position Po, the front link 62 and the rear link 63 move forward. That is, the support bracket 61 supported by the front link 62 and the rear link 63 moves forward, and the movable panel 50 is placed at the tilt-up position Pt. Further, when the push-pull cable 66 driven by the motor 65 pulls the drive shoe 64 forward while the movable panel 50 is placed at the tilt-up position Pt, the rear link 63 tilts forward. That is, the rear end portion of the support bracket 61 is lowered, and the movable panel 50 is placed in the fully closed position Pc.

こうして、第1実施形態では、フロントブロック67及びリアブロック68に接触しない範囲で、駆動シュー64がガイドレール31に沿って移動することにより、可動パネル50が全閉位置Pc、チルトアップ位置Pt及び全開位置Poの間で作動する。仮に、可動パネル50が全開位置Poを通過しても開作動し続ける場合には、駆動シュー64とリアブロック68との接触により、可動パネル50が停止される。一方、可動パネル50が全閉位置Pcを通過しても閉作動し続ける場合には、駆動シュー64とフロントブロック67との接触により、可動パネル50が停止される。このように、フロントブロック67及びリアブロック68は、可動パネル50が何らかの理由により全閉位置Pc及び全開位置Poの間の通常の作動範囲外で作動しようとしたときの機械的なストッパとして機能する。 Thus, in the first embodiment, the drive shoe 64 moves along the guide rail 31 without contacting the front block 67 and the rear block 68, so that the movable panel 50 can be moved to the fully closed position Pc, the tilt-up position Pt, and the like. It operates between the fully open position Po. If the movable panel 50 continues to open even after passing through the fully open position Po, the movable panel 50 will be stopped by the contact between the drive shoe 64 and the rear block 68. On the other hand, if the movable panel 50 continues to close even after passing through the fully closed position Pc, the movable panel 50 is stopped due to the contact between the drive shoe 64 and the front block 67. In this way, the front block 67 and the rear block 68 function as mechanical stoppers when the movable panel 50 attempts to operate outside the normal operating range between the fully closed position Pc and the fully open position Po for some reason. .

また、サンルーフ装置40において、可動パネル50がチルトアップ位置Ptの付近で作動する場合には、駆動シュー64の摺動抵抗が変動することがある。以降の説明では、駆動シュー64の摺動抵抗が変動するときの可動パネル50の位置、言い換えれば、モータ65の負荷が変動するときの可動パネル50の位置を「変動位置Px」という。さらに、可動パネル50の変動位置Pxを含む作動範囲を「変動範囲Rx」という。第1実施形態では、変動範囲Rxは、チルトアップ位置Ptを含む作動範囲である。変動位置Pxは、サンルーフ装置40の構造的に自然に生じるものであるが、後述する制御のために意図的に生じるようにサンルーフ装置40を設計してもよい。 Furthermore, in the sunroof device 40, when the movable panel 50 operates near the tilt-up position Pt, the sliding resistance of the drive shoe 64 may vary. In the following description, the position of the movable panel 50 when the sliding resistance of the drive shoe 64 fluctuates, or in other words, the position of the movable panel 50 when the load of the motor 65 fluctuates, will be referred to as a "fluctuation position Px." Furthermore, the operating range including the variable position Px of the movable panel 50 is referred to as a "variable range Rx." In the first embodiment, the variation range Rx is an operating range that includes the tilt-up position Pt. Although the variable position Px naturally occurs due to the structure of the sunroof device 40, the sunroof device 40 may be designed so that it occurs intentionally for the purpose of control, which will be described later.

なお、モータ65を一定の回転速度VMで回転させているときに、モータ65の負荷が大きくなると、モータ65の回転速度VMが低下する。第1実施形態では、モータ65の回転速度VMの低下をモータ65の負荷の増大とする。 Note that when the motor 65 is rotated at a constant rotational speed VM and the load on the motor 65 increases, the rotational speed VM of the motor 65 decreases. In the first embodiment, a decrease in the rotational speed VM of the motor 65 is considered to be an increase in the load on the motor 65.

図1に示すように、操作スイッチSWは、ユーザに操作されるスイッチであり、運転席の周囲又はルーフ開口部22の周囲に設置される。操作スイッチSWは、可動パネル50を全開位置Poまでオート作動させるスイッチ、可動パネル50を全閉位置Pcまでオート作動させるスイッチ及び可動パネル50をチルトアップ位置Ptまでオート作動させるスイッチを有する。操作スイッチSWは、操作されるスイッチに応じて、可動パネル50を全開位置Poまで開作動させるための開作動指令信号、可動パネル50を全閉位置Pcまで閉作動させるための閉作動指令信号及び可動パネル50をチルトアップ位置Ptまでチルト作動させるためのチルト作動指令信号を制御装置100に出力する。ここで、オート作動とは、ユーザが操作スイッチSWを操作し続けなくても、可動パネル50が目的の位置まで作動し続ける作動モードのことをいう。 As shown in FIG. 1, the operation switch SW is a switch operated by a user, and is installed around the driver's seat or around the roof opening 22. The operation switch SW includes a switch that automatically operates the movable panel 50 to the fully open position Po, a switch that automatically operates the movable panel 50 to the fully closed position Pc, and a switch that automatically operates the movable panel 50 to the tilt-up position Pt. The operation switch SW generates an open operation command signal for opening the movable panel 50 to the fully open position Po, a close operation command signal for operating the movable panel 50 to close the movable panel 50 to the fully closed position Pc, and A tilt operation command signal for tilting the movable panel 50 to the tilt-up position Pt is output to the control device 100. Here, the automatic operation refers to an operation mode in which the movable panel 50 continues to operate to the target position even if the user does not continue to operate the operation switch SW.

次に、制御装置100について説明する。
図1に示すように、制御装置100は、可動パネル50の位置を取得する取得部101と、可動パネル50を開閉作動させるために必要な位置情報を記憶する記憶部102と、モータ65を制御することにより可動パネル50を開閉作動させる制御部103と、記憶部102の位置情報にずれが生じた場合に補正処理を実施する補正部104と、を有する。
Next, the control device 100 will be explained.
As shown in FIG. 1, the control device 100 controls an acquisition unit 101 that acquires the position of the movable panel 50, a storage unit 102 that stores position information necessary for opening and closing the movable panel 50, and a motor 65. It has a control unit 103 that opens and closes the movable panel 50 by opening and closing the movable panel 50, and a correction unit 104 that performs correction processing when a deviation occurs in the position information in the storage unit 102.

取得部101は、回転角センサSEに接続される。取得部101には、回転角センサSEから、モータ65の所定の回転角毎にパルスが入力される。取得部101は、可動パネル50の開閉作動に伴って増減するパルスカウント値を可動パネル50の位置として取得する。 The acquisition unit 101 is connected to the rotation angle sensor SE. A pulse is input to the acquisition unit 101 from the rotation angle sensor SE at every predetermined rotation angle of the motor 65. The acquisition unit 101 acquires, as the position of the movable panel 50, a pulse count value that increases or decreases as the movable panel 50 opens and closes.

詳しくは、取得部101は、可動パネル50の作動範囲内に設定される原点位置Porgにおけるパルスカウント値を「0」とする。取得部101は、可動パネル50が開作動する場合には、回転角センサSEからパルスが入力される度にパルスカウント値を「1」だけ加算し、可動パネル50が閉作動する場合には、回転角センサSEからパルスが入力される度にパルスカウント値を「1」だけ減算する。こうして、取得部101は、原点位置Porgを基準とした可動パネル50の位置を取得する。 Specifically, the acquisition unit 101 sets the pulse count value at the origin position Porg set within the operating range of the movable panel 50 to "0". When the movable panel 50 operates to open, the acquisition unit 101 adds "1" to the pulse count value every time a pulse is input from the rotation angle sensor SE, and when the movable panel 50 operates to close, Every time a pulse is input from the rotation angle sensor SE, the pulse count value is subtracted by "1". In this way, the acquisition unit 101 acquires the position of the movable panel 50 based on the origin position Porg.

第1実施形態では、駆動シュー64がフロントブロック67に接触するときの可動パネル50の位置を原点位置Porgとする。このため、可動パネル50が全閉位置Pc及び全開位置Poの間で開閉作動する状況下において、パルスカウント値は常に正の値となる。なお、全閉位置Pc、チルトアップ位置Pt、全開位置Po及びその他の位置の何れかの位置を原点位置Porgとして設定することも可能である。 In the first embodiment, the position of the movable panel 50 when the drive shoe 64 contacts the front block 67 is defined as the origin position Porg. Therefore, under the conditions where the movable panel 50 opens and closes between the fully closed position Pc and the fully open position Po, the pulse count value is always a positive value. Note that it is also possible to set any one of the fully closed position Pc, tilt-up position Pt, fully open position Po, and other positions as the origin position Porg.

記憶部102は、可動パネル50の現在位置と、原点位置Porgを基準とする全閉位置Pc、チルトアップ位置Pt、全開位置Po及び変動位置Pxと、変動範囲Rxにおけるモータ65の回転速度VMと、を記憶する。つまり、記憶部102は、現在位置、全閉位置Pc、チルトアップ位置Pt及び全開位置Poに対応するパルスカウント値を記憶する。また、記憶部102は、変動位置Pxに対応するパルスカウント値と、変動範囲Rxにおけるパルスカウント値毎のモータ65の回転速度VMを示す値と、を記憶する。記憶部102は、車両10のイグニッション電源のオンオフ状況に関わらず、情報を保持し続ける。 The storage unit 102 stores the current position of the movable panel 50, a fully closed position Pc, a tilt-up position Pt, a fully open position Po, and a variable position Px based on the origin position Porg, and the rotational speed VM of the motor 65 in the variable range Rx. , memorize. That is, the storage unit 102 stores pulse count values corresponding to the current position, the fully closed position Pc, the tilt-up position Pt, and the fully open position Po. The storage unit 102 also stores a pulse count value corresponding to the variable position Px and a value indicating the rotational speed VM of the motor 65 for each pulse count value in the variable range Rx. The storage unit 102 continues to hold information regardless of whether the ignition power of the vehicle 10 is turned on or off.

制御部103は、車両10の出荷時などに、全閉位置Pc、チルトアップ位置Pt、全開位置Po及び変動位置Pxと、変動範囲Rx内のモータ65の負荷と、を記憶部102に記憶させる初期化処理を実施する。図5に示すように、制御部103は、初期化処理において、駆動シュー64がフロントブロック67に接触するまで、可動パネル50を閉方向に作動させる。制御部103は、例えば、モータ65の負荷の増大に基づいて、駆動シュー64がフロントブロック67に接触したか否かを判断すればよい。駆動シュー64がフロントブロック67に接触すると、制御部103は、可動パネル50を停止させるとともに、可動パネル50の停止位置を原点位置Porgとして記憶部102に記憶させる。原点位置Porgから全閉位置Pcまでの距離、原点位置Porgからチルトアップ位置Ptまでの距離及び原点位置Porgから全開位置Poまでの距離は、サンルーフ装置40の仕様から求まる数値である。このため、原点位置Porgが確定した時点で、全閉位置Pc、チルトアップ位置Pt及び全開位置Poが確定する。 The control unit 103 causes the storage unit 102 to store the fully closed position Pc, the tilt-up position Pt, the fully open position Po, the variable position Px, and the load of the motor 65 within the variable range Rx, such as when the vehicle 10 is shipped. Perform initialization processing. As shown in FIG. 5, the control unit 103 operates the movable panel 50 in the closing direction until the drive shoe 64 contacts the front block 67 in the initialization process. For example, the control unit 103 may determine whether the drive shoe 64 has contacted the front block 67 based on an increase in the load on the motor 65. When the drive shoe 64 contacts the front block 67, the control unit 103 stops the movable panel 50 and stores the stopped position of the movable panel 50 in the storage unit 102 as the origin position Porg. The distance from the origin position Porg to the fully closed position Pc, the distance from the origin position Porg to the tilt-up position Pt, and the distance from the origin position Porg to the fully open position Po are numerical values determined from the specifications of the sunroof device 40. Therefore, at the time when the origin position Porg is determined, the fully closed position Pc, the tilt-up position Pt, and the fully open position Po are determined.

続いて、制御部103は、可動パネル50を原点位置Porgから、全閉位置Pc及びチルトアップ位置Ptを経由して全開位置Poまで開作動させる。ここで、可動パネル50が、モータ65の負荷が変動しやすいときの可動パネル50の作動範囲である変動範囲Rxを開作動するとき、制御部103は、パルスカウント値と対応付けてモータ65の回転速度VMを記憶部102に記憶させる。なお、変動範囲Rxは、チルトアップ位置Ptを含む点で、チルト作動範囲Rt及びスライド作動範囲Rsに跨る範囲である。 Subsequently, the control unit 103 opens the movable panel 50 from the origin position Porg to the fully open position Po via the fully closed position Pc and the tilt-up position Pt. Here, when the movable panel 50 operates to open the fluctuation range Rx, which is the operating range of the movable panel 50 when the load of the motor 65 tends to fluctuate, the control unit 103 controls the motor 65 in association with the pulse count value. The rotation speed VM is stored in the storage unit 102. Note that the variation range Rx includes the tilt-up position Pt, and is a range spanning the tilt operation range Rt and the slide operation range Rs.

図6は、初期化処理において、可動パネル50が開作動するとき、詳しくは、可動パネル50がチルトアップ作動及びスライド開作動するときの可動パネル50の位置とモータ65の回転速度VMとの関係を示すグラフである。図6に示すように、第1実施形態では、可動パネル50が開作動するときに、一度だけモータ65の回転速度VMが一時的に低下する場合を想定している。また、図6では、説明理解の容易のために、モータ65の回転速度VMの変動を顕著なものとして図示している。 FIG. 6 shows the relationship between the position of the movable panel 50 and the rotational speed VM of the motor 65 when the movable panel 50 operates to open in the initialization process, specifically, when the movable panel 50 tilts up and slides open. This is a graph showing. As shown in FIG. 6, in the first embodiment, it is assumed that the rotational speed VM of the motor 65 is temporarily reduced only once when the movable panel 50 is opened. Further, in FIG. 6, for ease of explanation and understanding, fluctuations in the rotational speed VM of the motor 65 are shown as being significant.

制御部103は、初期化処理において、可動パネル50の作動範囲のうち、太線で示す変動範囲Rxにおけるモータ65の回転速度VMの変化を記憶部102に記憶させる。制御部103は、変動範囲Rxにおけるモータ65の回転速度VMの変化を記憶部102に記憶させた後、モータ65の回転速度VMが減少し始める変動位置Pxを記憶部102に記憶させる。以降の説明では、この位置を第1変動開始位置PxA1という。第1変動開始位置PxA1は、「第1変動位置」の一例である。 In the initialization process, the control unit 103 causes the storage unit 102 to store changes in the rotational speed VM of the motor 65 in a variation range Rx indicated by a thick line among the operating ranges of the movable panel 50. The control unit 103 causes the storage unit 102 to store the change in the rotational speed VM of the motor 65 in the fluctuation range Rx, and then stores the fluctuation position Px at which the rotational speed VM of the motor 65 starts to decrease in the storage unit 102. In the following description, this position will be referred to as the first fluctuation start position PxA1. The first fluctuation start position PxA1 is an example of a "first fluctuation position."

可動パネル50が全閉位置Pcに到達すると、制御部103は、可動パネル50を全開位置Poからチルトアップ位置Ptを経由して全閉位置Pcまで閉作動させる。なお、制御部103は、初期化処理において、モータ65の回転速度VMが意図せず変動する場合など、初期化処理が正常に完了できなかったと判断できる場合には、初期化処理を再度実施することが好ましい。 When the movable panel 50 reaches the fully closed position Pc, the control unit 103 closes the movable panel 50 from the fully open position Po to the fully closed position Pc via the tilt up position Pt. Note that in the initialization process, if the control unit 103 determines that the initialization process cannot be completed normally, such as when the rotational speed VM of the motor 65 changes unintentionally, the control unit 103 performs the initialization process again. It is preferable.

初期化処理が完了すると、制御部103は、取得部101が取得する可動パネル50の位置と記憶部102に記憶される位置情報とに基づいてモータ65を制御することにより、可動パネル50を開閉作動させることが可能となる。詳しくは、制御部103は、操作スイッチSWから開作動指令信号が入力された場合、記憶部102に記憶される全開位置Poに基づき可動パネル50を開作動させる。また、制御部103は、操作スイッチSWから閉作動指令信号が入力された場合、記憶部102に記憶される全閉位置Pcに基づき可動パネル50を閉作動させる。また、制御部103は、操作スイッチSWからチルトアップ指令信号が入力された場合、記憶部102に記憶されるチルトアップ位置Ptに基づき可動パネル50をチルト作動させる。一例として、可動パネル50を全閉位置Pcから全開位置Poまで開作動させる場合、可動パネル50が全開位置Poに近付くにつれて、可動パネル50の現在位置を示すパルスカウント値が増大する。制御部103は、可動パネル50の現在位置を示すパルスカウント値が記憶部102に記憶される全閉位置Pcに対応するパルスカウント値となったとき、可動パネル50の開作動を終了させる。 When the initialization process is completed, the control unit 103 opens and closes the movable panel 50 by controlling the motor 65 based on the position of the movable panel 50 acquired by the acquisition unit 101 and the position information stored in the storage unit 102. It becomes possible to operate it. Specifically, when an opening command signal is input from the operation switch SW, the control unit 103 opens the movable panel 50 based on the fully open position Po stored in the storage unit 102. Further, when a closing operation command signal is input from the operation switch SW, the control section 103 closes the movable panel 50 based on the fully closed position Pc stored in the storage section 102. Further, when a tilt-up command signal is input from the operation switch SW, the control unit 103 tilts the movable panel 50 based on the tilt-up position Pt stored in the storage unit 102. As an example, when the movable panel 50 is opened from the fully closed position Pc to the fully open position Po, the pulse count value indicating the current position of the movable panel 50 increases as the movable panel 50 approaches the fully open position Po. The control unit 103 ends the opening operation of the movable panel 50 when the pulse count value indicating the current position of the movable panel 50 becomes a pulse count value corresponding to the fully closed position Pc stored in the storage unit 102.

また、制御部103は、可動パネル50を開作動させる状況下において、可動パネル50が変動範囲Rx内を作動する場合、可動パネル50の位置に対するモータ65の回転速度VMを監視する。そして、制御部103は、モータ65の回転速度VMが減少し始める位置を算出する。以降の説明では、この位置を第2変動開始位置PxA2という。第2変動開始位置PxA2は、「第2変動位置」の一例である。 Further, in a situation where the movable panel 50 is operated to open, the control unit 103 monitors the rotational speed VM of the motor 65 with respect to the position of the movable panel 50 when the movable panel 50 operates within the fluctuation range Rx. Then, the control unit 103 calculates the position where the rotational speed VM of the motor 65 starts to decrease. In the following description, this position will be referred to as the second fluctuation start position PxA2. The second fluctuation start position PxA2 is an example of a "second fluctuation position."

第2変動開始位置PxA2は、第1変動開始位置PxA1と対応する位置である。第1変動開始位置PxA1は、初期化処理が実施されない限り変化しない基準となる変動位置Pxである一方、第2変動開始位置PxA2は、後述する各種の理由によりずれが生じ得る変動位置Pxである。つまり、第2変動開始位置PxA2は、第1変動開始位置PxA1との比較対象となる変動位置Pxである。第2変動開始位置PxA2は、初期化処理の実施後に取得される変動位置Pxである点で、記憶部102に第1変動開始位置PxA1が記憶された後の可動パネル50の開作動時に取得部101が取得する変動位置Pxであるといえる。 The second fluctuation start position PxA2 is a position corresponding to the first fluctuation start position PxA1. The first fluctuation start position PxA1 is a reference fluctuation position Px that does not change unless initialization processing is performed, while the second fluctuation start position PxA2 is a fluctuation position Px that may deviate due to various reasons described below. . That is, the second fluctuation start position PxA2 is a fluctuation position Px to be compared with the first fluctuation start position PxA1. The second fluctuation start position PxA2 is the fluctuation position Px acquired after the initialization process is performed, and is acquired by the acquisition unit during the opening operation of the movable panel 50 after the first fluctuation start position PxA1 is stored in the storage unit 102. It can be said that 101 is the acquired fluctuating position Px.

また、制御部103は、開閉作動中の可動パネル50が異物に接触する場合、可動パネル50の開閉作動を中断したり可動パネル50の作動方向を逆方向としたりする挟み込み判定処理を実施することが好ましい。制御部103は、例えば、モータ65の回転速度VMの減少に基づいて、可動パネル50が異物に接触したか否かを判定すればよい。 In addition, when the movable panel 50 during the opening/closing operation comes into contact with a foreign object, the control unit 103 performs a pinch determination process that interrupts the opening/closing operation of the movable panel 50 or reverses the operating direction of the movable panel 50. is preferred. The control unit 103 may determine whether the movable panel 50 has come into contact with a foreign object, for example, based on a decrease in the rotational speed VM of the motor 65.

ユーザが車両10の利用を継続していると、サンルーフ装置40が経年劣化したとき、回転角センサSEがモータ65の回転角に応じたパルス信号を正確に出力できなかったとき及びサンルーフ装置40の分解修理後に初期化処理が実施されなかったときに、変動位置Pxにずれが生じることがある。詳しくは、第1変動開始位置PxA1に対して、第2変動開始位置PxA2が位置ずれすることがある。 As the user continues to use the vehicle 10, when the sunroof device 40 deteriorates over time, when the rotation angle sensor SE cannot accurately output a pulse signal according to the rotation angle of the motor 65, and when the sunroof device 40 When initialization processing is not performed after overhaul, a shift may occur in the variable position Px. Specifically, the second fluctuation start position PxA2 may be displaced from the first fluctuation start position PxA1.

そこで、補正部104は、第1変動開始位置PxA1及び第2変動開始位置PxA2に位置ずれが生じている場合には、原点位置Porgを補正する補正処理を実施する。詳しくは、補正部104は、第1変動開始位置PxA1及び第2変動開始位置PxA2の差分ΔPに基づいて、原点位置Porgを補正する補正処理を実施する。 Therefore, when there is a positional shift between the first fluctuation start position PxA1 and the second fluctuation start position PxA2, the correction unit 104 performs a correction process to correct the origin position Porg. Specifically, the correction unit 104 performs a correction process to correct the origin position Porg based on the difference ΔP between the first fluctuation start position PxA1 and the second fluctuation start position PxA2.

例えば、第2変動開始位置PxA2が第1変動開始位置PxA1に対して開方向に10パルス分だけずれている場合、補正部104は、記憶部102に記憶される原点位置Porgを10パルス分だけ閉方向にずれるように補正する。同様に、第2変動開始位置PxA2が第1変動開始位置PxA1に対して可動パネル50の閉方向に10パルス分だけずれている場合、補正部104は、原点位置Porgを10パルス分だけ開方向にずれるように補正する。 For example, if the second fluctuation start position PxA2 is shifted by 10 pulses in the opening direction with respect to the first fluctuation start position PxA1, the correction unit 104 changes the origin position Porg stored in the storage unit 102 by 10 pulses. Correct it so that it shifts in the closing direction. Similarly, when the second fluctuation start position PxA2 is shifted by 10 pulses in the closing direction of the movable panel 50 with respect to the first fluctuation start position PxA1, the correction unit 104 shifts the origin position Porg in the opening direction by 10 pulses. Correct it so that it shifts.

このように、原点位置Porgを補正すると、補正前後において、原点位置Porgがずれることにより、記憶部102に記憶される全閉位置Pc、チルトアップ位置Pt及び全開位置Poがずれる。こうして、補正部104は、補正処理において、記憶部102に記憶される全閉位置Pc、全開位置Po及びチルトアップ位置Ptを補正する。 When the origin position Porg is corrected in this manner, the origin position Porg is shifted before and after the correction, and the fully closed position Pc, tilt-up position Pt, and fully open position Po stored in the storage unit 102 are shifted. In this way, the correction unit 104 corrects the fully closed position Pc, the fully open position Po, and the tilt-up position Pt stored in the storage unit 102 in the correction process.

第1実施形態では、初期化処理において、記憶部102に第1変動開始位置PxA1が記憶され、可動パネル50の開作動時に制御部103が第2変動開始位置PxA2を算出する。このため、補正部104は、可動パネル50の開作動後に、第1変動開始位置PxA1及び第2変動開始位置PxA2の差分ΔPに基づいて、補正処理を実施する。 In the first embodiment, in the initialization process, the first fluctuation start position PxA1 is stored in the storage unit 102, and the control unit 103 calculates the second fluctuation start position PxA2 when the movable panel 50 is opened. Therefore, after the movable panel 50 is opened, the correction unit 104 performs a correction process based on the difference ΔP between the first fluctuation start position PxA1 and the second fluctuation start position PxA2.

ただし、補正部104は、正常に補正処理を実施できない可能性がある場合、補正処理を実施しない。この場合には、制御部103による可動パネル50の開閉作動が許容される一方で、補正部104による補正処理が制限される。以下、補正部104が補正処理の実施を制限する場合について説明する。 However, the correction unit 104 does not perform the correction process if there is a possibility that the correction process cannot be performed normally. In this case, while the control unit 103 is allowed to open and close the movable panel 50, the correction process by the correction unit 104 is restricted. A case in which the correction unit 104 restricts implementation of correction processing will be described below.

可動パネル50の閉作動時には、可動パネル50の開作動時に比較して、異物の挟み込みが起きやすい。つまり、可動パネル50の開作動時には、異物の挟み込みによって、モータ65の回転速度VMが変動するおそれがある。このため、補正部104は、可動パネル50の閉作動時には補正処理を実施しない。 When the movable panel 50 is closed, foreign objects are more likely to be caught than when the movable panel 50 is opened. That is, when the movable panel 50 is opened, the rotational speed VM of the motor 65 may fluctuate due to the foreign matter being caught. Therefore, the correction unit 104 does not perform correction processing when the movable panel 50 is closed.

車両10が走行中、特に、車両10が高速走行中には、サンルーフ装置40に振動が作用したり、走行速度に応じた負圧が可動パネル50に作用したりする。つまり、車両10の走行中には、可動パネル50の開閉作動時にモータ65の回転速度VMが変動するおそれがある。このため、補正部104は、車体速度VBが速度判定値Vth以上の場合には補正処理を実施しない。速度判定値Vthは、車体20が停止中であるか走行中であるかを判定するための判定値としてもよいし、車体20が停止中及び低速走行中であるか高速走行中であるかを判定するための判定値としてもよい。 While the vehicle 10 is running, particularly when the vehicle 10 is running at high speed, vibrations act on the sunroof device 40, and negative pressure depending on the running speed acts on the movable panel 50. That is, while the vehicle 10 is running, there is a possibility that the rotational speed VM of the motor 65 may fluctuate when the movable panel 50 is opened/closed. Therefore, the correction unit 104 does not perform the correction process when the vehicle speed VB is equal to or higher than the speed determination value Vth. The speed determination value Vth may be a determination value for determining whether the vehicle body 20 is stopped or running, or may be a determination value for determining whether the vehicle body 20 is stopped, running at a low speed, or running at a high speed. It may also be used as a determination value for determination.

内燃機関を備える車両10における内燃機関の始動時及びパワースライドドアを備える車両10におけるスライドドアの開閉作動時などには、バッテリ電圧EBが一時的に低下しやすい。この場合に、可動パネル50を開閉作動させると、モータ65の回転速度VMが低下したり不安定になったりしやすい。このため、補正部104は、バッテリ電圧EBが所定の電圧判定値Eth未満の場合には補正処理を実施しない。 When starting the internal combustion engine in the vehicle 10 equipped with an internal combustion engine, and when opening/closing the sliding door in the vehicle 10 equipped with a power sliding door, the battery voltage EB tends to drop temporarily. In this case, when the movable panel 50 is opened and closed, the rotational speed VM of the motor 65 tends to decrease or become unstable. Therefore, the correction unit 104 does not perform the correction process when the battery voltage EB is less than the predetermined voltage determination value Eth.

以下、図7に示すフローチャートを参照して、可動パネル50を開作動させるために制御装置100が実施する処理の流れについて説明する。なお、図7では図示を省略したが、可動パネル50の開作動時にも挟み込み判定処理を実施することが好ましい。 Hereinafter, with reference to the flowchart shown in FIG. 7, the flow of processing performed by the control device 100 to open the movable panel 50 will be described. Although not shown in FIG. 7, it is preferable to perform the pinch determination process also when the movable panel 50 is opened.

図7に示すように、制御装置100は、開作動指令信号が入力されると、可動パネル50の開作動を開始する(S11)。続いて、制御装置100は、車体速度VBが速度判定値Vth以上か否かを判定する(S12)。車体速度VBが速度判定値Vth未満の場合(S12:NO)、例えば、車両10が停止中の場合、制御装置100は、バッテリ電圧EBが電圧判定値Eth以上か否かを判定する(S13)。バッテリ電圧EBが電圧判定値Eth以上の場合(S13:YES)、制御装置100は、補正フラグをオンにする(S14)。ここで、補正フラグは、図7に示すフローチャートの開始時にオフにされるフラグであり、補正処理を実施するか否かを判定するためのフラグである。 As shown in FIG. 7, when the opening operation command signal is input, the control device 100 starts the opening operation of the movable panel 50 (S11). Subsequently, the control device 100 determines whether the vehicle speed VB is equal to or higher than the speed determination value Vth (S12). When the vehicle body speed VB is less than the speed determination value Vth (S12: NO), for example, when the vehicle 10 is stopped, the control device 100 determines whether the battery voltage EB is equal to or higher than the voltage determination value Eth (S13). . If the battery voltage EB is equal to or higher than the voltage determination value Eth (S13: YES), the control device 100 turns on the correction flag (S14). Here, the correction flag is a flag that is turned off at the start of the flowchart shown in FIG. 7, and is a flag for determining whether or not to perform correction processing.

続いて、制御装置100は、可動パネル50の開作動に伴い増大するパルスカウント値に基づいて、可動パネル50が変動範囲Rx内で作動しているかを判定する(S15)。可動パネル50が変動範囲Rx内で作動していない場合(S15:NO)、制御装置100は、その処理を後のステップS17に移行する。一方、可動パネル50が変動範囲Rx内で作動している場合(S15:YES)、制御装置100は、モータ65の負荷としてのモータ65の回転速度VMを取得する(S16)。 Next, the control device 100 determines whether the movable panel 50 is operating within the fluctuation range Rx based on the pulse count value that increases with the opening operation of the movable panel 50 (S15). If the movable panel 50 is not operating within the variation range Rx (S15: NO), the control device 100 moves the process to the subsequent step S17. On the other hand, when the movable panel 50 is operating within the variation range Rx (S15: YES), the control device 100 acquires the rotational speed VM of the motor 65 as the load of the motor 65 (S16).

その後、制御装置100は、パルスカウント値に基づき、可動パネル50が全開位置Poに到達したか否かを判定する(S17)。可動パネル50が全開位置Poに到達していない場合(S17:NO)、制御装置100は、その処理を先のステップS15に移行する。一方、可動パネル50が全開位置Poに到達している場合、制御装置100は、可動パネル50の開作動を終了し(S18)、本処理を終了する。 Thereafter, the control device 100 determines whether the movable panel 50 has reached the fully open position Po based on the pulse count value (S17). If the movable panel 50 has not reached the fully open position Po (S17: NO), the control device 100 moves the process to step S15. On the other hand, if the movable panel 50 has reached the fully open position Po, the control device 100 ends the opening operation of the movable panel 50 (S18) and ends this process.

一方、先のステップS12において、車体速度VBが速度判定値Vth以上の場合(S12:YES)、制御装置100は、その処理をステップS15に移行する。また、先のステップS13において、バッテリ電圧EBが電圧判定値Eth未満の場合(S13:NO)、制御装置100は、その処理をステップS15に移行する。つまり、これらの場合には、補正フラグがオフのままとなる。また、補正フラグがオフのままステップS15の処理を行う場合、制御装置100は、ステップS16の処理を行わなくてもよい。 On the other hand, in the previous step S12, if the vehicle body speed VB is equal to or higher than the speed determination value Vth (S12: YES), the control device 100 moves the process to step S15. Further, in the previous step S13, if the battery voltage EB is less than the voltage determination value Eth (S13: NO), the control device 100 moves the process to step S15. That is, in these cases, the correction flag remains off. Moreover, when performing the process of step S15 with the correction flag turned off, the control device 100 does not need to perform the process of step S16.

次に、図8に示すフローチャートを参照して、補正処理を実施するために制御装置100が実行する処理の流れについて説明する。
図8に示すように、制御装置100は、補正フラグがオンか否かを判定する(S21)。補正フラグがオフの場合(S21:NO)、すなわち、直近の可動パネル50の開作動時に取得した変動範囲Rxにおけるモータ65の回転速度VMに基づいて補正処理を実施することが妥当でない場合、制御装置100は、本処理を終了する。この場合、制御装置100は、補正処理を実施しない。
Next, with reference to the flowchart shown in FIG. 8, the flow of the process executed by the control device 100 to implement the correction process will be described.
As shown in FIG. 8, the control device 100 determines whether the correction flag is on (S21). If the correction flag is off (S21: NO), that is, if it is not appropriate to perform the correction process based on the rotational speed VM of the motor 65 in the variation range Rx acquired during the most recent opening operation of the movable panel 50, the control The device 100 ends this process. In this case, the control device 100 does not perform the correction process.

一方、補正フラグがオンの場合(S21:YES)、制御装置100は、第1変動開始位置PxA1及び第2変動開始位置PxA2の位置ずれ量を示す差分ΔPを算出する(S22)。続いて、制御装置100は、差分の絶対値|ΔP|が差分判定値ΔPth以下か否かを判定する(S23)。差分判定値ΔPthは、ステップS22で算出された差分ΔPが妥当性のある数値か否かを判定するための判定値である。差分判定値ΔPthは、現実的ではない誤った差分ΔPに基づいて、補正処理が実施されるのを防止するためのガード値であるともいえる。一例として、差分判定値ΔPthは、原点位置Porg及び全開位置Poの間をなす距離の数%~数十%の値とすればよい。 On the other hand, if the correction flag is on (S21: YES), the control device 100 calculates a difference ΔP indicating the amount of positional deviation between the first fluctuation start position PxA1 and the second fluctuation start position PxA2 (S22). Subsequently, the control device 100 determines whether the absolute value of the difference |ΔP| is less than or equal to the difference determination value ΔPth (S23). The difference determination value ΔPth is a determination value for determining whether the difference ΔP calculated in step S22 is a valid value. It can be said that the difference determination value ΔPth is a guard value for preventing correction processing from being performed based on an unrealistic and erroneous difference ΔP. As an example, the difference determination value ΔPth may be a value of several percent to several tens of percent of the distance between the origin position Porg and the fully open position Po.

制御装置100は、差分の絶対値|ΔP|が差分判定値ΔPth以上の場合(S23:NO)、本処理を終了し、差分の絶対値|ΔP|が差分判定値ΔPth未満の場合(S23:YES)、差分ΔPの大きさに応じた補正処理を実施する(S24)。補正処理では、差分ΔPの大きさ及び差分ΔPの正負に応じて、記憶部102に記憶される位置情報が補正される。 If the absolute value of the difference |ΔP| is greater than or equal to the difference determination value ΔPth (S23: NO), the control device 100 ends this process, and if the absolute value of the difference |ΔP| is less than the difference determination value ΔPth (S23: YES), a correction process is performed according to the magnitude of the difference ΔP (S24). In the correction process, the position information stored in the storage unit 102 is corrected according to the magnitude of the difference ΔP and whether the difference ΔP is positive or negative.

第1実施形態の作用について説明する。
図9は、可動パネル50の開作動時において、可動パネル50の位置とモータ65の回転速度VMとの関係を示している。図9において、実線で示すモータ65の回転速度VMは、初期化処理の実施時に可動パネル50を開作動させたときのものであり、一点鎖線で示すモータ65の回転速度VMは、ユーザが任意のタイミングで可動パネル50を開作動させるときのものである。また、図9では、可動パネル50の作動範囲内のうち、変動範囲Rxを太線で示している。
The operation of the first embodiment will be explained.
FIG. 9 shows the relationship between the position of the movable panel 50 and the rotational speed VM of the motor 65 when the movable panel 50 is opened. In FIG. 9, the rotational speed VM of the motor 65 indicated by a solid line is the one when the movable panel 50 is opened during the initialization process, and the rotational speed VM of the motor 65 indicated by a dashed line can be set arbitrarily by the user. This is when the movable panel 50 is opened at the timing shown in FIG. Moreover, in FIG. 9, the variation range Rx within the operating range of the movable panel 50 is shown by a thick line.

図9に一点鎖線で示すように、記憶部102に記憶される可動パネル50の位置情報が実際の可動パネル50の位置に対してずれが生じている場合に可動パネル50を閉作動させると、本来の全閉位置Pcからずれた全閉位置Pc’に可動パネル50が停止する。同様に、記憶部102に記憶される可動パネル50の位置情報が実際の可動パネル50の位置に対してずれが生じている場合に可動パネル50を開作動させると、全開位置Poからずれた全開位置Po’に可動パネル50が停止する。 As shown by the dashed line in FIG. 9, when the movable panel 50 is closed when the position information of the movable panel 50 stored in the storage unit 102 is deviated from the actual position of the movable panel 50, The movable panel 50 stops at a fully closed position Pc' shifted from the original fully closed position Pc. Similarly, when the movable panel 50 is opened when the position information of the movable panel 50 stored in the storage unit 102 is deviated from the actual position of the movable panel 50, the fully open position is shifted from the fully open position Po. The movable panel 50 stops at position Po'.

このような場合、第1変動開始位置PxA1及び第2変動開始位置PxA2の間に差分ΔPに相当する位置ずれが生じている。このため、差分ΔPに基づいて、記憶部102に記憶される位置情報が補正される。 In such a case, a positional shift corresponding to the difference ΔP has occurred between the first fluctuation start position PxA1 and the second fluctuation start position PxA2. Therefore, the position information stored in the storage unit 102 is corrected based on the difference ΔP.

図9に一点鎖線で示す例では、記憶部102に記憶される位置が本来の位置よりも閉方向に進んだ位置となるため、記憶部102に記憶される位置に対応するパルスカウント値が差分ΔPに相当するパルスだけ減算される。その結果、記憶部102に記憶される位置と実際の位置とのずれが解消される。 In the example shown by the dashed line in FIG. 9, the position stored in the storage unit 102 is a position further in the closing direction than the original position, so the pulse count value corresponding to the position stored in the storage unit 102 is the difference. Only the pulse corresponding to ΔP is subtracted. As a result, the discrepancy between the position stored in the storage unit 102 and the actual position is eliminated.

第1実施形態の効果について説明する。
(1)制御装置100は、第1変動開始位置PxA1及び第2変動開始位置PxA2に位置ずれが生じている場合、両位置の位置ずれに基づいて補正処理を実施する。このため、制御装置100は、可動パネル50を開閉作動させるときに、実際の全閉位置Pc及び全開位置Poと乖離した位置に可動パネル50を停止することを抑制できる。こうして、制御装置100は、可動パネル50の開閉作動に必要な情報を補正できる。
The effects of the first embodiment will be explained.
(1) When a positional deviation occurs between the first fluctuation start position PxA1 and the second fluctuation start position PxA2, the control device 100 performs a correction process based on the positional deviation between both positions. Therefore, when the movable panel 50 is opened and closed, the control device 100 can prevent the movable panel 50 from stopping at a position that deviates from the actual fully closed position Pc and the fully open position Po. In this way, the control device 100 can correct the information necessary for opening and closing the movable panel 50.

(2)モータ65の回転速度VMが変動する場合、回転速度VMが変動し始める変動開始位置は、回転速度VMが変動し終わる変動終了位置よりも明確に取得しやすい。この点、制御装置100は、第1変動開始位置PxA1及び第2変動開始位置PxA2の差分ΔPに基づいて、補正処理を実施する。このため、制御装置100は、補正処理を精度良く実施できる。 (2) When the rotational speed VM of the motor 65 fluctuates, the fluctuation start position where the rotational speed VM starts to fluctuate is easier to clearly obtain than the fluctuation end position where the rotational speed VM ends to fluctuate. In this regard, the control device 100 performs the correction process based on the difference ΔP between the first fluctuation start position PxA1 and the second fluctuation start position PxA2. Therefore, the control device 100 can perform the correction process with high accuracy.

(3)制御装置100は、例えば、サンルーフ装置40の出荷時において、初期化処理を実施することで、正確な変動位置Pxを記憶部102に記憶させることができる。この場合、制御装置100は、精度良く補正処理を実施できる。 (3) For example, the control device 100 can store the accurate variable position Px in the storage unit 102 by performing an initialization process when the sunroof device 40 is shipped. In this case, the control device 100 can perform the correction process with high accuracy.

(4)可動パネル50が閉作動する場合には異物などの挟み込みなど、実際の変動位置Pxとは異なる位置でモータ65の負荷が変動するおそれがある。この点、制御装置100は、可動パネル50の閉作動時に補正処理を実施しないため、誤って補正処理を実施することを抑制できる。言い換えれば、制御装置100は、記憶部102に記憶される位置情報にずれが生じている場合には、可動パネル50の閉作動時の挟み込み判定処理を実施する前に、補正処理を実施できる。このため、可動パネル50の閉作動時の挟み込み判定処理の精度を高めることができる。 (4) When the movable panel 50 is operated to close, there is a risk that the load on the motor 65 may fluctuate at a position different from the actual fluctuating position Px due to a foreign object being caught. In this regard, since the control device 100 does not perform the correction process when the movable panel 50 is closed, it is possible to prevent the correction process from being performed erroneously. In other words, if there is a shift in the position information stored in the storage unit 102, the control device 100 can perform the correction process before performing the pinch determination process when the movable panel 50 is closed. Therefore, the accuracy of the pinch determination process when the movable panel 50 is closed can be improved.

(5)車両10が走行中に可動パネル50が開閉作動する場合には、可動パネル50に振動が作用することによって、実際の変動位置Pxとは異なる位置でモータ65の負荷が変動するおそれがある。この点、制御装置100は、車両10が走行中の場合に補正処理を実施しないため、誤って補正処理を実施することを抑制できる。 (5) When the movable panel 50 opens and closes while the vehicle 10 is running, there is a risk that the load on the motor 65 will fluctuate at a position different from the actual fluctuating position Px due to vibration acting on the movable panel 50. be. In this regard, since the control device 100 does not perform the correction process while the vehicle 10 is traveling, it is possible to prevent the correction process from being performed erroneously.

(6)内燃機関の始動時及びスライドドアの開閉作動時には、バッテリ電圧EBが低下し、可動パネル50の開閉速度が不安定となるおそれがある。この点、制御装置100は、バッテリ電圧EBが低下している場合に補正処理を実施しないため、誤って補正処理を実施することを抑制できる。 (6) When starting the internal combustion engine and opening/closing the sliding door, the battery voltage EB decreases, and the opening/closing speed of the movable panel 50 may become unstable. In this regard, since the control device 100 does not perform the correction process when the battery voltage EB is decreasing, it is possible to prevent the correction process from being performed erroneously.

(7)駆動シュー64がフロントブロック67又はリアブロック68に接触したことに起因して、補正処理を実施する場合には、例えば、原点位置Porg及び全閉位置Pcの間に相当する距離だけ位置ずれが発生しなければ、補正処理を実施できない。この点、制御装置100は、駆動シュー64がフロントブロック67又はリアブロック68に接触しなくても、補正処理を実施することができる点で、大きな位置ずれの発生を抑制できるだけでなく、小さな位置ずれの発生をも抑制できる。 (7) When performing correction processing due to the drive shoe 64 coming into contact with the front block 67 or the rear block 68, for example, the position must be moved by a distance corresponding to between the origin position Porg and the fully closed position Pc. If no deviation occurs, correction processing cannot be performed. In this respect, the control device 100 can perform correction processing even if the drive shoe 64 does not come into contact with the front block 67 or the rear block 68, so that it can not only suppress the occurrence of large positional deviations but also It is also possible to suppress the occurrence of misalignment.

(第2実施形態)
以下、第2実施形態について説明する。第2実施形態は、第1実施形態と比較して、可動パネル50が開作動されるときのモータ65の負荷の変動の態様が異なる。さらに、第2実施形態は、第1実施形態と比較して、補正処理の内容が異なる。第2実施形態の説明では、第1実施形態と共通する構成について、説明を省略化又は簡略化する。
(Second embodiment)
The second embodiment will be described below. The second embodiment differs from the first embodiment in the manner in which the load on the motor 65 changes when the movable panel 50 is operated to open. Furthermore, the second embodiment differs from the first embodiment in the content of the correction process. In the description of the second embodiment, the description of the configurations common to the first embodiment will be omitted or simplified.

図10は、初期化処理において、可動パネル50が開作動するとき、詳しくは、可動パネル50がチルトアップ作動及びスライド開作動するときの可動パネル50の位置とモータ65の回転速度VMとの関係を示すグラフである。図10に示すように、第2実施形態では、可動パネル50が開作動するときに、二度に渡りモータ65の回転速度VMが一時的に低下する場合を想定している。また、図10では、説明理解の容易のために、モータ65の回転速度VMの変動を顕著なものとして図示している。 FIG. 10 shows the relationship between the position of the movable panel 50 and the rotational speed VM of the motor 65 when the movable panel 50 operates to open in the initialization process, specifically, when the movable panel 50 tilts up and slides open. This is a graph showing. As shown in FIG. 10, in the second embodiment, it is assumed that the rotational speed VM of the motor 65 temporarily decreases twice when the movable panel 50 is opened. Further, in FIG. 10, for ease of explanation and understanding, fluctuations in the rotational speed VM of the motor 65 are shown as being significant.

制御部103は、初期化処理において、可動パネル50の作動範囲のうち、太線で示す変動範囲Rxにおけるモータ65の回転速度VMの変化を記憶部102に記憶させる。制御部103は、変動範囲Rxにおけるモータ65の回転速度VMの変化を記憶部102に記憶させた後、モータ65の回転速度VMが減少し始める2つの変動位置Pxを記憶部102に記憶させる。以降の説明では、これらの位置をそれぞれ第1変動開始位置PxB1及び第1変動開始位置PxC1という。第1変動開始位置PxB1,PxC1は、「第1変動位置」の一例である。言い換えれば、第1変動位置は、複数の第1変動開始位置PxB1,PxC1を含んでいるといえる。 In the initialization process, the control unit 103 causes the storage unit 102 to store changes in the rotational speed VM of the motor 65 in a variation range Rx indicated by a thick line among the operating ranges of the movable panel 50. The control unit 103 causes the storage unit 102 to store the change in the rotational speed VM of the motor 65 in the fluctuation range Rx, and then stores in the storage unit 102 two fluctuation positions Px at which the rotational speed VM of the motor 65 begins to decrease. In the following description, these positions will be referred to as a first fluctuation start position PxB1 and a first fluctuation start position PxC1, respectively. The first fluctuation start positions PxB1 and PxC1 are examples of "first fluctuation positions." In other words, it can be said that the first fluctuation position includes a plurality of first fluctuation start positions PxB1 and PxC1.

可動パネル50が全閉位置Pcに到達すると、制御部103は、可動パネル50を全開位置Poからチルトアップ位置Ptを経由して全閉位置Pcまで閉作動させる。なお、制御部103は、初期化処理において、モータ65の回転速度VMが意図せず変動する場合など、初期化処理が正常に完了できなかったと判断できる場合には、初期化処理を再度実施することが好ましい。 When the movable panel 50 reaches the fully closed position Pc, the control unit 103 closes the movable panel 50 from the fully open position Po to the fully closed position Pc via the tilt up position Pt. Note that in the initialization process, if the control unit 103 determines that the initialization process cannot be completed normally, such as when the rotational speed VM of the motor 65 changes unintentionally, the control unit 103 performs the initialization process again. It is preferable.

初期化処理が完了すると、制御部103は、取得部101が取得する可動パネル50の位置と記憶部102に記憶される位置情報とに基づいてモータ65を制御することにより、可動パネル50を開閉作動させることが可能となる。 When the initialization process is completed, the control unit 103 opens and closes the movable panel 50 by controlling the motor 65 based on the position of the movable panel 50 acquired by the acquisition unit 101 and the position information stored in the storage unit 102. It becomes possible to operate it.

また、制御部103は、可動パネル50を開作動させる状況下において、可動パネル50が変動範囲Rx内を作動する場合、可動パネル50の位置に対するモータ65の回転速度VMを監視する。そして、制御部103は、モータ65の回転速度VMが減少し始める1回目の位置と、モータ65の回転速度VMが減少し始める2回目の位置と、を算出する。以降の説明では、これらの位置をそれぞれ第2変動開始位置PxB2及び第2変動開始位置PxC2という。第2変動開始位置PxB2,PxC2は、「第2変動位置」の一例である。言い換えれば、第2変動位置は、複数の第2変動開始位置PxB2,PxC2を含んでいるといえる。 Further, in a situation where the movable panel 50 is operated to open, the control unit 103 monitors the rotational speed VM of the motor 65 with respect to the position of the movable panel 50 when the movable panel 50 operates within the fluctuation range Rx. Then, the control unit 103 calculates the first position where the rotational speed VM of the motor 65 starts to decrease and the second position where the rotational speed VM of the motor 65 starts to decrease. In the following description, these positions will be referred to as a second fluctuation start position PxB2 and a second fluctuation start position PxC2, respectively. The second fluctuation start positions PxB2 and PxC2 are examples of "second fluctuation positions." In other words, it can be said that the second fluctuation position includes a plurality of second fluctuation start positions PxB2 and PxC2.

第2変動開始位置PxB2,PxC2は、第1変動開始位置PxB1,PxC1とそれぞれ対応する位置である。第1変動開始位置PxB1,PxC1は、初期化処理が実施されない限り変化しない基準となる変動位置Pxである一方、第2変動開始位置PxB2,PxC2は、第1実施形態で述べた理由によりずれが生じ得る変動位置Pxである。つまり、第2変動開始位置PxB2,PxC2は、第1変動開始位置PxB1,PxC1の比較対象となる変動位置Pxである。第2変動開始位置PxB2,PxC2は、初期化処理の実施後に取得される変動位置Pxである点で、記憶部102に第1変動開始位置PxB1,PxC1が記憶された後の可動パネル50の開作動時に取得部101が取得する変動位置Pxであるといえる。 The second fluctuation start positions PxB2 and PxC2 are positions corresponding to the first fluctuation start positions PxB1 and PxC1, respectively. The first fluctuation start positions PxB1 and PxC1 are reference fluctuation positions Px that do not change unless the initialization process is performed, while the second fluctuation start positions PxB2 and PxC2 are shifted due to the reasons described in the first embodiment. This is a possible variable position Px. That is, the second fluctuation start positions PxB2 and PxC2 are the fluctuation positions Px that are compared with the first fluctuation start positions PxB1 and PxC1. The second fluctuation start positions PxB2, PxC2 are the fluctuation positions Px acquired after the initialization process is performed, and therefore, the movable panel 50 is opened after the first fluctuation start positions PxB1, PxC1 are stored in the storage unit 102. It can be said that this is the variable position Px that the acquisition unit 101 acquires during operation.

ユーザが車両10の利用を継続していると、第1実施形態で述べた理由により、変動位置Pxにずれが生じることがある。詳しくは、第1変動開始位置PxB1,PxC1に対して、第2変動開始位置PxB2,PxC2がそれぞれ位置ずれすることがある。 If the user continues to use the vehicle 10, a shift may occur in the variable position Px for the reason described in the first embodiment. Specifically, the second fluctuation start positions PxB2 and PxC2 may be displaced from the first fluctuation start positions PxB1 and PxC1, respectively.

そこで、補正部104は、第1変動開始位置PxB1,PxC1と第2変動開始位置PxB2,PxC2とにそれぞれ位置ずれが生じている場合には、当該位置ずれに基づいて、原点位置Porgを補正する補正処理を実施する。詳しくは、補正部104は、第1変動開始位置PxB1,PxC1の差分と第2変動開始位置PxB2,PxC2の差分との平均値である差分平均値ΔPmに基づいて、原点位置Porgを補正する補正処理を実施する。 Therefore, when a positional deviation occurs between the first fluctuation start positions PxB1, PxC1 and the second fluctuation start positions PxB2, PxC2, the correction unit 104 corrects the origin position Porg based on the positional deviation. Perform correction processing. Specifically, the correction unit 104 corrects the origin position Porg based on the difference average value ΔPm, which is the average value of the difference between the first fluctuation start positions PxB1 and PxC1 and the difference between the second fluctuation start positions PxB2 and PxC2. Perform processing.

例えば、第2変動開始位置PxB2,PxC2が第1変動開始位置PxB1,PxC1に対して開方向に10パルス分だけずれている場合、補正部104は、記憶部102に記憶される原点位置Porgを10パルス分だけ閉方向にずれるように補正する。同様に、第2変動開始位置PxB2,PxC2が第1変動開始位置PxB1,PxC1に対して可動パネル50の閉方向に10パルス分だけずれている場合、補正部104は、原点位置Porgを10パルス分だけ開方向にずれるように補正する。 For example, when the second fluctuation start positions PxB2, PxC2 are shifted from the first fluctuation start positions PxB1, PxC1 by 10 pulses in the opening direction, the correction unit 104 adjusts the origin position Porg stored in the storage unit 102. Correct to shift in the closing direction by 10 pulses. Similarly, if the second fluctuation start positions PxB2, PxC2 are shifted by 10 pulses in the closing direction of the movable panel 50 with respect to the first fluctuation start positions PxB1, PxC1, the correction unit 104 adjusts the origin position Porg by 10 pulses. Correct it so that it deviates in the opening direction by the same amount.

このように、原点位置Porgを補正すると、補正前後において、原点位置Porgがずれることにより、記憶部102に記憶される全閉位置Pc、チルトアップ位置Pt及び全開位置Poがずれる。こうして、補正部104は、補正処理において、記憶部102に記憶される全閉位置Pc、全開位置Po及びチルトアップ位置Ptを補正する。 When the origin position Porg is corrected in this manner, the origin position Porg is shifted before and after the correction, and the fully closed position Pc, tilt-up position Pt, and fully open position Po stored in the storage unit 102 are shifted. In this way, the correction unit 104 corrects the fully closed position Pc, the fully open position Po, and the tilt-up position Pt stored in the storage unit 102 in the correction process.

次に、図11に示すフローチャートを参照して、補正処理を実施するために制御装置100が実行する処理の流れについて説明する。
図11に示すように、制御装置100は、補正フラグがオンか否かを判定する(S31)。補正フラグがオフの場合(S31:NO)、すなわち、直近の可動パネル50の開作動時に取得した変動範囲Rxにおけるモータ65の回転速度VMに基づいて補正処理を実施することが妥当でない場合、制御装置100は、本処理を終了する。この場合、制御装置100は、補正処理を実施しない。
Next, with reference to the flowchart shown in FIG. 11, the flow of the process executed by the control device 100 to implement the correction process will be described.
As shown in FIG. 11, the control device 100 determines whether the correction flag is on (S31). If the correction flag is off (S31: NO), that is, if it is not appropriate to perform the correction process based on the rotational speed VM of the motor 65 in the variation range Rx acquired during the most recent opening operation of the movable panel 50, the control The device 100 ends this process. In this case, the control device 100 does not perform the correction process.

一方、補正フラグがオンの場合(S31:YES)、制御装置100は、第1変動開始位置PxB1,PxC1と第2変動開始位置PxB2,PxC2とのそれぞれの位置ずれ量を示す差分平均値ΔPmを算出する(S32)。詳しくは、制御装置100は、第1変動開始位置PxB1及び第2変動開始位置PxB2の差分である第1差分ΔP1と、第1変動開始位置PxC1及び第2変動開始位置PxC2の差分である第2差分ΔP2と、の平均値である差分平均値ΔPmを算出する。なお、差分平均値ΔPmを算出する際に、第1差分ΔP1及び第2差分ΔP2に適当な重み付けを行ってもよい。つまり、差分平均値ΔPmは、第1差分ΔP1及び第2差分ΔP2の単なる平均値でなくてもよい。 On the other hand, if the correction flag is on (S31: YES), the control device 100 calculates the difference average value ΔPm indicating the amount of positional deviation between the first fluctuation start positions PxB1, PxC1 and the second fluctuation start positions PxB2, PxC2. Calculate (S32). Specifically, the control device 100 calculates a first difference ΔP1, which is the difference between the first fluctuation start position PxB1 and the second fluctuation start position PxB2, and a second difference ΔP1, which is the difference between the first fluctuation start position PxC1 and the second fluctuation start position PxC2. A difference average value ΔPm, which is the average value of the difference ΔP2, is calculated. Note that when calculating the difference average value ΔPm, appropriate weighting may be applied to the first difference ΔP1 and the second difference ΔP2. That is, the difference average value ΔPm does not have to be a simple average value of the first difference ΔP1 and the second difference ΔP2.

続いて、制御装置100は、差分平均値の絶対値|ΔPm|が差分判定値ΔPth以下か否かを判定する(S33)。制御装置100は、差分平均値の絶対値|ΔPm|が差分判定値ΔPth以上の場合(S33:NO)、本処理を終了し、差分平均値の絶対値|ΔPm|が差分判定値ΔPth未満の場合(S33:YES)、差分平均値ΔPmの大きさに応じた補正処理を実施する(S34)。補正処理では、差分平均値ΔPmの大きさ及び差分平均値ΔPmの正負に応じて、記憶部102に記憶される位置情報が補正される。 Subsequently, the control device 100 determines whether the absolute value |ΔPm| of the average difference value is less than or equal to the difference determination value ΔPth (S33). If the absolute value |ΔPm| of the difference average value is greater than or equal to the difference judgment value ΔPth (S33: NO), the control device 100 ends this process, and if the absolute value |ΔPm| of the difference average value is less than the difference judgment value ΔPth. If so (S33: YES), a correction process is performed according to the magnitude of the average difference value ΔPm (S34). In the correction process, the position information stored in the storage unit 102 is corrected according to the magnitude of the average difference value ΔPm and whether the average difference value ΔPm is positive or negative.

第2実施形態の作用について説明する。
図12は、可動パネル50の開作動時において、可動パネル50の位置とモータ65の回転速度VMとの関係を示している。図12において、実線で示すモータ65の回転速度VMは、初期化処理の実施時に可動パネル50を開作動させたときのものであり、一点鎖線で示すモータ65の回転速度VMは、ユーザが任意のタイミングで可動パネル50を開作動させるときのものである。また、図12では、可動パネル50の作動範囲内のうち、変動範囲Rxを太線で示している。
The operation of the second embodiment will be explained.
FIG. 12 shows the relationship between the position of the movable panel 50 and the rotation speed VM of the motor 65 when the movable panel 50 is opened. In FIG. 12, the rotational speed VM of the motor 65 indicated by a solid line is the one when the movable panel 50 is opened during the initialization process, and the rotational speed VM of the motor 65 indicated by a dashed line can be set arbitrarily by the user. This is when the movable panel 50 is opened at the timing shown in FIG. Moreover, in FIG. 12, the variation range Rx within the operating range of the movable panel 50 is shown by a thick line.

図12に一点鎖線で示すように、記憶部102に記憶される可動パネル50の位置情報が実際の可動パネル50の位置に対してずれが生じている場合に可動パネル50を閉作動させると、本来の全閉位置Pcからずれた全閉位置Pc’に可動パネル50が停止する。同様に、記憶部102に記憶される可動パネル50の位置情報が実際の可動パネル50の位置に対してずれが生じている場合に可動パネル50を開作動させると、全開位置Poからずれた全開位置Po’に可動パネル50が停止する。 As shown by the dashed line in FIG. 12, when the movable panel 50 is closed when the position information of the movable panel 50 stored in the storage unit 102 is deviated from the actual position of the movable panel 50, The movable panel 50 stops at a fully closed position Pc' shifted from the original fully closed position Pc. Similarly, when the movable panel 50 is opened when the position information of the movable panel 50 stored in the storage unit 102 is deviated from the actual position of the movable panel 50, the fully open position is shifted from the fully open position Po. The movable panel 50 stops at position Po'.

このような場合、第1変動開始位置PxB1及び第2変動開始位置PxB2の間に第1差分ΔP1に相当する位置ずれが生じ、第1変動開始位置PxC1及び第2変動開始位置PxC2の間に第2差分ΔP2に相当する位置ずれが生じている。このため、第1差分ΔP1及び第2差分ΔP2の平均値、すなわち差分平均値ΔPmに基づいて、記憶部102に記憶される位置情報が補正される。 In such a case, a positional deviation corresponding to the first difference ΔP1 occurs between the first fluctuation start position PxB1 and the second fluctuation start position PxB2, and a positional deviation corresponding to the first difference ΔP1 occurs between the first fluctuation start position PxC1 and the second fluctuation start position PxC2. A positional shift corresponding to the two-difference ΔP2 has occurred. Therefore, the position information stored in the storage unit 102 is corrected based on the average value of the first difference ΔP1 and the second difference ΔP2, that is, the difference average value ΔPm.

図12に一点鎖線で示す例では、記憶部102に記憶される位置が本来の位置よりも閉方向に進んだ位置となるため、記憶部102に記憶される位置に対応するパルスカウント値が差分平均値ΔPmに相当するパルスだけ減算される。その結果、記憶部102に記憶される位置と実際の位置とのずれが解消される。 In the example shown by the dashed line in FIG. 12, the position stored in the storage unit 102 is a position further in the closing direction than the original position, so the pulse count value corresponding to the position stored in the storage unit 102 is the difference. Only the pulses corresponding to the average value ΔPm are subtracted. As a result, the discrepancy between the position stored in the storage unit 102 and the actual position is eliminated.

第2実施形態の効果について説明する。第2実施形態は、第1実施形態と同等の効果に加え、以下の効果を得ることができる。
(8)制御装置100は、複数の第1変動開始位置PxB1,PxC1と複数の第2変動開始位置PxB2,PxC2とのそれぞれの位置ずれに基づいて、補正処理を実施するため、精度良く補正処理を実施できる。また、制御装置100は、上記位置ずれを、複数の第1変動開始位置PxB1,PxC1と複数の第2変動開始位置PxB2,PxC2とのそれぞれの差分の平均値として、簡易に算出できる。
The effects of the second embodiment will be explained. The second embodiment can obtain the following effects in addition to the same effects as the first embodiment.
(8) Since the control device 100 performs the correction process based on the respective positional deviations between the plurality of first fluctuation start positions PxB1, PxC1 and the plurality of second fluctuation start positions PxB2, PxC2, the correction process is performed with high accuracy. can be carried out. Further, the control device 100 can easily calculate the positional deviation as an average value of the differences between the plurality of first fluctuation start positions PxB1, PxC1 and the plurality of second fluctuation start positions PxB2, PxC2.

第1実施形態及び第2実施形態は、以下のように変更して実施することができる。第1実施形態、第2実施形態及び以下の変更例は、技術的に矛盾しない範囲で互いに組み合わせて実施することができる。 The first embodiment and the second embodiment can be modified and implemented as follows. The first embodiment, the second embodiment, and the following modified examples can be implemented in combination with each other within a technically consistent range.

・第1実施形態の変更例について説明する。制御部103は、初期化処理において、変動範囲Rxにおけるモータ65の回転速度VMの変化を記憶部102に記憶させた後、モータ65の回転速度VMが減少し始める変動位置Pxと、モータ65の回転速度VMが増大し終わった変動位置Pxと、を記憶部102に記憶させる。これらの位置をそれぞれ第1変動開始位置PxA1及び第1変動終了位置PxD1という。第1変動開始位置PxA1及び第1変動終了位置PxD1は、「第1変動位置」の一例である。 - A modification example of the first embodiment will be explained. In the initialization process, the control unit 103 stores the change in the rotational speed VM of the motor 65 in the fluctuation range Rx in the storage unit 102, and then stores the change in the rotational speed VM of the motor 65 at a fluctuation position Px where the rotational speed VM of the motor 65 starts to decrease. The variable position Px at which the rotational speed VM has finished increasing is stored in the storage unit 102. These positions are respectively referred to as a first fluctuation start position PxA1 and a first fluctuation end position PxD1. The first fluctuation start position PxA1 and the first fluctuation end position PxD1 are examples of "first fluctuation positions."

また、制御部103は、可動パネル50を開作動させる状況下において、可動パネル50が変動範囲Rx内を作動する場合、可動パネル50の位置に対するモータ65の回転速度VMを監視する。そして、制御部103は、モータ65の回転速度VMが減少し始める位置と、モータ65の回転速度VMが増大し終わった位置と、を算出する。これらの位置をそれぞれ第2変動開始位置PxA2及び第2変動終了位置PxD2という。第2変動開始位置PxA2及び第2変動終了位置PxD2は、「第2変動位置」の一例である。 Further, in a situation where the movable panel 50 is operated to open, the control unit 103 monitors the rotational speed VM of the motor 65 with respect to the position of the movable panel 50 when the movable panel 50 operates within the fluctuation range Rx. Then, the control unit 103 calculates the position where the rotational speed VM of the motor 65 starts to decrease and the position where the rotational speed VM of the motor 65 finishes increasing. These positions are respectively referred to as a second fluctuation start position PxA2 and a second fluctuation end position PxD2. The second fluctuation start position PxA2 and the second fluctuation end position PxD2 are examples of "second fluctuation positions".

そして、補正部104は、第1変動開始位置PxA1及び第2変動開始位置PxA2に位置ずれが生じるとともに、第1変動終了位置PxD1及び第2変動終了位置PxD2に位置ずれが生じている場合、補正処理を実施する。詳しくは、補正部104は、第1変動開始位置PxA1及び第2変動開始位置PxA2の差分と第1変動終了位置PxD1及び第2変動終了位置PxD2の差分との平均値に基づいて、補正処理を実施する。 Then, when a positional deviation occurs between the first fluctuation start position PxA1 and the second fluctuation start position PxA2, and a positional deviation occurs between the first fluctuation end position PxD1 and the second fluctuation end position PxD2, the correction unit 104 corrects the Perform processing. Specifically, the correction unit 104 performs the correction process based on the average value of the difference between the first fluctuation start position PxA1 and the second fluctuation start position PxA2 and the difference between the first fluctuation end position PxD1 and the second fluctuation end position PxD2. implement.

図13に示すように、第1変動開始位置PxA1及び第2変動開始位置PxA2の間に第1差分ΔP1に相当する位置ずれが生じ、第1変動終了位置PxD1及び第2変動終了位置PxD2の間に第2差分ΔP2に相当する位置ずれが生じているとする。この場合、第1差分ΔP1及び第2差分ΔP2の平均値、すなわち差分平均値ΔPmに基づいて、記憶部102に記憶される位置情報が補正される。この構成によれば、制御装置100は、差分平均値ΔPmに基づいて、補正処理を実施する点で、精度良く位置情報を補正できる。 As shown in FIG. 13, a positional shift corresponding to the first difference ΔP1 occurs between the first fluctuation start position PxA1 and the second fluctuation start position PxA2, and between the first fluctuation end position PxD1 and the second fluctuation end position PxD2. It is assumed that a positional shift corresponding to a second difference ΔP2 has occurred. In this case, the position information stored in the storage unit 102 is corrected based on the average value of the first difference ΔP1 and the second difference ΔP2, that is, the difference average value ΔPm. According to this configuration, the control device 100 can accurately correct the position information in that the correction process is performed based on the average difference value ΔPm.

・第2実施形態において、補正部104は、3以上の第1変動開始位置と、3以上の第2変動開始位置と、のそれぞれの位置ずれに基づいて、補正処理を実施してもよい。詳しくは、補正部104は、3以上の第1変動開始位置と、3以上の第2変動開始位置と、のそれぞれの差分の平均値に基づいて、補正処理を実施してもよい。 - In the second embodiment, the correction unit 104 may perform correction processing based on the respective positional deviations between three or more first fluctuation start positions and three or more second fluctuation start positions. Specifically, the correction unit 104 may perform the correction process based on the average value of the differences between three or more first fluctuation start positions and three or more second fluctuation start positions.

・サンルーフ装置40は、可動パネル50が全開位置Poに配置される場合などに、車両10の室内に走行風が入り込むことを抑制するデフレクタ装置をルーフ開口部22の前端付近に備えてもよい。デフレクタ装置は、デフレクタと、デフレクタの幅方向における両端部をそれぞれ支持する一対のデフレクタアームと、一対のデフレクタアームを付勢するスプリングと、を有する。デフレクタ装置は、可動パネル50が全開位置Poの付近に配置されるとき、一対のデフレクタアームがスプリングの弾性力によって回動することで、デフレクタを展開させる。一方、全閉位置Pc及びチルトアップ位置Ptの付近に配置される可動パネル50に押されることで、一対のデフレクタアームがスプリングの弾性力に抗して回動することで、デフレクタを格納させる。つまり、可動パネル50が閉作動する場合には、可動パネル50がデフレクタアームに接触するときに、可動パネル50を駆動するモータ65の負荷が増大する。したがって、車両10がデフレクタ装置を備える場合には、可動パネル50の作動範囲のうち、可動パネル50がデフレクタアームに接触する位置を変動位置Pxとしてもよい。 - The sunroof device 40 may include a deflector device near the front end of the roof opening 22 that suppresses the wind from entering the interior of the vehicle 10 when the movable panel 50 is placed at the fully open position Po. The deflector device includes a deflector, a pair of deflector arms that respectively support both ends of the deflector in the width direction, and a spring that biases the pair of deflector arms. In the deflector device, when the movable panel 50 is placed near the fully open position Po, the pair of deflector arms are rotated by the elastic force of the spring, thereby deploying the deflector. On the other hand, by being pushed by the movable panel 50 disposed near the fully closed position Pc and the tilt-up position Pt, the pair of deflector arms rotate against the elastic force of the spring, thereby retracting the deflector. That is, when the movable panel 50 is operated to close, the load on the motor 65 that drives the movable panel 50 increases when the movable panel 50 contacts the deflector arm. Therefore, when the vehicle 10 includes a deflector device, the position where the movable panel 50 contacts the deflector arm within the operating range of the movable panel 50 may be set as the variable position Px.

・制御装置100は、1つの変動位置Pxに基づいて補正処理を実施してもよいし、3つ以上の変動位置Pxに基づいて補正処理を実施してもよい。ここで、変動位置Pxは、モータ65の回転速度VMの変動に基づいて取得できる位置であればよい。例えば、変動位置Pxは、モータ65の回転速度VMが所定の回転速度判定値未満となるときの可動パネル50の位置でもよいし、モータの回転速度VMの時間微分値が所定の勾配判定値となるときの可動パネル50の位置でもよい。言い換えれば、変動位置Pxは、変動開始位置及び変動終了位置に限る必要はない。 - The control device 100 may perform the correction process based on one variable position Px, or may perform the correction process based on three or more variable positions Px. Here, the variable position Px may be any position that can be obtained based on the variation in the rotational speed VM of the motor 65. For example, the variable position Px may be the position of the movable panel 50 when the rotation speed VM of the motor 65 is less than a predetermined rotation speed determination value, or the time differential value of the motor rotation speed VM is equal to a predetermined slope determination value. The position of the movable panel 50 when In other words, the fluctuation position Px does not need to be limited to the fluctuation start position and the fluctuation end position.

・制御装置100は、記憶部102に記憶される変動範囲Rx内のモータ65の回転速度VMの変化と、可動パネル50の開作動時に取得される変動範囲Rx内のモータ65の回転速度VMの変化と、を比較することで補正処理を実施してもよい。変動範囲Rx内のモータ65の回転速度VMの変化の比較には、例えば、図形の形状を比較するアルゴリズムを採用すればよい。 - The control device 100 changes the rotational speed VM of the motor 65 within the variation range Rx stored in the storage unit 102 and the rotational speed VM of the motor 65 within the variation range Rx acquired when the movable panel 50 is opened. Correction processing may be performed by comparing the change and the change. To compare the changes in the rotational speed VM of the motor 65 within the variation range Rx, for example, an algorithm that compares the shapes of figures may be employed.

・車両10が停車する路面の勾配により、可動パネル50の開作動時のモータ65の負荷が変動する場合、制御装置100は、車両10が停車する路面の勾配の絶対値が所定の勾配判定値以上の場合、補正処理を実施しないことが好ましい。 - When the load on the motor 65 during the opening operation of the movable panel 50 varies depending on the gradient of the road surface on which the vehicle 10 is stopped, the control device 100 determines that the absolute value of the gradient of the road surface on which the vehicle 10 is stopped is a predetermined gradient determination value. In the above case, it is preferable not to perform the correction process.

・サンルーフ装置40を精度良く製造できる場合には、変動位置Pxは、全閉位置Pc及び全開位置Poなどと同様に、サンルーフ装置40の仕様から求まる数値であるともいえる。そこで、制御装置100は、全閉位置Pc及び全開位置Poなどと同様に、原点位置Porgを取得した後に、原点位置Porgから変動位置Pxまでの距離に応じて、変動位置Pxにおけるパルスカウント値を決めてもよい。 - If the sunroof device 40 can be manufactured with high precision, the variable position Px can be said to be a numerical value determined from the specifications of the sunroof device 40, like the fully closed position Pc and the fully open position Po. Therefore, similarly to the fully closed position Pc and the fully open position Po, after acquiring the origin position Porg, the control device 100 adjusts the pulse count value at the variable position Px according to the distance from the origin position Porg to the variable position Px. You can decide.

・制御装置100は、可動パネル50の開作動時に補正処理を実施してもよい。また、制御装置100は、車両10の走行中に補正処理の実施を制限しなくてもよい。さらに、制御装置100は、バッテリ電圧EBが低下しているときに補正処理の実施を制限しなくてもよい。 - The control device 100 may perform the correction process when the movable panel 50 is opened. Further, the control device 100 does not have to restrict implementation of the correction process while the vehicle 10 is traveling. Furthermore, the control device 100 does not have to restrict implementation of the correction process when the battery voltage EB is decreasing.

・制御部103は、モータ65の負荷をモータ65に流れる電流の大きさなど、他のパラメータから取得してもよい。
・回転角センサSEは、磁気式でもよいし光学式でもよい。回転角センサSEは、モータ65と一体に構成されるものでもよいし、モータ65と別体に構成されるものでもよい。
- The control unit 103 may obtain the load of the motor 65 from other parameters such as the magnitude of the current flowing through the motor 65.
- The rotation angle sensor SE may be of a magnetic type or an optical type. The rotation angle sensor SE may be configured integrally with the motor 65 or may be configured separately from the motor 65.

・操作スイッチSWは、可動パネル50をマニュアル作動させるためのスイッチを有してもよい。ここで、マニュアル作動とは、上記スイッチをユーザが操作している期間に限り、可動パネル50が開閉作動される作動モードである。 - The operation switch SW may include a switch for manually operating the movable panel 50. Here, the manual operation is an operation mode in which the movable panel 50 is opened and closed only while the switch is being operated by the user.

・制御装置100は、「開閉体」としてのウインドウを開閉する「車両用開閉装置」としてのウィンドウレギュレータを制御対象にしてもよい。また、制御装置100は、「開閉体」としてのドアを開閉する「車両用開閉装置」としてのドアアクチュエータを制御対象にしてもよい。この場合、ドアは、スライドドアでもよいし、バックドアでもよいし、揺動式のサイドドアでもよい。 - The control device 100 may control a window regulator as a "vehicle opening/closing device" that opens and closes a window as an "opening/closing body". Furthermore, the control device 100 may control a door actuator as a "vehicle opening/closing device" that opens and closes a door as an "opening/closing body." In this case, the door may be a sliding door, a back door, or a swinging side door.

・制御装置100は、コンピュータプログラム(ソフトウェア)に従って動作する1つ以上のプロセッサ、各種処理のうち少なくとも一部の処理を実行する専用のハードウェア(特定用途向け集積回路:ASIC)等の1つ以上の専用のハードウェア回路又はこれらの組み合わせを含む回路として構成し得る。プロセッサは、CPU並びに、RAM及びROM等のメモリを含み、メモリは、処理をCPUに実行させるように構成されたプログラムコードまたは指令を格納している。メモリ、すなわち記憶媒体は、汎用または専用のコンピュータでアクセスできるあらゆる利用可能な媒体を含む。 - The control device 100 includes one or more processors that operate according to a computer program (software), one or more dedicated hardware (application-specific integrated circuit: ASIC), etc. that executes at least part of various processes. or a combination thereof. A processor includes a CPU and memory, such as RAM and ROM, where the memory stores program codes or instructions configured to cause the CPU to perform processing. Memory, or storage media, includes any available media that can be accessed by a general purpose or special purpose computer.

10…車両
20…車体
22…ルーフ開口部(車両の開口部の一例)
40…サンルーフ装置(車両用開閉装置の一例)
50…可動パネル(開閉体の一例)
60…駆動装置
65…モータ
100…制御装置(車両用開閉体の制御装置の一例)
101…取得部
102…記憶部
103…制御部
104…補正部
Porg…原点位置
Pc…全閉位置
Pt…チルトアップ位置
Po…全開位置
Px…変動位置
PxA1,PxB1,PxC1…第1変動開始位置(第1変動位置の一例)
PxA2,PxB2,PxC2…第2変動開始位置(第2変動位置の一例)
PxD1…第1変動終了位置(第1変動位置の一例)
PxD2…第2変動終了位置(第2変動位置の一例)
10...Vehicle 20...Vehicle body 22...Roof opening (an example of a vehicle opening)
40...Sunroof device (an example of a vehicle opening/closing device)
50...Movable panel (an example of an opening/closing body)
60... Drive device 65... Motor 100... Control device (an example of a control device for a vehicle opening/closing body)
101... Acquisition unit 102... Storage unit 103... Control unit 104... Correction unit Porg... Origin position Pc... Fully closed position Pt... Tilt up position Po... Fully open position Px... Variation position PxA1, PxB1, PxC1... First variation start position ( Example of first variable position)
PxA2, PxB2, PxC2...Second fluctuation start position (an example of second fluctuation position)
PxD1...First fluctuation end position (an example of the first fluctuation position)
PxD2...Second fluctuation end position (an example of the second fluctuation position)

Claims (9)

車両の開口部を開閉する開閉体と、前記開閉体を駆動するモータと、を備え、前記開閉体が前記開口部を全開する全開位置及び前記開閉体が前記開口部を全閉する全閉位置の間の作動範囲内に前記モータの負荷が変動する変動位置を含む車両用開閉装置に適用され、
前記開閉体の作動範囲内に設定される原点位置を基準とする前記開閉体の位置を取得する取得部と、
前記原点位置を基準とする前記全閉位置、前記全開位置及び前記変動位置を記憶する記憶部と、
前記取得部が取得する前記開閉体の位置と前記記憶部に記憶される前記全閉位置及び前記全開位置とに基づいて前記モータを制御することにより、前記開閉体を前記全閉位置及び前記全開位置の間で開閉作動させる制御部と、
前記記憶部に記憶される前記変動位置を第1変動位置とし、前記第1変動位置が記憶された後の前記開閉体の開閉作動時に前記取得部が取得する前記変動位置を第2変動位置としたとき、
前記第1変動位置及び前記第2変動位置に位置ずれが生じている場合、当該位置ずれに基づいて、前記記憶部に記憶される前記全閉位置及び前記全開位置を補正する補正処理を実施する補正部と、を備える
車両用開閉体の制御装置。
An opening/closing body that opens and closes an opening of the vehicle, and a motor that drives the opening/closing body, a fully open position where the opening/closing body fully opens the opening, and a fully closed position where the opening/closing body fully closes the opening. applied to a vehicle switchgear including a variable position in which the load of the motor varies within an operating range between;
an acquisition unit that acquires a position of the opening/closing body based on an origin position set within an operating range of the opening/closing body;
a storage unit that stores the fully closed position, the fully open position, and the variable position with respect to the origin position;
By controlling the motor based on the position of the opening/closing body acquired by the acquisition unit and the fully closed position and the fully open position stored in the storage unit, the opening/closing body is moved to the fully closed position and the fully open position. a control unit that operates to open and close between positions;
The variable position stored in the storage unit is defined as a first variable position, and the variable position acquired by the acquisition unit during the opening/closing operation of the opening/closing body after the first variable position is stored is defined as a second variable position. When I did,
When a positional deviation occurs between the first variable position and the second variable position, a correction process is performed to correct the fully closed position and the fully open position stored in the storage unit based on the positional deviation. A control device for a vehicle opening/closing body, comprising: a correction section;
前記変動位置は、前記開閉体を開作動又は閉作動させるときに前記モータの負荷が変動し始める変動開始位置であり、前記第1変動位置を第1変動開始位置とし、前記第2変動位置を第2変動開始位置としたとき、
前記補正部は、前記第1変動開始位置及び前記第2変動開始位置に位置ずれが生じている場合、前記第1変動開始位置及び前記第2変動開始位置の差分に基づいて、前記補正処理を実施する
請求項1に記載の車両用開閉体の制御装置。
The fluctuation position is a fluctuation start position at which the load of the motor starts to fluctuate when the opening/closing body is opened or closed, and the first fluctuation position is the first fluctuation start position, and the second fluctuation position is the fluctuation start position. When the second fluctuation start position is set,
When a positional shift occurs between the first fluctuation start position and the second fluctuation start position, the correction unit performs the correction process based on the difference between the first fluctuation start position and the second fluctuation start position. The control device for a vehicle opening/closing body according to claim 1.
前記車両用開閉装置は、前記全閉位置及び前記全開位置の間の前記開閉体の作動範囲内に、前記変動位置を複数含むものであり、
前記記憶部は、複数の前記第1変動位置を記憶し、
前記補正部は、複数の前記第1変動位置と、複数の前記第2変動位置と、にそれぞれ位置ずれが生じている場合、当該位置ずれに基づいて、前記補正処理を実施する
請求項1に記載の車両用開閉体の制御装置。
The vehicle opening/closing device includes a plurality of the variable positions within the operating range of the opening/closing body between the fully closed position and the fully open position,
The storage unit stores the plurality of first variable positions,
The correction unit performs the correction process based on the positional deviation when a positional deviation occurs between the plurality of first variable positions and the plurality of second variable positions. The control device for the vehicle opening/closing body described above.
前記変動位置は、前記開閉体を開作動又は閉作動させるときに、前記モータの負荷が変動し始める変動開始位置と、前記モータの負荷が変動し終わる変動終了位置と、を含み、
前記第1変動位置は、前記変動開始位置に対応する第1変動開始位置と、前記変動終了位置に対応する第1変動終了位置と、を含み、
前記第2変動位置は、前記変動開始位置に対応する第2変動開始位置と、前記変動終了位置に対応する第2変動終了位置と、を含み、
前記補正部は、前記第1変動開始位置及び前記第2変動開始位置に位置ずれが生じるとともに前記第1変動終了位置及び前記第2変動終了位置に位置ずれが生じている場合、前記第1変動開始位置及び前記第2変動開始位置の差分と前記第1変動終了位置及び前記第2変動終了位置の差分との平均値に基づいて、前記補正処理を実施する
請求項3に記載の車両用開閉体の制御装置。
The fluctuation position includes a fluctuation start position where the load of the motor starts to fluctuate and a fluctuation end position where the load of the motor ends when the opening/closing body is opened or closed,
The first fluctuation position includes a first fluctuation start position corresponding to the fluctuation start position and a first fluctuation end position corresponding to the fluctuation end position,
The second fluctuation position includes a second fluctuation start position corresponding to the fluctuation start position and a second fluctuation end position corresponding to the fluctuation end position,
When a positional shift occurs between the first variation start position and the second variation start position and a positional shift occurs between the first variation end position and the second variation end position, the correction unit corrects the first variation. The opening/closing device for a vehicle according to claim 3, wherein the correction process is performed based on an average value of a difference between the start position and the second fluctuation start position and a difference between the first fluctuation end position and the second fluctuation end position. body control device.
前記変動位置は、前記開閉体を開作動又は閉作動させるときに、前記モータの負荷が変動し始める複数の変動開始位置を含み、
前記第1変動位置は、複数の前記変動開始位置に対応する複数の第1変動開始位置を含み、
前記第2変動位置は、複数の前記変動開始位置に対応する複数の第2変動開始位置を含み、
前記補正部は、複数の前記第1変動開始位置と、複数の前記第2変動開始位置と、にそれぞれ位置ずれが生じている場合、当該位置ずれに基づいて、前記補正処理を実施する
請求項3に記載の車両用開閉体の制御装置。
The fluctuation position includes a plurality of fluctuation start positions at which the load of the motor starts to fluctuate when the opening/closing body is operated to open or close,
The first fluctuation position includes a plurality of first fluctuation start positions corresponding to the plurality of fluctuation start positions,
The second fluctuation position includes a plurality of second fluctuation start positions corresponding to the plurality of fluctuation start positions,
The correction unit performs the correction process based on the positional deviation when a positional deviation occurs between the plurality of first fluctuation start positions and the plurality of second fluctuation start positions. 3. The control device for a vehicle opening/closing body according to 3.
前記補正部は、複数の前記第1変動開始位置と、複数の前記第2変動開始位置と、にそれぞれ位置ずれが生じている場合、複数の前記第1変動開始位置と複数の前記第2変動開始位置とのそれぞれの差分の平均値に基づいて、前記補正処理を実施する
請求項5に記載の車両用開閉体の制御装置。
When a positional shift occurs between the plurality of first fluctuation start positions and the plurality of second fluctuation start positions, the correction unit is configured to adjust the positional deviation between the plurality of first fluctuation start positions and the plurality of second fluctuation start positions. The control device for a vehicle opening/closing body according to claim 5, wherein the correction process is performed based on an average value of each difference from a starting position.
前記制御部は、前記原点位置を基準とした前記全閉位置及び前記全開位置を前記記憶部に記憶させる初期化処理を実施する際に、前記第1変動位置を前記記憶部に記憶させる
請求項1~請求項6の何れか一項に記載の車両用開閉体の制御装置。
The control unit stores the first variable position in the storage unit when performing an initialization process in which the storage unit stores the fully closed position and the fully open position based on the origin position. A control device for a vehicle opening/closing body according to any one of claims 1 to 6.
前記補正部は、前記開閉体の閉作動時に、前記補正処理を実施しない
請求項1~請求項7の何れか一項に記載の車両用開閉体の制御装置。
The control device for a vehicle opening/closing body according to any one of claims 1 to 7, wherein the correction unit does not perform the correction processing when the opening/closing body is closed.
前記補正部は、車両が走行中の場合、前記補正処理を実施しない
請求項1~請求項8の何れか一項に記載の車両用開閉体の制御装置。
The control device for a vehicle opening/closing body according to any one of claims 1 to 8, wherein the correction unit does not perform the correction processing when the vehicle is running.
JP2020072785A 2020-04-15 2020-04-15 Vehicle opening/closing body control device Active JP7413905B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020072785A JP7413905B2 (en) 2020-04-15 2020-04-15 Vehicle opening/closing body control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020072785A JP7413905B2 (en) 2020-04-15 2020-04-15 Vehicle opening/closing body control device

Publications (2)

Publication Number Publication Date
JP2021169718A JP2021169718A (en) 2021-10-28
JP7413905B2 true JP7413905B2 (en) 2024-01-16

Family

ID=78119481

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020072785A Active JP7413905B2 (en) 2020-04-15 2020-04-15 Vehicle opening/closing body control device

Country Status (1)

Country Link
JP (1) JP7413905B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102634426B1 (en) * 2021-12-06 2024-02-06 디와이씨스 주식회사 Method for correcting sunroof position and apparatus therefor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5633571A (en) 1994-07-08 1997-05-27 Vermeulen-Hollandia Octrooien Ii B.V. Device for operating a movable part of a motor vehicle
JP2002103979A (en) 2000-09-28 2002-04-09 Aisin Seiki Co Ltd Closure control device
JP2003159945A (en) 2001-11-26 2003-06-03 Jidosha Denki Kogyo Co Ltd Control method and control device for sun roof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5633571A (en) 1994-07-08 1997-05-27 Vermeulen-Hollandia Octrooien Ii B.V. Device for operating a movable part of a motor vehicle
JP2002103979A (en) 2000-09-28 2002-04-09 Aisin Seiki Co Ltd Closure control device
JP2003159945A (en) 2001-11-26 2003-06-03 Jidosha Denki Kogyo Co Ltd Control method and control device for sun roof

Also Published As

Publication number Publication date
JP2021169718A (en) 2021-10-28

Similar Documents

Publication Publication Date Title
US7411364B2 (en) Window opening and closing controller
JP7413905B2 (en) Vehicle opening/closing body control device
US6817741B2 (en) Irradiating direction control device for vehicle lamp
JP4134197B2 (en) Control system for vehicle opening / closing body
JP4114735B2 (en) Auto-leveling device for automotive headlamps
TW574467B (en) Trapping detection device of opening/closing member
US7722200B2 (en) Electric mirror control device
JP2002002371A (en) Automatically leveling device of headlight for automobile
CN111456581B (en) Vehicle opening/closing body control device
JP6851818B2 (en) Electric sliding door pinch detection device
WO2018159816A1 (en) Opening-closing body drive device
US20230265706A1 (en) Vehicle opening and closing body control device
US7086763B2 (en) Apparatus for automatically adjusting direction of light axis of vehicle headlight
JP5378721B2 (en) Opening / closing member control device
JP3518362B2 (en) Vehicle pitch angle calculation device
JP2009248627A (en) Optical axis control device of head lamp
US20210363810A1 (en) Vehicular opening/closing body control device
US11555342B2 (en) Profile learning system and profile learning method for cooperative control of dual actuator applied to opposite sliding doors
CN109808583B (en) Method for adjusting an adjusting mechanism
KR20210124790A (en) Apparatus for recognizing posion of mobile object using a hall sensor and method thereof
JP2010241328A (en) Vehicle height sensor, and device and method for adjusting projection direction of lighting fixture for vehicle
JP2003003740A (en) Open-close member controller and method for controlling open-close member
JP7335385B1 (en) power door device
JP2006299568A (en) Opening-closing member control device
US20240025305A1 (en) System and method for controlling a seat for a vehicle

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230227

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20231117

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20231128

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231211

R150 Certificate of patent or registration of utility model

Ref document number: 7413905

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150