KR20100123052A - Apparatus for integrating measurement using an usb interface - Google Patents

Apparatus for integrating measurement using an usb interface Download PDF

Info

Publication number
KR20100123052A
KR20100123052A KR1020090042058A KR20090042058A KR20100123052A KR 20100123052 A KR20100123052 A KR 20100123052A KR 1020090042058 A KR1020090042058 A KR 1020090042058A KR 20090042058 A KR20090042058 A KR 20090042058A KR 20100123052 A KR20100123052 A KR 20100123052A
Authority
KR
South Korea
Prior art keywords
digital
signal
trigger
input
data
Prior art date
Application number
KR1020090042058A
Other languages
Korean (ko)
Inventor
이재민
이춘일
Original Assignee
이재민
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 이재민 filed Critical 이재민
Priority to KR1020090042058A priority Critical patent/KR20100123052A/en
Publication of KR20100123052A publication Critical patent/KR20100123052A/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R13/00Arrangements for displaying electric variables or waveforms
    • G01R13/02Arrangements for displaying electric variables or waveforms for displaying measured electric variables in digital form
    • G01R13/0218Circuits therefor
    • G01R13/0236Circuits therefor for presentation of more than one variable
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R13/00Arrangements for displaying electric variables or waveforms
    • G01R13/20Cathode-ray oscilloscopes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R15/00Details of measuring arrangements of the types provided for in groups G01R17/00 - G01R29/00, G01R33/00 - G01R33/26 or G01R35/00
    • G01R15/12Circuits for multi-testers, i.e. multimeters, e.g. for measuring voltage, current, or impedance at will
    • G01R15/125Circuits for multi-testers, i.e. multimeters, e.g. for measuring voltage, current, or impedance at will for digital multimeters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/21Employing a record carrier using a specific recording technology
    • G06F2212/214Solid state disk
    • G06F2212/2146Solid state disk being detachable, e.g.. USB memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

PURPOSE: An integrated measurement device is provided to measure a device in a remote place by transmitting measurement data and information in a real time through the internet. CONSTITUTION: A signal input part(210) receives a signal which is generated in a measurement target device through a probe. A digital oscilloscope(220) samples a converted digital signal after converting an attenuated or amplified analog signal into a digital signal. A logic analyzer(230) samples the digital logic signal of 16 channels, which is inputted from the measurement target device through the signal input part. A USB interface(240) transmits sampling data, which is inputted from the digital oscilloscope and the logic analyzer, to a PC.

Description

Apparatus for integrating measurement using an USB interface}

The present invention relates to an integrated measuring device using a universal serial bus (hereinafter referred to as USB) interface.

In general, digital oscilloscopes and logic analyzers are general-purpose instrumentation for the development and maintenance of digital equipment.

As such, digital oscilloscopes and logic analyzers are frequently used equipment, but they are difficult to carry around due to their inconvenientness in carrying out tests and debugging in industrial fields.In addition, digital oscilloscopes and logic analyzers with various functions are expensive because of the high equipment cost. In the field or small and medium sized industrial sites, the price burden is a big problem.

In addition, such stand-alone equipment is less easy to move due to its size and weight, it is almost always for a single purpose measurement, and except for the latest expensive equipment, it is difficult to use the current network environment that is common. Since it is almost impossible, the utilization of the equipment was practically low despite the expensive equipment.

Therefore, in order to compensate for the portability and high price of these stand-alone equipments, it is not only integrated with various measurement equipments, but also connected to a notebook computer or a desktop computer to display measurement results and processing of measurement data on a computer. It only collects data, it is small and easy to carry and its price is lower than that of single equipment, so it can be developed and debugged without purchasing expensive single equipment. There is a need for the development of an integrated instrument that can also have an alternative effect of imported instruments.

SUMMARY OF THE INVENTION An object of the present invention is to provide an integrated measurement device using a USB interface that is miniaturized for easy portability by implementing a digital oscilloscope function of a 200 MHz band and a sampling 16-channel logic analyzer function so as to solve the above problems. .

Another object of the present invention is to connect an integrated instrument with a digital oscilloscope and logic analyzer function to a PC using a USB interface, and transfer data measured from an instrument to be measured to a PC via a USB interface to the data on the PC. An integrated measuring device using a USB interface for performing processing and display of measurement results is provided.

Still another object of the present invention is to design a low power device to be driven by a PC power source connected via a USB interface, an integrated instrument with a digital oscilloscope and logic analyzer function, so that no abnormality occurs in operation regardless of irregular PC power supply, The present invention provides an integrated measurement device using a USB interface that performs a protection function for notifying a PC power failure when the input power fluctuates largely or falls below a certain power supply.

