JP2012222466A - Multiplex communication device and multiplex communication method - Google Patents

Multiplex communication device and multiplex communication method Download PDF

Info

Publication number
JP2012222466A
JP2012222466A JP2011084001A JP2011084001A JP2012222466A JP 2012222466 A JP2012222466 A JP 2012222466A JP 2011084001 A JP2011084001 A JP 2011084001A JP 2011084001 A JP2011084001 A JP 2011084001A JP 2012222466 A JP2012222466 A JP 2012222466A
Authority
JP
Japan
Prior art keywords
message box
electronic control
dedicated
data
dedicated message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2011084001A
Other languages
Japanese (ja)
Inventor
Takashi Mizutani
隆志 水谷
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2011084001A priority Critical patent/JP2012222466A/en
Publication of JP2012222466A publication Critical patent/JP2012222466A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a multiplex communication device and a communication control method that do not cause a problem regarding robustness or a high-speed property if fixing has occurred in an exclusive message box.SOLUTION: An electronic control device 1 that is connected to a LAN employing the CAN protocol and causes display units D1 and D2 to display information comprises: a plurality of exclusive message boxes ch1, ch2, and ch3 for accommodating messages which are communication contents for each frame; a plurality of empty message boxes which become alternative means of the plurality of exclusive message boxes; means for checking fixing of the exclusive message boxes in a stage before communication; and means for rewriting an empty message box from disable (D) to enable (E) when an exclusive message box has become a fixing state to make an alternative message box for the fixed exclusive message box.

Description

本発明は、多重通信においてフレーム毎に分割された通信の内容(メッセージ)のデータが収容されるメッセージボックスがハード故障により固着した場合でも、正確な通信が実現される多重通信装置および多重通信方法に関するものである。特に、車両内において車両の状態を運転者に表示する計器を含む車両用情報提供装置に適用する多重通信装置および多重通信方法に関するものである。   The present invention relates to a multiplex communication apparatus and a multiplex communication method capable of realizing accurate communication even when a message box that accommodates data of communication contents (messages) divided for each frame in multiplex communication is stuck due to a hardware failure. It is about. In particular, the present invention relates to a multiplex communication apparatus and a multiplex communication method applied to a vehicle information providing apparatus including an instrument that displays a vehicle state in a vehicle to a driver.

従来技術として、自動車用のCAN通信において、以下の技術が実施されている。CANマクロ内のメッセージの送信、受信にメッセージボックスが使用される。このメッセージボックスは、レジスタからなり、01の集合からなる情報が格納される。   As conventional techniques, the following techniques are implemented in CAN communication for automobiles. Message boxes are used for sending and receiving messages in the CAN macro. This message box is made up of registers and stores information consisting of a set of 01s.

ところが、書き込んだデータを読み出すと、1のはずが0に読み出されるとか、0のはずが1に読み出されるという固着(信号レベルが固まってしまう故障)が発生することがある。   However, when the written data is read, there may occur a sticking (a failure in which the signal level is hardened) that 1 should be read as 0 or 0 should be read as 1.

従って、一般には、ハード不良により固着したかどうかを、メッセージ通信開始前にチェックしている。そして、固着が発生した場合は、異常データを送受信しないためのフェールセーフ制御として、該当のメッセージボックスを使用しない。もしくは、CAN通信そのものの機能を停止するなどの制御を実施している。   Therefore, in general, it is checked before starting the message communication whether or not it is stuck due to a hardware failure. When the sticking occurs, the corresponding message box is not used as fail-safe control for not transmitting / receiving abnormal data. Alternatively, control such as stopping the function of CAN communication itself is performed.

例えば、特許文献1においては、受信側のECU(電子制御ユニット)では、通信コントローラが多重通信バスからデータを受信し、受信した1パケット毎のデータを、CRCチェックコードやサムチェックデータ等によって伝送上の異常がないか否かをチェックしている。そして、正常な通信で伝送上の誤りが無ければ、通信コントローラ内の受信用データメモリに格納し、異常であれば、再度、送信を要求する等の処理を行っている。   For example, in Patent Document 1, in the ECU (electronic control unit) on the receiving side, the communication controller receives data from the multiplex communication bus, and transmits the received data for each packet using a CRC check code, sum check data, or the like. Checking whether there is any abnormality above. If there is no transmission error in normal communication, the data is stored in the reception data memory in the communication controller, and if abnormal, processing such as requesting transmission is performed again.

特許第3639455号公報Japanese Patent No. 3639455

しかし、このような対応を行うと、通信そのものが実施できなくなるとか通信処理が遅れる等、ロバスト性、または高速性が不十分であるとの問題が生じる点に、発明者は着目した。また、固着が発生している状況において、再送信を要求しても、事態が改善しないこともある。   However, the inventor has paid attention to such a problem that robustness or high-speed performance is insufficient such as communication itself cannot be performed or communication processing is delayed. In addition, in a situation where sticking occurs, even if retransmission is requested, the situation may not be improved.

特に、車両内において車両の状態を運転者に表示する速度計や、重要故障や警告事項を表示するインジケータを含む車両用情報提供装置においては、このような通信不能や遅延が生じることは好ましくない。   In particular, in the vehicle information providing apparatus including a speedometer that displays the vehicle state in the vehicle to the driver and an indicator that displays an important failure or warning matter, it is not preferable that such communication failure or delay occurs. .

車速計、燃料計、エンジン水温計、燃料残量警告灯、シートベルト警告灯、半ドア警告灯、エンジン警告灯、充電警告灯、油圧警告灯、ブレーキ警告灯、SRSエアバック/プリテンショナー警告灯、ABS&ブレーキアシスト警告灯等からなるインジケータ表示は、正確で高速な情報を運転者に提供することが望まれる。   Vehicle speed meter, fuel gauge, engine water temperature gauge, fuel level warning light, seat belt warning light, half door warning light, engine warning light, charging warning light, hydraulic pressure warning light, brake warning light, SRS airbag / pretensioner warning light It is desired that the indicator display including the ABS & brake assist warning light etc. provides the driver with accurate and high-speed information.

例えば、車速計が動かなくなるとか、危険状態を表示するインジケータが即座に表示できない状況は、回避することが好ましい。このような場合は、上記従来の制御では、例えばインジケータの場合は、アクティブ側に表示され、フェールセーフの考え方が適用される。しかし、危険でもないのに、インジケータがアクティブ側に危険表示するのは、実際は好ましいことではない。   For example, it is preferable to avoid a situation where the vehicle speedometer stops working or an indicator that displays a dangerous state cannot be displayed immediately. In such a case, in the conventional control described above, for example, in the case of an indicator, it is displayed on the active side, and the concept of fail-safe is applied. However, it is actually not desirable for the indicator to display danger on the active side even though it is not dangerous.

本発明は、このような従来の技術に存在する問題点に着目してなされたものであり、その目的は、送信されてきたデータを収容するメッセージボックスにおいて、データの固着が発生した場合においても、通信そのものが実施できなくなるとか通信処理が遅れる等のロバスト性の問題、または高速性の問題が発生しない多重通信装置および多重通信方法を提供することにある。   The present invention has been made by paying attention to such problems existing in the prior art, and its purpose is to be achieved even when data sticking occurs in a message box that accommodates transmitted data. It is an object of the present invention to provide a multiplex communication apparatus and a multiplex communication method that do not cause a problem of robustness such as that communication itself cannot be performed or a delay in communication processing, or a problem of high speed.

従来技術として列挙された特許文献の記載内容は、この明細書に記載された技術的要素の説明として、参照によって導入ないし援用することができる。   Descriptions of patent documents listed as prior art can be introduced or incorporated by reference as explanations of technical elements described in this specification.

本発明は上記目的を達成するために、下記の技術的手段を採用する。すなわち、請求項1に記載の発明では、フレーム毎に受信する内容を分割して多重通信する多重通信ラインと、該多重通信ラインに接続された機器の状態を表示する情報提供装置に情報表示を行わせ、多重通信ラインに接続される電子制御装置とを備え、電子制御装置は、送信側から受信側に向かう通信の内容となるフレーム毎の複数のメッセージがそれぞれ割り当てられ、該割り当てられたメッセージのデータを収容する複数のレジスタからなる専用メッセージボックスと、フレーム毎の通信の内容となるメッセージが割り当てられていないレジスタからなる空のメッセージボックスと、通信を行う前に専用メッセージボックスに収容されるデータが固着しないかどうかの固着チェックを行う固着チェック手段と、固着チェック手段による固着チェックの結果、専用メッセージボックス内のデータが固着すると判定すると、空きのメッセージボックスを、データが固着する専用メッセージボックスの代替メッセージボックスとして設定する設定手段とを有することを特徴としている。   In order to achieve the above object, the present invention employs the following technical means. That is, according to the first aspect of the present invention, information is displayed on a multiplex communication line that multiplexes communications by dividing the content received for each frame, and an information providing device that displays the status of devices connected to the multiplex communication line. An electronic control device connected to the multiplex communication line, and the electronic control device is assigned with a plurality of messages for each frame, which is a content of communication from the transmission side to the reception side, and the assigned message Is stored in a dedicated message box consisting of a plurality of registers for storing data, an empty message box consisting of registers to which messages for communication for each frame are not assigned, and a dedicated message box before communication By the sticking check means that checks whether the data is stuck or not, and the sticking check means Wear check result, when the data in the dedicated message box is determined to be fixed, an empty message box, is characterized by having a setting unit for setting as an alternative message box dedicated message box data is secured.

この発明によれば、メッセージボックスにおけるデータの固着が発生しても、フレーム毎の通信の内容となるメッセージが割り当てられていない空のメッセージボックスを、データが固着した専用メッセージボックスの代替メッセージボックスとして設定するから、通信が遮断されたり、受信誤りが発生したりすることが無いため、確実に情報の受信がなされる多重通信装置を得ることができる。   According to the present invention, even if data sticking occurs in a message box, an empty message box to which no message serving as communication content for each frame is assigned is used as an alternative message box for the dedicated message box to which data is stuck. Since it is set, communication is not interrupted and no reception error occurs, so that it is possible to obtain a multiplex communication apparatus that can reliably receive information.

請求項2に記載の発明では、電子制御装置において、複数のメッセージのうち、それぞれ異なる専用メッセージボックスが割り当てられた第1メッセージと第2メッセージとは、送信側と受信側とで同期が取れていない非同期のタイミングで受信されることを特徴としている。   According to the second aspect of the present invention, in the electronic control device, the first message and the second message to which different dedicated message boxes are assigned among the plurality of messages are synchronized between the transmission side and the reception side. It is characterized by being received at no asynchronous timing.

