JP4167621B2 - Pinching detection method and vehicle movable body drive device - Google Patents

Pinching detection method and vehicle movable body drive device Download PDF

Info

Publication number
JP4167621B2
JP4167621B2 JP2004149552A JP2004149552A JP4167621B2 JP 4167621 B2 JP4167621 B2 JP 4167621B2 JP 2004149552 A JP2004149552 A JP 2004149552A JP 2004149552 A JP2004149552 A JP 2004149552A JP 4167621 B2 JP4167621 B2 JP 4167621B2
Authority
JP
Japan
Prior art keywords
motor
value
driving
drive
movable body
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004149552A
Other languages
Japanese (ja)
Other versions
JP2005330703A (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.)
Asmo Co Ltd
Original Assignee
Asmo Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Asmo Co Ltd filed Critical Asmo Co Ltd
Priority to JP2004149552A priority Critical patent/JP4167621B2/en
Publication of JP2005330703A publication Critical patent/JP2005330703A/en
Application granted granted Critical
Publication of JP4167621B2 publication Critical patent/JP4167621B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、挟み込み検出方法および車両用可動体駆動装置に係り、特に車両に備えられた可動体における異物の挟み込みを検出する挟み込み検出方法および車両に備えられた可動体における異物の挟み込みを検出する機能を備えた車両用可動体駆動装置に関する。   The present invention relates to a pinching detection method and a vehicle movable body drive device, and more particularly to a pinching detection method for detecting pinching of foreign matter in a movable body provided in a vehicle and detection of foreign object pinching in a movable body provided in a vehicle. The present invention relates to a vehicle movable body drive device having a function.

従来から、車両に設けられたウィンドウガラス、ドア、スライドルーフなどの可動体をモータ等の駆動力により移動させる車両用可動体駆動装置が知られている。さらに、最近では、車両フロアに移動自在に設けられた可動フロアをモータ等の駆動力により展開・格納させる車両用可動体駆動装置や、可動ステップをモータ等の駆動力によって乗降口から車両外側へ展開させたり車両内側へ格納させたりすることが可能な車両用可動体駆動装置が提案されている。ところで、この種の車両用可動体駆動装置においては、可動体を移動させることに伴って、可動体に何らかの異物が挟み込まれてしまう虞がある。そこで、可動体における異物の挟み込みを防止するために、可動体における異物の挟み込みを検出し、挟み込みを検出した場合には、可動体を停止させるか、あるいは反転動作させるようにした車両用可動体駆動装置が提案されている(例えば、特許文献1〜4参照)。   2. Description of the Related Art Conventionally, a vehicle movable body drive device that moves a movable body such as a window glass, a door, and a slide roof provided in a vehicle by a driving force such as a motor is known. Furthermore, recently, a movable body drive device for a vehicle that deploys and retracts a movable floor that is movably provided on the vehicle floor by a driving force such as a motor, and a movable step from the entrance to the outside of the vehicle by a driving force such as a motor. A vehicle movable body drive device that can be deployed or stored inside the vehicle has been proposed. By the way, in this kind of vehicle movable body drive device, there is a possibility that some foreign matter is caught in the movable body as the movable body is moved. Accordingly, in order to prevent the foreign object from being caught in the movable body, the foreign body is detected in the movable body, and when the sandwich is detected, the movable body is stopped or reversed. A drive device has been proposed (see, for example, Patent Documents 1 to 4).

例えば、特許文献1に記載の例では、可動体を移動させる駆動源となるモータの回転を検出する回転検出センサを設け、この回転検出センサから出力される回転パルスの周期の変化に基づいてウィンドウガラスが異物を挟み込んだか否かを判別するようにしている。ところが、特許文献1に記載の例では、異物を挟み込んだと判別するための基準が一定であるため、例えば、温度変化によるウェザーストリップとウィンドウガラスとの摺動抵抗の増加や、経年変化によるモータトルクの変動等によって、ウィンドウガラスの開閉速度が低下した場合には、実際にはウィンドウガラスにおいて挟み込みが発生していないにもかかわらず、挟み込みが発生したものと誤検出されてしまうことがあった。   For example, in the example described in Patent Document 1, a rotation detection sensor that detects the rotation of a motor that is a drive source for moving a movable body is provided, and a window based on a change in the period of a rotation pulse output from the rotation detection sensor is provided. It is determined whether or not the glass has caught a foreign object. However, in the example described in Patent Document 1, since the reference for determining that a foreign object is caught is constant, for example, an increase in sliding resistance between a weather strip and a window glass due to a temperature change, or a motor due to a secular change. When the opening and closing speed of the window glass decreases due to torque fluctuation, etc., there was a case where it was erroneously detected that pinching occurred even though pinching did not actually occur in the window glass. .

そこで、上述のような不具合を解消するために、特許文献2に記載の例では、ウィンドウガラスの開閉動作領域を複数の領域に分割すると共に各領域に挟み込み検出の基準を設定し、ウィンドウガラスが開閉しているときの検出値が各領域に設定された基準を上回ったときに、挟み込みが発生したものと判定するようにしている。この方式によれば、各領域でウィンドウガラスの開閉速度にばらつきが生じている場合でも対処することが可能である。ところが、一般に、ウィンドウガラスの開閉速度(モータの回転速度)は、モータに供給される電源電圧に依存する。すなわち、電源となるバッテリが充電不十分である場合や、同時に複数の電気的装置を稼動させた場合には、モータに供給される電源電圧が低下し、ウィンドウガラスの開閉速度が低下することとなる。   Therefore, in order to solve the above-described problem, in the example described in Patent Document 2, the window glass opening / closing operation area is divided into a plurality of areas, and the reference for pinching detection is set in each area. When the detection value at the time of opening and closing exceeds the reference set for each area, it is determined that pinching has occurred. According to this method, it is possible to cope with the case where the opening / closing speed of the window glass varies in each region. However, in general, the opening / closing speed of the window glass (rotational speed of the motor) depends on the power supply voltage supplied to the motor. That is, when the battery as a power source is insufficiently charged or when a plurality of electrical devices are operated at the same time, the power supply voltage supplied to the motor decreases, and the opening / closing speed of the window glass decreases. Become.

このように、電源電圧の変動に対しても誤作動することなく挟み込み検出を行うためには、電源電圧の変動分を考慮した余裕のある基準値を設定する必要がある。ところが、電源電圧の変動分を考慮した余裕のある基準値を設定すると、挟み込みが発生しても、挟み込みを検出するまでに時間を要し、挟み込み検出の感度が低下する共に、挟み込み時における挟み込み力が増大されるという不具合がある。そこで、特許文献3の記載の例では、電源電圧の変動に対処すべく、電源電圧を監視し、電源電圧値に応じて挟み込み検出の基準を補正する構成としている。
特開平5−95694号公報(第3−4頁、図3−図6) 実願平4−44077号(実開平5−96371号)の明細書及び図 面(第7−12頁、図2、図3) 特開平7−145685号公報(第3−5頁、図3,図6−図8)
As described above, in order to detect the pinching without malfunction even when the power supply voltage fluctuates, it is necessary to set a reference value having a margin in consideration of the fluctuation of the power supply voltage. However, if a reference value with a margin that takes into account the fluctuations in the power supply voltage is set, it will take time to detect pinching even if pinching occurs, and the pinch detection sensitivity will decrease, and pinching at the time of pinching will occur. There is a problem that the power is increased. Therefore, in the example described in Patent Document 3, the power supply voltage is monitored in order to cope with fluctuations in the power supply voltage, and the pinch detection reference is corrected according to the power supply voltage value.
JP-A-5-95694 (page 3-4, FIG. 3 to FIG. 6) Specification and drawings of Japanese Utility Model Application No. 4-44077 (Japanese Utility Model Application Publication No. 5-96371) (page 7-12, FIG. 2, FIG. 3) Japanese Patent Laid-Open No. 7-145685 (page 3-5, FIG. 3, FIG. 6 to FIG. 8)

しかしながら、特許文献3に記載の例では、上述のように、異物を挟み込んだと判別するための基準が電源電圧に応じてのみ補正される構成である。このため、モータに電源電圧が十分に供給されている状況下で、例えば、温度変化によるウェザーストリップとウィンドウガラスとの摺動抵抗増加や、経年変化によるモータトルクの変動等によって、ウィンドウガラスの開閉速度が低下した場合には、実際にはウィンドウガラスにおいて挟み込みが発生していないにもかかわらず、挟み込みが発生したものと誤検出されてしまう虞がある。従って、電源電圧に変動が生じる場合や、ウィンドウガラスの開閉位置に応じてウィンドウガラスの開閉速度が変動する場合等であっても、挟み込み検出の感度を高く維持することが可能な車両用可動体駆動装置が望まれていた。   However, in the example described in Patent Document 3, as described above, the reference for determining that a foreign object is caught is corrected only in accordance with the power supply voltage. For this reason, when the power supply voltage is sufficiently supplied to the motor, the window glass can be opened and closed due to, for example, an increase in sliding resistance between the weather strip and the window glass due to a temperature change or a change in motor torque due to a secular change. When the speed is reduced, there is a possibility that erroneous detection may be made that pinching has occurred even though pinching has not actually occurred in the window glass. Therefore, even when the power supply voltage fluctuates or when the opening / closing speed of the window glass varies depending on the opening / closing position of the window glass, the movable body for vehicles capable of maintaining high pinch detection sensitivity. A drive device was desired.

本発明は、上記事情に鑑みてなされたものであって、その目的は、電源電圧に変動が生じる場合や、可動体の移動位置に応じて可動体の開閉速度が変動する場合等であっても、可動体における異物の挟み込み検出を高精度に行うことが可能な挟み込み検出方法および車両用可動体駆動装置を提供することにある。   The present invention has been made in view of the above circumstances, and its purpose is when the power supply voltage fluctuates or when the opening / closing speed of the movable body fluctuates according to the moving position of the movable body. Another object of the present invention is to provide a pinching detection method and a vehicle movable body drive apparatus that can detect pinching of foreign matter in a movable body with high accuracy.

前記課題は、請求項1に記載の挟み込み検出方法によれば、車両に対して可動する可動体の駆動状況を検出し、当該駆動状況に基づいて前記可動体における異物の挟み込みを検出する挟み込み検出方法において、前記可動体の可動範囲内における複数の可動位置のそれぞれに対して基準閾値を設定すると共に、隣接する基準閾値間を直線又は近似曲線で結んだ補助基準線上に補助閾値を設定する閾値設定ステップと、電源供給基の供給電源が変動した場合でも、前記可動体を駆動するモータに供給する駆動電源を一定に調節する電源調節ステップと、前記モータのモータ駆動電流又は前記モータの回転速度の少なくとも一方を順次取得すると共に、当該取得した複数のモータ駆動電流又は回転速度を平均化して移動平均値を算出し、当該移動平均値が前記基準閾値又は前記補助閾値を超えた場合に、前記可動体において異物の挟み込みが発生したものと判定する判定ステップと、を備え、前記判定ステップにおいて、順次取得した複数のモータ駆動電流又は回転速度の中から基準となる基準駆動状況値を設定し、順次取得した複数のモータ駆動電流又は回転速度の中に前記基準駆動状況値よりも所定値以上差を有する異常駆動状況値が存在する場合には、当該異常駆動状況値の代わりに該異常駆動状況値の前後に取得したモータ駆動電流又は回転速度の平均値を算出し、順次取得した複数のモータ駆動電流又は回転速度のうち前記異常駆動状況値を除いた残りのモータ駆動電流又は回転速度と前記平均値とを用いて前記移動平均値を算出することにより解決される。 According to the pinching detection method according to claim 1, the pinching detection method detects a driving state of a movable body that is movable relative to a vehicle, and detects pinching of a foreign object in the movable body based on the driving state. In the method, a threshold value is set for each of a plurality of movable positions within the movable range of the movable body, and the auxiliary threshold value is set on an auxiliary reference line connecting adjacent reference threshold values with a straight line or an approximate curve. A setting step, a power adjustment step for adjusting the driving power supplied to the motor that drives the movable body to a constant even when the power supply of the power supply base fluctuates, and the motor driving current of the motor or the rotation speed of the motor At least one of them is sequentially obtained, and a plurality of obtained motor driving currents or rotational speeds are averaged to calculate a moving average value. If the average value exceeds the reference threshold or the auxiliary threshold, and a determination step determines that entrapment of foreign object has occurred in the movable member, in said determination step, sequentially acquired plurality of motor drive current Alternatively, a reference driving situation value serving as a reference is set from among the rotation speeds, and an abnormal driving situation value having a difference of a predetermined value or more from the reference driving situation value exists in a plurality of sequentially obtained motor driving currents or rotation speeds. In this case, instead of the abnormal driving situation value, an average value of the motor driving current or the rotational speed acquired before and after the abnormal driving situation value is calculated, and the motor driving current or the rotational speed among the plurality of sequentially acquired motor driving currents or rotational speeds is calculated. This is solved by calculating the moving average value using the remaining motor driving current or rotational speed excluding the abnormal driving status value and the average value .

このように、本発明に係る挟み込み検出方法では、可動体の可動範囲内における複数の可動位置のそれぞれに対して基準閾値を設けると共に、隣接する基準閾値間を直線又は近似曲線で結んだ補助基準線上に補助閾値を設定するので、例えば、可動体の可動範囲において可動体の駆動状態にばらつきが生じる場合でも、可動体における駆動状態のばらつきに合わせて予め基準閾値を設けておくことが可能である。これにより、可動体における異物の挟み込み検出を高精度に行うことが可能となる。   As described above, in the pinching detection method according to the present invention, the reference threshold value is provided for each of the plurality of movable positions within the movable range of the movable body, and the adjacent reference threshold value is connected by a straight line or an approximate curve. Since the auxiliary threshold is set on the line, for example, even when the driving state of the movable body varies within the movable range of the movable body, it is possible to set the reference threshold in advance according to the variation in the driving state of the movable body. is there. As a result, it is possible to detect pinching of foreign matter in the movable body with high accuracy.

また、本発明の挟み込み検出方法では、可動体の可動範囲内における複数の可動位置のそれぞれに対して基準閾値を設けると共に、隣接する基準閾値間を直線又は近似曲線で結んだ補助基準線上に補助閾値を設定しているので、可動体の可動範囲に対してより緻密な閾値を設定することが可能である。これにより、従来に比して、可動体における異物の挟み込み検出をより高精度に行うことが可能となる。さらに、実測定値もしくは理論値に基づいて基準閾値だけ設定しておけば、残る補助閾値については、隣接する基準閾値間を直線又は近似曲線で結んだ補助基準線に基づいて設定することができるので、電流閾値の設定作業を簡素化することが可能となる。   In the pinching detection method of the present invention, a reference threshold value is provided for each of a plurality of movable positions within the movable range of the movable body, and the auxiliary reference line that connects adjacent reference threshold values with a straight line or an approximate curve is assisted. Since the threshold value is set, it is possible to set a more precise threshold value for the movable range of the movable body. Thereby, it becomes possible to detect pinching of foreign matter in the movable body with higher accuracy than in the past. Furthermore, if only the reference threshold value is set based on the actual measurement value or the theoretical value, the remaining auxiliary threshold value can be set based on the auxiliary reference line connecting the adjacent reference threshold values with a straight line or an approximate curve. Therefore, it is possible to simplify the current threshold setting operation.

