JP2006036121A - Vehicular control device - Google Patents

Vehicular control device Download PDF

Info

Publication number
JP2006036121A
JP2006036121A JP2004221897A JP2004221897A JP2006036121A JP 2006036121 A JP2006036121 A JP 2006036121A JP 2004221897 A JP2004221897 A JP 2004221897A JP 2004221897 A JP2004221897 A JP 2004221897A JP 2006036121 A JP2006036121 A JP 2006036121A
Authority
JP
Japan
Prior art keywords
signal
switch
display
status
function
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.)
Withdrawn
Application number
JP2004221897A
Other languages
Japanese (ja)
Inventor
Masato Takano
雅登 高野
Takuya Yoshina
卓哉 用品
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.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP2004221897A priority Critical patent/JP2006036121A/en
Publication of JP2006036121A publication Critical patent/JP2006036121A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a vehicular control device in which no expensive memory is used for a slave server, a communication system is inexpensive, and the display corresponding to the mode before the instantaneous interruption is given if a power supply is instantaneously interrupted. <P>SOLUTION: A slave server 2 having a function switch 4, a display unit 5, and a control unit 10, a master server 1 having a function status memory 8 and a main control unit 6, and a bus line 3 to connect the servers 1, 2 are arranged in a vehicle, and the master server 1 transmits the requested signal to the slave server 2 via the bus line 3 at a predetermined time interval. When the slave server 2 receives the requested signal, the signal to indicate the switches status is transmitted via the bus line 3. The main control unit 6 of the master server 1 transmits the display status signal matched with the data of the function status memory 8 to the slave server 2 via the bus line at a predetermined time interval. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、マスタサーバ及びスレーブサーバを備えた車両用制御装置に係り、特に、自己復帰型のプッシュスイッチを用いて所定の2つの異なるモードへの切り替えを行い、同時に、どのモードに設定されているかを示す表示部を有する車両用制御装置に関する。   The present invention relates to a vehicle control device including a master server and a slave server, and in particular, switches to two different modes using a self-returning push switch, and which mode is set at the same time. The present invention relates to a vehicle control device having a display unit that indicates whether or not.

従来、自動車等の移動車両においては、1つまたはそれ以上の車載電装機器を一箇所の制御機器によって統括制御するものが知られている(例えば、特許文献1を参照。)。   2. Description of the Related Art Conventionally, in mobile vehicles such as automobiles, one in which one or more in-vehicle electrical devices are collectively controlled by a single control device is known (see, for example, Patent Document 1).

ここで、図3は、このような従来の車両用制御装置の要部構成の一例を示すブロック図であり、マスタサーバ21及びスレーブサーバ22を備えた双方向通信システムによる車両用制御装置の要部を示す。当該システムにおいては運転席の近傍に設けた自己復帰型のプッシュスイッチからなる機能スイッチ24を押す度に、運転席以外の座席におけるパワーウインドウスイッチの操作を無効にするいわゆるチャイルドセイフティモードの設定と解除が交互に行われ、当該設定と解除に連動して機能スイッチ24の近辺に設けたLED25aの点灯と消灯がなされる。   Here, FIG. 3 is a block diagram showing an example of the configuration of the main part of such a conventional vehicle control device, and the essential points of the vehicle control device using the bidirectional communication system including the master server 21 and the slave server 22 are shown. Indicates the part. In this system, every time the function switch 24, which is a self-returning push switch provided near the driver's seat, is pressed, the so-called child safety mode that disables the operation of the power window switch in seats other than the driver's seat is set and released Are alternately performed, and the LED 25a provided in the vicinity of the function switch 24 is turned on and off in conjunction with the setting and release.

図3に示されるように、この車両用制御装置は、マスタサーバ21と、スレーブサーバ22と、マスタサーバ21とスレーブサーバ22を接続するバスライン23とを有しており、さらに、スレーブサーバ22には、プッシュスイッチからなる機能スイッチ24と、機能スイッチ24によりチャイルドセイフティモードに設定されている場合はLED25aを点灯させ、解除された場合には消灯する機能スイッチ状態表示部25とが接続されている。   As shown in FIG. 3, the vehicle control device includes a master server 21, a slave server 22, a bus line 23 that connects the master server 21 and the slave server 22, and the slave server 22. Are connected to a function switch 24 consisting of a push switch and a function switch state display section 25 that turns on the LED 25a when the child safety mode is set by the function switch 24 and turns off the LED 25a when the function switch 24 is released. Yes.

マスタサーバ21には図示を省略した助手席あるいは後部座席用のパワーウインドウスイッチ及びパワーウインドウ駆動部が直接あるいはバスライン23を介して接続され、マスタサーバ21は車両用制御装置の各部を統括制御する主制御部26と、スレーブサーバ22との間でバスライン23を通して各種信号を送受信する通信部27と、スレーブサーバ22から送信される機能スイッチ24のオン操作信号から機能スイッチ24の1回の操作をカウントするカウンタ29と、カウンタ29のカウントに対応して2つの値に交互になるよう保管データが更新されるE2 PROM(E squared PROM)等からなる機能ステイタスメモリ28とを有し、主制御部26は、通信部27と機能ステイタスメモリ28とカウンタ29にそれぞれ接続され、通信部27はバスライン23に接続される。なお、機能ステイタスメモリ28に収納されるデータは、チャイルドセイフティモードの設定と解除(以下、機能ステイタスと呼ぶ)を示し、チャイルドセイフティモードに設定されている場合には値が1に、解除されている場合には値が0になっている。 A power window switch and a power window driving unit for the passenger seat or the rear seat, not shown, are connected to the master server 21 directly or via the bus line 23, and the master server 21 performs overall control of each unit of the vehicle control device. A communication unit 27 that transmits and receives various signals through the bus line 23 between the main control unit 26 and the slave server 22, and a single operation of the function switch 24 from an ON operation signal of the function switch 24 transmitted from the slave server 22. And a function status memory 28 composed of an E 2 PROM (E-squared PROM) or the like in which stored data is updated so as to alternate between two values corresponding to the count of the counter 29. The control unit 26 is connected to the communication unit 27, the function status memory 28, and the counter 29. Are being connected, the communication unit 27 is connected to the bus line 23. The data stored in the function status memory 28 indicates the setting and release of the child safety mode (hereinafter referred to as function status). When the child safety mode is set, the value is reset to 1. If it is, the value is 0.

スレーブサーバ22は、周辺機器等の制御を行う制御部30と、マスタサーバ21との間でバスライン23を通して各種信号を送受信する通信部31と、制御部30内に設けられ、機能スイッチ24のオン、オフ状態(以下、スイッチステイタスと呼ぶ)を示すデータを保管するスイッチステイタスメモリ30a1、及び、LED25aの点灯と消灯(以下、表示ステイタスと呼ぶ)を決定するデータを保管する表示ステイタスメモリ30a2を持つRAM等からなる内部メモリ30aとを備えており、制御部30は、機能スイッチ24と機能スイッチ状態表示部25と通信部31にそれぞれ接続され、通信部31はバスライン23に接続される。   The slave server 22 is provided in the control unit 30 that controls peripheral devices and the like, the communication unit 31 that transmits and receives various signals to and from the master server 21 through the bus line 23, and the function switch 24. A switch status memory 30a1 for storing data indicating an on / off state (hereinafter referred to as switch status) and a display status memory 30a2 for storing data for determining whether the LED 25a is turned on or off (hereinafter referred to as display status). The control unit 30 is connected to the function switch 24, the function switch state display unit 25, and the communication unit 31, and the communication unit 31 is connected to the bus line 23.

なお、当該通信システムにおいては、制御部30及び主制御部26において、バスライン23を介して情報の通信制御を行うものであり、1つの送信信号に複数の領域、すなわちフレームを設け、各フレームにそれぞれ送信元を示す信号、送信先を示す信号、機能スイッチ24がオンかオフかを示すスイッチステイタス信号、その他所定の情報を示す信号が予め定められたフォーマットに基づいて書き込まれており、これをバスライン23を介して双方向に伝送するものである。   In the communication system, the control unit 30 and the main control unit 26 perform information communication control via the bus line 23, and a plurality of regions, that is, frames are provided in one transmission signal. Are respectively written based on a predetermined format, a signal indicating the transmission source, a signal indicating the transmission destination, a switch status signal indicating whether the function switch 24 is on or off, and other signals indicating predetermined information. Are transmitted bidirectionally via the bus line 23.

