JP2009128080A - Waveform measuring device - Google Patents

Waveform measuring device Download PDF

Info

Publication number
JP2009128080A
JP2009128080A JP2007301087A JP2007301087A JP2009128080A JP 2009128080 A JP2009128080 A JP 2009128080A JP 2007301087 A JP2007301087 A JP 2007301087A JP 2007301087 A JP2007301087 A JP 2007301087A JP 2009128080 A JP2009128080 A JP 2009128080A
Authority
JP
Japan
Prior art keywords
bit
waveform
serial data
bus
serial
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.)
Granted
Application number
JP2007301087A
Other languages
Japanese (ja)
Other versions
JP5131526B2 (en
Inventor
Takashi Yoshida
傑史 吉田
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2007301087A priority Critical patent/JP5131526B2/en
Publication of JP2009128080A publication Critical patent/JP2009128080A/en
Application granted granted Critical
Publication of JP5131526B2 publication Critical patent/JP5131526B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a waveform measuring device capable of enlarging a domain for performing waveform display of serial data, even when displaying the waveform display of serial data, an addition bit or a decode value. <P>SOLUTION: This device, which is acquired by improving a waveform measuring device for measuring serial data transmitted on a serial bus and displaying a waveform, is provided with an analyzer for determining a decode value of the serial data, an operation means for determining the position of an addition bit inserted into the serial data following a communication protocol of the serial bus, and a bit-decode value display means for displaying a position marker for showing the position of the addition bit determined by the operation means near the decode value determined by the analyzer. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、シリアルバス上を伝送するシリアルデータを測定し、波形表示する波形測定装置に関し、詳しくは、シリアルデータの波形表示、付加ビット、デコード値を表示する場合であっても、シリアルデータを波形表示する領域を大きくできる波形測定装置に関するものである。   The present invention relates to a waveform measuring apparatus for measuring serial data transmitted on a serial bus and displaying the waveform, and more specifically, serial data can be displayed even when displaying the waveform display, additional bits, and decode value of the serial data. The present invention relates to a waveform measuring apparatus capable of enlarging a waveform display area.

波形測定装置は、例えば、デジタルオシロスコープであり、被測定信号を測定し、波形解析、波形表示等を行なう。また、波形測定装置の解析機能の一種として、シリアルバス上を流れるシリアルバス信号(シリアルデータ)を測定・解析し、シリアルデータをビットまたはビット列でデコードしてデコード値を表示するものもある(例えば、特許文献1、2参照)。   The waveform measuring device is, for example, a digital oscilloscope, measures a signal under measurement, performs waveform analysis, waveform display, and the like. In addition, as a kind of analysis function of the waveform measuring apparatus, there is a type that measures and analyzes a serial bus signal (serial data) flowing on the serial bus, decodes the serial data into bits or bit strings, and displays a decoded value (for example, Patent Documents 1 and 2).

シリアル通信のプロトコルは標準化、規格化されており、波形測定装置が、通信プロトコルに沿ってシリアルデータを波形解析して波形表示、デコード値等の解析結果を表示する。   The serial communication protocol is standardized and standardized, and the waveform measurement device analyzes the serial data according to the communication protocol and displays the analysis results such as waveform display and decode value.

図7は、従来の波形測定装置の表示例を示した図であり、シリアルバスの一種であるCAN(Controller Area Network)バス上を流れるシリアルデータの波形表示、解析結果を表示した一例である。   FIG. 7 is a diagram showing a display example of a conventional waveform measuring apparatus, which is an example of displaying a waveform display and analysis result of serial data flowing on a CAN (Controller Area Network) bus which is a kind of serial bus.

図7において、画面の上段にシリアルデータのデータフレームの一部が波形表示され、中段にデータフレーム中のスタッフビットが波形表示され、下段にデータフレーム中の各フィールドのデコード値が表示される。   In FIG. 7, a part of the data frame of the serial data is displayed as a waveform in the upper part of the screen, the stuff bit in the data frame is displayed in the middle part, and the decoded value of each field in the data frame is displayed in the lower part.

なお、スタッフビットとは、CANバスの通信プロトコルで規定された特殊なビットであり、シリアルデータで伝送されるデータの内容とは関係が無く、送受信ノードの同期をとることを目的として挿入されているビットである。ここで、通信プロトコルに従ってシリアルデータに挿入されるビットのことを付加ビットと呼ぶ。   Note that the stuff bit is a special bit defined by the CAN bus communication protocol, and has nothing to do with the contents of data transmitted as serial data, and is inserted for the purpose of synchronizing transmission / reception nodes. Is a bit. Here, the bits inserted into the serial data according to the communication protocol are called additional bits.

CANバスでの再同期プロセスは立下りが発生するたびにビット単位で行われるが、この立下がりを検出するためCANバスのプロトコルでは連続して同じビットが並ばないようにビット・スタッフが挿入される。具体的には、同一レベルのビットが5ビット連続した場合、1ビットの反転データが挿入される。   The resynchronization process on the CAN bus is performed in units of bits each time a falling edge occurs. In order to detect this falling edge, bit stuff is inserted so that the same bits are not arranged consecutively in the CAN bus protocol. The Specifically, when 5 bits of the same level are consecutive, 1-bit inverted data is inserted.

ここで、図8は、スタッフビットおよびスタッフビットの波形を説明した図である。図8に示すように、例えば、Lレベルのビットが6ビット連続する場合、5ビット目と6ビット目の間にレベル反転したHレベルのスタッフビットが挿入される。また、例えば、Hレベルのビットが7ビット連続する場合でも、5ビット目と6ビット目の間にレベル反転したLレベルのスタッフビットが挿入される。   Here, FIG. 8 is a diagram for explaining stuff bits and stuff bit waveforms. As shown in FIG. 8, for example, when 6 L-level bits are consecutive, an H-level stuff bit whose level is inverted is inserted between the 5th and 6th bits. Further, for example, even when 7 H-level bits are consecutive, an L-level stuff bit whose level is inverted is inserted between the 5th and 6th bits.

特開2002−311060号公報JP 2002-311060 A 特開2005−164532号公報JP 2005-164532 A

図7に示すようにスタッフビットの波形表示、各フィールドのデコード値を表示することによって、ユーザ自らが、波形測定装置の画面に表示されるシリアルデータの波形や紙に印刷した波形等から1ビットごとに信号のレベルや各フレームのスタートビットから何ビット目であるかを確認したり、スタッフビットがどのビットであるかを確認する必要がなくなり、作業効率が向上する。   As shown in FIG. 7, by displaying the waveform display of the stuff bits and the decoded value of each field, the user himself can make one bit from the waveform of the serial data displayed on the screen of the waveform measuring apparatus or the waveform printed on the paper. This eliminates the need to check the signal level and the number of bits from the start bit of each frame and to check which bit the stuff bit is, thereby improving the work efficiency.

また、シリアルデータの波形表示とともに、スタッフビットを波形表示することによりスタッフビットの位置を確認できる。これにより、シリアルデータの信号レベルの変化がノイズ、通信エラーに起因したものでないことが一目でわかり、作業効率が向上する。   Further, the position of the stuff bit can be confirmed by displaying the stuff bit together with the waveform display of the serial data. As a result, it can be seen at a glance that the change in the signal level of the serial data is not caused by noise or a communication error, and the work efficiency is improved.

すなわち、CANバスを始めとするシリアルバスの解析においては、デコード値、スタッフビット(付加ビット)の位置情報を表示することは非常に有効である。   That is, in the analysis of the serial bus including the CAN bus, it is very effective to display the decoded value and the position information of the stuff bit (additional bit).

なお、シリアルバスの種類としてはCANバスの他にFlexRay(登録商標)バス、LIN(Local Interconnect Network)バス、UART(Universal Asynchronous Receiver Transmitter)バス,IC(Inter-Integrated Circuit)バス、SPI(Serial Peripheral Interface)バス等がある。 As types of serial buses, in addition to the CAN bus, FlexRay (registered trademark) bus, LIN (Local Interconnect Network) bus, UART (Universal Asynchronous Receiver Transmitter) bus, I 2 C (Inter-Integrated Circuit) bus, SPI ( Serial Peripheral Interface) bus etc.

近年、シリアルバスの解析では、複数のシリアルデータを同時に測定、解析し、1画面中に複数のシリアルデータを同時に波形表示することが多い。   In recent years, in the analysis of a serial bus, a plurality of serial data are often measured and analyzed at the same time, and a plurality of serial data are simultaneously displayed in a waveform on one screen.

しかしながら、スタッフビットを波形表示するため、シリアルデータを表示するための領域(画面の縦軸方向)が狭くなり、波形表示できるシリアルデータ数が制限されたり、シリアルデータの波形表示が縦軸方向に圧縮された波形となり、波形解析の効率が下がるという問題があった。   However, since the stuff bits are displayed in a waveform, the area for displaying the serial data (in the vertical axis direction of the screen) is narrowed, the number of serial data that can be displayed in the waveform is limited, or the serial data waveform display is in the vertical axis direction. There is a problem that the waveform is compressed and the efficiency of waveform analysis is reduced.

そこで本発明の目的は、シリアルデータの波形表示、付加ビット、デコード値を表示する場合であっても、シリアルデータを波形表示する領域を大きくできる波形測定装置を実現することにある。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to realize a waveform measuring apparatus capable of enlarging an area for displaying a waveform of serial data even when displaying a waveform display of serial data, additional bits, and a decoded value.

請求項1記載の発明は、
シリアルバス上を伝送するシリアルデータを測定し、波形表示する波形測定装置において、
前記シリアルデータのデコード値を求める解析手段と、
前記シリアルバスの通信プロトコルに従って前記シリアルデータに挿入された付加ビットの位置を求める演算手段と、
前記解析手段の求めたデコード値の近傍に、前記演算手段の求めた付加ビットの位置を示す位置マーカを表示するビット・デコード値表示手段と
を設けたことを特徴とするものである。
請求項2記載の発明は、請求項1記載の発明において、
ビット・デコード値表示手段は、デコードしたビットまたはビット列のビット幅のボックスで、デコード値を囲むことを特徴とするものである。
請求項3記載の発明は、請求項2記載の発明において、
ビット・デコード値表示手段は、前記位置マーカを前記ボックス内または前記ボックスの近傍に表示することを特徴とするものである。
請求項4記載の発明は、請求項3記載の発明において、
ビット・デコード値表示手段は、前記付加ビットのビット幅で前記位置マーカを表示することを特徴とするものである。
請求項5記載の発明は、請求項1〜4のいずれかに記載の発明において、
前記付加ビットは、CANバスのスタッフビットまたはFlexRayバスのBSS(Byte Start Sequence)であることを特徴とするものである。
The invention described in claim 1
In a waveform measuring device that measures serial data transmitted on the serial bus and displays the waveform,
Analyzing means for obtaining a decoded value of the serial data;
Arithmetic means for obtaining the position of the additional bit inserted in the serial data according to the serial bus communication protocol;
Bit decode value display means for displaying a position marker indicating the position of the additional bit obtained by the calculation means is provided in the vicinity of the decode value obtained by the analysis means.
The invention according to claim 2 is the invention according to claim 1,
The bit decoded value display means is characterized in that the decoded value is surrounded by a box having a bit width of the decoded bit or bit string.
The invention according to claim 3 is the invention according to claim 2,
The bit decode value display means displays the position marker in the box or in the vicinity of the box.
The invention according to claim 4 is the invention according to claim 3,
The bit decode value display means displays the position marker with the bit width of the additional bit.
The invention according to claim 5 is the invention according to any one of claims 1 to 4,
The additional bit is a CAN bus stuff bit or a FlexRay bus BSS (Byte Start Sequence).

本発明によれば、以下のような効果がある。
ビット・デコード値表示手段が、時間軸方向における付加ビットの発生位置を示す位置マーカをデコード値近傍に表示する。これにより、付加ビットの波形表示をしなくとも、付加ビットの位置を把握できる。従って、シリアルデータの波形表示、付加ビット、デコード値を表示する場合であっても、シリアルデータを波形表示する領域を大きくできる。
The present invention has the following effects.
The bit decode value display means displays a position marker indicating the generation position of the additional bit in the time axis direction in the vicinity of the decode value. Thereby, the position of the additional bit can be grasped without displaying the waveform of the additional bit. Therefore, even when displaying the waveform of serial data, additional bits, and decoded values, the area for displaying the waveform of serial data can be enlarged.

以下図面を用いて本発明の実施の形態を説明する。
図1は、本発明の一実施例を示した構成図である。図1において、測定部10は、シリアルバス上を伝送されるシリアルバス信号が入力され、デジタルデータを出力する。メモリ20は、測定部10からのデジタルデータを格納する。スタッフビット演算手段30は、測定部10のデジタルデータからスタッフビットの位置を求め、その位置情報をメモリ20のデジタルデータに関連付けてメモリ20に格納する。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing an embodiment of the present invention. In FIG. 1, a measuring unit 10 receives a serial bus signal transmitted on a serial bus and outputs digital data. The memory 20 stores digital data from the measurement unit 10. The stuff bit calculation means 30 obtains the position of the stuff bit from the digital data of the measuring unit 10 and stores the position information in the memory 20 in association with the digital data of the memory 20.

デコード値解析手段40は、メモリ20のデジタルデータ、スタッフビットの位置情報を参照し、フレーム内の各フィールドのデコード値を求め、メモリ20に格納する。   The decode value analyzing means 40 refers to the digital data in the memory 20 and the position information of the stuff bits, obtains the decode value of each field in the frame, and stores it in the memory 20.

表示処理部50は、ビット・デコード値表示手段51を有し、メモリ20のスタッフビットの位置情報が付与されたデジタルデータ、デコード値を読み出し、表示用の画像データを生成する。   The display processing unit 50 includes a bit / decoded value display unit 51, reads out digital data and decoded values to which position information of stuff bits in the memory 20 is added, and generates display image data.

ビット・デコード値表示手段51は、スタッフビットの位置情報とデコード値とを合わせた画像データを生成する。表示部60は、表示処理部50が生成した画像データを表示する。   The bit decode value display means 51 generates image data that combines the stuff bit position information and the decode value. The display unit 60 displays the image data generated by the display processing unit 50.

このような装置の動作を説明する。
あらかじめ被測定対象のシリアルバス信号の種別(例えば、CANバス)、このシリアルバス信号のビットレート等が、設定手段(図示せず)から演算手段30、デコード値解析手段40に入力される。
The operation of such an apparatus will be described.
The type of serial bus signal to be measured (for example, CAN bus), the bit rate of this serial bus signal, and the like are input from the setting means (not shown) to the calculation means 30 and the decoded value analysis means 40 in advance.

これによって、演算手段30、デコード値解析手段40が、プロトコル記憶手段(図示せず)からCANバスの通信プロトコルを読み出す。   As a result, the calculation means 30 and the decode value analysis means 40 read the CAN bus communication protocol from the protocol storage means (not shown).

そして、測定部10が、CANバス上を伝送されるシリアルデータを測定し、測定部10のAD変換器(図示せず)によって所定のサンプリングレートでデジタルデータに変換し、時系列順にメモリ20へ格納すると共に、演算手段30に出力する。   Then, the measurement unit 10 measures serial data transmitted on the CAN bus, converts it into digital data at a predetermined sampling rate by an AD converter (not shown) of the measurement unit 10, and sends it to the memory 20 in time series. While storing, it outputs to the calculating means 30.

さらに、測定部10が、所定のデータ長(例えば、トリガ信号を基準とし、この基準となるトリガ信号前後の所望時間分のデジタルデータ(設定された測定点数分のデジタルデータ))をメモリ20に書き込む。そして、次のトリガ信号を検出すると所定のデータ長のデジタルデータをメモリ20に再度書き込む動作を繰返す。ここで、所定のデータ長からなるデジタルデータを波形データと呼ぶ。   Furthermore, the measurement unit 10 stores a predetermined data length (for example, digital data for a desired time before and after the trigger signal serving as the reference (digital data for the set number of measurement points)) in the memory 20. Write. When the next trigger signal is detected, the operation of rewriting the digital data having a predetermined data length in the memory 20 is repeated. Here, digital data having a predetermined data length is referred to as waveform data.

一方、演算手段30では、測定部10から時系列で入力されるデジタルデータのなかからスタッフビットを検出する。具体的には、演算手段30が、CANバスの通信プロトコルに沿って、同一レベル(LレベルまたはHレベル)のビット値が5ビット連続し、次のビットが前の連続した5ビットとは逆の論理値となるビット(レベル反転したビット)であるスタッフビットを検索する。例えば、測定部10のサンプリングレート、ビットレート、シリアルバス信号の通信プロトコルの仕様等から1ビット分のデジタルデータ数を算出し、同一レベルのビット値の数をカウントする。   On the other hand, the computing means 30 detects stuff bits from the digital data input from the measuring unit 10 in time series. Specifically, the computing means 30 follows the CAN bus communication protocol, the bit value of the same level (L level or H level) continues for 5 bits, and the next bit is opposite to the previous consecutive 5 bits. A stuff bit that is a bit (level inverted bit) that becomes the logical value of is searched. For example, the number of digital data for one bit is calculated from the sampling rate, bit rate, serial bus signal communication protocol specification, etc. of the measurement unit 10 and the number of bit values at the same level is counted.

そして、演算手段30が、スタッフビットを検出した場合、その検出したスタッフビットの位置情報をデジタルデータに関連付けしてメモリ20に格納する。例えば、波形データを構成する先頭のデジタルデータから何個目のデジタルデータに該当する等を関連付けする。   When the computing means 30 detects the stuff bit, the position information of the detected stuff bit is associated with the digital data and stored in the memory 20. For example, the number of digital data corresponding to the first digital data constituting the waveform data is associated.

そして、測定部10によって1回分の波形データが取得された後、デコード値解析手段40が、メモリ20の波形データ(スタッフビットの位置情報を含む)を読み出し、サンプリングレート、ビットレート、通信プロトコルの仕様、波形データ中のスタッフビットの位置等から、波形データ中のフレームの種別を判断し、フレームの種別判断後、各フィールドのデコード値を求め、デコード値をメモリ20に格納する。   After the waveform data for one time is acquired by the measurement unit 10, the decode value analysis means 40 reads the waveform data (including the stuff bit position information) in the memory 20, and determines the sampling rate, bit rate, and communication protocol. The type of the frame in the waveform data is determined from the specifications, the position of the stuff bit in the waveform data, etc., and after determining the type of the frame, the decoded value of each field is obtained and the decoded value is stored in the memory 20.

例えば、CANバスの場合、複数種類のフレームが存在し、「データフレーム」、「リモートフレーム」、「エラーフレーム」、「オーバーロードフレーム」の4種類のフレームがある。   For example, in the case of a CAN bus, there are a plurality of types of frames, and there are four types of frames: “data frame”, “remote frame”, “error frame”, and “overload frame”.

そして、デコード値解析手段40が、例えば、通常のフレームの形式を取る「データフレーム」、「リモートフレーム」であれば、アービトレーションフィールドの最終ビットによって区別し、「エラーフレーム」であれば6ビット以上同一レベルのビットとなる連続のデータが続くことで区別し、「オーバーロードフレーム」であればフレーム間の規定のアイドル時間を満たさないで出現するので区別する。   For example, if the decoded value analysis means 40 is a “data frame” or “remote frame” in the form of a normal frame, it is distinguished by the last bit of the arbitration field, and if it is an “error frame”, it is 6 bits or more. It is distinguished by continuous data having the same level of bits, and if it is an “overload frame”, it is distinguished because it appears without satisfying the prescribed idle time between frames.

解析手段40の解析後に表示処理部50が、メモリ20から波形データを読み出し、表示部60の表示画面の上段にシリアルデータの所望のフレーム部分またはフレーム全体の波形表示を行なう。また、ビット・デコード値表示手段51が、メモリ20から波形データ(スタッフビットの位置情報を含む)、デコード値を読み出す。   After the analysis by the analysis means 40, the display processing unit 50 reads the waveform data from the memory 20, and displays the waveform of the desired frame portion or the entire frame of the serial data on the upper stage of the display screen of the display unit 60. The bit decode value display means 51 reads waveform data (including stuff bit position information) and a decode value from the memory 20.

そして、ビット・デコード値表示手段51が、読み出した各フィールドのデコード値をシリアルデータの波形表示の下側(表示画面に下側)に表示する。具体的には、求めたデコード値それぞれに対応するフィールドのビット幅で、シリアルデータの時間軸にあわせたボックスを作成し、各ボックスの中にフィールドの名称(略称)とデコード値を表示する。つまり、ボックスによって各フィールドの境界をユーザが認識できる。   Then, the bit decode value display means 51 displays the read decode value of each field on the lower side of the serial data waveform display (lower side on the display screen). Specifically, boxes corresponding to the time axis of serial data are created with the bit width of the field corresponding to each of the obtained decode values, and the field name (abbreviation) and the decode value are displayed in each box. That is, the user can recognize the boundary of each field by the box.

ボックスのビット幅は、例えば、標準フォーマットのデータフレームの場合、スタートオブフレームであれば1ビット幅であり、アービトレーションフィールドであれば(12ビット+スタッフビット)幅になる。もちろん、スタッフビットが存在しなければ12ビット幅である。   For example, in the case of a standard format data frame, the box has a bit width of 1 bit if it is a start-of-frame, and a width of 12 bits + stuff bits if it is an arbitration field. Of course, if there is no stuff bit, the width is 12 bits.

さらに、ビット・デコード値表示手段51が、シリアルデータの波形表示中のスタッフビットに相当する位置のボックス内に位置マーカを表示する。   Further, the bit decode value display means 51 displays a position marker in a box corresponding to the stuff bit in the serial data waveform display.

ここで図2は、図1に示す装置の一表示例であり、横軸は時間軸である。また、破線の縦棒は、シリアルデータの各ビットに対するデコード値、スタッフビットの位置マーカMrkの時間軸方向の位置関係を示すためのものであり、実際の画面では表示されない。   Here, FIG. 2 is a display example of the apparatus shown in FIG. 1, and the horizontal axis is the time axis. Also, the broken vertical bars are for indicating the positional relationship in the time axis direction of the decode value for each bit of the serial data and the position marker Mrk of the stuff bit, and are not displayed on the actual screen.

ビット・デコード値表示手段51が、位置マーカMrkとして、スタッフビットに対応する部分のボックス100内の色を変えて表示させる。例えば、スタッフビットのビット幅(1ビット分)で、デコード値が表示されるボックス内のスタッフビット相当位置の背景色を変える。一例としては、スタッフビット相当位置以外の背景色が黒であれば、スタッフビット相当位置をグレー色とし、グレーアウトしているという印象をユーザに与えるとよい。   The bit decode value display means 51 displays the position marker Mrk by changing the color in the box 100 of the portion corresponding to the stuff bit. For example, the background color of the position corresponding to the stuff bit in the box in which the decoded value is displayed is changed with the bit width of the stuff bit (one bit). As an example, if the background color other than the position corresponding to the stuff bit is black, the position corresponding to the stuff bit is gray, and the user may be given an impression that it is grayed out.

このように、ビット・デコード値表示手段51が、時間軸方向におけるスタッフビットの発生位置を示す位置マーカMrkをデコード値のボックス100内に表示する。これにより、図7に示すようなスタッフビットの波形表示をしなくとも、スタッフビットの位置を把握できる。従って、シリアルデータの波形表示、付加ビット、デコード値を表示する場合であっても、シリアルデータを波形表示する領域を大きくできる。   In this manner, the bit decode value display means 51 displays the position marker Mrk indicating the stuff bit generation position in the time axis direction in the decode value box 100. Thereby, the position of the stuff bit can be grasped without displaying the waveform of the stuff bit as shown in FIG. Therefore, even when displaying the waveform of serial data, additional bits, and decoded values, the area for displaying the waveform of serial data can be enlarged.

また、ビット・デコード値表示手段51が、スタッフビットのビット幅情報として、1ビット幅の位置マーカMrkを表示するので、シリアルデータの波形表示に対するスタッフビットの視認性が向上する。   In addition, since the bit decode value display means 51 displays the 1-bit width position marker Mrk as the bit width information of the stuff bits, the visibility of the stuff bits with respect to the serial data waveform display is improved.

なお、本発明はこれに限定されるものではなく、以下に示すようなものでもよい。
(1)スタッフビットを示す位置マーカMrkを、ボックス100の中で色を変えて表示する構成を示したが、位置マーカMrkは、図3に示すように表示してもよい。例えば、位置マーカとして、図3(a)に示すようにボックス100内にスタッフビット幅のボックスMrk(a)、図3(b)に示すようにボックス100の縦軸方向の枠をこえたスタッフビット幅のボックスMrk(b)、図3(c)に示すようにボックス100の枠の上部分に三角形状の位置マーカMrk(c)、図3(d)に示すようにボックス100の枠の上部分に四角形状(横軸方向はスタッフビット幅)の位置マーカMrk(d)としてもよい。
The present invention is not limited to this, and may be as shown below.
(1) The configuration in which the position marker Mrk indicating the stuff bit is displayed by changing the color in the box 100 is shown, but the position marker Mrk may be displayed as shown in FIG. For example, as a position marker, a box Mrk (a) having a stuff bit width in the box 100 as shown in FIG. 3A, and a staff having a frame in the vertical direction of the box 100 as shown in FIG. Bit width box Mrk (b), as shown in FIG. 3 (c), a triangular position marker Mrk (c) is formed on the upper part of the frame of box 100, and the frame of box 100 is shown in FIG. 3 (d). A position marker Mrk (d) having a quadrangular shape (stuff bit width in the horizontal axis direction) may be formed in the upper portion.

例えば、図3(b)の場合、デコード値を囲むボックス100と位置マーカMrk(b)との高さを変えるので、図3(a)と比較してデコードした各フィールドの境界線と位置マーカMrk(b)の区別が容易になる。   For example, in the case of FIG. 3B, since the height of the box 100 surrounding the decoded value and the position marker Mrk (b) is changed, the boundary line and position marker of each field decoded as compared with FIG. Mrk (b) can be easily distinguished.

また、例えば、図3(c)、(d)の場合、位置マーカMrk(c)、Mrk(d)をボックス100の外側近傍に表示させるので、デコード値の視認性を損なうことがない。また、三角形状、四角形状ともにスタッフビット幅にするので、ビット幅情報も併せて表示できる。   Further, for example, in the case of FIGS. 3C and 3D, the position markers Mrk (c) and Mrk (d) are displayed near the outside of the box 100, so the visibility of the decoded value is not impaired. In addition, since both the triangular shape and the rectangular shape have the stuff bit width, the bit width information can also be displayed.

(2)シリアルバスの一例としてCANバスを例に説明したが、その他のシリアルバスの測定、解析等に本発明を適用してもよい。FlexRayバスで説明する。FlexRayバスにおいても、RlexRayバスの通信プロトコルに従ってシリアルデータに挿入される特殊なビット(特許請求の範囲の付加ビットに相当)が存在する。この特殊なビットパターンは、BSS(Byte Start Sequence)と呼ばれ2ビットからなる。 (2) Although the CAN bus has been described as an example of the serial bus, the present invention may be applied to measurement and analysis of other serial buses. The FlexRay bus will be described. Also in the FlexRay bus, there are special bits (corresponding to additional bits in the claims) inserted into serial data in accordance with the communication protocol of the RaxRay bus. This special bit pattern is called BSS (Byte Start Sequence) and consists of 2 bits.

図4を用いてBSSを説明する。BSSとは、FlexRayバスの通信プロトコルで送信されるシリアルデータ中のフレーム内において、8ビットごとに挿入される2ビットのパターン(1ビットごとに立上がり、立下りの組合せ)のことである。また、CANバスのスタッフビットと同様に、シリアルデータで伝送されるデータの内容とは関係が無く、送受信ノードの同期をとることを目的として挿入されているビットである。   The BSS will be described with reference to FIG. BSS is a 2-bit pattern (a combination of rising and falling for each bit) inserted every 8 bits in a frame in serial data transmitted by the communication protocol of the FlexRay bus. Further, like the CAN bus stuff bit, it is a bit inserted for the purpose of synchronizing transmission / reception nodes, regardless of the content of data transmitted as serial data.

図5は、従来の波形測定装置でシリアルデータの波形表示とデコード値表示を行なった例である。図4に示すように、BSSがどれに対応するか確認することが困難である。   FIG. 5 shows an example in which the waveform display and decode value display of serial data are performed by a conventional waveform measuring apparatus. As shown in FIG. 4, it is difficult to confirm which BSS corresponds to.

図6は、ビット・デコード値表示手段51が、FlexRayバスのシリアルデータの波形表示において、BSSを示す位置マーカをデコード値近傍に表示させた一例を示した図である。図6(a)は、位置マーカを表示しない従来の波形測定装置の表示例である、図6(b)は、図2と同様にボックス内のBSS相当位置の色を変えて位置マーカMrkを表示(横軸方向はBSS幅)させたものであり、図6(c)は、図3(d)と同様にBSS相当位置のボックス上側のボックス枠の上部分に四角形状(横軸方向はBSS幅)の位置マーカMrk(d)を表示した例である。   FIG. 6 is a diagram showing an example in which the bit decode value display means 51 displays a position marker indicating BSS in the vicinity of the decode value in the waveform display of the FlexRay bus serial data. FIG. 6A shows a display example of a conventional waveform measuring apparatus that does not display a position marker. FIG. 6B shows a position marker Mrk by changing the color of the BSS equivalent position in the box as in FIG. As shown in FIG. 6 (c), FIG. 6 (c) shows a quadrangular shape (the horizontal axis direction indicates the BSS width). This is an example in which a position marker Mrk (d) of (BSS width) is displayed.

(3)デコード値近傍に付加ビットの一種であるスタッフビットを示す位置マーカMrk,Mrk(a)〜Mrk(d)を表示する構成を示したが、位置マーカMrk,Mrk(a)〜Mrk(d)の表示をビット・デコード値表示手段51に表示させるか否かを設定手段(図示せず)から設定してもよい。 (3) The configuration in which the position markers Mrk, Mrk (a) to Mrk (d) indicating stuff bits, which are a kind of additional bits, are displayed in the vicinity of the decoded value is shown. However, the position markers Mrk, Mrk (a) to Mrk ( Whether or not to display the display of d) on the bit decode value display means 51 may be set from a setting means (not shown).

本発明の一実施例を示した構成図である。It is the block diagram which showed one Example of this invention. 図1に示す装置のCANバスのシリアルバス信号の一表示例である。2 is a display example of a serial bus signal of a CAN bus of the apparatus shown in FIG. 図1に示す装置のCANバスのシリアルバス信号のその他の表示例である。6 is another display example of the serial bus signal of the CAN bus of the apparatus shown in FIG. 1. FlexRayバスのシリアルバス信号の説明図である。It is explanatory drawing of the serial bus signal of a FlexRay bus. 従来の波形測定装置によるFlexRayバスのシリアルバス信号の一表示例である。It is an example of a serial bus signal of a FlexRay bus by a conventional waveform measuring device. 図1に示す装置のFlexRayバスのシリアルバス信号の一表示例である。It is an example of a display of the serial bus signal of the FlexRay bus of the apparatus shown in FIG. 従来の波形測定装置のによるCANバスのシリアルバス信号の一表示例である。It is a display example of the serial bus signal of the CAN bus by the conventional waveform measuring apparatus. CANバスのシリアルバス信号の説明図である。It is explanatory drawing of the serial bus signal of a CAN bus.

符号の説明Explanation of symbols

30 演算手段
40 解析手段
51 ビット・デコード値表示手段
100 ボックス
Mrk、Mrk(a)〜Mrk(d) 位置マーカ
30 Calculation means 40 Analysis means 51 Bit decoded value display means 100 Box Mrk, Mrk (a) to Mrk (d) Position marker

Claims (5)

シリアルバス上を伝送するシリアルデータを測定し、波形表示する波形測定装置において、
前記シリアルデータのデコード値を求める解析手段と、
前記シリアルバスの通信プロトコルに従って前記シリアルデータに挿入された付加ビットの位置を求める演算手段と、
前記解析手段の求めたデコード値の近傍に、前記演算手段の求めた付加ビットの位置を示す位置マーカを表示するビット・デコード値表示手段と
を設けたことを特徴とする波形測定装置。
In a waveform measuring device that measures serial data transmitted on the serial bus and displays the waveform,
Analyzing means for obtaining a decoded value of the serial data;
Arithmetic means for obtaining the position of the additional bit inserted in the serial data according to the serial bus communication protocol;
A waveform measurement apparatus comprising bit decode value display means for displaying a position marker indicating the position of the additional bit obtained by the arithmetic means in the vicinity of the decode value obtained by the analysis means.
ビット・デコード値表示手段は、デコードしたビットまたはビット列のビット幅のボックスで、デコード値を囲むことを特徴とする請求項1記載の波形測定装置。   2. The waveform measuring apparatus according to claim 1, wherein the bit decoded value display means surrounds the decoded value with a box having a bit width of the decoded bit or bit string. ビット・デコード値表示手段は、前記位置マーカを前記ボックス内または前記ボックスの近傍に表示することを特徴とする請求項2記載に波形測定装置。   3. The waveform measuring apparatus according to claim 2, wherein the bit decode value display means displays the position marker in the box or in the vicinity of the box. ビット・デコード値表示手段は、前記付加ビットのビット幅で前記位置マーカを表示することを特徴とする請求項3記載の波形測定装置。   4. The waveform measuring apparatus according to claim 3, wherein the bit decode value display means displays the position marker with the bit width of the additional bit. 前記付加ビットは、CANバスのスタッフビットまたはFlexRayバスのBSS(Byte Start Sequence)であることを特徴とする請求項1〜4のいずれかに記載の波形測定装置。   5. The waveform measuring apparatus according to claim 1, wherein the additional bit is a CAN bus stuff bit or a FlexRay bus BSS (Byte Start Sequence).
JP2007301087A 2007-11-21 2007-11-21 Waveform measuring device Active JP5131526B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007301087A JP5131526B2 (en) 2007-11-21 2007-11-21 Waveform measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007301087A JP5131526B2 (en) 2007-11-21 2007-11-21 Waveform measuring device

Publications (2)

Publication Number Publication Date
JP2009128080A true JP2009128080A (en) 2009-06-11
JP5131526B2 JP5131526B2 (en) 2013-01-30

Family

ID=40819177

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007301087A Active JP5131526B2 (en) 2007-11-21 2007-11-21 Waveform measuring device

Country Status (1)

Country Link
JP (1) JP5131526B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016051205A (en) * 2014-08-28 2016-04-11 Idec株式会社 Read information analysis method and optical information reading system, and information code imaging device
JP2018066710A (en) * 2016-10-21 2018-04-26 横河電機株式会社 Signal Analyzer
CN116488775A (en) * 2023-06-25 2023-07-25 北京云枢创新软件技术有限公司 Waveform labeling method and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103884890B (en) * 2012-12-21 2018-03-16 北京普源精电科技有限公司 A kind of oscillograph with decoding function

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0772178A (en) * 1993-09-01 1995-03-17 Toshiba Corp Logic analyzer
JP2005164532A (en) * 2003-12-05 2005-06-23 Yokogawa Electric Corp Waveform display unit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0772178A (en) * 1993-09-01 1995-03-17 Toshiba Corp Logic analyzer
JP2005164532A (en) * 2003-12-05 2005-06-23 Yokogawa Electric Corp Waveform display unit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016051205A (en) * 2014-08-28 2016-04-11 Idec株式会社 Read information analysis method and optical information reading system, and information code imaging device
JP2018066710A (en) * 2016-10-21 2018-04-26 横河電機株式会社 Signal Analyzer
CN116488775A (en) * 2023-06-25 2023-07-25 北京云枢创新软件技术有限公司 Waveform labeling method and system
CN116488775B (en) * 2023-06-25 2023-09-15 北京云枢创新软件技术有限公司 Waveform labeling method and system

Also Published As

Publication number Publication date
JP5131526B2 (en) 2013-01-30

Similar Documents

Publication Publication Date Title
KR100408299B1 (en) Apparatus and method for detecting display mode
JP5131526B2 (en) Waveform measuring device
KR20150127612A (en) Video output checker
JP6455939B2 (en) Communication method
JP2009303178A (en) Data receiver, method of receiving data, and data receiving program
JP4819386B2 (en) Measuring circuit and method for serially merging and analyzing single-ended signals
CN113452477A (en) Error rate measuring device and setting screen display method
JP2008165160A (en) Apparatus for converting gray scale and method for same
JP2007304479A (en) Video display device, and display method by the same
JP4924882B2 (en) Waveform measuring device
JP2022134472A (en) Error rate measurement device and error distribution display method
JP5125363B2 (en) Waveform measuring device
TW483242B (en) Color code decoding circuit for 3D display and the method thereof
JP5551998B2 (en) Image signal generator
JP2005164532A (en) Waveform display unit
JP5418970B2 (en) Waveform measurement device
JP6167290B2 (en) Transmission device, reception device, transmission apparatus, transmission method, and reception method
CN106537457B (en) A kind of image processing method, device and electric terminal
JP2002148283A (en) Data indication method and data analyzer
JP5158424B2 (en) Waveform measuring device
JP2006177693A (en) Waveform display device
CN108711153B (en) Digital video image distortion detection method
US10620264B2 (en) Measuring system as well as method for analyzing an analog signal
JP3998176B2 (en) WAVEFORM QUALITY INFORMATION DISPLAY DEVICE, METHOD, PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP2003273963A (en) Communication sequence diagram preparing apparatus and commutation protocol analyzer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100924

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120720

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120724

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120924

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121011

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121024

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

Free format text: PAYMENT UNTIL: 20151116

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5131526

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250