さらに、本発明の挟み込み検出方法では、電源供給基の供給電源が変動した場合でも、可動体を駆動するモータに供給する駆動電源を一定に調節するので、モータを安定して動作させることが可能である。これにより、実際には可動体において挟み込みが発生していないにもかかわらず、挟み込みが発生したものと誤検出されてしまうことを防止することが可能となる。   Furthermore, in the pinching detection method of the present invention, even when the power supply of the power supply base fluctuates, the drive power supplied to the motor that drives the movable body is adjusted to be constant, so that the motor can be operated stably. It is. Accordingly, it is possible to prevent erroneous detection that pinching has occurred even though pinching has not actually occurred in the movable body.

また、従来では、供給電源の変動分を考慮した余裕のある閾値を設定する必要があったが、本発明では、上述のように、モータを安定して動作させることが可能であるので、閾値を駆動状況値により近づけて設定することが可能である。これにより、可動体における異物の挟み込み検出の感度をより高めることが可能となると共に、挟み込み時における挟み込み力も軽減することが可能となる。   In addition, conventionally, it has been necessary to set a threshold with a margin in consideration of fluctuations in the power supply. However, in the present invention, as described above, the motor can be stably operated. Can be set closer to the drive status value. As a result, it is possible to further increase the sensitivity of detection of foreign object pinching in the movable body, and to reduce the pinching force during pinching.

また、挟み込み検出方法では、モータに流れるモータ駆動電流又はモータの回転速度の少なくとも一方を順次取得すると共に、当該取得した複数のモータ駆動電流又は回転速度を平均化して移動平均値を算出し、当該移動平均値が基準閾値又は補助閾値を超えた場合に、可動体において異物の挟み込みが発生したものと判定する。 Further, in the detection method narrowing seen today with sequentially acquires at least one of the rotational speed of the motor driving current or motor through the motor, and calculates a moving average value of the plurality of motor drive current or rotational speed and the acquired by averaging When the moving average value exceeds the reference threshold value or the auxiliary threshold value, it is determined that the foreign object is caught in the movable body.

そして、順次取得した複数のモータ駆動電流又は回転速度の中から基準となる基準駆動状況値を設定し、順次取得した複数のモータ駆動電流又は回転速度の中に基準駆動状況値よりも所定値以上差を有する異常駆動状況値が存在する場合には、当該異常駆動状況値の代わりに該異常駆動状況値の前後に取得したモータ駆動電流又は回転速度の平均値を算出し、順次取得した複数のモータ駆動電流又は回転速度のうち前記異常駆動状況値を除いた残りのモータ駆動電流又は回転速度と前記平均値とを用いて移動平均値を算出する。このようにすると、ノイズや外乱等によりモータ駆動電流又は回転速度が乱れた場合でも、挟み込み検出の精度が低下することを確実に防止することが可能となる。 Then, set the reference drive condition value as a reference from a plurality of motor driving current or rotational speed in sequential acquisition sequentially acquired plurality of motor driving current or a predetermined value than the reference drive condition value in the rotational speed When there is an abnormal driving situation value having a difference as described above, instead of the abnormal driving situation value, an average value of motor driving currents or rotational speeds obtained before and after the abnormal driving situation value is calculated, and a plurality of sequentially obtained A moving average value is calculated by using the remaining motor drive current or rotation speed excluding the abnormal drive status value of the motor drive current or rotation speed and the average value. In this way, even when the motor drive current or the rotation speed is disturbed due to noise, disturbance, or the like, it is possible to reliably prevent the pinch detection accuracy from being lowered.

ここで、請求項2に記載のように、本発明の挟み込み検出方法では、より好適には、モータを一方向へ駆動する場合とモータを他方向へ駆動する場合とで異なる基準閾値及び補助閾値を設定する。ここで、一般に、モータを一方向へ駆動させる場合とモータを他方向へ駆動させる場合とでは、モータにおける駆動状況が異なるが、本発明のように、駆動手段を一方向へ駆動させる場合と駆動手段を他方向へ駆動させる場合とで、基準閾値及び前記補助閾値を異ならせて設定することにより、モータの駆動方向に応じた適切な挟み込み検出を行うことが可能となる。   Here, as described in claim 2, in the pinching detection method of the present invention, more preferably, the reference threshold value and the auxiliary threshold value that are different between when the motor is driven in one direction and when the motor is driven in the other direction. Set. Here, in general, when the motor is driven in one direction and when the motor is driven in the other direction, the driving situation in the motor is different. However, as in the present invention, the driving means is driven in one direction and the driving is performed. By setting the reference threshold value and the auxiliary threshold value differently when driving the means in the other direction, it is possible to perform appropriate pinching detection according to the driving direction of the motor.

そして、請求項3に記載のように、本発明の挟み込み検出方法では、より好適には、電源供給基の供給電源が変動することによって該供給電源がモータにおける定格を超えた場合には、モータに供給する駆動電源をモータの定格となるように調節する。このようにすると、電源供給基の供給電源が上昇した場合でも、モータをより安定して動作させることが可能となるので、実際には可動体において挟み込みが発生していないにもかかわらず、挟み込みが発生したものと誤検出されてしまうことを確実に防止することが可能となる。 As described in claim 3 , in the pinching detection method of the present invention, more preferably, when the supply power of the power supply base fluctuates and the supply power exceeds the rating of the motor, Adjust the drive power supplied to the motor so that it is rated for the motor. In this way, even when the power supply of the power supply base rises, the motor can be operated more stably. It is possible to reliably prevent erroneous detection of the occurrence of.

また、請求項4に記載のように、本発明の挟み込み検出方法では、さらに好適には、電源供給基の供給電源が変動することによって該供給電源がモータにおける定格を下回った場合には、モータに供給する駆動電源を電源供給基の供給電源の変動範囲における最高値となるように調節する。このようにすると、電源供給基の供給電源が低下した場合でも、モータをより安定して動作させることが可能となるので、実際には可動体において挟み込みが発生していないにもかかわらず、挟み込みが発生したものと誤検出されてしまうことを確実に防止することが可能となる。 Further, as described in claim 4, when the entrapment detection method of the present invention, more preferably, said power supply by supplying power of the power supply group varies is below the rated in the motor, the motor The drive power supplied to the power supply is adjusted so as to be the highest value in the fluctuation range of the power supply of the power supply base. This makes it possible to operate the motor more stably even when the power supply of the power supply base is lowered. It is possible to reliably prevent erroneous detection of the occurrence of.

また、前記課題は、請求項5に記載の車両用可動体駆動装置によれば、車両に対して可動する可動体を駆動する駆動手段と、該駆動手段の駆動状況を検出する駆動状況検出手段と、前記駆動手段を制御する制御手段と、前記駆動手段に電源を供給する電源供給手段と、を備え、前記駆動状況検出手段により検出された駆動状況に基づいて前記可動体における異物の挟み込みを検出する車両用可動体駆動装置において、前記駆動手段は、モータを有して構成され、前記駆動状況検出手段は、前記モータに流れるモータ駆動電流を検出する電流検出器又は前記モータの回転速度を検出する回転検出器により構成され、前記制御手段は、前記可動体の可動範囲内における複数の可動位置のそれぞれに対して基準閾値を設定すると共に、隣接する基準閾値間を直線又は近似曲線で結んだ補助基準線上に補助閾値を設定し、前記電源供給手段から供給される供給電源が変動した場合でも、前記駆動手段に供給される駆動電源を一定に調節し、前記電流検出器によって検出された前記モータのモータ駆動電流又は前記回転検出器によって検出された前記モータの回転速度の少なくとも一方を順次取得すると共に、当該取得した複数のモータ駆動電流又は回転速度を平均化して移動平均値を算出し、順次取得した複数のモータ駆動電流又は回転速度の中から基準となる基準駆動状況値を設定し、順次取得した複数のモータ駆動電流又は回転速度の中に前記基準駆動状況値よりも所定値以上差を有する異常駆動状況値が存在する場合には、当該異常駆動状況値の代わりに該異常駆動状況値の前後に取得したモータ駆動電流又は回転速度の平均値を算出し、順次取得した複数のモータ駆動電流又は回転速度のうち前記異常駆動状況値を除いた残りのモータ駆動電流又は回転速度と前記平均値とを用いて前記移動平均値を算出し、当該移動平均値が前記基準閾値又は前記補助閾値を超えた場合に、前記可動体において異物の挟み込みが発生したものと判定することにより解決される。 Further, according to the vehicle movable body drive device according to claim 5 , the subject is a drive means for driving a movable body movable with respect to the vehicle, and a drive status detection means for detecting a drive status of the drive means. And a control means for controlling the driving means, and a power supply means for supplying power to the driving means, and the foreign object is caught in the movable body based on the driving situation detected by the driving situation detecting means. In the vehicle movable body drive apparatus for detecting, the drive means is configured to have a motor, and the drive status detection means is a current detector for detecting a motor drive current flowing through the motor or a rotational speed of the motor. A rotation detector for detecting, and the control means sets a reference threshold value for each of a plurality of movable positions within a movable range of the movable body, and an adjacent reference Set the auxiliary threshold between values on the connecting it auxiliary reference line a straight line or approximation curve, even when the supply power supplied from said power supply means is varied to adjust the driving power supplied to the drive means to a constant Sequentially acquiring at least one of the motor drive current of the motor detected by the current detector or the rotation speed of the motor detected by the rotation detector, and obtaining the plurality of acquired motor drive currents or rotation speeds. A moving average value is averaged to calculate a reference driving situation value as a reference from a plurality of motor driving currents or rotational speeds obtained sequentially, and the motor driving current or rotational speed obtained sequentially is If there is an abnormal driving situation value that differs by more than a predetermined value from the reference driving situation value, it is taken before and after the abnormal driving situation value instead of the abnormal driving situation value. The average value of the motor drive current or rotation speed obtained is calculated, and the remaining motor drive current or rotation speed and the average value excluding the abnormal drive status value among the plurality of motor drive currents or rotation speeds obtained sequentially are used. The moving average value is calculated, and when the moving average value exceeds the reference threshold value or the auxiliary threshold value, it is determined that a foreign object is caught in the movable body .

このように、本発明に係る制御手段には、可動体の可動範囲内における複数の可動位置のそれぞれに対して基準閾値が設けられると共に、隣接する基準閾値間を直線又は近似曲線で結んだ補助基準線上に補助閾値が設定されるので、例えば、可動体の可動範囲において可動体の駆動状態にばらつきが生じる場合でも、可動体における駆動状態のばらつきに合わせて予め基準閾値を設けておくことが可能である。これにより、可動体における異物の挟み込み検出を高精度に行うことが可能となる。   As described above, the control means according to the present invention is provided with the reference threshold for each of the plurality of movable positions within the movable range of the movable body, and the auxiliary that connects the adjacent reference thresholds with a straight line or an approximate curve. Since the auxiliary threshold is set on the reference line, for example, even when the driving state of the movable body varies within the movable range of the movable body, the reference threshold may be set in advance in accordance with the variation in the driving state of the movable body. Is possible. As a result, it is possible to detect pinching of foreign matter in the movable body with high accuracy.

また、本発明の車両用可動体駆動装置では、可動体の可動範囲内における複数の可動位置のそれぞれに対して基準閾値を設けると共に、隣接する基準閾値間を直線又は近似曲線で結んだ補助基準線上に補助閾値を設定しているので、可動体の可動範囲に対してより緻密な閾値を設定することが可能である。これにより、従来に比して、可動体における異物の挟み込み検出をより高精度に行うことが可能となる。さらに、実測定値もしくは理論値に基づいて基準閾値だけ設定しておけば、残る補助閾値については、隣接する基準閾値間を直線又は近似曲線で結んだ補助基準線に基づいて設定することができるので、電流閾値の設定作業を簡素化することが可能となる。   In the vehicle movable body drive device of the present invention, a reference threshold is provided for each of a plurality of movable positions within the movable range of the movable body, and an auxiliary reference in which adjacent reference thresholds are connected by a straight line or an approximate curve. Since the auxiliary threshold is set on the line, it is possible to set a finer threshold for the movable range of the movable body. Thereby, it becomes possible to detect pinching of foreign matter in the movable body with higher accuracy than in the past. Furthermore, if only the reference threshold value is set based on the actual measurement value or the theoretical value, the remaining auxiliary threshold value can be set based on the auxiliary reference line connecting the adjacent reference threshold values with a straight line or an approximate curve. Therefore, it is possible to simplify the current threshold setting operation.

さらに、本発明に係る制御手段は、電源供給手段における供給電源の変動を検出し、該供給電源が変動した場合でも、駆動手段に供給される駆動電源が一定となるように該供給電源を調節するので、電源供給手段の供給電源に変動が生じた場合でも、駆動手段に供給される供給電源を一定に保つことができる。従って、駆動手段を安定して動作させることが可能である。これにより、実際には可動体において挟み込みが発生していないにもかかわらず、挟み込みが発生したものと誤検出されてしまうことを防止することが可能となる。   Further, the control means according to the present invention detects a change in the power supply in the power supply means, and adjusts the power supply so that the drive power supplied to the drive means remains constant even when the power supply changes. Therefore, even when fluctuation occurs in the power supply of the power supply means, the power supply supplied to the drive means can be kept constant. Therefore, it is possible to operate the driving means stably. Accordingly, it is possible to prevent erroneous detection that pinching has occurred even though pinching has not actually occurred in the movable body.

また、従来では、供給電源の変動分を考慮した余裕のある閾値を設定する必要があったが、本発明の車両用可動体駆動装置では、上述のように、駆動手段を安定して動作させることが可能であるので、閾値を駆動状況値により近づけて設定することが可能である。これにより、可動体における異物の挟み込み検出の感度をより高めることが可能となると共に、挟み込み時における挟み込み力も軽減することが可能となる。   Further, in the past, it was necessary to set a threshold with a margin in consideration of fluctuations in the power supply, but in the vehicle movable body drive device of the present invention, the drive means is stably operated as described above. Therefore, the threshold value can be set closer to the driving status value. As a result, it is possible to further increase the sensitivity of detection of foreign object pinching in the movable body, and to reduce the pinching force during pinching.

なお、駆動手段は、モータを有して構成され、駆動状況検出手段は、モータに流れるモータ駆動電流を検出する電流検出器又はモータの回転速度を検出する回転検出器により構成され、制御手段は、電流検出器によって検出されたモータのモータ駆動電流又は回転検出器によって検出されたモータの回転速度の少なくとも一方と基準閾値又は補助閾値とに基づいて、可動体における異物の挟み込みの検出を行う。   The driving means includes a motor, and the driving status detecting means includes a current detector that detects a motor driving current flowing through the motor or a rotation detector that detects a rotation speed of the motor. Based on at least one of the motor driving current of the motor detected by the current detector or the rotational speed of the motor detected by the rotation detector and the reference threshold value or the auxiliary threshold value, the trapping of the foreign matter in the movable body is detected.