機能スイッチ24は、自動車等の移動車両に搭乗している子供等がパワーウインドウ開閉スイッチを操作し、それによりウインドウを不必要に開閉させるのを防止するために設けているものであり、チャイルドセイフティスイッチとも呼ばれ運転席の近傍に設けられており、運転席以外のパワーウインドウ開閉スイッチの動作を行っても、当該動作に伴う開あるいは閉の指令を無視するように主制御部26を機能させるものであって、押圧を解除すると非押圧状態に操作ツマミの位置が復帰する自己復帰型タクトスイッチ等のプッシュスイッチが用いられ、このプッシュスイッチが押圧操作されてスイッチオンになる度に、ウインドウ開閉スイッチの操作が無視されるチャイルドセイフティモードとウインドウ開閉スイッチの操作によってウインドウが駆動されるチャイルドセイフティモード解除モードが交互に発生する。   The function switch 24 is provided to prevent a child or the like who is on a moving vehicle such as an automobile from operating the power window opening / closing switch, thereby opening and closing the window unnecessarily. It is also called a switch and is provided in the vicinity of the driver's seat. Even when the power window opening / closing switch other than the driver's seat is operated, the main control unit 26 is caused to function so as to ignore the opening or closing command associated with the operation. When a push switch is released, a push switch such as a self-return tact switch that returns the position of the operation knob to a non-pressed state is used. Whenever the push switch is pressed and turned on, the window opens and closes. The child safety mode where the switch operation is ignored and the window open / close switch operation Window is child safety mode release mode to be driven alternately generated.

すなわち、仮に初期状態において、チャイルドセイフティモード解除モードであるとするとウインドウ開閉スイッチを奇数回操作するとチャイルドセイフティモードになり、偶数回操作するチャイルドセイフティモード解除モードになる。そして、チャイルドセイフティモードのときには、LED25aが点灯してチャイルドセイフティモードに設定されていることを示し、チャイルドセイフティモード解除モードになったときには、LED25aが消灯してチャイルドセイフティモード解除モードであることを示す。   That is, in the initial state, if the child safety mode cancel mode is set, the child safety mode cancel mode is operated when the window opening / closing switch is operated an odd number of times, and the child safety mode cancel mode is operated evenly. In the child safety mode, the LED 25a is turned on to indicate that the child safety mode is set. In the child safety mode release mode, the LED 25a is turned off to indicate that the child safety mode is released. .

スレーブサーバ22の制御部30は、所定の時間間隔、例えば10msecで、機能スイッチ24のスイッチステイタスを確認し、スイッチオンの場合には1、オフの場合は0になるようスイッチステイタスメモリ30a1のデータを書き替えて保存する。そして、当該制御部30は、スイッチステイタスメモリ30a1のスイッチステイタスを示すデータが変更されると、当該情報を含む信号を通信部31に出力してマスタサーバー21に送信する。表示ステイタスメモリ30a2には、LED25aの表示ステイタスを決定するデータを保存し、1の場合は点灯、0の場合は消灯を示し、当該表示ステイタスを示すデータに変更があった場合には制御部30から機能スイッチ状態表示部25に信号を出力し、当該機能スイッチ状態表示部25が1の信号を受信した場合にはLED25aの点灯を次に0が入力されるまで継続し、0を受信した場合にはLED25aの消灯を次に1が入力されるまで継続する。通信部31は制御部30からの信号を入力した場合はバスライン23に信号を出力し、また、バスライン23から信号を受信した場合は制御部30に信号を出力する。   The control unit 30 of the slave server 22 confirms the switch status of the function switch 24 at a predetermined time interval, for example, 10 msec. The data in the switch status memory 30a1 is 1 when the switch is on and 0 when it is off. Rewrite and save. When the data indicating the switch status in the switch status memory 30a1 is changed, the control unit 30 outputs a signal including the information to the communication unit 31 and transmits the signal to the master server 21. In the display status memory 30a2, data for determining the display status of the LED 25a is stored. When the data is 1, the display is turned off, and when the data indicating the display status is changed, the control unit 30 is turned on. When the function switch state display unit 25 outputs a signal to the function switch state display unit 25 and the function switch state display unit 25 receives a signal of 1, the LED 25a continues to be lit until the next time 0 is input, and 0 is received. In this case, the LED 25a is turned off until 1 is input next time. The communication unit 31 outputs a signal to the bus line 23 when receiving a signal from the control unit 30, and outputs a signal to the control unit 30 when receiving a signal from the bus line 23.

マスターサーバ21の通信部27も通信部31と同様であって、主制御部26からの信号を入力した場合はバスライン23に信号を出力し、バスライン23から信号を受信した場合は、主制御部26に信号を出力する。主制御部26は、通信部27から受信した機能スイッチ24のスイッチステイタスを示すデータをスイッチステイタスメモリ26aで保存し当該データが1から0になると、カウンタ29で1回カウントし、カウンタ29がカウントすると機能ステイタスメモリ28の値を、0の場合には1に、1の場合には0になるように書き替える。そして、機能ステイタスメモリ28のデータが変更されるとそれに対応して、表示ステイタスを示すフレームに点灯を示す1のデータあるいは消灯を示す0のデータを書き込み、この信号を通信部27を介してバスライン23に送信し、同時に、主制御部26では機能ステイタスメモリ28の値が1になると、チャイルドセイフティモードに設定し、0になるとチャイルドセイフティモード解除モードに設定する。   The communication unit 27 of the master server 21 is the same as the communication unit 31. When a signal from the main control unit 26 is input, a signal is output to the bus line 23, and when a signal is received from the bus line 23, A signal is output to the control unit 26. The main control unit 26 stores the data indicating the switch status of the function switch 24 received from the communication unit 27 in the switch status memory 26a. When the data changes from 1 to 0, the counter 29 counts once, and the counter 29 counts. Then, the value of the function status memory 28 is rewritten so that it becomes 1 when 0 and becomes 0 when 1. When the data in the function status memory 28 is changed, 1 data indicating lighting or 0 data indicating light extinction is written in the frame indicating the display status, and this signal is transmitted via the communication unit 27 to the bus. At the same time, the main control unit 26 sets the child safety mode when the value of the function status memory 28 becomes 1, and sets the child safety mode cancel mode when the value becomes 0.

前記構成を有する車両用制御装置は、次のように動作する。ただし、ここで行う動作説明は、初期状態として、チャイルドセイフティモード解除モードになっており、マスタサーバ21の機能ステイタスメモリ28及びスレーブサーバ22の内部メモリ30aのスイッチステイタスメモリ30a1、表示ステイタスメモリ30a2のデータが全て0になっている状態を想定する。この状態から、機能スイッチ24が押圧操作されてオフからオン状態になり、押圧を解除することによって自動復帰し、オンからオフになった際の動作について説明する。なお、通常の動作の場合、オンとなる時間は70msec程度以上であり、制御部30が機能スイッチ24の状態を確認する所定の時間間隔よりも十分に長い。   The vehicle control device having the above-described configuration operates as follows. However, the description of the operation performed here is the child safety mode release mode as an initial state, and the function status memory 28 of the master server 21, the switch status memory 30a1 of the internal memory 30a of the slave server 22, and the display status memory 30a2. Assume that all data is 0. From this state, the operation when the function switch 24 is pressed to change from the off state to the on state, automatically recovers by releasing the press, and from the on state to the off state will be described. In a normal operation, the on time is about 70 msec or longer, which is sufficiently longer than a predetermined time interval in which the control unit 30 confirms the state of the function switch 24.

前記スイッチステイタスメモリ30a1は、機能スイッチ24がオフからオンになる動作に伴って0から1に変更され、当該データが変更されされると制御部30は、スイッチステイタスを示すフレームを1として当該情報、及び送信元である当該スレーブサーバ22のアドレス、送信先であるマスタサーバ21のアドレスを含む所定のフォーマットからなる信号を通信部31を介してバスライン23に送信する。通信部27はバスライン23を通して当該信号を受信すると、主制御部26に出力し、当該主制御部26は自マスタサーバ21宛ての信号であるかを確認し、確認するとスイッチステイタスメモリ26aに1に示す信号を記憶する。次に、70msec程度の経過後に機能スイッチ24がオンからオフに変り、内部メモリ30a1の保存データは1から0に変化する。当該データが変化すると当該情報を含む信号を同様のフォーマットで送信し、スイッチステイタスメモリ26aの保存データは1から0に変化する。そして、カウンタ29は、スイッチステイタスメモリ26aのデータが1から0に変化すると、機能スイッチ24の操作が1回行われたものと判断して1回カウントし、機能ステイタスメモリ28の値を0から1に変化させる。このとき、主制御部26は、チャイルドセイフティモードに設定され当該モードに準じた制御を行う。   The switch status memory 30a1 is changed from 0 to 1 with the operation of the function switch 24 being turned from OFF to ON, and when the data is changed, the control unit 30 sets the frame indicating the switch status as 1 And a signal having a predetermined format including the address of the slave server 22 as a transmission source and the address of the master server 21 as a transmission destination is transmitted to the bus line 23 via the communication unit 31. When the communication unit 27 receives the signal through the bus line 23, the communication unit 27 outputs the signal to the main control unit 26. The main control unit 26 confirms whether the signal is addressed to the own master server 21. The signal shown in FIG. Next, after about 70 msec, the function switch 24 changes from on to off, and the data stored in the internal memory 30a1 changes from 1 to 0. When the data changes, a signal including the information is transmitted in the same format, and the data stored in the switch status memory 26a changes from 1 to 0. Then, when the data in the switch status memory 26a changes from 1 to 0, the counter 29 determines that the operation of the function switch 24 has been performed once, counts once, and sets the value in the function status memory 28 from 0. Change to 1. At this time, the main control unit 26 is set to the child safety mode and performs control according to the mode.