この発明によれば、第1メッセージと第2メッセージとは、非同期のタイミングで受信される、従って、受信時の第1メッセージと次に来る第1メッセージの間、第2メッセージと次に来る第2メッセージの間には充分な時間が設定できても、第1メッセージと第2メッセージの間の時間は、ほとんど0秒に近い場合がある。しかし、この発明の受信においては、1フレームの第1メッセージと、1フレームの第2メッセージとで異なるメッセージボックスを割り当てているため、第1メッセージと第2メッセージの間の時間は、ほとんど0秒に近い場合があっても、それぞれの異なるメッセージボックスにおいて、高速でのメッセージのデータの収容が可能である。   According to the present invention, the first message and the second message are received at an asynchronous timing. Therefore, between the first message at the time of reception and the next first message, the second message and the next message are received next. Even if a sufficient time can be set between the two messages, the time between the first message and the second message may be nearly 0 seconds. However, in the reception of the present invention, since different message boxes are assigned to the first message of one frame and the second message of one frame, the time between the first message and the second message is almost 0 seconds. Even in a case close to, message data can be accommodated at high speed in different message boxes.

請求項3に記載の発明では、電子制御装置は、情報提供装置をなす車両用情報提供装置を制御するメータ用電子制御ユニットからなり、車両内の機器の操作情報および機器の作動情報を含む車両の状況を車両内において車両用情報提供装置に表示させることを特徴としている。   According to a third aspect of the present invention, the electronic control device includes a meter electronic control unit that controls the vehicle information providing device that forms the information providing device, and includes vehicle operation information and device operation information. The situation is displayed on the vehicle information providing apparatus in the vehicle.

この発明によれば、電子制御装置は、車両用情報提供装置を制御するメータ用電子制御ユニット(メータ用ECU)であるため、次の効果が得られる。メータ用ECUは、高級なマイクロコンピュータを使用していない割に、車両内に分散された多くの機器からの通信処理を高速で実行しなければならない。しかし、この発明によれば、1フレームのメッセージに1つのメッセージボックスが割り当てられ、かつ、データの固着がメールボックスに発生した場合に、代替のメッセージボックスが割り当てられるから、多くのデータの受信を高速で誤り無く受信でき、受信データが化けたり、受信が不可能になったりすることが少ない。よって、車両の運転者に対して、正しい車両の状況を高速で表示することができ安全運転につながる。   According to the present invention, since the electronic control device is a meter electronic control unit (meter ECU) that controls the vehicle information providing device, the following effects can be obtained. The meter ECU must execute communication processing from many devices distributed in the vehicle at a high speed even though a high-class microcomputer is not used. However, according to the present invention, when one message box is assigned to a message of one frame, and when data sticking occurs in the mailbox, an alternative message box is assigned. It can be received at high speed without error, and the received data is less likely to be garbled or impossible to receive. Therefore, the correct vehicle status can be displayed at high speed to the vehicle driver, leading to safe driving.

請求項4に記載の発明では、電子制御装置は、輸送機械の状況を表示する輸送機械用情報提供装置と、工場内の装置の状況を表示する工場監視用情報提供装置と、工作機械の状況を表示する工作機械用情報提供装置とのいずれかのための電子制御ユニットからなることを特徴としている。   In the invention according to claim 4, the electronic control device includes a transport machine information providing device for displaying the status of the transport machine, a factory monitoring information providing device for displaying the status of the device in the factory, and the status of the machine tool. It is characterized by comprising an electronic control unit for any one of the information providing apparatus for machine tools that displays.

この発明によれば、輸送用機械用情報提供装置と、工場の監視用情報提供装置と、工作機械用情報提供装置とのいずれかのための電子制御ユニット内の多重通信に、この発明を適用しているため、次の効果が得られる。この種の電子制御ユニットは、高級なマイクロコンピュータを使用していない割に、多くの処理を高速で実行しなければならない。しかし、この発明のように、1フレームのメッセージに1つのメッセージボックスが割り当てられ、かつ、データの固着がメールボックスに発生した場合に、代替のメッセージボックスが割り当てられるから、多くのデータの受信を高速で誤り無く受信でき、受信データが化けたり、受信が不可能になったりすることが少ない。よって、装置の運転者に対して、正しい装置の情報を高速で表示することができる。   According to the present invention, the present invention is applied to multiplex communication in an electronic control unit for any one of a transport machine information providing apparatus, a factory monitoring information providing apparatus, and a machine tool information providing apparatus. Therefore, the following effects can be obtained. This type of electronic control unit has to execute many processes at high speeds without using a high-end microcomputer. However, as in the present invention, when one message box is assigned to a message of one frame, and when data sticking occurs in the mailbox, an alternative message box is assigned. It can be received at high speed without error, and the received data is less likely to be garbled or impossible to receive. Therefore, correct device information can be displayed at high speed to the driver of the device.

請求項5に記載の発明では、電子制御装置は、空きのメッセージボックスとなるレジスタの位置情報を、予め格納する記憶手段を有し、該記憶手段は、空きのメッセージボックスを、データの固着が発生した専用メッセージボックスの代替メッセージボックスとして設定手段が設定する毎に、位置情報を更新することを特徴としている。   In the invention according to claim 5, the electronic control unit has storage means for storing in advance the position information of the register that becomes the empty message box, and the storage means stores the empty message box in the data fixed state. The position information is updated every time the setting means sets as a substitute message box for the generated dedicated message box.

この発明によれば、代替メッセージボックスを設定する毎に、空きのメッセージボックスとなるレジスタの位置情報を記憶手段が更新するから、空きのメッセージボックスを、データが固着した専用メッセージボックスの代替メッセージボックスとして設定する場合に、空きのメッセージボックスを探す必要がないため、高速で通信処理が可能である。   According to the present invention, each time an alternative message box is set, the storage means updates the register position information that becomes an empty message box. Therefore, the empty message box is replaced with the alternative message box of the dedicated message box to which the data is fixed. When set as, it is not necessary to search for an empty message box, and communication processing can be performed at high speed.

請求項6に記載の発明では、電子制御装置には、各フレームに対応する個別の受容マスクが設定されており、電子制御装置は、専用メッセージボックスに対して割り当てられた受容マスクに応じて、専用メッセージボックスに、対応する各フレームのメッセージのデータを収容させ、固着チェック手段に、順番に各専用メッセージボックスとなるレジスタ内をチェックさせ、固着チェックの結果、データが固着する専用メッセージボックスのレジスタがあると判定すると、固着が発生したレジスタに関わる専用メッセージボックスに対する受容マスクを、空きのメッセージボックスに対して設定し、データが固着する専用メッセージボックスが無いと判定すると、受容マスクを、予め定めた専用メッセージボックスに対して設定することを特徴としている。   In the invention according to claim 6, the electronic control device is set with an individual acceptance mask corresponding to each frame, and the electronic control device is configured to accept the acceptance mask assigned to the dedicated message box. The dedicated message box stores the data of the corresponding message of each frame, and the sticking check means checks the register that becomes each dedicated message box in order, and the sticking check results in the register of the dedicated message box to which the data is stuck. If it is determined that there is a dedicated message box related to the register where the sticking has occurred, an acceptance mask for the empty message box is set. Special message box. It is set to.

この発明によれば、データが固着するメッセージボックスが発見されると、該データが固着するメッセージボックスに対する受容マスクの設定を、空きのメッセージボックスに対して行い、データが固着するメッセージボックスが無いと判定されると、受容マスクの設定を、予め定めた専用のメッセージボックスに対して行うから、データが固着するメッセージボックスが存在しても、高速で通信が可能になる。   According to the present invention, when a message box to which data is fixed is found, an acceptance mask for the message box to which the data is fixed is set for an empty message box, and there is no message box to which the data is fixed. If it is determined, the acceptance mask is set for a predetermined dedicated message box, so that even if there is a message box to which data is fixed, high-speed communication is possible.

請求項7に記載の発明では、電子制御装置は、全ての空きのメッセージボックスを専用メッセージボックスの代替メッセージボックスとして設定した場合に、データが固着する専用メッセージボックスが発見される前に、空きのメッセージボックスが無い旨の警告表示信号を発することを特徴としている。   In the invention according to claim 7, when all the empty message boxes are set as alternative message boxes for the dedicated message box, the electronic control unit sets the empty message box before the dedicated message box to which the data is fixed is found. A warning display signal indicating that there is no message box is issued.

この発明によれば、通信不能に陥る前に、専用メッセージボックスを修理する等の対策を促すことができ、機器の状態を正確に情報提供装置に表示させて、一層の安全性を確保することができる。   According to this invention, measures such as repairing a dedicated message box can be urged before falling into communication, and the state of the device is accurately displayed on the information providing device to ensure further safety. Can do.

請求項8に記載の発明では、電子制御装置は、全ての空きのメッセージボックスを専用メッセージボックスの代替とした場合に、新たに専用メッセージボックスに関わるデータの固着が生じたときに、空きのメッセージボックスが無い旨の警告表示信号を発することを特徴としている。   In the eighth aspect of the invention, the electronic control unit, when all the empty message boxes are replaced with the dedicated message box, causes a new message when the data relating to the dedicated message box is newly fixed. A warning display signal indicating that there is no box is generated.

この発明によれば、最終的に全ての空きのメッセージボックスを専用メッセージボックスの代替とした後の、新たに専用メッセージボックスの固着が生じたときに、空きのメッセージボックスが無い旨の警告表示を出しているから、通信不良に陥るが、故障状況を表示できるため、早めにメッセージボックスを修理する等の対策を行うことができ、機器の状態を正確に情報提供装置に表示させて、一層の安全性を確保することができる。また、データの固着が発生する度合いが少ない場合に、ぎりぎりまで警告表示信号を出すのを遅らせることができる。   According to the present invention, after all of the empty message boxes are finally replaced with the dedicated message box, a warning message indicating that there is no empty message box is displayed when a new dedicated message box is stuck. Since it is out of service, communication failure will occur, but the failure status can be displayed, so it is possible to take measures such as repairing the message box early, and display the device status accurately on the information providing device, Safety can be ensured. Further, when the degree of occurrence of data sticking is small, it is possible to delay the output of the warning display signal until the last minute.

請求項9に記載の発明では、機器の状態を表示する情報提供装置に情報表示を行わせ、フレーム毎に受信する内容を分割して多重通信する多重通信ラインに接続される電子制御装置内において、フレーム毎の送信側から受信側に向かう通信の内容となる複数のメッセージがそれぞれ割り当てられ、該割り当てられたメッセージのデータを収納する複数のレジスタからなる専用メッセージボックスに対して、代替手段となる複数の空きのメッセージボックスを予め設定しておき、専用メッセージボックスに収容されるデータが固着しないかどうかの固着チェックを行ない、データが固着すると、代替手段となる複数の空きのメッセージボックスの一つを、データの固着が発生した専用メッセージボックスの代替メッセージボックスとして設定することを特徴としている。   According to the ninth aspect of the present invention, in an electronic control unit connected to a multiplex communication line for performing information display on an information providing device for displaying the status of a device and dividing the content received for each frame and performing multiplex communication , A plurality of messages that are the contents of communication from the transmission side to the reception side for each frame are assigned, and this is an alternative to a dedicated message box consisting of a plurality of registers for storing data of the assigned messages. A plurality of empty message boxes are set in advance, a sticking check is performed to check whether the data stored in the dedicated message box is not stuck, and if the data is stuck, one of a plurality of empty message boxes as an alternative means Set as an alternative message box for the dedicated message box where data is stuck. It is characterized in that.

