JP7705335B2 - Data Acquisition Equipment - Google Patents

Data Acquisition Equipment Download PDF

Info

Publication number
JP7705335B2
JP7705335B2 JP2021188020A JP2021188020A JP7705335B2 JP 7705335 B2 JP7705335 B2 JP 7705335B2 JP 2021188020 A JP2021188020 A JP 2021188020A JP 2021188020 A JP2021188020 A JP 2021188020A JP 7705335 B2 JP7705335 B2 JP 7705335B2
Authority
JP
Japan
Prior art keywords
data
sampling
message reception
count data
reception count
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.)
Active
Application number
JP2021188020A
Other languages
Japanese (ja)
Other versions
JP2023074863A (en
Inventor
欣大郎 西村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hioki EE Corp
Original Assignee
Hioki EE 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 Hioki EE Corp filed Critical Hioki EE Corp
Priority to JP2021188020A priority Critical patent/JP7705335B2/en
Publication of JP2023074863A publication Critical patent/JP2023074863A/en
Application granted granted Critical
Publication of JP7705335B2 publication Critical patent/JP7705335B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Small-Scale Networks (AREA)

Description

本発明は、データ収集装置に関するものである。 The present invention relates to a data collection device.

コントローラ・エリア・ネットワーク(Controller Area Network(CAN))プロトコルは、ISOにて標準化されたシリアル通信プロトコルであり、エンジンコントロールユニット(ECU:Electronic Control Unit)や該ECUに接続された回転数計測センサ、速度センサ、温度センサ等のセンサ群などの間を通信するためのシリアル通信プロトコルである。 The Controller Area Network (CAN) protocol is a serial communications protocol standardized by ISO for communication between an engine control unit (ECU: Electronic Control Unit) and a group of sensors connected to the ECU, such as a rotational speed sensor, speed sensor, and temperature sensor.

CANプロトコルを使ってCANバス上のデータを観測する波形測定システムが知られている(例えば、特許文献1参照)。この波形測定システムは、ECUに接続された回転数計測センサ、速度センサ、温度センサ等からの信号、すなわちCANデータ信号(例えば、スロットル開度、回転数、速度、水温などの観測データ)を、CANバスを介して波形測定器で測定する場合、CANバス上に流れる各部のセンサデータや制御信号を適宜に選択し、波形測定器へ転送する入力モジュール(以下、「データ収集装置」と呼ぶ。)を有している。 A waveform measurement system is known that uses the CAN protocol to observe data on a CAN bus (see, for example, Patent Document 1). When signals from a rotation speed measurement sensor, speed sensor, temperature sensor, etc. connected to the ECU, i.e., CAN data signals (e.g., observed data such as throttle opening, rotation speed, speed, water temperature, etc.) are measured by a waveform measurement device via the CAN bus, this waveform measurement system has an input module (hereinafter referred to as a "data collection device") that appropriately selects the sensor data and control signals of each part flowing on the CAN bus and transfers them to the waveform measurement device.

上記したデータ収集装置は、CANバスのプロトコルを解析し、予め設定されたID番号の観測データを予め設定されたバッファメモリに格納するCANコントローラを有している。CANコントローラは、例えば、CANバス上の第1のID番号に対応する第1の観測データは第1のバッファに、第2のID番号に対応する第2の観測データは第2のバッファにというように、複数のバッファにそれぞれ観測データを格納する。 The data collection device described above has a CAN controller that analyzes the protocol of the CAN bus and stores the observation data of a preset ID number in a preset buffer memory. The CAN controller stores the observation data in multiple buffers, for example, the first observation data corresponding to the first ID number on the CAN bus in the first buffer, the second observation data corresponding to the second ID number in the second buffer, and so on.

シリアル転送部は、複数のバッファに格納されたそれぞれの観測データを、タイミング発生器から出力されるサンプリング信号に同期させてサンプリングデータとして波形測定器側にシリアル転送する。 The serial transfer unit synchronizes each of the observation data stored in the multiple buffers with the sampling signal output from the timing generator and serially transfers it to the waveform measurement instrument as sampling data.

例えば、図4に示すように、ECUから予め決められたメッセージ送信周期(図4の例では25ms)で出力される観測データ(以下、「メッセージ受信メモリデータ」と呼ぶ。)a1~f1は、CANコントローラを介して複数のバッファを含むバッファメモリに格納される。具体的には、送信タイミング(A)の時点でメッセージ受信メモリデータb1に更新され、そのデータがバッファメモリに格納され、送信タイミング(B)の時点でメッセージ受信メモリデータc1に更新され、そのデータがバッファメモリに格納され、送信タイミング(C)の時点でメッセージ受信メモリデータd1に更新され、そのデータがバッファメモリに格納される。続けて、送信タイミング(D)の時点でメッセージ受信メモリデータe1に更新され、そのデータがバッファメモリに格納され、送信タイミング(E)の時点でメッセージ受信メモリデータf1に更新され、そのデータがバッファメモリに格納される。 For example, as shown in FIG. 4, the observation data (hereinafter referred to as "message reception memory data") a1 to f1 output from the ECU at a predetermined message transmission period (25 ms in the example of FIG. 4) is stored in a buffer memory including multiple buffers via the CAN controller. Specifically, at the time of transmission timing (A), the data is updated to message reception memory data b1, which is stored in the buffer memory, at the time of transmission timing (B), the data is updated to message reception memory data c1, which is stored in the buffer memory, at the time of transmission timing (C), the data is updated to message reception memory data d1, which is stored in the buffer memory. Next, at the time of transmission timing (D), the data is updated to message reception memory data e1, which is stored in the buffer memory, and at the time of transmission timing (E), the data is updated to message reception memory data f1, which is stored in the buffer memory.

そして、シリアル転送部は、タイミング発生器によって予め決められたサンプリング周期で生成されるサンプリングパルスのサンプリングタイミングの時点のメッセージ受信メモリデータを各バッファから読み出して、読み出されたメッセージ受信メモリデータをサンプリングデータとして波形測定器側に転送する。図4の例では、タイミング発生器がサンプリング周期100msでサンプリングパルスを発生させ、例えばサンプリングタイミング(F)の時点のメッセージ受信メモリデータa1がサンプリングデータとしてシリアル転送部に転送される。 Then, the serial transfer unit reads from each buffer the message reception memory data at the sampling timing of the sampling pulse generated by the timing generator at a predetermined sampling period, and transfers the read message reception memory data to the waveform measurement device as sampling data. In the example of Figure 4, the timing generator generates a sampling pulse at a sampling period of 100 ms, and for example, message reception memory data a1 at the sampling timing (F) is transferred to the serial transfer unit as sampling data.

特開2005-156277号JP 2005-156277 A

ところで、メッセージ受信メモリデータは、パルス発生タイミング時におけるメッセージ受信メモリデータが取得されるので、例えば、図4の例では、パルス発生タイミング(F)の時のサンプリングデータa1が取得され、次にパルス発生タイミング(G)の時のサンプリングデータe1が取得される。ところが、サンプリングデータa1が取得された後からサンプリングデータe1が取得される前までの間には、実際にはメッセージ受信メモリデータb1~d1が存在しているが、入力モジュール側でこのメッセージ受信メモリデータb1~d1の存在を確認することはできない。 The message reception memory data is acquired at the pulse generation timing, so for example, in the example of Figure 4, sampling data a1 is acquired at pulse generation timing (F), and then sampling data e1 is acquired at pulse generation timing (G). However, although message reception memory data b1-d1 actually exists between the acquisition of sampling data a1 and the acquisition of sampling data e1, the input module cannot confirm the existence of this message reception memory data b1-d1.

したがって、シリアルバス上の通信をサンプリングし解析するために必要なサンプリングデータを収集する装置においては、サンプリング間隔内に新規のデータが受信されると古いデータ(図4の例ではメッセージ受信メモリデータb1~d1)が上書きされてしまい、古いデータがどのようなデータであったのか、若しくは全くデータがない状態であったのかが不明であるため精度の高い解析を行う上で支障をきたす場合がある。 Therefore, in a device that collects the sampling data required to sample and analyze communications on a serial bus, when new data is received within a sampling interval, the old data (message reception memory data b1 to d1 in the example of Figure 4) is overwritten, and it is unclear what kind of data the old data was, or whether there was no data at all, which can hinder accurate analysis.

本発明の課題は、波形測定において精度の高い解析を行うためのデータ収集装置を提供することである。 The objective of the present invention is to provide a data collection device for performing highly accurate analysis in waveform measurement.

上記課題を解決するために、本発明に係るデータ収集装置の一側面は、シリアルバスを介して所定の送信周期で入力される複数の観測データのそれぞれをサンプリングデータとして計測器本体へ転送するデータ収集装置であって、複数の観測データを取得するとともに複数の観測データのそれぞれに対応付けされ所定のID番号が付与された複数の受信カウントデータを生成し、複数の観測データおよび前記複数の受信カウントデータを出力するコントローラと、コントローラから出力される複数の観測データおよび前記複数の受信カウントデータを記憶する第1の記憶部とを有することを特徴とする。 In order to solve the above problem, one aspect of the data collection device according to the present invention is a data collection device that transfers each of a plurality of pieces of observation data input at a predetermined transmission period via a serial bus to a measuring device main body as sampling data, and is characterized in having a controller that acquires the plurality of pieces of observation data and generates a plurality of pieces of received count data that correspond to each of the plurality of pieces of observation data and are assigned a predetermined ID number, and outputs the plurality of pieces of observation data and the plurality of received count data, and a first memory unit that stores the plurality of observation data and the plurality of received count data output from the controller.

また、本発明に係るデータ収集装置の一側面は、複数の受信カウントデータを、所定のサンプリング周期で発生するサンプリングパルスに同期させてサンプリングカウントデータとして計測器本体を構成する第2の記憶部に格納させるシリアル転送部を有することを特徴とする。 In addition, one aspect of the data collection device according to the present invention is characterized in that it has a serial transfer unit that synchronizes multiple received count data with sampling pulses generated at a predetermined sampling period and stores them as sampling count data in a second memory unit that constitutes the measuring device main body.

また、本発明に係るデータ収集装置の一側面は、複数の受信カウントデータには、サンプリングの起点とするサンプリングタイミングの直前にリセットのためのリセット用受信カウントデータを含んでいることを特徴とする。 In addition, one aspect of the data collection device according to the present invention is characterized in that the multiple reception count data include reset reception count data for resetting immediately before the sampling timing that is the starting point of sampling.

本発明によれば、波形測定において精度の高い解析を行うためのデータ収集を行うことができる。 The present invention makes it possible to collect data for highly accurate analysis of waveform measurements.

データ収集装置の使用状態を示した図であって、データ収集装置が波形計測器に接続された状態を示した図である。FIG. 2 is a diagram showing a state in which the data collection device is used, in which the data collection device is connected to a waveform measuring device. 本発明の一実施の形態に係るデータ収集装置の構成を説明するための図である。1 is a diagram for explaining a configuration of a data collection device according to an embodiment of the present invention; 本発明の一実施の形態に係るデータ収集装置の処理を説明するための図である。FIG. 2 is a diagram for explaining processing of a data collection device according to an embodiment of the present invention. 従来のデータ収集装置の処理を説明するための図である。FIG. 1 is a diagram for explaining processing of a conventional data collection device.

<一実施の形態>
以下に、図1~図3を参照して本発明の一実施の形態に係るデータ収集装置について説明する。
<One embodiment>
A data collection device according to an embodiment of the present invention will be described below with reference to FIGS.

図1は、データ収集装置の使用状態を示した図であって、データ収集装置が波形計測器(以下、「計測器本体」と呼ぶ。)に接続された状態を示した図である。図2は、本発明の一実施の形態に係るデータ収集装置の構成を説明するための図である。図3は、本発明の一実施の形態に係るデータ収集装置の処理を説明するための図である。 Figure 1 shows the state of use of the data collection device, and shows the state in which the data collection device is connected to a waveform measuring device (hereinafter referred to as the "measuring device main body"). Figure 2 is a diagram for explaining the configuration of a data collection device according to one embodiment of the present invention. Figure 3 is a diagram for explaining the processing of a data collection device according to one embodiment of the present invention.

[データ収集装置10の構成]
データ収集装置10は、入力チャネルが複数ある入力モジュールであり、CANプロトコルを用いてCANバス上に流れるECU(図示せず)からの各センサデータを解析する計測器本体20に電気的に接続されている。なお、データ収集装置10と計測器本体20の接続については、図1に有線接続されている例を示したが、接続形態はこれに限定されず例えば無線通信(例えばWi-Fi(登録商標)、Bluetooth(登録商標)等)等で接続させてもよい。
[Configuration of data collection device 10]
The data collection device 10 is an input module with multiple input channels, and is electrically connected to a measuring instrument main body 20 that analyzes each sensor data from an ECU (not shown) that flows on a CAN bus using a CAN protocol. Note that, although an example of a wired connection is shown in FIG. 1 regarding the connection between the data collection device 10 and the measuring instrument main body 20, the connection form is not limited to this, and may be, for example, a wireless communication (e.g., Wi-Fi (registered trademark), Bluetooth (registered trademark), etc.) connection.

データ収集装置10は、図2に示すようにコントローラ11、バッファメモリ12およびシリアル転送部13を有して構成されている。コントローラ11は、例えば、ECUから所定のメッセージ送信周期で出力される観測データ(以下、「メッセージ受信メモリデータ」と呼ぶ。)を取得してバッファメモリ12に格納する。ここで、コントローラ11は、メッセージ受信メモリデータを取得する際に後述する各メッセージ受信メモリデータに対応した受信カウントデータを生成する。この受信カウントデータは各メッセージ受信メモリデータに対応付けされている。コントローラ11は、各メッセージ受信メモリデータを取得すると共に各メッセージ受信メモリデータにそれぞれ対応付けされている受信カウントデータを生成してバッファメモリ12に振り分けて格納する。なお、メッセージ受信メモリデータには所定のID番号が付与されており、受信カウントデータにも所定のID番号が付与されている。 As shown in FIG. 2, the data collection device 10 is configured to have a controller 11, a buffer memory 12, and a serial transfer unit 13. The controller 11, for example, acquires observation data (hereinafter referred to as "message reception memory data") output from the ECU at a predetermined message transmission period and stores it in the buffer memory 12. Here, when acquiring the message reception memory data, the controller 11 generates reception count data corresponding to each message reception memory data described below. This reception count data is associated with each message reception memory data. The controller 11 acquires each message reception memory data and generates reception count data associated with each message reception memory data, and distributes and stores it in the buffer memory 12. Note that a predetermined ID number is assigned to the message reception memory data, and a predetermined ID number is also assigned to the reception count data.

バッファメモリ12は、コントローラ11で取得された順にメッセージ受信メモリデータを格納するとともに、取得されたメッセージ受信メモリデータに対応付けされた受信カウントデータ(図3の破線枠参照)を格納する。 The buffer memory 12 stores the message reception memory data in the order in which it was acquired by the controller 11, and also stores reception count data (see the dashed frame in Figure 3) associated with the acquired message reception memory data.

シリアル転送部13は、バッファメモリ12に格納されたそれぞれのメッセージ受信メモリデータを、タイミング発生器23から出力されるサンプリング信号(所定のサンプリング周期で発生するサンプリングパルス)に同期させてサンプリングデータ(図3参照)として計測器本体側のシリアル転送部21に転送する。さらにシリアル転送部13は、バッファメモリ12に格納されたそれぞれの受信カウントデータも、タイミング発生器23から出力されるサンプリング信号に同期させてサンプリングカウントデータ(図3の一点鎖線枠参照)として計測器本体側のシリアル転送部21に転送する。 The serial transfer unit 13 transfers each message reception memory data stored in the buffer memory 12 to the serial transfer unit 21 on the measuring device main body side as sampling data (see FIG. 3) in synchronization with the sampling signal (sampling pulse generated at a predetermined sampling period) output from the timing generator 23. Furthermore, the serial transfer unit 13 also transfers each reception count data stored in the buffer memory 12 to the serial transfer unit 21 on the measuring device main body side as sampling count data (see dashed line frame in FIG. 3) in synchronization with the sampling signal output from the timing generator 23.

シリアル転送部21は、サンプリングデータとサンプリングカウントデータをサンプリングタイミング毎に計測器本体側の中央処理装置(CPU:Central Processing Unit)22を経由しメモリ25に格納する。メモリ25に格納されたサンプリングデータとサンプリングカウントデータは、中央処理装置22の表示制御により表示部24の画面上に波形として表示される。 The serial transfer unit 21 stores the sampling data and sampling count data in memory 25 via a central processing unit (CPU: Central Processing Unit) 22 on the measuring device body at each sampling timing. The sampling data and sampling count data stored in memory 25 are displayed as waveforms on the screen of the display unit 24 under the display control of the central processing unit 22.

以下に、本実施の形態に係るデータ収集装置のデータ収集処理について説明する。図3に示すように、ECUから予め決められたメッセージ送信周期(図3の例では25ms)で出力されるメッセージ受信メモリデータa1~f1は、コントローラ11を介してバッファメモリ12に格納される。なお、図3中の(A)~(E)はECUからのメッセージ送信周期で発生させるメッセージ送信パルスの送信タイミングを示しており、図3中の(F),(G)は上記したサンプリング周期で発生させるサンプリングパルスのサンプリングタイミングを示している。 The data collection process of the data collection device according to this embodiment will be described below. As shown in FIG. 3, message reception memory data a1 to f1 output from the ECU at a predetermined message transmission period (25 ms in the example of FIG. 3) is stored in buffer memory 12 via controller 11. Note that (A) to (E) in FIG. 3 indicate the transmission timing of message transmission pulses generated at the message transmission period from the ECU, and (F) and (G) in FIG. 3 indicate the sampling timing of sampling pulses generated at the sampling period described above.

具体的には、送信タイミング(A)の時点でメッセージ受信メモリデータb1およびメッセージ受信メモリデータb1に対応する受信カウントデータ1cに更新され、メッセージ受信メモリデータb1および受信カウントデータ1cがバッファメモリ12に格納される。送信タイミング(B)の時点でメッセージ受信メモリデータc1およびメッセージ受信メモリデータc1に対応する受信カウントデータ2cに更新され、メッセージ受信メモリデータc1および受信カウントデータ2cがバッファメモリ12に格納される。送信タイミング(C)の時点でメッセージ受信メモリデータd1およびメッセージ受信メモリデータd1に対応する受信カウントデータ3cに更新され、メッセージ受信メモリデータd1および受信カウントデータ3cがバッファメモリ12に格納される。送信タイミング(D)の時点でメッセージ受信メモリデータe1およびメッセージ受信メモリデータe1に対応する受信カウントデータ4cに更新され、メッセージ受信メモリデータe1および受信カウントデータ4cがバッファメモリ12に格納される。ここで、受信カウントデータ1c~4cの1~4の数字はカウント数の番号(カウントの順番)を示している。 Specifically, at the time of transmission timing (A), the message reception memory data is updated to message reception memory data b1 and reception count data 1c corresponding to the message reception memory data b1, and the message reception memory data b1 and reception count data 1c are stored in the buffer memory 12. At the time of transmission timing (B), the message reception memory data is updated to message reception memory data c1 and reception count data 2c corresponding to the message reception memory data c1, and the message reception memory data c1 and reception count data 2c are stored in the buffer memory 12. At the time of transmission timing (C), the message reception memory data is updated to message reception memory data d1 and reception count data 3c corresponding to the message reception memory data d1, and the message reception memory data d1 and reception count data 3c are stored in the buffer memory 12. At the time of transmission timing (D), the message reception memory data is updated to message reception memory data e1 and reception count data 4c corresponding to the message reception memory data e1, and the message reception memory data e1 and reception count data 4c are stored in the buffer memory 12. Here, the numbers 1 to 4 of the reception count data 1c to 4c indicate the count number (count order).

なお、送信タイミング(F)の時点の前後の受信カウントデータは5c→0cとなっているが、これはサンプリングタイミング(F)のひとつ前のサンプリングタイミング(図示せず)の時点で取得されたメッセージ受信メモリデータ(図示せず)に対応する受信カウントデータが5cであり、その次にリセット用として機能する受信カウントデータ0cが続いていることを意味している。リセットされた後にカウントアップが開始され、受信されたメッセージ受信メモリデータに応じて受信カウントデータ1cからカウント処理が行われる。 Note that the reception count data before and after the transmission timing (F) changes from 5c to 0c, which means that the reception count data corresponding to the message reception memory data (not shown) acquired at the sampling timing (not shown) immediately before the sampling timing (F) is 5c, followed by reception count data 0c which functions as a reset. After being reset, counting up begins, and counting processing is performed from reception count data 1c according to the received message reception memory data.

ここで、送信タイミング(E)の時点では、送信タイミング(F)から起算してからサンプリング周期100msが超過しているため、次のサンプリング周期で発生させるサンプリングパルスのサンプリングタイミング(送信タイミング(G))の時点で受信カウントデータがシリアル転送部13によりリセットされ、リセット用として機能する受信カウントデータ0cがバッファメモリ12に格納される。そして受信カウントデータがリセットされた後、送信タイミング(E)の時点でシリアル転送部13はメッセージ受信メモリデータf1に更新し、メッセージ受信メモリデータf1に対応する受信カウントデータを「1c」にカウントアップしてバッファメモリ12に格納する。 Here, at the time of transmission timing (E), the sampling period of 100 ms has passed since the transmission timing (F), so the reception count data is reset by the serial transfer unit 13 at the sampling timing (transmission timing (G)) of the sampling pulse generated in the next sampling period, and reception count data 0c, which functions as a reset, is stored in the buffer memory 12. Then, after the reception count data is reset, at the time of transmission timing (E), the serial transfer unit 13 updates it to message reception memory data f1, counts up the reception count data corresponding to the message reception memory data f1 to "1c", and stores it in the buffer memory 12.

以降は、例えばメッセージ受信メモリデータf1の次にメッセージ受信メモリデータ(図示せず)があった場合には、そのメッセージ受信メモリデータおよび対応する受信カウントデータ(図示せず)に更新され、それらデータがバッファメモリ12に格納される。一方、メッセージ受信メモリデータf1の次にメッセージ受信メモリデータがなかった場合には、受信カウントデータ0cがバッファメモリ12に格納された後更新されない(受信カウントデータ0cのまま)。また、メッセージ受信メモリデータf1の次にメッセージ受信メモリデータが取得されているが、例えばメッセージ受信メモリデータf1と同じデータが取得されている場合にはメッセージ受信メモリデータf1および対応する受信カウントデータ(例えば、受信カウントデータ2c)がバッファメモリ12に格納される。 After that, for example, if there is message reception memory data (not shown) following message reception memory data f1, the message reception memory data and the corresponding reception count data (not shown) are updated, and these data are stored in buffer memory 12. On the other hand, if there is no message reception memory data following message reception memory data f1, reception count data 0c is stored in buffer memory 12 and then is not updated (reception count data remains 0c). Also, if message reception memory data is obtained following message reception memory data f1, but for example the same data as message reception memory data f1 is obtained, message reception memory data f1 and the corresponding reception count data (for example, reception count data 2c) are stored in buffer memory 12.

次に、図3の例では、シリアル転送部13は、タイミング発生器23によって決められたサンプリング周期(図3の例では100ms)で生成されるサンプリングパルスのサンプリングタイミング(F)の時点のメッセージ受信メモリデータa1をバッファメモリ12から読み出して、読み出されたメッセージ受信メモリデータa1をサンプリングデータとしてシリアル転送部21に転送する。さらにシリアル転送部13は、サンプリングパルスのサンプリングタイミング(F)の時点のメッセージ受信メモリデータa1に対応する受信カウントデータ5cをサンプリングカウントデータとしてシリアル転送部21に転送する。続いて、その次のサンプリングタイミング(G)の時点のメッセージ受信メモリデータe1をバッファメモリ12から読み出して、読み出されたメッセージ受信メモリデータe1をサンプリングデータとしてシリアル転送部21に転送する。さらにシリアル転送部13は、サンプリングパルスのサンプリングタイミング(G)の時点のメッセージ受信メモリデータe1に対応する受信カウントデータ4cをサンプリングカウントデータとしてシリアル転送部21に転送する。シリアル転送部21は、サンプリングデータおよびサンプリングカウントデータを、中央処理装置22を経由して表示部24およびメモリ25に出力する。 Next, in the example of FIG. 3, the serial transfer unit 13 reads the message reception memory data a1 at the sampling timing (F) of the sampling pulse generated at the sampling period (100 ms in the example of FIG. 3) determined by the timing generator 23 from the buffer memory 12, and transfers the read message reception memory data a1 to the serial transfer unit 21 as sampling data. Furthermore, the serial transfer unit 13 transfers the reception count data 5c corresponding to the message reception memory data a1 at the sampling timing (F) of the sampling pulse to the serial transfer unit 21 as sampling count data. Next, the message reception memory data e1 at the next sampling timing (G) is read from the buffer memory 12, and the read message reception memory data e1 is transferred to the serial transfer unit 21 as sampling data. Furthermore, the serial transfer unit 13 transfers the reception count data 4c corresponding to the message reception memory data e1 at the sampling timing (G) of the sampling pulse to the serial transfer unit 21 as sampling count data. The serial transfer unit 21 outputs the sampling data and sampling count data to the display unit 24 and memory 25 via the central processing unit 22.

以降は、メッセージ送信周期ごとのメッセージ受信メモリデータの取得および対応する受信カウントデータの生成、ならびに、それらデータのバッファメモリ12への格納に関する処理と、サンプリング周期ごとのサンプリングデータの取得および対応するサンプリングカウントデータの生成、ならびに、それらデータのメモリ25への格納に関する処理を繰り返す。 After this, the process of acquiring message reception memory data for each message transmission period, generating corresponding reception count data, and storing that data in buffer memory 12, as well as the process of acquiring sampling data for each sampling period, generating corresponding sampling count data, and storing that data in memory 25 are repeated.

以下に上記した実施の形態に係る発明による効果について説明する。 The effects of the invention according to the above-mentioned embodiment are explained below.

従来技術の問題点、すなわちサンプリング間隔内に新規のメッセージ受信メモリデータが受信されると古いデータが上書きされてしまうという問題点を解消するために、メッセージ受信メモリデータが上書きされないように、例えばサンプリング周期をより短くする(サンプリング速度をより高速にする)という手法が知られている。しかしながら、サンプリング周期を短くすると取り込むデータ量が増大してしまい波形解析のためのデータ処理に時間がかかってしまうという問題等があり好ましくない。 To solve the problem of the conventional technology, that is, when new message reception memory data is received within a sampling interval, old data is overwritten, a method is known in which the sampling period is shortened (the sampling speed is increased) so that the message reception memory data is not overwritten. However, shortening the sampling period is undesirable because it increases the amount of data to be captured, which results in problems such as a long time required for data processing for waveform analysis.

上記した実施の形態に係る発明によれば、サンプリング間隔内に新規のメッセージ受信メモリデータが受信された場合に、そのメッセージ受信メモリデータに対応するサンプリングカウントデータが生成され記憶されるので、それらのサンプリングカウントデータに基づいてサンプリング間隔内におけるメッセージ受信メモリデータの受信個数を容易に把握することができる。これにより、新規のメッセージ受信メモリデータの個数に応じたサンプリング間隔(サンプリング周期)のより細かい調整を容易に行うことができる。 According to the invention relating to the above-mentioned embodiment, when new message reception memory data is received within a sampling interval, sampling count data corresponding to that message reception memory data is generated and stored, so that the number of message reception memory data received within the sampling interval can be easily determined based on the sampling count data. This makes it easy to make more detailed adjustments to the sampling interval (sampling period) according to the number of new message reception memory data.

また、メッセージ受信メモリデータの受信個数を把握できるので、カウント値の激減あるいは激増等の監視により、例えばデータ受信の中断等の異常の把握が容易になる。また、カウント値がリセット用の受信カウントデータであるか否かを監視することにより、同じメッセージ受信メモリデータを受信し続けているか否かを把握することができる。例えば、リセットされていないことがわかれば受信データは更新されていないことになる。なお、リセット用の受信カウントデータを用いてリセットする機能を省くことによって測定期間内にECUからのメッセージデータを受信した総数を確認することができる。 In addition, since the number of received message reception memory data can be known, abnormalities such as interruptions in data reception can be easily identified by monitoring for a sudden decrease or increase in the count value. In addition, by monitoring whether the count value is reception count data for resetting, it can be known whether the same message reception memory data is being received continuously. For example, if it is found that it has not been reset, this means that the reception data has not been updated. Note that by eliminating the reset function by using reception count data for resetting, it is possible to check the total number of message data received from the ECU within the measurement period.

なお、本発明の実施の形態は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能である。 The present invention is not limited to the above-described embodiment, and various modifications are possible without departing from the spirit of the present invention.

[効果のまとめ]
本実施の形態に係るデータ収集装置10は、シリアルバスを介して所定の送信周期で入力される複数のメッセージ受信メモリデータa1~z1のそれぞれをサンプリングデータとして計測器本体20へ転送するデータ収集装置10であって、複数のメッセージ受信メモリデータa1~z1を取得するとともに複数のメッセージ受信メモリデータa1~z1のそれぞれに対応付けされ所定のID番号が付与された複数の受信カウントデータ1c~Ncを生成し、複数のメッセージ受信メモリデータa1~z1および複数の受信カウントデータ1c~Ncを出力するコントローラ11と、コントローラ11から出力される複数のメッセージ受信メモリデータa1~z1および複数の受信カウントデータ1c~Ncを記憶するバッファメモリ12とを有する。
したがって、上記構成によれば、サンプリング間隔内に新規のメッセージ受信メモリデータが受信された場合に、そのメッセージ受信メモリデータに対応する受信カウントデータが生成され記憶されるので、それらの受信カウントデータに基づいてサンプリング間隔内におけるメッセージ受信メモリデータの受信個数を容易に把握することができる。これにより、新規のメッセージ受信メモリデータの個数に応じたサンプリング間隔(サンプリング周期)のより細かい調整を容易に行うことができる。
[Summary of effects]
The data collection device 10 according to this embodiment is a data collection device that transfers each of a plurality of message reception memory data a1-z1 input at a predetermined transmission period via a serial bus to a measuring instrument main body 20 as sampling data, and has a controller 11 that acquires the plurality of message reception memory data a1-z1 and generates a plurality of reception count data 1c-Nc that are associated with each of the plurality of message reception memory data a1-z1 and assigned a predetermined ID number, and outputs the plurality of message reception memory data a1-z1 and the plurality of reception count data 1c-Nc, and a buffer memory 12 that stores the plurality of message reception memory data a1-z1 and the plurality of reception count data 1c-Nc output from the controller 11.
Therefore, according to the above configuration, when new message reception memory data is received within a sampling interval, reception count data corresponding to the new message reception memory data is generated and stored, so that the number of message reception memory data received within the sampling interval can be easily determined based on the reception count data, which makes it easy to finely adjust the sampling interval (sampling period) according to the number of new message reception memory data.

本実施の形態に係るデータ収集装置10は、複数の受信カウントデータ1c~Ncを、所定のサンプリング周期で発生するサンプリングパルスに同期させてサンプリングカウントデータとして計測器本体20を構成するメモリ25に格納させるシリアル転送部13を有する。
したがって、上記構成によれば、メモリ25に格納されたサンプリングカウントデータとバッファメモリ12に格納されたサンプリング周期内に存在する受信カウントデータを比較できるので、サンプリングカウントデータに対応する受信カウントデータ以外にカウントされた受信カウントデータが存在するか否かが容易に把握できる。
The data collection device 10 according to this embodiment has a serial transfer unit 13 that synchronizes multiple received count data 1c to Nc with sampling pulses generated at a predetermined sampling period and stores them as sampling count data in a memory 25 that constitutes the measuring instrument main body 20.
Therefore, according to the above configuration, the sampling count data stored in memory 25 can be compared with the received count data stored in buffer memory 12 and present within the sampling period, so that it is possible to easily determine whether or not there is any received count data that has been counted other than the received count data corresponding to the sampling count data.

本実施の形態に係るデータ収集装置10において、複数の受信カウントデータ1c~Ncにはサンプリングの起点とするサンプリングタイミングの直前にリセットのためのリセット用受信カウントデータ0cが含まれている。
したがって、上記構成によれば、サンプリング周期内のメッセージ受信メモリデータの受信個数を正確にカウントすることができる。
In the data collecting device 10 according to the present embodiment, the plurality of reception count data 1c to Nc includes reset reception count data 0c for resetting immediately before the sampling timing that is the starting point of sampling.
Therefore, according to the above configuration, the number of received message reception memory data within a sampling period can be counted accurately.

10 データ収集装置
11 コントローラ
12 バッファメモリ(第1の記憶部)
13 シリアル転送部(データ収集装置側のシリアル転送部)
20 計測器本体
21 シリアル転送部(計測器本体側のシリアル転送部)
22 中央処理装置(CPU)
23 タイミング発生器
24 表示部
25 メモリ(第2の記憶部)


10 Data collection device 11 Controller 12 Buffer memory (first storage unit)
13 Serial transfer unit (serial transfer unit on the data collection device side)
20 Measuring instrument main body 21 Serial transfer unit (serial transfer unit on the measuring instrument main body side)
22 Central Processing Unit (CPU)
23 Timing generator 24 Display unit 25 Memory (second storage unit)


Claims (2)

シリアルバスを介して所定の送信周期で入力される複数の観測データのそれぞれをサンプリングデータとして計測器本体へ転送するデータ収集装置であって、
前記複数の観測データを取得するとともに前記複数の観測データのそれぞれに対応付けされ所定のID番号が付与された複数の受信カウントデータを生成し、前記複数の観測データおよび前記複数の受信カウントデータを出力するコントローラと、
前記コントローラから出力される前記複数の観測データおよび前記複数の受信カウントデータを記憶する第1の記憶部と
を有し、
前記複数の受信カウントデータには、サンプリングの起点とするサンプリングタイミングの直前にリセットのためのリセット用受信カウントデータを含み、
前記サンプリングタイミングで、前記観測データに続いて観測データがある場合は、対応する前記受信カウントデータに更新し、前記観測データがない場合には、前記リセット用受信カウントデータが前記第1の記憶部に格納され前記受信カウントデータを更新しない、
ことを特徴とするデータ収集装置。
A data collection device that transfers each of a plurality of pieces of observation data input via a serial bus at a predetermined transmission period to a measuring device main body as sampling data,
a controller that acquires the plurality of observation data, generates a plurality of reception count data corresponding to each of the plurality of observation data and assigned a predetermined ID number, and outputs the plurality of observation data and the plurality of reception count data;
a first storage unit that stores the plurality of observation data and the plurality of reception count data output from the controller ;
the plurality of reception count data include reset reception count data for resetting immediately before a sampling timing that is a starting point of sampling,
When there is observation data following the observation data at the sampling timing, the reception count data is updated to the corresponding reception count data, and when there is no observation data, the reception count data for reset is stored in the first storage unit and the reception count data is not updated.
A data collection device comprising:
前記複数の受信カウントデータを、所定のサンプリング周期で発生するサンプリングパルスに同期させてサンプリングカウントデータとして前記計測器本体を構成する第2の記憶部に格納させるシリアル転送部を有する、
ことを特徴とする請求項1に記載のデータ収集装置。
a serial transfer unit that synchronizes the plurality of received count data with a sampling pulse generated at a predetermined sampling period and stores the same as sampled count data in a second storage unit that constitutes the measuring device main body;
2. The data collection device according to claim 1.
JP2021188020A 2021-11-18 2021-11-18 Data Acquisition Equipment Active JP7705335B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021188020A JP7705335B2 (en) 2021-11-18 2021-11-18 Data Acquisition Equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021188020A JP7705335B2 (en) 2021-11-18 2021-11-18 Data Acquisition Equipment

Publications (2)

Publication Number Publication Date
JP2023074863A JP2023074863A (en) 2023-05-30
JP7705335B2 true JP7705335B2 (en) 2025-07-09

Family

ID=86541214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021188020A Active JP7705335B2 (en) 2021-11-18 2021-11-18 Data Acquisition Equipment

Country Status (1)

Country Link
JP (1) JP7705335B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005156277A (en) 2003-11-25 2005-06-16 Yokogawa Electric Corp Waveform measuring instrument
JP2007114906A (en) 2005-10-19 2007-05-10 Mitsutoyo Corp Apparatus for transmitting and receiving measurement information and measuring system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3249404B2 (en) * 1996-10-08 2002-01-21 シャープ株式会社 PDC super frame out-of-sync detection circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005156277A (en) 2003-11-25 2005-06-16 Yokogawa Electric Corp Waveform measuring instrument
JP2007114906A (en) 2005-10-19 2007-05-10 Mitsutoyo Corp Apparatus for transmitting and receiving measurement information and measuring system

Also Published As

Publication number Publication date
JP2023074863A (en) 2023-05-30

Similar Documents

Publication Publication Date Title
US20070248122A1 (en) Methods and systems relating to distributed time markers
US20070258378A1 (en) Methods and systems relating to distributed time markers
CN110912784B (en) Ethernet bus network test equipment
US7924888B2 (en) Method for exchanging data between stations from different networks
JP2003242583A (en) Measurement data synchronization system and measurement data synchronization method
CN112702231B (en) Network delay measuring method and system
NO854672L (en) TELEPHONE DEVICES AND PROCEDURES FOR FREQUENCY SAMPLING.
JP7705335B2 (en) Data Acquisition Equipment
US7136766B2 (en) Vehicular accessory diagnostic system
CN112067870B (en) Automatic oscilloscope parameter measuring device and method based on FPGA
US7508844B2 (en) Frame signal waveform observation apparatus and method
JP3900470B2 (en) Digital signal measuring apparatus and traffic observation method
JP2002198978A (en) Waveform measuring instrument
US8933403B2 (en) Method and device for measurement with an IR imaging device
CN210664551U (en) Device for preventing cheat of changing calibration value of instrument
JP4385739B2 (en) Waveform measuring instrument
CN110244253B (en) Provincial metering center standard quantity transmission online control method
JP2546370B2 (en) Packet transfer characteristic measurement method
CN101123482A (en) Device and method for testing sliding index in digital communication network
CN118964271B (en) Synchronous acquisition circuit, system and method
CN115326241B (en) Automatic calibration system and method for temperature transmitter
CN113890664B (en) Method for synchronizing data in body area network, detection terminal and computer readable storage medium
WO2020030214A1 (en) Measured value acquisition using a plurality of measuring sensors
JP5434855B2 (en) Installation environment investigation device and installation environment investigation system
CN215263989U (en) Calibration system of battery module detection equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240822

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20250501

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250507

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250616

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250627

R150 Certificate of patent or registration of utility model

Ref document number: 7705335

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150