これと同時に、機能ステイタスメモリ28の値の変更に伴い表示ステイタスを示すフレームを1にした信号、及び、送信元であるマスタサーバ21のアドレス、送信先であるスレーブサーバ22のアドレス含む所定のフォーマットからなる信号をバスライン23に送信する。通信部31は、バスライン23を通して当該信号を受信すると、制御部30が自己宛の信号であるかを判断するとともに、表示ステイタスメモリ30a2を1にする。制御部30は、内部メモリ30a2の値が変化すると、機能スイッチ状態表示部25に点灯を示す信号を出力してLED25aを点灯させる。   At the same time, a predetermined format including a signal in which the frame indicating the display status is set to 1 in accordance with the change of the value of the function status memory 28, the address of the master server 21 that is the transmission source, and the address of the slave server 22 that is the transmission destination Is transmitted to the bus line 23. When the communication unit 31 receives the signal through the bus line 23, the control unit 30 determines whether the signal is addressed to itself and sets the display status memory 30a2 to 1. When the value of the internal memory 30a2 changes, the control unit 30 outputs a signal indicating lighting to the function switch state display unit 25 to turn on the LED 25a.

次に、この状態から再度機能スイッチ24を押圧すると、前と同様に、通信部31からマスタサーバ21に向けてスイッチステイタスを示す1と0の信号が0msecの時点と70msecの時点に送信され、カウンタ29によって機能スイッチ24が1回操作されたと判断して1回としてカウントし、今度は機能ステイタスメモリ28の値を1から0に変化させる。このとき、主制御部26はチャイルドセイフティモード解除モードになり、当該モードに準じた制御を行う。また、機能ステイタスメモリ28の値が変化すると同時に、スレーブサーバ22に表示ステイタスを示すフレームが0の信号を送信して表示ステイタスメモリ30a2を0にし、機能スイッチ状態表示部25に消灯を示す信号を送信し、機能スイッチ状態表示部25は次に1の信号が入力されるまで消灯を維持する。   Next, when the function switch 24 is pressed again from this state, the signals 1 and 0 indicating the switch status are transmitted from the communication unit 31 to the master server 21 at the time of 0 msec and the time of 70 msec, as before. The counter 29 determines that the function switch 24 has been operated once, and counts it as one. This time, the value of the function status memory 28 is changed from 1 to 0. At this time, the main control unit 26 enters the child safety mode release mode and performs control according to the mode. At the same time as the value of the function status memory 28 changes, a signal indicating that the frame indicating the display status is 0 is transmitted to the slave server 22 to set the display status memory 30a2 to 0, and a signal indicating that the function switch status display unit 25 is turned off is sent. The function switch state display unit 25 keeps the light off until the next signal 1 is input.

このようにして、機能ステイタスメモリ28の保存データは、機能スイッチ24の1回の操作、すなわちオフからオンになりまたオフになる操作に対応して交互に0から1に変更される。すなわち、初期状態がチャイルドセイフティモード解除モードとすると、機能スイッチ24のオン操作の回数が偶数回の際には機能ステイタスメモリ28の保存データは0になり、その場合にはチャイルドセイフティモード解除モードとするとともにLED25aを消灯する。機能スイッチ24のオン操作の回数が奇数回の際には機能ステイタスメモリ28の保存データは1になり、その場合にはチャイルドセイフティモードとしてLED25aを点灯する。   In this way, the data stored in the function status memory 28 is alternately changed from 0 to 1 in response to a single operation of the function switch 24, that is, an operation that turns from off to on and turns off. In other words, if the initial state is the child safety mode release mode, the stored data in the function status memory 28 becomes 0 when the number of ON operations of the function switch 24 is an even number, and in this case, the child safety mode release mode is set. At the same time, the LED 25a is turned off. When the number of ON operations of the function switch 24 is an odd number, the data stored in the function status memory 28 is 1, and in this case, the LED 25a is turned on as the child safety mode.

なお、スレーブサーバ22は、当該スレーブサーバ22を駆動する電源が再投入され、制御部30のリセット状態が解除される度に、マスタサーバ21に信号の返信を指示する要求信号を送信し、表示ステイタスメモリ30a2のデータを機能ステイタスメモリ28のデータに合わせる処理を行う。これは当該処理が行われないと以下の不都合が生じるからである。具体的には、チャイルドセイフティモードに設定されている状態で、過大な振動等によってスレーブサーバ22の電源供給経路を形成するコネクタの接続が一時的に断たれてスレーブサーバ22の電源供給が瞬断すると、表示ステイタスメモリ30a2は一般的なRAMであるため、リセットされて値が1から0になり、チャイルドセイフティモードであるにも係わらず、LED25aが消灯してしまうことになり、この状態は再度機能スイッチ24が操作されるまで続く。これは、前述のようにスイッチステイタスメモリ30a1の内容が0から1、1から0に変更されない限り、すなわち機能スイッチ24が操作されない限りは、マスタサーバ21に信号が送信されず、このため機能ステイタスメモリ28の値は変更されず、また機能ステイタスメモリ28の値が変更されない限りはスレーブサーバ22に信号が送信されず、表示ステイタスメモリ30a2の値が変わらないためである。   The slave server 22 transmits a request signal instructing the master server 21 to return a signal each time the power to drive the slave server 22 is turned on again and the reset state of the control unit 30 is released. A process of matching the data in the status memory 30a2 with the data in the function status memory 28 is performed. This is because the following inconvenience occurs if the processing is not performed. Specifically, in the state where the child safety mode is set, the connector that forms the power supply path of the slave server 22 is temporarily disconnected due to excessive vibration or the like, and the power supply of the slave server 22 is momentarily interrupted. Then, since the display status memory 30a2 is a general RAM, the value is reset from 1 to 0, and the LED 25a is turned off in spite of being in the child safety mode. This continues until the function switch 24 is operated. This is because, as described above, unless the contents of the switch status memory 30a1 are changed from 0 to 1, 1 to 0, that is, unless the function switch 24 is operated, no signal is transmitted to the master server 21, and therefore the function status. This is because the value of the memory 28 is not changed, and unless the value of the function status memory 28 is changed, no signal is transmitted to the slave server 22 and the value of the display status memory 30a2 does not change.

このような場合、表示ステイタスメモリ30a2をRAMで構成する代わりに、電源が瞬断されてもデータ内容が保存されかつ書き替え可能なE2 PROMで構成することも考えられるが、E2 PROMは高価であるためコストアップになってしまうという問題がある。
実開平02−046491号公報
In this case, instead of configuring the display status memory 30a2 in state RAM, it is conceivable that the power is composed of instantaneous interruption is also stored the data contents and rewritable E 2 PROM, E 2 PROM is Since it is expensive, there is a problem that the cost increases.
Japanese Utility Model Publication No. 02-046491

ところで、前述した従来の車両用制御装置においては、電源が瞬断した場合に容易に確認することが可能であるが、双方向通信システムであり、当該双方向通信におけるフォーマット等を決めた通信上の取り決め(プロトコル)は各車各様であるため、開発等に多くの手間が掛かり、また、IC等の標準化が難しく、さらにはメンテナンスサービスも煩雑になってしまい、安価にできないという問題がある。   By the way, in the conventional vehicle control device described above, it is possible to easily confirm when the power supply is momentarily cut off. Since each vehicle has different arrangements (protocols), it takes a lot of time for development, etc., and it is difficult to standardize ICs, etc., and the maintenance service becomes complicated, making it impossible to reduce costs. .

ここで、統一された規格であるリンバス{LIN(Local Interconnect Network)−BUS}を用いることが考えられる。当該リンバスにおいては、所定時間間隔毎にマスタサーバ21への信号の返信を要求する要求信号をスレーブサーバ22に送信し、スレーブサーバ22は要求信号を受信した場合にのみ信号を送信するもので、当該双方向通信においてはスレーブサーバ22は、所定の状態になるとマスタサーバ21に向けて信号を送信するものと異なる。ただし、基本的なブロック図は変らず、その他の基本的な動作は前述の双方向通信の場合と変わりがないので、以下当該リンバスを用いた場合について図3を流用して説明する。   Here, it is conceivable to use Rimbus {LIN (Local Interconnect Network) -BUS} which is a unified standard. In the Limbus, a request signal for requesting a reply of a signal to the master server 21 is transmitted to the slave server 22 at predetermined time intervals, and the slave server 22 transmits a signal only when the request signal is received. In the two-way communication, the slave server 22 is different from the one that transmits a signal to the master server 21 in a predetermined state. However, the basic block diagram is not changed, and other basic operations are the same as in the case of the above-described bidirectional communication. Therefore, the case of using the Rimbus will be described below with reference to FIG.

