JP3628314B2 - Grip heater control device - Google Patents

Grip heater control device Download PDF

Info

Publication number
JP3628314B2
JP3628314B2 JP2002251689A JP2002251689A JP3628314B2 JP 3628314 B2 JP3628314 B2 JP 3628314B2 JP 2002251689 A JP2002251689 A JP 2002251689A JP 2002251689 A JP2002251689 A JP 2002251689A JP 3628314 B2 JP3628314 B2 JP 3628314B2
Authority
JP
Japan
Prior art keywords
battery voltage
switch
voltage
light emitting
determined
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 - Lifetime
Application number
JP2002251689A
Other languages
Japanese (ja)
Other versions
JP2004090704A (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.)
Shindengen Electric Manufacturing Co Ltd
Honda Access Corp
Original Assignee
Shindengen Electric Manufacturing Co Ltd
Honda Access Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shindengen Electric Manufacturing Co Ltd, Honda Access Corp filed Critical Shindengen Electric Manufacturing Co Ltd
Priority to JP2002251689A priority Critical patent/JP3628314B2/en
Priority to CN03141164.9A priority patent/CN100595103C/en
Priority to DE60301369T priority patent/DE60301369T2/en
Priority to AT03253647T priority patent/ATE302711T1/en
Priority to EP20030253647 priority patent/EP1371544B1/en
Priority to US10/457,607 priority patent/US6903312B2/en
Publication of JP2004090704A publication Critical patent/JP2004090704A/en
Application granted granted Critical
Publication of JP3628314B2 publication Critical patent/JP3628314B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、グリップヒータ制御装置に関し、さらに詳細にはオートバイ、スノーモービル、水上バイク等のステアリングハンドルに設けられるグリップヒータの制御を行うグリップヒータ制御装置に関する。
【0002】
【従来の技術】
従来、オートバイ、スノーモービル等の車両では、ステアリングハンドルに設けられたグリップを保温するためにグリップにヒータが設けられていて、ヒータへの通電を制御することによってグリップを加温し、運転者に快適な運転環境を提供している。
【0003】
この種の車両用グリップヒータ制御装置は、例えば、特開平10−79284号公報、特許第3231247号公報により既に知られている。
【0004】
従来の車両用グリップヒータ制御装置は、電源スイッチと一体に構成されたポテンショメータの操作によりヒータに対する通電調節を行うべく、ポテンショメータからの出力電圧を比較電圧とし、該比較電圧と予め定められた周期電圧波例えば三角波とのレベル比較を行うことによって生じたPWM出力によりスイッチング回路をオンオフ制御し、スイッチング回路によってバッテリからヒータへの通電制御をすることにより、ヒータの加温を行っている。
【0005】
一方、グリップヒータ制御は車両にとっては付随的なものであり、車両の走行を優先させるために、スタータモータを駆動するのに最低限の電圧以下にバッテリ電圧が低下する前には、ヒータへのバッテリからの給電を停止させる必要がある。このため、バッテリ電圧を検出してスタータモータ駆動に必要な最低限の電圧にまでバッテリ電圧が近接したときは比較電圧の値に拘わらず、スイッチング回路を強制的にオフ状態に制御するバッテリ電圧監視回路が設けられており、さらに、比較電圧が不定となったときは、スイッチング回路を強制的にオフ状態に制御するフェールセーフ回路が設けられている。
【0006】
さらに、バッテリ電圧監視回路においては、バッテリ電圧監視回路に供給されるバッテリ電圧に基づく電圧値が第1電圧閾値VS1未満のときにはスイッチング回路を通電禁止状態に制御し、バッテリ電圧監視回路に供給されるバッテリ電圧に基づく電圧値が第2電圧閾値VS2(VS2>VS1)よりも大きいときはスイッチング回路を通電可能状態に制御する。
【0007】
この場合にバッテリで必要とされる必要最低限の電圧値をVとしたとき、バッテリとバッテリ電圧監視回路との間における配線抵抗による電圧降下分をΔv1とし、バッテリ電圧監視回路において想定される最大検出誤差電圧をΔv2としたとき、第1電圧閾値VS1をVS1=V−Δv1+Δv2とすることによって第1電圧閾値VS1と第2電圧閾値VS2とによるヒステリシスを持たせ、バッテリ電圧降下時には第1電圧閾値VS1未満になったときから通電禁止状態にし、バッテリ電圧上昇時には第2電圧閾値VS2以上になったときから通電可能状態にして、通電禁止、通電可能の頻繁な繰り返しを防止し、バッテリ最低電圧を維持させるようにしている。
【0008】
【発明が解決しようとする課題】
しかし、従来の車両用グリップヒータ制御装置によるときは、バッテリ電圧印加当初においては交流発電機の電圧変動が強く現れてバッテリ電圧が安定せず、発光ダイオードが点滅を繰り返したりして不安感を発生させるという問題点があった。
【0009】
本発明は、バッテリ電圧印加直後におけるバッテリ電圧不安定時の発光ダイオード点滅による不安感を除去することができるグリップヒータ制御装置を提供することを目的とする。
【0010】
【課題を解決するための手段】
本発明のグリップヒータ制御装置は、ステアリングハンドルに設けられたグリップヒータへのバッテリからの通電をオン・オフさせるスイッチング手段を備えたグリップヒータ制御装置において、
複数個の発光ダイオード中における点灯発光ダイオード数をアップスイッチ手段のオン回数に基づき制御すると共に、ダウンスイッチ手段のオン回数に基づき消灯発光ダイオード数を制御して点灯発光ダイオード数を制御する点灯発光ダイオード数制御手段と、
ヒータへの通電を禁止する下限設定閾値に予め定めた電圧を加えた閾値を上限設定閾値として、バッテリ電圧が上限設定閾値に達してから次に下限設定閾値に達するまでの期間、点灯発光ダイオード数制御手段により定められた通電率にスイッチング手段のオン・オフを制御する通電制御手段と、
バッテリ電圧印加時から最初に上限設定閾値に達した後予め定めた期間、点灯発光ダイオード数制御手段により定められた数の発光ダイオードを点灯させ、前記予め定めた期間経過後はバッテリ電圧が上限設定閾値に達してから次に下限設定閾値に達するまでの期間、点灯発光ダイオード数制御手段により定められた数の発光ダイオードを点灯させる発光ダイオード点灯制御手段と、
を備えたことを特徴とする。
【0011】
本発明にかかるグリップヒータ制御装置によれば、アップスイッチ手段のオン回数およびダウンスイッチ手段のオン回数に基づき、点灯発光ダイオード数が定まる。したがって、アップスイッチ手段のオン操作およびダウンスイッチ手段のオン操作に操作感があり、さらにアップスイッチ手段およびダウンスイッチ手段のオン操作による指示が、点灯発光ダイオード数から容易に視認することができる。この場合に、たとえば、発光ダイオードを一列状に設ければ、点灯発光ダイオード数の視認が容易である。
【0012】
さらに、本発明にかかるグリップヒータ制御装置によれば、バッテリ電圧が上限設定閾値に達してから次に下限設定閾値に達するまでの期間、点灯発光ダイオード数制御手段により定められた通電率にスイッチング手段のオン・オフが制御される。ヒータに対する通電率が点灯発光ダイオード数に対応しているため、点灯発光ダイオード数からオン・オフ制御に基づくヒータ温度を容易に予測することができる。
【0013】
さらに、本発明にかかるグリップヒータ制御装置によれば、バッテリ電圧印加時から最初に上限設定閾値に達した後予め定めた期間、点灯発光ダイオード数制御手段により定められた数の発光ダイオードが点灯されるため、バッテリ電圧の印加初期においてバッテリ電圧が安定しないときの不安感は生じない。前記予め定めた期間経過後はバッテリ電圧が上限設定閾値に達してから次に下限設定閾値に達するまでの期間、点灯発光ダイオード数制御手段により定められた数の発光ダイオードが点灯され、ヒータへの通電制御が視認できる。
【0014】
【発明の実施の形態】
本発明にかかるグリップヒータ制御装置を実施の一形態により説明する。図1は本発明にかかるグリップヒータ制御装置の実施の一形態の構成を示すブロック図であり、図2は本発明にかかるグリップヒータ制御装置の実施の一形態における制御回路の機能を示すブロック図であり、図3は本発明の実施の一形態にかかるグリップヒータ制御装置の設置説明図である。
【0015】
図3に示されるように、自動二輪車の車体フレーム前端には、図示しない前輪を懸架する一対のパイプからなるフロントフォーク25が設けられ、前記フロントフォーク25の上端部に前記前輪を操向操作するための円筒状のステアリングハンドル27がステアリングステムを介して左右にそれぞれ別個に延在するように設けられている。前記ステアリングハンドル27の左端部には、ゴム等からなる左側グリップ17が装着されている。また、図示しないステアリングハンドルの右端部には同様にゴム等からなる右側グリップが装着されている。
【0016】
また、車体の外部には樹脂製材料からなるカウリング29が車体と一体的に装着され、前記カウリング29によって走行時における空気抵抗が減少される。前記カウリング29は、車体の左側面に設けられる左側カウリング24と、車体の右側面に設けられる図示しない右側カウリングとからなる。
【0017】
グリップヒータ制御装置10は、前記左側グリップ17および図示しない右側グリップに内蔵されるフレキシブルプリント配線基板等からなるヒータ15と、前記ヒータ15の設定状況を表示するとともに、ヒータ15への電流量を設定するスイッチユニット16とからなる。
【0018】
前記スイッチユニット16は、図3に示すように、左側カウリング24に埋設され、その上部が前記左側カウリング24の表面から若干突出している。
【0019】
図1に示すように、グリップヒータ制御装置10は、自動二輪車に搭載されているバッテリ11からメインスイッチ23を介して供給されるバッテリ電圧をバッテリ電圧分圧回路12によって分圧し、バッテリ電圧分圧回路12からバッテリ電圧に基づく分圧電圧Vbを出力させる。一方、メインスイッチ23を介したバッテリ11からの電圧を定電圧回路13に供給して定電圧化し、定電圧回路13から定電圧VDDを出力させる。また一方、メインスイッチ23を介して供給されるバッテリ電圧をスイッチング回路14によってスイッチングし、このスイッチングによってヒータ15へのバッテリ11からの通電、通電遮断を制御して、ヒータ15の発熱量を制御する。
【0020】
バッテリ電圧分圧回路12は、直列接続された抵抗R1、R2および可変抵抗VRによってバッテリ電圧を分圧して分圧電圧Vbを抵抗R3を介して出力する。ここで、コンデンサC1は平滑用のコンデンサであり、ダイオードD1は定電圧VDDからの逆流防止のためとコンデンサC1の放電路を形成するためのダイオードである。ZD1は上限電圧制限用のツエナーダイオードであって、分圧電圧Vbの上限電圧をツエナー電圧に制限する。
【0021】
定電圧回路13は整流用のダイオードD2および平滑用のコンデンサC2の他に、ダイオードD2にて整流されコンデンサC2にて平滑されたバッテリ電圧を定電圧VDDに制御する三端子レギレータ131と三端子レギレータ131の出力を平滑化するコンデンサC3を備えている。定電圧VDDはグリップヒータ制御装置10に設けられたスイッチユニット16、制御回路18、発光ダイオードユニット(LEDユニットとも記す)19、EEPROM20およびウオッチドッグ回路(WD)21の電源として使用する。
【0022】
スイッチング回路14は、バッテリ11からメインスイッチ23を介して供給されるバッテリ電圧をダイオードD2で整流のうえコンデンサC2で平滑した電圧を受け、制御回路18の端子OUT0からの出力によってオン・オフ制御される前置増幅器を構成するトランジスタQ1と、トランジスタQ1のコレクタ出力によってオン・オフ駆動されるドライバーを構成するトランジスタQ2と、トランジスタQ2によってオン・オフ駆動される電力トランジスタQ3を備え、ステアリングハンドルのそれぞれのハンドルに各別に設けられ、かつ直列接続されてヒータ15を構成するヒータ151と152へのバッテリ11からの通電を、電力トランジスタQ3によってオン・オフ制御する。
【0023】
ここで、スイッチング回路14における抵抗R6および抵抗R7はトランジスタQ1のバイアス抵抗である。抵抗R4および抵抗R5はトランジスタQ1のコレクタ負荷抵抗であり、コンデンサC4は平滑用のコンデンサである。抵抗R8および抵抗R9はトランジスタQ3のバイアス抵抗であり、トランジスタQ2の出力で出力トランジスタQ3をオン・オフ駆動する。ツエナーダイオードZD2は電圧制限用のツエナーダイオードであり、ツエナーダイオードZD3はサージアブソーバである。
【0024】
そこで、制御回路18の端子OUT0が高電位の期間は、トランジスタQ1〜Q3をオン状態に制御して、バッテリ11からメインスイッチ23を介してヒータ15への通電を行う。制御回路18の端子OUT0が低電位の期間は、トランジスタQ1〜Q3をオフ状態に制御して、ヒータ15への通電を遮断する。
【0025】
スイッチユニット16は、抵抗R10によって定電圧VDDにプルアップされて押圧されたときの出力を制御回路18へ送出してヒータ15への通電期間増加を指示するアップスイッチSW1と、抵抗R11によって定電圧VDDにプルアップされて押圧されたときの出力を制御回路18へ送出してヒータ15への通電期間減少を指示するダウンスイッチSW2とを備えている。
【0026】
発光ダイオードユニット19は、制御回路18の端子OUT1〜OUT4からの出力で点灯、消灯制御される発光ダイオードLED1〜LED4を備え、発光ダイオードLED1〜LED4は隣接してほぼ一列状に、かつ一体状に配置してある。
【0027】
発光ダイオードLED4、LED3、LED2、LED1の駆動により、発光ダイオードLED4のみの点灯、発光ダイオードLED4とLED3の点灯、…、全発光ダイオードLED4〜LED1の点灯の順序で順次通電期間が増加指示させられていることを示す。発光ダイオードユニット19における抵抗R12〜R15は発光ダイオードLED1〜LED4への電流制限用抵抗である。
【0028】
EEPROM20は、制御回路18からの出力を受けて後記のステージカウンタのカウント値を記憶し、更新していく記憶装置であって、その記憶内容は再起動時におけるステージカウンタのカウント値の初期値として使用する。
【0029】
ウオッチドッグ回路21は、動作中の制御回路18から出力される制御回路18の端子PO1からの出力電位(高電位/低電位)をみて制御回路18の不調か否かを検出し、制御回路18の不調時には制御回路18をリセットさせることによって制御回路18の動作を初期化させる。
【0030】
制御回路18は、水晶発振器31からの発振出力を受けて動作するコンピュータからなり、基本的に、アップスイッチSW1およびダウンスイッチSW2からの出力を受けて所定期間押されたか否かの判定や、アップスイッチSW1およびダウンスイッチSW2が共に押されたときの判定などのスイッチ処理を行うスイッチ出力処理手段180、分圧電圧Vbを受けてバッテリ電圧を検出し、バッテリ電圧がスタータモータを駆動するのに必要とする最低限の電圧値を超えているか否か等の判定を行うバッテリ電圧検出判定手段181を機能的に備えている(図2参照)。
【0031】
さらに制御回路18は、基本的に、アップスイッチSW1およびダウンスイッチSW2からの出力を受けて、アップスイッチSW1のオン期間とオン回数を判定すると共に、ダウンスイッチSW2のオン期間とオン回数を判定するアップダウン指示期間判定手段182、アップダウン指示期間判定手段182およびバッテリ電圧検出判定手段181からの出力に基づいて、ヒータ15への通電とそのデューティー比を実質的に設定する通電デューティー比設定手段183、端子PO1からの制御回路18の正常、異常を示す制御のためのパルスを発生するパルス発生手段185を機能的に備えている。
【0032】
またさらに、バッテリ電圧検出判定手段181はバッテリ電圧検出毎に検出したバッテリ電圧に、ヒータ15とバッテリ11を接続する配線22に通電時において生ずる電圧降下を加算した補正バッテリ電圧を平均して平均補正バッテリ電圧を求める手段を含む。
【0033】
さらにいえば、アップダウン指示期間判定手段182には、点灯発光ダイオード数をアップスイッチSW1のオン回数に基づき制御すると共に、ダウンスイッチSW2のオン回数に基づき消灯発光ダイオード数を制御して点灯発光ダイオード数を制御する手段を含む。
【0034】
通電デューティー比設定手段183には、ヒータ15への通電を禁止する下限設定閾値に予め定めた電圧を加えた閾値を上限設定閾値として、バッテリ電圧が上限設定閾値に達してから次に下限設定閾値に達するまでの期間、点灯発光ダイオード数を制御する手段により定められた通電率にスイッチング回路14のオン・オフを制御する手段と、バッテリ電圧印加時から最初に上限設定閾値に達した後予め定めた期間、点灯発光ダイオード数を制御する手段により定められた数の発光ダイオードを点灯させ、前記予め定めた期間経過後はバッテリ電圧が上限設定閾値に達してから次に下限設定閾値に達するまでの期間、点灯発光ダイオード数を制御する手段により定められた数の発光ダイオードを点灯制御させ、かつバッテリ電圧が下限設定閾値未満から次に上限設定閾値に達するまでの期間中は全発光ダイオードを消灯制御させる手段を含む。
【0035】
ここで、アップダウン指示期間判定手段182と通電デューティー比設定手段183とは実質的にPWM手段184として作用する。
【0036】
次に、グリップヒータ制御装置10の作用を図4〜図13に示すフローチャートに基づいて説明する。
【0037】
図4はグリップヒータ制御装置10のジェネラルフローチャートを示している。
【0038】
グリップヒータ制御装置10の動作が開始されると、前回の動作終了時にEEPROM20に書き込まれているステージカウンタのカウント値、すなわちグリップヒータの駆動状態が読み込まれ、割り込みタイマーのタイムがセットされ、かつフラグ類がセットまたはクリアされる等の初期設定がなされる(ステップS1)。ここで、割り込みタイマーのタイムは例えば10msに設定される。
【0039】
ステップS1の初期設定に続いて割り込みタイマーに基づく割り込みフラグがセットされているか否かがチェックされる(ステップS2)。ここでは、例えば10ms毎に割り込みフラグがセットされる。
【0040】
ステップS2におけるチェックにより割り込みフラグがセットされていないと判別されると、制御回路判定処理ルーチンが実行され(ステップS3)、次いでステップS2から再び実行される。
【0041】
制御回路判定処理ルーチンに入ると、ウオッチドッグ回路21は制御回路18の端子PO1からの出力を受けて、端子PO1から高電位と低電位とが交互に継続して送出されてくるときは制御回路は正常であると判定する。詳細には、図5に示す如く、内部カウンタの計数値がクリアされ(ステップS31)、内部カウンタの計数が開始される(ステップS32)。ステップS32に続いて、内部カウンタの計数値が10になったか否かがチェックされ、10カウントに達するのを待つ(ステップS33)。ステップS33において10カウントに達したときは、ステップS33に続いて制御回路18の端子PO1の出力が高電位(HIGH)か否かがチェックされる(ステップS34)。ステップS33のチェックにより端子PO1の出力が高電位であると判別されると、端子PO1の出力が低電位(LOW)に設定される(ステップS35)。ステップS33のチェックにより端子PO1の出力が低電位であると判別されると、端子PO1の出力が高電位に設定される(ステップS36)。ステップS35、ステップS36の実行によって制御回路判定ルーチンは終了される。
【0042】
ここで、ステップS33において、例えば内部カウンタのインクリメントが0.1ms毎になされるとすれば、10カウントは1msであり、制御回路18が正常のときは、ステップS35とステップS36とが1ms毎に繰り返されて、制御回路18の端子PO1から1msの高電位と1msの低電位が交互に出力される。制御回路18が正常でないときは、ステップS35またはステップS36の実行が1msを超えて継続されて、制御回路18の端子PO1から高電位または低電位出力が所定の処理時間(後記のステップS4〜S11、S14、S15の処理時間とステップS3の処理時間の合計時間)を超えて継続して出力される。
【0043】
上記のように、制御回路18の端子PO1からの出力を受けて高電位と低電位とが交互に継続して送出されてくるときは、制御回路18は正常であるとウオッチドッグ回路21によって判定する。ウオッチドッグ回路21は制御回路18の端子PO1から高電位または低電位の出力が前記所定の処理時間以上継続して送出されてくるときは、制御回路18はウオッチドッグ回路21によって正常でないと判定して、制御回路18のリセット端子へリセット出力を送出し、制御回路18はリセットさせる。
【0044】
ステップS2において、割り込みフラグがセットされているときはステップS2に続いて割り込みフラグはクリアされる(ステップS4)。ステップS4に続いてアップスイッチオン判定処理ルーチンが実行される(ステップS5)。アップスイッチオン判定処理ルーチンにおいては、バッテリ電圧が予め定めた所定電圧以上のときに、アップスイッチSW1が予め定めた期間以上、例えば30ms以上オン状態にされたか否かが判別される。この判別によりバッテリ電圧が予め定めた所定電圧以上のときに、アップスイッチSW1が予め定めた期間以上オン状態にされたと判別されたときは、アップスイッチSW1がオン状態にされたと判定されて、アップスイッチオンフラグがセットされる。このようにアップスイッチオン判定処理ルーチンはアップスイッチSW1のオンを判定するルーチンであって、バッテリ電圧が予め定めた所定電圧未満のときにアップスイッチSW1がオン状態にされても、また、アップスイッチSW1が予め定めた期間未満オン状態にされたと判別されたときも、アップスイッチSW1の操作は無効とされる。
【0045】
ステップS5に続いて、ダウンスイッチオン判定処理ルーチンが実行される(ステップS6)。ダウンスイッチオン判定処理ルーチンにおいては、バッテリ電圧が予め定めた所定電圧以上のときに、ダウンスイッチSW2が予め定めた所定期間以上、例えば30ms以上オン状態にされたか否かが判別される。この判別によりバッテリ電圧が予め定めた所定電圧以上のときに、ダウンスイッチSW2が予め定めた所定期間以上オン状態にされたと判別されたときは、ダウンスイッチSW2がオン状態にされたと判定されて、ダウンスイッチオンフラグがセットされる。このようにダウンスイッチオン判定処理ルーチンはダウンスイッチSW2のオンを判定するルーチンであって、バッテリ電圧が予め定めた所定電圧未満のときに、ダウンスイッチSW2がオン状態にされても、また、ダウンスイッチSW2が予め定めた期間未満オン状態にされたと判別されたときも、ダウンスイッチSW2の操作は無効とされる。
【0046】
ステップS6に続いて、スイッチ状態判定処理ルーチンが実行される(ステップS7)。スイッチ状態判定処理ルーチンにおいては、アップスイッチオンフラグのセットの状態とダウンスイッチオンフラグのセット状態とがチェックされて、アップスイッチSW1とダウンスイッチSW2とが同時に押されたとき、すなわち、アップスイッチオンフラグもダウンスイッチオンフラグも共にセットされているときは両スイッチオンフラグがセットされる。アップスイッチオンフラグとダウンスイッチオンフラグの一方のみがセットされているとき、アップスイッチオンフラグもダウンスイッチオンフラグも共にセットされていないときには、両スイッチオンフラグがクリアされる。
【0047】
上記したように、ステップS5からステップS7の実行によって、アップスイッチSW1のみが、予め定めた所定電圧以上のバッテリ電圧のときにおいて、予め定めた所定期間以上オン状態にされたとき、アップスイッチSW1がオン状態にされたと判別され、ダウンスイッチSW2のみが、予め定めた所定電圧以上のバッテリ電圧のときにおいて、予め定めた所定期間以上オン状態にされたとき、ダウンスイッチSW2がオン状態にされたと判別される。
【0048】
ステップS7に続いて、アップ出力判定処理ルーチンが実行される(ステップS8)。アップ出力判定処理ルーチンに入ると、図6に示すように、両スイッチオンフラグがクリアされているか否かがチェックされる(ステップS81)。ステップS81において、両スイッチオンフラグがクリアされていないと判別されたときは、アップ出力判定処理ルーチンは終了される。
【0049】
ステップS81において、両スイッチオンフラグがクリアされていると判別されると、ステップS81に続いてアップスイッチオンフラグがセットされているか否かがチェックされる(ステップS82)。
【0050】
ステップS82において、アップスイッチオンフラグがセットされていると判別されると、アップ出力判定時間カウンタがインクリメントされ(ステップS83)、アップ出力判定時間、例えば130ms経過した否かがチェックされる(ステップS84)。ステップS84においてアップ出力判定時間経過していないと判別されたときはアップ出力判定処理ルーチンは終了される。
【0051】
ステップS84においてアップ出力判定時間経過していると判別されたときは、押し放しフラグがクリアか否かチェックされ(ステップS85)、押し放しフラグがクリアされていると判別されたときは、ステージカウンタ(STCNT)のカウント値が4未満か否かがチェックされ(ステップS86)、ステップS86において4未満と判別されたときはステージカウンタ(STCNT)がインクリメントされる(ステップS87)。ここで、ステージカウンタのカウント値は点灯させる発光ダイオードの数を示している。
【0052】
ステップS86において4未満でないと判別されたときはステージカウンタのカウント値が計数値5以上のときに計数値が4とされる(ステップS88)。ここで、ステージカウンタのカウント値が4未満か否かを見たのは発光ダイオードの数が発光ダイオードLED1〜LED4までの4つであるためであり、ステージカウンタのカウント値が5以上のときは4としたのも同様の理由による。
【0053】
ステップS87、ステップS88に続いて、押し放しフラグがセットされる(ステップS901)。ステップS901に続いてアップ出力判定時間カウンタがクリアされて(ステップS90)、アップ出力判定処理ルーチンは終了される。ステップS85において押し放しフラグがクリアされていないと判別されたときは、ステップS90から実行される。
【0054】
ステップS82において、アップスイッチオンフラグがセットされていないと判別されたときは、ステップS82に続いて押し放しフラグがクリアされて(ステップS89)、ステップS90から実行される。ステップS81において両スイッチオンフラグがクリアされていないときは、アップスイッチSW1とダウンスイッチSW2とが同時にオンされている場合であって、アップ出力判定処理ルーチンは終了される。
【0055】
上記のように、アップ出力判定処理ルーチン(ステップS8)においては、アップスイッチSW1が押し放しのときには押し放しフラグがセットされて、押し放しが防止される。アップスイッチSW1が押し放しでないとき、すなわち押し放しフラグがクリアされているときには、アップスイッチSW1のオン時間がアップ出力判定時間カウンタによって計時され、出力判定時間を経過する1回のアップスイッチSW1のオン毎にステージカウンタのカウント値が順次インクリメントされることになる。このようにアップ出力判定処理ルーチン(ステップS8)では、アップスイッチSW1が出力判定時間以上オン状態にされたとき、1回のアップスイッチSW1のオン操作と判定されて、アップスイッチSW1のそのオン操作毎にステージカウンタのカウント値がインクリメントされる。
【0056】
ステップS8に続いて、ダウン出力判定処理ルーチンが実行される(ステップS9)。ダウン出力判定処理ルーチンに入ると、図7に示すように、ステップS81と同様に両スイッチオンフラグがクリアされているか否かがチェックされる(ステップS91)。ステップS91において、両スイッチオンフラグがクリアされていないと判別されたときは、ダウン出力判定処理ルーチンは終了される。
【0057】
ステップS91において、両スイッチオンフラグがクリアされていると判別されると、ステップS91に続いてダウンスイッチオンフラグがセットされているか否かがチェックされる(ステップS92)。
【0058】
ステップS92において、ダウンスイッチオンフラグがセットされていると判別されると、ダウン出力判定時間カウンタがインクリメントされ(ステップS93)、ダウン出力判定時間経過した否かがチェックされる(ステップS94)。ステップS94においてダウン出力判定時間経過していないと判別されたときはダウン出力判定処理ルーチンは終了される。
【0059】
ステップS94においてダウン出力判定時間経過していると判別されたときは、押し放しフラグがクリアされているか否かがチェックされる(ステップS95)。ステップS95において押し放しフラグがクリアされていると判別されたときは、ステージカウンタのカウント値が0でないか否かがチェックされる(ステップS96)。ステップS96においてステージカウンタのカウント値が0でないと判別されたときは、ステージカウンタのカウント値がディクリメントされる(ステップS97)。
【0060】
ステップS97に続いて、ダウン出力判定時間カウンタがクリアされて(ステップS98)、ダウン出力判定処理ルーチンは終了される。ステップS96においてステージカウンタのカウント値が0であると判別されたときはステップS97がスキップされてステップS98が実行される。ステップS95において、押し放しフラグがクリアされていないと判別されたときは、ステップS96およびステップS97がスキップされて、ステップS98が実行される。
【0061】
ステップS92において、ダウンスイッチオンフラグがセットされていないと判別されたときは、押し放しフラグがクリアされて(ステップS99)、ステップS98が実行される。
【0062】
上記のように、ダウン出力判定処理ルーチン(ステップS9)においては、ダウンスイッチSW2が押し放しのときには押し放しフラグがセットされて、押し放しが防止される。ダウンスイッチSW2が押し放しでないとき、すなわち押し放しフラグがクリアされているときには、ダウンスイッチSW2のオン時間がダウン出力判定時間カウンタによって計時され、出力判定時間経過する1回のダウンスイッチSW2のオン毎にステージカウンタのカウント値が順次ディクリメントされることになる。このようにダウン出力判定処理ルーチン(ステップS9)では、ダウンスイッチSW2が出力判定時間以上オン状態にされたとき、1回のダウンスイッチSW2のオン操作と判定されて、ダウンスイッチSW2のそのオン操作毎にステージカウンタのカウント値がディクリメントされる。
【0063】
ここで、後記のLED点灯制御処理ルーチン(ステップ11)およびスイッチング回路制御処理ルーチン(ステップS14)からも明らかなように、ステージカウンタはそのカウント値に基づいてLEDの点灯数、消灯数を制御すると共に、スイッチング回路14によるヒータ15の、通電オン・オフ期間を制御するためのカウンタである。
【0064】
ステップS9に続いて、バッテリ電圧検出処理ルーチンが実行される(ステップS10)。バッテリ電圧検出処理ルーチンに入ると、図8に示すように、バッテリ電圧に基づくA/D変換された分圧電圧Vb(以下、ステップS10およびその関連の説明において、混同を生じない限り、バッテリ電圧とも記す)が読み込まれ(ステップS101)、ステップS101に続いて通電フラグがセットされているか否かがチェックされる(ステップS102)。
【0065】
通電により、ヒータ15とバッテリ11とグリップヒータ制御装置10との間を接続する配線22による電圧降下を補償するための補正電圧値は実測により予め求められている。グリップヒータ制御装置10で、この実測値は0.7Vであったが、この値は電線の種類、通電電流等、車種によって変化する値である。分圧回路12の分圧比に基づく補正電圧値(以下、ステップS10およびその関連の説明において、混同を生じない限り補正電圧値、または単に補正値とも記す)に変換されて、例えば、制御回路18に内蔵のROMに格納されている。
【0066】
ステップS102において通電フラグがセットされていると判別されると、補正値が制御回路18に内蔵のROMから読み出され(ステップS103)、読み出された補正値とA/D変換された分圧電圧Vbとが加算されて、補正バッテリ電圧を得る(ステップS104)。ステップS104における加算処理によってバッテリ11の端子位置におけるバッテリ11の出力電圧が実質的に検出されたことになる。
【0067】
ステップS104に続いて、補正バッテリ電圧が前回までの処理にて得られた補正バッテリ電圧の累算値に加算される(ステップS105)。ステップS102において、通電フラグがセットされていないと判別されたときは、ステップS103およびS104をスキップしてステップS102からステップS105が実行される。ステップS105に続いて、累算回数を示すA/Dカウンタのカウント値がインクリメントされる(ステップS106)。次いで、A/Dカウンタのカウント値が予め定めた値、例えば16か否かがチェックされる(ステップS107)。ステップS107においてA/Dカウンタのカウント値が予め定められた値でないと判別されたときはバッテリ電圧検出処理ルーチンは終了させられる。
【0068】
ステップS107においてA/Dカウンタのカウント値が予め定められた値であると判別されたときは、ステップS107に続いてバッテリ電圧が後記の設定値より大きいか否かを示すバッテリ電圧フラグがセットされているか否かがチェックされる(ステップS108)。
【0069】
ステップS108においてバッテリ電圧フラグがセットされていると判別されたときは、予め定められて内蔵ROMに格納されているヒータ15への通電禁止のためのバッテリ電圧の下限設定閾値(=設定値)が読み出される(ステップS109)。ここで、下限設定閾値はバッテリ11で必要とされる最低限の電圧値を分圧回路12の分圧比に基づいて分圧された値である。ステップS108においてバッテリ電圧フラグがセットされていないと判別されたときは、ステップS108に続いて下限設定閾値にヒステリシスとして設定された電圧が加えられて予め内蔵ROMに格納されているバッテリ電圧の上限設定閾値(設定値)が読み出される(ステップS1010)。ここで、上限設定閾値についても分圧回路12の分圧比に基づいて分圧された値であり、例えば0.5Vを分圧回路12の分圧比に基づいて分圧された値がヒステリシス電圧として下限設定閾値に加えられて上限設定閾値とされる。
【0070】
ステップS109、ステップS1010の実行に続いて、補正値が加算されたバッテリ電圧の所定回の累算値、例えば16回の累算値を平均した平均補正バッテリ電圧が設定値より大きいか否かがチェックされ(ステップS1011)、ステップS1011において大きいと判別されたときはバッテリ電圧フラグがセットされ(ステップS1012)、続いてA/Dカウンタのカウント値および累算値がクリアされ(ステップS1014)、バッテリ電圧検出処理ルーチンは終了される。ステップS1011において大きいと判別されないときはバッテリ電圧フラグがクリアされ(ステップS1013)、続いてA/Dカウンタのカウント値および累算値がクリアされ(ステップS1014)、バッテリ電圧検出処理ルーチンは終了される。
【0071】
上記において、ステップS105からステップS107を実行して、補正電圧値が加算された分圧電圧Vbを所定回数、例えば16回累算し、ステップS1010で累算値の平均値を採って平均補正バッテリ電圧を得て、平均補正バッテリ電圧と設定値とを比較するのは、平均補正バッテリ電圧を得ることによって、バッテリ11の端子位置における出力電圧を、ノイズの影響を軽減してより正確に得るためである。
【0072】
上記のバッテリ電圧検出処理ルーチン(ステップS10)において、バッテリ11の電圧印加当初においてはバッテリ電圧フラグがセットされておらず、ステップS108に続いてステップS1010が実行されてバッテリ電圧フラグはステップS1013においてクリアされ、また、バッテリ11の電圧印加当初ではバッテリ電圧はまだ安定しておらず、バッテリ電圧はステップS1010にて読み出された上限設定閾値より低く、バッテリ電圧フラグはステップS1013においてクリアされて、累算値がクリアされる(ステップS1010、S1013、S1014)。このステップ実行の継続により、バッテリ電圧が上限設定閾値より増加したときはバッテリ電圧フラグはステップS1012においてセットされる。
【0073】
このステップの実行においてバッテリ電圧フラグがセットされたために、次のステップS108からの実行において、ステップS108に続いてステップS109が実行され、ステップS109にて読み出された下限設定閾値がステップS1010において設定値とされ、バッテリ電圧が下限設定閾値に低下するまでバッテリ電圧フラグのセットは継続され、バッテリ電圧が下限設定閾値に低下したとき、ステップS1010からステップS1013が実行されることになって、バッテリ電圧フラグはクリアされる。
【0074】
この結果、バッテリ電圧フラグはヒステリシスを有する設定値(下限設定閾値と上限設定閾値)に対応して、図14に模式的に示すようにバッテリ電圧の変化に対してバッテリ電圧フラグのセット、クリアが行われる。図14(a)はバッテリ電圧の変化を示し、図14(b)はバッテリ電圧フラグのセット、クリアの状態を示す。
【0075】
上記のように、通電フラグがセットされているときのみ、ヒータ15への通電時における配線22の抵抗による電圧降下である補正値を検出バッテリ電圧に加算したため、ヒータ15への通電時における配線22の抵抗による電圧降下が補償されることになる。また、予め定めた回数の累算値を用いたため、バッテリ電圧の検出時におけるノイズ分を平滑化することができてバッテリ電圧検出のための専用のローパスフィルタ等が不要となる。
【0076】
上記において、ステップS1010において繰り返し回数に基づき平均値を求めて得た、平均補正バッテリ電圧値と設定値とを比較する場合を例示したが、平均値を求めずに、繰り返し回数、例えば16回累算した値を用いてもよく、この場合はステップS109およびステップS1010において(×16)と表示したように、上限設定閾値および下限設定閾値を16倍して設定値とすればよい。この場合でも、ノイズの影響は実質的に軽減されて、ローパスフィルタを必要としない。
【0077】
ステップS10に続いて、LED点灯制御処理ルーチンが実行される(ステップS11)。LED点灯制御処理ルーチンに入ると、図9および図10に示すように、オンディレータイマカウンタがカウント中か否かチェックされる(ステップS111)。バッテリ電圧印加直後においてはステップS111にてオンディレータイマカウンタはカウント中でないと判別されて、初期通電フラグがセットされているか否かがチェックされる(ステップS112)。
【0078】
初期通電フラグは初期設定においてセットされており、初期通電フラグのチェックに次いでバッテリ電圧フラグがセットされているか否かがチェックされる(ステップS113)。通電初期ではバッテリ電圧フラグがセットされておらず(すなわち上限設定閾値に達しておらず)、ステップS122においてオンディレータイマカウンタがクリアされて、発光ダイオードLED1〜LED4の全てが消灯される(ステップS132)。
【0079】
次に、バッテリ電圧が上昇してステップS113においてバッテリ電圧フラグがセットされると、オンディレータイマフラグがセットされ(ステップS114)、オンディレータイマカウンタがインクリメントされる(ステップS115)。続いてオンディレータイマカウンタによる設定時間、例えば10sec経過したか否かがチェックされる(ステップS116)。
【0080】
バッテリ電圧フラグがセットされてから設定時間(10sec)経過するまではステップS116に続いてステージカウンタのカウント値がチェックされ、ステージカウンタのカウント値に基づく数の発光ダイオードLEDが点灯される。ステージカウンタのカウント値が0のときは全発光ダイオードLED1〜LED4が消灯される(ステップS123およびステップS132)。ステージカウンタのカウント値が1のときは発光ダイオードLED4のみが点灯される(ステップS124およびステップS125)。
【0081】
ステージカウンタのカウント値が2のときは発光ダイオードLED3およびLED4のみが点灯される(ステップS126およびステップS127)。ステージカウンタのカウント値が3のときは発光ダイオードLED2、LED3およびLED4のみが点灯される(ステップS128およびステップS129)。ステージカウンタのカウント値が4のときは全発光ダイオードLED1〜LED4が点灯される(ステップS130およびステップS131)。
【0082】
ステップS113においてバッテリ電圧フラグがセットされていると判定されて、ステップS114が実行されることによりオンディレータイマはカウント中となり、次のステップS111からの実行時にはステップS111に続いてステップS114から実行される。
【0083】
ステップS116において設定時間(10sec)経過したと判別されたときは、ステップS116に続いて初期通電フラグはクリアされ(ステップS117)、オンディレータイマフラグがクリアされる(ステップS118)。次いでオンディレータイマカウンタがクリアされて(ステップS119)、ステップS123から実行される。この実行によりステージカウンタのカウント値に基づく数のLEDが点灯される(ステップS124〜S132)。
【0084】
ステップS118が実行されたことにより、次のステップS111におけるチェック時からはオンディレータイマカウント中でないと判別されて、ステップS111に続いて初期通電フラグがチェックされる(ステップS112)。この場合にはステップS117の実行により初期通電フラグはクリアされていて、ステップS112に続いてバッテリ電圧フラグがセットされているか否かがチェックされる(ステップS121)。
【0085】
ステップS121のチェックにおいてバッテリ電圧フラグがセットされていると判別されたときは、ステップS116は実行されず、ステップS121に続いてステップS117から実行される。ステップS121のチェックにおいてバッテリ電圧フラグがセットされていないと判別されたときは、ステップS121に続いてステップS122が実行される。
【0086】
バッテリ電圧フラグのセット、クリアについてはバッテリ電圧検出処理ルーチンおよび図14によって説明したとおりであって、バッテリ電圧フラグのセット、クリアを参照し、LED点灯制御処理ルーチンの実行によって、図15の(a)および(c)に示す如く、バッテリ電圧印加開始時から、バッテリ電圧が最初に上限設定閾値に上昇するまでは全発光ダイオードLED1〜LED4が消灯され、最初に上限設定閾値に達したときから設定時間、例えば10sec間はステージカウンタのカウント値に基づく数の発光ダイオードLEDが点灯される。設定時間(10sec)中においてバッテリ電圧が低下し、下限設定閾値にまで低下したときは設定時間(10sec)経過後、次にバッテリ電圧が上限設定閾値に達するまで全発光ダイオードLED1〜LED4は消灯される。このようにバッテリ電圧が回復して上限設定閾値に達すると、以降オンディレータイマは無関係となり、下限設定閾値に達するまでステージカウンタのカウント値に基づく数の発光ダイオードLEDが点灯される。
【0087】
このように発光ダイオードLEDの点灯と消灯との閾値を形成するバッテリ電圧に0.5Vのヒステリシスを持たせ、上限設定閾値に達してから次に下限設定閾値に達するまでの範囲でのみステージカウンタのカウント値に基づく数の発光ダイオードLEDを点灯させる。さらに、バッテリ電圧印加開始時から最初に上限設定閾値に達した後オンディレータイマに予め設定された期間、例えば10sec間は発光ダイオードLEDを点灯させる。このようにしたのは、オンディレータイマに予め設定された期間、例えば10sec間の期間中に発光ダイオードLEDの点滅を繰り返させないためである。
【0088】
ステップS11に続いて、スイッチング回路制御処理ルーチンが実行される(ステップS14)。スイッチング回路制御処理ルーチンに入ると、図11〜図13に示すように、サイクルタイムカウンタがインクリメントされる(ステップS141)。サイクルタイムはスイッチング回路14の(オン期間+引き続く次のオフ期間)の1周期に対応しており、サイクルタイムの設定時間は、例えば100msに設定してある。
【0089】
ステップS141に続いて、設定時間(100ms)経過したか否かがチェックされる(ステップS142)。ステップS142において設定時間(100ms)経過していると判別されると、サイクルタイムカウンタがクリアされ(ステップS143)、バッテリ電圧フラグがセットされているか否かがチェックされる(ステップS144)。ステップS144においてバッテリ電圧フラグがセットされていると判別されたときは、ステップS144に続いてステージカウンタのカウント値は0か否かがチェックされる(ステップS145)。
【0090】
ステップS145においてステージカウンタのカウント値が0であると判別されたときは、ステップS145に続いて0がPWMデューティーとして設定される(ステップS151)。ステップS151の設定によってトランジスタQ1〜Q3はサイクルタイムの設定時間中オフ状態に制御されて、ヒータ15はサイクルタイムの設定時間中オフ状態に制御される。すなわち、0%の通電率に制御される。
【0091】
ステップS145においてステージカウンタのカウント値が0でないと判別されたときは、ステップS145に続いてステージカウンタのカウント値が1か否かがチェックされる(ステップS152)。ステップS152においてステージカウンタのカウント値が1であると判別されると、4がPWMデューティーとして設定される(ステップS153)。ステップS153の設定によってトランジスタQ1〜Q3はサイクルタイムの設定時間中における40%の期間がオン状態に制御されて、ヒータ15はサイクルタイムの設定時間中における40%の期間オン状態に制御される。すなわち、40%の通電率に制御される。
【0092】
ステップS152においてステージカウンタのカウント値が1でないと判別されたときは、ステップS152に続いてステージカウンタのカウント値が2か否かがチェックされる(ステップS154)。ステップS154においてステージカウンタのカウント値が2であると判別されると、6がPWMデューティーとして設定される(ステップS155)。ステップS155の設定によってトランジスタQ1〜Q3はサイクルタイムの設定時間中における60%の期間がオン状態に制御されて、ヒータ15はサイクルタイムの設定時間中における60%の期間オン状態に制御される。すなわち、60%の通電率に制御される。
【0093】
ステップS154においてステージカウンタのカウント値が2でないと判別されたときは、ステップS154に続いてステージカウンタのカウント値が3か否かがチェックされる(ステップS156)。ステップS156においてステージカウンタのカウント値が3であると判別されると、8がPWMデューティーとして設定される(ステップS157)。ステップS157の設定によってトランジスタQ1〜Q3はサイクルタイムの設定時間中における80%の期間がオン状態に制御されて、ヒータ15はサイクルタイムの設定時間中における80%の期間オン状態に制御される。すなわち、80%の通電率に制御される。
【0094】
ステップS156においてステージカウンタのカウント値が3でないと判別されたときは、ステップS156に続いてステージカウンタのカウント値が4か否かがチェックされる(ステップS158)。ステップS158においてステージカウンタのカウント値が4であると判別されると、FがPWMデューティーとして設定される(ステップS159)。ステップS159の設定によってトランジスタQ1〜Q3はサイクルタイムの設定時間中オン状態に制御されて、ヒータ15はサイクルタイムの設定時間中オン状態に制御される。すなわち、100%の通電率に制御される。
【0095】
ステップS158において、ステージカウンタのカウント値が4でないと判別されたときはステップS151から実行される。
【0096】
ステップS142において、設定時間経過していないと判別されたときは、ステップS142に続いて、PWMデューティーが設定時間より短いか否かがチェックされる(ステップS146)。ステップS146においてPWMデューティーが設定時間より短いと判別されたときは通電フラグはセットされ(ステップS148)、スイッチング回路制御処理ルーチンは終了される。ステップS146においてPWMデューティーが設定時間より短くないと判別されたときは通電フラグはクリアされ(ステップS150)、スイッチング回路制御処理ルーチンは終了される。
【0097】
ステップS151、ステップS153、ステップS155、ステップS157、ステップS159に続いて、PWMデューティーは0か否かがチェックされ(ステップS160)、ステップS160においてPWMデューティーは0であると判別されたときには通電フラグはクリアされて(ステップS162)、スイッチング回路制御処理ルーチンは終了される。ステップS160においてPWMデューティーは0でないと判別されたときには、通電フラグはセットされて(ステップS164)、スイッチング回路制御処理ルーチンは終了される。
【0098】
ここで、バッテリ電圧フラグのセット、クリアに基づき、バッテリ電圧と通電禁止区間および通電可能区間とは図15の(a)および図15(b)に模式的に示すごとくになる。この場合、通電可能区間は、ヒータ15に通電が可能な区間である。このバッテリ電圧フラグによって通電が可能にされている区間において、上記のように、ステージカウンタのカウント値に対応した%のサイクルタイムの期間中、ヒータ15は通電制御される。
【0099】
スイッチング回路制御処理ルーチンに続いてEEPROM書き込み処理ルーチンが実行される(ステップS15)。EEPROM書き込みルーチンに入ると、ステージカウンタのカウント値が更新されたときのみ、その更新されたカウント値をEEPROM20の予め定めたアドレスに書き込む。EEPROM20に書き込まれたステージカウンタのカウント値はステージカウンタの初期値として使用される。
【0100】
そこで、ステージカウンタのカウント値の書き込み時に連続して奇数回、それぞれ各別に異なる予め定めたアドレスに書き込み、読み出し時に、前記書き込まれた3つのステージカウンタのカウント値を読み出し、読み出したステージカウンタのカウント値に同一のカウント値のものを検索して、それを初期値として使用してもよい。また、多数決判定によって判定して初期値としてもよい。
【0101】
次に、グリップヒータ制御装置10の車両における接続構造について図16により説明する。図16において、符号a〜符号gは接続端子を示し、符号h〜符号kおよび符号mはフューズを示し、その説明は省略する。
【0102】
バッテリ11からの出力はメインスイッチ23を介して、接続線22a、22b、22c、22d、22e、22f、22gを通してヒータ152、ヒータ151、グリップヒータ制御装置10に供給される。ここで、接続線22a、22b、22c、22d、22e、22f、22gは配線22を構成している。接続線22fはヒータ152とヒータ151を直列接続する接続配線であり、配線22を介して、分圧回路12の入力端xにおいてバッテリ電圧を受けて分圧している。なお、符号226はアース線である。
【0103】
このように、グリップヒータ制御装置10におけるバッテリ電圧の検出位置はバッテリ11の設置位置から離れており、検出バッテリ電圧は配線22による電圧降下の影響を受けている。
【0104】
バッテリ11からの出力はスタータスイッチ209のオンによりオン状態にされるリレースイッチ202を介してスタータモータ203に供給する。一方、交流発電機204にて得られた交流電力を充電装置205に供給して、前記交流電力を整流して整流出力によりバッテリ11を充電するようにしてある。
【0105】
メインスイッチ23を介したバッテリ11からの出力は、スタータスイッチ209を介してリレーコイル210に供給して、スタータスイッチ209のオンによりリレーコイル210を励磁し、リレースイッチ202を介してスタータモータを駆動するようにしてある。
【0106】
また、メインスイッチ23を介したバッテリ11からの出力は、ヘッドランプスイッチ212を介してヘッドランプ213に供給して、ヘッドランプスイッチ212のオンによりヘッドランプ213を点灯させるようにすると共に、ストップスイッチ214を介してストップランプ215に供給して、ストップスイッチ214のオンによりストップランプ215を点灯させるようにしてある。
【0107】
また、メインスイッチ23を介したバッテリ11からの出力は、ウインカーリレー220およびウインカースイッチ221を介してウインカーランプ223Rおよび223Lに供給して、ウインカースイッチ221によって指定された側のウインカーランプをウインカーリレー220に基づく周期で点滅を繰り返させるようにしてある。
【0108】
一方、LED点灯制御処理ルーチン(ステップS11)では、前記したように、バッテリ電圧印加開始時から最初に上限設定閾値に達したときからオンディレータイマにより予め設定された期間、例えば10sec間は発光ダイオードLEDを点灯させるようにした(ステップS116等を参照)場合を例示した。このようにしたのは、LEDの最初の点灯時からオンディレータイマにより上記予め設定された期間、例えば10sec間の期間中に発光ダイオードLEDの点滅を繰り返させないためである。
【0109】
これは、バッテリ11が新しい場合でも新しくない場合でも、バッテリ11から電力供給開始時、バッテリ電圧は上限設定閾値を超えるが、電力供給時から僅かの期間バッテリ電圧が変動して上限設定閾値と下限設定閾値とを横切る場合もあり、前記点灯を継続させる処理が行われない場合には、この間にLEDの点滅が繰り返されることになるが、この点滅を生じさせないようにオンディレータイマにより上記予め設定された期間、例えば10sec間の期間中に発光ダイオードLEDの点灯を行わせているのである。
【0110】
特に、バッテリが新しくない場合は、起動時におけるバッテリ11の負荷の急変、交流発電機204の出力を整流した整流出力のリプル、配線22における電圧降下等によって、図17のbに模式的に示すように起動時T0からバッテリ電圧は変動しながら増加する。この結果、バッテリ電圧は複数回上限設定閾値および下限設定閾値を横切ることになる。ちなみに、図17のaにおいてバッテリが新しい場合のバッテリ電圧を模式的に示している。
【0111】
このため、上記のオンディレータイマにより予め設定された期間、LEDを点灯させる機能を解除することによって、起動直後においてLEDの点滅が繰り返されることになる。このように、オンディレータイマの設定時間(10sec)の期間の発光ダイオードLED点灯維持を止めることによって、バッテリ電圧の印加時からLEDの点滅が繰り返されたときはバッテリが古くなっているとの表示とすることができる。
【0112】
【発明の効果】
以上説明した如く本発明のグリップヒータ制御装置によれば、バッテリ電圧印加時から最初に上限設定閾値に達した後予め定めた期間、点灯発光ダイオード数制御手段により定められた数の発光ダイオードを点灯させ、前記予め定めた期間経過後はバッテリ電圧が上限設定閾値に達してから次に下限設定閾値に達するまでの期間、点灯発光ダイオード数制御手段により定められた数の発光ダイオードを点灯させ、かつバッテリ電圧が下限設定閾値未満から次に上限設定閾値に達するまでの期間中は全発光ダイオードを消灯させるようにしたため、バッテリ電圧印加時からのバッテリ電圧の不安定期間においては発光ダイオードが点灯させられて、発光ダイオードの点滅による不安定感はなくなる。
【図面の簡単な説明】
【図1】本発明の実施の一形態にかかるグリップヒータ制御装置の構成を示すブロック図である。
【図2】本発明の実施の一形態にかかるグリップヒータ制御装置における制御回路の機能を示すブロック図である。
【図3】本発明の実施の一形態にかかるグリップヒータ制御装置の設置説明図である。
【図4】本発明の実施の一形態にかかるグリップヒータ制御装置の作用の説明に供するジェネラルフローチャートである。
【図5】本発明の実施の一形態にかかるグリップヒータ制御装置の作用の説明に供する制御回路判定処理ルーチンのフローチャートである。
【図6】本発明の実施の一形態にかかるグリップヒータ制御装置の作用の説明に供するアップ出力判定処理ルーチンのフローチャートである。
【図7】本発明の実施の一形態にかかるグリップヒータ制御装置の作用の説明に供するダウン出力判定処理ルーチンのフローチャートである。
【図8】本発明の実施の一形態にかかるグリップヒータ制御装置の作用の説明に供するバッテリ電圧検出処理ルーチンのフローチャートである。
【図9】本発明の実施の一形態にかかるグリップヒータ制御装置の作用の説明に供するLED点灯制御処理ルーチンのフローチャートである。
【図10】本発明の実施の一形態にかかるグリップヒータ制御装置の作用の説明に供するLED点灯制御処理ルーチンのフローチャートである。
【図11】本発明の実施の一形態にかかるグリップヒータ制御装置の作用の説明に供するスイッチング回路制御処理ルーチンのフローチャートである。
【図12】本発明の実施の一形態にかかるグリップヒータ制御装置の作用の説明に供するスイッチング回路制御処理ルーチンのフローチャートである。
【図13】本発明の実施の一形態にかかるグリップヒータ制御装置の作用の説明に供するスイッチング回路制御処理ルーチンのフローチャートである。
【図14】本発明の実施の一形態にかかるグリップヒータ制御装置の作用の説明に供するバッテリ電圧とバッテリ電圧フラグとの関係を示す模式図である。
【図15】本発明の実施の一形態にかかるグリップヒータ制御装置の作用の説明に供するバッテリ電圧、LED点灯およびヒータ通電制御の関係を示す模式図である。
【図16】本発明の実施の一形態にかかるグリップヒータ制御装置の車両における接続構造を説明する接続図である。
【図17】起動直後のバッテリ電圧の変動の説明に供する模式図である。
【符号の説明】
10…グリップヒータ制御装置 11…バッテリ
12…バッテリ電圧分圧回路 13…定電圧回路
14…スイッチング回路 15、151、152…ヒータ
16…スイッチユニット 18…制御回路
19…発光ダイオードユニット 20…EEPROM
21…ウオッチドッグ回路 22…配線
31…水晶発振器 SW1…アップスイッチ
SW2…ダウンスイッチ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a grip heater control device, and more particularly to a grip heater control device that controls a grip heater provided in a steering handle of a motorcycle, a snowmobile, a water bike, or the like.
[0002]
[Prior art]
Conventionally, in vehicles such as motorcycles and snowmobiles, a heater is provided on the grip to keep the grip provided on the steering handle warm, and the grip is heated by controlling the energization of the heater to the driver. It provides a comfortable driving environment.
[0003]
This type of vehicle grip heater control device is already known, for example, from Japanese Patent Application Laid-Open No. 10-79284 and Japanese Patent No. 3323247.
[0004]
A conventional vehicle grip heater control apparatus uses a potentiometer output voltage from a potentiometer as a comparison voltage in order to adjust the energization of the heater by operating a potentiometer integrated with a power switch. The switching circuit is turned on / off by PWM output generated by level comparison with a wave, for example, a triangular wave, and the heater is heated by controlling energization from the battery to the heater by the switching circuit.
[0005]
On the other hand, the grip heater control is incidental to the vehicle. In order to prioritize the vehicle running, before the battery voltage drops below the minimum voltage for driving the starter motor, It is necessary to stop the power supply from the battery. Therefore, when the battery voltage is close to the minimum voltage required for driving the starter motor by detecting the battery voltage, the battery voltage monitoring forcibly controls the switching circuit to the off state regardless of the comparison voltage value. A circuit is provided, and further, a fail-safe circuit for forcibly controlling the switching circuit to an OFF state when the comparison voltage becomes indefinite.
[0006]
Further, in the battery voltage monitoring circuit, when the voltage value based on the battery voltage supplied to the battery voltage monitoring circuit is less than the first voltage threshold value VS1, the switching circuit is controlled to be in the energization prohibited state and supplied to the battery voltage monitoring circuit. When the voltage value based on the battery voltage is larger than the second voltage threshold value VS2 (VS2> VS1), the switching circuit is controlled to be energized.
[0007]
In this case, the minimum required voltage value required for the battery is V N When the voltage drop due to the wiring resistance between the battery and the battery voltage monitoring circuit is Δv1, and the maximum detection error voltage assumed in the battery voltage monitoring circuit is Δv2, the first voltage threshold VS1 is set to VS1 = V N By setting −Δv1 + Δv2, hysteresis is caused by the first voltage threshold value VS1 and the second voltage threshold value VS2, and when the battery voltage drops, the energization prohibition state is set when the battery voltage drops below the first voltage threshold value VS1. When the voltage threshold value VS2 or higher is reached, the energization is enabled, the energization is prohibited, frequent repetition of energization is prevented, and the minimum battery voltage is maintained.
[0008]
[Problems to be solved by the invention]
However, when using the conventional vehicle grip heater control device, the voltage fluctuation of the AC generator appears strongly at the beginning of the battery voltage application, the battery voltage is not stable, and the light emitting diode repeatedly blinks, causing anxiety There was a problem of letting.
[0009]
SUMMARY OF THE INVENTION An object of the present invention is to provide a grip heater control device that can remove anxiety caused by blinking of a light emitting diode when a battery voltage is unstable immediately after application of a battery voltage.
[0010]
[Means for Solving the Problems]
The grip heater control device of the present invention is a grip heater control device including switching means for turning on / off the energization from the battery to the grip heater provided in the steering handle.
The number of lit light emitting diodes in a plurality of light emitting diodes is controlled based on the number of times the up switch means is turned on, and the number of lit light emitting diodes is controlled by controlling the number of turned off light emitting diodes based on the number of times the down switch means is turned on. Number control means;
The number of light-emitting diodes that illuminate during the period from when the battery voltage reaches the upper limit setting threshold to the next lower limit setting threshold, with the threshold set by adding a predetermined voltage to the lower limit setting threshold prohibiting energization of the heater as the upper limit setting threshold An energization control means for controlling on / off of the switching means to an energization rate determined by the control means;
The number of light emitting diodes determined by the lighting light emitting diode number control means is turned on for a predetermined period after the upper limit setting threshold is first reached after the application of the battery voltage, and the battery voltage is set to the upper limit after the predetermined period has elapsed. Light emitting diode lighting control means for turning on the number of light emitting diodes determined by the lighting light emitting diode number control means during the period from reaching the threshold value to the next lower limit setting threshold value,
It is provided with.
[0011]
According to the grip heater control device according to the present invention, the number of light emitting diodes is determined based on the number of times the up switch means is turned on and the number of times the down switch means is turned on. Therefore, there is a feeling of operation in the ON operation of the up switch means and the ON operation of the down switch means, and further, the instruction by the ON operation of the up switch means and the down switch means can be easily visually recognized from the number of light emitting diodes. In this case, for example, if the light emitting diodes are provided in a line, it is easy to visually recognize the number of the light emitting diodes.
[0012]
Further, according to the grip heater control device according to the present invention, the switching means is switched to the energization rate determined by the lighting light emitting diode number control means during the period from when the battery voltage reaches the upper limit setting threshold to the next lower limit setting threshold. ON / OFF is controlled. Since the energization rate for the heater corresponds to the number of lighting light emitting diodes, the heater temperature based on the on / off control can be easily predicted from the number of lighting light emitting diodes.
[0013]
Further, according to the grip heater control device of the present invention, the number of light emitting diodes determined by the lighting light emitting diode number control means is lit for a predetermined period after the upper limit setting threshold is first reached after the battery voltage is applied. Therefore, there is no anxiety when the battery voltage is not stable in the initial application of the battery voltage. After the predetermined period has elapsed, the number of light emitting diodes determined by the lighting light emitting diode number control means is turned on during the period from when the battery voltage reaches the upper limit setting threshold to the next lower limit setting threshold, The energization control can be visually recognized.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
A grip heater control device according to the present invention will be described according to an embodiment. FIG. 1 is a block diagram showing a configuration of an embodiment of a grip heater control device according to the present invention, and FIG. 2 is a block diagram showing a function of a control circuit in the embodiment of the grip heater control device according to the present invention. FIG. 3 is an installation explanatory view of the grip heater control device according to the embodiment of the present invention.
[0015]
As shown in FIG. 3, a front fork 25 comprising a pair of pipes for suspending a front wheel (not shown) is provided at the front end of the body frame of the motorcycle, and the front wheel is steered at the upper end of the front fork 25. A cylindrical steering handle 27 is provided so as to extend separately to the left and right via the steering stem. A left grip 17 made of rubber or the like is attached to the left end of the steering handle 27. Similarly, a right grip made of rubber or the like is attached to the right end of a steering handle (not shown).
[0016]
In addition, a cowling 29 made of a resin material is attached to the outside of the vehicle body integrally with the vehicle body, and the cowling 29 reduces air resistance during traveling. The cowling 29 includes a left cowling 24 provided on the left side of the vehicle body and a right cowling (not shown) provided on the right side of the vehicle body.
[0017]
The grip heater control device 10 displays a heater 15 composed of a flexible printed wiring board or the like built in the left grip 17 and a right grip (not shown), the setting status of the heater 15, and sets the current amount to the heater 15. And a switch unit 16 for
[0018]
As shown in FIG. 3, the switch unit 16 is embedded in the left cowling 24, and its upper part slightly protrudes from the surface of the left cowling 24.
[0019]
As shown in FIG. 1, the grip heater control device 10 divides a battery voltage supplied from a battery 11 mounted on a motorcycle via a main switch 23 by a battery voltage dividing circuit 12, thereby dividing the battery voltage. A divided voltage Vb based on the battery voltage is output from the circuit 12. On the other hand, the voltage from the battery 11 via the main switch 23 is supplied to the constant voltage circuit 13 to make the voltage constant, and the constant voltage V 13 DD Is output. On the other hand, the battery voltage supplied via the main switch 23 is switched by the switching circuit 14, and by this switching, the energization from the battery 11 to the heater 15 and the energization interruption are controlled to control the heat generation amount of the heater 15. .
[0020]
The battery voltage dividing circuit 12 divides the battery voltage by the resistors R1 and R2 and the variable resistor VR connected in series, and outputs the divided voltage Vb via the resistor R3. Here, the capacitor C1 is a smoothing capacitor, and the diode D1 has a constant voltage V DD This is a diode for preventing a backflow from the capacitor and for forming a discharge path of the capacitor C1. ZD1 is a Zener diode for limiting the upper limit voltage, and limits the upper limit voltage of the divided voltage Vb to the Zener voltage.
[0021]
In addition to the rectifying diode D2 and the smoothing capacitor C2, the constant voltage circuit 13 supplies the battery voltage rectified by the diode D2 and smoothed by the capacitor C2 to the constant voltage V. DD A three-terminal regulator 131 and a capacitor C3 for smoothing the output of the three-terminal regulator 131. Constant voltage V DD Is used as a power source for a switch unit 16, a control circuit 18, a light emitting diode unit (also referred to as an LED unit) 19, an EEPROM 20, and a watchdog circuit (WD) 21 provided in the grip heater control device 10.
[0022]
The switching circuit 14 receives the voltage obtained by rectifying the battery voltage supplied from the battery 11 via the main switch 23 by the diode D2 and smoothing it by the capacitor C2, and is controlled to be turned on / off by the output from the terminal OUT0 of the control circuit 18. A steering amplifier, a transistor Q1 constituting a preamplifier, a transistor Q2 constituting a driver driven on / off by the collector output of the transistor Q1, and a power transistor Q3 driven on / off by the transistor Q2, The power transistor Q3 controls on / off of energization from the battery 11 to the heaters 151 and 152 that are separately provided on the steering wheel and connected in series to form the heater 15.
[0023]
Here, the resistors R6 and R7 in the switching circuit 14 are bias resistors of the transistor Q1. The resistors R4 and R5 are collector load resistors of the transistor Q1, and the capacitor C4 is a smoothing capacitor. A resistor R8 and a resistor R9 are bias resistors of the transistor Q3, and drive the output transistor Q3 on and off with the output of the transistor Q2. The Zener diode ZD2 is a voltage limiting Zener diode, and the Zener diode ZD3 is a surge absorber.
[0024]
Therefore, during the period when the terminal OUT0 of the control circuit 18 is at a high potential, the transistors Q1 to Q3 are controlled to be turned on, and the heater 15 is energized from the battery 11 via the main switch 23. During the period when the terminal OUT0 of the control circuit 18 is at a low potential, the transistors Q1 to Q3 are controlled to be in an off state, and the energization to the heater 15 is cut off.
[0025]
The switch unit 16 has a constant voltage V by a resistor R10. DD Output to the control circuit 18 by being pulled up and pressed, and an up switch SW1 for instructing an increase in the energization period to the heater 15, and a constant voltage V by a resistor R11. DD And a down switch SW2 for sending an output when the switch is pulled up and pressed to the control circuit 18 to instruct a decrease in the energization period of the heater 15.
[0026]
The light-emitting diode unit 19 includes light-emitting diodes LED1 to LED4 that are controlled to be turned on and off by outputs from the terminals OUT1 to OUT4 of the control circuit 18, and the light-emitting diodes LED1 to LED4 are adjacent to each other in approximately one row and integrally. It is arranged.
[0027]
By driving the light emitting diodes LED4, LED3, LED2, and LED1, the energization period is instructed to increase sequentially in the order of lighting of only the light emitting diode LED4, lighting of the light emitting diodes LED4 and LED3,... Indicates that Resistors R12 to R15 in the light emitting diode unit 19 are current limiting resistors to the light emitting diodes LED1 to LED4.
[0028]
The EEPROM 20 is a storage device that receives the output from the control circuit 18 and stores and updates the count value of the stage counter, which will be described later. The stored content is used as the initial value of the count value of the stage counter at the time of restart. use.
[0029]
The watchdog circuit 21 detects whether or not the control circuit 18 is malfunctioning by looking at the output potential (high potential / low potential) from the terminal PO1 of the control circuit 18 output from the control circuit 18 in operation. In the case of malfunction, the control circuit 18 is reset to reset the operation of the control circuit 18.
[0030]
The control circuit 18 is composed of a computer that operates in response to the oscillation output from the crystal oscillator 31. Basically, the control circuit 18 receives the output from the up switch SW1 and the down switch SW2 and determines whether or not it has been pressed for a predetermined period. Switch output processing means 180 that performs switch processing such as determination when both the switch SW1 and the down switch SW2 are pressed, detects the battery voltage by receiving the divided voltage Vb, and is necessary for the battery voltage to drive the starter motor The battery voltage detection determination means 181 for determining whether or not the minimum voltage value is exceeded is functionally provided (see FIG. 2).
[0031]
Further, the control circuit 18 basically receives the outputs from the up switch SW1 and the down switch SW2, determines the ON period and the ON number of the up switch SW1, and determines the ON period and the ON number of the down switch SW2. Based on the outputs from the up / down instruction period determining means 182, the up / down instruction period determining means 182 and the battery voltage detection determining means 181, the energization duty ratio setting means 183 for substantially setting the energization to the heater 15 and its duty ratio. , Functionally provided with pulse generation means 185 for generating a pulse for control indicating whether the control circuit 18 is normal or abnormal from the terminal PO1.
[0032]
Furthermore, the battery voltage detection determination means 181 averages a correction battery voltage obtained by adding a voltage drop generated when the wiring 22 connecting the heater 15 and the battery 11 is energized to the battery voltage detected every time the battery voltage is detected. Means for determining the battery voltage.
[0033]
Further, the up / down instruction period determining means 182 controls the number of light-emitting light emitting diodes based on the number of times that the up switch SW1 is turned on and controls the number of light-off light emitting diodes based on the number of times that the down switch SW2 is turned on. Including means for controlling the number.
[0034]
The energization duty ratio setting means 183 uses the threshold obtained by adding a predetermined voltage to the lower limit setting threshold for prohibiting energization of the heater 15 as the upper limit setting threshold, and then the lower limit setting threshold after the battery voltage reaches the upper limit setting threshold. Means for controlling on / off of the switching circuit 14 at a current rate determined by means for controlling the number of light-emitting light emitting diodes, and predetermined after reaching the upper limit threshold value for the first time from the application of the battery voltage. The number of light-emitting diodes that are determined by the means for controlling the number of light-emitting light-emitting diodes is turned on for a predetermined period, and after the predetermined period has elapsed, the battery voltage reaches the upper limit setting threshold and then reaches the lower limit setting threshold. Controls lighting of the number of light emitting diodes determined by the means for controlling the number of light emitting diodes during the period, and the battery voltage is set to the lower limit During the period from less than the value until the next reaches the upper limit setting threshold includes means for turning off control of all light-emitting diodes.
[0035]
Here, the up / down instruction period determination unit 182 and the energization duty ratio setting unit 183 substantially function as the PWM unit 184.
[0036]
Next, the operation of the grip heater control device 10 will be described based on the flowcharts shown in FIGS.
[0037]
FIG. 4 shows a general flowchart of the grip heater control device 10.
[0038]
When the operation of the grip heater control device 10 is started, the count value of the stage counter written in the EEPROM 20 at the end of the previous operation, that is, the grip heater driving state is read, the interrupt timer time is set, and the flag An initial setting such as setting or clearing a class is made (step S1). Here, the time of the interrupt timer is set to 10 ms, for example.
[0039]
Following the initial setting in step S1, it is checked whether an interrupt flag based on the interrupt timer is set (step S2). Here, for example, an interrupt flag is set every 10 ms.
[0040]
If it is determined by the check in step S2 that the interrupt flag is not set, a control circuit determination processing routine is executed (step S3), and then executed again from step S2.
[0041]
When the control circuit determination processing routine is entered, the watchdog circuit 21 receives the output from the terminal PO1 of the control circuit 18, and when the high potential and the low potential are alternately sent continuously from the terminal PO1, the control circuit Is determined to be normal. Specifically, as shown in FIG. 5, the count value of the internal counter is cleared (step S31), and the count of the internal counter is started (step S32). Subsequent to step S32, it is checked whether or not the count value of the internal counter has reached 10 and waits until the count reaches 10 (step S33). When the count reaches 10 in step S33, it is checked after step S33 whether or not the output of the terminal PO1 of the control circuit 18 is at a high potential (HIGH) (step S34). If it is determined in step S33 that the output of the terminal PO1 is at a high potential, the output of the terminal PO1 is set to a low potential (LOW) (step S35). If it is determined in step S33 that the output of terminal PO1 is at a low potential, the output of terminal PO1 is set to a high potential (step S36). The control circuit determination routine is completed by executing steps S35 and S36.
[0042]
Here, in step S33, if the internal counter is incremented every 0.1 ms, for example, 10 count is 1 ms. When the control circuit 18 is normal, steps S35 and S36 are performed every 1 ms. The high potential of 1 ms and the low potential of 1 ms are alternately output from the terminal PO1 of the control circuit 18 repeatedly. When the control circuit 18 is not normal, the execution of step S35 or step S36 is continued for more than 1 ms, and a high potential or low potential output is output from the terminal PO1 of the control circuit 18 for a predetermined processing time (steps S4 to S11 described later). , S14 and S15, and the total processing time of step S3).
[0043]
As described above, when the output from the terminal PO1 of the control circuit 18 is received and the high potential and the low potential are alternately sent continuously, the control circuit 18 determines that the control circuit 18 is normal by the watch dog circuit 21. To do. When the high-potential or low-potential output is continuously transmitted from the terminal PO1 of the control circuit 18 for the predetermined processing time or longer, the watchdog circuit 21 determines that the watchdog circuit 21 is not normal. Thus, a reset output is sent to the reset terminal of the control circuit 18, and the control circuit 18 is reset.
[0044]
If the interrupt flag is set in step S2, the interrupt flag is cleared following step S2 (step S4). Subsequent to step S4, an up switch on determination processing routine is executed (step S5). In the up switch on determination processing routine, when the battery voltage is equal to or higher than a predetermined voltage, it is determined whether or not the up switch SW1 is turned on for a predetermined period, for example, 30 ms or longer. When it is determined that the up switch SW1 has been turned on for a predetermined period or longer when the battery voltage is equal to or higher than a predetermined voltage, it is determined that the up switch SW1 has been turned on. The switch on flag is set. As described above, the up switch on determination processing routine is a routine for determining whether the up switch SW1 is on. Even when the up switch SW1 is turned on when the battery voltage is lower than a predetermined voltage, the up switch SW1 is turned on. The operation of the up switch SW1 is also invalidated when it is determined that SW1 has been turned on for a predetermined period.
[0045]
Subsequent to step S5, a down switch on determination processing routine is executed (step S6). In the down switch on determination processing routine, when the battery voltage is equal to or higher than a predetermined voltage, it is determined whether or not the down switch SW2 has been turned on for a predetermined period or longer, for example, 30 ms or longer. When it is determined that the down switch SW2 has been turned on for a predetermined period or longer when the battery voltage is equal to or higher than a predetermined voltage by this determination, it is determined that the down switch SW2 has been turned on. The down switch on flag is set. As described above, the down switch on determination processing routine is a routine for determining whether the down switch SW2 is on. Even if the down switch SW2 is turned on when the battery voltage is lower than a predetermined voltage, the down switch ON2 Even when it is determined that the switch SW2 has been turned on for less than a predetermined period, the operation of the down switch SW2 is invalidated.
[0046]
Subsequent to step S6, a switch state determination processing routine is executed (step S7). In the switch state determination processing routine, the set state of the up switch on flag and the set state of the down switch on flag are checked, and when the up switch SW1 and the down switch SW2 are pressed simultaneously, that is, the up switch on. When both the flag and the down switch on flag are set, both switch on flags are set. When only one of the up switch on flag and the down switch on flag is set, and when neither the up switch on flag nor the down switch on flag is set, both the switch on flags are cleared.
[0047]
As described above, when only the up switch SW1 is in the on state for a predetermined period or longer when only the up switch SW1 is at a predetermined voltage or higher by executing the steps S5 to S7, the up switch SW1 is turned on. When it is determined that the switch has been turned on, and only the down switch SW2 has a battery voltage that is equal to or higher than a predetermined voltage, it is determined that the down switch SW2 has been turned on when the battery has been turned on for a predetermined period. Is done.
[0048]
Subsequent to step S7, an up output determination processing routine is executed (step S8). When the up output determination processing routine is entered, as shown in FIG. 6, it is checked whether or not both switch-on flags are cleared (step S81). When it is determined in step S81 that the both switch-on flags are not cleared, the up output determination processing routine is terminated.
[0049]
If it is determined in step S81 that both switch-on flags are cleared, it is checked whether or not the up switch-on flag is set following step S81 (step S82).
[0050]
If it is determined in step S82 that the up switch on flag is set, the up output determination time counter is incremented (step S83), and it is checked whether or not the up output determination time, for example, 130 ms has passed (step S84). ). When it is determined in step S84 that the up output determination time has not elapsed, the up output determination processing routine is terminated.
[0051]
If it is determined in step S84 that the up output determination time has elapsed, it is checked whether or not the release flag is cleared (step S85). If it is determined that the release flag is cleared, the stage counter is checked. It is checked whether or not the count value of (STCNT) is less than 4 (step S86). If it is determined that the count value is less than 4 in step S86, the stage counter (STCNT) is incremented (step S87). Here, the count value of the stage counter indicates the number of light emitting diodes to be lit.
[0052]
If it is determined in step S86 that the count value is not less than 4, the count value is set to 4 when the count value of the stage counter is greater than or equal to the count value 5 (step S88). Here, the reason why the count value of the stage counter is less than 4 is because the number of light emitting diodes is four from the light emitting diodes LED1 to LED4. When the count value of the stage counter is 5 or more, The reason 4 is also for the same reason.
[0053]
Subsequent to step S87 and step S88, the release flag is set (step S901). Following step S901, the up output determination time counter is cleared (step S90), and the up output determination processing routine is terminated. If it is determined in step S85 that the release flag is not cleared, the process is executed from step S90.
[0054]
If it is determined in step S82 that the up switch on flag is not set, the release flag is cleared following step S82 (step S89), and the process is executed from step S90. When both switch-on flags are not cleared in step S81, the up switch SW1 and the down switch SW2 are turned on at the same time, and the up output determination processing routine is terminated.
[0055]
As described above, in the up output determination processing routine (step S8), when the up switch SW1 is released, the release flag is set and the release is prevented. When the up switch SW1 is not released, that is, when the release flag is cleared, the on time of the up switch SW1 is counted by the up output judgment time counter, and the up switch SW1 is turned on once when the output judgment time elapses. The count value of the stage counter is sequentially incremented every time. Thus, in the up output determination processing routine (step S8), when the up switch SW1 is turned on for the output determination time or longer, it is determined that the up switch SW1 is turned on once, and the up switch SW1 is turned on. Every time the count value of the stage counter is incremented.
[0056]
Subsequent to step S8, a down output determination processing routine is executed (step S9). When the down output determination processing routine is entered, as shown in FIG. 7, it is checked whether or not both switch-on flags are cleared as in step S81 (step S91). When it is determined in step S91 that the both switch-on flags are not cleared, the down output determination processing routine is terminated.
[0057]
If it is determined in step S91 that both switch-on flags are cleared, it is checked whether or not the down switch-on flag is set following step S91 (step S92).
[0058]
If it is determined in step S92 that the down switch on flag is set, the down output determination time counter is incremented (step S93), and it is checked whether or not the down output determination time has elapsed (step S94). When it is determined in step S94 that the down output determination time has not elapsed, the down output determination processing routine is terminated.
[0059]
If it is determined in step S94 that the down output determination time has elapsed, it is checked whether the release flag is cleared (step S95). If it is determined in step S95 that the release flag is cleared, it is checked whether the count value of the stage counter is not 0 (step S96). When it is determined in step S96 that the count value of the stage counter is not 0, the count value of the stage counter is decremented (step S97).
[0060]
Subsequent to step S97, the down output determination time counter is cleared (step S98), and the down output determination processing routine is ended. If it is determined in step S96 that the count value of the stage counter is 0, step S97 is skipped and step S98 is executed. If it is determined in step S95 that the release flag has not been cleared, steps S96 and S97 are skipped and step S98 is executed.
[0061]
If it is determined in step S92 that the down switch on flag is not set, the release flag is cleared (step S99), and step S98 is executed.
[0062]
As described above, in the down output determination processing routine (step S9), when the down switch SW2 is released, the release flag is set and the release is prevented. When the down switch SW2 is not released, that is, when the release flag is cleared, the on time of the down switch SW2 is counted by the down output judgment time counter, and every time the down switch SW2 is turned on once the output judgment time elapses. The count value of the stage counter is sequentially decremented. Thus, in the down output determination processing routine (step S9), when the down switch SW2 is turned on for the output determination time or longer, it is determined that the down switch SW2 is turned on once, and the down switch SW2 is turned on. Every time the count value of the stage counter is decremented.
[0063]
Here, as is apparent from the LED lighting control processing routine (step 11) and the switching circuit control processing routine (step S14) described later, the stage counter controls the number of LEDs that are turned on and off based on the count value. In addition, it is a counter for controlling the energization on / off period of the heater 15 by the switching circuit 14.
[0064]
Subsequent to step S9, a battery voltage detection processing routine is executed (step S10). When the battery voltage detection processing routine is entered, as shown in FIG. 8, the A / D converted divided voltage Vb based on the battery voltage (hereinafter, the battery voltage unless otherwise confused in step S10 and the related description). Is also read (step S101), and after step S101, it is checked whether or not the energization flag is set (step S102).
[0065]
A correction voltage value for compensating for a voltage drop due to the wiring 22 connecting between the heater 15, the battery 11, and the grip heater control device 10 by energization is obtained in advance by actual measurement. In the grip heater control device 10, this measured value was 0.7V, but this value varies depending on the vehicle type, such as the type of electric wire and the energization current. For example, the control circuit 18 converts the correction voltage value based on the voltage division ratio of the voltage dividing circuit 12 (hereinafter, also referred to as a correction voltage value or simply as a correction value unless confusion occurs in step S10 and the related description). Is stored in a built-in ROM.
[0066]
If it is determined in step S102 that the energization flag is set, the correction value is read from the ROM built in the control circuit 18 (step S103), and the read correction value and the A / D converted partial pressure are read. The corrected battery voltage is obtained by adding the voltage Vb (step S104). By the addition process in step S104, the output voltage of the battery 11 at the terminal position of the battery 11 is substantially detected.
[0067]
Subsequent to step S104, the corrected battery voltage is added to the accumulated value of the corrected battery voltage obtained in the previous processing (step S105). If it is determined in step S102 that the energization flag is not set, steps S103 and S104 are skipped and steps S102 to S105 are executed. Subsequent to step S105, the count value of the A / D counter indicating the number of accumulation is incremented (step S106). Next, it is checked whether or not the count value of the A / D counter is a predetermined value, for example, 16 (step S107). When it is determined in step S107 that the count value of the A / D counter is not a predetermined value, the battery voltage detection processing routine is terminated.
[0068]
When it is determined in step S107 that the count value of the A / D counter is a predetermined value, a battery voltage flag indicating whether or not the battery voltage is greater than a set value described later is set subsequent to step S107. Is checked (step S108).
[0069]
When it is determined in step S108 that the battery voltage flag is set, a battery voltage lower limit setting threshold (= set value) for prohibiting energization of the heater 15 that is predetermined and stored in the built-in ROM is set. Read (step S109). Here, the lower limit setting threshold value is a value obtained by dividing the minimum voltage value required by the battery 11 based on the voltage dividing ratio of the voltage dividing circuit 12. When it is determined in step S108 that the battery voltage flag is not set, the voltage set as hysteresis is added to the lower limit setting threshold following step S108, and the upper limit setting of the battery voltage stored in the built-in ROM in advance is set. A threshold value (set value) is read (step S1010). Here, the upper limit setting threshold is also a value divided based on the voltage dividing ratio of the voltage dividing circuit 12, and for example, a value obtained by dividing 0.5 V based on the voltage dividing ratio of the voltage dividing circuit 12 is used as the hysteresis voltage. In addition to the lower limit setting threshold, the upper limit setting threshold is set.
[0070]
Following execution of steps S109 and S1010, whether or not a predetermined accumulated value of the battery voltage to which the correction value is added, for example, an average corrected battery voltage obtained by averaging 16 accumulated values is greater than a set value. When it is checked (step S1011) and determined to be large in step S1011, a battery voltage flag is set (step S1012), and then the count value and accumulated value of the A / D counter are cleared (step S1014). The voltage detection processing routine ends. If it is not determined in step S1011, the battery voltage flag is cleared (step S1013), then the count value and accumulated value of the A / D counter are cleared (step S1014), and the battery voltage detection processing routine is terminated. .
[0071]
In the above, step S105 to step S107 are executed, the divided voltage Vb to which the correction voltage value is added is accumulated a predetermined number of times, for example, 16 times, and the average value of the accumulated value is taken in step S1010 to obtain the average correction battery. The voltage is obtained and the average corrected battery voltage is compared with the set value in order to obtain the output voltage at the terminal position of the battery 11 more accurately by reducing the influence of noise by obtaining the average corrected battery voltage. It is.
[0072]
In the battery voltage detection processing routine (step S10), the battery voltage flag is not set at the beginning of voltage application to the battery 11, and step S1010 is executed following step S108, and the battery voltage flag is cleared in step S1013. In addition, at the beginning of voltage application of the battery 11, the battery voltage is not yet stable, the battery voltage is lower than the upper limit setting threshold value read in step S1010, and the battery voltage flag is cleared in step S1013. The calculated value is cleared (steps S1010, S1013, S1014). When the battery voltage increases above the upper limit setting threshold due to the continuation of this step execution, the battery voltage flag is set in step S1012.
[0073]
Since the battery voltage flag is set in the execution of this step, in the subsequent execution from step S108, step S109 is executed subsequent to step S108, and the lower limit setting threshold value read in step S109 is set in step S1010. The battery voltage flag is continuously set until the battery voltage drops to the lower limit setting threshold. When the battery voltage drops to the lower limit setting threshold, steps S1010 to S1013 are executed, and the battery voltage The flag is cleared.
[0074]
As a result, the battery voltage flag corresponds to the set values having hysteresis (lower limit setting threshold and upper limit setting threshold), and as shown schematically in FIG. Done. FIG. 14A shows the change of the battery voltage, and FIG. 14B shows the set / clear state of the battery voltage flag.
[0075]
As described above, only when the energization flag is set, the correction value, which is a voltage drop due to the resistance of the wiring 22 when the heater 15 is energized, is added to the detected battery voltage, so the wiring 22 when the heater 15 is energized. The voltage drop due to the resistance is compensated. In addition, since a predetermined number of accumulated values are used, noise at the time of battery voltage detection can be smoothed, and a dedicated low-pass filter or the like for battery voltage detection becomes unnecessary.
[0076]
In the above, the case where the average corrected battery voltage value obtained by calculating the average value based on the number of repetitions in step S1010 is compared with the set value has been illustrated. The calculated value may be used. In this case, as indicated by (× 16) in step S109 and step S1010, the upper limit setting threshold and the lower limit setting threshold may be multiplied by 16 to obtain the set value. Even in this case, the influence of noise is substantially reduced and no low-pass filter is required.
[0077]
Following step S10, an LED lighting control processing routine is executed (step S11). When the LED lighting control processing routine is entered, as shown in FIGS. 9 and 10, it is checked whether the on-delay timer counter is counting (step S111). Immediately after application of the battery voltage, it is determined in step S111 that the on-delay timer counter is not counting, and it is checked whether the initial energization flag is set (step S112).
[0078]
The initial energization flag is set in the initial setting, and after the initial energization flag is checked, it is checked whether or not the battery voltage flag is set (step S113). At the beginning of energization, the battery voltage flag is not set (that is, the upper limit setting threshold has not been reached), the on-delay timer counter is cleared in step S122, and all the light emitting diodes LED1 to LED4 are turned off (step S132). ).
[0079]
Next, when the battery voltage rises and the battery voltage flag is set in step S113, the on-delay timer flag is set (step S114), and the on-delay timer counter is incremented (step S115). Subsequently, it is checked whether or not a set time by the on-delay timer counter, for example, 10 seconds has elapsed (step S116).
[0080]
Until the set time (10 sec) elapses after the battery voltage flag is set, the count value of the stage counter is checked following step S116, and the number of light emitting diodes LED based on the count value of the stage counter is turned on. When the count value of the stage counter is 0, all the light emitting diodes LED1 to LED4 are turned off (Step S123 and Step S132). When the count value of the stage counter is 1, only the light emitting diode LED4 is turned on (step S124 and step S125).
[0081]
When the count value of the stage counter is 2, only the light emitting diodes LED3 and LED4 are turned on (step S126 and step S127). When the count value of the stage counter is 3, only the light emitting diodes LED2, LED3, and LED4 are turned on (steps S128 and S129). When the count value of the stage counter is 4, all the light emitting diodes LED1 to LED4 are turned on (step S130 and step S131).
[0082]
When it is determined in step S113 that the battery voltage flag is set and step S114 is executed, the on-delay timer is being counted, and when executing from the next step S111, it is executed from step S114 following step S111. The
[0083]
If it is determined in step S116 that the set time (10 sec) has elapsed, the initial energization flag is cleared following step S116 (step S117), and the on-delay timer flag is cleared (step S118). Next, the on-delay timer counter is cleared (step S119), and the process is executed from step S123. As a result of this execution, a number of LEDs based on the count value of the stage counter are turned on (steps S124 to S132).
[0084]
By executing step S118, it is determined that the on-delay timer is not being counted from the time of the next check in step S111, and the initial energization flag is checked following step S111 (step S112). In this case, the initial energization flag is cleared by the execution of step S117, and it is checked whether or not the battery voltage flag is set following step S112 (step S121).
[0085]
If it is determined in step S121 that the battery voltage flag is set, step S116 is not executed, and step S117 is executed after step S121. If it is determined in step S121 that the battery voltage flag is not set, step S122 is executed subsequent to step S121.
[0086]
The setting and clearing of the battery voltage flag are as described with reference to the battery voltage detection processing routine and FIG. 14. With reference to the setting and clearing of the battery voltage flag, the execution of the LED lighting control processing routine causes the ) And (c), all the light emitting diodes LED1 to LED4 are extinguished until the battery voltage first rises to the upper limit setting threshold from the beginning of battery voltage application, and the setting is made when the upper limit setting threshold is first reached. During the time, for example, 10 seconds, the number of light emitting diodes LED based on the count value of the stage counter is turned on. When the battery voltage drops during the set time (10 sec) and falls to the lower limit setting threshold, after the set time (10 sec) has elapsed, all the light emitting diodes LED1 to LED4 are turned off until the battery voltage reaches the upper limit set threshold next time. The When the battery voltage recovers and reaches the upper limit setting threshold, the on-delay timer becomes irrelevant thereafter, and the number of light emitting diodes LED based on the count value of the stage counter is turned on until the lower limit setting threshold is reached.
[0087]
In this way, the battery voltage that forms the threshold value for turning on and off the light emitting diode LED has a hysteresis of 0.5 V, and the stage counter is only in the range from reaching the upper limit setting threshold to the next lower limit setting threshold. The number of light emitting diodes LED based on the count value is turned on. Further, after reaching the upper limit setting threshold for the first time from the start of application of the battery voltage, the light emitting diode LED is turned on for a period set in advance in the on-delay timer, for example, 10 seconds. This is because the light emitting diode LED is not repeatedly blinked during a period set in advance in the on-delay timer, for example, a period of 10 seconds.
[0088]
Subsequent to step S11, a switching circuit control processing routine is executed (step S14). When the switching circuit control processing routine is entered, the cycle time counter is incremented as shown in FIGS. 11 to 13 (step S141). The cycle time corresponds to one cycle of the switching circuit 14 (ON period + next subsequent OFF period), and the set time of the cycle time is set to 100 ms, for example.
[0089]
Following step S141, it is checked whether a set time (100 ms) has elapsed (step S142). If it is determined in step S142 that the set time (100 ms) has elapsed, the cycle time counter is cleared (step S143), and it is checked whether the battery voltage flag is set (step S144). If it is determined in step S144 that the battery voltage flag is set, it is checked after step S144 whether the count value of the stage counter is 0 (step S145).
[0090]
When it is determined in step S145 that the count value of the stage counter is 0, following step S145, 0 is set as the PWM duty (step S151). By the setting of step S151, the transistors Q1 to Q3 are controlled to be turned off during the set time of the cycle time, and the heater 15 is controlled to be turned off during the set time of the cycle time. That is, the energization rate is controlled to 0%.
[0091]
If it is determined in step S145 that the count value of the stage counter is not 0, it is checked after step S145 whether the count value of the stage counter is 1 (step S152). If it is determined in step S152 that the count value of the stage counter is 1, 4 is set as the PWM duty (step S153). By the setting in step S153, the transistors Q1 to Q3 are controlled to be in an on state for a period of 40% during the set time of the cycle time, and the heater 15 is controlled to be in an on state for a period of 40% during the set time of the cycle time. That is, the energization rate is controlled to 40%.
[0092]
If it is determined in step S152 that the count value of the stage counter is not 1, it is checked after step S152 whether the count value of the stage counter is 2 (step S154). If it is determined in step S154 that the count value of the stage counter is 2, 6 is set as the PWM duty (step S155). By the setting in step S155, the transistors Q1 to Q3 are controlled to be in an ON state during a period of 60% during the set time of the cycle time, and the heater 15 is controlled to be in an ON state for a period of 60% during the set time of the cycle time. That is, the energization rate is controlled to 60%.
[0093]
If it is determined in step S154 that the count value of the stage counter is not 2, whether or not the count value of the stage counter is 3 is checked following step S154 (step S156). If it is determined in step S156 that the count value of the stage counter is 3, 8 is set as the PWM duty (step S157). By the setting of step S157, the transistors Q1 to Q3 are controlled to be in an ON state for 80% of the cycle time setting time, and the heater 15 is controlled to be in the ON state for 80% of the cycle time setting time. That is, the current supply rate is controlled to 80%.
[0094]
If it is determined in step S156 that the count value of the stage counter is not 3, whether or not the count value of the stage counter is 4 is checked following step S156 (step S158). If it is determined in step S158 that the count value of the stage counter is 4, F is set as the PWM duty (step S159). By the setting of step S159, the transistors Q1 to Q3 are controlled to be on during the cycle time setting time, and the heater 15 is controlled to be on during the cycle time setting time. That is, the energization rate is controlled to 100%.
[0095]
If it is determined in step S158 that the count value of the stage counter is not 4, the process is executed from step S151.
[0096]
If it is determined in step S142 that the set time has not elapsed, it is checked after step S142 whether the PWM duty is shorter than the set time (step S146). When it is determined in step S146 that the PWM duty is shorter than the set time, the energization flag is set (step S148), and the switching circuit control processing routine is ended. When it is determined in step S146 that the PWM duty is not shorter than the set time, the energization flag is cleared (step S150), and the switching circuit control processing routine is ended.
[0097]
Following step S151, step S153, step S155, step S157, and step S159, it is checked whether the PWM duty is 0 (step S160). Cleared (step S162), the switching circuit control processing routine is terminated. When it is determined in step S160 that the PWM duty is not 0, the energization flag is set (step S164), and the switching circuit control processing routine is ended.
[0098]
Here, based on the setting and clearing of the battery voltage flag, the battery voltage, the energization prohibition section and the energization possible section are as schematically shown in FIGS. 15A and 15B. In this case, the energizable section is a section in which the heater 15 can be energized. In the section in which energization is enabled by the battery voltage flag, the energization of the heater 15 is controlled during the cycle time of% corresponding to the count value of the stage counter as described above.
[0099]
Following the switching circuit control processing routine, an EEPROM writing processing routine is executed (step S15). When the EEPROM writing routine is entered, the updated count value is written to a predetermined address of the EEPROM 20 only when the count value of the stage counter is updated. The count value of the stage counter written in the EEPROM 20 is used as the initial value of the stage counter.
[0100]
Therefore, at the time of writing the count value of the stage counter, it is written to the predetermined addresses different from each other odd number of times, and at the time of reading, the count values of the three stage counters that have been written are read, and the count of the read stage counters A value having the same count value may be searched and used as an initial value. Alternatively, the initial value may be determined by majority determination.
[0101]
Next, a connection structure of the grip heater control device 10 in the vehicle will be described with reference to FIG. In FIG. 16, reference symbols a to g indicate connection terminals, reference symbols h to k and reference symbol m indicate fuses, and description thereof is omitted.
[0102]
The output from the battery 11 is supplied via the main switch 23 to the heater 152, the heater 151, and the grip heater control device 10 through the connection lines 22a, 22b, 22c, 22d, 22e, 22f, and 22g. Here, the connection lines 22 a, 22 b, 22 c, 22 d, 22 e, 22 f, and 22 g constitute the wiring 22. The connection line 22 f is a connection wiring that connects the heater 152 and the heater 151 in series, and receives and divides the battery voltage at the input end x of the voltage dividing circuit 12 via the wiring 22. Reference numeral 226 is a ground wire.
[0103]
Thus, the battery voltage detection position in the grip heater control device 10 is far from the installation position of the battery 11, and the detected battery voltage is affected by the voltage drop caused by the wiring 22.
[0104]
The output from the battery 11 is supplied to the starter motor 203 via the relay switch 202 that is turned on when the starter switch 209 is turned on. On the other hand, AC power obtained by the AC generator 204 is supplied to the charging device 205 to rectify the AC power and charge the battery 11 with a rectified output.
[0105]
The output from the battery 11 via the main switch 23 is supplied to the relay coil 210 via the starter switch 209, the relay coil 210 is excited when the starter switch 209 is turned on, and the starter motor is driven via the relay switch 202. I have to do it.
[0106]
The output from the battery 11 via the main switch 23 is supplied to the headlamp 213 via the headlamp switch 212 so that the headlamp 213 is turned on when the headlamp switch 212 is turned on. The stop lamp 215 is supplied to the stop lamp 215 via 214, and the stop lamp 215 is turned on when the stop switch 214 is turned on.
[0107]
The output from the battery 11 via the main switch 23 is supplied to the winker lamps 223R and 223L via the winker relay 220 and the winker switch 221 so that the winker lamp on the side specified by the winker switch 221 is supplied to the winker relay 220. The blinking is repeated at a cycle based on.
[0108]
On the other hand, in the LED lighting control processing routine (step S11), as described above, the light emitting diode is used for a period preset by the on-delay timer from the time when the upper limit setting threshold is first reached from the start of battery voltage application, for example, for 10 seconds. The case where the LED is turned on (see step S116 and the like) is exemplified. This is because the light-emitting diode LED does not blink repeatedly during the period set in advance by the on-delay timer, for example, for 10 seconds, from the first lighting of the LED.
[0109]
Even if the battery 11 is new or not new, the battery voltage exceeds the upper limit setting threshold when the power supply from the battery 11 is started. When the process of continuing the lighting is not performed in some cases, the LED blinks repeatedly during this period, but the on-delay timer prevents the blinking from occurring. The light-emitting diode LED is turned on during the set period, for example, 10 sec.
[0110]
In particular, when the battery is not new, it is schematically shown in FIG. 17b by a sudden change in the load of the battery 11 at startup, a ripple of the rectified output rectified from the output of the AC generator 204, a voltage drop in the wiring 22, and the like. Thus, the battery voltage increases while fluctuating from T0 at startup. As a result, the battery voltage crosses the upper limit setting threshold and the lower limit setting threshold multiple times. Incidentally, in FIG. 17a, the battery voltage when the battery is new is schematically shown.
[0111]
For this reason, the LED blinking is repeated immediately after startup by releasing the function of turning on the LED for a period set in advance by the on-delay timer. In this manner, by stopping the light-emitting diode LED from being turned on during the set time (10 sec) of the on-delay timer, it is indicated that the battery is out of date when the LED blinks repeatedly after the battery voltage is applied. It can be.
[0112]
【The invention's effect】
As described above, according to the grip heater control device of the present invention, the number of light emitting diodes determined by the lighting light emitting diode number control means is lit for a predetermined period after the upper limit threshold is first reached after the battery voltage is applied. The number of light emitting diodes determined by the lighting light emitting diode number control means is lit after the predetermined period has elapsed until the battery voltage reaches the upper limit setting threshold and then reaches the lower limit setting threshold; and Since all the light emitting diodes are turned off during the period from when the battery voltage is less than the lower limit threshold to the next upper limit threshold, the light emitting diodes are turned on during the unstable period of the battery voltage after the battery voltage is applied. Thus, the feeling of instability due to the blinking of the light emitting diode is eliminated.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a grip heater control device according to an embodiment of the present invention.
FIG. 2 is a block diagram illustrating functions of a control circuit in the grip heater control device according to the embodiment of the present invention.
FIG. 3 is an installation explanatory diagram of a grip heater control device according to an embodiment of the present invention.
FIG. 4 is a general flowchart for explaining the operation of the grip heater control device according to the embodiment of the present invention.
FIG. 5 is a flowchart of a control circuit determination processing routine for explaining the operation of the grip heater control device according to the embodiment of the present invention.
FIG. 6 is a flowchart of an up output determination processing routine for explaining the operation of the grip heater control device according to the embodiment of the present invention.
FIG. 7 is a flowchart of a down output determination processing routine for explaining the operation of the grip heater control device according to the embodiment of the present invention.
FIG. 8 is a flowchart of a battery voltage detection processing routine for explaining the operation of the grip heater control device according to the embodiment of the present invention.
FIG. 9 is a flowchart of an LED lighting control processing routine for explaining the operation of the grip heater control device according to the embodiment of the present invention.
FIG. 10 is a flowchart of an LED lighting control processing routine for explaining the operation of the grip heater control device according to the embodiment of the present invention.
FIG. 11 is a flowchart of a switching circuit control processing routine for explaining the operation of the grip heater control device according to the embodiment of the present invention.
FIG. 12 is a flowchart of a switching circuit control processing routine for explaining the operation of the grip heater control device according to the embodiment of the present invention.
FIG. 13 is a flowchart of a switching circuit control processing routine for explaining the operation of the grip heater control device according to the embodiment of the present invention.
FIG. 14 is a schematic diagram showing a relationship between a battery voltage and a battery voltage flag for explaining the operation of the grip heater control device according to the embodiment of the present invention.
FIG. 15 is a schematic diagram showing the relationship between battery voltage, LED lighting, and heater energization control for explaining the operation of the grip heater control device according to the embodiment of the present invention.
FIG. 16 is a connection diagram illustrating a connection structure in a vehicle of the grip heater control device according to the embodiment of the present invention.
FIG. 17 is a schematic diagram for explaining a change in battery voltage immediately after startup.
[Explanation of symbols]
10 ... Grip heater control device 11 ... Battery
12 ... Battery voltage divider circuit 13 ... Constant voltage circuit
14 ... Switching circuit 15, 151, 152 ... Heater
16 ... Switch unit 18 ... Control circuit
19 ... Light emitting diode unit 20 ... EEPROM
21 ... Watchdog circuit 22 ... Wiring
31 ... Crystal oscillator SW1 ... Up switch
SW2: Down switch