この発明によれば、レジスタからなるメッセージボックスにデータの固着が発生しても、代替メッセージボックスが設定されるため、通信が遮断されたり、受信誤りが発生したりすることが無いため、確実に情報の受信がなされる多重通信方法を提供することができる。   According to the present invention, even if data sticking occurs in a message box composed of registers, an alternative message box is set, so that communication is not interrupted or a reception error does not occur. A multiplex communication method in which information is received can be provided.

請求項10に記載の発明では、電子制御装置は、該電子制御装置内にマイクロコンピュータを有し、該マイクロコンピュータの電源をONにすると、マイクロコンピュータが第1遷移状態になり、該第1遷移状態において初期化処理を行い、該初期化処理内において、固着チェックを行い、初期化処理が完了すると、マイクロコンピュータが、通常の通信の状態である第2遷移状態となり、該第2遷移状態において、通信の必要がないときは、マイクロコンピュータが、第3遷移状態のバススリープ状態となり、該第3遷移状態において、電子制御装置に多重通信ラインを介して接続された機器に対する操作が行われると、マイクロコンピュータが、第1遷移状態に戻り、第3遷移状態において、マイクロコンピュータがスリープする場合は、マイクロコンピュータが、第4遷移状態に移行してスリープ状態となることを特徴としている。   In the invention according to claim 10, the electronic control device has a microcomputer in the electronic control device, and when the microcomputer is turned on, the microcomputer enters the first transition state, and the first transition In the initialization process, the sticking check is performed in the initialization process, and when the initialization process is completed, the microcomputer enters the second transition state which is a normal communication state. When there is no need for communication, the microcomputer enters the bus transition state of the third transition state, and in the third transition state, an operation is performed on a device connected to the electronic control unit via the multiple communication line. When the microcomputer returns to the first transition state and the microcomputer sleeps in the third transition state Microcomputer, is characterized in that a sleep state is shifted to the fourth transition condition.

この発明によれば、先ず初期化処理を行い、その後、通信を開始するので、通信を開始する準備段階で、メッセージボックスに関するデータの固着チェックを行うことが可能になり、確実に良好な通信が行われる。また、第3遷移状態において、機器に対する操作が行われると、第1遷移状態に戻るから、例えば、運転者がキースイッチを入れて運転を始めるときと、その後の、ドアを開けたような場合等の装置に対するアクションがあったときの、通信を開始する準備段階で、メッセージボックスに関するデータの固着チェックを行うことが可能になる。   According to the present invention, the initialization process is performed first, and then the communication is started. Therefore, it is possible to perform the data sticking check on the message box at the preparation stage for starting the communication, and reliable communication is ensured. Done. In addition, when an operation is performed on the device in the third transition state, the operation returns to the first transition state. For example, when the driver starts driving with a key switch on and after that, the door is opened. When there is an action on a device such as the above, it is possible to perform a data sticking check on the message box at the preparation stage for starting communication.

請求項11に記載の発明では、各フレームに対応する個別の受容マスクが電子制御装置内に設定されており、専用メッセージボックスに対して割り当てられた受容マスクに応じて専用メッセージボックスに対応する各フレームのメッセージのデータを専用メッセージボックスが収容し、固着チェックは、順番に各専用メッセージボックスとなるレジスタ内をチェックし、固着チェックの結果、データが固着する専用メッセージボックスのレジスタがあると判定されると、固着が発生したレジスタに関わる専用メッセージボックスに対する受容マスクの設定を、空きのメッセージボックスに対して行い、データが固着する専用メッセージボックスが無いと判定されると、受容マスクの設定を、予め定めた専用メッセージボックスに対して行うことを特徴としている。   In the invention described in claim 11, an individual reception mask corresponding to each frame is set in the electronic control unit, and each of the corresponding message boxes corresponding to the dedicated message box is set according to the reception mask assigned to the dedicated message box. Frame message data is stored in a dedicated message box, and the sticking check sequentially checks the registers that become each dedicated message box. As a result of the sticking check, it is determined that there is a dedicated message box register to which the data is stuck. Then, the acceptance mask setting for the dedicated message box related to the register where the sticking has occurred is performed for the empty message box, and if it is determined that there is no dedicated message box to which the data is stuck, the acceptance mask setting is set. What to do with a dedicated message box It is characterized in.

この発明によれば、データが固着するメッセージボックスが発見されると、該データが固着するメッセージボックスに対する受容マスクの設定を、空きのメッセージボックスに対して行い、データが固着するメッセージボックスが無いと判定されると、受容マスクの設定を、予め定めた専用のメッセージボックスに対して行うから、データが固着するメッセージボックスが存在しても、高速で通信が可能になる。   According to the present invention, when a message box to which data is fixed is found, an acceptance mask for the message box to which the data is fixed is set for an empty message box, and there is no message box to which the data is fixed. If it is determined, the acceptance mask is set for a predetermined dedicated message box, so that even if there is a message box to which data is fixed, high-speed communication is possible.

請求項12に記載の発明では、全ての空きのメッセージボックスを専用メッセージボックスの代替メッセージボックスとして設定した後において、データが固着する専用メッセージボックスが発見される前に、空きのメッセージボックスが無い旨の警告表示信号を電子制御装置が発することを特徴としている。   In the invention described in claim 12, after setting all the empty message boxes as alternative message boxes for the dedicated message box, there is no empty message box before the dedicated message box to which the data is fixed is found. The electronic control device emits a warning display signal.

この発明によれば、通信不能に陥る前に、専用メッセージボックスを修理する等の対策を促すことができ、機器の状態を正確に情報提供装置に表示させて、一層の安全性を確保することができる。   According to this invention, measures such as repairing a dedicated message box can be urged before falling into communication, and the state of the device is accurately displayed on the information providing device to ensure further safety. Can do.

請求項13に記載の発明では、全ての空きのメッセージボックスを専用メッセージボックスの代替とした後において、新たに専用メッセージボックスに関わるデータの固着が生じた場合に、空きのメッセージボックスが無い旨の警告表示信号を電子制御装置が発することを特徴としている。   In the invention described in claim 13, after all the empty message boxes are replaced with the dedicated message box, when the data relating to the dedicated message box is newly fixed, there is no empty message box. The electronic control device emits a warning display signal.

この発明によれば、最終的に全ての空きのメッセージボックスを専用メッセージボックスの代替とした後の、新たに専用メッセージボックスの固着が生じたときに、空きのメッセージボックスが無い旨の警告表示を出しているから、通信不良に陥るが、故障状況を表示できるため、早めにメッセージボックスを修理する等の対策を行うことができ、機器の状態を正確に情報提供装置に表示させて、一層の安全性を確保することができる。また、データの固着が発生する度合いが少ない場合に、ぎりぎりまで警告表示信号を出すのを遅らせることができる。   According to the present invention, after all of the empty message boxes are finally replaced with the dedicated message box, a warning message indicating that there is no empty message box is displayed when a new dedicated message box is stuck. Since it is out of service, communication failure will occur, but the failure status can be displayed, so it is possible to take measures such as repairing the message box early, and display the device status accurately on the information providing device, Safety can be ensured. Further, when the degree of occurrence of data sticking is small, it is possible to delay the output of the warning display signal until the last minute.

本発明の第1実施形態におけるCANを適用した多重通信を採用した車両用情報提供装置の概要を示す正面図である。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a front view showing an outline of a vehicular information providing apparatus adopting multiplex communication to which a CAN is applied in a first embodiment of the present invention. 上記実施形態における、図1の車両用情報提供装置のブロック構成図である。It is a block block diagram of the information provision apparatus for vehicles of FIG. 1 in the said embodiment. 上記実施形態に使用し、かつCANを適用した多重通信を採用したメータ用電子制御ユニット内のCANに関わる概略構成図である。It is a schematic block diagram regarding CAN in the electronic control unit for meters which employ | adopted the multiplex communication which applied to the said embodiment and applied CAN. 上記実施形態における図3のメータ用ECU内の制御手段におけるソフト状態遷移図である。It is a soft state transition diagram in the control means in ECU for meters of the above-mentioned embodiment. 上記実施形態における初期化処理での一連の処理の一つである、メッセージボックスの固着チェック処理を含むフローチャートである。It is a flowchart including the sticking check process of a message box which is one of a series of processes in the initialization process in the embodiment. 上記実施形態における読み出し/書き込みチェックの概要を示す説明図である。It is explanatory drawing which shows the outline | summary of the read / write check in the said embodiment. 上記実施形態における、専用メッセージボックスを空きのメッセージボックスに代替させる状態を説明する説明図である。It is explanatory drawing explaining the state which substitutes an exclusive message box for an empty message box in the said embodiment. 上記実施形態において、メッセージの受信タイミングを説明する説明図である。In the said embodiment, it is explanatory drawing explaining the reception timing of a message.

以下に、図面を参照しながら本発明を実施するための複数の形態を説明する。各形態において先行する形態で説明した事項に対応する部分には同一の参照符号を付して重複する説明を省略する場合がある。各形態において構成の一部のみを説明している場合は、構成の他の部分については先行して説明した他の形態を適用することができる。   A plurality of modes for carrying out the present invention will be described below with reference to the drawings. In each embodiment, parts corresponding to the matters described in the preceding embodiment may be denoted by the same reference numerals, and redundant description may be omitted. When only a part of the configuration is described in each mode, the other modes described above can be applied to the other parts of the configuration.

各実施形態で具体的に組合せが可能であることを明示している部分同士の組合せばかりではなく、特に組合せに支障が生じなければ、明示していなくても実施形態同士を部分的に組合せることも可能である。   Not only combinations of parts that clearly indicate that the combination is possible in each embodiment, but also the embodiments are partially combined even if they are not clearly specified unless there is a problem with the combination. It is also possible.

(第1実施形態)
以下、本発明の第1実施形態について図1ないし図8を用いて詳細に説明する。この第1実施形態は、Controller Area Network(コントローラー・エリア・ネットワーク:CAN)において、マイクロコンピュータに内蔵されたCANハードマクロ(CANマクロ)のメッセージボックスがレジスタからなるハード故障により固着した場合でも、他の空の(未使用の)メッセージボックスを使用して正常なメッセージの送受信を実現する多重通信装置および多重通信方法に関するものである。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described in detail with reference to FIGS. Even if the message box of the CAN hard macro (CAN macro) built in the microcomputer is fixed due to a hardware failure including a register in the controller area network (CAN), the first embodiment The present invention relates to a multiplex communication apparatus and a multiplex communication method for realizing normal message transmission / reception using an empty (unused) message box.

