JP2005167872A - Can bus measuring instrument - Google Patents
Can bus measuring instrument Download PDFInfo
- Publication number
- JP2005167872A JP2005167872A JP2003406934A JP2003406934A JP2005167872A JP 2005167872 A JP2005167872 A JP 2005167872A JP 2003406934 A JP2003406934 A JP 2003406934A JP 2003406934 A JP2003406934 A JP 2003406934A JP 2005167872 A JP2005167872 A JP 2005167872A
- Authority
- JP
- Japan
- Prior art keywords
- error
- bus
- frame
- data
- frames
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
本発明はCANバス測定装置に関し、詳しくは、データフレームとエラーフレームの表示処理に関するものである。 The present invention relates to a CAN bus measuring apparatus, and more particularly to display processing of a data frame and an error frame.
特許文献1は、CAN(Controller Area Network)に関するものであり、通信ラインに異常が発生した場合、異常になったノードによるバスの占有を防止し、他ノードからの通信が行えるようにする技術が記述されている。
特許文献2も、CANバスに関するものであり、CANバスをアビオニクス(avionics,航空電子工学)の分野でも使用できるようにする技術が記述されている。
本発明は、このようなCANバスを流れるCANフレームを測定してそれらの測定結果を表示するものであるが、これらいずれの特許文献にも、CANバスを介して伝送される信号フレームを測定してそれらの測定結果を表示することに関する記載はない。 The present invention measures CAN frames flowing through such a CAN bus and displays the measurement results. In any of these patent documents, a signal frame transmitted through the CAN bus is measured. There is no description about displaying the measurement results.
CANバスは、ネットワークシステムの下位層でセンサーやアクチュエータをつなぐシリアルバスであり、世界各国で車内LANの標準として採用されつつある。また、自動車機器の制御のみならず、FA(Factory Automation)等の産業機器や安全性・信頼性が要求される医療機器などの分野においても、非常に高い安全基準を満たすことから、通信方式としての採用が進んでいる。 The CAN bus is a serial bus that connects sensors and actuators in a lower layer of the network system, and is being adopted as a standard for in-vehicle LANs in various countries around the world. In addition to the control of automobile equipment, it also meets very high safety standards in fields such as industrial equipment such as FA (Factory Automation) and medical equipment that requires safety and reliability. Adoption is progressing.
図5は、従来のCANバス上のフレームデータを収集する測定装置の一例を示すブロック図である。CANフレームデータ受信装置1はCANバス2上を流れるCANフレームを受信し、受信したCANフレームがデータフレームであればデータフレームリサンプリング装置3に送り、エラーフレームであればエラー処理装置4に送る。ここで、CANフレームはCANバス上を例えばビットレート10KHz〜1MHzの範囲で流れる。CANフレームがデータフレームかエラーフレームかは、受信した各CANフレームが所定の規格を満たしているか否かで判断する。
FIG. 5 is a block diagram showing an example of a measurement apparatus that collects frame data on a conventional CAN bus. The CAN frame
リサンプリング装置3は、送られてきたデータフレームに対してリサンプリング処理を行い、CANデータの時系列データを作成する。そして、作成されたCANデータの時系列データは、例えば波形表示器5に表示され、データ記憶装置6に記憶され、データ解析装置7により解析される。リサンプリング装置3は、例えば1ms〜1Hの周期でリサンプリングを行う。
The
エラー処理装置4は、エラーフレームの内容を解釈し、その結果をエラー・ログ8に履歴として残す。さらにエラー処理装置4は、エラーフレームを受信する度にエラー・カウンタ9のカウント値を1カウントずつ増加させる。
The error processing device 4 interprets the content of the error frame and leaves the result in the error log 8 as a history. Further, the error processing device 4 increases the count value of the
図6は図5の装置で収集した2チャンネルのCANデータの時系列データを表形式で表した例であり、図7は図6に示した時系列データを汎用の波形表示器5により表示した波形の表示例である。図8は、図6の時系列データを収集中に、CANバス2に発生したエラーのログをリスト表示したダイアログの表示例である。
FIG. 6 is an example in which time-series data of 2-channel CAN data collected by the apparatus of FIG. 5 is represented in a tabular form. FIG. 7 shows the time-series data shown in FIG. It is a display example of a waveform. FIG. 8 is a display example of a dialog that displays a list of logs of errors that have occurred on the
これら図7の表示画面によればCANバス2を流れる2チャンネルCH1,CH2のCANデータの波形と相互の時間関係を把握でき、図8の表示画面によれば図7に表示されるCANデータの収集中に発生したエラーの個数、種類、順序を知ることができる。
According to these display screens of FIG. 7, the waveform of the CAN data of the two channels CH1 and CH2 flowing through the
しかし、このような従来の構成では、CANバス2を流れるデータフレームとエラーフレームの時間軸上における時間的関連を、同一画面上で同時に認識することはできない。
However, with such a conventional configuration, the temporal relationship on the time axis between the data frame flowing through the
本発明は、このような従来の問題点を解決するものであり、その目的は、CANバスを流れるデータフレームとエラーフレームについて、時間軸上における両フレームの時間的関連を同一表示画面から視覚的に把握できる表示装置を提供することにある。 The present invention solves such a conventional problem. The purpose of the present invention is to visualize the temporal relationship between both frames on the time axis for the data frame and error frame flowing through the CAN bus from the same display screen. It is to provide a display device that can be easily grasped.
このような課題を達成するために、本発明のうち請求項1記載の発明は、
CANバスを流れるCANフレームを測定してそれらの測定結果を表示するCANバス測定装置において、
データフレームと共にエラーフレームも収集する手段と、
これらデータフレームとエラーフレームを時系列データに変換する手段と、
これら時系列データを同一の画面上に表示する手段、
とで構成されたことを特徴とする。
In order to achieve such a problem, the invention according to
In a CAN bus measurement device that measures CAN frames flowing through a CAN bus and displays the measurement results,
Means for collecting error frames along with data frames;
Means for converting these data frames and error frames into time-series data;
Means for displaying these time-series data on the same screen,
It is characterized by comprising.
請求項2記載の発明は、請求項1記載のCANバス測定装置において、
前記エラーフレームを、エラーの種類毎に異なる高さのパルス波形でそれぞれのエラー発生位置に表示することを特徴とする。
The invention according to
The error frame is displayed at each error occurrence position with a pulse waveform having a different height for each type of error.
請求項3記載の発明は、請求項1記載のCANバス測定装置において、
前記エラーフレームを、エラーの種類毎に異なる色のパルス波形でそれぞれのエラー発生位置に表示することを特徴とする。
The invention described in
The error frame is displayed at each error occurrence position with a pulse waveform of a different color for each type of error.
請求項4記載の発明は、請求項1記載のCANバス測定装置において、
前記エラーフレームを、エラーの種類を表す文字記号でそれぞれのエラー発生位置に表示することを特徴とする。
According to a fourth aspect of the present invention, in the CAN bus measuring device according to the first aspect,
The error frame is displayed at each error occurrence position with a character symbol indicating the type of error.
請求項5記載の発明は、請求項4記載のCANバス測定装置において、
前記エラーの種類を表す文字記号の表示形態を、エラーの種類に応じて異ならせることを特徴とする。
The invention according to
The display form of the character symbol indicating the type of error is varied depending on the type of error.
請求項6記載の発明は、請求項5記載のCANバス測定装置において、
前記エラーの種類を表す文字記号の表示形態は、色および形状の少なくともいずれかであることを特徴とする。
A sixth aspect of the present invention is the CAN bus measuring device according to the fifth aspect,
The display form of the character symbol indicating the type of error is at least one of color and shape.
これらの本発明によれば、CANバスを流れるデータフレームとエラーフレームについて、時間軸上における両フレームの時間的関連を同一表示画面から視覚的に把握でき、エラー発生原因の解析などを効率よく行うことができる。 According to these aspects of the present invention, it is possible to visually grasp the temporal relationship between both frames on the time axis for the data frame and the error frame flowing through the CAN bus from the same display screen, and efficiently analyze the cause of the error. be able to.
以下、本発明を図面を用いて詳細に説明する。図1は本発明の一実施例を示すブロック図であり、図5と共通する部分には同一の符号を付けている。図1と図5の異なる点は、CANフレームデータ受信装置1はCANバス2上を流れるCANフレームを受信し、受信したCANフレームがデータフレームであるかエラーフレームであるかに拘わらず、データフレームリサンプリング装置3に出力していることである。
Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention, and the same reference numerals are given to portions common to FIG. The difference between FIG. 1 and FIG. 5 is that the CAN frame
リサンプリング装置3は、CANフレームデータ受信装置1から送られてきたデータフレームに対してリサンプリング処理を行い、CANデータの時系列データを作成する。
The
さらにリサンプリング装置3は、CANフレームデータ受信装置1から送られてきたエラーフレームに対してもリサンプリング処理を行い、CANデータの時系列データを構成する要素としてエラーチャンネルを作成する。
Further, the
ここで、各エラーフレームについてエラーの種類を判別し、それぞれのエラーフレーム毎に種類を識別可能な表示形態を設定する。具体的には、パルスの高さを異ならせたり、パルス波形の表示色を異ならせたり、文字記号の数字を異ならせたり、文字記号の表示色および表示形状の少なくともいずれかの表示形態数字を異ならせたりする。 Here, the type of error is determined for each error frame, and a display form capable of identifying the type is set for each error frame. Specifically, the height of the pulse, the display color of the pulse waveform, the number of the character symbol, or the display form number of the character symbol display color and shape are changed. Make them different.
このようにして作成されたエラーチャンネルを含むCANデータの時系列データは、例えば波形表示器5に表示され、データ記憶装置6に記憶され、データ解析装置7により解析される。リサンプリング装置3は、従来と同様に、例えば1ms〜1Hの周期でリサンプリングを行う。
The time-series data of CAN data including the error channel created in this way is displayed on, for example, the
図2は、図1の装置で収集した2チャンネルのCANデータCH1,CH2と、それらに伴って発生したエラーフレームの種類や内容を表すエラー番号を3チャンネル目CH3として配置した時系列データを表形式で表した例である。3チャンネル目CH3の値「0」はエラーが発生していないことを表し、それ以外の値はそれぞれのエラー番号が割り当てられた種類のエラーフレームが発生したことを表している。 FIG. 2 shows time-series data in which the 2-channel CAN data CH1 and CH2 collected by the apparatus of FIG. 1 and an error number indicating the type and content of the error frame generated in association with them are arranged as the third channel CH3. It is an example expressed in a format. The value “0” of the third channel CH3 indicates that no error has occurred, and the other values indicate that an error frame of the type assigned with each error number has occurred.
図3は図2に示した時系列データを汎用の波形表示器5により表示した波形の表示例である。図3の表示画面において、一番下のパルス列は3チャンネル目CH3としてエラーフレームを発生を表すものである。横軸(時間軸)上における各パルスの位置はエラー発生時点を示し、各パルスの高さがエラーフレームの種類や内容を表すエラー番号に対応している。最も低いパルスをエラー番号1とし、中間の高さのパルスをエラー番号2とし、最も高いパルスをエラー番号3とすると、エラーフレームerr1,err2およびerr5はエラー番号3のエラーが発生していたことになり、エラーフレームerr3はエラー番号3のエラーが発生していたことになり、エラーフレームerr4およびerr6はエラー番号1のエラーが発生していたことになる。
FIG. 3 is a waveform display example in which the time series data shown in FIG. In the display screen of FIG. 3, the bottom pulse train represents the generation of an error frame as the third channel CH3. The position of each pulse on the horizontal axis (time axis) indicates the time when the error occurred, and the height of each pulse corresponds to an error number indicating the type and content of the error frame. If the lowest pulse is
このような図3の表示画面によれば、CANバスを流れるデータフレームとエラーフレームについて、時間軸上における両フレームの時間的関連を同一表示画面から視覚的に把握できる。なお、パルスの高さ毎に各パルスの表示色を変えることにより、エラーフレームの種類や内容をさらに直感的に識別できるようになる。 According to the display screen of FIG. 3, the temporal relationship between both frames on the time axis can be visually grasped from the same display screen for the data frame and the error frame flowing through the CAN bus. Note that the type and content of the error frame can be more intuitively identified by changing the display color of each pulse for each pulse height.
図4も図2に示した時系列データを汎用の波形表示器5により表示した波形の表示例である。図4の表示画面では、波形表示領域の下部における各エラーフレームの発生位置に小さい矢印を表示するとともに、各矢印の下部にエラーフレームの種類や内容を表すエラー番号を表示している。図4の表示形態によれば、図3のようにパルスの高低からエラー番号を読み替えることなく、エラーフレームの種類や内容をエラー番号から直接知ることができる。なお、図4のエラーフレームの発生位置を表す矢印の色や形状およびエラー番号の表示形態をエラーの種類に応じて異ならせることにより、エラーフレームの種類や内容をより直感的に識別できるようになる。 FIG. 4 is also a waveform display example in which the time series data shown in FIG. In the display screen of FIG. 4, a small arrow is displayed at the position where each error frame is generated at the bottom of the waveform display area, and an error number indicating the type and content of the error frame is displayed below each arrow. According to the display form of FIG. 4, the type and content of the error frame can be directly known from the error number without reading the error number from the level of the pulse as shown in FIG. It should be noted that the error frame type and contents can be more intuitively identified by changing the color and shape of the arrow representing the error frame occurrence position in FIG. 4 and the display form of the error number according to the type of error. Become.
以上説明したように、本発明によれば、CANバスを流れるデータフレームとエラーフレームについて、時間軸上における両フレームの時間的関連を同一表示画面から視覚的に把握でき、エラー発生原因の解析などを効率よく行うことができる。 As described above, according to the present invention, regarding the data frame and error frame flowing through the CAN bus, the temporal relationship between both frames on the time axis can be visually grasped from the same display screen, and the cause of error occurrence can be analyzed. Can be performed efficiently.
1 CANフレームデータ受信装置
2 CANバス
3 リサンプリング装置
5 波形表示器
6 データ記憶装置
7 データ解析装置
DESCRIPTION OF
Claims (6)
データフレームと共にエラーフレームも収集する手段と、
これらデータフレームとエラーフレームを時系列データに変換する手段と、
これら時系列データを同一の画面上に表示する手段、
とで構成されたことを特徴とするCANバス測定装置。 In a CAN bus measurement device that measures CAN frames flowing through a CAN bus and displays the measurement results,
Means for collecting error frames along with data frames;
Means for converting these data frames and error frames into time-series data;
Means for displaying these time-series data on the same screen,
A CAN bus measuring device comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003406934A JP2005167872A (en) | 2003-12-05 | 2003-12-05 | Can bus measuring instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003406934A JP2005167872A (en) | 2003-12-05 | 2003-12-05 | Can bus measuring instrument |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005167872A true JP2005167872A (en) | 2005-06-23 |
Family
ID=34729136
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003406934A Pending JP2005167872A (en) | 2003-12-05 | 2003-12-05 | Can bus measuring instrument |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005167872A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100463421C (en) * | 2006-08-22 | 2009-02-18 | 哈尔滨工业大学 | Device and method of detection and display of CAN error frame |
CN101866176A (en) * | 2010-06-29 | 2010-10-20 | 湖南开启时代电子信息技术有限公司 | Vehicle-mounted management system of large surface mine mining and conveying vehicle |
CN109625124A (en) * | 2018-12-26 | 2019-04-16 | 深圳市车云网科技有限公司 | A kind of automobile bus signal learning system and its learning method |
JP2021034914A (en) * | 2019-08-26 | 2021-03-01 | 日置電機株式会社 | Communication channel checker |
-
2003
- 2003-12-05 JP JP2003406934A patent/JP2005167872A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100463421C (en) * | 2006-08-22 | 2009-02-18 | 哈尔滨工业大学 | Device and method of detection and display of CAN error frame |
CN101866176A (en) * | 2010-06-29 | 2010-10-20 | 湖南开启时代电子信息技术有限公司 | Vehicle-mounted management system of large surface mine mining and conveying vehicle |
CN101866176B (en) * | 2010-06-29 | 2013-03-27 | 湖南开启时代电子信息技术有限公司 | Vehicle-mounted management system of large surface mine mining and conveying vehicle |
CN109625124A (en) * | 2018-12-26 | 2019-04-16 | 深圳市车云网科技有限公司 | A kind of automobile bus signal learning system and its learning method |
JP2021034914A (en) * | 2019-08-26 | 2021-03-01 | 日置電機株式会社 | Communication channel checker |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109001649B (en) | Intelligent power supply diagnosis system and protection method | |
US8830052B2 (en) | Alarm display apparatus and alarm display method | |
JP5195951B2 (en) | Information management apparatus and information management system | |
CN1942925A (en) | Simultaneous physical and protocol layer analysis | |
JP6085862B2 (en) | State monitoring method and state monitoring apparatus system using a multi-condition monitor | |
JP5621967B2 (en) | Abnormal data analysis system | |
CN111915122A (en) | Data monitoring method, device, equipment and storage medium | |
WO2019102756A1 (en) | Monitoring state display device, monitoring state display method, and monitoring state display program | |
US20210303428A1 (en) | Error rate measuring apparatus and error counting method | |
JPWO2019181573A1 (en) | Monitoring equipment, monitoring methods, programs, controls and plants | |
CN110809280B (en) | Detection and early warning method and device for railway wireless network quality | |
JP2005167872A (en) | Can bus measuring instrument | |
JP2007179403A (en) | Monitoring device | |
EP2631727B1 (en) | Multivalue bar graph displays and methods of implementing same | |
CN114633709A (en) | Vehicle fault processing system and method | |
JP2008076353A (en) | Remote service system and remote service method for automatic analyzer | |
CN106094688A (en) | A kind of humidity sensor control system | |
CN109088765B (en) | Interconnection network routing fault diagnosis method and device | |
CN109828146A (en) | A method of equipment working condition is judged by device electrical parameters AD sampling | |
CN109066989B (en) | Transformer substation measurement and control device with data verification and abnormal alarm functions and method | |
JP2020080163A (en) | Information processor, information processing method, and computer program | |
JP2011039676A (en) | Monitoring device and alarm notifying method | |
Dreesman et al. | Challenges for signal generation from medical social media data | |
CN112513758B (en) | Data collection device, plant monitoring system, and data collection method | |
JP4600081B2 (en) | Operation support system and operation support method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060602 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081114 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081118 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090115 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090209 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090402 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090420 |