Claims (1)

ステアリングハンドルに設けられたグリップヒータへのバッテリからの通電をオン・オフさせるスイッチング手段を備えたグリップヒータ制御装置において、複数個の発光ダイオード中における点灯発光ダイオード数をアップスイッチ手段のオン回数に基づき制御すると共に、ダウンスイッチ手段のオン回数に基づき消灯発光ダイオード数を制御して点灯発光ダイオード数を制御する点灯発光ダイオード数制御手段と、
ヒータへの通電を禁止する下限設定閾値に予め定めた電圧を加えた閾値を上限設定閾値として、バッテリ電圧が上限設定閾値に達してから次に下限設定閾値に達するまでの期間、点灯発光ダイオード数制御手段により定められた通電率にスイッチング手段のオン・オフを制御する通電制御手段と、
バッテリ電圧印加時から最初に上限設定閾値に達した後予め定めた期間、点灯発光ダイオード数制御手段により定められた数の発光ダイオードを点灯させ、前記予め定めた期間経過後はバッテリ電圧が上限設定閾値に達してから次に下限設定閾値に達するまでの期間、点灯発光ダイオード数制御手段により定められた数の発光ダイオードを点灯させる発光ダイオード点灯制御手段と、
を備えたことを特徴とするグリップヒータ制御装置。
In a grip heater control device having a switching means for turning on / off the energization from a battery to a grip heater provided on a steering handle, the number of lit light emitting diodes in a plurality of light emitting diodes is based on the number of times the up switch means is turned on. And controlling the number of lit light-emitting diodes by controlling the number of light-emitting light-emitting diodes based on the number of times the down switch means is turned on,
The number of light-emitting diodes that illuminate during the period from when the battery voltage reaches the upper limit setting threshold to the next lower limit setting threshold, with the threshold set by adding a predetermined voltage to the lower limit setting threshold prohibiting energization of the heater as the upper limit setting threshold An energization control means for controlling on / off of the switching means to an energization rate determined by the control means;
The number of light emitting diodes determined by the lighting light emitting diode number control means is turned on for a predetermined period after the upper limit setting threshold is first reached after the application of the battery voltage, and the battery voltage is set to the upper limit after the predetermined period has elapsed. Light emitting diode lighting control means for turning on the number of light emitting diodes determined by the lighting light emitting diode number control means during the period from reaching the threshold value to the next lower limit setting threshold value,
A grip heater control device comprising:
JP2002251689A 2002-06-10 2002-08-29 Grip heater control device Expired - Lifetime JP3628314B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2002251689A JP3628314B2 (en) 2002-08-29 2002-08-29 Grip heater control device
CN03141164.9A CN100595103C (en) 2002-06-10 2003-06-10 Apparatus for controlling handlebar heater
DE60301369T DE60301369T2 (en) 2002-06-10 2003-06-10 Control device for a handle heating
AT03253647T ATE302711T1 (en) 2002-06-10 2003-06-10 CONTROL DEVICE FOR HEATED GRIPS
EP20030253647 EP1371544B1 (en) 2002-06-10 2003-06-10 Apparatus for controlling grip heater
US10/457,607 US6903312B2 (en) 2002-06-10 2003-06-10 Apparatus for temperature controlling grip heater

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002251689A JP3628314B2 (en) 2002-08-29 2002-08-29 Grip heater control device