特に、車両内において車両の状態を運転者に表示する計器を含む車両用情報提供装置に適用する多重通信装置および多重通信方法に関するものである。図1は、本実施形態におけるCANを適用した多重通信装置を採用した車両用情報提供装置の概要を示す正面図である。   In particular, the present invention relates to a multiplex communication apparatus and a multiplex communication method applied to a vehicle information providing apparatus including an instrument that displays a vehicle state in a vehicle to a driver. FIG. 1 is a front view showing an outline of a vehicular information providing apparatus adopting a multiplex communication apparatus to which a CAN according to the present embodiment is applied.

図1において、車両内の運転者前方の計器板に設けられた車両用情報提供装置100は、第1、第2の表示手段(表示部)D1、D2と、警報表示装置(インジケータ)20とからなる。   In FIG. 1, a vehicle information providing device 100 provided on an instrument panel in front of a driver in a vehicle includes first and second display means (display units) D1 and D2, an alarm display device (indicator) 20, Consists of.

第1の表示手段D1は、TFT等の液晶表示パネルや有機ELパネル等からなり、車速等を表示するマルチディスプレイである。このマルチディスプレイ内にも本発明にいう計器板内の警報表示装置の一部分が構成され、他の部分は、複数の警報表示装置(インジケータ)20で構成される。   The first display means D1 includes a liquid crystal display panel such as TFT, an organic EL panel, and the like, and is a multi-display that displays vehicle speed and the like. A part of the alarm display device in the instrument panel according to the present invention is also configured in the multi-display, and the other part is configured by a plurality of alarm display devices (indicators) 20.

第2の表示手段D2は、後述する指針と指標板とを備えた指針式表示部(計器)からなる。30は、エンジン回転計からなる第1の指針式表示部、320は発音体、40は、燃料計からなる第2の指針式表示部、50は、温度計からなる第3の指針式表示部である。   The 2nd display means D2 consists of a pointer type display part (instrument) provided with the pointer | guide and index plate which are mentioned later. 30 is a first pointer type display unit made up of an engine tachometer, 320 is a sounding body, 40 is a second pointer type display unit made up of a fuel gauge, and 50 is a third pointer type display unit made up of a thermometer. It is.

図2は、図1の車両用情報提供装置100のブロック構成図である。その構成としては、車両情報の入出力を行う車両情報端子200及び多重通信入出力端子210と、車両インターフェース(車両I/F)手段230とを備える。   FIG. 2 is a block diagram of the vehicle information providing apparatus 100 of FIG. The configuration includes a vehicle information terminal 200 and a multiplex communication input / output terminal 210 for inputting / outputting vehicle information, and a vehicle interface (vehicle I / F) means 230.

更に、車両用情報提供装置100の制御を行う制御手段250と、処理プログラム等を格納するROM等からなる記憶手段26と、表示手段D1の表示制御、各指針式表示部30、40、50および警報表示装置(インジケータ)20に制御出力を送信して制御を行う制御出力手段270と、各種情報の聴覚的表示を行う聴覚情報提供手段290とを有している。   Furthermore, a control means 250 for controlling the vehicle information providing apparatus 100, a storage means 26 comprising a ROM or the like for storing a processing program, display control for the display means D1, each pointer type display unit 30, 40, 50, and A control output unit 270 that transmits a control output to the alarm display device (indicator) 20 to perform control, and an auditory information provision unit 290 that performs auditory display of various information.

また、聴覚情報提供手段290の構成としては、音/音声を再生する音/音声合成手段300と、この音/音声合成手段300からの出力信号(音/音声出力信号)を増幅するアンプ310と、このアンプ310からの増幅信号を警報音として出力する発音体(スピーカ)320と、この発音体320から発せられる音を導く導音部330とを有している。   The auditory information providing unit 290 includes a sound / speech synthesis unit 300 that reproduces sound / sound, and an amplifier 310 that amplifies an output signal (sound / speech output signal) from the sound / speech synthesis unit 300. The sound generator (speaker) 320 outputs the amplified signal from the amplifier 310 as an alarm sound, and the sound guide section 330 that guides the sound emitted from the sound generator 320.

更に、車両用情報提供装置100は、多重通信装置のCANバス等の信号線をなす多重通信ライン400を介してエンジン制御装置等の他のECU(電子制御ユニット)からなる走行制御装置410と、各種操作スイッチ等からなる操作手段420等とに接続されている。   Furthermore, the vehicle information providing apparatus 100 includes a travel control apparatus 410 including another ECU (electronic control unit) such as an engine control apparatus via a multiplex communication line 400 that forms a signal line such as a CAN bus of the multiplex communication apparatus, It is connected to operation means 420 including various operation switches.

次に、図2の車両用情報提供装置100の動作について説明する。制御手段250は、車両情報の入出力を行う車両情報端子200及び多重通信入出力端子210から、走行制御に関する車両状態、アラーム情報、および操作に関する情報を入手する。   Next, the operation of the vehicle information providing apparatus 100 in FIG. 2 will be described. The control means 250 obtains vehicle status related to travel control, alarm information, and information related to operation from the vehicle information terminal 200 and the multiple communication input / output terminal 210 that input and output vehicle information.

この入手した情報に基づいて、車両状態報知、アラーム出力、および操作に関するガイダンス、およびアンサーバックを、聴覚情報提供手段290の発音体320を介して効果音と音声で報知する。また同時に、表示手段D1(図1)の画像で表示する。また、必要な警報表示を、警報表示装置(インジケータ)20で行う。   Based on this acquired information, vehicle status notification, alarm output, guidance on operation, and answerback are notified through sound generator 320 of auditory information providing means 290 with sound effects and voice. At the same time, the image is displayed on the display means D1 (FIG. 1). Further, necessary alarm display is performed by an alarm display device (indicator) 20.

ここで、アラーム情報を例に挙げて、制御手段250の入出力時の動作について説明する。制御手段250は、車両情報の入出力を行う車両情報端子200及び多重通信入出力端子210から、車両に関する情報を入手し、この情報に基づいて、警告の発生条件があるか否かを判定する。   Here, the operation at the time of input / output of the control means 250 will be described by taking alarm information as an example. The control means 250 obtains information about the vehicle from the vehicle information terminal 200 for inputting / outputting vehicle information and the multiplex communication input / output terminal 210, and determines whether there is a warning generation condition based on this information. .

ここで警告の発生条件を検出すると、警告情報を聴覚情報提供手段290で効果音と音声とで報知するとともに、警告情報に関係する表示形態を表示部D1または警報表示装置(インジケータ)20によって表示する。   When a warning occurrence condition is detected, the warning information is notified by sound effects and sound by the auditory information providing means 290, and the display form related to the warning information is displayed by the display unit D1 or the alarm display device (indicator) 20. To do.

例えば、制御手段250は、シートベルトが未装着であることを示す検出信号が車両情報端子200または多重通信入出力端子210を介して入力されると、効果音「ポーン」の後、画像と音声にて「シートベルトを着用してください」を出力するように表示部D1および聴覚情報提供手段290を制御する。   For example, when a detection signal indicating that the seat belt is not attached is input via the vehicle information terminal 200 or the multiplex communication input / output terminal 210, the control unit 250 displays an image and sound after the sound effect “Pawn”. The display unit D1 and the auditory information providing means 290 are controlled so as to output “Please wear your seat belt”.

計器用制御装置内の制御手段250は、車両が停止したことを判断するために、制御手段250内に多重通信ライン400で入力されている車速信号SSgを活用する。つまり、車速信号SSgから車両停止信号が作られる。この車速信号SSgは、走行制御装置410から制御手段250に入力されて、第1の表示手段(表示部)D1を使用した車速表示に使用する信号である。   The control means 250 in the instrument control device uses the vehicle speed signal SSg input to the control means 250 through the multiplex communication line 400 in order to determine that the vehicle has stopped. That is, a vehicle stop signal is generated from the vehicle speed signal SSg. The vehicle speed signal SSg is a signal that is input from the traveling control device 410 to the control unit 250 and used for vehicle speed display using the first display unit (display unit) D1.

また、計器用制御装置内の制御手段250は、エンジンが停止したことを判断するために、制御手段250内に多重通信ライン400から入力されている「エンジン停止信号ESSg、またはエンジン回転数信号ERSgからなる」エンジン制御信号を活用する。   In addition, the control means 250 in the instrument control device determines that the engine has stopped, the “engine stop signal ESSg or engine speed signal ERSg input from the multiplex communication line 400 in the control means 250. Utilizes the engine control signal consisting of

このうち、エンジン回転数信号ERSgは、走行制御装置410から制御手段250に入力されて、表示部D1、または指針式表示部30(図1)のエンジン回転数表示に使用している既存の信号である。   Among these, the engine speed signal ERSg is input to the control means 250 from the travel control device 410, and is an existing signal used for displaying the engine speed on the display unit D1 or the pointer type display unit 30 (FIG. 1). It is.

また、エンジン停止信号ESSgは、表示部D1の液晶画面内に「アイドリングストップ中です」のように表示するところのエンジン停止表示に使用している信号である。このエンジン停止信号ESSgにより、エンストしているのか意図的にエンジンをとめているのか(アイドリングストップしているのか)が判明するように表示されている。   The engine stop signal ESSg is a signal used for displaying the engine stop, which is displayed on the liquid crystal screen of the display unit D1 as “idling stop is in progress”. The engine stop signal ESSg is displayed so as to determine whether the engine is stalled or the engine is intentionally stopped (whether idling is stopped).

次に、図2の車両用情報提示装置100に用いられるCANを適用した多重通信について説明する。先ず、詳細な説明の前に、概要について説明する。発明者は次の点に着目した。車両用のメータ表示(図1の30、40、50、D1、20部分に対する表示)に関するCAN通信においては、メッセージボックスが、通常、単一で用いられることはなく、複数(例えば16個、62個、64個等)存在し、多くの場合は、複数のメッセージボックスの1/3とか半分位しか使用していないという事実がある。   Next, the multiplex communication to which CAN used for the vehicle information presentation apparatus 100 of FIG. 2 is applied will be described. First, an outline will be described before detailed description. The inventor paid attention to the following points. In the CAN communication related to the meter display for vehicles (displays for the 30, 40, 50, D1, and 20 parts in FIG. 1), message boxes are not normally used as a single message box, but a plurality (for example, 16, 62, 62). In many cases, there is a fact that only 1/3 or half of a plurality of message boxes are used.

一つのメッセージボックスには、1フレームの内容しか格納されないように制御している。換言すれば、メッセージボックスの(ch1)が、内容(X)を格納するのであれば、内容(X)の専用メッセージボックスとして設定される。内容(Y)は、内容(Y)の専用メッセージボックスである(ch2)に格納される。また、内容(Z)は、内容(Z)の専用メッセージボックスである(ch3)に格納される。   One message box is controlled to store only the contents of one frame. In other words, if (ch1) of the message box stores the content (X), it is set as a dedicated message box for the content (X). The content (Y) is stored in (ch2), which is a dedicated message box for the content (Y). The content (Z) is stored in (ch3), which is a dedicated message box for the content (Z).

