Triggering system of broadband oscilloscope, triggering compensation method of triggering system, upper computer and medium

By adding the amplitude difference calculation module and the upper computer to perform error compensation correction of the comparison level in the triggering system of the broadband oscilloscope, the triggering problem caused by the signal processing module to control the measured signal is solved, and the accuracy of the triggering system is improved.

CN119689055AActive Publication Date: 2025-03-25成都玖锦科技有限公司
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202411857973.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-03-25
Estimated Expiration
2044-12-17

AI Technical Summary

Technical Problem

The triggering system of existing broadband oscilloscopes performs gain control and other processing on the measured signal because the signal processing module performs gain control and other processing on the measured signal, resulting in inconsistent signal waveform amplitudes during primary and secondary triggers, thereby reducing the trigger accuracy.

Method used

By adding an amplitude difference calculation module to the trigger system of a broadband oscilloscope, the amplitude difference of the measured signal waveform before and after processing by the signal processing module is calculated, and the upper computer is used to perform error compensation correction on the comparison level of the first-stage trigger module.

Benefits of technology

The trigger accuracy of the broadband oscilloscope trigger system is improved, ensuring that the signal waveform amplitudes are consistent during first-stage trigger and second-stage trigger, thereby improving the overall performance of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119689055A_ABST
    Figure CN119689055A_ABST
Patent Text Reader

Abstract

The invention discloses a trigger system of a broadband oscilloscope, a trigger compensation method of the trigger system, an upper computer and a medium, and relates to the technical field of oscilloscopes. The method comprises the following steps: controlling an acquisition module to perform channel acquisition to obtain parallel detected signals; the first amplitude difference sent by the amplitude difference calculation module is received, and the second amplitude difference sent by the signal processing module is received; the first amplitude difference is the difference between the waveform amplitude of the measured signal which is not processed by the signal processing module and the waveform amplitude of the measured signal which is processed by the signal processing module, and the second amplitude difference is the amplitude value of gain compensation; compensating and correcting a first initial comparison level of the primary trigger module based on the first amplitude difference and the second amplitude difference; the first initial comparison level is the same as the second initial comparison level of the secondary trigger module. Therefore, error compensation is carried out on the comparison level of primary triggering, and the triggering accuracy of the broadband oscilloscope triggering system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of oscilloscopes, and in particular to a trigger system of a broadband oscilloscope and a trigger compensation method thereof, a host computer, and a medium. Background Art

[0002] At present, the advanced trigger scheme of oscilloscopes mainly adopts a two-level trigger mechanism, that is, coarse positioning is first performed through the first-level trigger, and then precise positioning is performed based on the coarse trigger data fragment through the second-level trigger. The two-level trigger cooperates with each other to accurately locate the trigger point while improving the trigger resolution, thereby meeting the high-precision trigger requirements of broadband oscilloscopes.

[0003] However, the trigger comparison level set by the user using the host computer software interface is the same comparison level used for both the primary trigger and the secondary trigger. After the measured signal passes through the primary trigger, the signal processing module will perform gain control and signal processing on it, which will cause the waveform amplitude of the measured signal to change. At this time, if the same comparison level is still used for the primary trigger and the secondary trigger, the trigger position will not be triggered during the trigger process, while the position that should not be triggered will be triggered, thereby reducing the trigger accuracy of the trigger system of the broadband oscilloscope. Summary of the invention

[0004] The main purpose of the present application is to provide a trigger system of a broadband oscilloscope and a trigger compensation method thereof, a host computer, and a medium, so as to improve the trigger accuracy of the trigger system of the broadband oscilloscope by performing error compensation on the comparison level of the first-level trigger.

[0005] To achieve the above-mentioned object, the present application provides a broadband oscilloscope trigger compensation method, which is applied to the trigger system of the broadband oscilloscope. The trigger system of the broadband oscilloscope includes an acquisition module, a signal processing module, an amplitude difference calculation module, a primary trigger module, a secondary trigger module and a host computer. The method is executed by the host computer, and the method includes:

[0006] Controlling the acquisition module to perform channel acquisition to obtain parallel measured signals;

[0007] Receive a first amplitude difference sent by the amplitude difference calculation module, and receive a second amplitude difference sent by the signal processing module; the first amplitude difference is the difference between the waveform amplitude of the measured signal not processed by the signal processing module and the waveform amplitude of the measured signal processed by the signal processing module, and the second amplitude difference is the amplitude value of the gain compensation;

[0008] A first initial comparison level of the primary trigger module is compensated and corrected based on the first amplitude difference and the second amplitude difference; the first initial comparison level is the same as the second initial comparison level of the secondary trigger module.

[0009] Optionally, the second initial comparison level is half of the peak amplitude of the measured signal processed by the secondary trigger module.

[0010] Optionally, the compensating and correcting the first initial comparison level of the first-level trigger module based on the first amplitude difference and the second amplitude difference includes: determining a total amplitude difference based on the first amplitude difference and the second amplitude difference; determining a compensation coefficient based on the total amplitude difference using a preset formula; and compensating and correcting the first initial comparison level based on the compensation coefficient.

[0011] Optionally, the preset formula is:

[0012] A=(V p -V delt ) / V p *100%

[0013] Wherein, A is the compensation coefficient, Vp is the peak amplitude of the measured signal processed by the secondary trigger module, and V delt is the total amplitude difference.

[0014] Optionally, after compensating and correcting the first initial comparison level of the first-level trigger module based on the first amplitude difference and the second amplitude difference, the method further includes: obtaining the sensitivity of the hysteresis comparison band; determining the first comparison threshold and the second comparison threshold corresponding to the first-level trigger module based on the compensated and corrected first initial comparison level, the compensation coefficient and the sensitivity, and sending the first comparison threshold and the second comparison threshold corresponding to the first-level trigger module to the first-level trigger module; determining the first comparison threshold and the second comparison threshold corresponding to the second-level trigger module based on the second initial comparison level and the sensitivity, and sending the first comparison threshold and the second comparison threshold corresponding to the second-level trigger module to the second-level trigger module.

[0015] The present application also provides a host computer, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the broadband oscilloscope trigger compensation method as described in any one of the above is implemented.

[0016] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the broadband oscilloscope trigger compensation method as described in any one of the above is implemented.

