JP2018189445A - Waveform recorder - Google Patents

Waveform recorder Download PDF

Info

Publication number
JP2018189445A
JP2018189445A JP2017090692A JP2017090692A JP2018189445A JP 2018189445 A JP2018189445 A JP 2018189445A JP 2017090692 A JP2017090692 A JP 2017090692A JP 2017090692 A JP2017090692 A JP 2017090692A JP 2018189445 A JP2018189445 A JP 2018189445A
Authority
JP
Japan
Prior art keywords
buffer
circuit
digital data
event
trigger
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
JP2017090692A
Other languages
Japanese (ja)
Other versions
JP2018189445A5 (en
JP6844404B2 (en
Inventor
英二 木村
Eiji Kimura
英二 木村
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.)
Iwatsu Electric Co Ltd
Original Assignee
Iwatsu Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Iwatsu Electric Co Ltd filed Critical Iwatsu Electric Co Ltd
Priority to JP2017090692A priority Critical patent/JP6844404B2/en
Publication of JP2018189445A publication Critical patent/JP2018189445A/en
Publication of JP2018189445A5 publication Critical patent/JP2018189445A5/ja
Application granted granted Critical
Publication of JP6844404B2 publication Critical patent/JP6844404B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a waveform recorder with which it is possible to detect a desired event relating to a signal waveform efficiently with high accuracy without incurring an increase in cost.SOLUTION: A buffer 12 temporarily stores digital data Dd that is generated by analog-digital conversion of an analog input signal Sa. A buffer control circuit 15 controls a period from when the buffer 12 starts storing operation till when it finishes storing operation on the basis of trigger signals T1, T2. An event detection circuit 16 generates an event detection signal Si when an event is detected from the digital data Dd stored in the buffer 12 at termination of the period from when the buffer 12 starts storing operation till when it finishes storing operation. A memory circuit 18 stores waveform data Dw generated by a process of latching the digital data Dd, and stops storing the waveform data Dw in response to the event detection signal Si.SELECTED DRAWING: Figure 1

Description

本発明は、アナログ入力信号の波形データを記録する波形記録装置に関する。   The present invention relates to a waveform recording apparatus that records waveform data of an analog input signal.

デジタルオシロスコープ等として用いられる波形記録装置が従来提案されている(例えば、特許文献1,2)。波形記録装置が様々なイベントを取得、観測及び解析できるようにするために、多くのトリガ機能及び検索機能が提案されている。トリガ機能及び検索機能を実現するためにパルス幅トリガを用いる場合、設定されたトリガレベルでのパルス幅を計数クロックでカウントし、カウントしたパルス幅が予め設定されたパルス幅と一致した場合にトリガ信号が生成される。また、波形データを取り込んだ後に所望のイベントを検索して表示する波形記録装置も提案されている。   Conventionally, a waveform recording apparatus used as a digital oscilloscope or the like has been proposed (for example, Patent Documents 1 and 2). Many trigger and search functions have been proposed to allow the waveform recorder to acquire, observe and analyze various events. When using the pulse width trigger to implement the trigger function and search function, the pulse width at the set trigger level is counted with the counting clock, and the trigger is triggered when the counted pulse width matches the preset pulse width. A signal is generated. There has also been proposed a waveform recording apparatus that retrieves and displays a desired event after capturing waveform data.

特表2009−503458号公報Special table 2009-503458 gazette 特開2003−344454号公報JP 2003-344454 A

パルス幅トリガを用いる波形記録装置では、パルス幅をカウントする計測クロックがアナログ入力信号に同期していないので、パルス幅の1カウント分に相当する誤差を許容する必要がある。パルス幅を高精度で検出するためには高周波数の計測クロックを用いる必要があり、波形記録装置のコストが上昇するという不都合がある。   In the waveform recording apparatus using the pulse width trigger, since the measurement clock for counting the pulse width is not synchronized with the analog input signal, it is necessary to allow an error corresponding to one count of the pulse width. In order to detect the pulse width with high accuracy, it is necessary to use a high-frequency measurement clock, which disadvantageously increases the cost of the waveform recording apparatus.

また、波形データを取り込んだ後に所望のイベントを検索して表示する波形記録装置では、取り込んだ波形データの中に所望のイベントが存在するとは限らない。特に、稀なイベントを検出する場合、波形データの取込みと検索処理を複数回繰り返す必要があり、所望のイベントを高効率に検出することができないという不都合がある。   Further, in a waveform recording apparatus that retrieves and displays a desired event after capturing waveform data, the desired event does not always exist in the captured waveform data. In particular, when detecting a rare event, it is necessary to repeat the acquisition and search processing of waveform data a plurality of times, and there is an inconvenience that a desired event cannot be detected with high efficiency.

本発明の目的は、コストを上昇させることなく信号の波形に関する所望のイベントを高精度かつ高効率に検出することができる波形記録装置を提供することである。   An object of the present invention is to provide a waveform recording apparatus that can detect a desired event related to a waveform of a signal with high accuracy and high efficiency without increasing costs.

本発明による波形記録装置は、アナログ入力信号をアナログ・デジタル変換することによって生成されたデジタルデータを一時的に記憶するバッファと、トリガ条件に基づいてアナログ入力信号又はデジタルデータからトリガ信号を生成するトリガ回路と、バッファが記憶動作を開始してから終了するまでの期間をトリガ信号に基づいて制御するバッファ制御回路と、バッファが記憶動作を開始してから終了するまでの期間の終了の際にバッファに記憶されたデジタルデータからイベントが検出された場合にイベント検出信号を生成するイベント検出回路と、デジタルデータを取り込み処理することによって生成された波形データを記憶し、イベント検出信号に応答して波形データの記憶を停止するメモリ回路と、を備える。   A waveform recording apparatus according to the present invention generates a trigger signal from an analog input signal or digital data based on a trigger condition and a buffer that temporarily stores digital data generated by analog-to-digital conversion of the analog input signal. A trigger circuit, a buffer control circuit that controls a period from the start of the storage operation to the end of the buffer based on the trigger signal, and an end of the period from the start of the storage operation to the end of the buffer An event detection circuit that generates an event detection signal when an event is detected from the digital data stored in the buffer, and stores waveform data generated by processing the digital data and responds to the event detection signal And a memory circuit for stopping the storage of the waveform data.

好適には、バッファは、第1のバッファ及び第2のバッファを有し、トリガ回路は、トリガ条件に基づいてアナログ入力信号又はデジタルデータから第1のトリガ信号及び第2のトリガ信号を生成し、バッファ制御回路は、第1のバッファが記憶動作を開始してから終了するまでの期間を第1のトリガ信号に基づいて制御し、第2のバッファが記憶動作を開始してから終了するまでの期間を第2のトリガ信号に基づいて制御し、第1のバッファが記憶動作を終了してから第2のバッファが記憶動作を開始するまでの期間を、第1のトリガ信号及び前記第2のトリガ信号に基づいて制御し、イベント検出回路は、第1のバッファが記憶動作を開始してから終了するまでの期間の終了の際に第1のバッファに記憶されたデジタルデータ及び第2のバッファが記憶動作を開始してから終了するまでの期間の終了の際に第2のバッファに記憶されたデジタルデータからイベントが検出された場合にイベント検出信号を生成する。   Preferably, the buffer includes a first buffer and a second buffer, and the trigger circuit generates the first trigger signal and the second trigger signal from the analog input signal or the digital data based on the trigger condition. The buffer control circuit controls a period from the start of the storage operation to the end of the first buffer based on the first trigger signal, and from the start of the storage operation of the second buffer to the end. Is controlled based on the second trigger signal, and the period from the end of the storage operation of the first buffer to the start of the storage operation of the second buffer is determined by the first trigger signal and the second The event detection circuit controls the digital data stored in the first buffer and the second data at the end of the period from the start of the storage operation to the end of the storage operation. Ffa generates an event detection signal when an event from the digital data stored in the second buffer during the end of the period from the start to the end of the storage operation is detected.

好適には、バッファは、複数のバッファを有し、トリガ回路は、トリガ条件に基づいてアナログ入力信号又は前記デジタルデータから複数のトリガ信号を生成し、バッファ制御回路は、バッファが記憶動作を開始してから終了するまでの期間をトリガ信号に基づいて制御し、複数のバッファのうちの予め決められたバッファが記憶動作を終了してから次のバッファが記憶動作を開始するまでの期間の一つ以上を計測し、イベント検出回路は、複数のバッファが記憶動作を開始してから終了するまでの期間の終了の際に複数のバッファに記憶されたデジタルデータからイベントが検出された場合にイベント検出信号を生成する。   Preferably, the buffer includes a plurality of buffers, the trigger circuit generates a plurality of trigger signals from the analog input signal or the digital data based on a trigger condition, and the buffer control circuit is configured to start the storing operation of the buffer. Is controlled based on the trigger signal, and the period from when a predetermined buffer of the plurality of buffers ends the storage operation to when the next buffer starts the storage operation is controlled. The event detection circuit measures the event when an event is detected from the digital data stored in the multiple buffers at the end of the period from the start of the storage operation to the end of the multiple buffers. A detection signal is generated.

好適には、イベント検出回路は、デジタルデータのレベルと予め決定されたレベルのデジタルデータが検出された期間との少なくとも一方に関連するイベントを検出する。   Preferably, the event detection circuit detects an event related to at least one of a level of digital data and a period in which digital data of a predetermined level is detected.

好適には、メモリ回路は、波形データの記憶を停止するタイミングを、トリガ信号が生成されるタイミングとイベント検出信号が生成されるタイミングとの時間差に基づいて調整する。   Preferably, the memory circuit adjusts the timing at which the storage of the waveform data is stopped based on the time difference between the timing at which the trigger signal is generated and the timing at which the event detection signal is generated.

バッファに一時的に記憶されるデジタルデータをデシメーションしてもよい。   Digital data temporarily stored in the buffer may be decimated.

本発明によれば、コストを上昇させることなく信号の波形に関する所望のイベントを高精度かつ高効率に検出することができる。   According to the present invention, it is possible to detect a desired event related to a signal waveform with high accuracy and high efficiency without increasing the cost.

本発明による波形記録装置の一実施の形態を示す図である。It is a figure which shows one Embodiment of the waveform recording device by this invention. 図1の一部を詳細に示す図である。It is a figure which shows a part of FIG. 1 in detail. イベント検出回路によって検出されるイベントの一例を示す図である。It is a figure which shows an example of the event detected by the event detection circuit. 図1に示す波形記録装置の波形記録動作を示すフローチャートである。It is a flowchart which shows the waveform recording operation | movement of the waveform recording apparatus shown in FIG. 本発明による波形記録装置の他の実施の形態を示す図である。It is a figure which shows other embodiment of the waveform recording device by this invention. 図5の一部を詳細に示す図である。It is a figure which shows a part of FIG. 5 in detail. イベント検出回路によって検出されるイベントの他の例を示す図である。It is a figure which shows the other example of the event detected by the event detection circuit. イベント検出回路によって検出されるイベントの他の例を示す図である。It is a figure which shows the other example of the event detected by the event detection circuit. 本発明による波形記録装置の他の実施の形態を示す図である。It is a figure which shows other embodiment of the waveform recording device by this invention. 図9の一部を詳細に示す図である。It is a figure which shows a part of FIG. 9 in detail. イベント検出回路によって検出されるイベントの他の例を示す図である。It is a figure which shows the other example of the event detected by the event detection circuit.

本発明による波形記録装置の実施の形態を、図面を参照しながら説明する。
図1は、本発明による波形記録装置の一実施の形態を示す図であり、図2は、図1の一部を詳細に示す図である。図1に示す波形記録装置1は、デジタルオシロスコープ等として用いられ、アナログ入力信号Saが外部から入力される。
An embodiment of a waveform recording apparatus according to the present invention will be described with reference to the drawings.
FIG. 1 is a diagram showing an embodiment of a waveform recording apparatus according to the present invention, and FIG. 2 is a diagram showing a part of FIG. 1 in detail. A waveform recording apparatus 1 shown in FIG. 1 is used as a digital oscilloscope or the like, and receives an analog input signal Sa from the outside.

波形記録装置1は、アナログ・デジタル変換器(ADC)11と、バッファ12と、制御部13と、トリガ回路14と、バッファ制御回路15と、イベント検出回路16と、取込み処理回路17と、メモリ回路18と、波形処理及び表示処理回路19と、表示器20と、を備える。   The waveform recording apparatus 1 includes an analog / digital converter (ADC) 11, a buffer 12, a control unit 13, a trigger circuit 14, a buffer control circuit 15, an event detection circuit 16, a capture processing circuit 17, and a memory. A circuit 18, a waveform processing and display processing circuit 19, and a display device 20 are provided.

制御部13は、例えば、CPUによって構成される。バッファ12、バッファ制御回路15、イベント検出回路16、取込み処理回路17並びに波形処理及び表示処理回路19は、例えば、メモリを内蔵したFPGA(field-programmable gate array)によって構成される。メモリ回路18は、後に説明する波形データDwを記憶するメモリ及びメモリを制御する周辺回路によって構成される。メモリは、例えば、DRAM(dynamic random access memory)によって構成される。周辺回路は、例えば、FPGAによって構成される。表示器20は、例えば、液晶ディスプレイ(LCD)によって構成される。   The control part 13 is comprised by CPU, for example. The buffer 12, the buffer control circuit 15, the event detection circuit 16, the capture processing circuit 17, and the waveform processing and display processing circuit 19 are configured by, for example, a field-programmable gate array (FPGA) incorporating a memory. The memory circuit 18 includes a memory that stores waveform data Dw, which will be described later, and a peripheral circuit that controls the memory. The memory is configured by, for example, a DRAM (dynamic random access memory). The peripheral circuit is configured by, for example, an FPGA. The display device 20 is configured by, for example, a liquid crystal display (LCD).

ADC11は、アナログ入力信号SaをデジタルデータDd(例えば、8ビットのデジタル値)に変換し、デジタルデータDdは、バッファ12及び取込み処理回路17に入力される。ADC11のサンプリングレートが1ギガサンプル/秒である場合、デジタルデータDdが1ナノ秒ごとに生成されるが、ADC11の後段のバッファ12並びに取込み処理回路17及びメモリ回路18においてデータ処理を並列化することによって処理速度を低減することができる。例えば、FPGAの内部に設けられた125MHzのシステムクロック(図示せず)を用いた場合、8ナノ秒ごとに8個のデジタルデータDdが並列に処理される。   The ADC 11 converts the analog input signal Sa into digital data Dd (for example, an 8-bit digital value), and the digital data Dd is input to the buffer 12 and the capture processing circuit 17. When the sampling rate of the ADC 11 is 1 gigasample / second, the digital data Dd is generated every nanosecond, but the data processing is parallelized in the buffer 12, the capture processing circuit 17, and the memory circuit 18 at the subsequent stage of the ADC 11. As a result, the processing speed can be reduced. For example, when a 125 MHz system clock (not shown) provided in the FPGA is used, eight digital data Dd are processed in parallel every 8 nanoseconds.

バッファ12は、バッファ制御回路15からの書込み/読出し信号C1に基づいて、デジタルデータDdを一時的に記憶する。本実施の形態では、バッファ12は、書込み/読出し信号C1の立上りによりデジタルデータDdの記憶を開始し、書込み/読出し信号C1の立下りによりデジタルデータDdの記憶を終了し、バッファ12に記憶されたデジタルデータDdをイベント検出回路16に出力する。   The buffer 12 temporarily stores the digital data Dd based on the write / read signal C1 from the buffer control circuit 15. In the present embodiment, the buffer 12 starts storing the digital data Dd at the rising edge of the write / read signal C1, ends the storage of the digital data Dd at the falling edge of the write / read signal C1, and is stored in the buffer 12. The digital data Dd is output to the event detection circuit 16.

制御部13は、トリガ条件に関する情報Xtをトリガ回路14に提供する。また、制御部13は、イベントの条件に関する情報Xiをイベント検出回路16に提供する。また、制御部13は、波形データDwの波形処理及び表示処理条件に関する情報Xdを波形処理及び表示処理回路19に提供する。また、制御部13は、メモリ回路18が記憶動作を開始するための指令C2をメモリ回路18に出力する。なお、トリガ条件に関する情報Xt、イベントの条件に関する情報Xi、波形データDwの波形処理及び表示処理条件に関する情報Xd及び指令C2は、例えば、キーボード等の操作部(図示せず)の操作により制御部13に入力される。さらに、制御部13は、後に説明するイベント検出信号Siに応答して、メモリ回路18の記憶動作を終了するとともにメモリ回路18に記憶された波形データDwを読み出すための指令C3をメモリ回路18に出力する。   The control unit 13 provides the trigger circuit 14 with information Xt related to the trigger condition. Further, the control unit 13 provides the event detection circuit 16 with information Xi related to the event condition. Further, the control unit 13 provides the waveform processing and display processing circuit 19 with information Xd relating to the waveform processing and display processing conditions of the waveform data Dw. Further, the control unit 13 outputs a command C <b> 2 for the memory circuit 18 to start a storage operation to the memory circuit 18. Note that the information Xt related to the trigger condition, the information Xi related to the event condition, the information Xd related to the waveform processing and display processing conditions of the waveform data Dw, and the command C2 are controlled by an operation unit (not shown) such as a keyboard. 13 is input. Further, in response to an event detection signal Si, which will be described later, the control unit 13 terminates the storage operation of the memory circuit 18 and sends a command C3 for reading the waveform data Dw stored in the memory circuit 18 to the memory circuit 18. Output.

本実施の形態は、イベントの条件に、正パルスの幅及び高さ(最大値)を選択した場合を例にとって説明するが、負パルスを条件にすることも可能である。また、パルスの高さの代わりに平均値等を用いることも可能である。   In this embodiment, the case where the width and height (maximum value) of the positive pulse is selected as the event condition will be described as an example, but a negative pulse may be used as the condition. Further, an average value or the like can be used instead of the pulse height.

本実施の形態では、トリガ条件は、予め設定された閾値レベルThに基づいて検出されるアナログ入力信号Saの立上りエッジ及び立下りエッジである。この場合、トリガ条件に関する情報Xtは、アナログ入力信号Saが閾値レベルThより上になったか否か及びアナログ入力信号Saが閾値レベルThより上になった後に閾値レベルThより下になったか否かの判定を行う旨の条件を含む。   In the present embodiment, the trigger conditions are a rising edge and a falling edge of the analog input signal Sa detected based on a preset threshold level Th. In this case, the information Xt regarding the trigger condition is whether or not the analog input signal Sa is higher than the threshold level Th and whether or not the analog input signal Sa is lower than the threshold level Th after being higher than the threshold level Th. Including the condition that the determination is made.

また、本実施の形態では、イベントは、デジタルデータDd(更に詳しくは、後に説明する補間データDh)が閾値レベルThを超えている期間によって規定されるパルス幅Wである。この場合、イベントの条件に関する情報Xiは、デジタルデータDdを補間処理するために用いられる補間倍率H、閾値レベルTh並びに検出すべきパルスのパルス幅W及び最大値Pmを含む。   In the present embodiment, the event is a pulse width W defined by a period in which the digital data Dd (more specifically, interpolation data Dh described later) exceeds the threshold level Th. In this case, the information Xi regarding the event condition includes an interpolation magnification H, a threshold level Th used for interpolating the digital data Dd, a pulse width W of the pulse to be detected, and a maximum value Pm.

トリガ回路14は、予め設定された閾値レベルThに基づいて検出されるアナログ入力信号Saの立上りエッジ及び立下りエッジに応じてトリガ信号T1,T2を生成する。本実施の形態では、トリガ回路14は、アナログ入力信号Saのレベルと閾値レベルThとをコンパレータ(図示せず)を用いて比較し、トリガ回路14に対するディセーブル信号(図示せず)が解除された状態でアナログ入力信号Saが閾値レベルThより上になったときにトリガ信号T1を生成してバッファ制御回路15に送信する(すなわち、トリガ信号T1はローレベルからハイレベルに遷移する。)。また、トリガ回路14は、トリガ回路14に対するディセーブル信号(図示せず)が解除された状態でアナログ入力信号Saが閾値レベルThより上になった後に閾値レベルThより下になったときにトリガ信号T2を生成してバッファ制御回路15に送信する(すなわち、トリガ信号T2はローレベルからハイレベルに遷移する。)。トリガ回路14は、トリガ信号T2をバッファ制御回路15に送信した後にディセーブル状態になる。なお、トリガ回路14は、トリガ信号T1を生成するまではトリガ信号T2を生成しないようにする。また、トリガ信号T1を生成してから所定の時間が経過するまでにアナログ入力信号Saが閾値レベルThより下になった場合には、トリガ回路14は初期化され、トリガ回路14に対するディセーブル信号が解除された状態(すなわち、トリガ信号T1はハイレベルからローレベルに遷移する。)に戻ることによって、無効なイベント検出動作を排除することを可能にする。また、トリガ回路14は、予め設定された閾値レベルThに基づいてデジタルデータDdの立上りエッジ及び立下りエッジを検出し、検出した立上りエッジ及び立下りエッジに応じてトリガ信号T1,T2を生成してもよい。   The trigger circuit 14 generates trigger signals T1 and T2 according to the rising edge and falling edge of the analog input signal Sa detected based on a preset threshold level Th. In the present embodiment, the trigger circuit 14 compares the level of the analog input signal Sa with the threshold level Th using a comparator (not shown), and the disable signal (not shown) for the trigger circuit 14 is released. When the analog input signal Sa becomes higher than the threshold level Th in this state, the trigger signal T1 is generated and transmitted to the buffer control circuit 15 (that is, the trigger signal T1 transits from the low level to the high level). The trigger circuit 14 triggers when the analog input signal Sa becomes lower than the threshold level Th after the disable signal (not shown) for the trigger circuit 14 is released and then becomes lower than the threshold level Th. The signal T2 is generated and transmitted to the buffer control circuit 15 (that is, the trigger signal T2 transits from low level to high level). The trigger circuit 14 is disabled after transmitting the trigger signal T2 to the buffer control circuit 15. The trigger circuit 14 does not generate the trigger signal T2 until the trigger signal T1 is generated. When the analog input signal Sa falls below the threshold level Th before a predetermined time has elapsed since the generation of the trigger signal T1, the trigger circuit 14 is initialized and a disable signal for the trigger circuit 14 is generated. By returning to the state where the signal is released (that is, the trigger signal T1 transitions from the high level to the low level), it becomes possible to eliminate the invalid event detection operation. The trigger circuit 14 detects a rising edge and a falling edge of the digital data Dd based on a preset threshold level Th, and generates trigger signals T1 and T2 according to the detected rising edge and falling edge. May be.

バッファ制御回路15は、デジタルデータDdからイベント(この場合、パルス幅W)を検出するために、バッファ12が記憶動作を開始してから終了するまで期間をトリガ信号T1,T2に基づいて制御する。本実施の形態では、バッファ制御回路15は、トリガ信号T1を受信すると、バッファ12がデジタルデータDdの記憶を開始するために書込み/読出し信号C1をハイレベルにする。また、バッファ制御回路15は、トリガ信号T2を受信すると、デジタルデータDdの記憶を終了してバッファ12に記憶されたデジタルデータDdをイベント検出回路16に出力するために書込み/読出し信号C1をローレベルにする。   In order to detect an event (in this case, pulse width W) from the digital data Dd, the buffer control circuit 15 controls the period from the start of the storage operation to the end of the buffer 12 based on the trigger signals T1 and T2. . In the present embodiment, when the buffer control circuit 15 receives the trigger signal T1, the buffer 12 sets the write / read signal C1 to high level in order to start storing the digital data Dd. Further, when the buffer control circuit 15 receives the trigger signal T2, the buffer control circuit 15 ends the storage of the digital data Dd and sets the write / read signal C1 low in order to output the digital data Dd stored in the buffer 12 to the event detection circuit 16. To level.

また、本実施の形態では、バッファ制御回路15は、バッファ12が記憶動作を開始してから終了するまで期間を調整するために、トリガ信号T1,T2が生成された時間の他に種々の要件を考慮する。種々の要件は、例えば、トリガ信号T1の生成からバッファ12の制御までの遅れ時間、トリガ信号T2の生成からバッファ12の制御までの遅れ時間、トリガ信号T1の生成のタイミングとデジタルデータDdのバッファ12への記憶のタイミングとの差、補間処理に必要な余分なデータ数等を含む。種々の要件についての情報を、例えば、操作部の操作を介して制御部13からバッファ制御回路15に提供してもよい。   In this embodiment, the buffer control circuit 15 adjusts the period from the start of the storage operation to the end of the buffer 12 in order to adjust various periods in addition to the time when the trigger signals T1 and T2 are generated. Consider. Various requirements include, for example, a delay time from the generation of the trigger signal T1 to the control of the buffer 12, a delay time from the generation of the trigger signal T2 to the control of the buffer 12, the timing of the generation of the trigger signal T1, and the buffer of the digital data Dd. 12 includes the difference from the timing of storing the data to 12, the number of extra data necessary for the interpolation processing, and the like. Information about various requirements may be provided from the control unit 13 to the buffer control circuit 15 through operation of the operation unit, for example.

イベント検出回路16は、バッファ12が記憶動作を開始してから終了するまで期間の終了の際にバッファ12に記憶されているデジタルデータDdからイベントが検出された場合にイベント検出信号Siを生成する。本実施の形態では、イベント検出回路16は、図2に示すように、イベント検出制御回路16aと、補間処理回路16bと、時間検出処理回路16cと、レベル検出処理回路16dと、イベント判定回路16eと、を有する。   The event detection circuit 16 generates an event detection signal Si when an event is detected from the digital data Dd stored in the buffer 12 at the end of the period from the start of the storage operation to the end of the buffer 12. . In the present embodiment, as shown in FIG. 2, the event detection circuit 16 includes an event detection control circuit 16a, an interpolation processing circuit 16b, a time detection processing circuit 16c, a level detection processing circuit 16d, and an event determination circuit 16e. And having.

イベント検出制御回路16aは、イベントの条件に関する情報Xiが制御部13から提供される。そして、イベント検出制御回路16aは、補間倍率Hについての情報を補間処理回路16bに提供し、閾値レベルThを時間検出処理回路16cに提供し、検出すべきパルスのパルス幅W及び最大値Pmについての情報をイベント判定回路16eに提供する。   The event detection control circuit 16 a is provided with information Xi related to event conditions from the control unit 13. Then, the event detection control circuit 16a provides information about the interpolation magnification H to the interpolation processing circuit 16b, provides the threshold level Th to the time detection processing circuit 16c, and relates to the pulse width W and the maximum value Pm of the pulse to be detected. Is provided to the event determination circuit 16e.

補間処理回路16bは、イベントを検出するためのデジタルデータDdがバッファ12から供給され、補間倍率HでデジタルデータDdの補間処理を行うことによって補間データDhを生成して時間検出処理回路16c及びレベル検出処理回路16dに供給する。補間処理は、一般的なsin(x)/x補間、リニア補間又はこれらの組合せ等を用いることができる。補間倍率Hが100である場合、1ナノ秒ごとのデジタルデータDdは、10ピコ秒ごとの補間データDhに変換される。また、補間処理回路16bは、補間データDhの出力期間に、時間検出信号C11を時間検出処理回路16cに出力する。   The interpolation processing circuit 16b is supplied with digital data Dd for detecting an event from the buffer 12, and generates interpolation data Dh by performing interpolation processing of the digital data Dd at an interpolation magnification H to generate a time detection processing circuit 16c and a level. This is supplied to the detection processing circuit 16d. For the interpolation processing, general sin (x) / x interpolation, linear interpolation, or a combination thereof can be used. When the interpolation magnification H is 100, the digital data Dd every 1 nanosecond is converted into interpolation data Dh every 10 picoseconds. Further, the interpolation processing circuit 16b outputs a time detection signal C11 to the time detection processing circuit 16c during the output period of the interpolation data Dh.

時間検出処理回路16cは、時間検出信号C11に従って、正スロープ時刻及び負スロープ時刻を検出処理し、レベル検出期間信号C12をレベル検出処理回路16dに出力し、かつ、パルス幅の検出処理結果Dtをイベント判定回路16eに供給する。時間検出処理回路16cは、補間データDhを用いることによって高精度の時間検出が可能になる。時間検出処理においてアナログ入力信号Saのノイズ等に起因する誤測定を防ぐために、一般的に用いられているヒステリシス処理を行ってもよい。また、負スロープ時刻を、後に表示器20に波形を表示する際に時間軸の基準に使用してもよい。   The time detection processing circuit 16c detects the positive slope time and the negative slope time according to the time detection signal C11, outputs the level detection period signal C12 to the level detection processing circuit 16d, and outputs the pulse width detection processing result Dt. This is supplied to the event determination circuit 16e. The time detection processing circuit 16c can detect the time with high accuracy by using the interpolation data Dh. In order to prevent erroneous measurement due to noise or the like of the analog input signal Sa in the time detection process, a generally used hysteresis process may be performed. Further, the negative slope time may be used as a reference for the time axis when the waveform is displayed on the display device 20 later.

レベル検出処理回路16dは、レベル検出期間信号C12に従って、補間データDhの最大値Lの検出処理結果De(補間データのレベル)を検出処理し、検出処理結果Deをイベント判定回路16eに供給する。   The level detection processing circuit 16d detects the detection processing result De (interpolation data level) of the maximum value L of the interpolation data Dh according to the level detection period signal C12, and supplies the detection processing result De to the event determination circuit 16e.

イベント判定回路16eは、バッファ12に記憶されているデジタルデータDdからイベントが検出されたか否かを、検出処理結果Dt及びDe並びにイベント検出条件であるパルス幅W及び最大値Pmに基づいて判定する。図3は、イベント検出回路によって検出される正パルスのイベントの一例を示す図である。図3において、閾値レベルThを横切る正スロープ時刻から負スロープ時刻までの期間Tiは、時間検出処理回路の検出処理結果Dtに対応し、期間Tiにおける補間データDhの最大値Lは、レベル検出処理回路の検出処理結果Deに対応する。イベント判定回路16eは、検出処理結果Dtがパルス幅Wに相当するか否か及び検出処理結果Deが最大値Pmに相当するか否かを判定する。更に詳しくは、イベント判定回路16eは、検出処理結果Dtがパルス幅Wの上限値(例えば、20.1ナノ秒)と下限値(例えば、19.9ナノ秒)の間に存在するか否か及び検出処理結果Deが最大値Pmの上限値と下限値の間に存在するか否かを判定する。   The event determination circuit 16e determines whether or not an event has been detected from the digital data Dd stored in the buffer 12, based on the detection processing results Dt and De and the pulse width W and the maximum value Pm that are event detection conditions. . FIG. 3 is a diagram illustrating an example of a positive pulse event detected by the event detection circuit. In FIG. 3, a period Ti from the positive slope time to the negative slope time crossing the threshold level Th corresponds to the detection process result Dt of the time detection processing circuit, and the maximum value L of the interpolation data Dh in the period Ti is the level detection process. This corresponds to the detection processing result De of the circuit. The event determination circuit 16e determines whether or not the detection processing result Dt corresponds to the pulse width W and whether or not the detection processing result De corresponds to the maximum value Pm. More specifically, the event determination circuit 16e determines whether or not the detection processing result Dt exists between an upper limit value (for example, 20.1 nanoseconds) and a lower limit value (for example, 19.9 nanoseconds) of the pulse width W. And it is determined whether the detection processing result De exists between the upper limit value and the lower limit value of the maximum value Pm.

図1を参照して、バッファ12に記憶されているデジタルデータDdからイベントが検出された場合、イベント判定回路16eは、イベント検出信号Siを制御部13及びメモリ回路18に供給する。それに対し、バッファ12に記憶されているデジタルデータDdからイベントが検出されなかった場合、イベント判定回路16eは、トリガ回路14に対するディセーブル信号を解除するための解除信号Ssをトリガ回路14に供給する。正スロープ時刻から負スロープ時刻までの期間Tiがパルス幅Wより著しく大きい場合は、時間検出処理回路16cでパルス幅の検出処理結果Dtが正常に検出できない可能性がある。このような場合は、イベント判定回路16eによる判定を待たずに、バッファ制御回路15又は時間検出処理回路16cが解除信号Ssをトリガ回路14に供給してもよい(図示せず)。   Referring to FIG. 1, when an event is detected from digital data Dd stored in buffer 12, event determination circuit 16 e supplies event detection signal Si to control unit 13 and memory circuit 18. On the other hand, when no event is detected from the digital data Dd stored in the buffer 12, the event determination circuit 16e supplies the trigger circuit 14 with a release signal Ss for releasing the disable signal for the trigger circuit 14. . When the period Ti from the positive slope time to the negative slope time is significantly larger than the pulse width W, the time detection processing circuit 16c may not be able to detect the pulse width detection processing result Dt normally. In such a case, the buffer control circuit 15 or the time detection processing circuit 16c may supply the release signal Ss to the trigger circuit 14 (not shown) without waiting for the determination by the event determination circuit 16e.

取込み処理回路17は、デジタルデータDdの取り込み処理(一定期間ごとのピーク検出及び平均化処理、デシメーション(間引き)等)を行うことによって波形データDwを生成し、生成した波形データDwをメモリ回路18に格納する。デジタルデータDdの取り込み処理を行うための取込みモードを、例えば、操作部の操作を介して制御部13によって選択してもよい。   The acquisition processing circuit 17 generates waveform data Dw by performing acquisition processing of digital data Dd (peak detection and averaging processing at regular intervals, decimation (decimation), etc.), and the generated waveform data Dw is stored in the memory circuit 18. To store. For example, the capture mode for performing the capture process of the digital data Dd may be selected by the control unit 13 through an operation of the operation unit.

メモリ回路18は、指令C2に応答して波形データDwの記憶動作を開始し、プリトリガ(トリガ発生前)分としてメモリ回路18に記憶すべきデータとして設定された個数分の波形データDwを記憶する。その後、制御部13は、トリガ回路14に対するディセーブル信号を解除する。そして、メモリ回路18は、トリガ回路14に対するディセーブル信号が解除された後も波形データDwの記憶動作を継続し、イベント検出回路16からのイベント検出信号Siを待機する。イベント検出信号Siがイベント検出回路16からメモリ回路18に供給されると、メモリ回路18は、表示器20の表示時間条件に基づいて設定された個数分の波形データDwをポストトリガ(トリガ発生後)分として記憶した後に波形データDwの記憶を停止する。   The memory circuit 18 starts the operation of storing the waveform data Dw in response to the command C2, and stores the waveform data Dw corresponding to the number set as data to be stored in the memory circuit 18 as a pre-trigger (before trigger occurrence). . Thereafter, the control unit 13 releases the disable signal for the trigger circuit 14. The memory circuit 18 continues to store the waveform data Dw even after the disable signal for the trigger circuit 14 is released, and waits for the event detection signal Si from the event detection circuit 16. When the event detection signal Si is supplied from the event detection circuit 16 to the memory circuit 18, the memory circuit 18 performs post-triggering (after the trigger is generated) on the waveform data Dw of the number set based on the display time condition of the display 20. ) After storing the minute, the storage of the waveform data Dw is stopped.