このような状態において、内容(Z)の専用メッセージボックス(ch3)が固着すると、空きのメッセージボックスがあるため、その空きのメッセージボックスを、内容(Z)の専用メッセージボックスとして新たに使用するように設定し、次からは、この新しい専用メッセージボックスを使用することにしたものである。   In such a state, when the dedicated message box (ch3) of the content (Z) is fixed, there is an empty message box, so that the empty message box is newly used as the dedicated message box of the content (Z). From now on, we will use this new dedicated message box.

以下、上記第1実施形態について、図3ないし図8を用いて更に詳細に説明する。図3は、この第1実施形態に使用し、かつCANプロトコルを用いたLANに接続されるメータ用ECU(車両内の計器板内に格納された計器やインジケータのための電子制御ユニット)1内の概略構成図である。   Hereinafter, the first embodiment will be described in more detail with reference to FIGS. FIG. 3 shows a meter ECU (electronic control unit for an instrument or indicator stored in an instrument panel in a vehicle) 1 used in the first embodiment and connected to a LAN using a CAN protocol. FIG.

なお、メータ用ECU1は、図2の車両インターフェース(車両I/F)手段230、制御手段250、制御出力手段270、記憶手段26で構成され、特に制御手段250に主要部がある。   The meter ECU 1 includes the vehicle interface (vehicle I / F) means 230, the control means 250, the control output means 270, and the storage means 26 shown in FIG.

このメータ用ECU1は、マイクロコンピュータ(マイコン)2に内蔵されたCANコントローラ3と、CANコントローラ3が生成するフレームを、CANバス10を介して送受信するためのCANトランシーバ4を備えている。   The meter ECU 1 includes a CAN controller 3 built in a microcomputer 2 and a CAN transceiver 4 for transmitting and receiving a frame generated by the CAN controller 3 via a CAN bus 10.

CANコントローラ3は、メータ用ECU1と他のECU(図2の走行制御装置410等)と間で送受信されるメッセージを格納するメッセージボックス5を複数備えている。なお、図3では便宜上1つしか図示していないが、メッセージボックス5は、複数の専用メッセージボックスと空いている(不使用の)メッセージボックスとの集合体である。   The CAN controller 3 includes a plurality of message boxes 5 for storing messages transmitted and received between the meter ECU 1 and other ECUs (such as the travel control device 410 in FIG. 2). Although only one is shown in FIG. 3 for convenience, the message box 5 is an aggregate of a plurality of dedicated message boxes and empty (unused) message boxes.

また、メッセージボックス5の設定値を基に、メッセージをフレーム化し、CANトランシーバ4を介してCANバス10へ送信する送信制御部6を有している。また、CANトランシーバ4を介してフレームを受信してメッセージの抽出等を行う受信制御部7を有している。これらの送信制御部および受信制御部は、まとめて送信/受信制御部6、7として図示されている。   In addition, a transmission control unit 6 that frames a message based on the setting value of the message box 5 and transmits the frame to the CAN bus 10 via the CAN transceiver 4 is provided. Further, it has a reception control unit 7 that receives a frame via the CAN transceiver 4 and extracts a message. These transmission control unit and reception control unit are collectively shown as transmission / reception control units 6 and 7.

CANバス10上で、フレームが衝突した際のバス権の調停制御(ビット単位非破壊アービトレーション)と、フレームの送受信に関連して生じるエラーの検出と、通知等と、CANプロトコルに従った通信制御とを実行する通信制御手段としてのCANプロトコル制御部8を備えている。   Bus arbitration control (bit-by-bit non-destructive arbitration) when a frame collides on the CAN bus 10, error detection and notification related to frame transmission / reception, and communication control according to the CAN protocol The CAN protocol control unit 8 is provided as communication control means for executing the above.

なお、通知等とは、「今受信した」「今送信が終了した」という通知をソフトウェア側に通知することを言う。この「今受信した」という通知を基に、受信した内容をメッセージボックス5に取りに行く等の処理を行うものである。   Note that the notification or the like refers to notifying the software side of “received now” or “now transmitted”. Based on the notification “received now”, processing such as going to the message box 5 for the received content is performed.

図4は、上記図3のメータ用ECU1内の制御手段250におけるソフト状態遷移図である。図4において、制御手段250内のマイクロコンピュータの電源をONにすると第1遷移状態T1になる。この第1遷移状態T1において、初期化処理状態になり、初期化処理(イニシャライズ処理)を行う。   FIG. 4 is a soft state transition diagram in the control means 250 in the meter ECU 1 of FIG. In FIG. 4, when the power source of the microcomputer in the control means 250 is turned on, the first transition state T1 is entered. In the first transition state T1, an initialization process state is entered, and an initialization process (initialization process) is performed.

この初期化処理には、ソフトウェアで使用しているRAMを初期化したり、マイクロコンピュータ内のリソース(ハード)のイニシャライズを行ったりする。このマイクロコンピュータのリソースのイニシャライズの中にCANハードマクロ(CANマクロ)のイニシャライズが含まれる。このCANハードマクロ(CANマクロ)のイニシャライズの中で、レジスタの中のメッセージボックス5が固着していないかのチェックも行う。   In this initialization process, a RAM used in the software is initialized, and resources (hardware) in the microcomputer are initialized. The initialization of the resources of the microcomputer includes the initialization of the CAN hard macro (CAN macro). During initialization of the CAN hard macro (CAN macro), it is also checked whether the message box 5 in the register is stuck.

図5は、この第1実施形態における初期化処理での一連の処理のひとつである、レジスタの中のメッセージボックス5の固着チェック処理を含むフローチャートである。図5において、初期化処理がスタートすると、ステップS401において、レジスタの中のメッセージボックス5の固着チェックを行う。   FIG. 5 is a flowchart including the sticking check process for the message box 5 in the register, which is one of a series of processes in the initialization process in the first embodiment. In FIG. 5, when the initialization process starts, in step S401, the message box 5 in the register is checked for sticking.

この固着チェックは、順番にメッセージボックス5内をチェックしていく。その結果、固着している「レジスタの中の専用メッセージボックス」が発見されると、つまり、固着チェックNGの専用メッセージボックスがあると、ステップS402において判定されると、ステップS403に移行する。   This sticking check sequentially checks the inside of the message box 5. As a result, if a stuck “dedicated message box in the register” is found, that is, if there is a sticking check NG dedicated message box, the process proceeds to step S403 when it is determined in step S402.

ステップS403において、固着チェックNG時の専用メッセージボックスに対する受容マスク(情報の行き先、住所または表札に相当)の設定を、空いているレジスタの中のメッセージボックスに対して行う。   In step S403, an acceptance mask (corresponding to the information destination, address or nameplate) for the dedicated message box at the time of sticking check NG is set for the message box in the vacant register.

ステップS402において、固着している専用メッセージボックスが無いと判定されると、ステップS405に進み、固着チェックOK(GO)時の専用メッセージボックスに対する受容マスクの設定を、予め定めた本来の専用メッセージボックスに対して行う。   If it is determined in step S402 that there is no fixed dedicated message box, the process proceeds to step S405, and the acceptance mask setting for the dedicated message box at the time of the sticking check OK (GO) is set to a predetermined original dedicated message box. To do.

ついで、ステップS404において、その他の初期化処理を行い、一連の初期化処理を終了する。つまり、このステップS404においては、図5の第1遷移状態T1における、一連の初期化処理の中でも、レジスタの中の専用メッセージボックスに対する固着チェックと受容マスクの設定を行った後の、その他の初期化処理を行っている。   Next, in step S404, other initialization processing is performed, and a series of initialization processing ends. In other words, in this step S404, other initial values after the sticking check and the acceptance mask are set for the dedicated message box in the register in the series of initialization processes in the first transition state T1 in FIG. Is being processed.

このステップS404の処理の順番は、逆でも良い。つまり、ステップS404の初期化処理を、ステップS401の前に行っても良い。なお、受容マスクはIDマスクとも呼ばれ、周知である。   The order of processing in step S404 may be reversed. That is, the initialization process in step S404 may be performed before step S401. The receiving mask is also called an ID mask and is well known.

初期化処理が完了すると、図4において、通信の通常状態である第2遷移状態T2となる。この第2遷移状態T2において、通信の必要がないときは、Bus Sleep(バススリーブ)条件が成立し、第3遷移状態T3のBus Sleep(バススリーブ)状態となる。   When the initialization process is completed, the second transition state T2 that is the normal state of communication is entered in FIG. In the second transition state T2, when there is no need for communication, a Bus Sleep (bus sleeve) condition is satisfied, and a Bus Sleep (bus sleeve) state of the third transition state T3 is established.

この遷移状態3において、車両のドアを開ける等の車両内でのアクションがあると、CAN起動条件が成立し、第1遷移状態T1に戻る。なお、第3遷移状態T3において、いよいよマイクロコンピュータがSleepする時は、マイクロコンピュータSleep(スリープ)条件が成立して第4遷移状態T4に移行してSleep状態となる。   In this transition state 3, if there is an action in the vehicle such as opening the door of the vehicle, the CAN activation condition is satisfied and the process returns to the first transition state T1. In the third transition state T3, when the microcomputer finally goes to sleep, the microcomputer sleep (sleep) condition is satisfied and the state transitions to the fourth transition state T4 to enter the sleep state.

なお、専用メッセージボックスは、受信設定でも送信設定でも使用できる。専用メッセージボックスを受信設定で使用する場合は、特定のメッセージのみ受信するために、メッセージ中のメッセージID毎に、受容マスクを専用メッセージボックスの設定値として設定する。   Note that the dedicated message box can be used for both reception setting and transmission setting. When the dedicated message box is used in the reception setting, in order to receive only a specific message, an acceptance mask is set as a setting value of the dedicated message box for each message ID in the message.

例えば、メッセージIDが「600」のフレームのみ受信するには、専用メッセージボックスの受容マスクの設定として、「600」を設定しておく。これにより、設定した専用メッセージボックスには、メッセージIDが「600」のメッセージしか格納されないこととなる。   For example, in order to receive only the frame with the message ID “600”, “600” is set as the acceptance mask setting of the dedicated message box. As a result, only the message with the message ID “600” is stored in the set dedicated message box.

なお、専用メッセージボックスは、送信用にも使用することができ、各専用メッセージボックスに対して、送信用と割り当てたり(送信設定でしか使用できない)、受信用と割り当てたり(受信設定でしか使用できない)することができる。   The dedicated message box can also be used for transmission. For each dedicated message box, it can be assigned for transmission (can only be used in transmission settings), or can be assigned for reception (used only in reception settings). Can not)

また、CAN通信の動作開始前には、上述のとおり、専用メッセージボックスのハード不良(固着)をチェックする。なお、この固着チェックは、公知の方法を採用できる。また、固着チェックは、始終実施するのではなく、基本的には、運転者がキースイッチを入れて運転を始めるときや、車両のドアを開けたような場合等のアクションがあったときに、通信を開始するので、そのときの通信を開始する準備段階で、専用メッセージボックスの固着チェックを行う。   Also, before starting the operation of CAN communication, as described above, the hardware failure (adherence) of the dedicated message box is checked. Note that a known method can be used for this sticking check. In addition, the sticking check is not performed all the time, but basically when the driver turns on the key switch and starts driving, or when there is an action such as opening the vehicle door, Since the communication is started, the sticking check of the dedicated message box is performed at the preparation stage for starting the communication at that time.