当該リンバスのマスタサーバ21の主制御部26は、所定時間間隔毎の、例えばスイッチのオン時間の70msecよりも短い50msec毎に送信タイミングが到来すると、その都度、送信元、送信先のアドレスを含む要求信号を形成し、その要求信号を通信部27からリンバス23を通してスレーブサーバ22に送信し、スレーブサーバ22は当該信号を受信すると、そのときのスイッチステイタスデータを示す信号を返信するようにする。具体的にはある任意の時間を基準にして、その際に要求信号を送信し、その10msecから80msecにおいて、機能スイッチ24がオン信号を発生した場合を想定すると、時間が0msecの際にはスイッチステイタスメモリ26aを0にし、50msecが経過した次のタイミングでは1になり、さらに50msec経過した次のタイミングでは0になる。そして、前述の双方向通信と同様の動作により、スイッチステイタスメモリ26aは0、1、0の値になり、1から0に変わるとカウンタ29で1回カウントして機能ステイタスメモリ28の値を変更し、そして当該値が変化すると、表示ステイタスのフレームを機能ステイタスに合わせたデータにしてスレーブサーバ22に送信し、表示ステイタスメモリ30a2のデータを変更し、制御部30が当該データの変更を検知すると機能スイッチ状態表示部25に信号を出力し、機能スイッチ状態表示部25でLED25aを点灯あるいは消灯させる。   The main control unit 26 of the master server 21 of the Limbus includes the address of the transmission source and the transmission destination every time when the transmission timing comes every predetermined time interval, for example, every 50 msec shorter than the switch on time of 70 msec. A request signal is formed, and the request signal is transmitted from the communication unit 27 to the slave server 22 via the link 23. When the slave server 22 receives the signal, the slave server 22 returns a signal indicating the switch status data at that time. Specifically, on the basis of an arbitrary time, a request signal is transmitted at that time, and when the function switch 24 generates an ON signal in 10 to 80 msec, when the time is 0 msec, the switch The status memory 26a is set to 0, and becomes 1 at the next timing after 50 msec has elapsed, and becomes 0 at the next timing after 50 msec has elapsed. Then, by the same operation as the above-described bidirectional communication, the switch status memory 26a has values of 0, 1, 0. When the value changes from 1 to 0, the counter 29 counts once and changes the value of the function status memory 28. When the value changes, the display status frame is converted into data that matches the function status, and is transmitted to the slave server 22 to change the data in the display status memory 30a2, and when the control unit 30 detects the change in the data. A signal is output to the function switch state display unit 25, and the LED 25a is turned on or off by the function switch state display unit 25.

しかしながら、当該リンバスにおいても、前述の双方向通信と同様に、機能スイッチ24が操作され、スイッチステイタスメモリ26aの値が変更されない限りは機能ステイタスメモリ28の値が変らず、機能ステイタスメモリ28の値が変らない限りは表示ステイタスメモリ30a2を変更する信号が送信されず、スレーブサーバ22の電源が瞬断された場合、設定されているモードと表示が予め定められた関係にならないという問題がある。なお、前述の双方向通信の場合には、電源が投入された段階で、スレーブサーバ22からマスタサーバ21のメモリを確認するように要求信号を送信することは可能であるが、リンバスにおいてはスレーブサーバ22が自らは信号を送信しないのでこのようにはできない。   However, also in the Rimbus, the value of the function status memory 28 does not change unless the function switch 24 is operated and the value of the switch status memory 26a is changed as in the above-described bidirectional communication. Unless the signal changes, a signal for changing the display status memory 30a2 is not transmitted, and when the power supply of the slave server 22 is momentarily cut off, there is a problem that the set mode and the display do not have a predetermined relationship. In the case of the above-described bidirectional communication, a request signal can be transmitted from the slave server 22 to check the memory of the master server 21 when the power is turned on. This is not possible because the server 22 does not send its own signal.

本発明は、このような技術的背景に鑑みてなされたもので、その目的は、安価にすることが可能な通信システムを利用でき、さらにスレーブサーバに高価なメモリを必要とせず、同時にシステムの電源が瞬断された場合であっても、瞬断前のモードに合わせた表示が可能となる車両用制御装置を提供することにある。   The present invention has been made in view of such a technical background, and an object of the present invention is to be able to use a communication system that can be made inexpensive, and without requiring an expensive memory for a slave server, and at the same time, An object of the present invention is to provide a vehicle control device capable of displaying in accordance with the mode before the instantaneous interruption even when the power supply is instantaneously interrupted.

前記目的を達成するために、本発明による車両用制御装置は、操作の度に所定の信号を出力して非操作位置に自動復帰する自己復帰型機能スイッチと、少なくとも異なる2つの表示状態を有する表示部と、自己復帰型機能スイッチと表示部とが接続され自己復帰型機能スイッチのオンかオフかの操作状態を示すスイッチステイタス信号を送信するとともに表示部の表示状態を決める表示ステイタス信号を受信して表示部の表示を所定の状態に表示させる制御部を有するスレーブサーバと、スイッチステイタス信号を受信するとともに当該受信信号に応じて機能ステイタスメモリの保存データを書き替え、当該保存データに合わせて車両に設けられた被制御部に対する制御を所定のモードで制御する主制御部を有するマスタサーバと、マスタサーバとスレーブサーバ間に接続配置されたバスラインとをそれぞれ車両に配置し、マスタサーバは所定時間間隔でバスラインを通して要求信号を送信し、スレーブサーバはその要求信号の受信に応答してバスラインを通してスイッチステイタスを示す信号を送信し、主制御部は所定時間間隔で機能ステイタスメモリの保存データに合わせて表示ステイタス信号を形成して当該表示ステイタス信号をバスラインを通してマスタサーバからスレーブサーバに送信する手段を具備する。   In order to achieve the above object, a vehicle control apparatus according to the present invention has at least two different display states from a self-return function switch that outputs a predetermined signal every time an operation is performed and automatically returns to a non-operation position. The display unit, the self-recovering function switch, and the display unit are connected to transmit a switch status signal indicating the operation state of whether the self-recovering function switch is on or off, and receive a display status signal that determines the display state of the display unit. And a slave server having a control unit for displaying the display of the display unit in a predetermined state, and receiving the switch status signal and rewriting the stored data in the function status memory in accordance with the received signal, in accordance with the stored data A master server having a main control unit for controlling control of a controlled unit provided in the vehicle in a predetermined mode; A bus line connected between the bus and the slave server is arranged in the vehicle, the master server transmits a request signal through the bus line at predetermined time intervals, and the slave server responds to the request signal by receiving the bus line. The main control unit forms a display status signal according to the data stored in the function status memory at a predetermined time interval, and transmits the display status signal from the master server to the slave server via the bus line. Means.

また、前記手段において、マスタサーバは、表示ステイタス信号の送信を、要求信号の送信時にバスラインを介してスレーブサーバ側に送信するようにした他の手段を具備する。   In the above means, the master server includes other means for transmitting the display status signal to the slave server side via the bus line when the request signal is transmitted.

さらに、前記手段または前記他の手段において、主制御部に、スイッチステイタス信号によって、自己復帰型機能スイッチの1回の操作をカウントするカウンタを設け、当該カウントされる毎に機能ステイタスメモリの保存データを交互に切り替え、当該保存データに合わせてモードを所定のモード及び所定のモードの解除モードに切り替え、同時に表示部を点灯及び消灯の異なる2つの表示状態にしたさらに他の手段を具備する。   Further, in the above means or the other means, the main control unit is provided with a counter that counts one operation of the self-return type function switch by a switch status signal, and the data stored in the function status memory every time the count is counted. Are switched alternately, the mode is switched to a predetermined mode and a release mode of the predetermined mode in accordance with the stored data, and at the same time, another means is provided in which the display unit is switched to two display states that are turned on and off.

以上のように、請求項1に記載した車両用制御装置によれば、マスタサーバにおいて所定の時間間隔で、機能ステイタスメモリの内容に対応した表示ステイタス信号をバスラインを通して送信し、スレーブサーバにおいては受信した表示ステイタス信号に応じて表示部の表示を所定の状態に表示するようにしたので、スレーブサーバの電源が瞬断された場合であっても所定の時間が経過すれば、マスタサーバ側の機能ステイタスに基づいた主制御部のモードと、スレーブサーバの表示をリンクさせることができ、当該所定の時間間隔を短くした場合には、リンクの不一致が殆ど問題にならない。   As described above, according to the vehicle control device of the first aspect, the master server transmits the display status signal corresponding to the contents of the function status memory at predetermined time intervals through the bus line. Since the display on the display unit is displayed in a predetermined state according to the received display status signal, even if the slave server is powered off, if the predetermined time elapses, the master server side The mode of the main control unit based on the function status can be linked to the display of the slave server, and when the predetermined time interval is shortened, the mismatch of the links hardly poses a problem.

また、請求項2に記載した車両用制御装置によれば、マスタサーバは、表示ステイタス信号の送信を、要求信号の送信時に送信しているので、マスタサーバからスレーブサーバへの信号送信を要求信号の送信時のみとすることができ、それにより前記効果を達成できる他に、信号伝送効率を高めることができる。   According to the vehicle control device described in claim 2, since the master server transmits the display status signal when transmitting the request signal, the signal transmission from the master server to the slave server is requested. In addition to achieving the above effect, the signal transmission efficiency can be increased.