た、制御手段は、電流検出器によって検出されたモータのモータ駆動電流又は回転検出器によって検出されたモータの回転速度の少なくとも一方を順次取得すると共に、当該取得した複数のモータ駆動電流又は回転速度を平均化して移動平均値を算出し、当該移動平均値が基準閾値又は補助閾値を超えた場合に、可動体において異物の挟み込みが発生したものと判定する。 Also, control means may sequentially acquires at least one of the rotational speed of the motor detected by the current detector the motor drive current or the rotation detector of the motor detected by a plurality of motor driving current in the acquired or A moving average value is calculated by averaging the rotation speed, and when the moving average value exceeds a reference threshold value or an auxiliary threshold value, it is determined that a foreign object is caught in the movable body.

そして、順次取得した複数のモータ駆動電流又は回転速度の中から基準となる基準駆動状況値を設定し、順次取得した複数のモータ駆動電流又は回転速度の中に基準駆動状況値よりも所定値以上差を有する異常駆動状況値が存在する場合には、当該異常駆動状況値の代わりに該異常駆動状況値の前後に取得したモータ駆動電流又は回転速度の平均値を算出し、順次取得した複数のモータ駆動電流又は回転速度のうち異常駆動状況値を除いた残りのモータ駆動電流又は回転速度と平均値とを用いて移動平均値を算出する。このように構成されていると、ノイズや外乱等により駆動状況値が乱れた場合でも、当該異常駆動状況値の代わりに該異常駆動状況値の前後に取得した駆動状況値の平均値が適用されるので、挟み込み検出の精度が低下することを確実に防止することが可能となる。 Then, set the reference drive condition value as a reference from a plurality of motor driving current or rotational speed in sequential acquisition sequentially acquired plurality of motor driving current or a predetermined value than the reference drive condition value in the rotational speed When there is an abnormal driving situation value having a difference as described above, instead of the abnormal driving situation value, an average value of motor driving currents or rotational speeds obtained before and after the abnormal driving situation value is calculated, and a plurality of sequentially obtained The moving average value is calculated using the remaining motor drive current or rotational speed and the average value obtained by removing the abnormal drive status value from the motor drive current or rotational speed. With this configuration, even when the driving situation value is disturbed due to noise or disturbance, the average value of the driving situation values acquired before and after the abnormal driving situation value is applied instead of the abnormal driving situation value. Therefore, it is possible to reliably prevent the pinch detection accuracy from being lowered.

ここで、請求項6に記載のように、本発明の車両用可動体駆動装置において、制御手
段は、駆動手段を一方向へ駆動させる場合と駆動手段を他方向へ駆動させる場合とで異なる基準閾値及び補助閾値を設定する。ここで、一般に、駆動手段を一方向へ駆動させる場合と駆動手段を他方向へ駆動させる場合とでは、駆動手段における駆動状況が異なるが、本発明のように、駆動手段を一方向へ駆動させる場合と駆動手段を他方向へ駆動させる場合とで、基準閾値及び前記補助閾値を異ならせて設定することにより、駆動手段の駆動方向に応じた適切な挟み込み検出を行うことが可能となる。
Here, according to the sixth aspect of the present invention, in the vehicle movable body drive apparatus according to the present invention, the control means has different criteria for driving the driving means in one direction and driving the driving means in the other direction. Set threshold and auxiliary threshold. Here, in general, when the driving unit is driven in one direction and when the driving unit is driven in the other direction, the driving state of the driving unit is different, but the driving unit is driven in one direction as in the present invention. By setting the reference threshold value and the auxiliary threshold value to be different between the case and the case where the driving unit is driven in the other direction, it is possible to perform appropriate pinching detection according to the driving direction of the driving unit.

そして、請求項7に記載のように、より好適には、本発明の車両用可動体駆動装置において、制御手段は、電源供給手段における供給電源が変動することによって該供給電源が駆動手段における定格を超えた場合には、駆動手段に供給される駆動電源を駆動手段の定格となるように調節する。このように構成されていると、電源供給手段における供給電源が変動することによって該供給電源が駆動手段における定格を超えた場合でも、駆動手段に供給される駆動電源が駆動手段の定格となるように調節されるので、駆動手段をより安定して動作させることが可能となる。これにより、実際には可動体において挟み込みが発生していないにもかかわらず、挟み込みが発生したものと誤検出されてしまうことを確実に防止することが可能となる。 More preferably, according to the seventh aspect of the present invention, in the vehicle movable body drive apparatus according to the present invention, the control means is configured such that the supply power in the power supply means fluctuates so that the supply power is rated in the drive means. If the value exceeds the value, the drive power supplied to the drive means is adjusted so that the drive means is rated. With this configuration, even when the supply power in the power supply means fluctuates and the supply power exceeds the rating in the drive means, the drive power supplied to the drive means becomes the rating of the drive means. Therefore, the driving means can be operated more stably. Accordingly, it is possible to reliably prevent erroneous detection that pinching has occurred even though pinching has not actually occurred in the movable body.

また、請求項8に記載のように、さらに好適には、本発明の車両用可動体駆動装置において、制御手段は、電源供給手段における供給電源が変動することによって該供給電源が駆動手段における定格を下回った場合には、駆動手段に供給される駆動電源を電源供給手段の供給電源の変動範囲における最高値となるように調節する。このように構成されていると、電源供給手段における供給電源が変動することによって該供給電源が駆動手段における定格を下回った場合でも、駆動手段に供給される駆動電源が供給電源の変動範囲における最高値となるように調節されるので、駆動手段をより安定して動作させることが可能となる。これにより、実際には可動体において挟み込みが発生していないにもかかわらず、挟み込みが発生したものと誤検出されてしまうことを確実に防止することが可能となる。 Further preferably, according to the eighth aspect of the present invention, in the vehicle movable body drive device according to the present invention, the control means is configured such that the supply power in the power supply means varies and the supply power is rated in the drive means. When the value is lower than the value, the drive power supplied to the drive means is adjusted to the maximum value in the fluctuation range of the power supply of the power supply means. With this configuration, even when the supply power in the power supply means fluctuates and the supply power falls below the rating in the drive means, the drive power supplied to the drive means is the highest in the fluctuation range of the supply power. Since the value is adjusted to be a value, the driving means can be operated more stably. Accordingly, it is possible to reliably prevent erroneous detection that pinching has occurred even though pinching has not actually occurred in the movable body.

本発明によれば、例えば、可動体の可動範囲において可動体の駆動状態にばらつきが生じる場合でも、可動体における駆動状態のばらつきに合わせて予め基準閾値を設けておくことが可能であるので、可動体における異物の挟み込み検出を高精度に行うことが可能となる。これにより、可動体の誤作動等を防止することが可能となる。また、本発明では、可動体の可動範囲内における複数の可動位置のそれぞれに対して基準閾値を設けると共に、隣接する基準閾値間を直線又は近似曲線で結んだ補助基準線上に補助閾値を設定しているので、可動体の可動範囲に対してより緻密な閾値を設定することが可能である。これにより、従来に比して、可動体における異物の挟み込み検出をより高精度に行うことが可能となる。さらに、実測定値もしくは理論値に基づいて基準閾値だけ設定しておけば、残る補助閾値については、隣接する基準閾値間を直線又は近似曲線で結んだ補助基準線に基づいて設定することができるので、電流閾値の設定作業を簡素化することが可能となる。これにより、装置のコストを低減することが可能となる。   According to the present invention, for example, even when there is a variation in the driving state of the movable body in the movable range of the movable body, it is possible to provide a reference threshold in advance according to the variation in the driving state of the movable body. It becomes possible to detect the trapping of foreign matter in the movable body with high accuracy. As a result, it is possible to prevent malfunction of the movable body. In the present invention, a reference threshold value is provided for each of a plurality of movable positions within the movable range of the movable body, and the auxiliary threshold value is set on an auxiliary reference line connecting adjacent reference threshold values with a straight line or an approximate curve. Therefore, it is possible to set a finer threshold for the movable range of the movable body. Thereby, it becomes possible to detect pinching of foreign matter in the movable body with higher accuracy than in the past. Furthermore, if only the reference threshold value is set based on the actual measurement value or the theoretical value, the remaining auxiliary threshold value can be set based on the auxiliary reference line connecting the adjacent reference threshold values with a straight line or an approximate curve. Therefore, it is possible to simplify the current threshold setting operation. As a result, the cost of the apparatus can be reduced.

また、本発明によれば、供給電源の変動が生じた場合でも、駆動電源を一定に保つことができるので、モータを安定して動作させることが可能である。これにより、実際には可動体において挟み込みが発生していないにもかかわらず、挟み込みが発生したものと誤検出されてしまうことを防止することが可能となる。また、従来では、供給電源の変動分を考慮した余裕のある閾値を設定する必要があったが、本発明では、上述のように、モータを安定して動作させることが可能であるので、閾値を駆動状況値により近づけて設定することが可能である。これにより、可動体における異物の挟み込み検出の感度をより高めることが可能となると共に、挟み込み時における挟み込み力も軽減することが可能となる。   Further, according to the present invention, the drive power supply can be kept constant even when the supply power supply fluctuates, so that the motor can be operated stably. Accordingly, it is possible to prevent erroneous detection that pinching has occurred even though pinching has not actually occurred in the movable body. In addition, conventionally, it has been necessary to set a threshold with a margin in consideration of fluctuations in the power supply. However, in the present invention, as described above, the motor can be stably operated. Can be set closer to the drive status value. As a result, it is possible to further increase the sensitivity of detection of foreign object pinching in the movable body, and to reduce the pinching force during pinching.

以下、本発明の一実施形態について、図を参照して説明する。なお、以下に説明する部材、配置等は、本発明を限定するものではなく、本発明の趣旨に沿って各種改変することができることは勿論である。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. It should be noted that members, arrangements, and the like described below do not limit the present invention, and it goes without saying that various modifications can be made in accordance with the spirit of the present invention.

図1乃至図7は本発明の一実施形態を示す図で、図1は車両用可動体駆動装置の構成を示すブロック図、図2は車両において可動フロアが展開された状態を示す説明図、図3は図2に示す可動フロアが格納された状態を示す説明図、図4はROMに記憶された電流閾値とモータ回転角度との関係を示すグラフ、図5はCPUの動作を示すフローチャート、図6はCPUにおいてモータ駆動電流が平均化処理される様子を示す説明図、図7はモータ駆動電流と電流閾値との関係を示す説明図である。   FIG. 1 to FIG. 7 are diagrams showing an embodiment of the present invention, FIG. 1 is a block diagram showing a configuration of a vehicle movable body drive device, and FIG. 2 is an explanatory view showing a state in which a movable floor is unfolded in the vehicle. FIG. 3 is an explanatory diagram showing a state in which the movable floor shown in FIG. 2 is stored, FIG. 4 is a graph showing the relationship between the current threshold stored in the ROM and the motor rotation angle, and FIG. 5 is a flowchart showing the operation of the CPU. FIG. 6 is an explanatory diagram showing how the motor drive current is averaged in the CPU, and FIG. 7 is an explanatory diagram showing the relationship between the motor drive current and the current threshold.

本実施形態に係る車両用可動体駆動装置Sは、例えば、乗用自動車等の車両60に好適に搭載されるものであり、図1に示すように、駆動手段の一部を構成するモータ11と、駆動状況検出手段としての電流検出器21および回転検出器22と、制御手段としてのマイクロコンピュータ31(以下、マイコン31という)と、電源供給手段としてのバッテリ41および電源供給回路42を有して構成されている。車両用可動体駆動装置Sは、あらゆる車両に対して好適に適用することができるものであるが、本実施形態では、車両用可動体駆動装置Sが適用される車両の一例として、ワンボックスカーやいわゆるミニバン等を用いて説明する。   The vehicle movable body drive device S according to this embodiment is suitably mounted on a vehicle 60 such as a passenger car, for example, and as shown in FIG. A current detector 21 and a rotation detector 22 as drive status detection means, a microcomputer 31 as control means (hereinafter referred to as microcomputer 31), a battery 41 as power supply means and a power supply circuit 42. It is configured. Although the vehicle movable body drive device S can be suitably applied to any vehicle, in the present embodiment, as an example of a vehicle to which the vehicle movable body drive device S is applied, a one-box car This will be described using a so-called minivan or the like.

本実施形態に係る車両60について簡単に説明すると、本例の車両60は、図2、図3に示すように、その側面にスライド式のドア61を備えている。車両60のドア61を開けると、乗降口62には、車両フロア63から一段下がったステップ64が形成されており、このステップ64の上方には、本発明に係る可動体としての可動フロア65が設けられている。可動フロア65は、車両前後方向に延出する平板より形成されており、車両フロア63の縁部に回動自在に取り付けられている。可動フロア65が展開されると、図2に示すように、可動フロア65によってステップ64上の凹部空間が塞がれた状態となる。一方、可動フロア65が格納されると、図3に示すように、乗降口62にステップ64が出現した状態となる。   The vehicle 60 according to the present embodiment will be briefly described. The vehicle 60 of the present example includes a sliding door 61 on a side surface thereof as shown in FIGS. When the door 61 of the vehicle 60 is opened, a step 64 is formed at the entrance / exit 62 that is one step down from the vehicle floor 63. Above the step 64, a movable floor 65 as a movable body according to the present invention is formed. Is provided. The movable floor 65 is formed of a flat plate extending in the vehicle front-rear direction, and is rotatably attached to the edge of the vehicle floor 63. When the movable floor 65 is deployed, the concave space on the step 64 is closed by the movable floor 65 as shown in FIG. On the other hand, when the movable floor 65 is stored, the step 64 appears at the entrance 62 as shown in FIG.

なお、本実施形態では、本発明に係る可動体の一例として可動フロア65を用いて説明するが、その他にも、本発明に係る可動体は、車両に設けられたウィンドウガラス、ヒンジ式のドア、スライド式のドア、跳ね上げ式ドア、可動ステップ、サンルーフ、トランクリッド、スライド及び高さ調節式車両用シートの座面、リクライニング式車両用シートのシートバック、チルト&テレスコピックステアリング、展開格納式ドアミラー、可動式エアスポイラー、コンバーチブル車用の展開格納式ルーフ等であっても良い。   In the present embodiment, the movable floor 65 is used as an example of the movable body according to the present invention. However, the movable body according to the present invention includes a window glass and a hinged door provided in the vehicle. , Sliding doors, flip-up doors, movable steps, sunroofs, trunk lids, seat surfaces for sliding and height-adjustable vehicle seats, seat backs for reclining vehicle seats, tilt and telescopic steering, unfolding retractable door mirrors A movable air spoiler, a deployable retractable roof for a convertible vehicle, or the like may be used.