この固着チェックにおいては、例えば、「AA55、55AA」等の値を書き込み、次に、その値を読み出すことで、読み出し/書き込みチェックを実施する。そして、書き込み値と一致した値を読み出せない場合は、ハード不良として該当の専用メッセージボックスを使用禁止とする制御を行う。   In this sticking check, for example, a value such as “AA55, 55AA” is written, and then the read / write check is performed by reading the value. If a value that matches the written value cannot be read, control is performed to prohibit the use of the corresponding dedicated message box as a hardware failure.

この場合、使用禁止となった専用メッセージボックスで受信するメッセージの正しい受信ができなくなる。なお、「AA55、55AA」等の値(「A」と「5」の値)を書き込み、次に、読み出すことで、読み出し/書き込みチェックを実施すること自体は、既に実施されている。   In this case, it becomes impossible to correctly receive the message received in the dedicated message box that has been disabled. Note that writing / reading a value such as “AA55, 55AA” (values “A” and “5”), and then reading it, has already been performed.

図6は、この第1実施形態での読み出し/書き込みチェックの概要を示す説明図である。図6において、8ビットのレジスタに対して「A5」と書き込んで読み取りを行い、次に、「5A」と書き込んで読み取りを行なう。「A」と「5」の値のビットの01の配置からして、これらの読み取りが正常に行われれば、全てのビット位置に対して固着が無いことをチェックすることができる。   FIG. 6 is an explanatory diagram showing an outline of the read / write check in the first embodiment. In FIG. 6, “A5” is written to and read from the 8-bit register, and then “5A” is written and read. It is possible to check that there is no sticking to all the bit positions if these readings are normally performed from the arrangement of the bits 01 having the values of “A” and “5”.

そこで、もし、専用メッセージボックスの書き込み/読み出しチェックで問題有り(NG)と判断された場合は、空いている(未使用の)メッセージボックスに、該当の受容マスクを設定し、そのメッセージボックスで受信するための設定を行う。これにより、本来ならば受信できなくなるメッセージを、代替の専用メッセージボックスで受信することが可能となる。以下これについて詳述する。   Therefore, if it is determined that there is a problem (NG) in the write / read check of the dedicated message box, a corresponding acceptance mask is set in an empty (unused) message box, and the message box receives the message. Set up to do. As a result, a message that would otherwise be unreceivable can be received in the alternative dedicated message box. This will be described in detail below.

図7は、第1実施形態における専用メッセージボックスを空きのメッセージボックスに代替させる状態を説明する説明図である。この図7において、例えば、16個存在する専用メッセージボックスを、仮に、ch(チャンネル)1、ch2、ch3と呼称する。この場合において、CANバス10から流れてきたメッセージM0は、メッセージM0の内容に応じて、1フレーム毎に各チャンネルに格納される。例えば、内容(X)のフレームは、チャンネル1(ch1)に、格納され、別の内容(Y)や内容(Z)のフレームは、ch2、ch3に格納される。   FIG. 7 is an explanatory diagram illustrating a state in which the dedicated message box in the first embodiment is replaced with an empty message box. In FIG. 7, for example, 16 dedicated message boxes are called ch (channel) 1, ch2, and ch3. In this case, the message M0 flowing from the CAN bus 10 is stored in each channel for each frame according to the content of the message M0. For example, the content (X) frame is stored in channel 1 (ch1), and the other content (Y) and content (Z) frames are stored in ch2 and ch3.

ここで、複数のフレームの内容を、一つのチャンネル内に格納することも可能である。しかし、高速で送信されてくる複数のフレームを、1つのチャンネル内に格納すると、最初に入ったフレームの内容を引き抜こうとする間に、次の内容が入ってしまい、その結果、最初に入ったフレームの内容に、次のフレームが上書きされてしまうことが発生する。   Here, it is possible to store the contents of a plurality of frames in one channel. However, if multiple frames transmitted at high speed are stored in one channel, the next content will be entered while trying to extract the content of the first entered frame, and as a result, the first content entered. The content of the frame may be overwritten with the next frame.

従って、一つのチャンネル、つまり専用メッセージボックスには、1フレームの内容しか格納されないように制御している。換言すれば、専用メッセージボックスのch1が、内容(X)を格納するのであれば、内容(X)の専用メッセージボックスとして設定される。また、内容(Y)等は、内容(Y)の専用メッセージボックス等であるch2等に格納される。   Therefore, control is performed so that only one frame content is stored in one channel, that is, a dedicated message box. In other words, if the dedicated message box ch1 stores the content (X), it is set as the dedicated message box for the content (X). The contents (Y) and the like are stored in ch2 and the like, which are dedicated message boxes for the contents (Y).

このような状態において、内容(Z)の専用メッセージボックスであるch3が固着すると、空きのメッセージボックスがあるため、その空きのメッセージボックスを、内容(Z)の専用メッセージボックスとして新たに使用するように受容マスク設定し、次からは、この新しい専用メッセージボックスを使用することにしたものである。   In this state, if ch3 which is a dedicated message box for content (Z) is fixed, there is an empty message box, so that the empty message box is newly used as a dedicated message box for content (Z). The acceptance mask is set to the next, and the next is to use this new dedicated message box.

なお、専用メッセージボックスの固着がないかどうかの固着チェックを行うタイミングは、前述したように、これから通信を開始すると判明したときである。この固着チェックは、所定の値を書きこんだ後に、正確に書き込んだ値が読み取れるかどうかで行われる。   Note that, as described above, the timing for performing the sticking check to determine whether or not the dedicated message box is stuck is when it is determined that communication is to be started. This sticking check is performed based on whether or not the written value can be read after writing a predetermined value.

また、空きのメッセージボックスを探す必要はなく、空きのメッセージボックスの情報は、予め格納されていて、事後更新される。換言すれば、最初に、ソフトウェアを作るときに、例えば、「内容(X)は、ch1」、「内容(Y)は、ch2」、「内容(Z)等は、ch3等」であり、それ以外のメッセージボックスは空いているというような設定を、予め設定している。   Further, there is no need to search for an empty message box, and information on the empty message box is stored in advance and is updated afterwards. In other words, when the software is first created, for example, “content (X) is ch1”, “content (Y) is ch2”, “content (Z) etc. is ch3 etc.” Settings are made in advance such that message boxes other than are empty.

従って、空きのメッセージボックスを探す必要はないため、高速で通信処理が可能である。この場合、空いているメールボックスを採択する優先順位は、それほど重要ではない。   Therefore, there is no need to search for an empty message box, and communication processing can be performed at high speed. In this case, the priority of adopting free mailboxes is not very important.

固着チェックの結果、ch1が有効であることを示すイネーブル(E)、ch2がイネーブル(E)、ch3が固着発生状態であれば、ch3をイネーブル(E)から無効であることを示すディスエーブル(D)に書き換える。かつ、空いているチャンネルをディスエーブル(D)からイネーブル(E)に書き換える。   As a result of the sticking check, if ch1 is enabled (E), ch2 is enabled (E), and ch3 is in a stuck state, ch3 is disabled (E) from disabled (E). Rewrite to D). In addition, the vacant channel is rewritten from disable (D) to enable (E).

図8は、第1実施形態においてメッセージの受信タイミングを説明する説明図である。多重通信ライン400(図2)を介して、メータ用ECU1には、車速信号、エンジン回転数信号、エンジン停止信号、各種操作信号、各種センシング信号、各種警報信号が送信されてくるが、これらの信号が、図8において、一例として、第1メッセージM1と第2メッセージM2とで送信されてくるとする。   FIG. 8 is an explanatory diagram illustrating message reception timing in the first embodiment. A vehicle speed signal, an engine speed signal, an engine stop signal, various operation signals, various sensing signals, and various alarm signals are transmitted to the meter ECU 1 via the multiplex communication line 400 (FIG. 2). In FIG. 8, it is assumed that the signal is transmitted by the first message M1 and the second message M2 as an example.

図8において、第1メッセージM1と第2メッセージM2とは、非同期のタイミングで受信される、従って、受信時の第1メッセージM1と第1メッセージM1の間、第2メッセージM2と第2メッセージM2の間には充分な時間TLがあっても、第1メッセージM1と第2メッセージM2の間の時間TSは、ほとんど0秒に近い場合がある。   In FIG. 8, the first message M1 and the second message M2 are received at asynchronous timings. Therefore, between the first message M1 and the first message M1 at the time of reception, the second message M2 and the second message M2 are received. Even if there is a sufficient time TL, the time TS between the first message M1 and the second message M2 may be close to 0 seconds.

従って、受信においては、通信速度を高めるため、1フレームの第1メッセージM1と、1フレームの第2メッセージM2とで異なるメッセージボックスを使用しなければならない。つまり、1つのIDに対して一つの専用メッセージボックスを割り当てる必要がある。   Therefore, in receiving, in order to increase the communication speed, it is necessary to use different message boxes for the first message M1 of one frame and the second message M2 of one frame. That is, it is necessary to assign one dedicated message box to one ID.

この第1実施形態のように、特に、車両用情報提供装置100が設けられた計器板内のメータ用ECU1内のCANを使用した通信に、本発明を適用すれば、次の効果が得られる。メータ用ECU1は、高級なマイクロコンピュータを使用していない割に、多くの処理を高速で実行しなければならない。   If the present invention is applied to communication using CAN in the meter ECU 1 in the instrument panel provided with the vehicle information providing apparatus 100 as in the first embodiment, the following effects can be obtained. . The meter ECU 1 has to execute many processes at a high speed while not using a high-class microcomputer.

本発明のように、1フレームに1つの専用メッセージボックスが割り当てられ、かつ、固着発生時に代替の専用メッセージボックスが割り当てられれば、多くのデータの受信を高速で誤り無く受信でき、受信データが化けたり、受信が不可能になったりすることが少ないから、運転者に対して、正しい車両の情報を高速で表示することができ安全運転につながる。   As in the present invention, if one dedicated message box is assigned to one frame and an alternative dedicated message box is assigned when sticking occurs, a large amount of data can be received at high speed without error, and the received data is garbled. Or correct reception of the vehicle information to the driver at high speed, leading to safe driving.

(その他の実施形態)
本発明は、上述した実施形態にのみ限定されるものではなく、次のように変形または拡張することができる。例えば、上述の第1実施形態では、受信用に専用メッセージボックスを使用している例を説明したが、送信用に専用メッセージボックスを使用している場合においても、本発明の考え方を採用することができる。
(Other embodiments)
The present invention is not limited to the above-described embodiments, and can be modified or expanded as follows. For example, in the first embodiment described above, an example in which a dedicated message box is used for reception has been described. However, even when a dedicated message box is used for transmission, the concept of the present invention is adopted. Can do.