さらに、請求項3に記載した車両用制御装置によれば、主制御部に、スイッチステイタス信号によって、自己復帰型機能スイッチの1回の操作をカウントするカウンタを設け、当該カウントされる毎に保存データを交互に切り替え、保存データに合わせてモードを所定のモードへの設定及び所定のモードの解除モードに切り替え、同時に表示部を点灯及び消灯の異なる2つの表示状態にしているので、所定のモードへの設定及び解除とそれに合わせて点灯と消灯を繰り返し行うように制御する制御装置への適用が容易に可能になる。   Further, according to the vehicle control device of the third aspect, the main control unit is provided with a counter that counts one operation of the self-return type function switch by the switch status signal, and is stored every time the count is performed. The data is switched alternately, the mode is set to the predetermined mode and the mode is switched to the release mode of the predetermined mode according to the stored data, and at the same time, the display unit is set to two display states differently lit and extinguished. It can be easily applied to a control device that performs control so as to repeatedly turn on and off in accordance with the setting and release of the control.

以下、本発明の実施の形態を図面を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明による車両用制御装置の一つの実施の形態に係わるもので、その要部構成を示すブロック図である。図1の構成と図3の従来例の構成との見掛け上の違いは、主制御部6の内部メモリ6aにスイッチステイタスメモリ6a1の他に、表示ステイタスメモリ6a2を設けている点である。   FIG. 1 relates to one embodiment of a vehicle control apparatus according to the present invention, and is a block diagram showing a configuration of a main part thereof. The apparent difference between the configuration of FIG. 1 and the configuration of the conventional example of FIG. 3 is that a display status memory 6a2 is provided in the internal memory 6a of the main control unit 6 in addition to the switch status memory 6a1.

具体的には、本発明による車両用制御装置は、マスタサーバ1と、スレーブサーバ2と、マスタサーバ1とスレーブサーバ2を接続するバスライン3とを有しており、さらに、スレーブサーバ2には、プッシュスイッチからなる機能スイッチ(自己復帰型機能スイッチ)4と、機能スイッチ4によりチャイルドセイフティモード(所定のモード)に設定されている場合はLED5aを点灯させ、解除(所定のモードの解除モード)された場合にはLED5aを消灯させる機能スイッチ状態表示部(表示部)5とが接続されている。   Specifically, the vehicle control apparatus according to the present invention includes a master server 1, a slave server 2, and a bus line 3 that connects the master server 1 and the slave server 2. Is a function switch (self-return type function switch) 4 composed of a push switch, and when the child safety mode (predetermined mode) is set by the function switch 4, the LED 5a is turned on and released (the release mode of the predetermined mode). ) Is connected to a function switch state display unit (display unit) 5 that turns off the LED 5a.

マスタサーバ1には、図示を省略した助手席あるいは後部座席用のパワーウインドウスイッチ及びパワーウインドウ駆動部が直接あるいはバスライン3を介して接続され、マスタサーバ1は、車両用制御装置の各部を統括制御する主制御部6と、スレーブサーバ2との間でバスライン3を通して各種信号を送受信する通信部7と、スレーブサーバ2から送信される機能スイッチ4のオン操作信号から機能スイッチ4の1回の操作をカウントするカウンタ9と、カウンタ9のカウントに対応して0と1の2つの値を交互にとるように保存データが更新されるE2 PROM(E squared PROM)等からなる機能ステイタスメモリ8とを有し、主制御部6は、通信部7と機能ステイタスメモリ8とカウンタ9にそれぞれ接続され、通信部7はバスライン3に接続される。なお、機能ステイタスメモリ8に収納されるデータは、チャイルドセイフティモードの設定と解除(以下、機能ステイタスと呼ぶ)を示し、チャイルドセイフティモードに設定されている場合には値を1、解除されている場合は0になっている。 The master server 1 is connected with a power window switch and a power window driving unit (not shown) for the passenger seat or the rear seat, either directly or via the bus line 3, and the master server 1 supervises each part of the vehicle control device. The main control unit 6 to be controlled, the communication unit 7 that transmits and receives various signals through the bus line 3 between the slave server 2, and the function switch 4 once from the ON operation signal of the function switch 4 that is transmitted from the slave server 2. A function status memory comprising a counter 9 that counts the number of operations and an E 2 PROM (E-squared PROM) in which stored data is updated so as to alternately take two values of 0 and 1 corresponding to the count of the counter 9 The main control unit 6 is connected to the communication unit 7, the function status memory 8, and the counter 9, respectively. It is connected to the bus line 3. The data stored in the function status memory 8 indicates the setting and canceling of the child safety mode (hereinafter referred to as function status). When the child safety mode is set, the value is 1 and is canceled. The case is 0.

スレーブサーバ2は、周辺機器等の制御を行う制御部10と、マスタサーバ1との間でバスライン3を通して各種信号を送受信する通信部11と、制御部10内に設けられ、機能スイッチ4のオンオフ状態(以下、スイッチステイタスと呼ぶ)を示すデータを保管するスイッチステイタスメモリ10a1、及びLED5aの点灯と消灯(以下、表示ステイタスと呼ぶ)を決定するデータを保管する表示ステイタスメモリ10a2を持つRAM等からなる内部メモリ10aとを備えており、制御部10は、機能スイッチ4と機能スイッチ状態表示部5と通信部11にそれぞれ接続され、通信部11はバスライン13に接続される。   The slave server 2 is provided in the control unit 10 that controls peripheral devices and the like, the communication unit 11 that transmits and receives various signals to and from the master server 1 through the bus line 3, and the function switch 4. A switch status memory 10a1 for storing data indicating an on / off state (hereinafter referred to as switch status), a RAM having a display status memory 10a2 for storing data for determining whether the LED 5a is turned on or off (hereinafter referred to as display status), and the like The control unit 10 is connected to the function switch 4, the function switch state display unit 5, and the communication unit 11, and the communication unit 11 is connected to the bus line 13.

この場合、リンバスは、制御部10及び主制御部6において、バスライン3を介して情報の通信制御を行うものであり、図2にその送信される信号を示す。図2のa)はマスタサーバ1からスレーブサーバ2に送信する信号を示し、図2のb)はスレーブサーバ2からマスタサーバ1に送信する信号を示す。なお、それぞれの信号を構成するフレームの具体的な信号波形についてはその図示を省略するが、それぞれのデータ内容を示すデジタル信号になっている。   In this case, the Rimbus performs communication control of information via the bus line 3 in the control unit 10 and the main control unit 6, and FIG. 2A shows a signal transmitted from the master server 1 to the slave server 2, and FIG. 2B shows a signal transmitted from the slave server 2 to the master server 1. Although specific signal waveforms of frames constituting each signal are not shown, they are digital signals indicating respective data contents.

図2のa)に示すように、マスタサーバ1からスレーブサーバ2に送信する信号は、規格でフォーマットが定められ、主にデータの送信を知らせ返信を要求するためのヘッダと呼ばれるフレームと、それに続く複数のデータフレームからなり、そのデータフレームには、送信元を示す信号、送信先を示す信号、表示ステイタスを示す信号、その他所定の情報を示す信号が書き込まれている。また、図2のb)に示すように、スレーブサーバ2からマスタサーバ1に送信する信号は、受信完了後、時間t後に返信されるものであって全てがデータフレームからなり、送信元を示す信号、送信先を示す信号、機能スイッチ4のスイッチステイタス情報を示す信号、その他所定の情報を示す信号が書き込まれている。なお、図2に示されるように、マスタサーバ1からの信号の送信、及び時間t後のスレーブサーバ2からの信号の送信によって、スレーブサーバ2とマスタサーバ1との間で1回の送受信が行われる。   As shown in FIG. 2 a), the signal transmitted from the master server 1 to the slave server 2 is formatted according to the standard, mainly a frame called a header for notifying transmission of data and requesting a reply, The data frame is composed of a plurality of data frames, in which a signal indicating the transmission source, a signal indicating the transmission destination, a signal indicating the display status, and a signal indicating other predetermined information are written. Further, as shown in FIG. 2b), the signal transmitted from the slave server 2 to the master server 1 is returned after time t after the completion of reception, and is composed of data frames, indicating the transmission source. A signal, a signal indicating the transmission destination, a signal indicating the switch status information of the function switch 4, and a signal indicating other predetermined information are written. As shown in FIG. 2, one transmission / reception is performed between the slave server 2 and the master server 1 by transmission of a signal from the master server 1 and transmission of a signal from the slave server 2 after time t. Done.

なお、後述するマスタサーバ1とスレーブサーバ2の交信において、送信元を示す信号、送信先を示す信号は必ず書き込まれているが、必要でない信号、あるいは対応する情報を持っていない場合には、それに相当するフレームに情報を示す信号は書き込まれずに空になっており、以下の説明においては、具体的信号の詳細についての説明は省略する。   In the communication between the master server 1 and the slave server 2, which will be described later, a signal indicating the transmission source and a signal indicating the transmission destination are always written, but when there is no unnecessary signal or corresponding information, A signal indicating information in the corresponding frame is empty without being written, and in the following description, detailed description of specific signals is omitted.