モータ11は、可動フロア65を展開及び格納させるための駆動源となるものであり、例えば、ブラシ付き直流モータやブラシレスモータ等により構成されている。モータ11の出力軸は、不図示の減速機構およびリンク機構等を介して可動フロア65に連結されている。本例では、モータ11の出力軸が回転すると、不図示の減速機構およびリンク機構等が作動し、可動フロア65が展開もしくは格納されるように構成されている。なお、本発明に係る駆動手段は、モータ11および不図示の減速機構およびリンク機構等により構成される。   The motor 11 serves as a drive source for deploying and storing the movable floor 65, and includes, for example, a DC motor with a brush or a brushless motor. The output shaft of the motor 11 is connected to the movable floor 65 via a reduction mechanism and a link mechanism (not shown). In this example, when the output shaft of the motor 11 rotates, a reduction mechanism and a link mechanism (not shown) are operated, and the movable floor 65 is expanded or stored. The driving means according to the present invention includes the motor 11 and a speed reduction mechanism and a link mechanism (not shown).

電流検出器21は、電源供給回路42からモータ11へ供給されるモータ駆動電流を検出するためのものであり、例えば、電源供給回路42からモータ11へ接続される電源線に直列に接続された抵抗器により構成されている。電流検出器21から出力されたモータ駆動電流信号は、後述するマイコン31のA/D変換回路31dに入力される。なお、抵抗器の代わりに電流センサを電流検出器21として用いても良い。   The current detector 21 is for detecting a motor driving current supplied from the power supply circuit 42 to the motor 11. For example, the current detector 21 is connected in series to a power supply line connected from the power supply circuit 42 to the motor 11. It is composed of resistors. The motor drive current signal output from the current detector 21 is input to an A / D conversion circuit 31d of the microcomputer 31 described later. A current sensor may be used as the current detector 21 instead of the resistor.

回転検出器22は、モータ11の回転速度および回転方向を検出するためのものであり、例えば、ホール素子、ロータリーエンコーダ、レゾルバ等により構成されている。回転検出器22は、モータ11の回転速度に応じたパルス状の回転信号を2相出力することができるように構成されている。回転検出器22から出力された2相の回転信号は、後述するマイコン31の入力回路31eに入力される。   The rotation detector 22 is for detecting the rotation speed and rotation direction of the motor 11, and is constituted by, for example, a Hall element, a rotary encoder, a resolver, and the like. The rotation detector 22 is configured to output a two-phase pulsed rotation signal corresponding to the rotation speed of the motor 11. The two-phase rotation signal output from the rotation detector 22 is input to an input circuit 31e of the microcomputer 31 described later.

マイコン31は、外部から出力された指令信号と、電流検出器21から出力されたモータ駆動電流信号と、回転検出器22から出力された回転信号と、バッテリ41からの電源電圧信号とに基づいて所定の演算や処理を行い、電源供給回路42にPWM信号および回転方向検出信号を出力するものである。本例のマイコン31は、ROM31aと、CPU31bと、RAM31cと、A/D変換回路31dと、入力回路31eと、出力回路31fとを有して構成されている。   The microcomputer 31 is based on the command signal output from the outside, the motor drive current signal output from the current detector 21, the rotation signal output from the rotation detector 22, and the power supply voltage signal from the battery 41. Predetermined calculations and processing are performed, and a PWM signal and a rotation direction detection signal are output to the power supply circuit 42. The microcomputer 31 of this example includes a ROM 31a, a CPU 31b, a RAM 31c, an A / D conversion circuit 31d, an input circuit 31e, and an output circuit 31f.

ROM31aには、CPU31bが演算処理するために必要なプログラム等が格納されると共に、挟み込みを判定するための電流閾値Is(x)等が予め記憶されている。図4において、横軸はモータ11の回転角度を表しており、縦軸はモータ駆動電流値を示している。電流閾値Is(x)は、基準閾値Ik(n)と補助閾値Ih(m)よりなる。モータ駆動電流値Id(x)は、電源供給回路42からモータ11へ供給されるモータ駆動電流の値である。   The ROM 31a stores a program and the like necessary for the arithmetic processing by the CPU 31b, and stores in advance a current threshold Is (x) and the like for determining pinching. In FIG. 4, the horizontal axis represents the rotation angle of the motor 11, and the vertical axis represents the motor drive current value. The current threshold value Is (x) includes a reference threshold value Ik (n) and an auxiliary threshold value Ih (m). The motor drive current value Id (x) is the value of the motor drive current supplied from the power supply circuit 42 to the motor 11.

また、図4は、可動フロア65が格納状態から展開状態に移行する際のグラフを示しており、横軸に示すモータ回転角度は、可動フロア65の移動位置に対応している。基準閾値Ik(n)は、式1に示すように、実測定値もしくは理論値に基づいて設定されたモータ駆動電流値Id(n)に、予め算出された定数Ijを加算することにより算出される。また、基準閾値Ik(n)は、所定のモータ回転角度毎に設定されており、基準閾値Ik(n)のそれぞれは、可動フロア65の可動範囲内における複数の可動位置に対応している。   FIG. 4 shows a graph when the movable floor 65 shifts from the retracted state to the expanded state, and the motor rotation angle shown on the horizontal axis corresponds to the moving position of the movable floor 65. The reference threshold value Ik (n) is calculated by adding a constant Ij calculated in advance to the motor drive current value Id (n) set based on the actual measurement value or the theoretical value, as shown in Equation 1. . The reference threshold value Ik (n) is set for each predetermined motor rotation angle, and each of the reference threshold values Ik (n) corresponds to a plurality of movable positions within the movable range of the movable floor 65.

Figure 0004167621
Figure 0004167621

さらに、本例では、図4に示すように、所定のモータ回転角度毎に設定された基準閾値Ik(n)とこれに隣接する基準閾値(n+1)とを直線又は近似曲線からなる補助基準線Lによって結ぶことにより複数の補助閾値Ih(m),Ih(m+1),Ih(m+2)・・・が設定されている。このように、所定のモータ回転角度毎に設定された基準閾値Ik(n)とこれに隣接する基準閾値(n+1)とを結んだ補助基準線L上に複数の補助閾値Ih(m),Ih(m+1),Ih(m+2)・・・を設定することにより、所定のモータ回転角度毎に設定された基準閾値Ik(n)とこれに隣接する基準閾値Ik(n+1)との間についても電流閾値が設定される。   Further, in this example, as shown in FIG. 4, the reference threshold value Ik (n) set for each predetermined motor rotation angle and the reference threshold value (n + 1) adjacent to the reference threshold value Ik (n) are auxiliary reference lines made of straight lines or approximate curves. A plurality of auxiliary threshold values Ih (m), Ih (m + 1), Ih (m + 2)... Are set by connecting with L. Thus, a plurality of auxiliary threshold values Ih (m), Ih are arranged on the auxiliary reference line L connecting the reference threshold value Ik (n) set for each predetermined motor rotation angle and the reference threshold value (n + 1) adjacent thereto. By setting (m + 1), Ih (m + 2)..., The current also flows between the reference threshold value Ik (n) set for each predetermined motor rotation angle and the reference threshold value Ik (n + 1) adjacent thereto. A threshold is set.

このように、本例では、可動フロア65に作用する負荷等に合わせて予め基準閾値Ik(n)が設けられているので、例えば、可動フロア65の可動範囲において可動フロア65に作用する負荷等にばらつきが生じる場合でも、可動フロア65における異物の挟み込み検出を高精度に行うことが可能となる。また、本例では、隣接する基準閾値Ik(n),Ik(n+1)間を直線又は近似曲線からなる補助基準線Lで連結し、この補助基準線L上に複数の補助閾値Ih(m),Ih(m+1),Ih(m+2)・・・を設定しているので、可動フロア65の可動範囲に対してより緻密な閾値を設定することが可能である。これにより、従来に比して、可動フロア65における異物の挟み込み検出をより高精度に行うことが可能となる。   Thus, in this example, since the reference threshold value Ik (n) is provided in advance in accordance with the load acting on the movable floor 65, for example, the load acting on the movable floor 65 in the movable range of the movable floor 65, for example. Even when variations occur, it is possible to detect the foreign object pinching on the movable floor 65 with high accuracy. In this example, adjacent reference threshold values Ik (n) and Ik (n + 1) are connected by an auxiliary reference line L made of a straight line or an approximate curve, and a plurality of auxiliary threshold values Ih (m) are arranged on the auxiliary reference line L. , Ih (m + 1), Ih (m + 2)... Are set, so that a more precise threshold can be set for the movable range of the movable floor 65. Thereby, it becomes possible to detect pinching of foreign matter on the movable floor 65 with higher accuracy than in the past.

さらに、実測定値もしくは理論値に基づいて基準閾値Ik(n)だけ設定しておけば、残る補助閾値Ih(m),Ih(m+1),Ih(m+2)・・・については、隣接する基準閾値Ik(n),Ik(n+1)間に設けられた補助基準線Lに基づいて設定することができるので、電流閾値Is(x)の設定作業を簡素化することが可能となる。なお、基準閾値Ik(n)の設定方法は、上記のように、所定のモータ回転角度毎に実測もしくは理論に基づいて設定されたモータ駆動電流値Id(n)に予め定めた定数Ijを加算する方式に限らず、実測もしくは理論に基づいてモータ回転角度に対応する基準閾値Ik(n)を直接算出する方式であっても良い。   Further, if only the reference threshold value Ik (n) is set based on the actual measurement value or the theoretical value, the remaining auxiliary threshold values Ih (m), Ih (m + 1), Ih (m + 2). Since the setting can be made based on the auxiliary reference line L provided between Ik (n) and Ik (n + 1), the setting operation of the current threshold Is (x) can be simplified. The reference threshold value Ik (n) is set by adding a predetermined constant Ij to the motor drive current value Id (n) set based on actual measurement or theory for each predetermined motor rotation angle as described above. The method is not limited to this method, and a method of directly calculating the reference threshold value Ik (n) corresponding to the motor rotation angle based on actual measurement or theory may be used.

ところで、図4は、可動フロア65が格納状態から展開状態に移行する際のグラフを示しているが、可動フロア65が展開状態から格納状態に移行する場合についても、同様なグラフを得ることができる。ただし、一般に、可動フロア65が格納状態から展開状態に移行するときの可動フロア65に作用する負荷特性は、可動フロア65が展開状態から格納状態に移行するときの可動フロア65に作用する負荷特性と異なる。従って、本例においては、可動フロア65が展開状態から格納状態に移行する場合について、図4に示すような可動フロア65が格納状態から展開状態に移行する際のグラフとは異なる電流閾値Is(x)を設定することとする。なお、可動フロア65が展開状態から格納状態に移行する際のグラフについては省略する。   By the way, FIG. 4 shows a graph when the movable floor 65 shifts from the retracted state to the expanded state, but a similar graph can be obtained also when the movable floor 65 shifts from the expanded state to the retracted state. it can. However, generally, the load characteristic that acts on the movable floor 65 when the movable floor 65 shifts from the retracted state to the expanded state is the load characteristic that acts on the movable floor 65 when the movable floor 65 shifts from the expanded state to the retracted state. And different. Therefore, in this example, when the movable floor 65 shifts from the expanded state to the retracted state, a current threshold Is () different from the graph when the movable floor 65 shifts from the retracted state to the expanded state as shown in FIG. x) is set. Note that the graph when the movable floor 65 shifts from the expanded state to the stored state is omitted.

CPU31bは、入力回路31eを介して入力された指令信号に基づいて動作するように構成されている。この場合の指令信号とは、ドア61が完全に閉じたことを検出するドア61閉検出器から出力されたドア61閉信号や、ドア61が完全に開いたことを検出するドア61開検出器から出力されたドア61開信号や、不図示の中央制御装置から出力された動作信号である。   The CPU 31b is configured to operate based on a command signal input via the input circuit 31e. The command signal in this case is a door 61 closing signal output from the door 61 closing detector that detects that the door 61 is completely closed, or a door 61 opening detector that detects that the door 61 is completely opened. The door 61 open signal output from the control signal and the operation signal output from the central control device (not shown).

本例のCPU31bは、ROM31aに記憶されているプログラムを読み込んで動作し、指令信号に基づいてモータ11を駆動させるモータ駆動処理の他に、A/D変換回路31dを介して入力された電流信号データ(デジタル信号)に基づいてモータ駆動電流値を算出すると共に入力回路31eを介して入力された回転信号データ(デジタル信号)に基づいてモータ回転角度および回転方向を検出する駆動状況値算出処理と、モータ駆動電流の移動平均値を算出する移動平均化処理と、モータ11の回転角度(可動フロア65の移動位置)およびモータ11の回転方向(可動フロア65の移動方向)に基づいた所定の電流閾値を抽出する電流閾値抽出処理と、可動フロア65における挟み込みの有無を判定する挟み込み判定処理と、挟み込み判定処理における判定結果に基づいてモータ11を反転動作させる挟み込み防止処理と、電源電圧を監視してPWM信号のデューティ比を調節するモータ駆動電圧調節処理とを行う。RAM31cは、ROM31aにおいて演算処理されたデータを一時的に記憶しておくためのものである。なお、CPU31b、ROM31a、RAM31cを用いた具体的処理および動作については後述する。   The CPU 31b of this example reads and operates the program stored in the ROM 31a, and in addition to the motor driving process for driving the motor 11 based on the command signal, the current signal input via the A / D conversion circuit 31d A driving situation value calculation process for calculating a motor driving current value based on data (digital signal) and detecting a motor rotation angle and a rotation direction based on rotation signal data (digital signal) input via the input circuit 31e; , A moving average process for calculating a moving average value of the motor drive current, a predetermined current based on the rotation angle of the motor 11 (moving position of the movable floor 65) and the rotating direction of the motor 11 (moving direction of the movable floor 65). Current threshold value extraction processing for extracting a threshold value, pinching determination processing for determining whether or not the movable floor 65 is pinched, and pinching And anti-entrapment process reversing operation of the motor 11 based on the determination result in the determination process, and a motor drive voltage adjustment process that monitors the supply voltage to adjust the duty ratio of the PWM signal performing. The RAM 31c is for temporarily storing the data processed in the ROM 31a. Specific processing and operation using the CPU 31b, ROM 31a, and RAM 31c will be described later.