すなわち、送信用に使用している専用メッセージボックスの中に固着が発生した場合に、空きのメッセージボックスに代替させることができる。勿論、送信時と受信時との双方において、本発明の考え方を採用することができる。   That is, when sticking occurs in the dedicated message box used for transmission, it can be replaced with an empty message box. Of course, the idea of the present invention can be adopted both at the time of transmission and at the time of reception.

しかし、車両の計器板に設けられた計器や表示器を含む車両用情報提供装置の制御においては、受信側に本発明を適用することの方が、大きな効果をもたらす。その理由は、車両用情報提供装置において、車両内の状況を遅延無く表示することができるからである。   However, in the control of the vehicle information providing apparatus including the instrument and the display provided on the instrument panel of the vehicle, it is more effective to apply the present invention to the receiving side. The reason is that the vehicle information providing apparatus can display the situation in the vehicle without delay.

なお、図8を用いて説明したように、多重通信ライン400を介して、メータ用ECU1には、第1メッセージM1と第2メッセージM2とで送信されてくる。受信時の第1メッセージM1と第2メッセージM2の間の時間TSは、ほとんど0秒に近い場合がある。   As described with reference to FIG. 8, the first message M1 and the second message M2 are transmitted to the meter ECU 1 via the multiplex communication line 400. The time TS between the first message M1 and the second message M2 at the time of reception may be almost 0 seconds.

従って、受信においては、1フレームの第1メッセージM1と、1フレームの第2メッセージM2とで異なる専用メッセージボックスを使用しなければならない。つまり1つのIDに対して一つの専用メッセージボックスを割り当てる必要がある。   Therefore, in reception, different dedicated message boxes must be used for the first message M1 of one frame and the second message M2 of one frame. That is, it is necessary to assign one dedicated message box to one ID.

一方、送信時には、ランダムに送信することは少なく、時系列に送信することが多いので、送信用の一つの専用メッセージボックスに、空きのメッセージボックスを一つ用意しておけばよい場合がほとんどである。なお、送信時にも固着チェックは必要であり、固着した専用メッセージボックスを使用すると、データが化けた状態で送信されることになる。   On the other hand, at the time of transmission, since it is rarely transmitted at random and is often transmitted in time series, it is almost always necessary to prepare one empty message box in one dedicated message box for transmission. is there. Note that the sticking check is also required at the time of transmission. If a dedicated message box that is stuck is used, data is sent in a garbled state.

また、CANは、車両の通信ネットワークとして、ISOの標準プロトコルの一つであり、耐ノイズ性の強化を考慮して設計され、相互接続された機器間のデータ転送に使われる規格であるが、機器の制御情報の転送用として普及しており、輸送用機械、工場、工作機械等の特にロボット分野においても利用されている。   In addition, CAN is one of the ISO standard protocols for vehicle communication networks, and is a standard that is designed in consideration of enhanced noise resistance and used for data transfer between interconnected devices. It is widely used for transferring control information of equipment, and is also used in the field of robots such as transport machines, factories, and machine tools.

従って、車両以外の、これらの分野に、本発明を適用することができる。特に、輸送機械用情報提供装置、工場の監視用情報提供装置、工作機械用情報提供装置等のデータの受信に適用することで、最大限に効果を発揮する。   Therefore, the present invention can be applied to these fields other than vehicles. In particular, the present invention is maximally effective when applied to the reception of data such as a transport machine information providing device, a factory monitoring information providing device, and a machine tool information providing device.

1 メータ用電子制御ユニット(メータ用ECU)(電子制御装置)
2 マイクロコンピュータ(マイコン)
3 メッセージボックスを複数有するCANコントローラ
4 CANバスを介して送受信するためのCANトランシーバ
5 メッセージボックス(集合体)
6 メッセージをフレーム化し、CANバスへ送信する送信制御部
7 フレームを受信してメッセージの抽出を行う受信制御部
8 調停制御と、エラーの検出と、通信制御とを実行するCANプロトコル制御部
10 CANバス
20 警報表示装置(インジケータ)
26 空きのメッセージボックスの情報等を予め格納する記憶手段
30、40、50 各指針式表示部
100 車両用情報提供装置
200 車両情報端子
210 多重通信入出力端子
230 車両インターフェース(車両I/F)手段
250 制御手段
270 制御出力手段
290 聴覚情報提供手段
400 多重通信ライン
410 車両内の他の電子制御ユニットとなる走行制御装置
420 各種操作スイッチ等からなる操作手段
ch1、ch2、ch3 専用メッセージボックス
(D) ディスエーブル(無効)
D1、D2 第1、第2の表示手段(表示部)
(E) イネーブル(有効)
M0 1フレーム毎の通信内容となるメッセージ
M1 第1メッセージ
M2 第2メッセージ
S402 通信の前段階で専用メッセージボックスの固着チェックを行う手段
S403 空きのメッセージボックスを代替のメッセージボックスとする手段
T1 第1遷移状態
T2 第2遷移状態
T3 第3遷移状態
T4 第4遷移状態
(X)、(Y)、(Z) 内容
1 Electronic control unit for meter (ECU for meter) (electronic control unit)
2 Microcomputer
3 CAN controller having a plurality of message boxes 4 CAN transceiver for transmitting / receiving via CAN bus 5 Message box (aggregate)
6 Transmission control unit that frames messages and transmits them to CAN bus 7 Reception control unit that receives frames and extracts messages 8 CAN protocol control unit that performs arbitration control, error detection, and communication control 10 CAN Bus 20 Alarm display device (indicator)
26 Storage means for storing information of empty message box in advance 30, 40, 50 Each pointer-type display unit 100 Vehicle information providing device 200 Vehicle information terminal 210 Multiplex communication input / output terminal 230 Vehicle interface (vehicle I / F) means 250 control means 270 control output means 290 auditory information providing means 400 multiplex communication line 410 travel control device as another electronic control unit in the vehicle 420 operation means comprising various operation switches, etc. Ch1, ch2, ch3 dedicated message box (D) Disabled (disabled)
D1, D2 First and second display means (display unit)
(E) Enable (valid)
M0 Message that is the communication content for each frame M1 First message M2 Second message S402 Means for checking sticking of dedicated message box at the previous stage of communication S403 Means for using empty message box as alternative message box T1 First transition State T2 Second transition state T3 Third transition state T4 Fourth transition state (X), (Y), (Z) Contents

Claims (13)