機能スイッチ4は、自動車等の移動車両に搭乗している子供等がパワーウインドウ開閉スイッチを操作し、それによりウインドウを不必要に開閉させるのを防止するために設けられているもので、チャイルドセイフテイスイッチとも呼ばれ運転席の近傍に設けられており、運転席以外のパワーウインドウ開閉スイッチの動作を行ってもその動作に伴う開または閉の指令を無視するように主制御部6を機能させるものであって、押圧を解除すると非押圧状態に操作ツマミの位置が復帰する自己復帰型タクトスイッチ等のプッシュスイッチが用いられ、このプッシュスイッチが押圧操作されてスイッチオンになる度に、ウインドウ開閉スイッチの操作が無視されるチャイルドセイフテイモードとウインドウ開閉スイッチの操作によってウインドウが駆動されるチャイルドセイフテイモード解除モードが交互に発生する。   The function switch 4 is provided to prevent a child or the like riding in a moving vehicle such as an automobile from operating the power window opening / closing switch, thereby opening and closing the window unnecessarily. It is also called a tail switch and is provided in the vicinity of the driver's seat. Even if the power window opening / closing switch other than the driver's seat is operated, the main control unit 6 is made to function so as to ignore the opening or closing command accompanying the operation. When a push switch is released, a push switch such as a self-return tact switch that returns the position of the operation knob to a non-pressed state is used. Whenever the push switch is pressed and turned on, the window opens and closes. The child safety mode where the switch operation is ignored and the window open / close switch operation Child safe Tay mode release mode to be driven is generated alternately.

すなわち、仮に初期状態において、チャイルドセイフテイモード解除モードであるとすると、ウインドウ開閉スイッチを奇数回操作するとチャイルドセイフテイモードになり、偶数回操作するとチャイルドセイフテイモード解除モードになる。そして、チャイルドセイフテイモードのときには、LED5aが点灯してチャイルドセイフテイモードに設定されていることを示し、チャイルドセイフテイモード解除モードになったときには、LED5aが消灯してチャイルドセイフテイモード解除モードであることを示す。   That is, in the initial state, if the child safety mode cancel mode is set, the child safety mode cancel mode is set when the window opening / closing switch is operated an odd number of times, and the child safety mode cancel mode is set when the window open / close switch is operated an even number of times. In the child safety mode, the LED 5a is lit to indicate that the child safety mode is set. In the child safety mode cancel mode, the LED 5a is turned off and the child safety mode cancel mode is set. Indicates that there is.

スレーブサーバ2の制御部10は、所定の時間間隔、例えば10msecで、機能スイッチ4のスイッチステイタスを確認し、スイッチオンの場合には1、スイッチオフの場合には0になるようにスイッチステイタスメモリ10a1のデータを書き替えて保存する。表示ステイタスメモリ10a2には、LED5aの表示ステイタスを決定するデータを保存し、例えば1の場合は点灯、0の場合は消灯を示し、当該表示ステイタスを示すデータに変更かあった場合に機能スイッチ状態表示部5に制御部10から信号を出力し、機能スイッチ状態表示部5が1の信号を受信した場合にはLED5aの点灯を次に0が入力されるまで継続させ、0を受信した場合にはLED5aの消灯を次に1が入力されるまで継続させる。通信部11は、制御部10からの信号を入力した場合にはバスライン3に信号を出力し、また、バスライン3から信号を受信した場合には制御部10に信号を出力する。   The control unit 10 of the slave server 2 confirms the switch status of the function switch 4 at a predetermined time interval, for example, 10 msec. The switch status memory is set to 1 when the switch is on and 0 when the switch is off. The data of 10a1 is rewritten and saved. The display status memory 10a2 stores data for determining the display status of the LED 5a. For example, the display status memory 10a2 is turned on when 0, and is turned off when 0, and the function switch state when the data indicating the display status is changed. When a signal is output from the control unit 10 to the display unit 5 and the function switch state display unit 5 receives a signal of 1, when the LED 5a continues to be lit until 0 is input next, when 0 is received Continues turning off the LED 5a until 1 is input next time. The communication unit 11 outputs a signal to the bus line 3 when receiving a signal from the control unit 10, and outputs a signal to the control unit 10 when receiving a signal from the bus line 3.

マスタサーバ1の通信部7も通信部11と同様であり、主制御部6からの信号を入力した場合にはバスライン3に信号を出力し、バスライン3から信号を受信した場合には主制御部6に信号を出力する。主制御部6は、通信部7から受信した機能スイッチ4のスイッチステイタスを示すデータをスイッチステイタスメモリ6a1で保存し、そのデータが1から0になるとカウンタ9で1回カウントし、カウンタ9がカウントすると機能ステイタスメモリ8の値を、0の場合には1、1の場合には0になるように書き替える。そして、機能ステイタスメモリ8のデータが変更されるとそれに対応して、LED5aの表示ステイタスを示す表示ステイタスメモリ6a2に点灯を示す1のデータを書き込む。そして同時に、主制御部6では機能ステイタスメモリ8の値が1になると、チャイルドセイフテイモードに設定し、0になるとチャイルドセイフテイモード解除モードに設定する。さらに、主制御部6では、所定時間間隔毎、例えば50msec毎に送信タイミングが到来すると、その都度返信指示を示すフレームに返信指示を行うデータ、表示ステイタスを示すフレームにデータを書き込み、送信元のアドレス及び送信先のアドレスを示すフレームに所定のデータを書き込んで通信部7からバスライン3を通してスレーブサーバ2に送信する。   The communication unit 7 of the master server 1 is the same as the communication unit 11. When a signal from the main control unit 6 is input, a signal is output to the bus line 3, and when a signal is received from the bus line 3, A signal is output to the control unit 6. The main control unit 6 stores the data indicating the switch status of the function switch 4 received from the communication unit 7 in the switch status memory 6a1. When the data changes from 1 to 0, the counter 9 counts once, and the counter 9 counts. Then, the value of the function status memory 8 is rewritten so that it becomes 1 when 0 and becomes 0 when 1. When the data in the function status memory 8 is changed, 1 data indicating lighting is written in the display status memory 6a2 indicating the display status of the LED 5a. At the same time, the main control unit 6 sets the child safety mode when the value of the function status memory 8 becomes 1, and sets the child safety mode cancel mode when it becomes 0. Further, the main control unit 6 writes data in a frame indicating a reply instruction and data in a frame indicating a display status each time a transmission timing arrives at a predetermined time interval, for example, every 50 msec. Predetermined data is written in a frame indicating an address and a destination address, and transmitted from the communication unit 7 to the slave server 2 through the bus line 3.

前記構成を有する車両制御装置は、次のように動作する。ただし、ここで行う動作説明は、初期状態として、チャイルドセイフテイモード解除モードになっており、マスタサーバ1側の機能ステイタスメモリ8、スイッチステイタスメモリ6a1、表示ステイタスメモリ6a2、及び、スレーブサーバ2側の内部メモリ10aのスイッチステイタスメモリ10a1、表示ステイタスメモリ10a2のデータが全て0になっている状態を想定する。この状態のときに、機能スイッチ4が押圧操作されてオフからオン状態になり、押圧を解除することによって自動復帰し、オンからオフ状態になった際の動作について説明する。なお、機能スイッチ4はある任意の時間を基準として、その10msecから80msecにおいて、スイッチがオンになり、また、要求信号は0msecから50msecの時間間隔で順次送信されるものとする。   The vehicle control device having the above-described configuration operates as follows. However, the operation description here is in the child safety mode release mode as an initial state, and the function status memory 8 on the master server 1 side, the switch status memory 6a1, the display status memory 6a2, and the slave server 2 side. Assume that the switch status memory 10a1 and the display status memory 10a2 in the internal memory 10a are all zero. In this state, the operation when the function switch 4 is pressed to change from the off state to the on state, automatically recovers by releasing the press, and from the on state to the off state will be described. It is assumed that the function switch 4 is turned on from 10 msec to 80 msec with a certain arbitrary time as a reference, and request signals are sequentially transmitted at time intervals of 0 msec to 50 msec.

0msecの時点において、返信指示を示すフレームが返信指示を行うデータで、表示ステイタスのフレームが0の信号をマスタサーバ1からスレーブサーバ2に送信する。スレーブサーバ2は、これを受信し、自スレーブサーバ2宛ての信号であるかを確認し、確認が行われると表示ステイタスのデータと表示ステイタスメモリ10a2のデータを比較してそれらの一致を確認する。また、返信を要求されていることを確認すると、スイッチステイタスメモリ10a2は0になっているので、スイッチステイタスが0の信号を送信する。通信部7はこの信号を受信して主制御部6に出力し、主制御部6では、自マスタサーバ1宛ての信号であるかを確認し、確認が行われるとスイッチステイタスを示すフレームの0とスイッチステイタスメモリ6a1に記録されている0とを比較し、この場合同じであるのでスイッチステイタスメモリ6a1を書き替えない。   At the time of 0 msec, a signal indicating a reply instruction is a data indicating a reply instruction, and a signal whose display status frame is 0 is transmitted from the master server 1 to the slave server 2. The slave server 2 receives this, confirms whether it is a signal addressed to its own slave server 2, and if the confirmation is made, compares the display status data with the data in the display status memory 10a2, and confirms their match. . If it is confirmed that a reply is requested, the switch status memory 10a2 is 0, so a signal with a switch status of 0 is transmitted. The communication unit 7 receives this signal and outputs it to the main control unit 6. The main control unit 6 confirms whether the signal is addressed to the own master server 1, and if the confirmation is made, the frame 0 indicating the switch status is displayed. And 0 recorded in the switch status memory 6a1 are compared. In this case, the switch status memory 6a1 is not rewritten.