検出されたイベントの時刻を基準にしてメモリ回路18に記憶される波形データDwの個数を制御するために、メモリ回路18は、波形データDwの記憶を停止するタイミングを、トリガ信号T2が生成されるタイミングに基づいて調整するのが好ましい。トリガ信号T2が生成されるタイミングとイベント検出信号Siが生成されるタイミングとの時間差は、例えば、システムクロックでカウントすることによって計測される。また、メモリ回路18に記憶される波形データDwの個数を制御するために、トリガ信号T2が生成されるタイミングとイベント検出信号Siが生成されるタイミングとの時間差を予め予測し、予測した時間差をポストトリガ分として記憶させる波形データDwの個数又はメモリ回路18のオーバーラン(余分な書込み個数)に反映させてもよい。   In order to control the number of waveform data Dw stored in the memory circuit 18 on the basis of the time of the detected event, the memory circuit 18 generates a trigger signal T2 at a timing to stop storing the waveform data Dw. It is preferable to adjust based on the timing. The time difference between the timing at which the trigger signal T2 is generated and the timing at which the event detection signal Si is generated is measured, for example, by counting with the system clock. In addition, in order to control the number of waveform data Dw stored in the memory circuit 18, a time difference between the timing at which the trigger signal T2 is generated and the timing at which the event detection signal Si is generated is predicted in advance, and the predicted time difference is calculated. It may be reflected in the number of waveform data Dw stored as a post-trigger amount or the overrun (excess number of writing) of the memory circuit 18.

メモリ回路18は、指令C3に応答して、波形データDwを読み出し、波形データDwを波形処理及び表示処理回路19に出力する。波形処理及び表示処理回路19は、制御部13から提供された波形データDwの波形処理及び表示処理条件に関する情報Xdに基づいて、波形データDwの波形処理及び表示処理を行う。そして、波形処理及び表示処理回路19は、波形処理及び表示処理が行われた波形データDwdを表示器20に供給し、表示器20は、波形処理及び表示処理が行われた波形データDwdを表示する。   In response to the command C3, the memory circuit 18 reads the waveform data Dw and outputs the waveform data Dw to the waveform processing and display processing circuit 19. The waveform processing and display processing circuit 19 performs waveform processing and display processing of the waveform data Dw based on the information Xd regarding the waveform processing and display processing conditions of the waveform data Dw provided from the control unit 13. Then, the waveform processing and display processing circuit 19 supplies the waveform data Dwd subjected to the waveform processing and display processing to the display device 20, and the display device 20 displays the waveform data Dwd subjected to the waveform processing and display processing. To do.

図4は、図1に示す波形記録装置の波形記録動作を示すフローチャートである。このフローは、波形記録装置1が波形記録動作を開始してからディセーブル期間が解除された後にトリガ信号T1,T2が生成されることを前提にしている。先ず、メモリ回路18は、指令C2に応答して波形データDwの記憶動作を開始する(ステップS1)。この場合、メモリ回路18は、プリトリガ分の波形データDwを記憶してからトリガ回路14に対するディセーブル信号を解除した後も波形データDwの記憶を継続する。   FIG. 4 is a flowchart showing the waveform recording operation of the waveform recording apparatus shown in FIG. This flow is based on the premise that the trigger signals T1 and T2 are generated after the disable period is canceled after the waveform recording apparatus 1 starts the waveform recording operation. First, the memory circuit 18 starts to store the waveform data Dw in response to the command C2 (step S1). In this case, the memory circuit 18 continues to store the waveform data Dw after releasing the disable signal for the trigger circuit 14 after storing the waveform data Dw for the pre-trigger.

次に、トリガ回路14は、トリガ条件(立上りエッジ)に基づいてトリガ信号T1を生成する(ステップS2)。次に、バッファ制御回路15は、トリガ信号T1に応答して書込み/読出し信号C1をハイレベルにし、バッファ12は、書込み/読出し信号C1に応答してデジタルデータDdの記憶を開始する(ステップS3)。   Next, the trigger circuit 14 generates the trigger signal T1 based on the trigger condition (rising edge) (step S2). Next, the buffer control circuit 15 sets the write / read signal C1 to the high level in response to the trigger signal T1, and the buffer 12 starts storing the digital data Dd in response to the write / read signal C1 (step S3). ).

次に、トリガ回路14は、トリガ条件(立下りエッジ)に基づいてトリガ信号T2を生成する(ステップS4)。次に、バッファ制御回路15は、トリガ信号T2に応答して書込み/読出し信号C1をローレベルにし、バッファ12は、書込み/読出し信号C1に応答してデジタルデータDdの記憶を終了し、デジタルデータDdを補間処理回路16bに供給する(ステップS5)。   Next, the trigger circuit 14 generates the trigger signal T2 based on the trigger condition (falling edge) (step S4). Next, the buffer control circuit 15 changes the write / read signal C1 to the low level in response to the trigger signal T2, and the buffer 12 finishes storing the digital data Dd in response to the write / read signal C1, and the digital data Dd is supplied to the interpolation processing circuit 16b (step S5).

次に、補間処理回路16bは、バッファ12から供給されたデジタルデータDdの補間処理を行う(ステップS6)。次に、時間検出処理回路16cは、正スロープ時刻及び負スロープ時刻からパルス幅の検出処理結果Dtを検出処理し、レベル検出処理回路16dは、レベル検出期間信号C12に従って、補間データDhから最大値の検出処理結果Deを検出処理する(ステップS7)。ステップS6及びステップS7は、機能上の手順を説明したものであり、回路動作上は、イベント検出処理する時間を短縮するためにパイプラインで順次処理される。   Next, the interpolation processing circuit 16b performs an interpolation process on the digital data Dd supplied from the buffer 12 (step S6). Next, the time detection processing circuit 16c detects the pulse width detection processing result Dt from the positive slope time and the negative slope time, and the level detection processing circuit 16d determines the maximum value from the interpolation data Dh according to the level detection period signal C12. The detection processing result De is detected (step S7). Steps S6 and S7 describe functional procedures, and are sequentially processed in the pipeline in order to shorten the time for event detection processing in terms of circuit operation.

次に、イベント判定回路16eは、バッファ12に記憶されているデジタルデータDdからイベントが検出されたか否かを判定する(ステップS8)。イベントが検出されなかった場合、処理はステップS2に戻る。   Next, the event determination circuit 16e determines whether an event is detected from the digital data Dd stored in the buffer 12 (step S8). If no event is detected, the process returns to step S2.

それに対し、イベントが検出された場合、メモリ回路18は、ポストトリガ分として設定された個数分の波形データDwを記憶した後に波形データDwの記憶を停止する(ステップS9)。次に、波形処理及び表示処理回路19は、メモリ回路18に記憶された波形データDwの波形処理及び表示処理を行い、表示器20は、波形処理及び表示処理が行われた波形データDwdを表示する(ステップS10)。その後、波形記録装置1は処理を終了する。   On the other hand, when an event is detected, the memory circuit 18 stores the waveform data Dw for the number set as the post-trigger and then stops storing the waveform data Dw (step S9). Next, the waveform processing and display processing circuit 19 performs waveform processing and display processing of the waveform data Dw stored in the memory circuit 18, and the display unit 20 displays the waveform data Dwd subjected to the waveform processing and display processing. (Step S10). Thereafter, the waveform recording apparatus 1 ends the process.

本実施の形態によれば、メモリ回路18への波形データDwの記憶と並行してバッファ12に記憶されたデジタルデータDdからリアルタイムでイベント検出を行うので、波形記録の中断及び再開の期間の発生を回避することができる。   According to the present embodiment, since the event detection is performed in real time from the digital data Dd stored in the buffer 12 in parallel with the storage of the waveform data Dw in the memory circuit 18, occurrence of a period of interruption and resumption of waveform recording occurs. Can be avoided.

また、イベント検出のために用いられるデジタルデータDdはトリガ信号T1,T2の発生タイミングの周辺に限定されるので、高効率のイベント検出が可能である。また、補間データDhを用いたイベント検出を行うことによって、高周波数の計数クロックを用いることなく高精度のイベント検出が可能となり、波形記録装置1のコストの上昇を回避することができる。また、デジタルデータDdの取込み処理から独立したイベント検出が可能となる。さらに、イベント検出の際に時間検出処理及びレベル検出処理を行うことによって、所望のイベントの取得が容易になる。   In addition, since the digital data Dd used for event detection is limited to the vicinity of the generation timing of the trigger signals T1 and T2, highly efficient event detection is possible. Further, by performing event detection using the interpolation data Dh, highly accurate event detection can be performed without using a high-frequency counting clock, and an increase in the cost of the waveform recording apparatus 1 can be avoided. In addition, it is possible to detect an event independent from the process of taking in the digital data Dd. Further, by performing the time detection process and the level detection process at the time of event detection, it becomes easy to obtain a desired event.

さらに、イベントを高精度に検出することが要求されない場合には、バッファ12に記憶するデジタルデータDdをデシメーションすることによって、広いパルス幅を検出することができる。   Furthermore, when it is not required to detect an event with high accuracy, a wide pulse width can be detected by decimating the digital data Dd stored in the buffer 12.

図5は、本発明による波形記録装置の他の実施の形態を示す図であり、図6は、図5の一部を詳細に示す図である。波形記録装置1’は、ADC11と、バッファ12’,12”と、制御部13と、トリガ回路14と、バッファ制御回路15’と、イベント検出回路16’と、取込み処理回路17と、メモリ回路18と、波形処理及び表示処理回路19と、表示器20と、を備える。   FIG. 5 is a diagram showing another embodiment of the waveform recording apparatus according to the present invention, and FIG. 6 is a diagram showing a part of FIG. 5 in detail. The waveform recording apparatus 1 ′ includes an ADC 11, buffers 12 ′ and 12 ″, a control unit 13, a trigger circuit 14, a buffer control circuit 15 ′, an event detection circuit 16 ′, an acquisition processing circuit 17, and a memory circuit. 18, a waveform processing and display processing circuit 19, and a display device 20.

バッファ12’、 バッファ12”、バッファ制御回路15’、イベント検出回路16’、取込み処理回路17並びに波形処理及び表示処理回路19は、例えば、メモリを内蔵したFPGAによって構成される。   The buffer 12 ′, the buffer 12 ″, the buffer control circuit 15 ′, the event detection circuit 16 ′, the capture processing circuit 17, and the waveform processing and display processing circuit 19 are configured by, for example, an FPGA incorporating a memory.

検出すべきイベントであるパルス幅が広くなるに従ってバッファ容量を増大させる必要がある。本実施の形態では、バッファ容量を増大させることなく広いパルス幅を高精度に検出するために、アナログ入力信号Saの立上りエッジ周辺のデジタルデータDdを記憶するバッファ12’及びアナログ入力信号Saの立下がりエッジ周辺のデジタルデータDdを記憶するバッファ12”を用いる。バッファ12’は、第1のバッファの一例であり、バッファ12”は、第2のバッファの一例である。また、バッファ12’及びバッファ12”に記憶するデジタルデータDdのデータ数の情報は、制御部13からバッファ制御回路15に提供される。   The buffer capacity needs to be increased as the pulse width, which is an event to be detected, becomes wider. In the present embodiment, in order to detect a wide pulse width with high accuracy without increasing the buffer capacity, the buffer 12 ′ for storing the digital data Dd around the rising edge of the analog input signal Sa and the rising edge of the analog input signal Sa. A buffer 12 ″ that stores digital data Dd around the falling edge is used. The buffer 12 ′ is an example of a first buffer, and the buffer 12 ″ is an example of a second buffer. Information on the number of digital data Dd stored in the buffer 12 ′ and the buffer 12 ″ is provided from the control unit 13 to the buffer control circuit 15.

バッファ制御回路15’は、広いパルス幅Wを検出するためのデジタルデータDdすなわちアナログ入力信号Saの立上りエッジ周辺のデジタルデータDdをバッファ12’に記憶させるために、バッファ12’が記憶動作を開始してから終了するまでの期間を、トリガ信号T1及び制御部13から提供されたデータ数に基づいて制御する。本実施の形態では、バッファ制御回路15’がトリガ信号T1を受信すると、バッファ制御回路15’は、バッファ12’がデジタルデータDdの記憶を開始するために書込み/読出し信号C1’をハイレベルにする。その後、バッファ制御回路15は、制御部13から提供されたデータ数をシステムクロックで計数した後に書込み/読出し信号C1’をローレベルにする。バッファ12’は、アナログ入力信号Saの立上りエッジ周辺のデジタルデータDdを記憶した後にデジタルデータDdの記憶を終了し、バッファ12’に記憶されたデジタルデータDdをイベント検出回路16’に出力する。   The buffer control circuit 15 'starts the storing operation so that the buffer 12' stores the digital data Dd for detecting the wide pulse width W, that is, the digital data Dd around the rising edge of the analog input signal Sa. The period from the start to the end is controlled based on the trigger signal T1 and the number of data provided from the control unit 13. In the present embodiment, when the buffer control circuit 15 ′ receives the trigger signal T1, the buffer control circuit 15 ′ sets the write / read signal C1 ′ to the high level in order for the buffer 12 ′ to start storing the digital data Dd. To do. Thereafter, the buffer control circuit 15 counts the number of data provided from the control unit 13 with the system clock, and then sets the write / read signal C1 'to the low level. The buffer 12 'stores the digital data Dd around the rising edge of the analog input signal Sa and then ends the storage of the digital data Dd, and outputs the digital data Dd stored in the buffer 12' to the event detection circuit 16 '.

バッファ制御回路15’は、広いパルス幅Wを検出するためのデジタルデータDdすなわちアナログ入力信号Saの立下りエッジ周辺のデジタルデータDdをバッファ12”に記憶させるために、バッファ12”が記憶動作を開始してから終了するまでの期間を、トリガ信号T2及び制御部13から提供されたデータ数に基づいて制御する。本実施の形態では、バッファ制御回路15’がトリガ信号T2を受信すると、バッファ制御回路15’は、バッファ12”がデジタルデータDdの記憶を開始するために書込み/読出し信号C1”をハイレベルにする。その後、バッファ制御回路15は、制御部13から提供されたデータ数をシステムクロックで計数した後に書込み/読出し信号C1”をローレベルにする。バッファ12”は、アナログ入力信号Saの立下りエッジ周辺のデジタルデータDdを記憶した後にデジタルデータDdの記憶を終了し、バッファ12”に記憶されたデジタルデータDdをイベント検出回路16’に出力する。   The buffer control circuit 15 ′ stores the digital data Dd for detecting the wide pulse width W, that is, the digital data Dd around the falling edge of the analog input signal Sa in the buffer 12 ″. The period from the start to the end is controlled based on the trigger signal T2 and the number of data provided from the control unit 13. In the present embodiment, when the buffer control circuit 15 ′ receives the trigger signal T2, the buffer control circuit 15 ′ sets the write / read signal C1 ″ to the high level in order for the buffer 12 ″ to start storing the digital data Dd. To do. Thereafter, the buffer control circuit 15 counts the number of data provided from the control unit 13 with the system clock, and then sets the write / read signal C1 ″ to the low level. The buffer 12 ″ is located around the falling edge of the analog input signal Sa. After the digital data Dd is stored, the storage of the digital data Dd is terminated, and the digital data Dd stored in the buffer 12 ″ is output to the event detection circuit 16 ′.

バッファ制御回路15’は、バッファ12’が記憶を停止してからバッファ12”が記憶を開始するまでの期間を、書込み/読出し信号C1’及び書込み/読出し信号C1”を基にしてシステムクロックを用いて計測する。   The buffer control circuit 15 ′ uses the system clock based on the write / read signal C1 ′ and the write / read signal C1 ″ for the period from when the buffer 12 ′ stops storing until the buffer 12 ″ starts storing. Use to measure.

また、本実施の形態では、バッファ制御回路15’は、バッファ12’,12”が記憶動作を開始してから終了するまで期間を調整するために、トリガ信号T1,T2が生成された時間の他に種々の要件を考慮する。種々の要件は、例えば、トリガ信号T1の生成からバッファ12’の制御までの遅れ時間、トリガ信号T2の生成からバッファ12”の制御までの遅れ時間、トリガ信号T1の生成のタイミングとデジタルデータDdのバッファ12’への記憶のタイミングとの差、書込み/読出し信号C1’を出力してからバッファ12’が記憶を停止するまでの期間の終了時からバッファ12”の記憶の開始時までの期間、補間処理に必要な余分なデータ数等を含む。種々の要件についての情報を、例えば、操作部の操作を介して制御部13からバッファ制御回路15’に提供してもよい。   In the present embodiment, the buffer control circuit 15 ′ adjusts the period from the start of the storage operation to the end of the buffer 12 ′, 12 ″ so that the time at which the trigger signals T1, T2 are generated is adjusted. Various other requirements are taken into account, for example, the delay time from the generation of the trigger signal T1 to the control of the buffer 12 ′, the delay time from the generation of the trigger signal T2 to the control of the buffer 12 ″, the trigger signal The difference between the timing of generating T1 and the timing of storing the digital data Dd in the buffer 12 ′, from the end of the period from when the write / read signal C1 ′ is output until the buffer 12 ′ stops storing the buffer 12 ′ Including the number of extra data necessary for the interpolation process, etc. Information about various requirements is provided, for example, through the operation of the operation unit. From may be provided to the buffer control circuit 15 '.

図6に示すように、イベント検出回路16’は、イベント検出制御回路16aと、補間処理回路16b’と、時間検出処理回路16c’と、レベル検出処理回路16d’と、イベント判定回路16eと、を有する。   As shown in FIG. 6, the event detection circuit 16 ′ includes an event detection control circuit 16a, an interpolation processing circuit 16b ′, a time detection processing circuit 16c ′, a level detection processing circuit 16d ′, an event determination circuit 16e, Have

バッファ制御回路15’は、バッファ12’が記憶を停止してからバッファ12”が記憶を開始するまでの期間の計測結果Tmを時間検出処理回路16c’に提供する。また、バッファ制御回路15'は、バッファ12'が記憶を停止してからバッファ12"が記憶を開始するまでの期間にレベル検出期間信号C12をレベル検出処理回路16d'に出力する。   The buffer control circuit 15 ′ provides the time detection processing circuit 16c ′ with a measurement result Tm in a period from when the buffer 12 ′ stops storing until the buffer 12 ″ starts storing. Also, the buffer control circuit 15 ′. Outputs a level detection period signal C12 to the level detection processing circuit 16d ′ during a period from when the buffer 12 ′ stops storing until the buffer 12 ″ starts storing.

補間処理回路16b’は、イベントを検出するためのデジタルデータDdがバッファ12’及びバッファ12”から供給され、補間倍率HでデジタルデータDdの補間処理を行うことによって補間データDh’,Dh”を生成して時間検出処理回路16c’に供給する。また、補間処理回路16b’は、補間データDh’の提供期間に時間検出信号C11’を時間検出処理回路16c’に出力し、補間データDh”の提供期間に時間検出信号C11”を時間検出処理回路16c’に出力する。   The interpolation processing circuit 16b ′ is supplied with the digital data Dd for detecting the event from the buffer 12 ′ and the buffer 12 ″, and performs the interpolation processing of the digital data Dd at the interpolation magnification H to obtain the interpolation data Dh ′ and Dh ″. Generated and supplied to the time detection processing circuit 16c ′. Further, the interpolation processing circuit 16b ′ outputs the time detection signal C11 ′ to the time detection processing circuit 16c ′ during the provision period of the interpolation data Dh ′, and performs the time detection processing of the time detection signal C11 ″ during the provision period of the interpolation data Dh ″. Output to the circuit 16c '.

時間検出処理回路16c’は、時間検出信号C11’に従って、補間データDh’から正スロープ時刻を検出処理し、時間検出信号C11”に従って、補間データDh”から負スロープ時刻を検出処理する。また、時間検出処理回路16c’は、正スロープ時刻及び負スロープ時刻とバッファ制御回路15’から提供された計測結果Tmを演算処理したパルス幅の検出処理結果Dtを、イベント判定回路16eに供給する。時間検出処理回路16c’は、補間データDh’,Dh”及び計測結果Tmを用いることによって高精度の時間検出が可能になる。   The time detection processing circuit 16c 'detects the positive slope time from the interpolation data Dh' according to the time detection signal C11 ', and detects the negative slope time from the interpolation data Dh "according to the time detection signal C11". Further, the time detection processing circuit 16c ′ supplies the event determination circuit 16e with the detection processing result Dt of the pulse width obtained by calculating the positive slope time and the negative slope time and the measurement result Tm provided from the buffer control circuit 15 ′. . The time detection processing circuit 16c 'can detect the time with high accuracy by using the interpolation data Dh', Dh "and the measurement result Tm.

レベル検出処理回路16d’は、デジタルデータDdがADC11から入力され、レベル検出期間信号C12に従って、デジタルデータDdの最大値の検出処理結果De(デジタルデータのレベル)を検出処理し、イベント判定回路16eに供給する。イベント判定回路16eは、ADC11から入力されたデジタルデータDdを用いることによって、バッファ12’が記憶する期間の終了時からバッファ12”が記憶する期間の開始時までの期間のデジタルデータDdの最大値Lを検出処理することができる。   The level detection processing circuit 16d ′ receives the digital data Dd from the ADC 11, detects the maximum detection processing result De (digital data level) of the digital data Dd in accordance with the level detection period signal C12, and determines the event determination circuit 16e. To supply. The event determination circuit 16e uses the digital data Dd input from the ADC 11 so that the maximum value of the digital data Dd during the period from the end of the period stored in the buffer 12 ′ to the start of the period stored in the buffer 12 ″ is stored. L can be detected.

図7は、イベント検出回路によって検出されるイベントの他の例を示す図である。イベントが広いパルス幅(例えば、1マイクロ秒)のパルスである場合、バッファ12’の記憶の終了時からバッファ12”の記憶の開始時までの期間Sが設けられる。イベント判定回路16eは、正スロープ時刻から負スロープ時刻までの期間Ti’がパルス幅Wに相当するか否か及びデジタルデータDdの最大値Lが最大値Pmに相当するか否かを判定する。更に詳しくは、イベント判定回路16eは、正スロープ時刻から負スロープ時刻までの期間Ti’が上限値(例えば、1000.1ナノ秒)と下限値(例えば、999.9ナノ秒)の間に存在するか否か及びデジタルデータDdの最大値Lが上限値と下限値の間に存在するか否かを判定する。   FIG. 7 is a diagram illustrating another example of an event detected by the event detection circuit. When the event is a pulse having a wide pulse width (for example, 1 microsecond), a period S from the end of the storage of the buffer 12 ′ to the start of the storage of the buffer 12 ″ is provided. It is determined whether or not the period Ti ′ from the slope time to the negative slope time corresponds to the pulse width W, and whether or not the maximum value L of the digital data Dd corresponds to the maximum value Pm. 16e indicates whether or not a period Ti ′ from the positive slope time to the negative slope time exists between an upper limit value (for example, 1000.1 nanoseconds) and a lower limit value (for example, 999.9 nanoseconds), and digital data It is determined whether or not the maximum value L of Dd exists between the upper limit value and the lower limit value.

本実施の形態において、最大値Lの検出期間としてバッファ12’の記憶の終了時からバッファ12”の記憶の開始時までの期間Sを設定したが、本実施の形態の変形例として、最大値Lの検出期間を、正スロープ時刻から負スロープ時刻までの期間Ti’に拡張することが可能である。例えば、時間検出処理回路16cが正スロープ時刻以降の補間データDh’及び負スロープ時刻より前の補間データDh”をレベル検出処理回路16d’に提供することによって、レベル検出処理回路16d’は期間Ti’を設定することができる。   In the present embodiment, the period S from the end of storage of the buffer 12 ′ to the start of storage of the buffer 12 ″ is set as the detection period of the maximum value L. As a modification of the present embodiment, the maximum value It is possible to extend the detection period of L to a period Ti ′ from the positive slope time to the negative slope time.For example, the time detection processing circuit 16c is preceded by the interpolation data Dh ′ after the positive slope time and the negative slope time. Is provided to the level detection processing circuit 16d ', the level detection processing circuit 16d' can set the period Ti '.

本実施の形態によれば、バッファ12’がアナログ入力信号Saの立上りエッジ周辺のデジタルデータDdを記憶するとともにバッファ12”がアナログ入力信号Saの立下がりエッジ周辺のデジタルデータDdを記憶することによって、バッファ容量を増大させることなく広いパルス幅を高精度に検出することができる。   According to the present embodiment, the buffer 12 ′ stores the digital data Dd around the rising edge of the analog input signal Sa and the buffer 12 ″ stores the digital data Dd around the falling edge of the analog input signal Sa. A wide pulse width can be detected with high accuracy without increasing the buffer capacity.

上記実施の形態において、イベントとしてパルス幅を検出する場合について説明したが、パルス幅以外のイベント、例えば、デジタルデータDdのレベルとデジタルデータDdが予め決定されたレベルから検出された期間の少なくとも一方に関連するイベントを検出する場合にも本発明を適用することができる。図8は、イベント検出回路によって検出されるイベントの他の例を示す図である。イベント検出回路16(図1)は、二つの閾値Th’,Th”(Th’<Th”)の間の遷移時間、及び補間データDhの極小値L’と極大値L”によって決定されるヒステリシス量h(極大値L”−極小値L’)によって規定される図8に示すような立上りエッジをイベントとして検出することもできる。この場合、トリガ条件は、予め設定された閾値レベルTh’に基づいて検出されるアナログ入力信号Saの立上りエッジ及び予め設定された閾値レベルTh”に基づいて検出されるアナログ入力信号Saの立上りエッジである。また、トリガ条件に関する情報Xtは、アナログ入力信号Saが閾値レベルTh’より上になったか否か及びアナログ入力信号Saが閾値レベルTh”より上になったか否かの判定を行う旨の条件を含む。   In the above embodiment, the case where the pulse width is detected as an event has been described. However, an event other than the pulse width, for example, at least one of the level in which the digital data Dd and the digital data Dd are detected from a predetermined level is detected. The present invention can also be applied to the case of detecting an event related to. FIG. 8 is a diagram illustrating another example of an event detected by the event detection circuit. The event detection circuit 16 (FIG. 1) has hysteresis determined by a transition time between two threshold values Th ′ and Th ″ (Th ′ <Th ″), and a minimum value L ′ and a maximum value L ″ of the interpolation data Dh. A rising edge as shown in FIG. 8 defined by the quantity h (maximum value L ″ −minimum value L ′) can also be detected as an event. In this case, the trigger condition is that the rising edge of the analog input signal Sa detected based on the preset threshold level Th ′ and the rising edge of the analog input signal Sa detected based on the preset threshold level Th ″. In addition, the trigger condition information Xt is used to determine whether or not the analog input signal Sa is higher than the threshold level Th ′ and whether or not the analog input signal Sa is higher than the threshold level Th ″. Including the conditions.

イベントに関する情報Xiは、デジタルデータDdを補間処理するために用いられる補間倍率H、閾値レベルTh’,Th”、デジタルデータDdのレベルが閾値レベルTh’から閾値レベルTh”まで上昇するまでに要すべき時間Txを含む。また、イベントに関する情報Xiは、デジタルデータDdのレベルが閾値レベルTh’から閾値レベルTh”まで上昇するまでに検出すべき補間データDhのヒステリシス量Hを含む。   The information Xi regarding the event is necessary for the interpolation magnification H, the threshold level Th ′, Th ″ used to interpolate the digital data Dd, and the level of the digital data Dd to rise from the threshold level Th ′ to the threshold level Th ″. The time Tx to be included is included. The event information Xi includes a hysteresis amount H of the interpolation data Dh to be detected before the level of the digital data Dd rises from the threshold level Th ′ to the threshold level Th ″.

トリガ回路14は、予め設定された閾値レベルTh’に基づいて検出されるアナログ入力信号Saの立上りエッジ及び予め設定された閾値レベルTh”に基づいて検出されるアナログ入力信号Saの立上りエッジに応答してトリガ信号T1,T2を生成する。この場合、トリガ回路14は、アナログ入力信号Saのレベルと閾値レベルTh’とをコンパレータを用いて比較し、トリガ回路14に対するディセーブル信号が解除された状態でアナログ入力信号Saが閾値レベルTh’より上になったときにトリガ信号T1を生成してバッファ制御回路15に送信する。また、トリガ回路14は、アナログ入力信号Saのレベルと閾値レベルTh”とを別のコンパレータを用いて比較し、トリガ回路14に対するディセーブル信号(図示せず)が解除された状態でアナログ入力信号Saが閾値レベルTh”より上になったときにトリガ信号T2を生成してバッファ制御回路15に送信する。トリガ回路14は、トリガ信号T2をバッファ制御回路15に送信した後にディセーブル状態になる。   The trigger circuit 14 responds to a rising edge of the analog input signal Sa detected based on a preset threshold level Th ′ and a rising edge of the analog input signal Sa detected based on a preset threshold level Th ″. In this case, the trigger circuit 14 compares the level of the analog input signal Sa with the threshold level Th ′ using a comparator, and the disable signal for the trigger circuit 14 is released. When the analog input signal Sa becomes higher than the threshold level Th ′ in the state, the trigger signal T1 is generated and transmitted to the buffer control circuit 15. The trigger circuit 14 also includes the level of the analog input signal Sa and the threshold level Th. ”With another comparator, and a disable signal (not shown) for the trigger circuit 14 is When the analog input signal Sa becomes higher than the threshold level Th ″ in the removed state, the trigger signal T2 is generated and transmitted to the buffer control circuit 15. The trigger circuit 14 sends the trigger signal T2 to the buffer control circuit 15. It is disabled after transmission.

イベント検出制御回路16aは、補間倍率Hについての情報を補間処理回路16bに提供する。また、イベント検出制御回路16aは、閾値レベルTh’,Th”についての情報を時間検出処理回路16cに提供する。イベント検出制御回路16aは、補間データDhが閾値レベルTh’から閾値レベルTh”まで上昇するまでに要すべき遷移時間Txについての情報をイベント判定回路16eに提供する。さらに、イベント検出制御回路16aは、デジタルデータDdのレベルが閾値レベルTh’から閾値レベルTh”まで上昇するまでに検出すべき補間データDhのヒステリシス量Hについての情報をイベント判定回路16eに提供する。   The event detection control circuit 16a provides information about the interpolation magnification H to the interpolation processing circuit 16b. In addition, the event detection control circuit 16a provides information about the threshold levels Th ′ and Th ″ to the time detection processing circuit 16c. The event detection control circuit 16a has the interpolation data Dh from the threshold level Th ′ to the threshold level Th ″. Information about the transition time Tx that should be taken before rising is provided to the event determination circuit 16e. Furthermore, the event detection control circuit 16a provides the event determination circuit 16e with information on the hysteresis amount H of the interpolation data Dh that should be detected before the level of the digital data Dd rises from the threshold level Th ′ to the threshold level Th ″. .

時間検出処理回路16cは、時間検出信号C11に従って、補間データDhが閾値レベルTh’より上になった時間及び補間データDhが閾値レベルTh”より上になった時間を検出処理し、レベル検出期間信号C12をレベル検出処理回路16dに出力し、遷移時間の検出処理結果Dtをイベント判定回路16eに供給する。   The time detection processing circuit 16c detects and processes the time when the interpolation data Dh is higher than the threshold level Th ′ and the time when the interpolation data Dh is higher than the threshold level Th ″ according to the time detection signal C11. The signal C12 is output to the level detection processing circuit 16d, and the transition time detection processing result Dt is supplied to the event determination circuit 16e.

レベル検出処理回路16dは、レベル検出期間信号C12に従って、補間データDhの極小値L’(補間データのレベル)及び極大値L”(補間データのレベル)を検出処理し、補間データDhのヒステリシス量に対応する検出処理結果Deをイベント判定回路16eに供給する。   The level detection processing circuit 16d detects and processes the minimum value L ′ (interpolation data level) and the maximum value L ″ (interpolation data level) of the interpolation data Dh according to the level detection period signal C12, and the hysteresis amount of the interpolation data Dh. The detection processing result De corresponding to is supplied to the event determination circuit 16e.

イベント判定回路16eは、バッファ12に記憶されているデジタルデータDdからイベントが検出されたか否かを、検出処理結果Dt,De、補間データDhが閾値レベルTh’から閾値レベルTh”まで上昇するまでに要すべき遷移時間Tx並びに補間データDhのヒステリシス量Hに基づいて判定する。   The event determination circuit 16e determines whether or not an event has been detected from the digital data Dd stored in the buffer 12 until the detection processing results Dt and De and the interpolation data Dh rise from the threshold level Th ′ to the threshold level Th ″. The determination is made based on the transition time Tx to be required for the above and the hysteresis amount H of the interpolation data Dh.

図8において、補間データDhが閾値レベルTh’を下から上に通過してから閾値レベルTh”を下から上に通過するまでの遷移時間Ti”は時間検出処理回路16cの検出処理結果Dtに対応し、遷移時間Ti”の中で発生する補間データDhの極大値L”と極小値L’の差(ヒステリシス量h)はレベル検出処理回路16dの検出処理結果Deに対応する。   In FIG. 8, the transition time Ti ″ from when the interpolation data Dh passes the threshold level Th ′ from the bottom to the top until it passes the threshold level Th ″ from the bottom to the top is the detection processing result Dt of the time detection processing circuit 16c. Correspondingly, the difference (hysteresis amount h) between the maximum value L ″ and the minimum value L ′ of the interpolation data Dh generated during the transition time Ti ″ corresponds to the detection processing result De of the level detection processing circuit 16d.

イベント判定回路16eは、補間データDhの遷移時間Ti”がTxの上限値(例えば、10.1ナノ秒)と下限値(例えば、9.9ナノ秒)の間に存在するか否かを判定する。また、イベント判定回路16eは、ヒステリシス量hが上限値と下限値の間に存在するか否かを判定する。   The event determination circuit 16e determines whether or not the transition time Ti ″ of the interpolation data Dh exists between the upper limit value (for example, 10.1 nanoseconds) and the lower limit value (for example, 9.9 nanoseconds) of Tx. The event determination circuit 16e determines whether or not the hysteresis amount h exists between the upper limit value and the lower limit value.

したがって、閾値レベルTh’ 及び閾値レベルTh”に基づいて検出されるアナログ入力信号Saの立上り遷移時間並びに補間データDhが閾値レベルTh’から閾値レベルTh”まで上昇する間に発生する非単調性(ヒステリシス量h)をイベントとして検出することができる。同様に、閾値レベルTh’ 及び閾値レベルTh”に基づいて検出されるアナログ入力信号Saの立下りエッジ遷移時間並びに補間データDhが閾値レベルTh’から閾値レベルTh”まで下降する間に発生する非単調性(ヒステリシス量h)をイベントとして検出することができる。   Therefore, the non-monotonicity that occurs while the rising transition time of the analog input signal Sa detected based on the threshold level Th ′ and the threshold level Th ″ and the interpolation data Dh rise from the threshold level Th ′ to the threshold level Th ″ ( The hysteresis amount h) can be detected as an event. Similarly, the falling edge transition time of the analog input signal Sa detected based on the threshold level Th ′ and the threshold level Th ″ and the non-occurrence that occurs while the interpolation data Dh falls from the threshold level Th ′ to the threshold level Th ″. Monotonicity (hysteresis amount h) can be detected as an event.

なお、本実施の形態では、イベント条件にヒステリシス量hを例に説明したが、補間データDhの極小値L’及び極大値L”をイベント条件とすることも可能である。   In the present embodiment, the hysteresis amount h is described as an example of the event condition, but the minimum value L ′ and the maximum value L ″ of the interpolation data Dh can also be used as the event condition.

上記実施の形態において、イベント検出の際に時間検出処理及びレベル検出処理を行う場合について説明したが、イベント検出の際に時間検出処理とレベル検出処理の少なくとも一方を行う場合でも所望のイベントの取得が容易になる。すなわち、イベントがデジタルデータのレベルとデジタルデータが予め決定されたレベルから検出された期間の少なくとも一方に関連する場合でも所望のイベントの取得が容易になる。   In the above embodiment, the case where the time detection process and the level detection process are performed at the time of event detection has been described. Becomes easier. That is, even when the event is related to at least one of the level of the digital data and the period in which the digital data is detected from the predetermined level, it is easy to obtain a desired event.

さらに、イベントを高精度に検出することが要求されない場合には、バッファ12に記憶するデジタルデータDdをデシメーションすることによって、長い遷移期間を検出することができる。   Furthermore, when it is not required to detect an event with high accuracy, a long transition period can be detected by decimating the digital data Dd stored in the buffer 12.

図9は、本発明による波形記録装置の他の実施の形態を示す図であり、図10は、図9の一部を詳細に示す図である。波形記録装置1”は、ADC11と、バッファ12a,12b,12c,12dと、制御部13と、トリガ回路14’と、バッファ制御回路15”と、イベント検出回路16”と、取込み処理回路17と、メモリ回路18と、波形処理及び表示処理回路19と、表示器20と、を備える。   FIG. 9 is a diagram showing another embodiment of the waveform recording apparatus according to the present invention, and FIG. 10 is a diagram showing a part of FIG. 9 in detail. The waveform recording apparatus 1 ″ includes an ADC 11, buffers 12a, 12b, 12c, and 12d, a control unit 13, a trigger circuit 14 ′, a buffer control circuit 15 ″, an event detection circuit 16 ″, and an acquisition processing circuit 17. , A memory circuit 18, a waveform processing and display processing circuit 19, and a display device 20.

バッファ12a,12b, 12c,12d、バッファ制御回路15”、イベント検出回路16”、取込み処理回路17並びに波形処理及び表示処理回路19は、例えば、メモリを内蔵したFPGAによって構成される。   The buffers 12a, 12b, 12c, and 12d, the buffer control circuit 15 ″, the event detection circuit 16 ″, the capture processing circuit 17, and the waveform processing and display processing circuit 19 are configured by, for example, an FPGA incorporating a memory.

トリガ回路14’は、予め設定された二つの閾値レベルTh’,Th”(Th’<Th”)に基づいて、アナログ入力信号Saの閾値レベルTh’の立上りエッジに応じてトリガ信号T1’を生成し、閾値レベルTh“の立上りエッジに応じてトリガ信号T2’を生成し、閾値レベルTh”の立下りエッジに応じてトリガ信号T3’を生成し、閾値レベルTh’の立下りエッジに応じてトリガ信号T4’を生成する。本実施の形態で、緩やかなスロープを持つ正パルスのイベント(正スロープの後に負スロープが発生する)を例にとると、トリガ条件に関する情報Xtは、トリガ信号がT1’,T2’,T3’,T4’の順に発生する情報を含む。従って、例えば閾値レベルTh’を超え、かつ、閾値レベルTh”を超えない正のラントパルスがアナログ入力信号Saに入力された場合、すなわち、トリガ信号T1’が発生した後、トリガ信号T2’,T3’が生成されずにトリガ信号T4’が発生する場合には、トリガ回路14’は初期化され、トリガ回路14’に対するディセーブル信号が解除された状態(すなわち、トリガ信号T1’,T2’,T3’,T4’は全てローレベルとする。)に戻ることによって、無効なイベント検出動作を排除することを可能にする。   The trigger circuit 14 ′ generates the trigger signal T1 ′ according to the rising edge of the threshold level Th ′ of the analog input signal Sa based on two threshold levels Th ′ and Th ″ (Th ′ <Th ″) set in advance. Generating a trigger signal T2 ′ in response to a rising edge of the threshold level Th “, generating a trigger signal T3 ′ in response to a falling edge of the threshold level Th”, and in response to a falling edge of the threshold level Th ′ To generate a trigger signal T4 ′. In this embodiment, taking an event of a positive pulse having a gentle slope (a negative slope occurs after a positive slope) as an example, information Xt related to the trigger condition is that the trigger signal is T1 ′, T2 ′, T3 ′. , T4 ′ in this order. Therefore, for example, when a positive runt pulse exceeding the threshold level Th ′ and not exceeding the threshold level Th ″ is input to the analog input signal Sa, that is, after the trigger signal T1 ′ is generated, the trigger signal T2 ′, When the trigger signal T4 ′ is generated without generating T3 ′, the trigger circuit 14 ′ is initialized, and the disable signal for the trigger circuit 14 ′ is released (ie, the trigger signals T1 ′ and T2 ′). , T3 ′ and T4 ′ are all set to the low level), thereby making it possible to eliminate the invalid event detection operation.

本実施の形態によれば、緩やかなスロープを持つパルスイベントに対し、閾値レベルTh’ 及び閾値レベルTh”に基づいて検出されるアナログ入力信号Saの立上り遷移時間並びに立下り遷移時間を高精度で検出するために、アナログ入力信号Saの正スロープにおける閾値レベルTh’の立上りエッジ周辺のデジタルデータDdを記憶するバッファ12aと、閾値レベルTh”の立上りエッジ周辺のデジタルデータDdを記憶するバッファ12bと、アナログ入力信号Saの立下りスロープにおける閾値レベルTh”の立下りエッジ周辺のデジタルデータDdを記憶するバッファ12cと、閾値レベルTh’の立下りエッジ周辺のデジタルデータDdを記憶するバッファ12dと、を用いる。また、バッファ12a,12b,12c,12dに記憶するデジタルデータDdのデータ数の情報は、制御部13からバッファ制御回路15“に提供される。   According to the present embodiment, with respect to a pulse event having a gentle slope, the rising transition time and the falling transition time of the analog input signal Sa detected based on the threshold level Th ′ and the threshold level Th ″ are determined with high accuracy. In order to detect, the buffer 12a for storing the digital data Dd around the rising edge of the threshold level Th ′ in the positive slope of the analog input signal Sa, and the buffer 12b for storing the digital data Dd around the rising edge of the threshold level Th ″ A buffer 12c for storing the digital data Dd around the falling edge of the threshold level Th ″ in the falling slope of the analog input signal Sa; a buffer 12d for storing the digital data Dd around the falling edge of the threshold level Th ′; In addition, the buffers 12a, 12b, 12c, 1 Information on the number of data of the digital data Dd stored in 2d is provided from the control unit 13 to the buffer control circuit 15 ".

バッファ制御回路15”は、緩やかな立上りスロープの遷移時間を検出するためのデジタルデータDdすなわちアナログ入力信号Saの閾値レベルTh’の立上りエッジ周辺のデジタルデータDdをバッファ12aに記憶させるために、バッファ12aが記憶動作を開始してから終了するまでの期間を、トリガ信号T1’及び制御部13から提供されたデータ数に基づいて制御する。本実施の形態では、バッファ制御回路15”がトリガ信号T1’を受信すると、バッファ制御回路15”は、バッファ12aがデジタルデータDdの記憶を開始するために書込み/読出し信号C1aをハイレベルにする。その後、バッファ制御回路15”は、制御部13から提供されたデータ数をシステムクロックで計数した後に書込み/読出し信号C1aをローレベルにする。バッファ12aは、アナログ入力信号Saの閾値レベルTh’の立上りエッジ周辺のデジタルデータDdを記憶した後にデジタルデータDdの記憶を終了し、バッファ12aに記憶されたデジタルデータDdをイベント検出回路16”に出力する。   The buffer control circuit 15 ″ uses the buffer 12a to store digital data Dd for detecting a transition time of a gradual rising slope, that is, digital data Dd around the rising edge of the threshold level Th ′ of the analog input signal Sa. The period from the start of the storage operation to the end of the storage operation is controlled based on the trigger signal T1 ′ and the number of data provided from the control unit 13. In the present embodiment, the buffer control circuit 15 ″ controls the trigger signal. When T1 ′ is received, the buffer control circuit 15 ″ sets the write / read signal C1a to the high level so that the buffer 12a starts storing the digital data Dd. After counting the number of provided data with the system clock, the write / read signal C1a is To Reberu. The buffer 12a stores the digital data Dd around the rising edge of the threshold level Th ′ of the analog input signal Sa and then ends the storage of the digital data Dd. The digital data Dd stored in the buffer 12a is sent to the event detection circuit 16 ″. Output.

バッファ制御回路15”は、緩やかな立上りスロープの遷移時間を検出するためのデジタルデータDdすなわちアナログ入力信号Saの閾値レベルTh”の立上りエッジ周辺のデジタルデータDdをバッファ12bに記憶させるために、バッファ12”が記憶動作を開始してから終了するまでの期間を、トリガ信号T2’及び制御部13から提供されたデータ数に基づいて制御する。本実施の形態では、バッファ制御回路15”がトリガ信号T2’を受信すると、バッファ制御回路15”は、バッファ12bがデジタルデータDdの記憶を開始するために書込み/読出し信号C1bをハイレベルにする。その後、バッファ制御回路15”は、制御部13から提供されたデータ数をシステムクロックで計数した後に書込み/読出し信号C1bをローレベルにする。バッファ12bは、アナログ入力信号Saの閾値レベルTh”の立上りエッジ周辺のデジタルデータDdを記憶した後にデジタルデータDdの記憶を終了し、バッファ12bに記憶されたデジタルデータDdをイベント検出回路16”に出力する。   The buffer control circuit 15 ″ stores the digital data Dd for detecting the transition time of the gentle rising slope, that is, the digital data Dd around the rising edge of the threshold level Th ″ of the analog input signal Sa in the buffer 12b. 12 ″ controls the period from the start of the storage operation to the end based on the trigger signal T2 ′ and the number of data provided from the control unit 13. In this embodiment, the buffer control circuit 15 ″ triggers. When the signal T2 ′ is received, the buffer control circuit 15 ″ sets the write / read signal C1b to the high level so that the buffer 12b starts storing the digital data Dd. After counting the number of data provided from the system clock, the write / read signal C1b is To Reberu. The buffer 12b stores the digital data Dd around the rising edge of the threshold level Th ″ of the analog input signal Sa, and then ends the storage of the digital data Dd. The digital data Dd stored in the buffer 12b is sent to the event detection circuit 16 ″. Output.

バッファ制御回路15”は、バッファ12aが記憶を停止してからバッファ12bが記憶を開始するまでの期間を、書込み/読出し信号C1a及び書込み/読出し信号C1bを基にしてシステムクロックを用いて計測する。   The buffer control circuit 15 ″ measures the period from when the buffer 12a stops storing until the buffer 12b starts storing using the system clock based on the write / read signal C1a and the write / read signal C1b. .

バッファ制御回路15”は、緩やかな立下りスロープの遷移時間を検出するためのデジタルデータDdすなわちアナログ入力信号Saの閾値レベルTh”の立下りエッジ周辺のデジタルデータDdをバッファ12cに記憶させるために、バッファ12cが記憶動作を開始してから終了するまでの期間を、トリガ信号T3’及び制御部13から提供されたデータ数に基づいて制御する。本実施の形態では、バッファ制御回路15”がトリガ信号T3’を受信すると、バッファ制御回路15”は、バッファ12cがデジタルデータDdの記憶を開始するために書込み/読出し信号C1cをハイレベルにする。その後、バッファ制御回路15”は、制御部13から提供されたデータ数をシステムクロックで計数した後に書込み/読出し信号C1cをローレベルにする。バッファ12cは、アナログ入力信号Saの閾値レベルTh”の立下りエッジ周辺のデジタルデータDdを記憶した後にデジタルデータDdの記憶を終了し、バッファ12cに記憶されたデジタルデータDdをイベント検出回路16”に出力する。   The buffer control circuit 15 ″ stores digital data Dd for detecting a transition time of a gradual falling slope, that is, digital data Dd around the falling edge of the threshold level Th ″ of the analog input signal Sa in the buffer 12c. The period from the start of the storage operation to the end of the buffer 12c is controlled based on the trigger signal T3 ′ and the number of data provided from the control unit 13. In the present embodiment, when the buffer control circuit 15 ″ receives the trigger signal T3 ′, the buffer control circuit 15 ″ sets the write / read signal C1c to high level in order for the buffer 12c to start storing the digital data Dd. . Thereafter, the buffer control circuit 15 ″ counts the number of data provided from the control unit 13 with the system clock, and then sets the write / read signal C1c to the low level. The buffer 12c has the threshold level Th ″ of the analog input signal Sa ″. After storing the digital data Dd around the falling edge, the storage of the digital data Dd is terminated, and the digital data Dd stored in the buffer 12c is output to the event detection circuit 16 ″.

バッファ制御回路15”は、緩やかな立下りスロープの遷移時間を検出するためのデジタルデータDdすなわちアナログ入力信号Saの閾値レベルTh’の立下りエッジ周辺のデジタルデータDdをバッファ12dに記憶させるために、バッファ12dが記憶動作を開始してから終了するまでの期間を、トリガ信号T4’及び制御部13から提供されたデータ数に基づいて制御する。本実施の形態では、バッファ制御回路15”がトリガ信号T4’を受信すると、バッファ制御回路15”は、バッファ12dがデジタルデータDdの記憶を開始するために書込み/読出し信号C1dをハイレベルにする。その後、バッファ制御回路15”は、制御部13から提供されたデータ数をシステムクロックで計数した後に書込み/読出し信号C1dをローレベルにする。バッファ12dは、アナログ入力信号Saの閾値レベルTh’の立下りエッジ周辺のデジタルデータDdを記憶した後にデジタルデータDdの記憶を終了し、バッファ12dに記憶されたデジタルデータDdをイベント検出回路16”に出力する。   The buffer control circuit 15 ″ stores digital data Dd for detecting a gradual falling slope transition time, that is, digital data Dd around the falling edge of the threshold level Th ′ of the analog input signal Sa in the buffer 12d. The buffer 12d controls the period from the start to the end of the storage operation based on the trigger signal T4 ′ and the number of data provided from the control unit 13. In the present embodiment, the buffer control circuit 15 ″ When the trigger signal T4 ′ is received, the buffer control circuit 15 ″ sets the write / read signal C1d to the high level so that the buffer 12d starts storing the digital data Dd. After the number of data provided from 13 is counted by the system clock, the write / read signal C1d is To Reberu. The buffer 12d finishes storing the digital data Dd after storing the digital data Dd around the falling edge of the threshold level Th ′ of the analog input signal Sa, and the event detection circuit 16 ″ stores the digital data Dd stored in the buffer 12d. Output to.

バッファ制御回路15”は、バッファ12cが記憶を停止してからバッファ12dが記憶を開始するまでの期間を、書込み/読出し信号C1c及び書込み/読出し信号C1dを基にしてシステムクロックを用いて計測する。   The buffer control circuit 15 ″ measures the period from when the buffer 12c stops storing to when the buffer 12d starts storing using the system clock based on the write / read signal C1c and the write / read signal C1d. .

また、本実施の形態では、バッファ制御回路15”は、バッファ12a,12b,12c,12dが記憶動作を開始してから終了するまで期間を調整するために、トリガ信号T1’,T2’,T3’,T4’が生成された時間の他に種々の要件を考慮する。種々の要件は、例えば、トリガ信号T1’,T2’,T3’,T4’の生成からバッファ12a,12b,12c,12dの制御までの遅れ時間、トリガ信号T1’,T2’,T3’,T4’の生成のタイミングとデジタルデータDdのバッファ12a,12b,12c,12dへの記憶のタイミングとの差、書込み/読出し信号C1a,C1b,C1c,C1dを出力してからバッファ12a,12b,12c,12dが記憶を停止するまでの期間、補間処理に必要な余分なデータ数等を含む。種々の要件についての情報を、例えば、操作部の操作を介して制御部13からバッファ制御回路15”に提供してもよい。   In the present embodiment, the buffer control circuit 15 ″ adjusts the period from the start of the storage operation of the buffers 12a, 12b, 12c, 12d to the end thereof, in order to adjust the trigger signals T1 ′, T2 ′, T3. In addition to the time when ', T4' is generated, various requirements are taken into account, for example, from the generation of trigger signals T1 ', T2', T3 ', T4' to buffers 12a, 12b, 12c, 12d. Delay time until control, trigger signal T1 ′, T2 ′, T3 ′, T4 ′ generation timing difference between digital data Dd stored in buffers 12a, 12b, 12c, 12d, write / read signal The number of extra data necessary for the interpolation process during the period from the output of C1a, C1b, C1c, C1d until the buffers 12a, 12b, 12c, 12d stop storing Information about. Various requirements, including, for example, may be provided to the buffer control circuit 15 'from the control unit 13 through the operation of the operation unit.

図10に示すように、イベント検出回路16”は、イベント検出制御回路16a”と、補間処理回路16b”と、時間検出処理回路16c”と、レベル検出処理回路16d”と、イベント判定回路16e”と、を有する。   As shown in FIG. 10, the event detection circuit 16 ″ includes an event detection control circuit 16a ″, an interpolation processing circuit 16b ″, a time detection processing circuit 16c ″, a level detection processing circuit 16d ″, and an event determination circuit 16e ″. And having.

イベント検出制御回路16a”は、補間倍率Hについての情報を補間処理回路16b”に提供し、閾値レベルTh’,Th”を時間検出処理回路16c”に提供し、検出すべきパルスの立上り遷移時間Tr、立下り遷移時間Tf及び最大値Pmについての情報をイベント判定回路16e”に提供する。   The event detection control circuit 16a ″ provides information about the interpolation magnification H to the interpolation processing circuit 16b ″, provides threshold levels Th ′ and Th ″ to the time detection processing circuit 16c ″, and rise transition time of the pulse to be detected. Information about Tr, falling transition time Tf, and maximum value Pm is provided to the event determination circuit 16e ″.

バッファ制御回路15”は、バッファ12aが記憶を停止してからバッファ12bが記憶を開始するまでの期間の計測結果Tm’及びバッファ12cが記憶を停止してからバッファ12dが記憶を開始するまでの期間の計測結果Tm”を時間検出処理回路16c”に提供する。また、バッファ制御回路15”は、バッファ12cが記憶を停止してからバッファ12dが記憶を開始するまでの期間にレベル検出期間信号C12をレベル検出処理回路16d”に出力する。   The buffer control circuit 15 ″ measures the measurement result Tm ′ during the period from when the buffer 12a stops storing until the buffer 12b starts storing and from when the buffer 12c stops storing until the buffer 12d starts storing. The period measurement result Tm ″ is provided to the time detection processing circuit 16c ″. The buffer control circuit 15 ″ also outputs a level detection period signal during a period from when the buffer 12c stops storing until the buffer 12d starts storing. C12 is output to the level detection processing circuit 16d ″.

補間処理回路16b”は、イベントを検出するためのデジタルデータDdがバッファ12a,12b,12c,12dから供給され、補間倍率HでデジタルデータDdの補間処理を行うことによってそれぞれの補間データDh1,Dh2,Dh3,Dh4を生成して時間検出処理回路16c”に供給する。また、補間処理回路16b”は、それぞれの補間データDh1,Dh2,Dh3,Dh4の提供期間に対応する時間検出信号C11a,C11b,C11c,C11dを時間検出処理回路16c”に出力する。   The interpolation processing circuit 16b ″ receives digital data Dd for detecting an event from the buffers 12a, 12b, 12c, and 12d, and performs interpolation processing of the digital data Dd at the interpolation magnification H, thereby interpolating each of the interpolation data Dh1, Dh2. , Dh3, Dh4 are generated and supplied to the time detection processing circuit 16c ″. The interpolation processing circuit 16b ″ outputs time detection signals C11a, C11b, C11c, and C11d corresponding to the provision periods of the respective interpolation data Dh1, Dh2, Dh3, and Dh4 to the time detection processing circuit 16c ″.

時間検出処理回路16c”は、時間検出信号C11a,C11bに従って、補間データDh1が閾値レベルTh’より上になった正スロープ開始時刻及び補間データDh2が閾値レベルTh”より上になった正スロープ終了時刻を検出処理する。また、時間検出処理回路16c”は、正スロープ開始時刻及び正スロープ停止時刻とバッファ制御回路15”から提供された計測結果Tm’を演算処理した立上り遷移時間を検出する。同様に、時間検出処理回路16c”は、時間検出信号C11c,C11dに従って、補間データDh3が閾値レベルTh”より下になった負スロープ開始時刻及び補間データDh4が閾値レベルTh’より下になった負スロープ終了時刻を検出処理する。また、時間検出処理回路16c”は、負スロープ開始時刻及び負スロープ停止時刻とバッファ制御回路15”から提供された計測結果Tm”を演算処理した立下り遷移時間を検出する。時間検出処理回路16c”は、立上り遷移時間及び立下り遷移時間からなる検出処理結果Dt”を、イベント判定回路16e”に供給する。時間検出処理回路16c”は、補間データDh1,Dh2,Dh3,Dh4及び計測結果Tm’,Tm”を用いることによって高精度の時間検出が可能になる。   In accordance with the time detection signals C11a and C11b, the time detection processing circuit 16c ″ detects the positive slope start time when the interpolation data Dh1 is higher than the threshold level Th ′ and the positive slope end when the interpolation data Dh2 is higher than the threshold level Th ″. Time detection processing. Further, the time detection processing circuit 16c ″ detects the rising transition time obtained by calculating the positive slope start time and the positive slope stop time and the measurement result Tm ′ provided from the buffer control circuit 15 ″. Similarly, in the time detection processing circuit 16c ″, according to the time detection signals C11c and C11d, the negative slope start time when the interpolation data Dh3 is lower than the threshold level Th ″ and the interpolation data Dh4 are lower than the threshold level Th ′. The negative slope end time is detected. The time detection processing circuit 16c ″ detects the falling transition time obtained by calculating the negative slope start time and negative slope stop time and the measurement result Tm ″ provided from the buffer control circuit 15 ″. Time detection processing circuit 16c "Supplies a detection processing result Dt" consisting of a rising transition time and a falling transition time to the event determination circuit 16e ". The time detection processing circuit 16c ″ can perform time detection with high accuracy by using the interpolation data Dh1, Dh2, Dh3, Dh4 and the measurement results Tm ′, Tm ″.

レベル検出処理回路16d”は、デジタルデータDdがADC11から入力され、レベル検出期間信号C12に従って、デジタルデータDdの最大値の検出処理結果De”(デジタルデータのレベル)を検出処理し、イベント判定回路16e”に供給する。イベント判定回路16e”は、ADC11から入力されたデジタルデータDdを用いることによって、バッファ12bが記憶する期間の終了時からバッファ12cが記憶する期間の開始時までの期間のデジタルデータDdの最大値Lを検出処理することができる。   The level detection processing circuit 16d ″ receives the digital data Dd from the ADC 11, detects the maximum detection processing result De ″ (digital data level) of the digital data Dd according to the level detection period signal C12, and performs an event determination circuit. The event determination circuit 16e ″ uses the digital data Dd input from the ADC 11 so that the event determination circuit 16e ″ digitally outputs the period from the end of the period stored in the buffer 12b to the start of the period stored in the buffer 12c. The maximum value L of the data Dd can be detected.

イベント判定回路16e”は、バッファ12a,12b,12c,12dに記憶されているデジタルデータDdからイベントが検出されたか否かを、検出処理結果Dt”及びDe”並びにイベント検出条件であるパルスの立上り遷移時間Tr及び立下り遷移時間Tf及び最大値Pmに基づいて判定する。図11は、イベント検出回路によって検出される緩やかなスロープを持つパルスイベントの例を示す図である。緩やかなスロープを持つパルスイベントの場合、バッファ12aの記憶の終了時からバッファ12bの記憶の開始時までの期間Sx、バッファ12bの記憶の終了時からバッファ12cの記憶の開始時までの期間Sy、バッファ12cの記憶の終了時からバッファ12dの記憶の開始時までの期間Szが設けられる。イベント判定回路16e”は、正スロープが遷移する期間Tiaが立上り遷移時間Trに相当するか否か、負スロープが遷移する期間Tibが立下り遷移時間Tfに相当するか否か、及びデジタルデータDdの最大値Lが最大値Pmに相当するか否かを判定する。   The event determination circuit 16e ″ determines whether or not an event has been detected from the digital data Dd stored in the buffers 12a, 12b, 12c, and 12d, the detection processing results Dt ″ and De ″, and the rise of a pulse that is an event detection condition 11 is a diagram illustrating an example of a pulse event having a gentle slope detected by the event detection circuit, based on the transition time Tr, the falling transition time Tf, and the maximum value Pm. In the case of a pulse event, the period Sx from the end of storage of the buffer 12a to the start of storage of the buffer 12b, the period Sy from the end of storage of the buffer 12b to the start of storage of the buffer 12c, the storage of the buffer 12c A period Sz from the end to the start of storage of the buffer 12d is provided. The circuit 16e ″ determines whether the period Tia during which the positive slope transitions corresponds to the rising transition time Tr, whether the period Tib during which the negative slope transitions corresponds to the falling transition time Tf, and the maximum of the digital data Dd It is determined whether or not the value L corresponds to the maximum value Pm.

本実施の形態によれば、バッファ12a及びバッファ12bがアナログ入力信号Saの立上りスロープの開始周辺及び終了周辺のデジタルデータDdを記憶するとともに、バッファ12c及びバッファ12dがアナログ入力信号Saの立下りスロープの開始周辺及び終了周辺のデジタルデータDdを記憶することによって、バッファ容量を増大させることなく、緩やかなスロープを持つパルスイベントの立上り遷移時間と立下り遷移時間を高精度に検出することができる。   According to the present embodiment, the buffer 12a and the buffer 12b store the digital data Dd around the start and end of the rising slope of the analog input signal Sa, and the buffer 12c and the buffer 12d have the falling slope of the analog input signal Sa. By storing the digital data Dd around the start and end of this, the rising transition time and falling transition time of a pulse event having a gentle slope can be detected with high accuracy without increasing the buffer capacity.

上記実施の形態において、バッファを1個、2個又は4個用いる場合について説明したが、バッファを3個又は5個以上用いてもよい。   Although the case where one, two, or four buffers are used has been described in the above embodiment, three or five or more buffers may be used.

1,1’,1” 波形記録装置
11 アナログ・デジタル変換器(ADC)
12,12’,12”,12a,12b,12c,12d バッファ
13 制御部
14,14’ トリガ回路
15,15’,15” バッファ制御回路
16,16’,16” イベント検出回路
16a,16a” イベント検出制御回路
16b,16b’,16b” 補間処理回路
16c,16c’,16c” 時間検出処理回路
16d,16d’,16d” レベル検出処理回路
16e,16e” イベント判定回路
17 取込み処理回路
18 メモリ回路
19 波形処理及び表示処理回路
20 表示器
1,1 ', 1 "Waveform Recorder 11 Analog to Digital Converter (ADC)
12, 12 ', 12 ", 12a, 12b, 12c, 12d buffer 13 control unit 14, 14' trigger circuit 15, 15 ', 15" buffer control circuit 16, 16', 16 "event detection circuit 16a, 16a" event Detection control circuit 16b, 16b ', 16b "Interpolation processing circuit 16c, 16c', 16c" Time detection processing circuit 16d, 16d ', 16d "Level detection processing circuit 16e, 16e" Event determination circuit 17 Acquisition processing circuit 18 Memory circuit 19 Waveform processing and display processing circuit 20 Display

Claims (6)

アナログ入力信号をアナログ・デジタル変換することによって生成されたデジタルデータを一時的に記憶するバッファと、
トリガ条件に基づいて前記アナログ入力信号又は前記デジタルデータからトリガ信号を生成するトリガ回路と、
前記バッファが記憶動作を開始してから終了するまでの期間を前記トリガ信号に基づいて制御するバッファ制御回路と、
前記バッファが記憶動作を開始してから終了するまでの期間の終了の際に前記バッファに記憶されたデジタルデータからイベントが検出された場合にイベント検出信号を生成するイベント検出回路と、
前記デジタルデータを取り込み処理することによって生成された波形データを記憶し、前記イベント検出信号に応答して前記波形データの記憶を停止するメモリ回路と、
を備える波形記録装置。
A buffer that temporarily stores digital data generated by analog-to-digital conversion of an analog input signal;
A trigger circuit that generates a trigger signal from the analog input signal or the digital data based on a trigger condition;
A buffer control circuit for controlling a period from the start of the storage operation to the end of the buffer based on the trigger signal;
An event detection circuit that generates an event detection signal when an event is detected from digital data stored in the buffer at the end of a period from the start of the storage operation to the end of the buffer;
A memory circuit that stores waveform data generated by capturing the digital data and stops storing the waveform data in response to the event detection signal;
A waveform recording apparatus comprising:
前記バッファは、第1のバッファ及び第2のバッファを有し、
前記トリガ回路は、トリガ条件に基づいて前記アナログ入力信号又は前記デジタルデータから第1のトリガ信号及び第2のトリガ信号を生成し、
前記バッファ制御回路は、前記第1のバッファが記憶動作を開始してから終了するまでの期間を前記第1のトリガ信号に基づいて制御し、前記第2のバッファが記憶動作を開始してから終了するまでの期間を前記第2のトリガ信号に基づいて制御し、前記第1のバッファが記憶動作を終了してから前記第2のバッファが記憶動作を開始するまでの期間を計測し、
前記イベント検出回路は、前記第1のバッファが記憶動作を開始してから終了するまでの期間の終了の際に前記第1のバッファに記憶されたデジタルデータ及び前記第2のバッファが記憶動作を開始してから終了するまでの期間の終了の際に前記第2のバッファに記憶されたデジタルデータからイベントが検出された場合にイベント検出信号を生成する請求項1に記載の波形記録装置。
The buffer has a first buffer and a second buffer;
The trigger circuit generates a first trigger signal and a second trigger signal from the analog input signal or the digital data based on a trigger condition;
The buffer control circuit controls a period from when the first buffer starts a storage operation to the end based on the first trigger signal, and after the second buffer starts a storage operation Controlling the period until the end based on the second trigger signal, measuring the period from when the first buffer ends the storage operation to when the second buffer starts the storage operation,
The event detection circuit is configured such that the digital data stored in the first buffer and the second buffer perform a storage operation at the end of a period from when the first buffer starts the storage operation to the end. The waveform recording apparatus according to claim 1, wherein an event detection signal is generated when an event is detected from digital data stored in the second buffer at the end of a period from the start to the end.
前記バッファは、複数のバッファを有し、
前記トリガ回路は、トリガ条件に基づいて前記アナログ入力信号又は前記デジタルデータから複数のトリガ信号を生成し、
前記バッファ制御回路は、前記バッファが記憶動作を開始してから終了するまでの期間を前記トリガ信号に基づいて制御し、前記複数のバッファのうちの予め決められたバッファが記憶動作を終了してから次のバッファが記憶動作を開始するまでの期間の一つ以上を計測し、
前記イベント検出回路は、前記複数のバッファが記憶動作を開始してから終了するまでの期間の終了の際に前記複数のバッファに記憶されたデジタルデータからイベントが検出された場合にイベント検出信号を生成する請求項1に記載の波形記録装置。
The buffer has a plurality of buffers;
The trigger circuit generates a plurality of trigger signals from the analog input signal or the digital data based on a trigger condition,
The buffer control circuit controls a period from the start of the storage operation to the end of the buffer based on the trigger signal, and a predetermined buffer of the plurality of buffers ends the storage operation. Measure one or more of the period from the start of the storage operation to the next buffer,
The event detection circuit outputs an event detection signal when an event is detected from digital data stored in the plurality of buffers at the end of a period from the start of the storage operation to the end of the plurality of buffers. The waveform recording device according to claim 1 to be generated.
前記イベント検出回路は、前記デジタルデータのレベルと予め決定されたレベルのデジタルデータが検出された期間との少なくとも一方に関連するイベントを検出する請求項1〜3のいずれか一項に記載の波形記録装置。   The waveform according to any one of claims 1 to 3, wherein the event detection circuit detects an event related to at least one of a level of the digital data and a period in which digital data of a predetermined level is detected. Recording device. 前記メモリ回路は、前記波形データの記憶を停止するタイミングを、前記トリガ信号が生成されるタイミングと前記イベント検出信号が生成されるタイミングとの時間差に基づいて調整する請求項1〜4のいずれか一項に記載の波形記録装置。   The said memory circuit adjusts the timing which stops the memory | storage of the said waveform data based on the time difference of the timing which the said trigger signal is produced | generated, and the timing which the said event detection signal is produced | generated. The waveform recording apparatus according to one item. 前記バッファに一時的に記憶されるデジタルデータをデシメーションする請求項1〜5のいずれか一項に記載の波形記録装置。   The waveform recording apparatus according to claim 1, wherein the digital data temporarily stored in the buffer is decimated.
JP2017090692A 2017-04-28 2017-04-28 Waveform recorder Active JP6844404B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017090692A JP6844404B2 (en) 2017-04-28 2017-04-28 Waveform recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017090692A JP6844404B2 (en) 2017-04-28 2017-04-28 Waveform recorder

Publications (3)

Publication Number Publication Date
JP2018189445A true JP2018189445A (en) 2018-11-29
JP2018189445A5 JP2018189445A5 (en) 2020-03-26
JP6844404B2 JP6844404B2 (en) 2021-03-17

Family

ID=64478422

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017090692A Active JP6844404B2 (en) 2017-04-28 2017-04-28 Waveform recorder

Country Status (1)

Country Link
JP (1) JP6844404B2 (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4425643A (en) * 1981-06-08 1984-01-10 Tektronix, Inc. Multi-speed logic analyzer
JPS6193962A (en) * 1984-10-15 1986-05-12 Anritsu Corp Oscilloscope with pattern trigger
JPS63186153A (en) * 1987-01-27 1988-08-01 Matsushita Electric Ind Co Ltd Logic analyzer
JPH05264593A (en) * 1992-03-23 1993-10-12 Yokogawa Electric Corp Waveform display
US20050225310A1 (en) * 2004-03-23 2005-10-13 Smith Patrick A Oscilloscope having advanced triggering capability
JP2006329979A (en) * 2005-05-20 2006-12-07 Tektronix Inc Measuring equipment, autocorrelation trigger generation method and generator
JP2007256284A (en) * 2006-03-20 2007-10-04 Tektronix Inc Signal acquisition system and technique, and waveform displaying method
JP2009503458A (en) * 2005-07-28 2009-01-29 ローデ ウント シュワルツ ゲーエムベーハー ウント コー カーゲー Method and system for digital triggering of a signal based on two trigger events separated by a time interval
JP2009300112A (en) * 2008-06-10 2009-12-24 Toshiba Corp Waveform display device and waveform display method
JP2011123070A (en) * 2009-12-07 2011-06-23 Tektronix Inc Device and method for displaying waveform

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4425643A (en) * 1981-06-08 1984-01-10 Tektronix, Inc. Multi-speed logic analyzer
JPS6193962A (en) * 1984-10-15 1986-05-12 Anritsu Corp Oscilloscope with pattern trigger
JPS63186153A (en) * 1987-01-27 1988-08-01 Matsushita Electric Ind Co Ltd Logic analyzer
JPH05264593A (en) * 1992-03-23 1993-10-12 Yokogawa Electric Corp Waveform display
US20050225310A1 (en) * 2004-03-23 2005-10-13 Smith Patrick A Oscilloscope having advanced triggering capability
JP2006329979A (en) * 2005-05-20 2006-12-07 Tektronix Inc Measuring equipment, autocorrelation trigger generation method and generator
JP2009503458A (en) * 2005-07-28 2009-01-29 ローデ ウント シュワルツ ゲーエムベーハー ウント コー カーゲー Method and system for digital triggering of a signal based on two trigger events separated by a time interval
JP2007256284A (en) * 2006-03-20 2007-10-04 Tektronix Inc Signal acquisition system and technique, and waveform displaying method
JP2009300112A (en) * 2008-06-10 2009-12-24 Toshiba Corp Waveform display device and waveform display method
JP2011123070A (en) * 2009-12-07 2011-06-23 Tektronix Inc Device and method for displaying waveform

Also Published As

Publication number Publication date
JP6844404B2 (en) 2021-03-17

Similar Documents

Publication Publication Date Title
US9684066B2 (en) Light radar signal processing apparatus, systems and methods
US9182500B2 (en) Method and system for amplitude digitization of nuclear radiation pulses
JP2011525737A (en) Apparatus and method for evaluating data relating to time difference, and apparatus and method for calibrating a delay line
US7723976B2 (en) Self-adjusting hold-off trigger
CN103048508B (en) Improve the method for digital oscilloscope activation levels precision, device and digital oscilloscope
JP2014077791A (en) Method of indicating correlation between multiple signals, and test measurement device
US6586962B2 (en) Semiconductor device
JP6844404B2 (en) Waveform recorder
JP4266350B2 (en) Test circuit
US10955441B2 (en) Measurement system and method for operating a measurement system
US20220187351A1 (en) Waveform measuring method
US6232765B1 (en) Electro-optical oscilloscope with improved sampling
JP5575458B2 (en) Electrical characteristic measuring apparatus and electrical characteristic measuring method
JP5046296B2 (en) Displacement sensor
JP7330400B2 (en) AD converter
JP2007101293A (en) Signal measuring apparatus
JP2012026853A (en) Distance sensor
US7031412B2 (en) Digital signal processing apparatus
JPH04346077A (en) Jitter detection circuit
CN110223727B (en) Data reduction using analog memory
JP5488914B2 (en) Waveform measuring device
Jaya et al. Frequency-response-associated delay-dispersion issue in time-delay measuring sensors
JPS59192969A (en) Digital oscilloscope
JP2003014786A (en) Trigger signal generator
JP2005062033A (en) Time measuring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201228

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210208

R150 Certificate of patent or registration of utility model

Ref document number: 6844404

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250