A/D変換回路31dは、バッテリ41から出力された電源電圧信号および電流検出器21から出力されたモータ駆動電流信号を入力して、これらアナログ信号をデジタル信号に変換し、このデジタル信号をCPU31bに出力するように構成されている。入力回路31eには、回転検出器22から出力された位相の異なるパルス状の2相回転信号と、外部から出力された指令信号とが入力される。回転検出器22から出力された2相の回転信号と、外部から出力された指令信号とは、入力回路31eにて所定の信号データに変換され、これらの信号はCPU31bへ出力される。出力回路31fは、CPU31bから出力されたモータ制御信号(PWMデューティ比に関する情報およびモータ回転方向に関する情報を含む)に基づいて所定のPWM信号及び回転方向指令信号を生成し、これを電源供給回路42に出力するように構成されている。   The A / D conversion circuit 31d receives the power supply voltage signal output from the battery 41 and the motor drive current signal output from the current detector 21, converts these analog signals into digital signals, and converts the digital signals to the CPU 31b. It is configured to output to. The input circuit 31e receives a pulse-like two-phase rotation signal output from the rotation detector 22 and a command signal output from the outside. The two-phase rotation signal output from the rotation detector 22 and the command signal output from the outside are converted into predetermined signal data by the input circuit 31e, and these signals are output to the CPU 31b. The output circuit 31f generates a predetermined PWM signal and a rotation direction command signal based on the motor control signal (including information related to the PWM duty ratio and information related to the motor rotation direction) output from the CPU 31b. It is configured to output to.

バッテリ41は、車両60のエンジンルーム等に搭載されたものであり、例えば、12Vの電源電圧を電源供給回路42等に供給することができるように構成されている。バッテリ41から出力された電源電圧は、後述するマイコン31のA/D変換回路31dに電源電圧信号として入力される。なお、マイコン31の電源端子には、不図示の降圧回路等により降圧された電圧(例えば、3.3V)が供給され、この降圧電圧によりマイコン31が起動する。電源供給回路42は、マイコン31より出力されたPWM信号および回転方向指示信号に基づいてバッテリ41から供給された電圧を所定の電圧に変換し、これをモータ11に供給するように構成されている。   The battery 41 is mounted in an engine room or the like of the vehicle 60, and is configured to supply, for example, a 12V power supply voltage to the power supply circuit 42 or the like. The power supply voltage output from the battery 41 is input as a power supply voltage signal to an A / D conversion circuit 31d of the microcomputer 31 described later. Note that a voltage (eg, 3.3 V) stepped down by a step-down circuit (not shown) is supplied to the power supply terminal of the microcomputer 31, and the microcomputer 31 is activated by this step-down voltage. The power supply circuit 42 is configured to convert the voltage supplied from the battery 41 into a predetermined voltage based on the PWM signal output from the microcomputer 31 and the rotation direction instruction signal, and supply this to the motor 11. .

次に、図5乃至図7を適宜参照しながら、上記構成からなる車両用可動体駆動装置Sの動作について説明する。
外部から指令信号が出力されると、この指令信号が入力回路31eにおいて指令信号データに変換される。入力回路31eから出力された指令信号データはCPU31bに入力される。CPU31bは、入力回路31eから出力された指令信号データを入力すると起動し、ROM31aに記憶されているプログラムを読み込む。これにより、図5に示すフローチャートに示す各処理を開始する。
Next, the operation of the vehicle movable body drive apparatus S configured as described above will be described with reference to FIGS. 5 to 7 as appropriate.
When a command signal is output from the outside, this command signal is converted into command signal data in the input circuit 31e. The command signal data output from the input circuit 31e is input to the CPU 31b. The CPU 31b starts when the command signal data output from the input circuit 31e is input, and reads a program stored in the ROM 31a. Thereby, each process shown in the flowchart shown in FIG. 5 is started.

CPU31bは、プログラム処理を開始すると、始めに、RAM31cに記憶されるプログラムの処理回数をカウントするカウンタのカウント値を"0"に初期設定する(ステップS1)。そして、CPU31bは、上記指令信号データに基づき、出力回路31fにモータ制御信号を出力する(ステップS2)。CPU31bから出力されたモータ制御信号には、PWMデューティ比に関する情報およびモータ回転方向に関する情報が含まれている。出力回路31fは、CPU31bから出力されたモータ制御信号に基づいて所定のPWM信号及び回転方向指令信号を生成し、これを電源供給回路42に出力する。   When starting the program processing, the CPU 31b first initializes the count value of the counter that counts the number of times of processing of the program stored in the RAM 31c to “0” (step S1). Then, the CPU 31b outputs a motor control signal to the output circuit 31f based on the command signal data (step S2). The motor control signal output from the CPU 31b includes information on the PWM duty ratio and information on the motor rotation direction. The output circuit 31 f generates a predetermined PWM signal and a rotation direction command signal based on the motor control signal output from the CPU 31 b, and outputs this to the power supply circuit 42.

電源供給回路42は、出力回路31fから出力されたPWM信号および回転方向指示信号に基づいてバッテリ41から供給された電圧を所定の電圧に変換し、これをモータ11に供給する。これにより、モータ11が所定の方向に回転し、可動フロア65が移動を開始する(例えば、格納状態から展開状態に移行する)。ここで、モータ11の起動時には、モータ11に起動電流が流れるため、タイマーを開始させ、一定時間経過した後に電流信号データを入力する(ステップS3〜S5)。そして、CPU31bは、上記ステップS5にて入力した電流信号データからモータ駆動電流値を算出し、これを現ルーチン処理R(0)におけるモータ駆動電流値Id(0)としてRAM31cに記憶させる(ステップS6)。   The power supply circuit 42 converts the voltage supplied from the battery 41 into a predetermined voltage based on the PWM signal and the rotation direction instruction signal output from the output circuit 31 f and supplies this to the motor 11. Thereby, the motor 11 rotates in a predetermined direction, and the movable floor 65 starts to move (for example, shifts from the retracted state to the expanded state). Here, when the motor 11 is started, since a starting current flows through the motor 11, a timer is started, and current signal data is input after a predetermined time has elapsed (steps S3 to S5). Then, the CPU 31b calculates a motor drive current value from the current signal data input in step S5, and stores this in the RAM 31c as the motor drive current value Id (0) in the current routine process R (0) (step S6). ).

続いて、CPU31bは、挟み込み判定に用いるモータ駆動電流値Id(x)の平均化処理を行う(ステップS7〜ステップS10)。ここで、図4に示すグラフから明らかなように、一般に、モータ11へのモータ駆動電流値Id(x)は、可動フロア65に対する負荷変動等が生じることや、電源供給回路42とモータ11とを接続する電源線にノイズ等が重畳することにより、モータ11の回転角度(可動フロア65の移動位置)に対応して大きく変化する。従って、モータ駆動電流値Id(x)に基づいて挟み込み判定を行う際に、単に移動平均値Ia(x)を算出したのでは、異常な値が移動平均値Ia(x)に誤差を生じさせることとなる。そこで、本例では、以下の要領で、挟み込み判定に用いるモータ駆動電流値Id(x)の平均化処理を行う。   Subsequently, the CPU 31b performs an averaging process of the motor drive current value Id (x) used for the pinch determination (Steps S7 to S10). Here, as is apparent from the graph shown in FIG. 4, generally, the motor drive current value Id (x) to the motor 11 is caused by a load variation on the movable floor 65, the power supply circuit 42, the motor 11, When noise or the like is superimposed on the power supply line connecting the two, the rotation angle of the motor 11 (the moving position of the movable floor 65) changes greatly. Accordingly, when the sandwiching determination is performed based on the motor drive current value Id (x), if the moving average value Ia (x) is simply calculated, an abnormal value causes an error in the moving average value Ia (x). It will be. Therefore, in this example, the motor drive current value Id (x) used for the pinching determination is averaged in the following manner.

図6は、本実施形態に係るCPU31bにおいてモータ駆動電流値Id(x)が平均化処理される様子を説明する図である。図6において、横軸はモータ11の回転角度を表しており、縦軸はモータ駆動電流値を示している。モータ駆動電流値Id(0)は、現ルーチン処理R(0)における電流信号データに基づいて算出された値、モータ駆動電流値Id(−1)は、現ルーチン処理R(0)よりも1回前に処理されたルーチン処理R(−1)における電流信号データに基づいて算出された値、モータ駆動電流値Id(−2)は、現ルーチン処理R(0)よりも2回前に処理されたルーチン処理R(−2)における電流信号データに基づいて算出された値、モータ駆動電流値Id(−3)は、現ルーチン処理R(0)よりも3回前に処理されたルーチン処理R(−3)における電流信号データに基づいて算出された値である。   FIG. 6 is a diagram for explaining how the motor drive current value Id (x) is averaged in the CPU 31b according to the present embodiment. In FIG. 6, the horizontal axis represents the rotation angle of the motor 11, and the vertical axis represents the motor drive current value. The motor drive current value Id (0) is a value calculated based on the current signal data in the current routine process R (0), and the motor drive current value Id (−1) is 1 more than the current routine process R (0). The value calculated based on the current signal data in the routine process R (-1) processed before the operation, the motor drive current value Id (-2), is processed twice before the current routine process R (0). The value calculated based on the current signal data in the routine processing R (−2) and the motor drive current value Id (−3) are processed three times before the current routine processing R (0). This is a value calculated based on the current signal data in R (-3).

始めに、CPU31bは、モータ駆動電流値Id(x)を平均化処理するために、現ルーチン処理R(0)よりも2回前に処理されたルーチン処理R(−2)における電流信号データをRAM31cより読み込む。そして、上記ステップS6においてRAM31cに記憶させたモータ駆動電流値Id(0)と、現ルーチン処理R(0)よりも2回前に処理されたルーチン処理R(−2)におけるモータ駆動電流値Id(−2)とが略同一であるか、すなわち、モータ駆動電流値Id(−2)がモータ駆動電流値Id(0)に対してある一定の誤差範囲に収まるか判断する(ステップS7)。ここで、現ルーチン処理R(0)が第一回目の処理又は第二回目の処理の場合には、現ルーチン処理R(0)より2回前のルーチン処理が存在しないので、これらの場合(ステップS7:NO)には、後述するステップS10の処理に移行する。   First, in order to average the motor drive current value Id (x), the CPU 31b obtains the current signal data in the routine process R (-2) processed twice before the current routine process R (0). Read from RAM 31c. Then, the motor drive current value Id (0) stored in the RAM 31c in step S6 and the motor drive current value Id in the routine process R (-2) processed twice before the current routine process R (0). It is determined whether (−2) is substantially the same, that is, whether the motor drive current value Id (−2) is within a certain error range with respect to the motor drive current value Id (0) (step S7). Here, when the current routine process R (0) is the first process or the second process, there is no routine process two times before the current routine process R (0). In step S7: NO), the process proceeds to step S10 described later.

一方、現ルーチン処理R(0)が第二回目以降の処理である場合には、現ルーチン処理R(0)よりも2回前に処理されたルーチン処理R(−2)における電流信号データがRAM31cに記憶されているので、この場合には、上述のように、モータ駆動電流値Id(−2)がモータ駆動電流値Id(0)に対してある一定の誤差範囲に収まるか判断する(ステップS7)。そして、モータ駆動電流値Id(0)とモータ駆動電流値Id(−2)とが略同一であると判断した場合、すなわち、モータ駆動電流値Id(−2)がモータ駆動電流値Id(0)に対してある一定の誤差範囲に収まると判断した場合(ステップS7:YES)には、現ルーチン処理R(0)よりも2回前に処理されたルーチン処理R(−2)から現ルーチン処理R(0)までのモータ駆動電流は比較的安定していたことになる。従って、この場合には、後述するステップS8の処理に移行する。   On the other hand, when the current routine process R (0) is the second and subsequent processes, the current signal data in the routine process R (-2) processed two times before the current routine process R (0) is Since it is stored in the RAM 31c, in this case, as described above, it is determined whether the motor drive current value Id (−2) falls within a certain error range with respect to the motor drive current value Id (0) ( Step S7). When it is determined that the motor drive current value Id (0) and the motor drive current value Id (−2) are substantially the same, that is, the motor drive current value Id (−2) is the motor drive current value Id (0). ) Is within a certain error range (step S7: YES), the current routine is executed from the routine process R (-2) processed twice before the current routine process R (0). The motor drive current up to the process R (0) is relatively stable. Therefore, in this case, the process proceeds to step S8 described later.

ところで、モータ駆動電流値Id(x)に基づいて挟み込み判定を行う際に、可動フロア65に対する負荷変動等が生じることや、電源供給回路42とモータ11とを接続する電源線にノイズ等が重畳することにより、正常状態におけるモータ駆動電流値よりも高いモータ駆動電流値が検出されることがある。そこで、本例では、ステップS8の処理において、現ルーチン処理R(0)よりも1回前に処理されたルーチン処理R(−1)におけるモータ駆動電流値Id(−1)をRAM31cより読み込み、上記ステップS6においてRAM31cに記憶させたモータ駆動電流値Id(0)から上記モータ駆動電流値Id(−1)を引いた値の絶対値が予め定められた所定の規定値以上であるか否か判断する(ステップS8)。すなわち、ノイズ等により、現ルーチン処理R(0)よりも1回前に処理されたルーチン処理R(−1)におけるモータ駆動電流値Id(−1)が異常な値となっていないか判断する。   By the way, when the pinching determination is performed based on the motor drive current value Id (x), a load variation or the like on the movable floor 65 occurs, or noise or the like is superimposed on the power supply line connecting the power supply circuit 42 and the motor 11. As a result, a motor drive current value higher than the motor drive current value in the normal state may be detected. Therefore, in this example, in the process of step S8, the motor drive current value Id (-1) in the routine process R (-1) processed once before the current routine process R (0) is read from the RAM 31c. Whether or not the absolute value of the value obtained by subtracting the motor drive current value Id (-1) from the motor drive current value Id (0) stored in the RAM 31c in step S6 is equal to or greater than a predetermined predetermined value. Judgment is made (step S8). That is, it is determined whether or not the motor drive current value Id (-1) in the routine process R (-1) processed once before the current routine process R (0) is an abnormal value due to noise or the like. .

そして、上記ステップS6においてRAM31cに記憶させたモータ駆動電流値Id(0)からモータ駆動電流値Id(−1)を引いた値の絶対値が予め定められた所定の規定値以上であると判断した場合(ステップS8:YES)には、ルーチン処理R(−1)におけるモータ駆動電流値Id(−1)が異常な値であるので、ステップS9の処理に移行し、後述するように、モータ駆動電流値Id(−1)の擬似的な値Id'(−1)を算出する。一方、モータ駆動電流値Id(0)からモータ駆動電流値Id(−1)を引いた値の絶対値が予め定められた所定の規定値より小さいと判断した場合(ステップS8:NO)には、後述するステップS10の処理に移行する。   In step S6, it is determined that the absolute value of the value obtained by subtracting the motor drive current value Id (-1) from the motor drive current value Id (0) stored in the RAM 31c is greater than or equal to a predetermined predetermined value. If this is the case (step S8: YES), since the motor drive current value Id (-1) in the routine process R (-1) is an abnormal value, the process proceeds to step S9 and, as will be described later, A pseudo value Id ′ (− 1) of the drive current value Id (−1) is calculated. On the other hand, when it is determined that the absolute value of the value obtained by subtracting the motor drive current value Id (-1) from the motor drive current value Id (0) is smaller than a predetermined predetermined value (step S8: NO). Then, the process proceeds to step S10 described later.