次に、50msec経過後に0msecの時点と同じ信号を送信し、スレーブサーバ2でこの信号を受信すると前と同様に表示ステイタスメモリ10a2のデータの一致を確認する。なお、返信を要求されていることを確認すると、その際には機能スイッチ4はオンになっているので、スイッチステイタスメモリ10a1は1になっており、スイッチステイタスが1の信号をマスタサーバ1に送信する。このとき、マスタサーバ1では、前述の動作が行われ、スイッチステイタスのデータとスイッチステイタスメモリ10a1に収納されているデータとを比較し、この場合に異なっているのでスイッチステイタスメモリ6a1のデータを0から1に変更する。   Next, the same signal as that at 0 msec is transmitted after 50 msec has elapsed, and when this signal is received by the slave server 2, the coincidence of the data in the display status memory 10 a 2 is confirmed as before. If it is confirmed that a reply is requested, the function switch 4 is turned on at that time, so that the switch status memory 10a1 is 1, and a signal with a switch status of 1 is sent to the master server 1. Send. At this time, the master server 1 performs the above-described operation, compares the switch status data with the data stored in the switch status memory 10a1. In this case, the master server 1 sets the data in the switch status memory 6a1 to 0. Change from 1 to 1.

次いで、100msec経過後に0msecの時点と同じ信号が送信され、それに対して機能スイッチ4はオフになっているので、スイッチステイタスメモリ10a1は0になっており、スイッチステイタスが0の信号をマスタサーバ1に送信する。このとき、前述の場合と同様の動作により、マスタサーバ1はスイッチステイタスメモリ6a1のデータを1から0に変更する。   Next, after the elapse of 100 msec, the same signal as that at 0 msec is transmitted, and since the function switch 4 is turned off, the switch status memory 10a1 is 0, and a signal with a switch status of 0 is transmitted to the master server 1. Send to. At this time, the master server 1 changes the data in the switch status memory 6a1 from 1 to 0 by the same operation as described above.

カウンタ9は、スイッチステイタスメモリ6a1のデータが1から0に変化したので機能スイッチ4の操作が1回行われたものと判断して1回カウントし、機能ステイタスメモリ8の値を0から1に変化させる。このとき、主制御部6はチャイルドセイフテイモードに設定され、そのモードに準じた制御を行う。また、表示ステイタスメモリ6a2の値を1に変更する。   The counter 9 determines that the operation of the function switch 4 has been performed once because the data in the switch status memory 6a1 has changed from 1 to 0, and counts once, and the value of the function status memory 8 is changed from 0 to 1. Change. At this time, the main control unit 6 is set to the child safety mode and performs control according to the mode. Further, the value of the display status memory 6a2 is changed to 1.

この後、150msec経過後においては、表示ステイタスメモリ6a2が1になっているので、表示ステイタスを1にした信号を送信する。スレーブサーバ2がこの信号を受信すると、表示ステイタスメモリ10a2のデータを書き替え、この書き替えが行われると、制御部10は、LED5aを点灯するように機能スイッチ状態表示部5に制御信号を供給する。機能スイッチ状態表示部5は次に0の信号が入力されるまでLED5aの点灯を維持する。   Thereafter, after 150 msec has elapsed, since the display status memory 6a2 is 1, a signal with the display status set to 1 is transmitted. When the slave server 2 receives this signal, the data in the display status memory 10a2 is rewritten. When this rewriting is performed, the control unit 10 supplies a control signal to the function switch state display unit 5 so that the LED 5a is lit. To do. The function switch state display unit 5 keeps the LED 5a on until the next 0 signal is input.

なお、この状態から再度機能スイッチ4を押圧すると、同様に、主制御部6は時間の経過に伴ってスイッチステイタスがそれぞれ0、1、0の信号を受信し、カウンタ9は1回カウントして機能ステイタスメモリ8のデータを1から0に変更し、表示ステイタスメモリ6a2のデータも1から0に変更する。そして、次の送信タイミングがきたとき、表示ステイタスを0にした信号をスレーブサーバ2に送信し、表示ステイタスメモリ10a2のデータを0に書き替え、LED5aを消灯する。   When the function switch 4 is pressed again from this state, similarly, the main control unit 6 receives signals with switch statuses of 0, 1, and 0 as time passes, and the counter 9 counts once. The data in the function status memory 8 is changed from 1 to 0, and the data in the display status memory 6a2 is also changed from 1 to 0. When the next transmission timing comes, a signal with the display status set to 0 is transmitted to the slave server 2, the data in the display status memory 10a2 is rewritten to 0, and the LED 5a is turned off.

このようにして機能ステイタスメモリ8には、機能スイッチ4の1回の操作、すなわちオフからオンになり、又オフになる操作に対応して交互に保存データを0から1に変更する。すなわち、初期状態がチャイルドセイフテイモード解除モードである場合、機能スイッチ4のオン操作の回数が偶数回の際には機能ステイタスメモリ8の保存データは0になり、その場合にはチャイルドセイフテイモード解除モードにするとともにLED5aを消灯する。機能スイッチ4のオン操作の回数が奇数回の際には機能ステイタスメモリ8の保存データは1になり、その場合にはチャイルドセイフテイモードとしてLED5aを点灯する。   In this manner, in the function status memory 8, the stored data is alternately changed from 0 to 1 in response to one operation of the function switch 4, that is, an operation from turning off to turning on. That is, when the initial state is the child safety mode release mode, the data stored in the function status memory 8 becomes 0 when the number of ON operations of the function switch 4 is an even number, and in this case, the child safety mode is set. In the release mode, the LED 5a is turned off. When the number of ON operations of the function switch 4 is an odd number, the data stored in the function status memory 8 is 1, and in this case, the LED 5a is turned on as the child safety mode.

なお、チャイルドセイフテイモードの状態で、過大な振動等によってスレーブサーバ2の図示が省略された電源供給経路に配置されるコネクタの接続が一時的に断たれ、スレーブサーバ2の電源供給が瞬断すると、機能ステイタスメモリ8はE2 PROMで構成されているため1の値が維持されるのに対して、表示ステイタスメモリは通常のRAMであるためその値が1から0になる。しかるに、本発明においては、電源が復帰した直後にマスタサーバ1からスレーブサーバ2に送信される要求信号には前述したように表示ステイタスを1にした信号が送信されるので、LED5aは直ちに点灯する。 Note that, in the child safety mode, the connection of the connector arranged in the power supply path (not shown) of the slave server 2 is temporarily disconnected due to excessive vibration or the like, and the power supply of the slave server 2 is momentarily interrupted. Then, since the function status memory 8 is composed of E 2 PROM, the value of 1 is maintained, whereas the value of the display status memory is a normal RAM, so that the value becomes 1 to 0. However, in the present invention, since the request signal transmitted from the master server 1 to the slave server 2 immediately after the power supply is restored, the signal with the display status set to 1 is transmitted as described above, the LED 5a is immediately turned on. .

なお、前記実施の形態においては、機能スイッチ4として、非押圧状態においてオフであり、押圧したときオンになるスイッチを用いた例を挙げて説明したが、このようなスイッチの代わりに、非押圧状態においてオンであり、押圧したときオフになるスイッチを用いるようにしてもよい。   In the above-described embodiment, the function switch 4 is described as an example using a switch that is off in a non-pressed state and that is turned on when pressed. A switch that is turned on in the state and turned off when pressed may be used.

また、前記実施の形態においては、スイッチステイタスメモリ10a1、6a1のデータとして、機能スイッチ4のオン時に1で、オフ時に0になるようにしたが、オン時に0で、オフ時に1になるようなデータに変更するようにしてもよい。さらに、表示ステイタスメモリ10a2、6a2のデータとして、0のときにLED5aの消灯を、1のときに点灯を指示させるようにしたが、それとは逆に、データが1のときにLED5aの消灯を、データが0のときに点灯を指示させるように変更してもよい。   In the above embodiment, the switch status memories 10a1 and 6a1 are set to 1 when the function switch 4 is turned on and 0 when turned off. However, the data is 0 when turned on and 1 when turned off. You may make it change into data. Further, as the data of the display status memories 10a2 and 6a2, the LED 5a is instructed to be turned off when it is 0, and the lighting is instructed when it is 1. On the contrary, when the data is 1, the LED 5a is turned off. You may change so that lighting may be instruct | indicated when data is 0.