[0017] In addition, to achieve the above-mentioned purpose, the present application also provides a trigger system for a broadband oscilloscope, comprising the host computer, acquisition module, parallel cache module, parallel-to-serial conversion module, signal processing module, amplitude difference calculation module, first-level trigger module and second-level trigger module as described above; the acquisition module is used to perform channel acquisition to obtain two parallel measured signals; wherein the acquisition module outputs one measured signal to the first-level trigger module, and the acquisition module outputs the other measured signal to the parallel cache module; the parallel cache module is used to cache the measured signal and receive a first control signal sent by the first-level trigger module; the first control signal is used to change the read and write state of the parallel cache module; the parallel-to-serial conversion module is used to convert the parallel measured signal output by the parallel cache module into a serial measured signal, and output the serial measured signal to the amplitude difference The invention relates to a computing module and a signal processing module; the signal processing module is used to perform signal processing on the measured signal, and output the processed measured signal to the amplitude difference calculation module and the secondary trigger module; the signal processing at least includes gain compensation, amplitude-frequency and phase-frequency compensation; the amplitude difference calculation module is used to determine a first amplitude difference according to the measured signal sent by the parallel-to-serial conversion module and the measured signal sent by the signal processing module, and send the first amplitude difference to the host computer; the host computer is used to receive the first amplitude difference sent by the amplitude difference calculation module and the second amplitude difference sent by the signal processing module, and compensate and correct the first initial comparison level of the primary trigger module based on the first amplitude difference and the second amplitude difference; the second amplitude difference is the amplitude value of the gain compensation, and the first initial comparison level is the same as the second initial comparison level of the secondary trigger module.

[0018] Optionally, the acquisition module includes an ADC acquisition unit and a preprocessing unit; the ADC acquisition unit is used to perform channel acquisition to obtain parallel measured signals; the preprocessing unit is connected to the ADC acquisition unit, and the preprocessing unit is used to slow down and hard-pump the measured signals to obtain two parallel measured signals.

[0019] Optionally, the trigger system of the broadband oscilloscope also includes a serial cache module and a data transmission module; the serial cache module is respectively connected to the signal processing module and the secondary trigger module, the serial cache module is used to receive the measured signal sent by the signal processing module, and cache the measured signal, and receive the second control signal sent by the secondary trigger module to output the target signal according to the second control signal; the second control signal is used to change the read and write state of the serial cache module; the data transmission module is respectively connected to the amplitude difference calculation module and the serial cache module, for receiving the first amplitude difference sent by the amplitude difference calculation module and the target signal output by the serial cache module, and output the first amplitude difference and the target signal to the host computer.

[0020] The broadband oscilloscope trigger compensation method of the present application determines the waveform amplitude difference before and after the signal processing module processes the measured signal, that is, the first amplitude difference, by adding an amplitude difference calculation module in the trigger system of the broadband oscilloscope; the host computer then receives the first amplitude difference sent by the amplitude difference calculation module and the second amplitude difference sent by the signal processing module; finally, the host computer compensates and corrects the first initial comparison level of the first-level trigger module based on the first amplitude difference and the second amplitude difference, thereby improving the trigger accuracy of the broadband oscilloscope trigger system. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 is a schematic structural diagram of a trigger system of a broadband oscilloscope according to an embodiment of the present application;

[0022] Figure 2 It is one of the flow charts of the broadband oscilloscope trigger compensation method according to the embodiment of the present application;

[0023] Figure 3 This is the second flow chart of the broadband oscilloscope trigger compensation method according to an embodiment of the present application;

[0024] Figure 4 This is the third flow chart of the broadband oscilloscope trigger compensation method according to the embodiment of the present application;

[0025] Figure 5 It is a schematic diagram of a first-level trigger module processing waveform amplitude in a specific example of the present application;

[0026] Figure 6 It is a schematic diagram of a two-stage trigger module processing waveform amplitude in a specific example of the present application;

[0027] Figure 7 An example of a physical structure diagram of a host computer is shown;

[0028] In the figure, 110, host computer; 120, acquisition module; 121, ADC acquisition unit; 122, pre-processing unit; 130, parallel cache module; 140, parallel-to-serial conversion module; 150, signal processing module; 160, amplitude difference calculation module; 170, first-level trigger module; 180, second-level trigger module; 190, serial cache module; 200, data transmission module; 710, processor; 720, communication interface; 730, memory; 740, communication bus.

[0029] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0031] An oscilloscope is an electronic measuring instrument used to observe the waveform of an electrical signal changing over time. Triggering refers to the process by which an oscilloscope starts recording a signal when a certain condition is met. This process enables the oscilloscope to stably display repetitive waveforms and can be synchronized with events of interest.

[0032] In the triggering technology of oscilloscopes, the more advanced triggering method currently uses a two-level triggering mechanism. Specifically, the first-level trigger uses parallel triggering technology for rough positioning. At this stage, the system quickly scans the input signal stream and identifies signals that meet the preset conditions. However, due to the characteristics of parallel data processing, this process cannot accurately determine the specific trigger point position, which may cause a slight time offset in the captured waveform (for example, the waveform is observed to shake evenly for about 4 nanoseconds). These roughly located data fragments are then stored in a parallel FIFO (first in first out) buffer, and the parallel data is converted into serial data through a parallel-to-serial conversion module and transmitted to the back-end processing board. After entering the second-level trigger, the processing board receives the converted serial data and implements more sophisticated trigger control. In this way, the time offset problem caused by the first-level trigger can be eliminated, thereby achieving a stable display of the waveform.

[0033] The two-stage trigger cooperates with each other to accurately locate the trigger point while improving the trigger resolution, thus meeting the high-precision trigger requirements of the oscilloscope. The above trigger system can process a large amount of collected data in real time, and greatly improve the trigger accuracy by using parallel trigger coarse positioning technology and serial trigger fine positioning technology. Therefore, it is widely used in the oscilloscope field.

[0034] However, in actual application, the "two-level triggering" method still has some new problems. Specifically, after the parallel data is converted into serial data through the parallel-to-serial conversion module, the signal processing module of the back-end processing board will perform gain control on the signal, so that the waveform amplitude of the signal changes; in addition, the signal processing module will also perform a series of processing on the signal, such as amplitude-frequency compensation, phase-frequency compensation, etc. These signal processing will cause the waveform amplitude of the signal to change to a certain extent relative to the waveform amplitude of the signal collected by the current front-end acquisition board.