An integrated measurement device using a USB interface according to the present invention for achieving the above object, the operation is set based on the measurement target device and the function setting data of the oscilloscope or logic analyzer input from the PC connected to the USB, and using the oscilloscope It performs attenuation, amplification, digital conversion, and sampling of the analog input signal inputted from the connected measurement target device, and then transfers the sampled data to the PC through the USB interface, and inputs from the connected measurement target device to use the logic analyzer. After the digital logic signal is sampled, the integrated instrument which transfers the sampled data to the PC through the USB interface, and the integrated instrument and USB are connected, and the function setting data of the integrated instrument according to the user's operation is To the integrated instrument And performing processing of the data based on the sampling data inputted through the USB interface from the instrumental, and a PC that by displaying the processed data on the display to check for abnormalities.

The integrated instrument may further include a signal input unit for receiving a signal generated from the measurement target device through a probe, attenuating and amplifying the analog input signal input from the measurement target device through the signal input unit, and converting the attenuated and amplified analog signal into a digital signal. A digital oscilloscope that converts the digital signal into a digital signal, a logic analyzer that samples 16 channels of digital logic signals input from the measuring device through the signal input unit, and the oscilloscope or logic analyzer input data from a PC. It outputs to a digital oscilloscope and logic analyzer, and includes a USB connection for transferring sampling data from the digital oscilloscope and logic analyzer to a PC.

As described above, according to the integrated measurement device using the USB interface of the present invention, the digital oscilloscope function of the 200 MHz band and the sampling 16 channel logic analyzer function which are inevitably required for the development of electronic products are integrated into one of the conventional commercial oscilloscope and logic analyzer. The display and monitoring applications are handled by a PC connected via a USB interface, which greatly reduces the size and cost of the product, and makes it possible to use two devices at a low cost. It is convenient for product A / S personnel to directly repair the product in the field, and it is possible to diagnose and repair the equipment at a long distance by transmitting various measurement data and information through the Internet in real time.

In addition, the integrated instrument with a digital oscilloscope and logic analyzer function is designed to be powered by a PC power source connected via a USB interface, and to use a separate power supply such as an adapter when an abnormal PC power supply causes an abnormal operation. And if the fluctuation range of input power is big or less than a certain power, it protects the PC power.

In addition, because of the cost, small and medium-sized companies that use only oscilloscopes, and small industrial or educational sites, the integrated instrument with the built-in digital oscilloscope and logic analyzer function can be used together with the oscilloscope and expensive logic analyzers. As the burden on equipment is reduced, it can play a sufficient role as activating product development in the industrial field and educational equipment in the field of education, thereby enhancing the development of microcomputer design and application developers and strengthening product competitiveness.

Hereinafter, an integrated measuring device using a USB interface of the present invention will be described in detail with reference to the accompanying drawings.

1 is a block diagram schematically showing the configuration of an integrated measurement device using a USB interface according to the present invention.

As shown, the integrated measuring device of the present invention is composed of the measurement target device 100, the integrated measuring device 200, the PC 300 and the like.

The measurement target device 100 is a digital device that requires development or maintenance, and in the field, a worker connects the integrated oscillator 200 equipped with the digital oscilloscope 220 and the logic analyzer 230 to perform various tests and debugging. do.

The integrated instrument 200 sets an operation based on the function setting data of the digital oscilloscope 220 or the logic analyzer 230 inputted from the USB-connected PC 300, and is connected to use the digital oscilloscope 220. After the attenuation, amplification, digital conversion, and sampling of the analog input signal input from the device 100, the sampled data is transmitted to the PC 300 through the USB interface, and the measurement connected to use the logic analyzer 230. After sampling the digital logic signal input from the target device 100, the sampled data is transmitted to the PC 300 through the USB interface.

The PC 300 is a notebook computer, a desktop computer, or the like, and is connected to the integrated meter 200 through a USB, and the function setting data of the integrated meter 200 according to a user's operation is transferred to the integrated meter 200 through a USB interface. Transmit, process the data based on the sampling data input from the integrated instrument 200 through the USB interface, and displays the processed data on the screen to check the operator for abnormalities.

In other words, the integrated measurement device of the present invention is a high-speed calculation processing and screen output function of the digital oscilloscope 220 and logic analyzer 230 to be processed in a PC 300 that can be easily accessed in a general industrial field, the measurement target device 100 Acquiring data from the PC and transmitting the acquired data to the PC 300 is performed by the integrated measuring instrument 200, so that the size is small to be portable and the price is lower than that of a single device, so that development and debugging can be performed without purchasing expensive equipment. In addition to increasing national competitiveness in small and medium-sized businesses, education sites, and so on, it has the effect of replacing import instruments.

In addition, the digital oscilloscope 220 and the logic analyzer 230 constituting the integrated instrument 200 do not use separate processors, but rather process the sampling data and process the processed sampling data based on one processor. The transmission to the PC 300 is performed.

The integrated instrument 200 described above includes a signal input unit 210, a digital oscilloscope 220, a logic analyzer 230, and a USB connection unit 240.

The signal input unit 210 outputs an analog input signal input from the measurement target device 100 through a probe to the digital oscilloscope 220 or the logic analyzer 230.