フレーム毎に受信する内容を分割して多重通信する多重通信ラインと、該多重通信ラインに接続された機器の状態を表示する情報提供装置に情報表示を行わせ、前記多重通信ラインに接続される電子制御装置とを備え、
前記電子制御装置は、送信側から受信側に向かう通信の内容となる前記フレーム毎の複数のメッセージがそれぞれ割り当てられ、該割り当てられた前記メッセージのデータを収容する複数のレジスタからなる専用メッセージボックスと、
前記フレーム毎の前記通信の内容となる前記メッセージが割り当てられていないレジスタからなる空のメッセージボックスと、
前記通信を行う前に前記専用メッセージボックスに収容されるデータが固着しないかどうかの固着チェックを行う固着チェック手段と、
前記固着チェック手段による前記固着チェックの結果、前記専用メッセージボックス内の前記データが固着すると判定すると、前記空きのメッセージボックスを、前記データが固着する前記専用メッセージボックスの代替メッセージボックスとして設定する設定手段とを有することを特徴とする多重通信装置。
Information is displayed on a multiplex communication line that divides the contents received for each frame and performs multiplex communication, and an information providing device that displays the status of devices connected to the multiplex communication line, and is connected to the multiplex communication line. An electronic control unit,
The electronic control device has a dedicated message box composed of a plurality of registers each of which is assigned a plurality of messages for each frame, which is the content of communication from the transmission side to the reception side, and stores data of the assigned messages. ,
An empty message box consisting of a register to which the message that is the content of the communication for each frame is not assigned;
A sticking check means for performing a sticking check as to whether or not the data contained in the dedicated message box is stuck before performing the communication;
As a result of the sticking check by the sticking check means, if it is determined that the data in the dedicated message box is stuck, setting means for setting the empty message box as an alternative message box for the dedicated message box to which the data is stuck And a multiplex communication apparatus.
前記電子制御装置において、前記複数のメッセージのうち、それぞれ異なる前記専用メッセージボックスが割り当てられた第1メッセージと第2メッセージとは、前記送信側と前記受信側とで同期が取れていない非同期のタイミングで受信されることを特徴とする請求項1に記載の多重通信装置。   In the electronic control device, among the plurality of messages, the first message and the second message to which the different dedicated message boxes are respectively assigned are asynchronous timings at which the transmission side and the reception side are not synchronized. 2. The multiplex communication apparatus according to claim 1, wherein 前記電子制御装置は、前記情報提供装置をなす車両用情報提供装置を制御するメータ用電子制御ユニットからなり、車両内の前記機器の操作情報および前記機器の作動情報を含む前記車両の状況を前記車両内において前記車両用情報提供装置に表示させることを特徴とする請求項1または2に記載の多重通信装置。   The electronic control device includes a meter electronic control unit that controls the vehicle information providing device that constitutes the information providing device, and displays the status of the vehicle including operation information of the device and operation information of the device in the vehicle. 3. The multiplex communication apparatus according to claim 1, wherein the information is displayed on the vehicle information providing apparatus in a vehicle. 前記電子制御装置は、輸送機械の状況を表示する輸送機械用情報提供装置と、工場内の装置の状況を表示する工場監視用情報提供装置と、工作機械の状況を表示する工作機械用情報提供装置とのいずれかのための電子制御ユニットからなることを特徴とする請求項1または2に記載の多重通信装置。   The electronic control device includes a transport machine information providing device for displaying the status of the transport machine, a factory monitoring information providing device for displaying the status of the device in the factory, and a machine tool information providing for displaying the status of the machine tool. The multiplex communication apparatus according to claim 1, comprising an electronic control unit for any one of the apparatuses. 前記電子制御装置は、前記空きのメッセージボックスとなる前記レジスタの位置情報を、予め格納する記憶手段を有し、該記憶手段は、前記空きのメッセージボックスを、前記データの固着が発生した前記専用メッセージボックスの前記代替メッセージボックスとして前記設定手段が設定する毎に、前記位置情報を更新することを特徴とする請求項1ないし4のいずれか一項に記載の多重通信装置。   The electronic control unit has storage means for storing in advance the position information of the register serving as the empty message box, and the storage means stores the empty message box in the dedicated area where the data is stuck. 5. The multiplex communication apparatus according to claim 1, wherein the position information is updated each time the setting unit sets the message box as the alternative message box. 6. 前記電子制御装置には、前記各フレームに対応する個別の受容マスクが設定されており、
前記電子制御装置は、前記専用メッセージボックスに対して割り当てられた前記受容マスクに応じて、前記専用メッセージボックスに、対応する前記各フレームのメッセージのデータを収容させ、
前記固着チェック手段に、順番に前記各専用メッセージボックスとなる前記レジスタ内をチェックさせ、
前記固着チェックの結果、前記データが固着する前記専用メッセージボックスの前記レジスタがあると判定すると、前記固着が発生した前記レジスタに関わる前記専用メッセージボックスに対する前記受容マスクを、前記空きのメッセージボックスに対して設定し、
前記データが固着する前記専用メッセージボックスが無いと判定すると、前記受容マスクを、予め定めた前記専用メッセージボックスに対して設定することを特徴とする請求項1ないし5のいずれか一項に記載の多重通信装置。
In the electronic control unit, an individual receiving mask corresponding to each frame is set,
The electronic control unit accommodates the message data of each corresponding frame in the dedicated message box according to the acceptance mask assigned to the dedicated message box,
Let the sticking check means check the inside of the register which becomes each dedicated message box in turn,
As a result of the sticking check, if it is determined that there is the register of the dedicated message box to which the data is stuck, the acceptance mask for the dedicated message box related to the register in which the sticking has occurred is set to the empty message box. Set
The determination according to claim 1, wherein if it is determined that there is no dedicated message box to which the data is fixed, the acceptance mask is set for the predetermined dedicated message box. Multiple communication device.
前記電子制御装置は、全ての前記空きのメッセージボックスを前記専用メッセージボックスの前記代替メッセージボックスとして設定した場合に、前記データが固着する前記専用メッセージボックスが発見される前に、前記空きのメッセージボックスが無い旨の警告表示信号を発することを特徴とする請求項1ないし6のいずれか一項に記載の多重通信装置。   When the electronic control unit sets all the empty message boxes as the alternative message box of the dedicated message box, the electronic control unit can detect the empty message box before the dedicated message box to which the data is fixed is found. 7. The multiplex communication apparatus according to claim 1, wherein a warning display signal indicating that there is no signal is generated. 前記電子制御装置は、全ての前記空きのメッセージボックスを前記専用メッセージボックスの代替とした場合に、新たに前記専用メッセージボックスに関わる前記データの固着が生じたときに、前記空きのメッセージボックスが無い旨の警告表示信号を発することを特徴とする請求項1ないし6のいずれか一項に記載の多重通信装置。   The electronic control device has no empty message box when the data relating to the dedicated message box is newly fixed when all the empty message boxes are replaced with the dedicated message box. 7. A multiplex communication apparatus according to claim 1, wherein a warning display signal is issued. 機器の状態を表示する情報提供装置に情報表示を行わせ、フレーム毎に受信する内容を分割して多重通信する多重通信ラインに接続される電子制御装置内において、フレーム毎の送信側から受信側に向かう通信の内容となる複数のメッセージがそれぞれ割り当てられ、該割り当てられた前記メッセージのデータを収納する複数のレジスタからなる専用メッセージボックスに対して、代替手段となる複数の空きのメッセージボックスを予め設定しておき、
前記専用メッセージボックスに収容される前記データが固着しないかどうかの固着チェックを行ない、前記データが固着すると、前記代替手段となる複数の空きのメッセージボックスの一つを、前記データの固着が発生した前記専用メッセージボックスの代替メッセージボックスとして設定することを特徴とする多重通信方法。
In the electronic control unit connected to the multiplex communication line that divides the content received for each frame and performs multiplex communication by causing the information providing device to display the status of the device to divide the contents received for each frame, from the transmitting side to the receiving side for each frame A plurality of empty message boxes serving as alternatives are preliminarily assigned to a dedicated message box composed of a plurality of registers for storing data of the assigned messages. Set it,
A sticking check is performed to determine whether the data contained in the dedicated message box is not stuck. When the data is stuck, the data sticking occurs in one of a plurality of empty message boxes serving as the alternative means. A multiplex communication method, characterized in that it is set as an alternative message box for the dedicated message box.
前記電子制御装置は、該電子制御装置内にマイクロコンピュータを有し、該マイクロコンピュータの電源をONにすると、前記マイクロコンピュータが第1遷移状態になり、該第1遷移状態において初期化処理を行い、該初期化処理内において、前記固着チェックを行い、
前記初期化処理が完了すると、前記マイクロコンピュータが、通常の前記通信の状態である第2遷移状態となり、該第2遷移状態において、前記通信の必要がないときは、前記マイクロコンピュータが、第3遷移状態のバススリープ状態となり、
該第3遷移状態において、前記電子制御装置に前記多重通信ラインを介して接続された前記機器に対する操作が行われると、前記マイクロコンピュータが、前記第1遷移状態に戻り、
前記第3遷移状態において、前記マイクロコンピュータがスリープする場合は、前記マイクロコンピュータが、第4遷移状態に移行してスリープ状態となることを特徴とする請求項9に記載の多重通信方法。
The electronic control device has a microcomputer in the electronic control device, and when the microcomputer is turned on, the microcomputer enters a first transition state, and initialization processing is performed in the first transition state. In the initialization process, the sticking check is performed,
When the initialization process is completed, the microcomputer enters the second transition state, which is the normal communication state. In the second transition state, when the communication is not necessary, the microcomputer Transition to the bus sleep state,
In the third transition state, when an operation is performed on the device connected to the electronic control unit via the multiplex communication line, the microcomputer returns to the first transition state,
10. The multiplex communication method according to claim 9, wherein, when the microcomputer sleeps in the third transition state, the microcomputer transitions to a fourth transition state and enters a sleep state.
前記各フレームに対応する個別の受容マスクが前記電子制御装置内に設定されており、
前記専用メッセージボックスに対して割り当てられた前記受容マスクに応じて前記専用メッセージボックスに対応する前記各フレームのメッセージのデータを前記専用メッセージボックスが収容し、
前記固着チェックは、順番に前記各専用メッセージボックスとなる前記レジスタ内をチェックし、前記固着チェックの結果、前記データが固着する前記専用メッセージボックスの前記レジスタがあると判定されると、前記固着が発生した前記レジスタに関わる前記専用メッセージボックスに対する前記受容マスクの設定を、前記空きのメッセージボックスに対して行い、
前記データが固着する前記専用メッセージボックスが無いと判定されると、前記受容マスクの設定を、予め定めた前記専用メッセージボックスに対して行うことを特徴とする請求項9または10に記載の多重通信方法。
A separate receiving mask corresponding to each frame is set in the electronic control unit;
The dedicated message box accommodates message data of each frame corresponding to the dedicated message box according to the acceptance mask assigned to the dedicated message box,
The sticking check sequentially checks the inside of the register which becomes each dedicated message box, and if it is determined that there is the register of the dedicated message box to which the data sticks as a result of the sticking check, the sticking is checked. Setting the acceptance mask for the dedicated message box relating to the generated register for the empty message box;
The multiplex communication according to claim 9 or 10, wherein when it is determined that there is no dedicated message box to which the data is fixed, the acceptance mask is set for the predetermined dedicated message box. Method.
全ての前記空きのメッセージボックスを前記専用メッセージボックスの前記代替メッセージボックスとして設定した後において、前記データが固着する前記専用メッセージボックスが発見される前に、前記空きのメッセージボックスが無い旨の警告表示信号を前記電子制御装置が発することを特徴とする請求項9ないし11のいずれか一項に記載の多重通信方法。   After setting all the empty message boxes as the alternative message box of the dedicated message box, before the dedicated message box to which the data is fixed is found, a warning display indicating that there is no empty message box The multiplex communication method according to claim 9, wherein the electronic control device emits a signal. 全ての前記空きのメッセージボックスを前記専用メッセージボックスの代替とした後において、新たに前記専用メッセージボックスに関わる前記データの固着が生じた場合に、前記空きのメッセージボックスが無い旨の警告表示信号を前記電子制御装置が発することを特徴とする請求項9ないし11のいずれか一項に記載の多重通信方法。   After all the empty message boxes are replaced with the dedicated message box, when the data relating to the dedicated message box is newly fixed, a warning display signal indicating that there is no empty message box is displayed. The multiplex communication method according to any one of claims 9 to 11, wherein the electronic control device emits.
JP2011084001A 2011-04-05 2011-04-05 Multiplex communication device and multiplex communication method Pending JP2012222466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011084001A JP2012222466A (en) 2011-04-05 2011-04-05 Multiplex communication device and multiplex communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011084001A JP2012222466A (en) 2011-04-05 2011-04-05 Multiplex communication device and multiplex communication method

Publications (1)

Publication Number Publication Date
JP2012222466A true JP2012222466A (en) 2012-11-12

Family

ID=47273562

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011084001A Pending JP2012222466A (en) 2011-04-05 2011-04-05 Multiplex communication device and multiplex communication method

Country Status (1)

Country Link
JP (1) JP2012222466A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006222627A (en) * 2005-02-09 2006-08-24 Nec Electronics Corp Data processing module and managing method for transmission/reception message thereof
JP2009194814A (en) * 2008-02-18 2009-08-27 Fujitsu Ten Ltd Communication equipment and failure decision method in communication device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006222627A (en) * 2005-02-09 2006-08-24 Nec Electronics Corp Data processing module and managing method for transmission/reception message thereof
JP2009194814A (en) * 2008-02-18 2009-08-27 Fujitsu Ten Ltd Communication equipment and failure decision method in communication device

Similar Documents

Publication Publication Date Title
JP6203365B2 (en) Fraud detection electronic control unit, in-vehicle network system and fraud detection method
CN105637803B (en) Vehicle netbios, abnormal detection electronic control unit and abnormal countermeasure
JP5193067B2 (en) Multi-sensor circuit for automatic address acquisition
JP5935543B2 (en) Communications system
JP2005070028A (en) System and method for preventing alterations to accumulated mileage
US9592734B2 (en) Cluster information output apparatus for vehicle and control method thereof
JP2015199444A (en) Electronic control device
US11283646B2 (en) Monitoring local interconnect network (LIN) nodes
US7643940B2 (en) Obstacle detecting apparatus
JP2013216182A (en) In-vehicle system
JP2012222466A (en) Multiplex communication device and multiplex communication method
JP2003285700A (en) Failure-diagnosing device for vehicle
US20090177890A1 (en) Method and Device for Forming a Signature
WO2019225369A1 (en) Vehicle-mounted communication system, determination device, communication device, determination method, and computer program
JP3979202B2 (en) In-vehicle communication system
KR20080083769A (en) Car media player having black box function
JP6597325B2 (en) Electronic control unit
JP2000146765A (en) Electronic controller for vehicle
JP2008042411A (en) Network system
JP6136396B2 (en) Vehicle information providing device
JP2023151379A (en) On-vehicle system
RU26857U1 (en) ELECTRONIC COMBINATION OF INSTRUMENTS
JP2012177562A (en) Connection inspection method of on-vehicle lan system
JP2009262762A (en) Odometer for vehicel
JP2005326339A (en) Alteration detection system of accumulated mileage

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130731

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140225

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140415

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140624