[0035] However, the trigger comparison level set by the user through the upper computer software interface is used by both the first-level trigger module at the front end and the second-level trigger module at the back end. That is to say, the signals with different waveform amplitudes use the same trigger comparison level, which will lead to inaccurate triggering. For example, the waveform of the waveform initially collected by the front end is attenuated due to the deviation of the front-end RF link and hardware. After the gain control and signal processing of the back-end signal processing module, the waveform amplitude of the signal is relatively higher when it reaches the back-end second-level trigger process; at this time, if the trigger comparison level of the two-level trigger is placed near the peak, the trigger comparison level exceeds the waveform amplitude of the first-level trigger processing, resulting in the failure of the first-level trigger to be triggered, which results in the trigger not being triggered. On the contrary, if the waveform amplitude of the signal processed by the first-level trigger is higher than the waveform amplitude of the second-level trigger processing, it will trigger what should not be triggered.

[0036] Therefore, due to the error in the amplitude of the signal waveform processed before and after the two-stage trigger, the current two-stage trigger scheme has the problem of inaccurate triggering.

[0037] Based on this, the embodiment of the present application provides a trigger system of a broadband oscilloscope and a trigger compensation method thereof, a host computer, and a medium. The amplitude difference changed by the gain control and the amplitude difference compensated by the calibration of the back-end signal processing module are calculated by the amplitude difference calculation module, and the amplitude difference is compensated to the trigger comparison level of the first-level trigger module by the host computer, eliminating the influence of the amplitude difference of the signal waveform before and after the two-level trigger, and improving the trigger accuracy of the broadband oscilloscope trigger system.

[0038] For ease of understanding, the embodiment of the present application first introduces in detail the structure of the trigger system of the broadband oscilloscope. Figure 1 Schematic diagram of the structure of the trigger system of the broadband oscilloscope of the embodiment of the present application. Figure 1 As shown, the trigger system of the broadband oscilloscope may include a host computer 110 , an acquisition module 120 , a parallel buffer module 130 , a parallel-to-serial conversion module 140 , a signal processing module 150 , an amplitude difference calculation module 160 , a primary trigger module 170 , and a secondary trigger module 180 .

[0039] The acquisition module 120 is used to perform channel acquisition to obtain two parallel measured signals; the acquisition module 120 outputs one measured signal to the first-level trigger module 170, and the acquisition module 120 outputs the other measured signal to the parallel cache module 130; the parallel cache module 130 is used to cache the measured signal and receive the first control signal sent by the first-level trigger module 170; the first control signal is used to change the read and write state of the parallel cache module 130; the parallel-to-serial conversion module 140 is used to convert the parallel measured signal output by the parallel cache module 130 into a serial measured signal, and output the serial measured signal to the amplitude difference calculation module 160 and the signal processing module 150; the signal processing module 150 is used to perform signal processing on the measured signal and The processed measured signal is output to the amplitude difference calculation module 160 and the secondary trigger module 180; the signal processing includes at least gain compensation, amplitude-frequency and phase-frequency compensation; the amplitude difference calculation module 160 is used to determine the first amplitude difference according to the measured signal sent by the parallel-to-serial conversion module 140 and the measured signal sent by the signal processing module 150, and send the first amplitude difference to the host computer 110; the host computer 110 is used to receive the first amplitude difference sent by the amplitude difference calculation module 160 and the second amplitude difference sent by the signal processing module 150, and compensate and correct the first initial comparison level of the primary trigger module 170 based on the first amplitude difference and the second amplitude difference; the second amplitude difference is the amplitude value of the gain compensation, and the first initial comparison level is the same as the second initial comparison level of the secondary trigger module 180.

[0040] It should be noted that the measured signal refers to the electrical signal input into the broadband oscilloscope for analysis and measurement, and any signal input into the broadband oscilloscope can be used as the measured signal. In addition, in this embodiment, the entire trigger system is mainly distributed on the FPGA chip of the acquisition circuit board (referred to as the acquisition board) and the processing circuit board (referred to as the processing board) in terms of hardware, wherein the acquisition board is the front end and the processing board is the back end.

[0041] The acquisition module 120 of this embodiment is partially structured on the acquisition board, and is used to perform channel acquisition and obtain two identical parallel measured signals. Further, the acquisition module 120 outputs one measured signal to the parallel buffer module 130 and outputs the other measured signal to the first-level trigger module 170.

[0042] In some embodiments, the acquisition module 120 includes an ADC acquisition unit 121 and a preprocessing unit 122; the ADC acquisition unit 121 is used to perform channel acquisition to obtain parallel measured signals; the preprocessing unit 122 is connected to the ADC acquisition unit 121, and the preprocessing unit 122 is used to slow down and hard-pump the measured signals to obtain two parallel measured signals.

[0043] In this embodiment, the input end of the preprocessing unit 122 is connected to the output end of the ADC acquisition unit 121 , one output end of the preprocessing unit 122 is connected to the parallel cache module 130 , and the other output end of the preprocessing unit 122 is connected to the first-level trigger module 170 .

[0044] Specifically, the broadband oscilloscope starts working. When the measured signal is input into the broadband oscilloscope after passing through the conditioning channel, the ADC acquisition unit 121 performs high-speed acquisition on the measured signal to obtain n high-speed measured signals. Further, the ADC acquisition unit 121 outputs the high-speed sampled measured signal to the preprocessing unit 122. It should be noted here that the preprocessing unit 122 is on the FPGA chip. After the preprocessing unit 122 receives the high-speed measured signal, it first converts the high-speed parallel measured signal into a low-speed parallel measured signal through the TIADC (Time-Interleaved Analog-to-Digital Converter) technology.

[0045] For example, two ADC acquisition units 121 are sampled at an acquisition rate of 20GSPS, and each ADC acquisition unit 121 acquires 40 channels of measured signals. Since the data rate of a single channel is very high, directly processing such high-speed data places high demands on the subsequent processing module. Therefore, in this embodiment, the measured signal is slowed down by the preprocessing unit 122. Assuming that the system operating clock is 250MHz, it means that the operations within the entire system are based on a clock frequency of 250MHz. Therefore, after the preprocessing unit 122 slows down the measured signal, 80 channels of measured signals with a transmission rate of 250MSPS can be obtained after the data of the two ADC acquisition units 121 are merged.

[0046] Furthermore, the preprocessing unit 122 selects different sampling ratios according to different time base gears, performs hard sampling processing on the measured signal, and obtains two n-channel measured signals. Among them, the preprocessing unit 122 outputs one of the n-channel measured signals to the parallel cache module 130 for data caching; the preprocessing unit 122 outputs another n-channel measured signal to the first-level trigger module 170 to perform signal trigger judgment and generate trigger signals. In this embodiment, the main functions are to generate edge, slope, short amplitude and other trigger signals, and select the corresponding trigger signal according to the trigger type specified by the user. Among them, the edge trigger is realized by finding the jump edge in the shaped signal output by the upper module, and finding the jump edge of the n-channel shaped signal in a single clock.