The digital oscilloscope 220 attenuates and amplifies the analog input signal input from the measurement target device 100 through the signal input unit 210, converts the attenuated and amplified analog signal into a digital signal, and samples the converted digital signal. After output to the PC 300 via the USB connection 240.

The logic analyzer 230 samples the 16-channel digital logic signal input from the measurement target device 100 through the signal input unit 210, and sends the sampled digital logic signal to the PC 300 through the USB connection unit 240. Output

The USB connection unit 240 outputs the function setting data of the oscilloscope or logic analyzer input from the PC 300 to the digital oscilloscope 220 and the logic analyzer 230, and is input from the digital oscilloscope 220 and the logic analyzer 230. The sampled data is transmitted to the PC 300.

In addition, the integrated instrument 200 operates by receiving power from a PC 300 connected through a USB interface, and the variation range of the power input from the PC 300 is out of a predetermined normal error range or is below a predetermined power supply. When the control of the message display that informs the PC power failure on the monitor of the PC (300).

FIG. 2 is a detailed block diagram illustrating the configuration of the digital oscilloscope 220 of FIG. 1.

As shown, the digital oscilloscope 220 of the present invention processes a frequency band of 200 MHz, and the analog / digital conversion function and some input signal processing functions of a conventional digital oscilloscope include a digital oscilloscope ( 220, and implements most of the functions of the digital oscilloscope in software using the basic functions of the PC 300 capable of the monitor, the main body, the keyboard, the mouse, the Internet connection, and the like.

That is, the processing of the sampling data is processed by the digital oscilloscope 220, the processed sampling data is transmitted to the PC 300 and displayed on the monitor, and all resources (for example, LAN, HDD) mounted on the PC 300. , Keyboard, memory, and other applications).

The digital oscilloscope 220 includes an attenuator 221, an amplifier 222, an analog / digital converter 223, a digital / analog converter 224, a trigger 225, and a digital signal processor 226. And the like.

The attenuator 221 attenuates the amplitude of the analog input signal input from the measurement target device 100 through the signal input unit 210 according to a predetermined voltage range and outputs the amplified unit 222. The attenuator 221 is typically composed of a resistor divider circuit and a filter to compensate for linearity and frequency characteristics of an input signal, and requires an accurate attenuation ratio, and thus requires high precision resistance and corrects frequency characteristics. Variable capacitor is built in so that it can be used.

The amplifier 222 amplifies the analog input signal attenuated by the attenuator 221 and outputs the amplified analog / digital converter 223.

The analog / digital converter 223 converts the analog input signal amplified by the amplifier 222 into a discrete digital signal and outputs it to the digital signal processor 226. At this time, the analog input signal and the discrete digital output signal should maintain linearity and be configured to minimize bit error.

The digital / analog converter 224 converts the digital reference signal for the operation of the amplifier 222 into analog under the control of the digital signal processor 226 and outputs the analog signal.

The trigger unit 225 generates a synchronization signal for making it appear as if the user stopped to confirm the signal input to the oscilloscope through the PC 300 at any time.

The digital signal processing (FPGA; field programmable gate array) unit 226 controls the operation setting of the digital oscilloscope 220 according to various function setting data of the oscilloscope input from the PC 300 through the USB connection unit 240, The digital signal is converted through the analog / digital converter 223, and the sampled data is output to the PC 300 through the USB connection unit 240.

FIG. 3 is a view for explaining the operation of the trigger unit 225 of FIG. 2 in more detail. The input signal from the amplifying stage of each channel and the external trigger input terminal are controlled by the digital signal processor 226. A trigger source selector 225a for switching the trigger source among the extracted signals, a trigger level controller 225b for changing the level of the trigger source selected through the trigger source selector 225a, and a trigger source selector 225a. The trigger couple / trigger mode path unit 225c for filtering the trigger signal according to a user's setting among the trigger sources, and the same pulse as the period of the trigger source signal output through the trigger couple / trigger mode path unit 225c. And a trigger pulse generator 225d for generating a trigger pulse at a rising or falling edge under the control of the digital signal processor 226.

On the other hand, the digital signal sampled through the digital oscilloscope 220 of the integrated instrument 200 configured as described above is processed and interpreted by software in the PC 300, the processed data is displayed on the monitor, and remote communication and control Perform the function.

Such software is largely a hardware interface for controlling the digital oscilloscope 220, a data processor for calculating mathematically using a microprocessor of the PC 300, a transfer function for transferring the calculated data to a user through a peripheral device or the Internet, It can be divided into four types, such as a user interface operated by a user.