Publications (2)

Publication Number Publication Date
JP2004090704A JP2004090704A (en) 2004-03-25
JP3628314B2 true JP3628314B2 (en) 2005-03-09

Family

ID=32058212

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002251689A Expired - Lifetime JP3628314B2 (en) 2002-06-10 2002-08-29 Grip heater control device

Country Status (1)

Country Link
JP (1) JP3628314B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005046652A1 (en) * 2005-09-29 2007-04-05 Robert Bosch Gmbh Brake system e.g. traction control system, operating method for motor vehicle, involves providing coil via which current flows such that coil temperature at end of heating phase corresponds to coil temperature value and maintaining value

Also Published As

Publication number Publication date
JP2004090704A (en) 2004-03-25

Similar Documents

Publication Publication Date Title
US7214906B1 (en) Heated hand grip control
TWI298682B (en) Bicycle power source apparatus
US20050173406A1 (en) Apparatus for and method of controlling grip heater
JP6177160B2 (en) Bicycle with electric motor
JP2019085103A (en) Heated handgrips for motorcycle
JP4110149B2 (en) Grip heater control device
JP2004279668A (en) Led display device
JP6131510B2 (en) Lighting device, headlight device using the same, and vehicle
JP2008035684A (en) Load driving controller and load driving control system
JP4133535B2 (en) Grip heater control device
JP4133534B2 (en) Grip heater control device
JP3628314B2 (en) Grip heater control device
JP5452048B2 (en) Charger
EP1763138B1 (en) Circuit of a vehicle
JP2004175259A (en) Electronic control device for bicycle
JP6240587B2 (en) Disconnection detection device and disconnection detection method
JP6853756B2 (en) Grip heater device
JP2006282042A (en) Grip heater control device
JP5883224B2 (en) Electric assist bicycle display device and electric assist bicycle
JP3196090U (en) Notification device and notification system
JP4332747B2 (en) Warning device control circuit
JP5876010B2 (en) Bicycle with electric motor
JP2004276667A (en) Lighting device control device
JP6685183B2 (en) Bicycle with electric motor and alarm device
KR101033823B1 (en) Heating device for steering wheel of vehicle using proportional integral control

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20040115

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20040115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041101

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: 20041124

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041207

R150 Certificate of patent or registration of utility model

Ref document number: 3628314

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20071217

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101217

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20111217

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20111217

Year of fee payment: 7

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

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

Free format text: PAYMENT UNTIL: 20111217

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20111217

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20121217

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20131217

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term