[0047] Continue to refer Figure 1 In this embodiment, one input end of the parallel cache module 130 is connected to the preprocessing unit 122 to receive n channels of tested signals sent by the preprocessing unit 122; another input end of the parallel cache module 130 is connected to the first-level trigger module 170 to receive the first control signal sent by the first-level trigger module 170; and the output end of the parallel cache module 130 is connected to the parallel-to-serial conversion module 140.

[0048] It should be noted that the parallel cache module 130 can be a parallel signal memory FIFO (first-in-first-out memory) inside the FPGA chip. The complete data storage process includes data writing and reading, and the trigger controls the data writing and reading time during the data storage process.

[0049] Specifically, when the parallel cache module 130 receives the measured signal output by the preprocessing unit 122, the pre-trigger module of the system first counts the written measured signal. After the counting is completed, the first-level trigger module 170 does not trigger, and the state of the parallel cache module 130 is write-only but not read-only. When the pre-trigger module completes the counting, the state of the parallel cache module 130 is changed to read-while-write, and the first-level trigger module 170 starts to look for the trigger point and outputs the first control signal; the newly stored sampling point in the parallel cache module 130 will replace the sampling point stored at the beginning, which is recorded as the Ready state. When the parallel cache module 130 receives the first control signal, the parallel cache module 130 turns off the read enable, and the state of the parallel cache module 130 is changed to write-only but not read-only until the parallel cache module 130 is full; after the parallel cache module 130 is full, it means that the acquisition process is completed, the write enable of the parallel cache module 130 is turned off, and the read enable is turned on.

[0050] In this embodiment, the first-level trigger module 170 has relevant functional units in both the acquisition board and the processing board. Specifically, the first-level trigger module 170 includes a parallel data shaping unit, a trigger signal generating unit, a trigger type selection unit, etc. on the acquisition board. The parallel data shaping unit first compares the measured signal with the comparison level, and then uses the comparison result to obtain the shaped signal of the measured signal. The shaped signal is triggered by the trigger judgment logic to complete the generation of the trigger signal of the user-set condition. The trigger comparison unit sequentially compares the multi-channel parallel quantized data sampled by the ADC sampling unit with the comparison level set by the user. The trigger signal generating unit mainly completes the generation of trigger signals such as edge, slope, and runt, and selects the corresponding trigger signal according to the trigger type specified by the user. Among them, edge triggering is achieved by finding the jump edge in the shaped signal output by the upper module. Because the first-level trigger module 170 processes n-channel data in one clock, the first-level trigger module 170 can only determine which clock corresponds to the trigger signal that meets the trigger condition; but it cannot determine which sampling point in the n channels is the trigger rising edge, and it is necessary to send it to the second-level trigger module 180 to trigger the serial measured signal again to find the point, so as to complete the accurate trigger position judgment and trigger signal generation.

[0051] Furthermore, the first-level trigger module 170 includes a trigger source judgment unit and a trigger control unit on the processing board. When the trigger signal generating unit of the acquisition board generates a trigger signal, the trigger signal will be sent to the processing board. After the processing board receives multiple trigger signals, the trigger signal will be sent to the trigger source judgment unit. The trigger source judgment unit selects the trigger source configuration set by the user and outputs the final selected trigger signal to the trigger control unit. The trigger control unit mainly implements the functions of trigger mode selection, pre-triggering, trigger delay, release and suppression. The trigger control module needs to receive the acquisition start enable signal issued by the host computer 110, as well as some register values ​​related to trigger control; according to the start acquisition write enable, trigger state control machine, and trigger signal, a first control signal for controlling the read and write state of the parallel cache module 130 is generated. The first control signal plus the reset signal will generate four synchronous first control signal groups, which are fed back to each acquisition board to realize the synchronous read and write control of the data of all sub-band acquisition modules 120 of the previous stage.

[0052] Continue to refer Figure 1 In this embodiment, the input end of the parallel-serial conversion module 140 is connected to the parallel buffer module 130, receives the measured signal read out by the parallel buffer module 130 and performs parallel-serial conversion. One output end of the parallel-serial conversion module 140 is connected to the amplitude difference calculation module 160, which is used to directly output the serial measured signal after the parallel-serial conversion; the other output end of the parallel-serial conversion module 140 is connected to the signal processing module 150, so that the signal processing module 150 processes the serial measured signal after the parallel-serial conversion.

[0053] Specifically, the parallel buffer module 130 outputs the readout measured signal to the parallel-serial conversion module 140, and the parallel-serial conversion module 140 converts the parallel measured signal into a serial measured signal. The parallel-serial conversion module 140 retains a copy of the original serial measured signal before being processed by the signal processing module 150, and outputs it to the amplitude difference calculation module 160; at the same time, the parallel-serial conversion module 140 can output the serial measured signal to the signal processing module 150, so that the signal processing module 150 performs a normal signal processing process.

[0054] Continue to refer Figure 1 In this embodiment, the signal processing module 150 can be a DSP processing chip. The input end of the signal processing module 150 is connected to the parallel-serial conversion module 140 to receive the serial measured signal output by the parallel-serial conversion module 140; the first output end of the signal processing module 150 is connected to the secondary trigger module 180 to output the processed measured signal to the secondary trigger module 180, thereby facilitating the secondary trigger module 180 to trigger based on the processed measured signal; the second output end of the signal processing module 150 is connected to the amplitude difference calculation module 160 to output the processed measured signal to the amplitude difference calculation module 160, thereby facilitating the amplitude difference calculation module 160 to calculate the first amplitude difference.

[0055] Specifically, the signal processing module 150 performs a series of signal processing such as gain control, TI calibration, interpolation, anti-aliasing, and anti-image processing on the received serial measured signal, and then each sub-band serial measured signal is sent to the processing board, which performs data splicing, amplitude-frequency phase-frequency compensation, and filtering processing after synchronous reception. The specific signal processing process can refer to the processing process of the existing DSP chip, which will not be repeated here.