上述のように、ルーチン処理R(−1)におけるモータ駆動電流値Id(−1)が異常な値である場合に、この値を用いて挟み込み判定を行うと、挟み込み検出の精度が低下する。そこで、本例では、モータ駆動電流値Id(−1)が異常な値である場合には、モータ駆動電流値Id(−1)の擬似的な値Id'(−1)を算出することとする(ステップS9)。本例では、モータ駆動電流値Id(−1)の代わりとなる擬似的なモータ駆動電流値Id'(−1)を、次式2に基づいて算出する。すなわち、モータ駆動電流値Id'(−1)を、現ルーチン処理R(0)におけるモータ駆動電流値Id(0)とルーチン処理R(−2)におけるモータ駆動電流値Id(−2)との平均電流値とする。   As described above, when the motor drive current value Id (-1) in the routine process R (-1) is an abnormal value, if the pinch determination is performed using this value, the pinch detection accuracy decreases. Therefore, in this example, when the motor drive current value Id (−1) is an abnormal value, a pseudo value Id ′ (− 1) of the motor drive current value Id (−1) is calculated. (Step S9). In this example, a pseudo motor drive current value Id ′ (− 1) that is a substitute for the motor drive current value Id (−1) is calculated based on the following equation 2. That is, the motor drive current value Id ′ (− 1) is obtained by calculating the motor drive current value Id (0) in the current routine process R (0) and the motor drive current value Id (−2) in the routine process R (−2). Average current value.

Figure 0004167621
Figure 0004167621

そして、ステップS10において、モータ駆動電流値Id(x)の移動平均値Ia(x)を算出する(ステップS10)。本例では、一例として、現ルーチン処理R(0)におけるモータ駆動電流値Id(0)と、現ルーチン処理R(0)よりも1回前のルーチン処理R(−1)におけるモータ駆動電流値Id(−1)と、現ルーチン処理R(0)よりも2回前のルーチン処理R(−2)におけるモータ駆動電流値Id(−2)の平均値を移動平均値Ia(0)とする。   In step S10, a moving average value Ia (x) of the motor drive current value Id (x) is calculated (step S10). In this example, as an example, the motor drive current value Id (0) in the current routine process R (0) and the motor drive current value in the routine process R (-1) one time before the current routine process R (0) The average value of the motor drive current value Id (-2) in Id (-1) and the routine process R (-2) two times before the current routine process R (0) is defined as the moving average value Ia (0). .

ところで、現ルーチン処理R(0)が第一回目の処理の場合には、現ルーチン処理R(0)よりも1回前のルーチン処理が存在しないので、この場合には、現ルーチン処理R(0)におけるモータ駆動電流値Id(0)をそのまま移動平均値Id(0)として適用する。また、現ルーチン処理R(0)が第二回目の処理の場合には、現ルーチン処理R(0)よりも2回前のルーチン処理が存在しないので、この場合には、現ルーチン処理R(0)におけるモータ駆動電流値Id(0)と現ルーチン処理R(0)よりも1回前のルーチン処理R(−1)におけるモータ駆動電流値Id(−1)との平均値を移動平均値Ia(0)として適用する。   By the way, when the current routine process R (0) is the first process, there is no routine process one time before the current routine process R (0). In this case, the current routine process R (0) The motor drive current value Id (0) at 0) is applied as it is as the moving average value Id (0). Further, when the current routine process R (0) is the second process, there is no routine process twice before the current routine process R (0). In this case, the current routine process R (0) 0) and the average value of the motor drive current value Id (-1) in the routine process R (-1) one time before the current routine process R (0) is the moving average value. Apply as Ia (0).

一方、現ルーチン処理R(0)が第二回目以降の処理である場合には、現ルーチン処理R(0)よりも2回前に処理されたルーチン処理R(−2)における電流信号データがRAM31cに記憶されているので、この場合には、上述のように、現ルーチン処理R(0)におけるモータ駆動電流値Id(0)と、現ルーチン処理R(0)よりも1回前のルーチン処理R(−1)におけるモータ駆動電流値Id(−1)と、現ルーチン処理R(0)よりも2回前のルーチン処理R(−2)におけるモータ駆動電流値Id(−2)の平均値を移動平均値Ia(0)とする。   On the other hand, when the current routine process R (0) is the second and subsequent processes, the current signal data in the routine process R (-2) processed two times before the current routine process R (0) is Since it is stored in the RAM 31c, in this case, as described above, the motor drive current value Id (0) in the current routine process R (0) and the routine one time before the current routine process R (0) are stored. Average of motor drive current value Id (-1) in process R (-1) and motor drive current value Id (-2) in routine process R (-2) two times before current routine process R (0) The value is a moving average value Ia (0).

このとき、現ルーチン処理R(0)よりも1回前のルーチン処理R(−1)におけるモータ駆動電流値Id(−1)が正常な値である場合には、該モータ駆動電流値Id(−1)をそのまま移動平均値Ia(0)の算出に適用する。一方、現ルーチン処理R(0)よりも1回前のルーチン処理R(−1)におけるモータ駆動電流値Id(−1)が異常な値である場合には、上記式2より求まる擬似的なモータ駆動電流値Id'(−1)を移動平均値Ia(0)の算出に適用する。このように、現ルーチン処理R(0)よりも1回前のルーチン処理R(−1)におけるモータ駆動電流値Id(−1)が異常な値である場合には、擬似的なモータ駆動電流値Id'(−1)が移動平均値Ia(0)の算出に適用されるので、ノイズや外乱等によりモータ駆動電流値Id(x)が乱れた場合でも、挟み込み検出の精度が低下することを防止することが可能である。   At this time, when the motor drive current value Id (-1) in the routine process R (-1) one time before the current routine process R (0) is a normal value, the motor drive current value Id ( -1) is applied to the calculation of the moving average value Ia (0) as it is. On the other hand, when the motor drive current value Id (-1) in the routine process R (-1) one time before the current routine process R (0) is an abnormal value, a pseudo value obtained from the above equation 2 is obtained. The motor drive current value Id ′ (− 1) is applied to the calculation of the moving average value Ia (0). Thus, when the motor drive current value Id (-1) in the routine process R (-1) one time before the current routine process R (0) is an abnormal value, the pseudo motor drive current Since the value Id ′ (− 1) is applied to the calculation of the moving average value Ia (0), even when the motor driving current value Id (x) is disturbed due to noise, disturbance, or the like, the pinching detection accuracy is lowered. Can be prevented.

なお、上記実施形態では、現ルーチン処理R(0)よりも1回前のルーチン処理R(−1)におけるモータ駆動電流値Id(−1)が異常な値である場合には、上記式2より求まる擬似的なモータ駆動電流値Id'(−1)を移動平均値Ia(0)の算出に適用していたが、本発明はこれに限定されるものではない。その他にも、現ルーチン処理R(0)よりも1回前のルーチン処理R(−1)におけるモータ駆動電流値Id(−1)が異常な値である場合には、このモータ駆動電流値Id(−1)を除外し、モータ駆動電流値I(0)とモータ駆動電流値I(−2)とに基づいて移動平均値Ia(0)を算出しても良い。また、移動平均値Ia(0)は、モータ駆動電流値Id(0)、モータ駆動電流値Id(−1)、モータ駆動電流値Id(−2)に基づいて算出されるものに限らず、任意に選択した複数のモータ駆動電流値に基づいて算出することが可能であることは勿論である。   In the above embodiment, when the motor drive current value Id (−1) in the routine process R (−1) one time before the current routine process R (0) is an abnormal value, the above formula 2 Although the pseudo motor drive current value Id ′ (− 1) obtained more is applied to the calculation of the moving average value Ia (0), the present invention is not limited to this. In addition, when the motor drive current value Id (-1) in the routine process R (-1) one time before the current routine process R (0) is an abnormal value, this motor drive current value Id The moving average value Ia (0) may be calculated based on the motor drive current value I (0) and the motor drive current value I (-2), excluding (-1). The moving average value Ia (0) is not limited to the value calculated based on the motor drive current value Id (0), the motor drive current value Id (-1), and the motor drive current value Id (-2). Of course, it is possible to calculate based on a plurality of arbitrarily selected motor drive current values.

そして、CPU31bは、上記要領にて挟み込み判定に用いるモータ駆動電流値Id(x)の平均化処理を行った後、挟み込み判定の基準となる電流閾値Is(x)を抽出する電流閾値抽出処理を行う(ステップS11〜ステップS12)。回転検出器22は、モータ11の回転に伴って、モータ11の回転速度に応じたパルス状の回転信号を2相出力する。回転検出器22から出力された2相回転信号は、入力回路31eにて回転信号データに変換され、この回転信号データはCPU31bへ出力される(ステップS11)。CPU31bは、入力回路31eから出力された回転信号データに基づき、モータ11の回転角度および回転方向を検知し、モータ回転角度に対応する電流閾値Is(x)をROM31aより抽出する(ステップS12)。   Then, the CPU 31b performs the current threshold value extraction process for extracting the current threshold value Is (x) serving as a reference for the pinching determination after performing the averaging process of the motor driving current value Id (x) used for the pinching determination in the above manner. It performs (step S11-step S12). The rotation detector 22 outputs a two-phase pulsed rotation signal corresponding to the rotation speed of the motor 11 as the motor 11 rotates. The two-phase rotation signal output from the rotation detector 22 is converted into rotation signal data by the input circuit 31e, and this rotation signal data is output to the CPU 31b (step S11). The CPU 31b detects the rotation angle and rotation direction of the motor 11 based on the rotation signal data output from the input circuit 31e, and extracts the current threshold Is (x) corresponding to the motor rotation angle from the ROM 31a (step S12).

続いて、CPU31bは、ステップS7〜ステップS10において算出された移動平均値Ia(x)と、ステップS11〜ステップS12において抽出された電流閾値Is(x)とに基づいて可動フロア65における異物の挟み込み判定を行う(ステップS13)。すなわち、図7に示すように、ステップS7〜ステップS10において算出された移動平均値Ia(x)が、ステップS11〜ステップS12において抽出された電流閾値Is(x)以上であるか否か判断する。そして、移動平均値Ia(x)が電流閾値Is(x)よりも小さいと判断した場合(ステップS13:NO)には、後述するステップS15の処理に移行する。   Subsequently, the CPU 31b inserts foreign matter in the movable floor 65 based on the moving average value Ia (x) calculated in steps S7 to S10 and the current threshold value Is (x) extracted in steps S11 to S12. A determination is made (step S13). That is, as shown in FIG. 7, it is determined whether or not the moving average value Ia (x) calculated in steps S7 to S10 is equal to or greater than the current threshold value Is (x) extracted in steps S11 to S12. . When it is determined that the moving average value Ia (x) is smaller than the current threshold Is (x) (step S13: NO), the process proceeds to step S15 described later.

一方、移動平均値Ia(x)が電流閾値Is(x)以上であると判断した場合(ステップS13:YES)には、モータ11を所定距離だけ反転動作させる挟み込み防止処理を行う(ステップS14)。CPU31bは、移動平均値Ia(x)が電流閾値Is(x)以上であると判断した場合には、可動フロア65における異物の挟み込みを即座に解除すべく、モータ11を反転動作させるためのモータ制御信号を出力回路31fに出力する。出力回路31fは、CPU31bから出力されたモータ制御信号に基づいて所定のPWM信号及び回転方向指令信号を生成し、これを電源供給回路42に出力する。   On the other hand, when it is determined that the moving average value Ia (x) is equal to or greater than the current threshold value Is (x) (step S13: YES), a pinching prevention process for reversing the motor 11 by a predetermined distance is performed (step S14). . When the CPU 31b determines that the moving average value Ia (x) is equal to or greater than the current threshold value Is (x), the motor 31 reversely operates the motor 11 so as to immediately release the foreign object from the movable floor 65. The control signal is output to the output circuit 31f. The output circuit 31 f generates a predetermined PWM signal and a rotation direction command signal based on the motor control signal output from the CPU 31 b, and outputs this to the power supply circuit 42.

電源供給回路42は、出力回路31fから出力されたPWM信号および回転方向指示信号に基づいてバッテリ41から供給された電圧を所定の電圧に変換し、これをモータ11に供給する。これにより、モータ11が反転動作し、可動フロア65が反対方向へ移動する(例えば、格納状態から展開状態に移行していた場合には、格納方向へ移動する)。このように、可動フロア65を反対方向へ移動させることにより、可動フロア65における異物の挟み込みを防止することが可能となる。   The power supply circuit 42 converts the voltage supplied from the battery 41 into a predetermined voltage based on the PWM signal and the rotation direction instruction signal output from the output circuit 31 f and supplies this to the motor 11. As a result, the motor 11 performs a reverse operation, and the movable floor 65 moves in the opposite direction (for example, when it has shifted from the retracted state to the expanded state, it moves in the retracted direction). Thus, by moving the movable floor 65 in the opposite direction, it is possible to prevent foreign matter from being caught in the movable floor 65.

なお、上記実施形態では、移動平均値Ia(x)が電流閾値Is(x)以上であると判断した場合に、可動フロア65を所定距離だけ反転動作させていたが、本発明はこれに限定されるものではない。その他にも、可動フロア65を素早く停止させても良い。また、挟み込み時の急激なモータ駆動電流の増加に制限をかけ、挟み込み後の駆動力を軽減するようにしても良い。   In the above embodiment, when it is determined that the moving average value Ia (x) is equal to or greater than the current threshold value Is (x), the movable floor 65 is reversed by a predetermined distance. However, the present invention is not limited to this. Is not to be done. In addition, the movable floor 65 may be quickly stopped. Further, a sudden increase in motor drive current at the time of pinching may be limited to reduce the driving force after pinching.

続いて、上述のように、挟み込み判定処理における判定結果に基づいてモータ11を反転動作させる挟み込み防止処理を行った後、電源電圧を監視してPWM信号のデューティ比を調節するモータ駆動電圧調節処理を行う(ステップS15〜ステップS17)。一般に、モータ11のトルクと回転速度は、モータ11に供給されるモータ駆動電圧に比例する。従って、挟みこみ時における挟み込み荷重を低く設定する為に、電流閾値Is(x)を実際のモータ駆動電流値Id(x)に近づけて設定すると、電源電圧の変動により誤判定が生じる虞がある。そこで、本例では、電源電圧を監視し、モータ11に供給されるモータ駆動電圧が一定となるように、モータ駆動電流におけるPWMデューティ比を調節する。   Subsequently, as described above, after performing the pinching prevention process for reversing the motor 11 based on the determination result in the pinching determination process, the motor drive voltage adjustment process for monitoring the power supply voltage and adjusting the duty ratio of the PWM signal (Steps S15 to S17). In general, the torque and rotation speed of the motor 11 are proportional to the motor drive voltage supplied to the motor 11. Therefore, if the current threshold value Is (x) is set close to the actual motor drive current value Id (x) in order to set the pinching load at the time of pinching, there is a risk of erroneous determination due to fluctuations in the power supply voltage. . Therefore, in this example, the power supply voltage is monitored, and the PWM duty ratio in the motor drive current is adjusted so that the motor drive voltage supplied to the motor 11 is constant.