The hardware interface may be configured to notify the current hardware status of the oscilloscope or read sampling data into the PC 300 (FPGA register read), and write operation for transferring various variables for hardware control of the oscilloscope (FPGA register write). , A function of reading a signal directly connected to an input / output (I / O) port (direct register read), a function of checking whether a hardware of the PC 300 and the digital oscilloscope 220 is connected (Hardware detection function), etc. Hardware I / O function, analog / digital converter control for sampling period designation, memory control for storing and reading converted data from analog / digital converter, sampling buffer size, sampling start / stop operation Buffer and device control, sampling completion status, oscilloscope on / off, roll / real-time (RTS) / record Digital Part Control (Time Division) functions such as digital control, RTSC / ATC mode selection, AC coupling mode to remove DC components from the original signal and see only AC components Coupling selection, attenuator control, and amplifier gain control, such as DC coupling mode to observe attenuated but not distorted, and ground (GND) mode to know the reference voltage level. Analog Part Control (Voltage Division) and trigger logic interface such as trigger coupling selection, trigger source selection, trigger mode selection, trigger level control, and trigger edge control.

The data processor provides a function of prescaling input data, and bypasses and frequency components that are only scattered on the screen without a specific mathematical algorithm when displaying the prescaled data. Math functions such as FFT (Fast Fourier Transform), Sinc Interpolation that smoothly connects rough sampling intervals, and Finite Impulse Response (FIR) filters that cut out components above a certain frequency, and grids when using digital oscilloscopes. It is common to judge the intuition of the observer and the waveform, but when the cursor needs to be used for accurate measurement, it provides two cursors, one for vertical and one for horizontal (the horizontal cursor is used for measuring vertical components (voltage, gain)). , The vertical cursor is used to measure the horizontal component (time, frequency) Function, an autoset function to set an environment that can ideally see the waveform currently being input, and a calibration function used to correct a different characteristic in the hardware manufacturing process or the use environment. There is this.

The transfer function corrects the error due to the environment and the clipboard function that saves the screen being measured to the clipboard for use in other programs, the file for storing the environment variables related to the oscilloscope execution. A hard disk drive (HDD) interface function, such as a calibration result file, which is a function to be executed, and a waveform file, which is a function of storing or loading a displayed waveform into a file.

The user interface includes the display function according to the scope mode, FFT mode, SINC Interpolation, XY mode, cursor on / off selection, horizontal scroll function, trigger lamp function, color setting function to change the color of the display window, and I / O port selection. Configuration function such as probe selection, probe function, backdoor function provided to hardware developers and after-sales service personnel, help function containing information related to the production of digital oscilloscope, and warning to user during program execution. There is a message box for providing a message for a function such as confirmation / notification, and a printer interface for automatically outputting a waveform currently being displayed.

4 is a diagram illustrating an example of an execution screen for calculating and displaying data measured by the digital oscilloscope 220 of the integrated instrument 200 of the present invention by using a software on the PC 300 as described above. Various examples of waveforms measured by the digital oscilloscope 220 of the integrated measuring instrument 200 according to the present invention are shown.

FIG. 6 is a detailed block diagram illustrating the configuration of the logic analyzer 230 of FIG. 1.

As shown, the logic analyzer 230 receives 16 channels of digital logic signals from the measurement target device 100 and outputs high or low signals through a comparator, and 16 signals are sampled through digital signal processing. When the storage is completed in the internal memory or external memory is generated an interrupt is transmitted to the PC 300 via the USB interface, the user can measure and manage the data transmitted to the PC 300 through the application program.

The logic analyzer 230 includes a digital / analog converter 231, a comparator 232, a digital signal processor 233, a memory 234, a microprocessor 235, a power supply 236, and the like.

The digital / analog converter 231 generates a reference voltage under the control of the digital signal processor 233 and outputs the reference voltage to the comparator 232.

The comparison unit 232 compares the 16-channel analog input signal input from the measurement target device 100 through the signal input unit 210 with the reference voltage input from the digital / analog converter 231 and based on the comparison result. Outputs analog input signal to logic level high or low voltage. In other words, in order to make the analog input signal into the logic level high and low voltage, the comparison circuit should be used. The comparison circuit having the small output propagation delay time of the comparator can bring the speed of the input analog signal high. In addition, since the comparator 232 needs to receive 16 channels of high-speed analog signals as an input signal, if the input line of the comparator becomes longer, unwanted parasitic feedback may occur, so the length of the input line is wired as short as possible. In order to reduce skew, which is a delay error between 16 channel input signals, the length of 16 input lines should be the same so that a high performance of a comparator can be expected when a high speed analog signal is applied.

The digital signal processor 233 samples the 16-channel high or low digital logic signals input from the comparator 232, stores the sampled digital logic signals internally, or stores them in an external memory 234. When the storage of the digital logic signal is completed, an interrupt is generated and output to the microprocessor 235.

The memory 234 stores the digital logic signal sampled by the digital signal processor 233, and outputs the stored sampled digital logic signal at the request of the microprocessor 235.

The microprocessor 235 controls the operation setting of the logic analyzer 230 according to various function setting data of the logic analyzer 230 input from the PC 300 through the USB connection 240, and the digital signal processor 235. When an interrupt is generated from the digital signal processor 233 or the external memory 234, the sampled digital logic signal stored in the output via the USB connection unit 240 to the PC 300.