[0056] Continue to refer Figure 1 In some embodiments, the trigger system of the broadband oscilloscope further includes a serial buffer module 190 and a data transmission module 200. The serial buffer module 190 is connected to the signal processing module 150 and the secondary trigger module 180 respectively. The serial buffer module 190 is used to receive the measured signal sent by the signal processing module 150, and cache the measured signal, and receive the second control signal sent by the secondary trigger module 180 to output the target signal according to the second control signal; the second control signal is used to change the read and write state of the serial buffer module 190; the data transmission module 200 is connected to the amplitude difference calculation module 160 and the serial buffer module 190 respectively, and is used to receive the first amplitude difference sent by the amplitude difference calculation module 160 and the target signal output by the serial buffer module 190, and output the first amplitude difference and the target signal to the host computer 110.

[0057] In this embodiment, one input end of the serial cache module 190 is connected to the third output end of the signal processing module 150 to receive and cache the processed test signal output by the signal processing module 150; another input end of the serial cache module 190 is connected to the secondary trigger module 180 to receive the second control signal output by the secondary trigger module 180; the output end of the serial cache module 190 is connected to the data transmission module 200 to output the target signal to the host computer 110 through the data transmission module 200.

[0058] Specifically, after the signal processing module 150 outputs the processed measured signal to the secondary trigger module 180, the secondary trigger module 180 triggers the serial measured signal again to determine the point, and uses the secondary trigger module 180 to complete the triggering and precise positioning of the serial measured signal, thereby determining the target signal required by the user. Finally, the target signal is sent to the industrial computer for stable waveform display.

[0059] It should be noted that the structure and triggering process of the secondary trigger module 180 are the same as those of the aforementioned primary trigger module 170, except that the secondary trigger module 180 processes serial data. Therefore, the structure and triggering process of the secondary trigger module 180 can refer to the structure and triggering process of the primary trigger module 170, and will not be repeated here.

[0060] The secondary trigger module 180 also receives the comparison level set by the user, and compares the measured signal with the comparison level; through trigger comparison judgment, a trigger signal shaping signal is obtained, and a trigger condition is determined by logic to determine whether the trigger condition is met, including the trigger type, condition selection, etc. The secondary trigger module 180 also has a trigger control unit (the trigger control unit mainly completes the pre-trigger count, post-trigger count, etc., all of which are realized by a counter); finally, the precise trigger point after the secondary trigger is found, and a second control signal is output to control the read and write state of the serial buffer module 190.

[0061] In general, the broadband oscilloscope completes the storage of the relevant parallel measured signals according to the first control signal output by the first-level trigger module 170. Finally, the measured signals are sent to the processing board for secondary triggering after the parallel-serial conversion module 140 to find the precise trigger point, so as to trigger the waveform data that the user is interested in. After the two trigger modules process the measured signals through their respective trigger control units, they output the corresponding read enable control signals, which will be sent to the corresponding cache modules to control the acquisition and storage of the entire measured signal. At this point, the entire process of the trigger system controlling the waveform storage has been completed.

[0062] Through the structure and triggering process of the trigger system described above, it can be seen that both levels of triggering will receive the comparison level set by the user. The problem lies here. The waveform amplitude processed by the first-level trigger module 170 is inconsistent with the waveform amplitude processed by the second-level trigger module 180, because the signal processing module 150 performs signal processing on the measured signal; the gain control, amplitude compensation algorithm, etc. therein will change the waveform amplitude of the measured signal, thereby causing differences in the waveform amplitude of the measured signal processed by the two-level trigger. The comparison level set by the user is also calculated according to the serial waveform quantization. If a unified comparison level is used, it may appear that the amplitude of the previous stage waveform has not reached the comparison level trigger position near the waveform peak, so that the first-level trigger module 170 will not generate a trigger signal when using the comparison level judgment, and then no read signal will be generated later, and the measured signal will be stuck, and the measured signal of the front-stage acquisition board cannot be sent to the back-stage processing board for subsequent processing.

[0063] It is understandable that if the measured signals of different frequencies are input, the measured signals of different frequencies and types will undergo different group delays, different phases, and different amplitude compensations, so the amplitude difference of increase or decrease is different. However, the front-end acquisition board cannot determine the compensation difference of the current measured signal. If the spectrum analysis is added to the front end to determine the input measured signal frequency, and then the corresponding compensation coefficient is called accordingly, and then the compensation difference is confirmed by simulation calculation, the front-end FPGA chip needs to consume a lot of resources to process and analyze the spectrum characteristics of the input waveform in real time. Therefore, this compensation method is not practical, and the compensation process is complicated and wastes resources.

[0064] Therefore, the embodiment of the present application adds an amplitude difference calculation module 160 to the trigger system, so as to determine the first amplitude difference through the amplitude difference calculation module 160, and output the first amplitude difference to the host computer 110; at the same time, the signal processing module 150 sends the amplitude value of the gain compensation (i.e., the second amplitude difference) to the host computer 110, and the host computer 110 compensates the comparison level of the first-level trigger module 170 according to the first amplitude difference and the second amplitude difference. In this way, the comparison levels used by the front and rear trigger modules are different, and the amplitude difference of the waveform processed by the first-level trigger module 170 relative to the waveform processed by the rear-level second-level trigger module 180 has been determined, and the comparison level corresponding to the first-level trigger module 170 is correspondingly reduced or increased by the amplitude difference, thereby obtaining the comparison level after the first-level trigger module 170 is reversed, and sent to the first-level trigger module 170 for trigger signal judgment. In this way, it is possible to more simply realize the error compensation of the comparison level and improve the trigger accuracy of the trigger system.

[0065] The broadband oscilloscope trigger compensation method of the embodiment of the present application is described in detail below with reference to the structure of the broadband oscilloscope trigger system and the two-stage trigger principle.

[0066] Figure 2This is one of the flow charts of the broadband oscilloscope trigger compensation method of the embodiment of the present application. The broadband oscilloscope trigger compensation method of the embodiment of the present application can be applied to the trigger system of the above broadband oscilloscope and executed by the host computer in the trigger system. Figure 2 As shown, the broadband oscilloscope trigger compensation method may include the following steps:

[0067] Step 210: Control the acquisition module to perform channel acquisition to obtain parallel measured signals.

[0068] Step 220: Receive the first amplitude difference sent by the amplitude difference calculation module, and receive the second amplitude difference sent by the signal processing module; the first amplitude difference is the difference between the waveform amplitude of the measured signal that has not been processed by the signal processing module and the waveform amplitude of the measured signal that has been processed by the signal processing module, and the second amplitude difference is the amplitude value of the gain compensation.