同じく、機能ステイタスメモリ8においても、データが1のときにチャイルドセイフテイモードの設定、データが1のときにチャイルドセイフテイモードの解除の設定になるようにしているが、その反対に、データが0のときにチャイルドセイフテイモードの設定、データが1のときにチャイルドセイフテイモードの解除の設定になるように変更するようにしてもよい。さらに、カウンタ9は、スイッチステイタスメモリ6a1のデータが1から0に変わった場合にカウントするようにしているが、データが0から1に変わった場合にカウントするようにしてもよく、データが0、1、0の順に変わったときにカウントするようにしてもよい。   Similarly, in the function status memory 8, when the data is 1, the child safety mode is set and when the data is 1, the child safety mode is canceled. It may be changed so that the child safety mode is set when 0, and the child safety mode is canceled when the data is 1. Furthermore, the counter 9 counts when the data in the switch status memory 6a1 changes from 1 to 0. However, the counter 9 may count when the data changes from 0 to 1, and the data is 0. You may make it count when it changes in order of 1 and 0.

この他に、前記実施の形態においては、マスタサーバ1がスレーブサーバ2に対してスイッチステイタスメモリ6a1のデータの送信を指示する信号の送信時に、表示ステイタスを示す信号を送信するようにしているが、表示ステイタスを示す信号の送信を前記データの送信を指示する信号の送信時ではなく、別の送信タイミング時に送信するようにしてもよい。   In addition, in the embodiment, when the master server 1 transmits a signal instructing the slave server 2 to transmit data of the switch status memory 6a1, a signal indicating the display status is transmitted. The signal indicating the display status may be transmitted not at the time of transmission of the signal instructing transmission of the data but at another transmission timing.

本発明による車両用制御装置の実施の形態に係わるもので、その要部構成を示すブロック図である。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram illustrating a configuration of a main part of a vehicle control apparatus according to an embodiment of the present invention. マスタサーバとスレーブサーバ間に送信される送信信号の信号フォーマットを表す信号構成図である。It is a signal block diagram showing the signal format of the transmission signal transmitted between a master server and a slave server. 既知の車両用制御装置の一例を示す要部構成を示すブロック図である。It is a block diagram which shows the principal part structure which shows an example of the known vehicle control apparatus.

符号の説明Explanation of symbols

1 マスタサーバ
2 スレーブサーバ
3 バスライン
4 機能スイッチ(自己復帰型機能スイッチ)
5 機能スイッチ状態表示部(表示部)
6 主制御部
7、11 通信部
8 機能ステイタスメモリ
9 カウンタ
10 制御部
1 Master server 2 Slave server 3 Bus line 4 Function switch (self-recovery function switch)
5 Function switch status display section (display section)
6 Main control unit 7, 11 Communication unit 8 Function status memory 9 Counter 10 Control unit

Claims (3)

操作の度に所定の信号を出力して非操作位置に自動復帰する自己復帰型機能スイッチと、少なくとも異なる2つの表示状態を有する表示部と、前記自己復帰型機能スイッチと前記表示部とが接続され前記自己復帰型機能スイッチのオンかオフかの操作状態を示すスイッチステイタス信号を送信するとともに前記表示部の表示状態を決める表示ステイタス信号を受信して前記表示部の表示を所定の状態に表示させる制御部を有するスレーブサーバと、前記スイッチステイタス信号を受信するとともに当該受信信号に応じて機能ステイタスメモリの保存データを書き替え、当該保存データに合わせて車両に設けられた被制御部に対する制御を所定のモードで制御する主制御部を有するマスタサーバと、前記マスタサーバと前記スレーブサーバ間に接続配置されたバスラインとをそれぞれ前記車両に配置し、前記マスタサーバは所定時間間隔で前記バスラインを通して要求信号を送信し、前記スレーブサーバはその要求信号の受信に応答して前記バスラインを通して前記スイッチステイタスを示す信号を送信し、前記主制御部は所定時間間隔で前記機能ステイタスメモリの保存データに合わせて前記表示ステイタス信号を形成して当該表示ステイタス信号を前記バスラインを通して前記マスタサーバから前記スレーブサーバに送信することを特徴とする車両用制御装置。 A self-return function switch that outputs a predetermined signal every time an operation is performed and automatically returns to a non-operation position, a display unit having at least two different display states, and the self-return function switch and the display unit are connected. The self-return function switch is turned on or off, and a switch status signal is transmitted, and a display status signal for determining the display state of the display unit is received to display the display unit in a predetermined state. And a slave server having a control unit for receiving the switch status signal, rewriting the stored data in the function status memory in accordance with the received signal, and controlling the controlled unit provided in the vehicle according to the stored data A master server having a main control unit that controls in a predetermined mode, and between the master server and the slave server The master server transmits a request signal through the bus line at predetermined time intervals, and the slave server transmits the request signal through the bus line in response to receiving the request signal. A signal indicating the switch status is transmitted, and the main control unit forms the display status signal in accordance with data stored in the function status memory at predetermined time intervals, and transmits the display status signal from the master server through the bus line. The vehicular control device, which transmits to the slave server. 前記マスタサーバは、前記表示ステイタス信号の送信を、前記要求信号の送信時に前記バスラインを通して前記スレーブサーバに送信するようにしたことを特徴とする請求項1に記載の車両用制御装置。 The vehicular control device according to claim 1, wherein the master server transmits the display status signal to the slave server through the bus line when the request signal is transmitted. 前記主制御部に、前記スイッチステイタス信号によって、前記自己復帰型機能スイッチの1回の操作をカウントするカウンタを設け、そのカウンタがカウントされる毎に前記機能ステイタスメモリの保存データを交互に切り替え、当該保存データに合わせて前記モードを所定のモード及び所定のモードの解除モードに切り替え、同時に前記表示部を点灯及び消灯の異なる2つの表示状態としたことを特徴とする請求項1あるいは2に記載の車両用制御装置。 The main control unit is provided with a counter that counts one operation of the self-returning function switch according to the switch status signal, and alternately switches the data stored in the function status memory every time the counter is counted, 3. The mode according to claim 1 or 2, wherein the mode is switched between a predetermined mode and a release mode of the predetermined mode according to the stored data, and at the same time, the display unit is set to two display states different in lighting and extinguishing. Vehicle control device.
JP2004221897A 2004-07-29 2004-07-29 Vehicular control device Withdrawn JP2006036121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004221897A JP2006036121A (en) 2004-07-29 2004-07-29 Vehicular control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004221897A JP2006036121A (en) 2004-07-29 2004-07-29 Vehicular control device

Publications (1)

Publication Number Publication Date
JP2006036121A true JP2006036121A (en) 2006-02-09

Family

ID=35901566

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004221897A Withdrawn JP2006036121A (en) 2004-07-29 2004-07-29 Vehicular control device

Country Status (1)

Country Link
JP (1) JP2006036121A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014017657A (en) * 2012-07-09 2014-01-30 Denso Corp Electronic control device
JP2020100390A (en) * 2018-12-21 2020-07-02 アイトロニクス カンパニー リミテッド Method for controlling lin slave unit of lin communication vehicle
CN112887954A (en) * 2020-11-04 2021-06-01 博泰车联网(南京)有限公司 Method, computing device, and computer storage medium for vehicle interaction

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014017657A (en) * 2012-07-09 2014-01-30 Denso Corp Electronic control device
JP2020100390A (en) * 2018-12-21 2020-07-02 アイトロニクス カンパニー リミテッド Method for controlling lin slave unit of lin communication vehicle
CN112887954A (en) * 2020-11-04 2021-06-01 博泰车联网(南京)有限公司 Method, computing device, and computer storage medium for vehicle interaction

Similar Documents

Publication Publication Date Title
JP5958445B2 (en) In-vehicle network system, management device
JP5958975B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
JP2016048958A (en) Communication system
CN111971934B (en) Gateway device
US11639144B2 (en) In-vehicle network system
JP6212318B2 (en) In-vehicle load control system
JPH05236560A (en) Communication equipment
JP2011213210A (en) Electronic control unit and control system
KR101919208B1 (en) Method for monitoring an apparatus connected to a communication channel
JP4847847B2 (en) Relay connection unit and in-vehicle multiple communication system
JP2006036121A (en) Vehicular control device
WO2021100548A1 (en) Onboard relay device and relay method
JP2009126413A (en) Control device of vehicular electric instrument
JP2001138804A (en) Method and system for controlling flashing of lamp load on on-vehicle communication network
US8457853B2 (en) Circuit configuration for a serial communication with wake up function
CN209928230U (en) Electronic gear backlight lamp function dormancy awakening device
KR102029371B1 (en) Power Supply system and method for ethernet communication network in vehicle
JP3397496B2 (en) Multiplex transmission system
JP4387523B2 (en) Elevator group management control device
US20220351555A1 (en) Center device and vehicle information communication system
RU102568U1 (en) VEHICLE INFORMATION AND MANAGEMENT SYSTEM
CN112298280B (en) Locomotive reconnection method and system and locomotive
US20240089142A1 (en) Vehicle-mounted apparatus and a method for relaying
JP3383462B2 (en) Multiplex transmission system
KR20040040080A (en) Method for sensing vehicle stop and tail lamp fail using IPS

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20071002