バッテリ41から出力された電源電圧は、マイコン31のA/D変換回路31dに電源電圧信号として入力され、A/D変換回路31dは、バッテリ41から出力された電源電圧信号を電源電圧信号データ(デジタル信号)に変換し、この電源電圧信号データをCPU31bに出力する。CPU31bは、A/D変換回路31dから出力された電源電圧信号データを入力し(ステップS15)、該電源電圧信号に基づいてバッテリ41の現在の出力電圧値を算出する。そして、電源電圧信号に基づいて算出したバッテリ41の出力電圧値に基づいて最適なPWMデューティ比を設定し(ステップS16)、このPWMデューティ比を有するモータ駆動電流をモータ11に出力させる(ステップS17)。   The power supply voltage output from the battery 41 is input as a power supply voltage signal to the A / D conversion circuit 31d of the microcomputer 31, and the A / D conversion circuit 31d converts the power supply voltage signal output from the battery 41 into power supply voltage signal data ( The power supply voltage signal data is output to the CPU 31b. The CPU 31b receives the power supply voltage signal data output from the A / D conversion circuit 31d (step S15), and calculates the current output voltage value of the battery 41 based on the power supply voltage signal. Then, an optimum PWM duty ratio is set based on the output voltage value of the battery 41 calculated based on the power supply voltage signal (step S16), and the motor drive current having this PWM duty ratio is output to the motor 11 (step S17). ).

例えば、電源電圧が12Vで、モータ11に供給するモータ駆動電圧を定格の8Vにする場合には、PWMデューティ比を67%に設定する。また、電源電圧が何らかの原因により低下してモータ駆動電圧を下回った場合には、デューティ比を100%に設定し、電源電圧をそのままモータ11に供給するようにする。このように、モータ11に供給するモータ駆動電圧を一定に保つようにすることにより、モータ11を安定して動作させることが可能となる。これにより、実際には可動フロア65において挟み込みが発生していないにもかかわらず、挟み込みが発生したものと誤検出されてしまうことを防止することが可能となる。   For example, when the power supply voltage is 12V and the motor drive voltage supplied to the motor 11 is 8V, the PWM duty ratio is set to 67%. In addition, when the power supply voltage decreases for some reason and falls below the motor drive voltage, the duty ratio is set to 100% and the power supply voltage is supplied to the motor 11 as it is. Thus, by keeping the motor driving voltage supplied to the motor 11 constant, the motor 11 can be stably operated. Accordingly, it is possible to prevent erroneous detection that pinching has occurred even though pinching has not actually occurred in the movable floor 65.

また、従来では、電源電圧の変動分を考慮した余裕のある閾値を設定する必要があったが、本例では、モータ11に供給されるモータ駆動電圧を一定に保ることができる。従って、モータ11を安定して動作させることが可能であるので、電流閾値Is(x)をモータ駆動電流値Id(x)により近づけて設定することが可能となる。これにより、可動フロア65における異物の挟み込み検出の感度をより高めることが可能となると共に、挟み込み時における挟み込み力も軽減することが可能となる。   Conventionally, it is necessary to set a threshold with a margin in consideration of the variation of the power supply voltage. However, in this example, the motor drive voltage supplied to the motor 11 can be kept constant. Accordingly, since the motor 11 can be operated stably, the current threshold Is (x) can be set closer to the motor drive current value Id (x). As a result, it is possible to further increase the sensitivity of foreign object pinching detection on the movable floor 65 and also reduce the pinching force at the time of pinching.

そして、CPU31bは、上述のようにしてモータ駆動電圧調節処理を行った後、ルーチン処理の回数をカウントするカウント値のカウントアップを行い、このカウント値をRAM31cに記憶させる(ステップS18)。続いて、ステップS3の処理に戻り、以後、ステップS3〜ステップS18の処理を繰り返し行う。なお、上記実施形態では、可動フロア65が格納状態から展開状態に移行する場合について説明したが、可動フロア65が展開状態から格納状態に移行する場合についても同様な動作処理を行うものである。従って、可動フロア65が展開状態から格納状態に移行する場合についての詳細な説明を省略する。   Then, after performing the motor drive voltage adjustment process as described above, the CPU 31b counts up the count value for counting the number of routine processes, and stores this count value in the RAM 31c (step S18). Then, it returns to the process of step S3, and repeats the process of step S3-step S18 after that. In the above-described embodiment, the case where the movable floor 65 shifts from the retracted state to the expanded state has been described, but the same operation process is performed when the movable floor 65 shifts from the expanded state to the retracted state. Therefore, the detailed description about the case where the movable floor 65 shifts from the expanded state to the stored state is omitted.

上記したように、本実施形態によれば、以下の効果を奏する。
(イ)本実施形態によれば、可動フロア65に作用する負荷等に合わせて予め基準閾値Ik(n)が設けられているので、例えば、可動フロア65の可動範囲において可動フロア65に作用する負荷等にばらつきが生じる場合でも、可動フロア65における異物の挟み込み検出を高精度に行うことが可能となる。
As described above, according to the present embodiment, the following effects are obtained.
(A) According to this embodiment, since the reference threshold value Ik (n) is provided in advance according to the load or the like acting on the movable floor 65, for example, it acts on the movable floor 65 in the movable range of the movable floor 65. Even when the load or the like varies, it is possible to detect the foreign object pinching on the movable floor 65 with high accuracy.

(ロ)本実施形態によれば、隣接する基準閾値Ik(n),Ik(n+1)間を直線又は近似曲線からなる補助基準線Lで連結し、この補助基準線L上に複数の補助閾値Ih(m),Ih(m+1),Ih(m+2)・・・を設定しているので、可動フロア65の可動範囲に対してより緻密な閾値を設定することが可能である。これにより、従来に比して、可動フロア65における異物の挟み込み検出をより高精度に行うことが可能となる。   (B) According to the present embodiment, the adjacent reference threshold values Ik (n) and Ik (n + 1) are connected by the auxiliary reference line L formed of a straight line or an approximate curve, and a plurality of auxiliary threshold values are provided on the auxiliary reference line L. Since Ih (m), Ih (m + 1), Ih (m + 2)... Are set, it is possible to set a finer threshold for the movable range of the movable floor 65. Thereby, it becomes possible to detect pinching of foreign matter on the movable floor 65 with higher accuracy than in the past.

(ハ)本実施形態によれば、実測定値もしくは理論値に基づいて基準閾値Ik(n)だけ設定しておけば、残る補助閾値Ih(m),Ih(m+1),Ih(m+2)・・・については、隣接する基準閾値Ik(n),Ik(n+1)間に設けられた補助基準線Lに基づいて設定することができる。従って、電流閾値Is(x)の設定作業を簡素化することが可能となる。   (C) According to this embodiment, if only the reference threshold value Ik (n) is set based on the actual measured value or the theoretical value, the remaining auxiliary threshold values Ih (m), Ih (m + 1), Ih (m + 2),. Can be set based on the auxiliary reference line L provided between the adjacent reference threshold values Ik (n) and Ik (n + 1). Therefore, it is possible to simplify the setting operation of the current threshold value Is (x).

(ニ)本実施形態によれば、モータ11に供給するモータ駆動電圧を一定に保つことができるので、モータ11を安定して動作させることが可能となる。これにより、実際には可動フロア65において挟み込みが発生していないにもかかわらず、挟み込みが発生したものと誤検出されてしまうことを防止することが可能となる。   (D) According to the present embodiment, the motor drive voltage supplied to the motor 11 can be kept constant, so that the motor 11 can be operated stably. Accordingly, it is possible to prevent erroneous detection that pinching has occurred even though pinching has not actually occurred in the movable floor 65.

(ホ)本実施形態によれば、モータ11に供給されるモータ駆動電圧を一定に保つことにより、モータ11を安定して動作させることが可能であるので、電流閾値Is(x)をモータ駆動電流値Id(x)により近づけて設定することが可能となる。従って、従来のように、電源電圧の変動分を考慮した余裕のある閾値を設定すること必要が無いので、可動フロア65における異物の挟み込み検出の感度をより高めることが可能となると共に、挟み込み時における挟み込み力も軽減することが可能となる。   (E) According to the present embodiment, since the motor 11 can be stably operated by keeping the motor driving voltage supplied to the motor 11 constant, the current threshold Is (x) is driven by the motor. It can be set closer to the current value Id (x). Therefore, unlike the conventional case, it is not necessary to set a threshold value with allowance for fluctuations in the power supply voltage, so that it is possible to further increase the sensitivity of foreign object pinching detection on the movable floor 65 and at the time of pinching It is also possible to reduce the pinching force at.

(ヘ)本実施形態によれば、モータ11を一方向へ駆動させる場合とモータ11を他方向へ駆動させる場合とで、電流閾値Is(x)を異ならせて設定しているので、モータ11を一方向へ駆動させる場合とモータ11を他方向へ駆動させる場合とでモータ11に作用する負荷等が異なる場合でも、モータ11の回転方向に応じた適切な挟み込み検出を行うことが可能となる。   (F) According to the present embodiment, the current threshold Is (x) is set differently when the motor 11 is driven in one direction and when the motor 11 is driven in the other direction. Even when the motor 11 is driven in one direction and the motor 11 is driven in the other direction, even when the load acting on the motor 11 is different, appropriate pinching detection according to the rotation direction of the motor 11 can be performed. .

(ト)本実施形態によれば、現ルーチン処理R(0)よりも1回前のルーチン処理R(−1)におけるモータ駆動電流値Id(−1)が異常な値である場合には、擬似的なモータ駆動電流値Id'(−1)が移動平均値Ia(0)の算出に適用されるので、ノイズや外乱等によりモータ駆動電流値Id(x)が乱れた場合でも、挟み込み検出の精度が低下することを防止することが可能である。   (G) According to the present embodiment, when the motor drive current value Id (-1) in the routine process R (-1) one time before the current routine process R (0) is an abnormal value, Since the pseudo motor drive current value Id ′ (− 1) is applied to the calculation of the moving average value Ia (0), even when the motor drive current value Id (x) is disturbed due to noise, disturbance, or the like, pinching detection is performed. It is possible to prevent a decrease in accuracy.

なお、本発明の実施の形態は、以下のように改変することができる。
(a)上記実施形態では、電流検出器21より出力されたモータ駆動電流信号に基づいて異物の挟み込み判定を行っていたが、本発明はこれに限定されるものではない。その他にも、回転検出器22より出力された回転速度信号に基づいてモータ11の回転速度を算出すると共に、回転速度が閾速度を超えた場合に、可動フロア65において異物の挟み込みが発生したものと判定しても良い。また、上記要領にて回転速度の移動平均値を求めても良い。さらに、回転速度に基づいて挟み込み検出する際に、モータ11の回転速度の変化量(例えば、差分値)が閾値を超えたときに挟み込みが発生したものと判定するいわゆる微分判定を適用しても良い。
The embodiment of the present invention can be modified as follows.
(A) In the above embodiment, the foreign object pinching determination is performed based on the motor drive current signal output from the current detector 21, but the present invention is not limited to this. In addition, the rotational speed of the motor 11 is calculated based on the rotational speed signal output from the rotation detector 22, and when the rotational speed exceeds the threshold speed, foreign matter is caught in the movable floor 65. May be determined. Moreover, you may obtain | require the moving average value of rotational speed in the said way. Further, when pinching is detected based on the rotation speed, so-called differential determination may be applied in which it is determined that pinching has occurred when the amount of change (for example, the difference value) in the rotation speed of the motor 11 exceeds a threshold value. good.

(b)上記実施形態では、モータ駆動電流を検出した後にモータ回転速度を検出し、このモータ回転速度に対応する電流閾値を抽出するようにしていたが、本発明はこれに限定されるものではない。その他にも、モータ回転速度を検出した後に、モータ駆動電流を検出し、当該モータ駆動電流を検出した時点におけるモータ回転速度に対応する電流閾値を抽出するようにしても良い。   (B) In the above embodiment, the motor rotation speed is detected after detecting the motor drive current, and the current threshold value corresponding to the motor rotation speed is extracted. However, the present invention is not limited to this. Absent. In addition, after detecting the motor rotation speed, the motor drive current may be detected, and a current threshold value corresponding to the motor rotation speed at the time when the motor drive current is detected may be extracted.

(c)上記実施形態では、移動平均値Iaを算出し、この移動平均値Iaが基準閾値Ik又は補助閾値Ihを超えた場合に、挟み込みが発生したものと判定していたが、本発明はこれに限定されるものではない。その他にも、電流検出器21によって検出されたモータ駆動電流値Id(x)が基準閾値Ik又は補助閾値Ihを超えた場合に、挟み込みが発生したものと判定しても良い。   (C) In the above embodiment, the moving average value Ia is calculated, and when the moving average value Ia exceeds the reference threshold value Ik or the auxiliary threshold value Ih, it is determined that pinching has occurred. It is not limited to this. In addition, when the motor drive current value Id (x) detected by the current detector 21 exceeds the reference threshold value Ik or the auxiliary threshold value Ih, it may be determined that pinching has occurred.

上記各実施形態から把握できる請求項以外の技術的思想を以下に記載する。
(1)前記モータに流れるモータ駆動電流又は前記モータの回転速度の少なくとも一方が前記基準閾値又は補助閾値を超えた場合に、前記可動体において異物の挟み込みが発生したものと判定することを特徴とする請求項3に記載の挟み込み検出方法。
The technical ideas other than the claims that can be grasped from the above embodiments will be described below.
(1) When at least one of a motor driving current flowing through the motor or a rotation speed of the motor exceeds the reference threshold value or the auxiliary threshold value, it is determined that a foreign object is caught in the movable body. The pinch detection method according to claim 3.

(2)前記制御手段は、前記電流検出器によって検出された前記モータのモータ駆動電流又は前記回転検出器によって検出された前記モータの回転速度の少なくとも一方が前記基準閾値又は補助閾値を超えた場合に、前記可動体において異物の挟み込みが発生したものと判定することを特徴とする請求項11に記載の車両用可動体駆動装置。   (2) In the case where at least one of the motor driving current of the motor detected by the current detector or the rotational speed of the motor detected by the rotation detector exceeds the reference threshold value or the auxiliary threshold value, the control means The vehicle movable body drive device according to claim 11, wherein it is determined that foreign matter is caught in the movable body.

(3)前記可動体において異物の挟み込みが発生したものと判定した場合に、前記モータを停止又は反転動作させることを特徴とする請求項4に記載の挟み込み検出方法。   (3) The pinching detection method according to claim 4, wherein when it is determined that a foreign object has been pinched in the movable body, the motor is stopped or reversed.

(4)前記制御手段は、前記可動体において異物の挟み込みが発生したものと判定した場合に、前記モータを停止又は反転動作させることを特徴とする請求項12に記載の車両用可動体駆動装置。   (4) The vehicle movable body drive device according to claim 12, wherein the control means stops or reverses the motor when it is determined that foreign matter is caught in the movable body. .