[0069] Step 230: Compensate and calibrate the first initial comparison level of the primary trigger module based on the first amplitude difference and the second amplitude difference; the first initial comparison level is the same as the second initial comparison level of the secondary trigger module.

[0070] It should be noted that the first initial comparison level and the second initial comparison level may be any pre-set levels; the first initial comparison level and the second initial comparison level may be used in a calibration compensation process after the broadband oscilloscope is turned on and before the user sets the trigger comparison level.

[0071] In this embodiment, when the broadband oscilloscope is turned on, the host computer can first control the acquisition module to perform channel acquisition to obtain parallel measured signals. Further, the host computer can quantize the amplitude value of the measured signal according to the selected vertical gear (i.e., voltage scale). Specifically, the user selects the required vertical gear (e.g., 2V / div, 500mV / div, etc.) through the broadband oscilloscope interface or the host computer software, which determines the actual voltage value represented by each grid on the screen. Further, the host computer determines the quantization value of the pre-set first initial comparison level (or second initial comparison level).

[0072] For example, if the user selects a vertical scale of 1V / div and sets a first initial comparison level of 0.5V for triggering. The broadband oscilloscope screen has 8 vertical grids, so the total quantization range is 8V. For a 12-bit ADC acquisition unit, the voltage per quantization unit is approximately 1.95mV (8V / 4096). The quantization value corresponding to the first initial comparison level of 0.5V is: quantization value = 0.5V / 1.95mV≈256. It should be noted that the trigger system starts by sending a 0 level (corresponding to a quantization value of 2048) by default.

[0073] After the ADC acquisition unit of the acquisition module acquires the measured signal, it outputs the measured signal to the preprocessing unit, which decelerates and hard-draws the measured signal and outputs two n-channel measured signals; one of the n-channel measured signals is triggered by the first-level trigger module, and the other n-channel measured signals pass through the parallel cache module, the parallel-to-serial conversion module and the signal processing module. The signal processing module performs a series of signal processing such as gain control, TI calibration, interpolation, anti-aliasing, anti-mirror, data splicing, amplitude-frequency phase-frequency compensation and filtering on the measured signal, and outputs the processed measured signal to the amplitude difference calculation module, the serial cache module and the second-level trigger module respectively.

[0074] The amplitude difference calculation module calculates the first amplitude difference according to the measured signal waveform amplitude output by the signal processing module and the measured signal waveform amplitude output by the parallel-to-serial conversion module. The amplitude difference calculation module feeds back the first amplitude difference to the host computer, and the signal processing module sends the second amplitude difference representing the gain compensation amplitude value to the host computer. It should be noted that the gain compensation calibration determines the increase or decrease of the amplitude, so the second amplitude difference is known, and the signal processing module can directly feed back the second amplitude difference to the host computer.

[0075] The host computer receives the first amplitude difference sent by the amplitude difference calculation module and receives the second amplitude difference sent by the signal processing module, and performs compensation correction on the first initial comparison level of the primary trigger module based on the first amplitude difference and the second amplitude difference.

[0076] Figure 3 FIG. 2 is a flowchart of the broadband oscilloscope trigger compensation method according to an embodiment of the present application. Figure 3 As shown, in some implementations, step 230 performs compensation correction on the first initial comparison level of the primary trigger module based on the first amplitude difference and the second amplitude difference, which may include the following steps:

[0077] Step 310: Determine a total amplitude difference based on the first amplitude difference and the second amplitude difference.

[0078] Step 320: Determine a compensation coefficient based on the total amplitude difference using a preset formula.

[0079] Step 330: Perform compensation correction on the first initial comparison level based on the compensation coefficient.

[0080] Specifically, after receiving the first amplitude difference and the second amplitude difference, the host computer can add the first amplitude difference and the second amplitude difference to obtain a total amplitude difference, and then use the total amplitude difference and a preset formula to calculate the compensation coefficient of the first initial comparison level. It should be noted that the calculated compensation coefficient usually does not change, that is, when the user adjusts the comparison level, the compensation coefficient is also used to compensate the comparison level of the first trigger module; therefore, when using a broadband oscilloscope, the compensation coefficient only needs to be calculated once unless the processing parameters of the signal processing module are changed.

[0081] In some implementations, the preset formula is:

[0082] A=(V p -V delt ) / V p *100%

[0083] Where A is the compensation coefficient, V p is the peak amplitude of the measured signal processed by the secondary trigger module, V delt is the total amplitude difference.

[0084] After obtaining the compensation coefficient, the host computer uses the compensation coefficient to compensate and correct the first initial comparison level. Specifically, the compensation coefficient can be directly multiplied by the first initial comparison level to obtain the corrected first initial comparison level.

[0085] As an example, if the peak value of the measured signal waveform amplitude processed by the first-level trigger module is 0.8V, after the measured signal is gain compensated and amplitude compensated by the signal processing module; when it reaches the second-level trigger module, the measured signal waveform amplitude processed by the second-level trigger module is 1V, then the total amplitude difference is 0.2V. If half of the measured signal waveform amplitude at the second-level trigger module is used as the first initial comparison level, the first initial comparison level is 0.5V. Further, by calculation, it is found that the total amplitude difference is 0.2V, then the compensation coefficient is A = (1-0.2) / 1 × 100% = 80%; the corrected first initial comparison level is 0.5 × 80% = 0.4V. If the user adjusts the comparison level, the corrected first initial comparison level is also calculated according to this compensation coefficient.

[0086] In some embodiments, the second initial comparison level is half of the peak amplitude of the measured signal processed by the secondary trigger module. The first initial comparison level is the same as the second initial comparison level, both of which are half of the peak amplitude of the measured signal processed by the secondary trigger module (i.e., the peak value of the waveform displayed on the interface).

[0087] It is understandable that the first initial comparison level and the second initial comparison level are used to predetermine the compensation coefficient, and the waveform amplitude of the measured signal input by the front end is unknown to the host computer, and the aforementioned embodiment also mentioned that the amplitude compensation is different for measured signals of different amplitudes. Therefore, in order to ensure that the initially set comparison level can respond to all measured signals input randomly, half of the amplitude peak value of the measured signal processed by the secondary trigger module is taken as the first initial comparison level and the second initial comparison level, which will inevitably trigger the response to the measured signal of any waveform amplitude.

[0088] Figure 4 FIG. 3 is a flowchart of the broadband oscilloscope trigger compensation method of the embodiment of the present application. Figure 4 As shown, in some embodiments, after compensating and correcting the first initial comparison level of the primary trigger module based on the first amplitude difference and the second amplitude difference, the broadband oscilloscope trigger compensation method may further include the following steps:

[0089] Step 410: Obtain the sensitivity of the hysteresis comparison band.

[0090] Step 420: Based on the first initial comparison level, compensation coefficient and sensitivity after compensation correction, determine the first comparison threshold and the second comparison threshold corresponding to the first-level trigger module, and send the first comparison threshold and the second comparison threshold corresponding to the first-level trigger module to the first-level trigger module.

[0091] Step 430: Based on the second initial comparison level and the sensitivity, determine the first comparison threshold and the second comparison threshold corresponding to the secondary trigger module, and send the first comparison threshold and the second comparison threshold corresponding to the secondary trigger module to the secondary trigger module.

[0092] It should be noted that the sensitivity of the hysteresis comparison band refers to the threshold range of the trigger system's response to changes in the measured signal. The main purpose of introducing hysteresis is to avoid false triggering due to noise or small fluctuations, especially when processing signals close to the trigger level.

[0093] Specifically, after determining the first initial comparison level after correction, the host computer can also obtain the sensitivity of the hysteresis comparison band. The sensitivity of the hysteresis comparison band can be obtained by: determining the sensitivity of the hysteresis comparison band by experimental methods. A standard test signal source (such as a function generator) with known frequency and amplitude can be used, and its output can be adjusted until it can just trigger the broadband oscilloscope. Then gradually reduce or increase the signal amplitude, and record the exact voltage value of the trigger start and stop. The difference between the two is the actual hysteresis width. In this embodiment, the staff can set the sensitivity of the hysteresis comparison band according to the hysteresis width and actual needs. The method for obtaining the sensitivity of the hysteresis comparison band can also adopt other existing methods, which are not specifically limited here.

[0094] After obtaining the sensitivity of the hysteresis comparison band, the sensitivity of the hysteresis comparison band and the second initial comparison level can be used to calculate the first comparison threshold and the second comparison threshold corresponding to the secondary trigger module. Specifically, the calculation can be performed using the following formula:

[0095] 2st_compare_volt_H=2st_compV

[0096] 2st_compare_volt_L=2st_compV–b

[0097] Wherein, 2st_compare_volt_H is the first comparison threshold corresponding to the secondary trigger module; 2st_compare_volt_L is the second comparison threshold corresponding to the secondary trigger module; b is the sensitivity of the hysteresis comparison band; 2st_compV is the second initial comparison level.

[0098] Furthermore, the sensitivity of the hysteresis comparison band, the first initial comparison level and the compensation coefficient can be used to calculate the first comparison threshold and the second comparison threshold corresponding to the first-level trigger module. Specifically, the calculation can be performed by the following formula:

[0099] 1st_compare_volt_H=2st_compV*A

[0100] 1st_compare_volt_L=2st_compV*A–b*A

[0101] Wherein, 1st_compare_volt_H is the first comparison threshold corresponding to the primary trigger module; 1st_compare_volt_L is the second comparison threshold corresponding to the primary trigger module; b is the sensitivity of the hysteresis comparison band; 2st_compV is the second initial comparison level; and A is the compensation coefficient.

[0102] Figure 5 It is a schematic diagram of a first-level trigger module processing waveform amplitude in a specific example of the present application. Figure 6 It is a schematic diagram of a two-stage trigger module processing waveform amplitude according to a specific example of the present application. Figure 6 Where DeltV is the total amplitude difference. Figure 5 or Figure 6As shown, at the rising edge, when the trigger module detects that the measured signal reaches the second comparison threshold, it is triggered; similarly, at the falling edge, when the trigger module detects that the measured signal reaches the first comparison threshold, it is triggered. The sensitivity of the hysteresis comparison band is used to adapt to different noise signals to resist noise interference and prevent false triggering. For signals with slightly louder noise, the sensitivity can be set a little larger, and a larger noise signal can be tolerated to avoid triggering when the waveform of the measured signal fluctuates slightly, and finally obtain a non-target signal. Similarly, if the waveform amplitude processed by the secondary trigger module is smaller than the waveform amplitude processed by the primary trigger module, then the signal that should not be triggered is triggered by the primary trigger module. Therefore, through this solution, the accuracy of the triggering of the entire trigger system can be further improved.

[0103] After the host computer obtains the first comparison threshold and the second comparison threshold corresponding to the primary trigger module, and the first comparison threshold and the second comparison threshold corresponding to the secondary trigger module, these parameters can be sent to the corresponding trigger modules respectively, so that the signal acquisition process can be run. When the user subsequently adjusts the comparison level of the primary trigger module, the host computer can use the same compensation coefficient to compensate and correct the adjusted comparison level.

[0104] Therefore, by adding an amplitude difference calculation module, the amplitude difference for calibration compensation of the back-end signal processing module, that is, the first amplitude difference, is calculated; the host computer then calculates the total amplitude difference through the first amplitude difference and the second amplitude difference caused by gain control; finally, the total amplitude difference is compensated to the comparison level of the first-level trigger module by the host computer, eliminating the influence of the amplitude difference of the signal waveform before and after the two-level trigger, thereby improving the trigger accuracy of the broadband oscilloscope trigger system.

[0105] It should be noted that for details not disclosed in the broadband oscilloscope trigger compensation method of this embodiment, please refer to the details disclosed in the embodiment of the broadband oscilloscope trigger system in the embodiment of this specification, which will not be repeated here.

[0106] Based on the above embodiments, the embodiments of the present application also provide a host computer. Figure 7 An example of a physical structure diagram of a host computer is shown below. Figure 7As shown, the host computer may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the broadband oscilloscope trigger compensation method, which includes: controlling the acquisition module to perform channel acquisition to obtain parallel measured signals; receiving the first amplitude difference sent by the amplitude difference calculation module, and receiving the second amplitude difference sent by the signal processing module; the first amplitude difference is the difference between the waveform amplitude of the measured signal not processed by the signal processing module and the waveform amplitude of the measured signal processed by the signal processing module, and the second amplitude difference is the amplitude value of the gain compensation; based on the first amplitude difference and the second amplitude difference, the first initial comparison level of the first trigger module is compensated and corrected; the first initial comparison level is the same as the second initial comparison level of the second trigger module.

[0107] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.

[0108] On the basis of the above embodiments, on the other hand, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the filter trigger error compensation method provided by the above methods, the method comprising: controlling the acquisition module to perform channel acquisition to obtain parallel measured signals; receiving a first amplitude difference sent by the amplitude difference calculation module, and receiving a second amplitude difference sent by the signal processing module; the first amplitude difference is the difference between the waveform amplitude of the measured signal that has not been processed by the signal processing module and the waveform amplitude of the measured signal that has been processed by the signal processing module, and the second amplitude difference is the amplitude value of gain compensation; based on the first amplitude difference and the second amplitude difference, the first initial comparison level of the first-level trigger module is compensated and corrected; the first initial comparison level is the same as the second initial comparison level of the second-level trigger module.

[0109] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0110] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A broadband oscilloscope trigger compensation method, characterized in that: A trigger system applied to a broadband oscilloscope, the trigger system comprising an acquisition module, a signal processing module, an amplitude difference calculation module, a primary trigger module, a secondary trigger module and a host computer, the method being executed by the host computer, the method comprising: Controlling the acquisition module to perform channel acquisition to obtain parallel measured signals; Receive a first amplitude difference sent by the amplitude difference calculation module, and receive a second amplitude difference sent by the signal processing module; the first amplitude difference is the difference between the waveform amplitude of the measured signal not processed by the signal processing module and the waveform amplitude of the measured signal processed by the signal processing module, and the second amplitude difference is the amplitude value of the gain compensation; A first initial comparison level of the primary trigger module is compensated and corrected based on the first amplitude difference and the second amplitude difference; the first initial comparison level is the same as the second initial comparison level of the secondary trigger module.

2. The broadband oscilloscope trigger compensation method according to claim 1, characterized in that: The second initial comparison level is half of the peak amplitude of the measured signal processed by the secondary trigger module.

3. The broadband oscilloscope trigger compensation method according to claim 1, characterized in that: The compensating and correcting the first initial comparison level of the primary trigger module based on the first amplitude difference and the second amplitude difference includes: determining a total amplitude difference based on the first amplitude difference and the second amplitude difference; Determining a compensation coefficient based on the total amplitude difference using a preset formula; The first initial comparison level is compensated and corrected based on the compensation coefficient.

4. The broadband oscilloscope trigger compensation method according to claim 3, characterized in that: The preset formula is: A=(V p -V delt ) / V p *100% Wherein, A is the compensation coefficient, Vp is the peak amplitude of the measured signal processed by the secondary trigger module, and V delt is the total amplitude difference.

5. The broadband oscilloscope trigger compensation method according to claim 3, characterized in that: After compensating and correcting the first initial comparison level of the primary trigger module based on the first amplitude difference and the second amplitude difference, the method further includes: Get the sensitivity of the hysteresis comparison band; Determine a first comparison threshold and a second comparison threshold corresponding to the first-level trigger module based on the first initial comparison level after compensation correction, the compensation coefficient, and the sensitivity, and send the first comparison threshold and the second comparison threshold corresponding to the first-level trigger module to the first-level trigger module; Based on the second initial comparison level and the sensitivity, a first comparison threshold and a second comparison threshold corresponding to the secondary trigger module are determined, and the first comparison threshold and the second comparison threshold corresponding to the secondary trigger module are sent to the secondary trigger module.

6. A host computer, comprising a memory and a processor, wherein a computer program is stored in the memory, characterized in that: When the processor executes the computer program, the broadband oscilloscope trigger compensation method according to any one of claims 1 to 5 is implemented.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the broadband oscilloscope trigger compensation method according to any one of claims 1 to 5 is implemented.

8. A trigger system for a broadband oscilloscope, characterized in that: It includes the host computer as claimed in claim 6, a collection module, a parallel cache module, a parallel-to-serial conversion module, a signal processing module, an amplitude difference calculation module, a primary trigger module and a secondary trigger module; The acquisition module is used to perform channel acquisition to obtain two parallel measured signals; wherein the acquisition module outputs one measured signal to the first-level trigger module, and the acquisition module outputs another measured signal to the parallel buffer module; The parallel cache module is used to cache the measured signal and receive the first control signal sent by the first-level trigger module; the first control signal is used to change the read and write state of the parallel cache module; The parallel-to-serial conversion module is used to convert the parallel measured signal output by the parallel buffer module into a serial measured signal, and output the serial measured signal to the amplitude difference calculation module and the signal processing module; The signal processing module is used to perform signal processing on the measured signal, and output the processed measured signal to the amplitude difference calculation module and the secondary trigger module; the signal processing at least includes gain compensation, amplitude-frequency compensation and phase-frequency compensation; The amplitude difference calculation module is used to determine a first amplitude difference according to the measured signal sent by the parallel-to-serial conversion module and the measured signal sent by the signal processing module, and send the first amplitude difference to the host computer; The host computer is used to receive the first amplitude difference sent by the amplitude difference calculation module and the second amplitude difference sent by the signal processing module, and compensate and correct the first initial comparison level of the first-level trigger module based on the first amplitude difference and the second amplitude difference; the second amplitude difference is the amplitude value of the gain compensation, and the first initial comparison level is the same as the second initial comparison level of the secondary trigger module.

9. The trigger system of the broadband oscilloscope according to claim 8, characterized in that: The acquisition module includes an ADC acquisition unit and a preprocessing unit; The ADC acquisition unit is used to perform channel acquisition to obtain parallel measured signals; The preprocessing unit is connected to the ADC acquisition unit, and is used for performing speed reduction processing and hard extraction processing on the measured signal to obtain two parallel measured signals.

10. The trigger system of the broadband oscilloscope according to claim 8, characterized in that: The trigger system of the broadband oscilloscope also includes a serial buffer module and a data transmission module; The serial buffer module is connected to the signal processing module and the secondary trigger module respectively. The serial buffer module is used to receive the measured signal sent by the signal processing module, cache the measured signal, and receive the second control signal sent by the secondary trigger module to output the target signal according to the second control signal; the second control signal is used to change the read and write state of the serial buffer module; The data transmission module is connected to the amplitude difference calculation module and the serial buffer module respectively, and is used to receive the first amplitude difference sent by the amplitude difference calculation module and the target signal output by the serial buffer module, and output the first amplitude difference and the target signal to the host computer.

Citation Information

Patent Citations

  • Full-digital two-level combined trigger signal extracting method

    CN104535815A

  • Trigger system of oscilloscope and trigger method of oscilloscope

    CN113777376A

  • Digital oscilloscope and digital channel correction method for digital oscilloscope

    CN114047369A

  • Trigger level calibration method, signal measurement method and device

    CN114415094A

  • Trigger device, oscilloscope and time delay calibration method

    CN117783624A