The power supply unit 236 is a power supply (for example, 2.5V, 3.3V, 5V, etc.) for the operation of the digital / analog converter 231, the comparator 232, the digital signal processor 233, and the memory 234. ).

FIG. 7 is a block diagram illustrating the configuration of the digital signal processor 233 of FIG. 6 in detail, and is input from the comparator 232 at the rising edge and the falling edge of a 100 MHz clock to realize a sampling rate of up to 200 MHz. Sampling of the high or low digital logic signal, and outputs two 100MHz sampling data, and the sampling unit 233a and even number of odd-numbered sampling data sampled at the rising edge and the falling edge through the sampling unit 233a An external memory interface unit 233b for interfacing to store the first sampling data in the external memory 234 and used when the external memory 234 is not used, comprises two FIFO (First In First Out) memories. The internal memory unit 233c, which stores the odd-numbered and even-numbered sampling data, and the user via the PC 300 by the logic analyzer 230. A trigger unit 233d for generating a trigger signal and capturing a digital logic signal sampled by the sampling unit 233a based on a condition set for selecting predetermined data, and a sampling unit ( When the storage of the digital logic signal sampled through 233a is completed, an interrupt is generated by the microprocessor 235 to take data, and an interface unit 233e for setting a value in each register inside the digital signal processor 233. It consists of

8 and 9 are views illustrating an example of a sampling timing diagram performed by the sampling unit 233a of FIG. 7 and an operation of the sampling unit 233a, and sampling at a clock of 100 MHz with respect to the comparison voltage output of CH1. To show It is sampled on the rising and falling edges, resulting in two 100MHz sample data outputs. Two odd and even sample data outputs are stored in internal memory or external memory 234. Each remaining channel is sampled in the same way. By sampling at dual edges rather than sampling at single edges, the storage memory size doubles over single edge sampling. In addition, since the sampled data has odd and even data, even when reading from the stored memory, the odd and even data must be alternately read to reconstruct the correct data.

FIG. 10 is a view illustrating an operation structure of a ring buffer for explaining a mechanism of storing sampling data by using the memory 234 in the external memory interface 233b of FIG. 7. In case of setting 50% of ring buffer, ring buffer has separate write point and read point of memory, and if write point is equal to total memory, full signal occurs and if read point is equal to write point, An empty signal is generated. The first operation of the ring buffer is to first write 524,288 data, or 50% of the 1,048,576 total data in SRAM memory. While writing up to 50%, the read operation is not performed. The second operation reads and writes to SRAM memory and waits for a trigger event (which occurs when the trigger condition is met). If the trigger event does not come in because 524,288 were first written to the SRAM memory, the SRAM memory interface control logic does not generate a full signal, so it will continue to write to the SRAM memory and wait for the trigger event. When a trigger event occurs, the read operation is stopped and only 50% of the memory (524,288) is written, and all operations are terminated. By doing so, data is stored in 50% (524,288) left and right based on the trigger event. When the data in the SRAM memory is full, a memory full signal is generated, and according to the signal, the microprocessor 235 is interrupted to inform the user to take the data.

FIG. 11 is a diagram for describing an operation of the internal memory unit 233c of FIG. 7, in which odd-numbered sampling data is stored in FIFO1, even-numbered sampling data is stored in FIFO2, and when an interrupt is generated, the microprocessor 235. Takes the odd-numbered sampling data stored in FIFO1 and the even-numbered sampling data stored in FIFO2.

FIG. 12 is a diagram illustrating a position of a trigger generated by the trigger unit 233d of FIG. 7. The trigger used in the logic analyzer 230 is different from the trigger of the digital oscilloscope 220. That is, the logic analyzer 230 may set various trigger conditions, but the digital oscilloscope 220 may set triggers only for binary conditions. The acquisition memory for storing the sampled data is divided into a pre trigger data area and a post trigger data area according to the trigger position. The trigger position in the acquisition memory can be changed by the user, and the method applied to find the trigger position is a method using a counter inside the digital signal processor 233. Since the external memory is a maximum 1M word area, the output of the counter also has 20 bits of bandwidth of 1M words (1,048,576). When the memory inside the digital signal processor 233 is used as an acquisition memory, a maximum of 2K words (2048) is required, and thus an 11-bit counter output value is required. In the present invention, the basic edge trigger and the pattern trigger are designed based on the basic method. The edge trigger is a method of triggering on the rising edge or the falling edge of the input data of one channel among the 16 channels, and can be viewed in the same manner as the basic trigger of the oscilloscope. The pattern trigger is a method that is triggered when 1 or 0, that is, information of each 16 channel value, matches all 16 channel pattern values set by the user. The pattern trigger is implemented using a 16 channel comparator. If it is the same, it will print 1, or 0.

FIG. 13 is a diagram schematically illustrating a configuration of the trigger unit 233d of FIG. 7, in which sampled 16 channel data is input to an edge trigger block and a pattern trigger block. In the edge trigger block, one channel of the 16 channels is passed to the trigger selection block. The 16 channel data inputted into the pattern trigger block is compared with the 16 channel user pattern, and if the same is 1, 0 is generated and transferred to the trigger selection block. In the trigger selection block, the trigger signal is selected according to the trigger type (edge or pattern) set by the user. In the trigger selection block, the trigger signal is generated after the PRE region is counted so that the trigger signal can be generated only after the PRE trigger position in the PRE trigger count, and the trigger signal is enabled or disabled. The final trigger signal is fed into either the external memory control or the internal memory control, allowing writing to the acquisition memory as much as the POST trigger data area after the trigger.

14 is a flowchart illustrating the operation of the microprocessor 235 of FIG. 6 in more detail. The microprocessor 235 plays a role of communication of acquired data between the PC 300 and the digital signal processor 233. And manage the hardware system of the entire logic analyzer 230.

That is, when power is supplied to the logic analyzer 230 (S10), the microprocessor 235 is initialized (S20), and the digital signal processor 233 is also initialized (S30). The command 300 maintains the command reception standby state (S40), and determines whether the command reception is completed from the PC 300 (S50).

When the command reception from the PC 300 is completed, the microprocessor 235 performs the operation setting of the digital signal processing unit 233 (S60), waits for the interrupt reception (S70), and receives the signal from the digital signal processing unit 233. It is determined whether an interrupt is generated (S80).

When an interrupt is generated from the digital signal processor 233, the microprocessor 235 transmits the digital logic signal sampled by the digital signal processor 233 to the PC 300 through the USB connection unit 240, and after step S40. Repeatedly performs (S90).

On the other hand, the digital signal sampled through the logic analyzer 230 of the integrated instrument 200 configured as described above is processed and interpreted by software in the PC 300, the processed data is displayed on the monitor, and the telecommunication and control Perform the function.

As described above, the software implemented on the PC 300 sends a command for data acquisition to the logic analyzer 230 through a USB interface to set hardware components necessary for data acquisition, and reads data when the data is acquired to load the PC 300. On the monitor. In addition, the acquired binary data can be analyzed on the screen (binary value display, zoom function, etc.), output to a printer, and a graphic user interface (GUI) is provided to allow file storage.

That is, when the software is started, the software and hardware are initialized by reading the configuration file, and when the command of data acquisition occurs, the acquired data is read from the hardware through the USB interface, stored in the memory of the PC, and the acquired data is displayed on the screen. It displays the signal in and analyzes the data through the control object. You can also save and print data files.

The user graphical interface can be divided into two parts: controlling hardware characteristics for data acquisition, and a main GUI section for displaying and analyzing data from the logic analyzer's hardware.

As shown in FIG. 15, the hardware controlling part shows a list of connected logic analyzers and selects a module name that can be selected, a sample clock speed that selects a sampling rate of data, and a threshold setting of a hardware signal. Control setting part, and values related to the trigger which is the basis of data acquisition (for example, the trigger position which determines where the trigger position is to be viewed from the whole data, the trigger type which sets the pattern type and the edge type, etc.) There is a trigger setting part.

As shown in FIG. 16, the main GUI part is a signal display showing 2048 samples with values of 0 and 1 for each channel, and a cursor display where data values at that point are displayed for each channel when a mouse is clicked on the signal display screen. The display part consists of a pattern that can change the trigger value with six patterns each time the mouse is clicked, the channel where the name of each channel is displayed, and the position and size of the part displayed on the screen for the entire part of the data. A diagram that shows the zoom, multi-sized zooming, page movement for data movement back and forth on the screen, trigger points, X cursor points, O cursor points, and time values between two points based on each criterion. Display control part composed of time base control, etc., and start / end of data read , Whether to receive in succession the data one-time selection of whether to receive, can be divided into the acquisition control portion is configured to read data of a current status indicator.

FIG. 17 is a diagram illustrating an example of an execution screen for calculating and displaying data sampled by the logic analyzer 230 of the integrated instrument 200 according to the present invention by software on the PC 300 as described above. A diagram illustrating a 100 MHz read / write simulation result of SRAM using the logic analyzer 230 of the integrated instrument 200 according to the present invention.

Herein, while the present invention has been described with reference to the preferred embodiments, those skilled in the art will variously modify the present invention without departing from the spirit and scope of the invention as set forth in the claims below. And can be changed.

1 is a block diagram schematically showing the configuration of an integrated measurement device using a USB interface according to the present invention;

2 is a block diagram showing in detail the configuration of the digital oscilloscope of FIG.

3 is a view for explaining the operation of the trigger of FIG.

4 is a diagram illustrating an example of an execution screen displaying data measured by the digital oscilloscope of FIG. 2 on a PC;

5 is a diagram illustrating various examples of waveforms measured by the digital oscilloscope of FIG. 2;

6 is a block diagram showing in detail the configuration of the logic analyzer of FIG.

7 is a block diagram illustrating in more detail the configuration of the digital signal processor of FIG. 6;

8 is a diagram illustrating an example of a sampling timing diagram performed by the sampling unit of FIG. 7;

9 is a view for explaining the operation of the sampling unit of FIG.

FIG. 10 is a view illustrating an operation structure of a ring buffer for explaining a mechanism of storing sampling data using a memory in the external memory interface of FIG. 7; FIG.

FIG. 11 is a diagram for describing an operation of an internal memory unit of FIG. 7;

12 is a view illustrating a position of a trigger generated in the trigger unit of FIG. 7;

FIG. 13 is a view schematically illustrating a configuration of a trigger unit of FIG. 7;

14 is a flow chart for explaining in detail the operation of the microprocessor of FIG.

15 is a view showing an example of a setting dialog for controlling hardware characteristics of a logic analyzer displayed on a PC;

16 is a diagram illustrating an example of a main GUI of a logic analyzer displayed on a PC;

FIG. 17 is a diagram illustrating an example of an execution screen displaying data measured by a logic analyzer of FIG. 6 on a PC; FIG.

FIG. 18 is a diagram illustrating a 100 MHz read / write simulation result of SRAM using the logic analyzer of FIG. 6.

Explanation of symbols on the main parts of the drawings

100: measuring target device 200: integrated instrument

210: signal input 220: digital oscilloscope

221: attenuation part 222: amplification part

223: analog / digital converter 224: digital / analog converter

225: trigger unit 226: digital signal processing unit

230: logic analyzer 231: digital to analog converter

232: comparison unit 233: digital signal processing unit

234: memory 235: microprocessor

236: power supply 240: USB connection

300: PC

Claims (8)

Measuring instrument, Set the operation based on the function setting data of the oscilloscope or logic analyzer input from the USB-connected PC, and perform the attenuation, amplification, digital conversion, and sampling of the analog input signal input from the measurement target device connected to use the oscilloscope. After that, the sampled data is transferred to the PC through the USB interface, the digital logic signal inputted from the connected measurement target device is used to use the logic analyzer, and then the sampled data is transferred to the PC through the USB interface. Instrument, and The function setting data of the integrated instrument according to a user's operation is transmitted to the integrated instrument through a USB interface, and the data is based on sampling data input from the integrated instrument through the USB interface. A PC that performs processing and displays processed data on the screen to check for abnormalities. Integrated measurement device using a USB interface included. The method of claim 1, The integrated instrument, A signal input unit which receives a signal generated from the measurement target device through a probe; A digital oscilloscope for attenuating and amplifying the analog input signal input from the measurement target device through the signal input unit, converting the attenuated and amplified analog signal into a digital signal, and sampling the converted digital signal; A logic analyzer for sampling 16 channels of digital logic signals inputted from the measurement target device through the signal input unit, and USB connection unit for outputting function setting data of the oscilloscope or logic analyzer inputted from the PC to the digital oscilloscope and the logic analyzer, and transmitting sampling data input from the digital oscilloscope and the logic analyzer to the PC. Integrated measurement device using a USB interface included. The method of claim 2, The digital oscilloscope, An attenuation unit for attenuating and outputting an amplitude of the analog input signal input from the measurement target device through the signal input unit according to a predetermined voltage range; An amplifier for amplifying and outputting the analog input signal attenuated by the attenuator; An analog / digital converter converting the analog input signal amplified by the amplifier into a discrete digital signal; A digital / analog converter for converting and outputting a digital reference signal for operation of the amplifier to analog; A trigger unit for generating a synchronization signal for making it appear as if the user stopped the signal input to the oscilloscope at any time through the PC; and Control operation settings of the digital oscilloscope according to various function setting data of the oscilloscope input from the PC through the USB connection unit, perform sampling of the digitally converted input signal through the analog / digital converter, and sample the data. Digital signal processing unit for outputting to the PC via the USB connection unit Integrated measurement device using a USB interface included. The method of claim 3, wherein The trigger unit, A trigger source selector for switching a trigger source among an input signal from an amplifier stage of each channel and a signal input from an external trigger input terminal according to the control of the digital signal processor; A trigger level controller for changing a level of a trigger source selected through the trigger source selector; A trigger couple / trigger mode pass unit for filtering a trigger signal according to a user's setting among the trigger sources selected by the trigger source selector, and A trigger pulse generator for generating a pulse equal to a period of a trigger source signal output through the trigger couple / trigger mode pass unit, and generating a trigger pulse at rising or falling edges under the control of the digital signal processor. Integrated measurement device using a USB interface included. The method of claim 2, The digital oscilloscope, Integrated measurement device using the USB interface having a frequency band of 200MHz. The method of claim 2, The logic analyzer, A digital / analog converter for generating a reference voltage The 16-channel analog input signal inputted from the measurement target device through the signal input unit and the reference voltage input from the digital / analog converter are compared. Output comparator, Sampling 16 logic high or low digital logic signals input from the comparator, storing the sampled digital logic signals in an internal or external memory, and generating an interrupt when the storage of the sampled digital logic signals is completed. Digital Signal Processing Unit, The operation of the logic analyzer is controlled according to various function setting data of the logic analyzer inputted from the PC through the USB connection unit, and when an interrupt is generated from the digital signal processor, it is stored in the digital signal processor or in an external memory. A microprocessor for outputting the sampled digital logic signal to the PC through the USB connection; The digital / analog converter, comparator, digital signal processor, and a power supply for supplying power for the operation of the memory Integrated measurement device using a USB interface included. The method of claim 6, The digital signal processing unit, Sampling unit for sampling the digital logic signal of the high or low input from the comparator at the rising edge and the falling edge of the 100MHz clock to implement a maximum sampling rate of 200MHz, and outputs two 100MHz sampling data, An external memory interface unit for interfacing the odd-numbered sampling data and the even-numbered sampling data sampled at the rising edge and the falling edge through the sampling unit to the external memory; Used when no external memory is used, it consists of two FIFO (First In First Out) memories to store odd-numbered and even-numbered sampling data. Trigger unit for generating a trigger signal when a signal is input based on a condition set by the user to select data measured by a logic analyzer through the PC to capture a digital logic signal sampled by the sampling unit , And When the storage of the digital logic signal sampled through the sampling unit is completed, the microprocessor generates an interrupt to take data and sets an interface unit to set a value in each register inside the digital signal processor. Integrated measurement device using a USB interface included. The method of claim 1, The integrated instrument, It operates by receiving power from the PC connected via the USB interface, Integrated measurement device using a USB interface for controlling the display of a message indicating a PC power failure on the monitor of the PC when the fluctuation range of the power input from the PC is out of a predetermined normal error range or less than a predetermined power supply.
KR1020090042058A 2009-05-14 2009-05-14 Apparatus for integrating measurement using an usb interface KR20100123052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090042058A KR20100123052A (en) 2009-05-14 2009-05-14 Apparatus for integrating measurement using an usb interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090042058A KR20100123052A (en) 2009-05-14 2009-05-14 Apparatus for integrating measurement using an usb interface

Publications (1)

Publication Number Publication Date
KR20100123052A true KR20100123052A (en) 2010-11-24

Family

ID=43407775

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090042058A KR20100123052A (en) 2009-05-14 2009-05-14 Apparatus for integrating measurement using an usb interface

Country Status (1)

Country Link
KR (1) KR20100123052A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101657940B1 (en) * 2015-08-12 2016-09-22 주식회사 네오텍 Portable voltage measurement device and voltage measurement method using the same based on USB OTG
CN116148568A (en) * 2022-12-30 2023-05-23 北京航天测控技术有限公司 Analog signal comprehensive measurement device based on FPGA

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101657940B1 (en) * 2015-08-12 2016-09-22 주식회사 네오텍 Portable voltage measurement device and voltage measurement method using the same based on USB OTG
CN116148568A (en) * 2022-12-30 2023-05-23 北京航天测控技术有限公司 Analog signal comprehensive measurement device based on FPGA

Similar Documents

Publication Publication Date Title
EP1156338B1 (en) Streaming distributed test and measurement instrument
US6789030B1 (en) Portable data collector and analyzer: apparatus and method
US20090113183A1 (en) Method of controlling a device and a device controlled thereby
US8996928B2 (en) Devices for indicating a physical layer error
US20130006570A1 (en) Unbound oscilloscope probe systems-using rf and or optical test point links - provides operational access and mobility
CN112612656A (en) Online debugging system for digital nuclear pulse processor
US7325171B2 (en) Measurement and data acquisition system including a real-time monitoring circuit for implementing control loop applications
JP2019135467A (en) Failure diagnosis system
CN114047378B (en) Signal voltage detection method, system, equipment and server
KR20100123052A (en) Apparatus for integrating measurement using an usb interface
CN201796119U (en) Programmable digital integrated circuit alternating-current parameter testing system
US6990416B2 (en) Qualification signal measurement, trigger, and/or display system
Lawton et al. Pulse and time-domain measurements
EP0702235A1 (en) Graphical trend display methods and apparatus in a test instrument
CN102004686B (en) Current measuring device and computer system thereof
US10775428B2 (en) System and device for automatic signal measurement
WO2004099987A1 (en) Logic analyzer data retrieving circuit and its retrieving method
KR100307011B1 (en) Digital measurement device having remote control function using internet and controlling method thereof
McConnell et al. Data acquisition
JP4941725B2 (en) Waveform measuring device
US6725172B2 (en) Systems and methods for tagging measurement values
Zet et al. FPGA Based Logic Analyzer
Axer et al. A Test Setup for Quality Assurance of Front End Hybrids
CN217739890U (en) Signal edge detection module
CN210376650U (en) Cable testing device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
NORF Unpaid initial registration fee