JP2009078588A - Wiper device control method and wiper control device - Google Patents
Wiper device control method and wiper control device Download PDFInfo
- Publication number
- JP2009078588A JP2009078588A JP2007247292A JP2007247292A JP2009078588A JP 2009078588 A JP2009078588 A JP 2009078588A JP 2007247292 A JP2007247292 A JP 2007247292A JP 2007247292 A JP2007247292 A JP 2007247292A JP 2009078588 A JP2009078588 A JP 2009078588A
- Authority
- JP
- Japan
- Prior art keywords
- data
- control
- wiper
- motor
- wiper blade
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims description 44
- 238000004891 communication Methods 0.000 claims abstract description 42
- 239000000872 buffer Substances 0.000 claims description 95
- 230000005540 biological transmission Effects 0.000 claims description 59
- 230000008569 process Effects 0.000 description 21
- 238000012545 processing Methods 0.000 description 10
- 230000000903 blocking effect Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000033001 locomotion Effects 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 230000009467 reduction Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Abstract
Description
本発明は、車両用ワイパ装置の駆動源として使用されるモータのデータ通信技術に関し、特に、対向払拭型のワイパ装置のように、2個のワイパアームを別個のモータにて駆動するワイパ装置に適用して有効な技術に関する。 The present invention relates to a data communication technique of a motor used as a drive source of a vehicle wiper device, and more particularly, to a wiper device that drives two wiper arms with separate motors, such as a counter-wiping type wiper device. And effective technology.
近年、自動車等の車両用ワイパシステム、特に対向払拭型(オポジットタイプ)のワイパシステムでは、特許文献1のように、運転席側と助手席側の各ワイパアームを個別にモータ駆動する方式が採用されている。このようなワイパシステムでは、左右のワイパブレード(以下、適宜ブレードと略記する)が払拭面上で干渉しないように、各ワイパアームの位置や速度を見ながら、左右2つのコントローラによってモータを個別に制御している。この場合、各アームの速度は、モータユニットに配されたMRセンサ等の角度センサにより、モータ回転角度を検出し、この角度データに基づいて算出される。左右のコントローラは、互いに通信を行いながら速度データや位置データを交換して各モータを同期制御し、両ブレード間が予め設定された目標角度差となるように左右のモータを制御する。
In recent years, a wiper system for a vehicle such as an automobile, especially a wiper system of an opposite wiping type (opposite type), has adopted a method in which each wiper arm on the driver's seat side and on the passenger seat side is individually motor-driven as in
図7は、このようなワイパシステムにおける通信データの構成を示す説明図である。図7に示すように、2つのコントローラによってモータを同期制御するワイパシステムでは、運転者側(以下、DR側と略記する)と助手席側(以下、AS側と略記する)のコントローラの間で、アーム位置を示す角度データやモータの制御状態などが、相互に5バイト(各8ビット)の信号にてやり取りされている。この場合、DR側からAS側への信号では、1バイト目と2バイト目にはDR側アームの角度データ、3バイト目にはモータシーケンス(回転方向やコントローラ出力等の制御形態)が格納されている。また、4バイト目にはDR側モータの速度とワイパスイッチ状態(ON,OFF;HI,Lo,INT)が格納されており、5バイト目はそれまでのデータのチェックサムとなっている。 FIG. 7 is an explanatory diagram showing a configuration of communication data in such a wiper system. As shown in FIG. 7, in a wiper system in which a motor is synchronously controlled by two controllers, between a driver side (hereinafter abbreviated as DR side) and a passenger seat side (hereinafter abbreviated as AS side) controller. The angle data indicating the arm position, the control state of the motor, and the like are exchanged by signals of 5 bytes (8 bits each). In this case, in the signal from the DR side to the AS side, the angle data of the DR side arm is stored in the first byte and the second byte, and the motor sequence (control mode such as the rotation direction and controller output) is stored in the third byte. ing. The fourth byte stores the speed of the DR motor and the wiper switch state (ON, OFF; HI, Lo, INT), and the fifth byte is a checksum of the data up to that point.
また、AS側へDR側からの信号では、1バイト目と2バイト目にはAS側アームの角度データ、3バイト目にはモータシーケンス、4バイト目にはAS側モータの速度が格納されており、5バイト目はチェックサムとなっている。
しかしながら、このようなワイパシステムでは、互いの角度データや速度データなどを通信して左右の同期をとると、前述のように、例えば往復10バイトのデータ通信が必要となり、モータ間にてやり取りされるデータ数が多くなる。通信データが多くなると、その分、コントローラの制御負荷が増大し、制御データの送受信に遅れが生じるおそれがあり、モータのロック判定に遅れが出るという問題があった。また、このような遅れをカバーすべく通信速度(bps)を上げると耐ノイズ性能が低下し、制御サイクルを長くすると制御精度が低下するという問題が生じる。さらに、このような問題を解決するため、より処理能力の高いマイコンを投入すると、システムコストが増大してしまうという問題が生じる。 However, in such a wiper system, when the left and right are synchronized by communicating each other's angle data, speed data, etc., as described above, for example, 10-round data communication is required and exchanged between the motors. The number of data to be increased. When the amount of communication data increases, the control load of the controller increases accordingly, and there is a risk that transmission / reception of control data may be delayed, and there is a problem that a delay occurs in motor lock determination. Further, when the communication speed (bps) is increased to cover such a delay, the noise resistance performance is lowered, and when the control cycle is lengthened, the control accuracy is lowered. Furthermore, in order to solve such a problem, if a microcomputer having a higher processing capacity is introduced, there arises a problem that the system cost increases.
本発明の目的は、モータの制御ユニット間で送受信される通信データのスリム化を図ることにより、通信負荷を軽減し、制御精度の向上やシステムコストの低減を図ることを目的とする。 An object of the present invention is to reduce communication load, improve control accuracy, and reduce system cost by reducing communication data transmitted and received between control units of a motor.
本発明のワイパ装置制御方法は、第1制御回路によって駆動制御される第1モータと、前記第1モータによって駆動される第1ワイパブレードと、前記第1制御回路と通信線を介して接続された第2制御回路によって駆動制御される第2モータと、前記第2モータによって駆動される第2ワイパブレードとを有し、前記第1制御回路と前記第2制御回路との間にて前記通信線を介して制御情報を送受信しつつ前記第1及び第2モータの駆動制御を行うワイパ装置制御方法であって、前記制御情報は、前記第1又は第2ワイパブレードの位置情報と、前記第1又は第2ワイパブレードの動作モードを1バイト以内に格納した制御データを有することを特徴とする。 The wiper device control method of the present invention is connected to a first motor driven and controlled by a first control circuit, a first wiper blade driven by the first motor, and the first control circuit via a communication line. A second motor driven and controlled by the second control circuit, and a second wiper blade driven by the second motor, and the communication between the first control circuit and the second control circuit. A wiper device control method for performing drive control of the first and second motors while transmitting / receiving control information via a line, wherein the control information includes position information of the first or second wiper blade, and the first wiper blade It has control data storing the operation mode of the first or second wiper blade within 1 byte.
本発明にあっては、ワイパブレードの位置情報と動作モードを1バイト以内に格納することにより、制御回路間の通信データ量が削減され、通信負荷が軽くなる。このため、従来よりも速い制御サイクルに対応することができ、より細かなワイパ駆動制御が可能となるなど、制御精度の向上が図られる。また、低いA/D分解能の汎用マイコンを採用することが可能となり、システムコストの低減も図られる。 In the present invention, by storing the wiper blade position information and operation mode within 1 byte, the amount of communication data between the control circuits is reduced and the communication load is reduced. For this reason, it is possible to cope with a control cycle that is faster than the conventional one, and it is possible to improve the control accuracy such as finer wiper drive control. In addition, a general-purpose microcomputer with low A / D resolution can be adopted, and the system cost can be reduced.
前記ワイパ装置制御方法において、前記制御情報が、前記第1又は第2ワイパブレードの位置情報からなる第1データと、前記第1又は第2ワイパブレードの位置情報と前記第1又は第2ワイパブレードの動作モードを含む第2データとを有する構成としても良い。また、前記制御情報が、前記第1又は第2モータの制御シーケンスを含む第3データをさらに有しても良い。 In the wiper apparatus control method, the control information includes first data including position information of the first or second wiper blade, position information of the first or second wiper blade, and the first or second wiper blade. It is good also as a structure which has 2nd data containing these operation modes. The control information may further include third data including a control sequence of the first or second motor.
本発明のワイパ制御装置は、第1モータによって駆動される第1ワイパブレードと、第2モータによって駆動される第2ワイパブレードとを備えてなるワイパ装置の制御装置であって、前記第1モータを駆動制御する第1制御回路と、前記第1制御回路と通信線を介して接続され、前記第2モータを駆動制御する第2制御回路とを有すると共に、前記第1制御回路は、前記第1ワイパブレードの位置情報と前記第1ワイパブレードの動作モードを1バイト以内に格納した制御データを収容する第1データバッファ部と、前記第1データバッファ部内の制御データを前記第2制御回路に送信する第1送信バッファ部とを有し、前記第2制御回路は、前記第2ワイパブレードの位置情報と前記第2ワイパブレードの動作モードを1バイト以内に格納した制御データを収容する第2データバッファ部と、前記第2データバッファ部内の制御データを前記第2制御回路に送信する第2送信バッファ部とを有することを特徴とする。 The wiper control device of the present invention is a control device for a wiper device comprising a first wiper blade driven by a first motor and a second wiper blade driven by a second motor, wherein the first motor And a second control circuit connected to the first control circuit via a communication line and controlling the driving of the second motor. The first control circuit includes: A first data buffer unit for storing control data in which position information of one wiper blade and an operation mode of the first wiper blade are stored within 1 byte; and control data in the first data buffer unit are sent to the second control circuit A first transmission buffer unit for transmitting, and the second control circuit stores the positional information of the second wiper blade and the operation mode of the second wiper blade within 1 byte. And having a second data buffer portion for storing control data, and a second transmission buffer unit to transmit control data in said second data buffer unit to the second control circuit.
本発明にあっては、各制御回路に、ワイパブレードの位置情報と動作モードを1バイト以内に格納した制御データを収容するデータバッファ部と、データバッファ部内の制御データを他方の制御回路に送信する送信バッファ部とを設けたことにより、制御回路間の通信データ量が削減され、通信負荷が軽くなる。このため、従来よりも速い制御サイクルに対応することができ、より細かなワイパ駆動制御が可能となるなど、制御精度の向上が図られる。また、低いA/D分解能の汎用マイコンを採用することが可能となり、システムコストの低減も図られる。 In the present invention, a data buffer unit that stores control data in which the position information and the operation mode of the wiper blade are stored within 1 byte are transmitted to each control circuit, and the control data in the data buffer unit is transmitted to the other control circuit. By providing the transmission buffer unit, the communication data amount between the control circuits is reduced, and the communication load is reduced. For this reason, it is possible to cope with a control cycle that is faster than the conventional one, and it is possible to improve the control accuracy such as finer wiper drive control. In addition, a general-purpose microcomputer with low A / D resolution can be adopted, and the system cost can be reduced.
本発明のワイパ装置制御方法によれば、第1制御回路によって駆動制御される第1モータと、第1モータによって駆動される第1ワイパブレードと、第1制御回路と通信線を介して接続された第2制御回路によって駆動制御される第2モータと、第2モータによって駆動される第2ワイパブレードとを有し、第1制御回路と第2制御回路との間にて通信線を介して制御情報を送受信しつつ第1及び第2モータの駆動制御を行うワイパ装置制御方法にて、その制御情報として、第1又は第2ワイパブレードの位置情報と、第1又は第2ワイパブレードの動作モードを1バイト以内に格納した制御データを用いるようにしたので、従来の制御方法に比して、制御回路間の通信データ量を削減することが可能となる。このため、制御回路間における通信負荷を軽減することができ、従来よりも速い制御サイクルに対応することが可能となる。従って、より細かなワイパ駆動制御が可能となり、制御精度の向上を図ることが可能となる。また、制御システムに汎用マイコンを採用することも可能となり、ワイパシステムのコストダウンを図ることが可能となる。 According to the wiper device control method of the present invention, the first motor driven and controlled by the first control circuit, the first wiper blade driven by the first motor, and the first control circuit are connected via the communication line. A second motor that is driven and controlled by the second control circuit, and a second wiper blade that is driven by the second motor, and a communication line is provided between the first control circuit and the second control circuit. In the wiper apparatus control method for controlling the driving of the first and second motors while transmitting / receiving the control information, the position information of the first or second wiper blade and the operation of the first or second wiper blade are used as the control information. Since the control data storing the mode within 1 byte is used, the communication data amount between the control circuits can be reduced as compared with the conventional control method. For this reason, the communication load between the control circuits can be reduced, and it becomes possible to cope with a control cycle faster than the conventional one. Therefore, finer wiper drive control is possible, and control accuracy can be improved. In addition, a general-purpose microcomputer can be adopted for the control system, and the cost of the wiper system can be reduced.
本発明のワイパ制御装置によれば、第1モータによって駆動される第1ワイパブレードと、第2モータによって駆動される第2ワイパブレードとを備えてなるワイパ装置の制御装置であって、第1モータを駆動制御する第1制御回路と、第1制御回路と通信線を介して接続され第2モータを駆動制御する第2制御回路とを設けると共に、第1制御回路に、第1ワイパブレードの位置情報と第1ワイパブレードの動作モードを1バイト以内に格納した制御データを収容する第1データバッファ部と、第1データバッファ部内の制御データを第2制御回路に送信する第1送信バッファ部を、第2制御回路に、第2ワイパブレードの位置情報と第2ワイパブレードの動作モードを1バイト以内に格納した制御データを収容する第2データバッファ部と、第2データバッファ部内の制御データを第2制御回路に送信する第2送信バッファ部とを設けたので、従来の制御装置に比して、制御回路間の通信データ量を削減することが可能となる。このため、制御回路間における通信負荷を軽減することができ、従来よりも速い制御サイクルに対応することが可能となる。従って、より細かなワイパ駆動制御が可能となり、制御精度の向上を図ることが可能となる。また、制御システムに汎用マイコンを採用することも可能となり、ワイパシステムのコストダウンを図ることが可能となる。 According to the wiper control device of the present invention, a wiper device control device comprising a first wiper blade driven by a first motor and a second wiper blade driven by a second motor, A first control circuit that controls the drive of the motor and a second control circuit that is connected to the first control circuit via a communication line and controls the drive of the second motor are provided, and the first control circuit includes a first wiper blade. A first data buffer unit that accommodates control data in which position information and the operation mode of the first wiper blade are stored within 1 byte, and a first transmission buffer unit that transmits control data in the first data buffer unit to the second control circuit The second data buffer unit for storing the control data in which the position information of the second wiper blade and the operation mode of the second wiper blade are stored within 1 byte in the second control circuit Since the second transmission buffer unit for transmitting the control data in the second data buffer unit to the second control circuit is provided, it is possible to reduce the communication data amount between the control circuits as compared with the conventional control device. It becomes. For this reason, the communication load between the control circuits can be reduced, and it becomes possible to cope with a control cycle faster than the conventional one. Therefore, finer wiper drive control is possible, and control accuracy can be improved. In addition, a general-purpose microcomputer can be adopted for the control system, and the cost of the wiper system can be reduced.
以下、本発明の実施例を図面に基づいて詳細に説明する。図1は、本発明の一実施例であるワイパ装置のシステム構成を示す説明図であり、本発明による制御方法が適用される。図1のワイパ装置1は、DR側とAS側のワイパブレード2a(第1ワイパブレード),2b(第2ワイパブレード)を対向配置したいわゆる対向払拭型のワイパ装置となっている。DR側とAS側にはそれぞれDR側モータ(第1モータ)3aとAS側モータ(第2モータ)3b(以下、モータ3a,3bと略記する)が別個に設けられている。なお、符号における「a,b」は、それぞれDR側とAS側に関連する部材や部分であることを示している。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is an explanatory diagram showing a system configuration of a wiper apparatus according to an embodiment of the present invention, to which a control method according to the present invention is applied. The
ブレード2a,2bには図示しないブレードラバー部材が取り付けられており、このラバー部材を車両のフロントガラス上に密着させて移動させることにより、図1に破線にて示した払拭領域11a,11bに存在する水滴等が払拭される。ブレード2a,2bは、ワイパ軸12a,12bの先端に固定されるワイパアーム13a,13bに支持されており、モータ3a,3bを駆動源とする駆動系14a,14bによって、左右に揺動運動を行う。駆動系14a,14bは、モータ3a,3bと、クランクアーム15a,15b、連結ロッド16a,16b、駆動レバー17a,17bおよびワイパアーム13a,13bからなるリンク機構から構成されている。
A blade rubber member (not shown) is attached to the
ワイパアーム13a,13bが固定されたワイパ軸12a,12bにはさらに、駆動レバー17a,17bが取り付けられている。駆動レバー17a,17bの端部には連結ロッド16a,16bが取り付けられている。連結ロッド16a,16bの他端側は、クランクアーム15a,15bの先端部に接続されている。クランクアーム15a,15bは、モータ3a,3bの減速機構に設けられた出力軸(ウォーム軸)18a,18bに固定されている。モータ3a,3bが駆動され出力軸18a,18bが回転すると、クランクアーム15a,15bが回転し、この動きが連結ロッド16a,16bを介して駆動レバー17a,17bへと伝達される。これにより、モータ3a,3bの回転運動がワイパアーム13a,13bの揺動運動に変換され、ブレード2a,2bが上下反転位置間にて往復動する。
モータ3a,3bはモータユニット4a,4b内に収容されており、モータユニット4a,4b内には、ワイパアーム13a,13bの位置や速度を検出するセンサとして、MRセンサ(図2参照)22a(第1角度検出手段),22b(第2角度検出手段)が設けられている。このMRセンサ22a,22bは、減速機構の出力軸18a,18bの近傍に配置されており、出力軸18a,18bには、MRセンサ22a,22bと対向する形でマグネット21a,21b(図2参照)が取り付けられている。MRセンサ22a,22bは、出力軸18a,18bの回転に伴って出力電圧が変化し、例えば、ワイパアーム13a,13bが下反転位置に来たときに出力電圧値が最大となるように設定される。従って、MRセンサ22a,22bから出力電圧の変化を見ることにより、出力軸18a,18bの回転角度を検出することができ、ワイパアーム13a,13bの現在の位置を把握することが可能となる。
The
モータユニット4a,4bにはさらに、MRセンサ22a,22bの出力に基づいてワイパアーム13a,13bの位置情報や速度情報を算出する制御マイコン5a(第1制御回路),5b(第2制御回路)が設けられている。DR側のモータユニット4aは、車体側の制御装置であるECU6に接続されている。ECU6からモータユニット4aに対しては、ワイパスイッチのON/OFFやLO,HI,INTなどのスイッチ情報や車速情報などが入力される。モータユニット4a,4b同士の間は通信線7にて接続されており、ECU6に接続されたモータ3aがマスター側となり、通信線7にてモータ3aと接続されたモータ3bがスレーブ側となって両モータの制御が行われる。
The
両ユニット4a,4bの制御マイコン5a,5bは、通信線7を介して相手方のブレード位置情報を取得する。両マイコン5a,5bは、ワイパアーム13a,13bの位置データ(角度データ)や速度データを通信線7を介して交換しつつ、両アームの位置関係や移動速度に基づいて、モータ3a,3bを同期駆動する。すなわち、制御マイコン5a,5bは、相手側のアーム位置や速度を参照しつつ、自身の側のデータに基づきモータ3a,3bを正逆転制御し、ブレード同士が干渉したり、角度差が拡大したりしないようにワイパ装置1を適宜制御する。
The
図2は、このような制御形態を採るワイパ装置1の制御装置の構成を示す説明図である。制御マイコン5a,5bは、図2のような制御系により、所定の制御周期(例えば、2ms)にて、ブレード2a,2b(=ワイパアーム13a,13b)の位置データや速度データを把握し、前述のようなモータ制御を行っている。図2に示すように、モータ3a,3bの回転に伴い、出力軸18a,18bに取り付けられたマグネット21a,21bが回転すると、MRセンサ22a,22bからその磁界変化に応じた電圧信号が出力される。MRセンサ22a,22bの出力信号は、増幅回路23a,23bを介して制御マイコン5a,5bに入力され、A/D変換部24a,24bにてデジタル信号(AD値)に変換される。
FIG. 2 is an explanatory diagram illustrating the configuration of the control device of the
A/D変換部24a,24bにて作成されたAD値は、角度算出処理部25a,25bに送られ、出力軸18a,18bの回転角度が算出される。MRセンサ出力値と出力軸回転角度との間には所定の関係があり、角度算出処理部25a,25bは、予め設定された関係に基づき、AD値から出力軸18a,18bの回転角度を算出する。また、AD値は、速度算出処理部26a,26bにも送られ、AD値の変化、すなわち、出力軸18a,18bの回転角度と制御周期に基づき、出力軸18a,18bの回転速度を算出する。
The AD values created by the A /
出力軸18a,18bの回転速度とモータ3a,3bの回転速度とは、減速機構の減速比に基づき一定の相関関係がある。従って、出力軸18a,18bの回転速度を求めることにより、モータ3a,3bの回転速度を把握することができる。一方、出力軸18a,18bの回転速度とワイパアーム13a,13bの移動速度との間にも、リンク比等に基づく一定の相関関係がある。従って、出力軸18a,18bの回転速度を求めることにより、ワイパアーム13a,13bの移動速度を把握することができる。当該ワイパ装置1では、MRセンサ22a,22bの出力から求めたAD値を用いて出力軸18a,18bの回転速度を検出することにより、ワイパアーム13a,13bの移動速度を把握する。
The rotational speeds of the
このようにして算出されたワイパアーム13a,13bの位置データや速度データは、データ送受信部27a,27bを介して、相手方の制御マイコンに送信される。また、制御マイコン5aは、データ送受信部27aを介して車内ネットワークとも接続されており、それを介して、ワイパスイッチの状態(ON,OFFやHI,LO,INTモードの区別)が入力されている。制御マイコン5a,5b間では、このようなワイパスイッチの状態も併せて通信される。両制御マイコン5a,5bは、自身の側のワイパアームのデータと、通信にて得た相手方のワイパアームのデータに基づき、ワイパスイッチ状態に合わせてそれぞれのモータ3a,3bの動作制御を行う。
The position data and speed data of the
図3は、データ送受信部27a,27bの構成を示す説明図である。なお、図3では、DR側からAS側へのデータ送信を示しているが、AS側からDR側へのデータ送信も同様の形態にて実行される。図3に示すように、データ送受信部27a,27b内には、ワイパスイッチ状態やワイパアームの位置・速度データ等を含んだ制御情報を格納する送信データバッファ(第1データバッファ部)31aが設けられている。送信データバッファ31aは、送信データのバイト数に応じて、複数個(ここでは4個)のデータバッファ(1〜4)から構成されており、各データバッファには1バイトずつデータが格納される。送信データバッファ31aに格納されたデータは、データバッファ1から順に、送信バッファ(第1送信バッファ部)32aに送られ、通信線7を介して制御マイコン5b側に送られる。
FIG. 3 is an explanatory diagram showing the configuration of the data transmitter /
一方、制御マイコン5bには、制御マイコン5aからの送信データを受け取る受信バッファ33bが設けられている。受信バッファ33bには、複数個(ここでは4個)データバッファ(1〜4)から構成された受信データバッファ34bが接続されており、受信バッファ33bに格納されたデータは、データバッファ1の情報から順に受信データバッファ34bに送られる。制御マイコン5bでは、このデータにより、ワイパスイッチ状態やDR側のワイパアーム13aの状況を把握し、ワイパアーム13bのデータと合わせてモータ3bの駆動制御を行う。
On the other hand, the
なお、データ送受信部27a,27bには、AS側からDR側へのデータ送信用に、図示しない受信バッファ等が設けられている。すなわち、データ送受信部27aにも受信バッファや受信データバッファが、また、データ送受信部27bにも送信データバッファ(第2データバッファ部)や送信バッファ(第2送信バッファ部)がそれぞれ設けられており、AS−DR間における各種制御情報の送受信に使用される。
The data transmission /
図4は、このような構成からなるデータ送受信部27a,27bにて行われる本発明による制御方法の処理手順を示すフローチャートであり、DR側からAS側へのデータ送信処理の手順を示している。なお、AS側からDR側へのデータ送信処理も同様の手順にて実行される。図4の処理は、各制御サイクル毎に実行され、ステップS1にて前回のモータ制御処理が終了したことを把握した後、実行される。モータに対する制御出力処理が終了した後、ステップS2に進み、相手方のマイコンに送信すべきデータ(送信データ)をセットする。送信データをセットした後、ステップS3にて送信カウンタを1にセットし(n=1)、送信データバッファ31aから送信バッファ32aに、データバッファ1のデータを送る(ステップS4)。送信バッファ32aにデータバッファ1のデータが格納されると、ステップS5に進み、データ送信が開始され、ステップS6にて送信処理が完了したか否かが確認される。
FIG. 4 is a flowchart showing the processing procedure of the control method according to the present invention performed by the data transmitting / receiving
ステップS6にて、データバッファ1のデータの送信処理の完了が確認されると、ステップS7に進み、送信カウンタが1つインクリメントされ(n=n+1)、ステップS8にて更新されたカウンタ値が5を超えたか否かが判断される。ここでは、n=2のため、ステップS4に戻り、送信データバッファ31aから送信バッファ32aに、データバッファ2のデータを送る。前述のように、データバッファは1から4まで設けられており、データバッファ4のデータが送信されるとn=5となる。すなわち、n=5ではデータ送信は全て完了したことになり、ステップS8からステップS9に進み、送信処理を終了してルーチンを抜ける。
When it is confirmed in step S6 that the data transmission process of the
図5は、図4のステップS2における送信データのセット処理(サブルーチン)の手順を示したフローチャートである。図5の処理では、まずステップS11にて、送信すべきデータのサンプリング、すなわち、DR側の現在AD値の取得が行われる。ステップS11にて送信データのサンプリングを行った後、ステップS12に進み、データバッファ1に、ワイパアーム13aの位置データの下位部分を格納し、第1データ(図6のData1)を作成する。この場合、位置データは9ビットのデータとなっており、そのうちの下位8ビットがデータバッファ1に格納される。次に、ステップS13に進み、データバッファ2に、ワイパアーム13aの位置データの上位(残り1ビット)を格納する。
FIG. 5 is a flowchart showing the procedure of the transmission data setting process (subroutine) in step S2 of FIG. In the process of FIG. 5, first, in step S11, sampling of data to be transmitted, that is, acquisition of a current AD value on the DR side is performed. After sampling the transmission data in step S11, the process proceeds to step S12, where the lower part of the position data of the
図6は、当該ワイパシステムにおける送信データの構成を示す説明図であり、(a)はDR側からAS側への通信データ、(b)はAS側からDR側への通信データをそれぞれ示している。図6に示すように、データバッファ1,2はそれぞれ8ビット構成となっており、そこで送信可能なデータは合計16ビットとなっている。それに対し、ワイパアーム13aの位置データは実際には9ビットであり、下位8ビットをデータバッファ1に格納すると残りは上位の1ビットとなり、図6(a)に示すように、データバッファ2には7ビット分の余裕がある。そこで、本発明による処理では、このデータバッファ2の余裕部分に、従来、データバッファ4に格納していた払拭モード状態(ワイパスイッチの状態やアーム速度など)を格納する。
6A and 6B are explanatory diagrams showing the configuration of transmission data in the wiper system, where FIG. 6A shows communication data from the DR side to the AS side, and FIG. 6B shows communication data from the AS side to the DR side. Yes. As shown in FIG. 6, the data buffers 1 and 2 each have an 8-bit configuration, and the data that can be transmitted there is a total of 16 bits. On the other hand, the position data of the
当該ワイパシステムにおいては、払拭モード状態は(4ビット:最大16パターン)であり、これにDR側のブロッキングフラグ1ビットと、DR側緊急停止フラグ1ビットの合計6ビットがデータバッファ2に格納される。すなわち、払拭モード状態4ビットを含む前記6ビットがデータバッファ2の空白部に格納される。そこで、ステップS13にて、データバッファ2に位置データ上位(1ビット)を格納した後、ステップS14にて、データバッファ2の残りの領域に払拭モード状態(4ビット)を格納し、第2データ(図6のData2)を作成する。
In the wiper system, the wiping mode state is (4 bits: maximum 16 patterns), and a total of 6 bits including a DR
払拭モード状態を格納した後、ステップS15に進み、ワイパの緊急停止条件(モータ故障等)の有無が判断される。緊急停止条件がある場合には、ステップS16にてデータバッファ2のビット位置2(図6(a)参照)に1をセットし、その旨を表示する。緊急停止条件がない場合には、ステップS16にてデータバッファ2のビット位置2に0をセットする。これらの処理を行った後、ステップS17に進み、ワイパアーム13aが積雪等によりブロックされているか(ブロッキング中か)否かが判断される。ブロッキング中の場合には、ステップS19にてデータバッファ2のビット位置3に1をセットし、その旨を表示する。なお、ブロッキング時には、ワイパアーム13aは、ブロック部位から反転したり、ブロック−反転の動作を複数回繰り返したりするなどの動作を行う。ブロッキング中でない場合には、ステップS20にてデータバッファ2のビット位置2に0をセットする。
After storing the wiping mode state, the process proceeds to step S15, where it is determined whether there is an emergency wiper stop condition (motor failure, etc.). If there is an emergency stop condition, 1 is set in bit position 2 (see FIG. 6A) of the
緊急停止条件やブロッキングの判断を行った後、ステップS21に進み、データバッファ3に、モータ回転方向や制御マイコンからの出力状態等を示すモータシーケンスデータ(6ビット:最大32パターン)を格納する。モータシーケンスデータを格納した後、ステップS22に進み、イグニッションスイッチの状態が確認される。イグニッションスイッチがONの場合には、ステップS23にてデータバッファ3のビット位置7に1をセットし、その旨を表示する。イグニッションスイッチがONでない場合(OFF)には、ステップS24にてデータバッファ3のビット位置7に0をセットする。
After determining the emergency stop condition or blocking, the process proceeds to step S21, and motor sequence data (6 bits: maximum 32 patterns) indicating the motor rotation direction, the output state from the control microcomputer, and the like is stored in the
これらの処理を行った後、ステップS25に進み、制御マイコン5a内のEEPROMの状態が判断される。EEPROMが異常の場合には、ステップS26にてデータバッファ3のビット位置4に1をセットし、その旨を表示する。EEPROMが正常な場合には、ステップS27にてデータバッファ3のビット位置4に0をセットする。これにより、データバッファ3内に第3データ(図6のData3)が作成される。
After performing these processes, the process proceeds to step S25, and the state of the EEPROM in the
EEPROMのチェックが終わった後、ステップS28に進み、チェックサムデータ(第4データ:図6のData4)を作成する。すなわち、データバッファ1〜3のデータ数を積算し、その数をデータバッファ4に格納する。このようにして、データバッファ1〜4に各種データを格納した後、ステップS29に進み、データバッファ1から順に、バッファ内のデータを送信バッファ32aに送信し、ルーチンを抜ける。
After the EEPROM check is completed, the process proceeds to step S28, and checksum data (fourth data: Data4 in FIG. 6) is created. That is, the number of data in the data buffers 1 to 3 is accumulated and the number is stored in the
このように、本発明の制御方法・制御装置では、データバッファ2に、ワイパアーム13aの位置データの上位ビットと払拭モード状態等を格納する。前述のように、従来の制御形態では、データバッファ1,2はワイパアームの位置データ用として固定されているため、データバッファ2は、実際には1ビット分しか使用されておらず、その分、データ量が多くならざるを得ない。これに対し、本発明による制御形態は、従来、データ種別によって分けていたデータバッファ位置(ナンバー)を柔軟に改組し、データバッファ2を有効活用する。これにより、アーム位置データ上位ビットと払拭モード状態情報を1バイトデータとして通信することができ、送信データ数の削減(5バイト→4バイト)を図ることが可能となる。
Thus, in the control method / control apparatus of the present invention, the upper bits of the position data of the
また、本発明による制御方法・制御装置にあっては、図6(b)に示すように、AS→DRの送信データにおいても、前述同様にデータバッファ2の有効活用が図られる。すなわち、AS→DRでは、データバッファ2に、AS側ワイパアーム13bの位置データの上位1ビットと、各種制御情報が格納される。ここでは、この制御情報として、DR→ASの場合と同様の緊急停止とブロッキングに関する情報が格納されると共に、モータの熱保護状態や、AS側のHIモード払拭禁止、AS側のINTモード固定、ブロック検知時における下反転S(予め定められた払拭するべきエリア)範囲外での反転の有無などが格納される。これにより、AS→DRの送信データも、送信データ数が5バイトから4バイトに削減される。
Further, in the control method / control apparatus according to the present invention, as shown in FIG. 6B, the
従って、当該ワイパ装置では、制御マイコン5a,5b間にてやり取りされるデータ数が8バイトとなり、送信データが全体で2バイト削減される(10バイト→8バイト)。これにより、通信負荷が軽くなり制御サイクルにも余裕が生じるため、従来よりも速い制御サイクルに対応することができ、緊急停止時間の短縮など、より細かなワイパ駆動制御が可能となる。また、低いA/D分解能のマイコンにてシステムを構成することも可能となるため、汎用マイコンを採用することが可能となり、システムコストを低減することが可能となると共に、消費電力の削減も図られる。
Therefore, in the wiper device, the number of data exchanged between the
本発明は前記実施例に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることは言うまでもない。
例えば、前述の実施例では、本発明をワイパ装置のモータ制御に適用した例を示したが、本発明を他の装置に使用されるモータの制御に適用することも可能である。
It goes without saying that the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention.
For example, in the above-described embodiments, the example in which the present invention is applied to the motor control of the wiper apparatus has been described. However, the present invention can also be applied to the control of a motor used in another apparatus.
1 ワイパ装置
2a,2b ワイパブレード
3a,3b モータ
4a,4b モータユニット
5a,5b 制御マイコン
6 ECU
7 通信線
11a,11b 払拭領域
12a,12b ワイパ軸
13a,13b ワイパアーム
14a,14b 駆動系
15a,15b クランクアーム
16a,16b 連結ロッド
17a,17b 駆動レバー
18a,18b 出力軸
21a,21b マグネット
22a,22b MRセンサ
23a,23b 増幅回路
24a,24b A/D変換部
25a,25b 角度算出処理部
26a,26b 速度算出処理部
27a,27b データ送受信部
31a 送信データバッファ(第1データバッファ部)
32a 送信バッファ(第1送信バッファ部)
33b 受信バッファ
34b 受信データバッファ
DESCRIPTION OF
7
32a Transmission buffer (first transmission buffer unit)
33b Receive buffer 34b Receive data buffer
Claims (4)
前記制御情報は、前記第1又は第2ワイパブレードの位置情報と、前記第1又は第2ワイパブレードの動作モードを1バイト以内に格納した制御データを有することを特徴とするワイパ装置制御方法。 Drive-controlled by a first motor driven and controlled by a first control circuit, a first wiper blade driven by the first motor, and a second control circuit connected to the first control circuit via a communication line. A second wiper blade driven by the second motor, and transmits / receives control information via the communication line between the first control circuit and the second control circuit. A wiper device control method for controlling the driving of the first and second motors,
The wiper apparatus control method according to claim 1, wherein the control information includes position information of the first or second wiper blade and control data storing an operation mode of the first or second wiper blade within 1 byte.
前記第1モータを駆動制御する第1制御回路と、
前記第1制御回路と通信線を介して接続され、前記第2モータを駆動制御する第2制御回路とを有すると共に、
前記第1制御回路は、前記第1ワイパブレードの位置情報と前記第1ワイパブレードの動作モードを1バイト以内に格納した制御データを収容する第1データバッファ部と、前記第1データバッファ部内の制御データを前記第2制御回路に送信する第1送信バッファ部とを有し、
前記第2制御回路は、前記第2ワイパブレードの位置情報と前記第2ワイパブレードの動作モードを1バイト以内に格納した制御データを収容する第2データバッファ部と、前記第2データバッファ部内の制御データを前記第2制御回路に送信する第2送信バッファ部とを有することを特徴とするワイパ制御装置。 A control device for a wiper device comprising a first wiper blade driven by a first motor and a second wiper blade driven by a second motor,
A first control circuit for driving and controlling the first motor;
A second control circuit connected to the first control circuit via a communication line and drivingly controlling the second motor;
The first control circuit includes a first data buffer unit for storing control data in which position information of the first wiper blade and an operation mode of the first wiper blade are stored within 1 byte, and in the first data buffer unit A first transmission buffer unit for transmitting control data to the second control circuit;
The second control circuit includes a second data buffer unit for storing control data in which the positional information of the second wiper blade and the operation mode of the second wiper blade are stored within 1 byte, and the second data buffer unit And a second transmission buffer unit for transmitting control data to the second control circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007247292A JP2009078588A (en) | 2007-09-25 | 2007-09-25 | Wiper device control method and wiper control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007247292A JP2009078588A (en) | 2007-09-25 | 2007-09-25 | Wiper device control method and wiper control device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009078588A true JP2009078588A (en) | 2009-04-16 |
Family
ID=40653687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007247292A Pending JP2009078588A (en) | 2007-09-25 | 2007-09-25 | Wiper device control method and wiper control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009078588A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022044484A1 (en) * | 2020-08-24 | 2022-03-03 | 株式会社村田製作所 | Shake correction mechanism and camera module comprising same |
-
2007
- 2007-09-25 JP JP2007247292A patent/JP2009078588A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022044484A1 (en) * | 2020-08-24 | 2022-03-03 | 株式会社村田製作所 | Shake correction mechanism and camera module comprising same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017159090A1 (en) | Sensor device, and electric power steering device using same | |
KR101950123B1 (en) | Vehicle steering system transmission | |
JP5184395B2 (en) | Wiper control method and wiper control device | |
US8112197B2 (en) | Wiper apparatus control method and wiper control system | |
US5726638A (en) | Method and device for serial communication | |
JP4568319B2 (en) | Wiper device control method and wiper control device | |
JP4212372B2 (en) | Encoder signal processing device and servo driver | |
JP2007176263A (en) | Controlling method of wiper device and wiper control device | |
JP2009078588A (en) | Wiper device control method and wiper control device | |
JP5952710B2 (en) | Wiper control device and wiper control method | |
JP2009119988A (en) | Opposite wiping type wiper device | |
JP4886528B2 (en) | Wiper device | |
JP2007062671A (en) | Control method for wiper device and wiper controller | |
JP5294597B2 (en) | Motor rotation speed calculation method and wiper device | |
JP4728128B2 (en) | Multi-axis motor position detection signal transmission device | |
JP2009067261A (en) | Wiper system and wiper control method | |
JP4995699B2 (en) | Opposite wiper wiper device | |
JP4860393B2 (en) | Wiper device | |
JP2008055987A (en) | Wiper device and control information rewriting method in wiper device | |
JP6372958B2 (en) | Wiper system | |
JP4443456B2 (en) | Motor control device | |
JP2009190557A (en) | Vehicular control device | |
JP6510967B2 (en) | Wiper control device and control method of wiper control device | |
JP4476862B2 (en) | Motor with reduction mechanism | |
JP2008030612A (en) | Wiper device |