本実施形態に係る車両用可動体駆動装置の構成を示すブロック図である。It is a block diagram which shows the structure of the movable body drive device for vehicles concerning this embodiment. 本実施形態に係る車両において可動フロアが展開された状態を示す説明図である。It is explanatory drawing which shows the state by which the movable floor was expand | deployed in the vehicle which concerns on this embodiment. 図2に示す可動フロアが格納された状態を示す説明図である。It is explanatory drawing which shows the state in which the movable floor shown in FIG. 2 was stored. 本実施形態に係るROMに記憶された電流閾値とモータ回転角度との関係を示すグラフである。It is a graph which shows the relationship between the electric current threshold memorize | stored in ROM which concerns on this embodiment, and a motor rotation angle. 本実施形態に係るCPUの動作を示すフローチャートである。It is a flowchart which shows operation | movement of CPU concerning this embodiment. 本実施形態に係るCPUにおいてモータ駆動電流が平均化処理される様子を示す説明図である。It is explanatory drawing which shows a mode that a motor drive current is averaged in CPU which concerns on this embodiment. 本実施形態に係るモータ駆動電流と電流閾値との関係を示す説明図である。It is explanatory drawing which shows the relationship between the motor drive current which concerns on this embodiment, and a current threshold value.

符号の説明Explanation of symbols

11 モータ、21 電流検出器、22 回転検出器、31 マイクロコンピュータ(マイコン)、31a ROM、31b CPU、31c RAM、31e 入力回路、31f 出力回路、31d A/D変換回路、41 バッテリ、42 電源供給回路、60 車両、61 ドア、62 乗降口、63 車両フロア、64 ステップ、65 可動フロア、Ia 移動平均値、Id モータ駆動電流値、Ih 補助閾値、Ik 基準閾値、Is 電流閾値、L 補助基準線、S 車両用可動体駆動装置 11 motor, 21 current detector, 22 rotation detector, 31 microcomputer (microcomputer), 31a ROM, 31b CPU, 31c RAM, 31e input circuit, 31f output circuit, 31d A / D conversion circuit, 41 battery, 42 power supply Circuit, 60 vehicle, 61 door, 62 boarding gate, 63 vehicle floor, 64 steps, 65 movable floor, Ia moving average value, Id motor drive current value, Ih auxiliary threshold value, Ik reference threshold value, Is current threshold value, L auxiliary reference line , S Vehicle movable body drive device

Claims (8)

車両に対して可動する可動体の駆動状況を検出し、当該駆動状況に基づいて前記可動体における異物の挟み込みを検出する挟み込み検出方法において、
前記可動体の可動範囲内における複数の可動位置のそれぞれに対して基準閾値を設定すると共に、隣接する基準閾値間を直線又は近似曲線で結んだ補助基準線上に補助閾値を設定する閾値設定ステップと、
電源供給基の供給電源が変動した場合でも、前記可動体を駆動するモータに供給する駆動電源を一定に調節する電源調節ステップと、
前記モータのモータ駆動電流又は前記モータの回転速度の少なくとも一方を順次取得すると共に、当該取得した複数のモータ駆動電流又は回転速度を平均化して移動平均値を算出し、当該移動平均値が前記基準閾値又は前記補助閾値を超えた場合に、前記可動体において異物の挟み込みが発生したものと判定する判定ステップと、を備え、
前記判定ステップにおいて、順次取得した複数のモータ駆動電流又は回転速度の中から基準となる基準駆動状況値を設定し、順次取得した複数のモータ駆動電流又は回転速度の中に前記基準駆動状況値よりも所定値以上差を有する異常駆動状況値が存在する場合には、当該異常駆動状況値の代わりに該異常駆動状況値の前後に取得したモータ駆動電流又は回転速度の平均値を算出し、順次取得した複数のモータ駆動電流又は回転速度のうち前記異常駆動状況値を除いた残りのモータ駆動電流又は回転速度と前記平均値とを用いて前記移動平均値を算出することを特徴とする挟み込み検出方法。
In a pinching detection method for detecting a driving state of a movable body movable with respect to a vehicle and detecting pinching of a foreign object in the movable body based on the driving state,
A threshold setting step for setting a reference threshold value for each of a plurality of movable positions within the movable range of the movable body, and setting an auxiliary threshold value on an auxiliary reference line connecting adjacent reference threshold values with straight lines or approximate curves; ,
Even when the power supply of the power supply base fluctuates, a power adjustment step for adjusting the drive power supplied to the motor that drives the movable body to a constant level; and
At least one of the motor driving current of the motor or the rotational speed of the motor is sequentially acquired, the moving average value is calculated by averaging the acquired plurality of motor driving currents or rotational speeds, and the moving average value is the reference A determination step that determines that a foreign object has been caught in the movable body when a threshold value or the auxiliary threshold value is exceeded , and
In the determination step, a reference driving situation value serving as a reference is set from a plurality of sequentially obtained motor driving currents or rotational speeds, and the plurality of sequentially obtained motor driving currents or rotational speeds are determined from the reference driving situation values. If there is an abnormal driving situation value having a difference of a predetermined value or more, instead of the abnormal driving situation value, the average value of the motor driving current or rotational speed obtained before and after the abnormal driving situation value is calculated, and sequentially Pinching detection characterized in that the moving average value is calculated using the remaining motor drive current or rotation speed and the average value obtained by removing the abnormal drive status value from the plurality of acquired motor drive currents or rotation speeds. Method.
前記モータを一方向へ駆動する場合と前記モータを他方向へ駆動する場合とで異なる基準閾値及び補助閾値を設定することを特徴とする請求項1に記載の挟み込み検出方法。 2. The pinching detection method according to claim 1 , wherein different reference threshold values and auxiliary threshold values are set for driving the motor in one direction and for driving the motor in the other direction. 前記電源供給基の供給電源が変動することによって該供給電源が前記モータにおける定格を超えた場合には、前記モータに供給する駆動電源を前記モータの定格となるように調節することを特徴とする請求項1に記載の挟み込み検出方法。 When the power supply of the power supply base fluctuates and the power supply exceeds the rating of the motor, the drive power supplied to the motor is adjusted to be the rating of the motor. The pinching detection method according to claim 1 . 前記電源供給基の供給電源が変動することによって該供給電源が前記モータにおける定格を下回った場合には、前記モータに供給する駆動電源を前記電源供給基の供給電源の変動範囲における最高値となるように調節することを特徴とする請求項1又は3に記載の挟み込み検出方法。 When the power supply of the power supply base fluctuates and the power supply falls below the rating of the motor, the drive power supplied to the motor becomes the highest value in the fluctuation range of the power supply of the power supply base. The pinch detection method according to claim 1, wherein the pinch detection method is adjusted as follows. 車両に対して可動する可動体を駆動する駆動手段と、
該駆動手段の駆動状況を検出する駆動状況検出手段と、
前記駆動手段を制御する制御手段と、
前記駆動手段に電源を供給する電源供給手段と、を備え、前記駆動状況検出手段により検出された駆動状況に基づいて前記可動体における異物の挟み込みを検出する車両用可動体駆動装置において、
前記駆動手段は、モータを有して構成され、
前記駆動状況検出手段は、前記モータに流れるモータ駆動電流を検出する電流検出器又は前記モータの回転速度を検出する回転検出器により構成され、
前記制御手段は、前記可動体の可動範囲内における複数の可動位置のそれぞれに対して基準閾値を設定すると共に、隣接する基準閾値間を直線又は近似曲線で結んだ補助基準線上に補助閾値を設定し、前記電源供給手段から供給される供給電源が変動した場合でも、前記駆動手段に供給される駆動電源を一定に調節し、前記電流検出器によって検出された前記モータのモータ駆動電流又は前記回転検出器によって検出された前記モータの回転速度の少なくとも一方を順次取得すると共に、当該取得した複数のモータ駆動電流又は回転速度を平均化して移動平均値を算出し、順次取得した複数のモータ駆動電流又は回転速度の中から基準となる基準駆動状況値を設定し、順次取得した複数のモータ駆動電流又は回転速度の中に前記基準駆動状況値よりも所定値以上差を有する異常駆動状況値が存在する場合には、当該異常駆動状況値の代わりに該異常駆動状況値の前後に取得したモータ駆動電流又は回転速度の平均値を算出し、順次取得した複数のモータ駆動電流又は回転速度のうち前記異常駆動状況値を除いた残りのモータ駆動電流又は回転速度と前記平均値とを用いて前記移動平均値を算出し、当該移動平均値が前記基準閾値又は前記補助閾値を超えた場合に、前記可動体において異物の挟み込みが発生したものと判定することを特徴とする車両用可動体駆動装置。
Drive means for driving a movable body movable relative to the vehicle;
Driving status detecting means for detecting the driving status of the driving means;
Control means for controlling the drive means;
A power supply means for supplying power to the drive means, and the vehicle movable body drive device for detecting a foreign object in the movable body based on the drive status detected by the drive status detection means,
The drive means is configured to have a motor,
The drive status detection means is configured by a current detector that detects a motor drive current flowing in the motor or a rotation detector that detects a rotation speed of the motor,
The control means sets a reference threshold value for each of a plurality of movable positions within the movable range of the movable body, and sets an auxiliary threshold value on an auxiliary reference line connecting adjacent reference threshold values with a straight line or an approximate curve. Even when the supply power supplied from the power supply means fluctuates, the drive power supplied to the drive means is adjusted to be constant, and the motor drive current or the rotation of the motor detected by the current detector is detected. At least one of the rotation speeds of the motor detected by the detector is sequentially acquired, and the plurality of acquired motor drive currents or rotation speeds are averaged to calculate a moving average value. Alternatively, a reference drive status value serving as a reference is set from among the rotation speeds, and the reference drive status is included in a plurality of motor drive currents or rotation speeds acquired sequentially. If there is an abnormal driving situation value having a difference of a predetermined value or more than the average value, the average value of the motor driving current or rotational speed obtained before and after the abnormal driving situation value is calculated instead of the abnormal driving situation value. The moving average value is calculated using the remaining motor driving current or rotational speed and the average value, excluding the abnormal driving status value among a plurality of motor driving currents or rotational speeds obtained sequentially, and the moving average value is When the reference threshold value or the auxiliary threshold value is exceeded, it is determined that a foreign object is caught in the movable body.
前記制御手段は、前記駆動手段を一方向へ駆動させる場合と前記駆動手段を他方向へ駆動させる場合とで異なる基準閾値及び補助閾値を設定することを特徴とする請求項5に記載の車両用可動体駆動装置。 6. The vehicle according to claim 5 , wherein the control means sets different reference threshold values and auxiliary threshold values when driving the driving means in one direction and driving the driving means in the other direction. Movable body drive device. 前記制御手段は、前記電源供給手段における供給電源が変動することによって該供給電源が前記駆動手段における定格を超えた場合には、前記駆動手段に供給される駆動電源を前記駆動手段の定格となるように調節することを特徴とする請求項5に記載の車両用可動体駆動装置。 When the supply power in the power supply means fluctuates and the supply power exceeds the rating in the drive means, the control means sets the drive power supplied to the drive means to the rating of the drive means. The vehicle movable body drive device according to claim 5 , wherein the vehicle movable body drive device is adjusted as described above. 前記制御手段は、前記電源供給手段における供給電源が変動することによって該供給電源が前記駆動手段における定格を下回った場合には、前記駆動手段に供給される駆動電源を前記電源供給手段の供給電源の変動範囲における最高値となるように調節することを特徴とする請求項5又は7に記載の車両用可動体駆動装置。 When the supply power in the power supply means fluctuates and the supply power falls below the rating in the drive means, the control means supplies the drive power supplied to the drive means to the supply power of the power supply means. The vehicle movable body drive device according to claim 5 , wherein the vehicle movable body drive device is adjusted so as to be a maximum value in a fluctuation range of the vehicle.
JP2004149552A 2004-05-19 2004-05-19 Pinching detection method and vehicle movable body drive device Expired - Fee Related JP4167621B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004149552A JP4167621B2 (en) 2004-05-19 2004-05-19 Pinching detection method and vehicle movable body drive device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004149552A JP4167621B2 (en) 2004-05-19 2004-05-19 Pinching detection method and vehicle movable body drive device

Publications (2)

Publication Number Publication Date
JP2005330703A JP2005330703A (en) 2005-12-02
JP4167621B2 true JP4167621B2 (en) 2008-10-15

Family

ID=35485557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004149552A Expired - Fee Related JP4167621B2 (en) 2004-05-19 2004-05-19 Pinching detection method and vehicle movable body drive device

Country Status (1)

Country Link
JP (1) JP4167621B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5030432B2 (en) * 2006-02-09 2012-09-19 三菱重工業株式会社 Platform fence, failure detection device for platform fence, failure detection method for platform fence
JP4850042B2 (en) 2006-11-29 2012-01-11 株式会社今仙電機製作所 Motor drive device
EP2450515A4 (en) * 2009-07-01 2014-01-29 Nabtesco Corp Door control device for vehicles
JP2011132727A (en) * 2009-12-24 2011-07-07 Aisin Seiki Co Ltd Catching-in detector of opening/closing body
KR102597741B1 (en) * 2021-12-21 2023-11-06 에스엠테크 주식회사 Sidestep control system for vehicle

Also Published As

Publication number Publication date
JP2005330703A (en) 2005-12-02

Similar Documents

Publication Publication Date Title
US7812554B2 (en) Control device for opening/closing member
US7309971B2 (en) Opening and closing body control device
US7573216B2 (en) Window opening and closing controller
US9121214B2 (en) Opening and closing member control apparatus and method for controlling opening and closing member
US9617777B2 (en) Vehicle window opening device
US7619381B2 (en) Open/close member control apparatus
JP2005351042A (en) Opening and closing body control device
US8704476B2 (en) Method and device for detecting an entrapment situation
US9015993B2 (en) Control device for operating an electric window lifter
US8720986B2 (en) Opening-and-closing member control apparatus
JP4167621B2 (en) Pinching detection method and vehicle movable body drive device
US20070000624A1 (en) Roller blind with electronic pinch protection
JP5378721B2 (en) Opening / closing member control device
JPH11131909A (en) Insertion detection method for power window device
JP6697953B2 (en) Opening/closing body control system and opening/closing body control method
JP2009068220A (en) Pinching detecting method and pinching detector for opening/closing body for vehicle
JP7192587B2 (en) Vehicle opening/closing body control device
JP4781222B2 (en) Opening and closing body control device
KR101735167B1 (en) Methods for detecting of pinch in anti pinch system of sunroof for vehicle and appratuses using the same
JP4220399B2 (en) Automatic switchgear for vehicles
JP2830543B2 (en) Switchgear for vehicles
JP5044419B2 (en) Opening and closing body control device for vehicle
JP6512276B2 (en) Opening and closing body control device and control method therefor
JP6352860B2 (en) Opening / closing member control device
JP5314304B2 (en) Opening / closing member control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060518

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080305

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080422

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080606

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080729

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080801

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110808

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110808

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120808

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120808

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130808

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140808

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees