Waveform measuring instrument and program

The waveform measuring device and program enhance serial bus setting capabilities by utilizing previously acquired and calculated waveform data, overcoming limitations of conventional instruments by enabling flexible and efficient bus setting processes.

JP7573590B2Active Publication Date: 2024-10-25YOKOGAWA ELECTRIC CORP +1
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
JP2022208863
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-12-26
Publication Date
2024-10-25
Estimated Expiration
2042-12-26

AI Technical Summary

Technical Problem

Conventional waveform measuring instruments are limited in the range of waveform data they can reference for automatically performing serial bus settings, restricting their functionality.

Method used

A waveform measuring device and program that allows automatic serial bus setting based on previously acquired waveform data, including currently displayed data, stored data, and calculated data, enabling selection through user input.

Benefits of technology

Expands the range of waveform data available for automatic serial bus settings, allowing flexible and efficient execution of bus settings even without real-time input signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007573590000001
    Figure 0007573590000001
  • Figure 0007573590000002
    Figure 0007573590000002
  • Figure 0007573590000003
    Figure 0007573590000003
Patent Text Reader

Abstract

To enable expansion of a waveform data range to be referenced when automatically performing serial bus setting.SOLUTION: A waveform measurement device 10 disclosed herein is capable of automatically performing serial bus setting processing. The waveform measurement device 10 comprises a control unit 107 configured to automatically perform the serial bus setting processing. The control unit 107 is capable of automatically performing the serial bus setting processing based on previously acquired waveform data.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a waveform measuring instrument and a program. [Background technology]

[0002] 2. Description of the Related Art Conventionally, waveform measuring instruments are known that can automatically execute setting processes required for analyzing a serial bus.

[0003] For example, Patent Document 1 discloses a waveform measuring instrument that includes a bit rate detection means for detecting the bit rate of data transmitted via a serial bus, and a determination means for determining the type of serial bus based on the detection result of the bit rate detection means. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2009-85710 A Summary of the Invention [Problem to be solved by the invention]

[0005] The waveform measuring instrument disclosed in Patent Document 1 automatically executes serial bus settings based on the input signal, but the waveform data referenced when automatically executing the serial bus settings is limited.

[0006] Therefore, an object of the present disclosure is to provide a waveform measuring instrument and program that are capable of expanding the range of waveform data that is referenced when automatically executing serial bus settings. [Means for solving the problem]

[0007] A waveform measuring instrument according to some embodiments is a waveform measuring instrument capable of automatically executing a serial bus setting process, and includes a control unit that automatically executes the serial bus setting process, and the control unit is capable of automatically executing the serial bus setting process based on previously acquired waveform data. With such a waveform measuring instrument, it is possible to expand the range of waveform data to be referred to when automatically executing the serial bus setting.

[0008] A waveform measuring instrument according to one embodiment further includes an AD converter that converts an input signal of an analog waveform into waveform data of digital values, a first memory that stores the waveform data converted by the AD converter, a second memory that can store the waveform data in a file format, and a display unit that can display the waveform data, and the control unit may automatically execute the serial bus setting process based on either the first waveform data currently displayed on the display unit or the second waveform data stored in the first memory as the previously acquired waveform data. This makes it possible to automatically execute the serial bus setting process based on either the first waveform data currently displayed on the display unit or the second waveform data stored in the first memory as the previously acquired waveform data.

[0009] A waveform measuring instrument according to one embodiment further includes an AD converter that converts an input signal of an analog waveform into waveform data of digital values, a first memory that stores the waveform data converted by the AD converter, a second memory that can store the waveform data in a file format, and a display unit that can display the waveform data, and the control unit may automatically execute the serial bus setting process based on any one of the first waveform data currently displayed on the display unit, the second waveform data stored in the first memory, and the third waveform data stored in a file format in the second memory as the previously acquired waveform data. This makes it possible to automatically execute the serial bus setting process based on any one of the first waveform data currently displayed on the display unit, the second waveform data stored in the first memory, and the third waveform data stored in a file format in the second memory as the previously acquired waveform data.

[0010] In one embodiment, the waveform measuring instrument further includes an AD converter that converts an input signal of an analog waveform into waveform data of digital values, a first memory that stores the waveform data converted by the AD converter, a second memory that can store the waveform data in a file format, and a display unit that can display the waveform data, and the control unit may automatically execute the serial bus setting process based on any of the first waveform data currently displayed on the display unit, the second waveform data stored in the first memory, the third waveform data stored in the second memory in a file format, and the fourth waveform data calculated using at least one of the first waveform data, the second waveform data, and the third waveform data, as the previously acquired waveform data. This makes it possible to automatically execute the serial bus setting process based on any of the first waveform data currently displayed on the display unit, the second waveform data stored in the first memory, the third waveform data stored in the second memory in a file format, and the fourth waveform data calculated using at least one of the second waveform data and the third waveform data, as the previously acquired waveform data.

[0011] In one embodiment, the waveform measurement instrument may further include an operation unit capable of receiving an input from a user, and the control unit may determine, based on the user's input to the operation unit, which of the first waveform data, the second waveform data, the third waveform data, and the fourth waveform data is to be used to automatically execute the serial bus setting process. This makes it possible to select, based on which waveform data the serial bus setting process is to be automatically executed, in response to a user's selection.

[0012] In one embodiment of the waveform measuring instrument, the first waveform data currently displayed on the display unit may be the latest waveform data among the waveform data stored in the first memory.

[0013] In one embodiment of the waveform measurement instrument, the serial bus setting process automatically executed by the control unit may include a process in which the control unit calculates a voltage threshold based on a voltage histogram of the waveform data previously acquired, and a process in which the control unit detects rising edges and falling edges based on the voltage threshold and calculates a bit rate based on the rising edges and the falling edges. This makes it possible to calculate the voltage threshold and the bit rate, and to automatically execute the serial bus setting process using the calculated voltage threshold and bit rate.

[0014] In one embodiment, the serial bus for which the control unit executes the serial bus setting process may be any one of CAN, CAN FD, CXPI, FlexRay, I2C, LIN, PSI5, SENT, SPI, CAN XL, and Ethernet.

[0015] In one embodiment of the waveform measurement instrument, the control unit may automatically execute the serial bus setting process based on a currently input signal, and may select either the previously acquired waveform data or the currently input signal and automatically execute the serial bus setting process based on the selected one. This makes it possible to select either the previously acquired waveform data or the currently input signal and automatically execute the serial bus setting process.

[0016] A program according to some embodiments causes a computer to execute operations including the steps of acquiring waveform data previously acquired by a waveform measurement instrument capable of automatically executing a serial bus setting process, and automatically executing the serial bus setting process based on the acquired waveform data. With such a program, it is possible to expand the range of waveform data to be referenced when automatically executing the serial bus setting. Effect of the Invention

[0017] According to the present disclosure, it is possible to provide a waveform measuring instrument and a program that are capable of expanding the range of waveform data that is referenced when automatically executing serial bus settings. [Brief description of the drawings]

[0018] [Figure 1] FIG. 1 is a diagram showing a schematic configuration of a waveform measuring device according to an embodiment. [Diagram 2] FIG. 11 is a conceptual diagram for explaining calculation of a voltage threshold value. [Diagram 3] FIG. 2 is a diagram showing a CAN data frame structure. [Figure 4] 4 is a flowchart showing the operation of the waveform measuring instrument according to one embodiment. [Diagram 5] 5 is a flowchart showing details of the setting process in the flowchart of FIG. 4. [Figure 6] 10 is a flowchart showing the operation of a waveform measuring instrument according to a comparative example. [Figure 7]10 is a flowchart showing the operation of a waveform measuring instrument according to a modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings.

[0020] Fig. 1 is a diagram showing a schematic configuration of a waveform measuring instrument 10 according to one embodiment. The waveform measuring instrument 10 is capable of automatically executing serial bus setting processing. The configuration and functions of the waveform measuring instrument 10 according to one embodiment will be described with reference to Fig. 1.

[0021] Waveform measurement instrument 10 comprises a preamplifier 101 , an AD converter 102 , a waveform data memory 103 , a data processing unit 104 , a display processing unit 105 , a display unit 106 , a control unit 107 , a memory 108 , and an operation unit 109 .

[0022] Preamplifier 101 amplifies an input signal having an analog waveform input to waveform measurement instrument 10 by a predetermined factor.

[0023] The AD converter 102 converts the input signal having an analog waveform output from the preamplifier 101 into waveform data having a digital value.

[0024] Although FIG. 1 shows a configuration in which waveform measuring instrument 10 includes one preamplifier 101 and one AD converter 102, waveform measuring instrument 10 may include a plurality of preamplifiers 101 and a plurality of AD converters 102.

[0025] The waveform data memory 103 stores the waveform data written by the data processing unit 104. The waveform data memory 103 can store a plurality of waveform data. The waveform data stored in the waveform data memory 103 is waveform data converted into digital values ​​by the AD converter 102. The waveform data memory 103 corresponds to the "first memory" in the claims.

[0026] The waveform data memory 103 is, for example, a semiconductor memory, a magnetic memory, an optical memory, or the like, but is not limited to these.

[0027] The data processing unit 104 writes the waveform data converted into digital values ​​by the AD converter 102 into the waveform data memory 103. The data processing unit 104 writes the waveform data into the waveform data memory 103 and at the same time performs trigger detection.

[0028] The data processing unit 104 can read out the waveform data stored in the waveform data memory 103. The data processing unit 104 detects the positions of the rising edge and the falling edge of the waveform data.

[0029] The data processing unit 104 generates display data to be displayed on the display unit 106 based on the waveform data.

[0030] The display processing unit 105 outputs display data to be displayed on the display unit 106 to the display unit 106. The display processing unit 105 generates display data to be displayed on the display unit 106 based on information acquired from the data processing unit 104 and the control unit 107. The display processing unit 105 may generate display data to be displayed on the display unit 106 by combining the information acquired from the data processing unit 104 and the control unit 107.

[0031] The display unit 106 displays the display data acquired from the display processing unit 105. The display unit 106 can display waveform data included in the display data.

[0032] The display unit 106 may include, for example, an LCD (Liquid Crystal Display) or an organic EL (Electro Luminescent) display.

[0033] The control unit 107 controls the entire waveform measurement instrument 10 and each block of the waveform measurement instrument 10. The control unit 107 can obtain input from a user via an operation unit 109. The control unit 107 obtains waveform data from the data processing unit 104. The control unit 107 outputs display information to a display processing unit 105. The control unit 107 stores the waveform data in a file format in the memory 108. The control unit 107 reads the waveform data in a file format from the memory 108.

[0034] The control unit 107 includes at least one processor, at least one dedicated circuit, or a combination of these. The processor is a general-purpose processor such as a central processing unit (CPU) or a graphics processing unit (GPU), or a dedicated processor specialized for a specific process. The dedicated circuit is, for example, a field-programmable gate array (FPGA) or an application specific integrated circuit (ASIC).

[0035] The control unit 107 can automatically execute the serial bus setting process. The control unit 107 can automatically execute the serial bus setting process based on previously acquired waveform data, not on the signal currently being input. The operation of the control unit 107 will be described in detail later.

[0036] The memory 108 is a memory capable of storing waveform data in a file format, and corresponds to a "second memory" in the claims.

[0037] The memory 108 can hold various data specific to the serial bus, as well as a vertical scale, a voltage threshold, a bit rate, a horizontal scale, and the like, which will be described later.

[0038] The memory 108 may store any information used in the operation of the waveform measurement instrument 10. For example, the memory 108 may store system programs, application programs, various data, and the like.

[0039] The memory 108 may be, for example, but is not limited to, a semiconductor memory, a magnetic memory, or an optical memory.

[0040] The memory 108 may be divided into multiple parts. For example, a memory for storing waveform data in a file format and a memory for holding various data specific to the serial bus may be configured as separate memories.

[0041] The operation unit 109 includes an interface capable of receiving input from a user, and may include, for example, a button, a rotary knob, and the like.

[0042] Next, the serial bus setting process executed by the waveform measurement instrument 10 will be described.

[0043] The control unit 107 can automatically execute the serial bus setting process based on previously acquired waveform data, rather than on the currently input signal.

[0044] The previously acquired waveform data may be any of the waveform data currently being displayed on the display unit 106, the waveform data stored in the waveform data memory 103, the waveform data stored in file format in the memory 108, and the calculated waveform data.

[0045] The waveform data currently displayed on display unit 106 is the latest waveform data among previously acquired waveform data. In other words, the waveform data currently displayed on display unit 106 is not waveform data based on the signal currently being input. The latest waveform data among previously acquired waveform data is stored in waveform data memory 103. Waveform data memory 103 stores a plurality of waveform data, and in this embodiment, the latest waveform data among them is referred to as "waveform data currently displayed on display unit 106." Hereinafter, "waveform data currently displayed on display unit 106" may be referred to as "waveform data being displayed." The waveform data being displayed corresponds to "first waveform data" in the claims.

[0046] The waveform data stored in waveform data memory 103 is the waveform data written to waveform data memory 103 by data processing unit 104. Hereinafter, the "waveform data stored in waveform data memory 103" may be referred to as "history waveform data." The history waveform data corresponds to the "second waveform data" in the claims.

[0047] The waveform data stored in memory 108 in a file format is waveform data stored in memory 108 in a file format that can be read by control unit 107. Hereinafter, "waveform data stored in memory 108 in a file format" may be referred to as "file-format waveform data." The file-format waveform data corresponds to "third waveform data" in the claims.

[0048] The calculated waveform data is waveform data calculated using at least one of the waveform data being displayed, the history waveform data, and the file format waveform data. The calculated waveform data may be, for example, waveform data in which addition, subtraction, multiplication, division, etc. have been performed on two of the history waveform data. The calculated waveform data is not limited to waveform data calculated on two waveforms, but may be waveform data calculated on three or more waveform data. In addition, the calculated waveform data is not limited to addition, subtraction, multiplication, and division, but may be waveform data on which any operation has been performed. Hereinafter, the "calculated waveform data" may be referred to as "calculated waveform data". The calculated waveform data corresponds to the "fourth waveform data" in the claims.

[0049] The operation unit 109 can receive from the user a selection as to which waveform data the serial bus setting process is to be executed based on: the currently displayed waveform data, the history waveform data, the file format waveform data, or the calculated waveform data.

[0050] Based on user input to operation unit 109, control unit 107 determines which waveform data from among the currently displayed waveform data, history waveform data, file format waveform data, and calculated waveform data will be used to automatically execute the serial bus setting process.

[0051] The control unit 107 determines which waveform data to automatically execute the serial bus setting process based on from among the waveform data being displayed, the history waveform data, the file format waveform data, and the calculated waveform data, and then executes the serial bus setting process based on the determined waveform data.

[0052] Hereinafter, the serial bus setting process will be described taking an example where the serial bus is a Controller Area Network (CAN). However, the serial bus being a CAN is just an example, and the serial bus may be of a type other than CAN.

[0053] The control unit 107 calculates a voltage threshold value for the waveform data for which the serial bus setting process is to be executed. The calculation of the voltage threshold value by the control unit 107 will be described with reference to FIG.

[0054] The control unit 107 calculates a histogram of the vertical axis for the waveform data. The histogram is divided into a histogram distributed around the maximum voltage value and a histogram distributed around the minimum voltage value.

[0055] The control unit 107 determines the voltage with the highest frequency in the histogram distributed around the maximum voltage value as the High voltage, and determines the voltage with the highest frequency in the histogram distributed around the minimum voltage value as the Low voltage.

[0056] The control unit 107 calculates the intermediate voltage between the High voltage and the Low voltage as the voltage threshold.

[0057] The control unit 107 calculates the bit rate for the waveform data for which the serial bus setting process is to be executed.

[0058] The control unit 107 detects the rising edge and the falling edge of the waveform data based on the calculated voltage threshold. The control unit 107 extracts the pulse with the shortest edge interval based on the detected rising edge and falling edge. The control unit 107 calculates the bit rate assuming that the pulse with the shortest edge interval corresponds to one bit length of the CAN. The control unit 107 calculates the reciprocal of the time of the shortest pulse width as the bit rate.

[0059] The control unit 107 may determine whether or not the calculated bit rate falls within the range of bit rates that can be set by the waveform measurement instrument 10 .

[0060] The control unit 107 holds the calculated bit rate if it determines that the calculated bit rate falls within the range of bit rates that can be set by the waveform measurement instrument 10. If the control unit 107 determines that the calculated bit rate does not fall within the range of bit rates that can be set by the waveform measurement instrument 10, it rounds the bit rate to the closest of the settable minimum value or the settable maximum value and holds the bit rate.

[0061] The control unit 107 detects a recessive potential for the waveform data for which the serial bus setting process is to be executed.

[0062] The recessive potential will be explained with reference to the CAN data frame structure shown in Figure 3. In CAN, which is a type of serial bus, it is necessary to detect the bus potential in order to determine the bus idle state. In CAN, the binary values ​​0 and 1 are converted into voltages specified by the standard. In CAN, "0" is expressed as "dominant" and "1" as "recessive." The CAN standard specifies that the bus potential in the bus idle state is "recessive potential."

[0063] The control unit 107 extracts the longest pulse based on the rising edge and falling edge detected when calculating the bit rate. In the CAN standard, the section with the longest pulse is an idle section. The control unit 107 detects whether to recognize the recessive potential as High or Low based on the polarity of the extracted longest pulse. In this way, by detecting whether to recognize the recessive potential as High or Low, it is possible to make it possible to decode the serial bus even if the polarity of the input signal is reversed.

[0064] The control unit 107 executes a serial bus setting process based on the calculated voltage threshold, the calculated bit rate, and the detected recessive potential.

[0065] The operation of waveform measuring instrument 10 will be described with reference to the flow chart shown in FIG.

[0066] Step S101: Based on a user input to the operation unit 109, the control unit 107 determines which waveform data from among the currently displayed waveform data, the history waveform data, the file format waveform data, and the calculated waveform data will be used to automatically execute the serial bus setting process.

[0067] At this time, when the control unit 107 determines to use the history waveform data, it also acquires information for specifying which history waveform data is to be targeted among the history waveform data stored in the waveform data memory 103. The information for specifying which history waveform data is to be targeted may be acquired based on an input from the user to the operation unit 109.

[0068] At this time, when the control unit 107 determines to use file-format waveform data, it also acquires information for specifying which file-format waveform data is to be targeted among the file-format waveform data stored in the memory 108. The information for specifying which file-format waveform data is to be targeted may be acquired based on an input from the user to the operation unit 109.

[0069] Step S102: The control unit 107 selects whether or not to execute trigger setting in the setting process (step S112) described below. If the calculated waveform data has been determined in step S101, the control unit 107 selects not to execute trigger setting. If the waveform data other than the calculated waveform data has been determined in step S101, the control unit 107 selects whether or not to execute trigger setting based on a user selection. The control unit 107 may acquire the user selection based on an input from the user to the operation unit 109.

[0070] Step S103: The control unit 107 judges whether the waveform data determined in step S101 is file-format waveform data. If it is file-format waveform data (Yes in step S103), the control unit 107 proceeds to step S104. If it is not file-format waveform data (No in step S103), the control unit 107 proceeds to step S105.

[0071] Step S104: The control unit 107 searches the memory 108 for the file specified by the user, and opens the file specified by the user. The control unit 107 reads the file-formatted waveform data contained in the opened file. At this time, the file may contain additional information such as trigger setting information. The control unit 107 may write the additional information into the waveform data memory 103. After reading the file-formatted waveform data, the control unit 107 closes the opened file.

[0072] Step S105: The control unit 107 determines whether the waveform data determined in step S101 is history waveform data. If it is history waveform data (Yes in step S105), the control unit 107 proceeds to step S106. If it is not history waveform data (No in step S105), the control unit 107 proceeds to step S107.

[0073] Step S106: Based on the information acquired in step S101 that specifies which history waveform data is to be targeted, the control unit 107 calculates the address at which the target history waveform data is stored in the waveform data memory 103. The control unit 107 can acquire the target history waveform data by referring to the calculated address.

[0074] Step S107: The control unit 107 determines whether the waveform data determined in step S101 is calculated waveform data. If it is calculated waveform data (Yes in step S107), the control unit 107 proceeds to step S108. If it is not calculated waveform data (No in step S107), the control unit 107 determines that the waveform data determined in step S101 is the waveform data being displayed.

[0075] Step S108: The control unit 107 reads waveform data required for the calculation. The control unit 107 reads the waveform data required for the calculation from a plurality of history waveform data stored in the waveform data memory 103 and a plurality of file format waveform data stored in the memory 108. The control unit 107 performs a calculation specified by the user using the read waveform data to generate calculated waveform data. The control unit 107 may write the generated calculated waveform data to the waveform data memory 103.

[0076] Step S109: The control unit 107 calculates a voltage threshold value for the waveform data determined as the target for which the serial bus setting process is to be executed.

[0077] Step S110: The control unit 107 calculates a bit rate for the waveform data determined as the target for executing the serial bus setting process. The control unit 107 may determine whether or not the calculated bit rate falls within the range of bit rates that can be set by the waveform measurement instrument 10. If the control unit 107 determines that the calculated bit rate falls within the range of bit rates that can be set by the waveform measurement instrument 10, it holds the calculated bit rate. If the control unit 107 determines that the calculated bit rate does not fall within the range of bit rates that can be set by the waveform measurement instrument 10, it rounds the bit rate to the closest of the settable minimum value or the settable maximum value and holds the bit rate.

[0078] Step S111: The control unit 107 detects the polarity of the recessive potential of the waveform data determined as the target for which the serial bus setting process is to be executed.

[0079] Step S112: The control unit 107 executes a setting process based on the voltage threshold calculated in step S109, the bit rate calculated in step S110, and the polarity of the recessive potential detected in step S111. Details of the setting process shown as step S112 will be described with reference to FIG.

[0080] The setting process shown as step S112 in FIG. 4 will be described in detail with reference to the flowchart shown in FIG.

[0081] Step S201: The control unit 107 sets the voltage threshold calculated in step S109 as a setting for performing an analysis according to the type of serial bus.

[0082] Step S202: The control unit 107 sets the bit rate calculated in step S110 as a setting for performing an analysis according to the type of serial bus.

[0083] Step S203: The control unit 107 sets the polarity of the recessive potential detected in step S111 as a setting for performing an analysis according to the type of serial bus.

[0084] Step S204: The control unit 107 determines whether or not the trigger setting selected in step S102 is to be executed. If the trigger setting is to be executed (Yes in step S204), the control unit 107 proceeds to step S205. If the trigger setting is not to be executed (No in step S204), the control unit 107 ends the process.

[0085] Step S205: The control unit 107 sets the trigger type as the serial bus trigger type of the trigger setting for the data processing unit 104.

[0086] Step S206: The control unit 107 sets the voltage threshold calculated in step S109 as the trigger level for the trigger setting for the data processing unit 104.

[0087] Step S207: The control unit 107 sets the bit rate calculated in step S110 as the trigger setting bit rate for the data processing unit 104.

[0088] Step S208: The control unit 107 sets the polarity of the recessive potential calculated in step S111 as the recessive potential of the trigger setting for the data processing unit 104.

[0089] According to the waveform measurement instrument 10 of the embodiment as described above, it is possible to expand the range of waveform data to be referred to when automatically executing serial bus settings. More specifically, the waveform measurement instrument 10 includes a control unit 107 that automatically executes serial bus setting processing, and the control unit 107 is capable of automatically executing serial bus setting processing based on previously acquired waveform data. In this manner, the waveform measurement instrument 10 of the embodiment can use previously acquired waveform data as waveform data to be referred to when automatically executing serial bus settings. This allows the waveform measurement instrument 10 of the embodiment to expand the range of waveform data to be referred to when automatically executing serial bus settings to include previously acquired waveform data.

[0090] (Comparative Example) Next, a waveform measuring device according to a comparative example will be described. The configuration of the waveform measuring device according to the comparative example is similar to the configuration of waveform measuring device 10 shown in FIG.

[0091] The waveform measurement instrument of the comparative example differs from the waveform measurement instrument 10 of the embodiment in that it automatically executes the serial bus setting process based on the currently input signal, rather than previously acquired waveform data.

[0092] The operation of the waveform measuring instrument according to the comparative example will be described with reference to the flowchart shown in FIG.

[0093] Step S301: The waveform measurement instrument according to the comparative example performs initial settings for the data processing section and the control section. The waveform measurement instrument according to the comparative example initializes the horizontal axis scale, the number of acquisition points (record length), the trigger condition, and the waveform acquisition mode for all input channels.

[0094] Step S302: The waveform measuring instrument of the comparative example detects the maximum and minimum values ​​of an input signal at regular time intervals in the data processing unit. The waveform measuring instrument of the comparative example calculates a vertical axis scale capable of displaying the maximum and minimum values. The waveform measuring instrument of the comparative example sets the calculated vertical axis scale in the data processing unit. The waveform measuring instrument of the comparative example determines that an input signal is present when the difference between the maximum and minimum values ​​is equal to or greater than a predetermined value.

[0095] The waveform measurement instrument according to the comparative example displays channels for which it has determined that there is an input signal, and does not display channels for which it has determined that there is no input signal. The waveform measurement instrument according to the comparative example executes this process for all channels.

[0096] Step S303: The waveform measuring instrument according to the comparative example starts to capture waveform data based on the initial setting of the horizontal axis scale. The waveform measuring instrument according to the comparative example captures data for the number of points specified by the initial setting.

[0097] Step S304: The waveform measurement instrument according to the comparative example calculates a voltage threshold value for the waveform data of the channel for which it has been determined in step S302 that an input signal is present.

[0098] Step S305: The waveform measurement instrument according to the comparative example calculates a bit rate for the waveform data of the channel for which it has been determined in step S302 that an input signal is present.

[0099] Step S306: The waveform measurement instrument according to the comparative example detects the polarity of the recessive potential for the waveform data of the channel for which it has been determined in step S302 that there is an input signal.

[0100] Step S307: The waveform measuring instrument according to the comparative example sets the horizontal axis scale. The waveform measuring instrument according to the comparative example initially sets the horizontal axis scale that was set in the initial settings. When the waveform measuring instrument according to the comparative example determines No in step S310 (described later) and resets the horizontal axis scale, it sets the horizontal axis scale to a value one step smaller.

[0101] Step S308: The waveform measurement instrument according to the comparative example executes acquisition of waveform data using the set horizontal axis scale.

[0102] Step S309: The waveform measurement instrument according to the comparative example searches for the number of frames of the CAN signal from the waveform data held in the waveform data memory.

[0103] Step S310: The waveform measurement instrument in the comparative example determines whether the number of frames found in step S309 is within a predetermined range. If the number of frames is within the predetermined range (Yes in step S310), the waveform measurement instrument in the comparative example proceeds to step S311. If the number of frames is not within the predetermined range (No in step S310), the waveform measurement instrument in the comparative example returns to step S307.

[0104] Step S311: The waveform measurement instrument in the comparative example holds the horizontal axis scale when it is determined in step S310 that the number of frames is within the predetermined range.

[0105] Step S312: The waveform measuring instrument of the comparative example executes a setting process to set all of the information calculated or detected in steps S302 to S311 as settings for performing analysis according to the type of serial bus, or as trigger settings for the data processing unit.

[0106] As described above, the waveform measuring instrument of the comparative example automatically executes the serial bus setting process based on the currently input signal, and cannot automatically execute the serial bus setting process based on previously acquired waveform data.

[0107] Furthermore, the waveform measurement instrument according to the comparative example updates the waveform data in the waveform data memory when capturing the waveform data in step S303 shown in Fig. 6. Therefore, the waveform data being displayed, i.e., the latest waveform data stored in the waveform data memory, is also updated, and the serial bus setting process cannot be automatically executed based on the waveform data being displayed.

[0108] Furthermore, the waveform measurement instrument according to the comparative example automatically executes the serial bus setting process based on the currently input signal, and therefore cannot automatically execute the serial bus setting process when the interval between valid signals in the input signal is long, when no valid signal is input, etc. In contrast, the waveform measurement instrument 10 according to one embodiment executes the serial bus setting process based on previously acquired waveform data, and therefore can automatically execute the serial bus setting process even when the interval between valid signals in the input signal is long, when no valid signal is input, etc.

[0109] Furthermore, the waveform measurement instrument of the comparative example needs to set the vertical and horizontal scales because it executes the serial bus setting process based on the currently input signal, whereas the waveform measurement instrument 10 of the embodiment executes the serial bus setting process based on previously acquired waveform data, making it unnecessary to set the vertical and horizontal scales.

[0110] Furthermore, the waveform measurement instrument according to the comparative example executes the serial bus setting process based on the currently input signal, and therefore needs to execute waveform data capture as shown in step S303 of Fig. 6. This requires a trigger setting. In contrast, the waveform measurement instrument 10 according to one embodiment executes the serial bus setting process based on previously acquired waveform data, and therefore does not require a trigger setting.

[0111] (Modification) Next, a description will be given of a modified waveform measuring instrument 20. The configuration of the modified waveform measuring instrument 20 is similar to the configuration of the waveform measuring instrument 10 shown in FIG.

[0112] The waveform measuring instrument 20 of the modified example differs from the waveform measuring instrument 10 of the embodiment in that it selects either previously acquired waveform data or a signal currently being input, and automatically executes the serial bus setting process based on the selected one.

[0113] The operation of waveform measuring instrument 20 according to the modified example will be described with reference to the flowchart shown in FIG.

[0114] Step S401: Control unit 107 of waveform measurement instrument 20 according to the modified example selects waveform data to be subject to serial bus setting processing. Control unit 107 of waveform measurement instrument 20 according to the modified example selects waveform data to be subject to serial bus setting processing based on a user selection. Control unit 107 of waveform measurement instrument 20 according to the modified example may acquire the user selection based on an input from the user to operation unit 109 of waveform measurement instrument 20 according to the modified example.

[0115] Step S402: The control unit 107 of the waveform measuring instrument 20 according to the modified example determines whether the waveform data to be the target of the serial bus setting process is previously acquired waveform data. If the waveform data to be the target of the serial bus setting process is previously acquired waveform data (Yes in step S402), the control unit 107 of the waveform measuring instrument 20 according to the modified example proceeds to step S403. If the waveform data to be the target of the serial bus setting process is not previously acquired waveform data, i.e., if the waveform data to be the target of the serial bus setting process is a signal being input (No in step S402), the control unit 107 of the waveform measuring instrument 20 according to the modified example proceeds to step S404.

[0116] Step S403: Control unit 107 of waveform measurement instrument 20 according to the modified example executes serial bus setting processing based on previously acquired waveform data. This processing is similar to the processing of steps S101 to S112 shown in FIG.

[0117] Step S404: Control unit 107 of waveform measurement instrument 20 according to the modified example executes serial bus setting processing based on the signal being input. This processing is similar to the processing of steps S301 to S312 shown in FIG.

[0118] In this way, the waveform measurement instrument 20 according to the modified example can automatically execute the serial bus setting process based on either previously acquired waveform data or the signal currently being input, depending on the user's selection.

[0119] It is obvious to those skilled in the art that the present disclosure can be realized in other specific forms other than the above-described embodiments without departing from the spirit or essential characteristics thereof. Therefore, the above description is illustrative and not limiting. The scope of the disclosure is defined by the appended claims, not by the above description. Any modifications within the scope of the equivalents of all modifications are included therein.

[0120] For example, the arrangement and number of each component described above are not limited to the above description and the contents illustrated in the drawings. The arrangement and number of each component may be arbitrarily configured as long as the function can be realized.

[0121] For example, in the above-described embodiment, a case has been described in which waveform measurement instrument 10 executes the serial bus setting process based on waveform data stored in waveform data memory 103 and memory 108, but waveform measurement instrument 10 can also execute the serial bus setting process based on waveform data stored in a memory other than waveform data memory 103 and memory 108.

[0122] For example, in the above embodiment, the waveform measurement instrument 10 executes the serial bus setting process for CAN as an example, but the serial bus for which the waveform measurement instrument 10 executes the serial bus setting process is not limited to CAN. The waveform measurement instrument 10 can also execute the serial bus setting process for serial buses such as CAN FD (CAN with Flexible Data Rate), CXPI (Clock Extension Peripheral Interface), FlexRay, I2C, LIN (Local Interconnect Network), PSI5 (Peripheral Sensor Interface 5), SENT (Single Edge Nibble Transmission), SPI (Serial Peripheral Interface), CAN XL, and Ethernet.

[0123] For example, in the above-described embodiment, an example has been described in which waveform measurement instrument 10 executes the serial bus setting process, but it is also possible for an application on a computer such as a general-purpose PC (Personal Computer) to execute the serial bus setting process based on waveform data previously acquired by waveform measurement instrument 10. In this case, the computer such as a general-purpose PC acquires, from waveform measurement instrument 10, the waveform data previously acquired by waveform measurement instrument 10. Then, the computer such as a general-purpose PC automatically executes the serial bus setting process based on the acquired waveform data. [Explanation of symbols]

[0124] 10 Waveform measuring device 101 Preamp 102 AD converter 103 Waveform data memory (first memory) 104 Data Processing Unit 105 Display processing unit 106 Display section 107 Control Unit 108 Memory (Second Memory) 109 Operation section

Claims

1. A waveform measuring instrument capable of automatically executing a serial bus setting process, comprising: a control unit that automatically executes the serial bus setting process; An AD converter that converts an input signal having an analog waveform into waveform data having a digital value; a first memory for storing the waveform data converted by the AD converter; A second memory capable of storing the waveform data in a file format; A display unit capable of displaying the waveform data; Equipped with the control unit is capable of automatically executing the serial bus setting process based on previously acquired waveform data; The control unit automatically executes the serial bus setting process based on either first waveform data currently displayed on the display unit or second waveform data stored in the first memory as the previously acquired waveform data.

2. A waveform measuring instrument capable of automatically executing a serial bus setting process, comprising: a control unit that automatically executes the serial bus setting process; An AD converter that converts an input signal having an analog waveform into waveform data having a digital value; a first memory for storing the waveform data converted by the AD converter; A second memory capable of storing the waveform data in a file format; A display unit capable of displaying the waveform data; Equipped with the control unit is capable of automatically executing the serial bus setting process based on previously acquired waveform data; The control unit automatically executes the serial bus setting process based on any one of first waveform data currently displayed on the display unit, second waveform data stored in the first memory, and third waveform data stored in file format in the second memory as the previously acquired waveform data.

3. A waveform measuring instrument capable of automatically executing a serial bus setting process, comprising: a control unit that automatically executes the serial bus setting process; An AD converter that converts an input signal having an analog waveform into waveform data having a digital value; a first memory for storing the waveform data converted by the AD converter; A second memory capable of storing the waveform data in a file format; A display unit capable of displaying the waveform data; Equipped with the control unit is capable of automatically executing the serial bus setting process based on previously acquired waveform data; The control unit automatically executes the serial bus setting process based on any of the previously acquired waveform data: first waveform data currently being displayed on the display unit, second waveform data stored in the first memory, third waveform data stored in the second memory in file format, and fourth waveform data calculated using at least any of the first waveform data, the second waveform data, and the third waveform data.

4. A waveform measuring instrument capable of automatically executing a serial bus setting process, comprising: a control unit that automatically executes the serial bus setting process; The control unit is The serial bus setting process can be automatically executed based on previously acquired waveform data or a currently input signal; a waveform measuring instrument that selects either the previously acquired waveform data or the signal currently being input, and automatically executes the serial bus setting process based on the selected one.

5. 4. The waveform measuring instrument according to claim 3, Further comprising an operation unit capable of receiving an input from a user, The control unit determines, based on an input from the user to the operation unit, which of the first waveform data, the second waveform data, the third waveform data, and the fourth waveform data is to be used to automatically execute the serial bus setting process.

6. 4. The waveform measuring instrument according to claim 1, A waveform measuring instrument, wherein the first waveform data currently displayed on the display unit is the latest waveform data among the waveform data stored in the first memory.

7. 5. The waveform measuring instrument according to claim 1, The serial bus setting process automatically executed by the control unit includes: The control unit: calculating a voltage threshold based on a voltage histogram of the previously acquired waveform data; detecting rising edges and falling edges based on the voltage threshold, and calculating a bit rate based on the rising edges and the falling edges.

8. 5. The waveform measuring instrument according to claim 1, a serial bus for which the control unit executes the serial bus setting process is any one of CAN, CAN FD, CXPI, FlexRay, I2C, LIN, PSI5, SENT, SPI, CAN XL, and Ethernet.

9. A waveform measuring instrument capable of automatically executing a serial bus setting process, a control unit that automatically executes the serial bus setting process; An AD converter that converts an input signal having an analog waveform into waveform data having a digital value; a first memory for storing the waveform data converted by the AD converter; A second memory capable of storing the waveform data in a file format; A display unit capable of displaying the waveform data; A waveform measuring instrument comprising: a step of automatically executing the serial bus setting process based on either first waveform data currently being displayed on the display unit or second waveform data stored in the first memory as previously acquired waveform data.

10. A waveform measuring instrument capable of automatically executing a serial bus setting process, comprising: a control unit that automatically executes the serial bus setting process; An AD converter that converts an input signal having an analog waveform into waveform data having a digital value; a first memory for storing the waveform data converted by the AD converter; A second memory capable of storing the waveform data in a file format; A display unit capable of displaying the waveform data; A waveform measuring instrument comprising: a step of automatically executing the serial bus setting process based on any one of first waveform data currently being displayed on the display unit, second waveform data stored in the first memory, and third waveform data stored in a file format in the second memory as previously acquired waveform data.

11. A waveform measuring instrument capable of automatically executing a serial bus setting process, comprising: a control unit that automatically executes the serial bus setting process; An AD converter that converts an input signal having an analog waveform into waveform data having a digital value; a first memory for storing the waveform data converted by the AD converter; A second memory capable of storing the waveform data in a file format; A display unit capable of displaying the waveform data; A waveform measuring instrument comprising: a step of automatically executing the serial bus setting process based on any of previously acquired waveform data: first waveform data currently being displayed on the display unit, second waveform data stored in the first memory, third waveform data stored in a file format in the second memory, and fourth waveform data calculated using at least any of the first waveform data, the second waveform data, and the third waveform data.

12. A waveform measuring instrument capable of automatically executing a serial bus setting process, comprising: A waveform measuring instrument including a control unit that automatically executes the serial bus setting process, a step of selecting either previously acquired waveform data or a signal currently being input, and automatically executing the serial bus setting process based on the selected one.

Citation Information

Patent Citations

  • Waveform recorder

    JP1996146043A

  • Waveform-measuring instrument

    JP2009085710A

  • Waveform measuring device

    JP2010117236A

  • Test and measurement instrument and method

    JP2011059106A

  • Waveform measuring device and waveform measuring method

    JP2011257265A