Cascade signal measuring device and cascade system

By designing a control module in the cascading signal measurement device to collect and process signals in real time, and using presampled data to compensate for dead time, high-precision synchronous triggering is achieved, solving the lack of synchronization accuracy and acquisition deadness of the cascading signal measurement device in the prior art. Big problem in the area.

CN119496729APending Publication Date: 2025-02-21SHENZHEN CITY SIGLENT TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510067448.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-16
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

When the existing signal measurement devices are cascaded, the accuracy of the synchronous trigger signal is insufficient and the acquisition dead zone is large, which limits the cascade system performance of the signal measurement device and improves the cost and space requirements of high-precision synchronous triggering.

Method used

Design a cascade signal measurement device, collects the signal to be tested in real time through the control module, and after receiving the trigger signal, presampled data of a predetermined length of time is called from the storage module and output to the processing device to ensure the measurement of each cascade signal The sampled data uploaded by the device after receiving the trigger signal is synchronized.

Benefits of technology

High-precision synchronous triggering of the cascading signal measurement device and the cascading system is realized, solving the problems of low trigger synchronization accuracy, long waiting time and large sampling dead zones, and reducing system performance limitations and cost requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119496729A_ABST
    Figure CN119496729A_ABST
Patent Text Reader

Abstract

The invention discloses a cascade signal measuring device and a cascade system, and relates to the technical field of measurement. A control module in the cascade signal measuring device is used for collecting a to-be-measured signal output by a to-be-measured assembly in real time through an input port and storing the collected to-be-measured signal to a storage module; a trigger signal is received through a trigger input port, and the trigger signal is output to a cascade signal measuring device of a next stage in the cascade system through a trigger output port; in response to the received trigger signal, pre-sampling data of a preset time length stored in a storage module is output to processing equipment, and the preset time length is obtained by subtracting delay time length of the moment when the cascade signal measuring device receives the trigger signal relative to the moment when the first cascade signal measuring device receives the trigger signal from total time length; and when the cascade signal measuring device is synchronous with the other cascade signal measuring devices in the cascade system, the current and later acquired signals to be measured are output to the processing equipment through the output port.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of measurement technology, and in particular to a cascade signal measurement device and a cascade system. Background Art

[0002] Currently, signal measurement devices are mostly connected to laptops via USB, Thunderbolt or Ethernet, making them portable and easy to use. Signal measurement devices are usually operated as a single device during use, and their measurement channels are usually limited to 1 to 4 ports. When multiple channels need to be measured synchronously, multiple signal measurement devices are required to work together. When multiple signal measurement devices work together, a synchronous trigger signal is required for data sampling alignment and phase calibration. When multiple signal measurement devices are cascaded, they face the problem of insufficient accuracy of the synchronous trigger signal and a large acquisition dead zone, which limits the system performance of the cascade system of the signal measurement device and increases the cost and space requirements for high-precision synchronous triggering. Summary of the invention

[0003] The main technical problem solved by the present invention is to provide a cascade signal measurement device and a cascade system for accurately collecting dead time with high precision.

[0004] According to the first aspect, an embodiment provides a cascade signal measurement device, including a control module and a storage module connected to the control module, an input port, an output port, a trigger input port and a trigger output port; The input port is connected to the component under test, and the output port is connected to the processing device; The trigger input port is connected to a trigger signal source, or is connected to a trigger output port of a cascade signal measuring device at an upper level in a cascade system including the cascade signal measuring device; The trigger output port is connected to the trigger input port of the next-stage cascade signal measuring device in the cascade system, or is connected to the trigger input port of the first cascade signal measuring device in the cascade system; the first cascade signal measuring device is a cascade signal measuring device in the cascade system whose trigger input port is directly connected to the trigger signal source; Among them, the control module is used to: The test signal output by the test component is collected in real time through the input port, and the collected test signal is stored in the storage module; Receiving a trigger signal output by a trigger signal source through a trigger input port, or receiving a trigger signal output by a cascade signal measuring device at an upper level in the cascade system, and outputting the trigger signal to a cascade signal measuring device at a lower level in the cascade system through a trigger output port; In response to the received trigger signal, output the pre-sampled data of the predetermined time length stored in the storage module to the processing device, wherein the predetermined time length is the total time length minus the delay time length of the moment when the cascade signal measuring device receives the trigger signal relative to the moment when the first cascade signal measuring device receives the trigger signal; When the cascade signal measuring device is synchronized with other cascade signal measuring devices in the cascade system, the currently and subsequently collected signals to be measured are output to the processing device through the output port.

[0005] In one embodiment, the total duration is greater than or equal to the delay duration of the moment when the last cascade signal measuring device in the cascade system receives the trigger signal relative to the moment when the first cascade signal measuring device receives the trigger signal; the last cascade signal measuring device is a cascade signal measuring device whose trigger output port is connected to the trigger input port of the first cascade signal measuring device in the cascade system.

[0006] In one embodiment, the delay duration includes at least a signal delay duration and a signal transmission delay duration; The time corresponding to the cascade signal measuring device obtaining the trigger signal is the first time, and the time corresponding to the trigger signal output to the cascade signal measuring device of the next level is the second time, and the time corresponding to the trigger signal received by the cascade signal measuring device of the next level is the third time; The signal delay duration is the time difference between the first moment and the second moment; the signal transmission delay duration is the time difference between the second moment and the third moment.

[0007] In one embodiment, the cascade signal measuring device further comprises a synchronous clock, and in the cascade signal measuring device connected to the first cascade signal measuring device, the delay duration further comprises a synchronization delay duration; The moment when the first cascade signal measuring device obtains the trigger signal is the fourth moment, the moment when the clock edge of the synchronous clock adjacent to the trigger signal obtained by the first cascade signal measuring device corresponds to the fifth moment, and the synchronization delay length is the time difference between the fourth moment and the fifth moment.

[0008] In one embodiment, the control module includes a signal acquisition correction module and a delay measurement module; The first input end of the signal acquisition and correction module is connected to the input port to collect the test signal output by the test component in real time; the first output end of the signal acquisition and correction module is connected to the storage module to store the collected test signal in the storage module; The first input end of the delay measurement module is connected to the trigger input port, the first output end of the delay measurement module is connected to the trigger output port, and the second output end of the delay measurement module is connected to the second input end of the signal acquisition and correction module; the delay measurement module is used to calculate the signal delay duration and the signal transmission delay duration.

[0009] In one embodiment, the second input end of the delay measurement module also obtains a synchronization clock for calculating the synchronization delay duration.

[0010] In one embodiment, the delay measurement module includes a selection module, a pulse module, a TDC measurement module and a TDC measurement delay module; The input end of the selection module is connected to the first input end of the delay measurement module, the first output end of the selection module is connected to the input end of the pulse module, the second output end of the selection module is connected to the first input end of the TDC measurement module, the first output end of the pulse module is connected to the second input end of the TDC measurement module, the second output end of the pulse module is connected to the first output end of the delay measurement module, the output end of the TDC measurement module is connected to the input end of the TDC measurement delay module, and the first output end of the TDC measurement delay module is connected to the second output end of the delay measurement module; When the cascade signal measuring device obtains the trigger signal, the selection module switches the trigger input port to connect with the pulse module, the pulse module obtains and outputs the trigger signal, the pulse module generates a first start signal to the TDC measurement module, and the TDC measurement module records the time when the first start signal is generated as the first time; The selection module switches the trigger input port to connect with the TDC measurement module. When the selection module obtains the pulse signal output by the cascade signal measurement device, the selection module generates a first stop signal to the TDC measurement module. The TDC measurement module records the time when the first stop signal is generated as the second time. The selection module switches the trigger input port to be connected to the TDC measurement module. When the cascade signal measurement device outputs the pulse signal to the cascade signal measurement device of the next stage, the selection module generates a second stop signal to the TDC measurement module, and the TDC measurement module records the time when the second stop signal is generated as the third time. The TDC delay measurement module calculates the time difference between the first moment and the second moment as the signal delay duration; The TDC delay measurement module further calculates the time difference between the second moment and the third moment as the signal transmission delay duration.

[0011] In one embodiment, the input terminal of the selection module is also connected to the second input terminal of the delay measurement module; In the first cascade signal measuring device, when the first cascade signal measuring device obtains the trigger signal, the selection module switches the trigger input port to be connected to the pulse module, the pulse module obtains and outputs the trigger signal, the pulse module generates a second start signal to the TDC measurement module, and the TDC measurement module records the second start signal generation time as the fourth time; The selection module switches the synchronous clock port to connect with the TDC measurement module. When the selection module obtains the clock edge of the synchronous clock adjacent to the trigger signal, the selection module generates a third stop signal to the TDC measurement module. The TDC measurement module records the time when the third stop signal is generated as the fifth time. The TDC delay measurement module calculates the time difference between the fourth moment and the fifth moment as the synchronization delay duration.

[0012] The control module also includes a signal integration module, a first input end of the signal integration module is connected to the signal acquisition and correction module, a second input end of the signal integration module is connected to the second output end of the delay measurement module, and an output end of the signal integration module is connected to the output port; the signal integration module responds to the trigger signal to integrate the pre-sampled data and the current and subsequent collected signals to be measured, and outputs the integrated data to the processing device.

[0013] In one embodiment, the control module also includes a signal integration module, a first input end of the signal integration module is connected to the second output end of the signal acquisition and correction module, a second input end of the signal integration module is connected to the third output end of the delay measurement module, and an output end of the signal integration module is connected to the output port; the signal integration module responds to the trigger signal to integrate the pre-sampled data, and the current and subsequent collected signals to be tested, and outputs the integrated data to the processing device.

[0014] According to the second aspect, an embodiment provides a cascade system, including: N cascade signal measuring devices, each cascade signal measuring device comprising a control module and a storage module connected to the control module, an input port, an output port, a trigger input port and a trigger output port, where N is a natural number; in, A trigger input port of a first cascade signal measuring device among the N cascade signal measuring devices is connected to a trigger signal source, and a trigger output port is connected to a trigger input port of a second cascade signal measuring device; The control module of the first cascade signal measuring device collects the test signal output by the test component connected to the input port in real time through the input port, stores the collected test signal in the storage module, receives the trigger signal output by the trigger signal source through the trigger input port, and outputs the trigger signal to the next cascade signal measuring device in the cascade system through the trigger output port; the control module outputs the pre-sampled data of the total duration stored in the storage module to the processing device connected to the output port in response to the received trigger signal; when the first cascade signal measuring device is synchronized with the remaining cascade signal measuring devices in the cascade system, the test signal collected currently and later is output to the processing device through the output port; The trigger input port of the i-th cascade signal measuring device among the N cascade signal measuring devices is connected to the trigger output port of the i-1-th cascade signal measuring device, and the trigger output port of the i-th cascade signal measuring device is connected to the trigger input port of the i+1-th cascade signal measuring device, wherein i is a natural number, 1<1<N; when i=N, the trigger output port of the i-th cascade signal measuring device is connected to the trigger input port of the first cascade signal measuring device; The control module of the i-th cascade signal measuring device collects the test signal output by the test component in real time through the input port, stores the collected test signal in the storage module, receives the trigger signal output by the cascade signal measuring device of the previous level in the cascade system through the trigger input port, and outputs the trigger signal to the cascade signal measuring device of the next level in the cascade system through the trigger output port; the control module responds to the received trigger signal and outputs the pre-sampled data of the predetermined time length stored in the storage module to the processing device, wherein the predetermined time length is the total time length minus the delay time length of the moment when the cascade signal measuring device receives the trigger signal relative to the moment when the first cascade signal measuring device receives the trigger signal; when the cascade signal measuring device is synchronized with the remaining cascade signal measuring devices in the cascade system, the current and subsequent collected test signals are output to the processing device through the output port.

[0015] According to the cascade signal measuring device and cascade system of the above-mentioned embodiment, the control module is used in the cascade signal measuring device to collect the test signal output by the test component in real time through the input port of each cascade signal measuring device, and the collected test signal is stored in the storage module. Each cascade signal measuring device obtains a trigger signal and outputs the trigger signal to the cascade signal measuring device of the next level. In response to the received trigger signal, each cascade signal measuring device calls the pre-sampled data of the predetermined time length from the storage module and outputs it to the processing device. When all the cascade signal measuring devices are synchronized, the synchronized current and subsequent test signals are output to the processing device. In the present application, the predetermined duration of each cascade signal measuring device is the total duration minus the delay duration of the moment when the trigger signal is received by the device relative to the moment when the first cascade signal measuring device receives the trigger signal. Since each cascade signal measuring device has a different delay in receiving the trigger signal, the pre-sampling data of each cascade signal measuring device that needs to be uploaded can be accurately determined by calculating the delay duration of each cascade signal measuring device, thereby ensuring that the signals to be tested uploaded by each cascade signal measuring device are synchronized after receiving the trigger signal, thereby solving the problems of low trigger synchronization accuracy, long waiting time and large sampling dead zone existing in cascade signal measuring devices and cascade systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1The hardware architecture diagram of high-precision synchronous clock and star trigger signal based on PXIe, AXIe and VPX chassis backplane bus; Figure 2 The hardware architecture diagram of the synchronous triggering method of daisy-chain cascading of multiple devices; Figure 3 The hardware structure diagram of the signal measuring device; Figure 4 The hardware architecture of the cascade system in one embodiment is shown in FIG. Figure 1 ; Figure 5 The hardware architecture of the cascade system in one embodiment is shown in FIG. Figure 2 ; Figure 6 A hardware architecture diagram of a cascade signal measuring device in an embodiment; Figure 7 A hardware architecture diagram of a control module of a cascade signal measurement device in an embodiment; Figure 8 A hardware architecture diagram of a delay measurement module of a cascade signal measurement device in an embodiment; Fig. 9 A hardware architecture diagram of a cascade signal measurement device including a synchronous clock in an embodiment; Fig.10 A schematic diagram of a synchronization delay duration in an embodiment; Fig.11 FIG. 4 is a hardware architecture diagram of a TDC time-to-digital converter in one embodiment. DETAILED DESCRIPTION

[0017] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.

[0018] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.

[0019] The serial numbers assigned to the components herein, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).

[0020] Please refer to Figure 1 In one embodiment, in order to obtain the effect of high-precision synchronous measurement, a hardware architecture of high-precision synchronous clock and star trigger signal based on PXIe (Peripheral Component Interconnection extensions for Instrumentation Express, an instrument platform standard based on PCIe bus extension), AXIe (Advanced Xtensible Interface Express, a high-density, scalable modular instrument platform standard extended from Advanced TCA) and VPX (VITA46, a new generation of high-speed serial bus standard proposed by VITA VME International Trade Association in 2007) chassis backplane bus is adopted, but this hardware architecture has high cost and volume, and is not suitable for portable electronic measurement equipment. At present, a solution based on an external star synchronous trigger for high-precision synchronization and triggering has become a possible choice. The external star trigger and the triggered electronic measurement equipment are in the same system synchronous clock area, and the trigger signal is synchronously distributed through the external star trigger. At the same time, it is required that the star trigger to the electronic measurement equipment synchronous trigger interface use equal-length cables to achieve each measurement equipment to obtain a high-precision synchronous trigger signal.

[0021] In the above embodiment, an external synchronization trigger is used, and the requirement of using equal-length cables from the trigger to each instrument trigger interface will bring great cost and space costs and inconvenience in test implementation. If the cable length matching error is large and the jitter of the trigger signal is also large, the synchronization accuracy will be poor.

[0022] Please refer to Figure 2 and Figure 3In one embodiment, the portable signal measuring instrument usually also adopts a multi-device daisy chain cascade synchronous triggering method. The measuring instruments at the master and slave nodes are in the same clock synchronization system. The master node delay measurement module sends a test pulse to the trigger output port. The master instrument and the slave instrument are connected end to end. By testing the delay of the test pulse regenerated and returned by the slave instrument, the transmission delay results of the trigger signal from the master instrument to each slave instrument are obtained respectively. The waiting time for the trigger of each node signal measurement and acquisition data is set, and the trigger action is started after the corresponding trigger waiting time, so as to achieve the purpose of simultaneous triggering of the master and slave nodes and synchronous uploading of data.

[0023] In the above embodiment, the traditional cascade synchronous trigger interface method is adopted to set the waiting time for the signal measurement trigger of each node slave instrument, which is a relatively good low-cost solution. However, this solution is more concerned with how the master and slave node instruments can synchronously trigger data collection, and less consideration is given to optimizing the dead time caused by the waiting time from the actual trigger signal to the synchronous acquisition of sampled data by each node instrument. The more cascade node slave instruments there are, the longer the waiting time is, and the longer the dead time from the actual trigger to the synchronous acquisition of sampled data by each node instrument is, and the regeneration test pulse processing of the slave instrument will also introduce a certain waiting delay. At the same time, since the external trigger signal input of the master instrument will be processed across clock domains, the multi-beat synchronization method solves the synchronization problem across clock domains, but it also brings a longer waiting delay.

[0024] In order to solve the above problems, the present application provides a cascade signal measuring device and a cascade system. By storing pre-sampled data in the cascade signal measuring device, the first cascade signal measuring device in the cascade system is used as the main cascade signal measuring device, and the remaining connected cascade signal measuring devices are slave cascade signal measuring devices. In one main cascade signal measuring device and multiple slave cascade signal measuring devices, the main cascade signal measuring device sends a trigger signal to each slave cascade signal measuring device, and measures the delay time of each slave cascade signal measuring device respectively. According to the delay result as the cascade mode, the pre-sampled data of the corresponding time length is taken out in each slave cascade signal measuring device respectively to correct and compensate the sampling data of each slave cascade signal measuring device, so as to ensure that the master cascade signal measuring device and the slave cascade signal measuring device upload the sampling data synchronously after receiving the trigger signal. Thereby, the problems of low trigger synchronization accuracy, long waiting time and large sampling dead zone existing in the cascade signal measuring device and the cascade system can be solved, and the purpose of high-precision synchronous triggering of the cascade signal measuring device and the cascade system can be achieved, which will be specifically explained below.

[0025] Please refer to Figure 4In one embodiment, a cascade system is provided, which includes N cascade signal measuring devices, each of which includes an input port, an output port, a trigger input port and a trigger output port.

[0026] In one embodiment, the first cascade signal measuring device among N cascade signal measuring devices is a master cascade signal measuring device, and the remaining connected cascade signal measuring devices are slave cascade signal measuring devices. The trigger input port of the master cascade signal measuring device is connected to the trigger signal source, and the trigger output port of the master cascade signal measuring device outputs the trigger signal to the slave cascade signal measuring device. The trigger input port of the first slave cascade signal measuring device in each slave cascade signal measuring device is connected to the trigger output port of the master cascade signal measuring device, the trigger output port of the first slave cascade signal measuring device is connected to the trigger input port of the second slave cascade signal measuring device, the trigger output port of the second slave cascade signal measuring device is connected to the trigger input port of the third slave cascade signal measuring device, and so on. Each slave cascade signal measuring device is connected in sequence according to the above-mentioned slave cascade signal measuring device until the trigger output port of the last slave cascade signal measuring device is connected to the trigger input port of the master cascade signal measuring device.

[0027] In one embodiment, in the connection relationship between the above-mentioned master cascade signal measuring device and the slave cascade signal measuring device, the trigger signal of the master cascade signal measuring device is obtained through a trigger signal source, and the trigger signal of the slave cascade signal measuring device is obtained through a trigger output port of the upper-level slave cascade signal measuring device connected to the trigger input port of the slave cascade signal measuring device, and the obtained trigger signal is output from the trigger output port of the slave cascade signal measuring device to the trigger output port of the slave cascade signal measuring device of the next level.

[0028] It should be noted that in the cascade system, the main cascade signal measuring device obtains the trigger signal through the trigger signal source, and transmits the trigger signal to each slave cascade signal measuring device in sequence through the main cascade signal measuring device. During the transmission process, each slave cascade signal measuring device has a different delay time compared to the time when the main cascade signal measuring device obtains the trigger signal. The longer the delay time of the slave cascade signal measuring device is, the farther it is connected to the main cascade signal measuring device. When the last slave cascade signal measuring device obtains the trigger signal, all cascade signal measuring devices in the cascade system are synchronized. After that, the data of the signal to be measured collected by all cascade signal measuring devices are synchronized.

[0029] Please refer to Figure 5In one embodiment, the input port of each cascade signal measuring device is connected to the analog-to-digital converter, and the analog-to-digital converter is connected to the component to be tested to obtain the signal to be tested output by the component to be tested, and the signal to be tested output by the component to be tested is collected in real time through the input port of each cascade signal measuring device, and the output port of each cascade signal measuring device is connected to the processing equipment to send the measurement data of the component to be tested obtained by the cascade signal measuring device to the processing equipment.

[0030] Please refer to Figure 6 In the cascade system, the present application provides the following embodiments to specifically describe each cascade signal measuring device in the cascade system.

[0031] It should be noted that the hardware structures of each cascade signal measuring device are the same, and all include a control module 110 and a storage module 120, and the control module 110 is connected to the storage module 120, wherein the operating functions of each hardware module in each cascade signal measuring device are similar, and the differences between the main cascade signal measuring device and the slave cascade signal measuring device will be described in detail.

[0032] In one embodiment, each cascade signal measuring device is connected to the component under test through an input port. Regardless of whether the cascade signal measuring device receives a trigger signal, as long as the control module 110 controls the input port to be turned on, each cascade signal measuring device will collect the signal under test output by the component under test in real time and store the collected signal under test in the storage module 120.

[0033] In one embodiment, in each cascade signal measuring device, when the control module 110 obtains a trigger signal, the pre-sampled data of a predetermined time length stored in the storage module 120 is output to the processing device. When the cascade signal measuring device is synchronized with other cascade signal measuring devices, the current and subsequent collected signals to be measured are output to the processing device through the output port.

[0034] It should be noted that when the control module 110 obtains the trigger signal, the cascade signal measuring device is triggered, and the dead time is from the moment when the trigger signal is obtained to the moment when the cascade signal measuring device is synchronized with the other cascade signal measuring devices. Since the cascade signal measuring device has been collecting the test signal output by the test component in real time when receiving the trigger signal, the storage module 120 stores the test signal within the dead time. Whether it is the main cascade signal measuring device or the slave cascade signal measuring device, when obtaining the trigger signal, it can call out the test signal within its own dead time from the storage module 120, that is, the pre-sampled data in this application, so that the sampled data within the dead time can be accurately collected.

[0035] In one embodiment, the predetermined duration of the pre-sampled data is the total duration Tmax minus the delay duration Tdelay of the moment when the cascade signal measuring device receives the trigger signal relative to the moment when the first cascade signal measuring device receives the trigger signal. The total duration Tmax is greater than or equal to the delay duration Tdelay of the moment when the last slave cascade signal measuring device in the cascade system receives the trigger signal relative to the moment when the main cascade signal measuring device receives the trigger signal.

[0036] It should be noted that in the cascade system, since the last slave cascade signal measuring device is the farthest connected to the main cascade signal measuring device that sends the trigger signal, the last slave cascade signal measuring device receives the trigger signal the latest, and has the longest delay time compared to the main cascade signal measuring device. Moreover, when the last slave cascade signal measuring device obtains the trigger signal, all cascade signal measuring devices in the cascade system are synchronized. Therefore, when each cascade signal measuring device samples the pre-sampled data, the total duration Tmax is set to be greater than or equal to the delay duration Tdelay of the moment when the last slave cascade signal measuring device receives the trigger signal relative to the moment when the main cascade signal measuring device receives the trigger signal, so as to ensure that the dead time of each cascade signal measuring device can be completely and accurately collected.

[0037] In the collection of pre-sampling data, it is necessary to use the total time Tmax minus the delay time Tdelay of the time when the cascade signal measuring device receives the trigger signal relative to the time when the first cascade signal measuring device receives the trigger signal, because the delay time Tdelay of each slave cascade signal measuring device is different from that of the master cascade signal measuring device.

[0038] In one embodiment, in the main cascade signal measuring device, since the delay time Tdelay between the time when the main cascade signal measuring device receives the trigger and the time when it receives the trigger signal is 0, in the main cascade signal measuring device, the pre-sampled data of the total time length Tmax stored in the storage module 120 can be output to the processing device.

[0039] In one embodiment, in a slave cascade signal measuring device, there is a delay time between the time when the master cascade signal measuring device outputs a trigger signal and the time when the slave cascade signal measuring device receives the trigger signal. There is also a delay time before the slave cascade signal measuring device sends the trigger signal to the slave cascade signal measuring device of the next level. The delay time is getting longer and longer, and the sampled data within the delay time is meaningless. Therefore, the pre-sampled data in each slave cascade signal measuring device needs to use the total time Tmax minus the delay time Tdelay corresponding to each slave cascade signal measuring device.

[0040] In one embodiment, the delay time length Tdelay in each cascade signal measuring device at least includes a signal delay time length ∆Xn and a signal transmission delay time length ∆Tn. The signal delay time length ∆Xn refers to the time difference between the time when each cascade signal measuring device obtains the corresponding trigger signal and the time when it outputs the trigger signal; the signal transmission delay time length ∆Tn refers to the time difference between the time when each cascade signal measuring device outputs the trigger signal and the time when the next cascade signal measuring device that receives the trigger signal receives the trigger signal.

[0041] In one embodiment, the time when each cascade signal measuring device obtains the trigger signal is the first time, the time when the cascade signal measuring device outputs the trigger signal to the cascade signal measuring device of the next stage is the second time, and the time when the cascade signal measuring device of the next stage receives the trigger signal is the third time. Then, the signal delay time ∆Xn is the time difference between the first time and the second time, and the signal transmission delay time ∆Tn is the time difference between the second time and the third time.

[0042] Please refer to Figure 7 In one embodiment, in order to accurately calculate the signal delay time ∆Xn and the signal transmission delay time ∆Tn, the control module 110 includes a signal acquisition correction module 111, a delay measurement module 112 and a signal integration module 113.

[0043] In one embodiment, the first input end of the signal acquisition and correction module 111 is connected to the input port to collect the test signal output by the component under test in real time, and the first output end of the signal acquisition and correction module 111 is connected to the storage module 120 to store the collected test signal in the storage module 120. The first input end of the delay measurement module 112 is connected to the trigger input port, the first output end of the delay measurement module 112 is connected to the trigger output port, and the second output end of the delay measurement module 112 is connected to the second input end of the signal acquisition and correction module 111. The delay measurement module 112 responds to the trigger signal to trigger the signal acquisition and correction module 111 to call the storage module 120 and output the pre-sampled data of the predetermined time length to the processing device. In addition, the second input end of the delay measurement module 112 also obtains the synchronization clock, so that the delay measurement module 112 can calculate the signal delay time length ∆Xn, the signal transmission delay time length and the synchronization delay time length ∆y.

[0044] Please refer to Figure 8 In one embodiment, the delay measurement module 112 includes a selection module 1121, a pulse module 1122, a TDC measurement module 1123 and a TDC measurement delay module 1124.

[0045] In one embodiment, the input end of the selection module 1121 is connected to the first input end of the delay measurement module 112, the first output end of the selection module 1121 is connected to the input end of the pulse module 1122, the second output end of the selection module 1121 is connected to the first input end of the TDC measurement module 1123, the first output end of the pulse module 1122 is connected to the second input end of the TDC measurement module 1123, the second output end of the pulse module 1122 is connected to the first output end of the delay measurement module 112, the output end of the TDC measurement module 1123 is connected to the input end of the TDC measurement delay module 1124, and the first output end of the TDC measurement delay module 1124 is connected to the second output end of the delay measurement module 112.

[0046] In one embodiment, taking the first slave cascade signal measuring device as an example, when the first slave cascade signal measuring device obtains a trigger signal, the selection module 1121 switches to the trigger input port and connects to the pulse module 1122. At this time, the pulse module 1122 obtains the trigger signal and outputs the trigger signal. When the pulse module 1122 outputs the trigger signal, it generates a first start signal to the TDC measurement module 1123. At this time, the TDC measurement module 1123 records the time when the first start signal is generated as the first time.

[0047] In one embodiment, after recording the first moment, the selection module 1121 switches the trigger input port to connect with the TDC measurement module 1123. When the selection module 1121 obtains the pulse signal output by its own cascade signal measurement device, the selection module 1121 generates a first stop signal to the TDC measurement module 1123. At this time, the TDC measurement module 1123 records the moment when the first stop signal is generated as the second moment.

[0048] It should be noted that, when measuring the second moment, the moment when the first slave cascade signal measuring device outputs the trigger signal obtained by itself to the second slave cascade signal measuring device is the same as the moment when the first slave cascade signal measuring device returns the trigger signal obtained by itself to itself. Therefore, for the simplicity and convenience of engineering practice, the moment when the first slave cascade signal measuring device returns the trigger signal obtained by itself to itself is marked as the second moment.

[0049] In one embodiment, when the selection module 1121 maintains the connection between the trigger input port and the TDC measurement module 1123, when the first slave cascade signal measurement device outputs a pulse signal to the second slave cascade signal measurement device, the selection module 1121 generates a second stop signal to the TDC measurement module 1123. At this time, the TDC measurement module 1123 records the moment when the second stop signal is generated as the third moment.

[0050] It should be noted that the third moment is actually the moment when the second slave cascade signal measuring device receives the pulse signal output by the first slave cascade signal measuring device. However, if the third moment is measured by the second slave cascade signal measuring device, and the second moment is obtained by the first slave cascade signal measuring device, then the signal transmission delay time ∆Tn is not easy to calculate. The signal transmission delay time ∆Tn is essentially the delay time of the trigger signal transmitted between two adjacent cascade signal measuring devices. Therefore, for the convenience of calculation in engineering practice, the length of the connecting line between the first slave cascade signal measuring device and the second slave cascade signal measuring device is maintained unchanged, and the connecting line connected to the trigger output port of the second slave cascade signal measuring device is returned to the trigger input port of the first slave cascade signal measuring device, so that the first slave cascade signal measuring device can be used to measure the signal transmission delay time ∆Tn of the second slave cascade signal measuring device receiving the pulse signal output by the first slave cascade signal measuring device.

[0051] In one embodiment, the TDC delay measurement module 1124 calculates the time difference between the first moment and the second moment as the signal delay duration ∆Xn, and calculates the time difference between the second moment and the third moment as the signal transmission delay duration ∆Tn.

[0052] It should be noted that in engineering practice, for the convenience of operation, the delay time of each cascade signal measuring device directly outputs the sum of the signal delay time ∆Xn and the signal transmission delay time ∆Tn, and does not measure the signal delay time ∆Xn and the signal transmission delay time ∆Tn separately.

[0053] Please refer to Fig. 9 and Fig.10 In one embodiment, each cascade signal measuring device in the cascade system is provided with a synchronous clock, and time is also required in the asynchronous to synchronous process of the master cascade signal measuring device acquiring the trigger signal. Therefore, the delay time Tdelay in the adjacent slave cascade signal measuring device connected to the master cascade signal measuring device also includes the synchronization delay time ∆y.

[0054] In one embodiment, the moment when the main cascade signal measuring device obtains the trigger signal is the fourth moment (if the cascade signal measuring device described in the above embodiment is the main cascade signal measuring device, then the moment when the main cascade signal measuring device obtains the trigger signal is also the first moment, that is, in the case of the main cascade signal measuring device, the first moment and the fourth moment are equal), and the moment when the main cascade signal measuring device obtains the clock edge of the synchronous clock adjacent to the trigger signal is the fifth moment (the clock edge of the synchronous clock adjacent to the trigger signal refers to the clock edge of the synchronous clock in the order of time lapse), and the synchronization delay time ∆y is the time difference between the fourth moment and the fifth moment.

[0055] In one embodiment, in the main cascade measurement device, the input end of the selection module 1121 in the delay measurement module 112 is also connected to the second input end of the delay measurement module 112. When the main cascade signal measurement device obtains a trigger signal, the selection module 1121 switches the trigger input port to connect with the pulse module 1122. The pulse module 1122 obtains and outputs the trigger signal. The pulse module 1122 generates a second start signal to the TDC measurement module 1123. At this time, the TDC measurement module 1123 records the moment when the second start signal is generated as the fourth moment.

[0056] In one embodiment, after recording the fourth moment, the selection module 1121 switches the synchronous clock port to connect with the TDC measurement module 1123. When the selection module 1121 obtains the clock edge of the synchronous clock adjacent to the trigger signal, the selection module 1121 generates a third stop signal to the TDC measurement module 1123. The TDC measurement module 1123 records the moment when the third stop signal is generated as the fifth moment.

[0057] In one embodiment, the TDC measurement delay module 1124 calculates the time difference between the fourth moment and the fifth moment as the synchronization delay duration ∆y.

[0058] It should be noted that, since the main cascade signal measurement device has a synchronization delay time ∆y, when each slave cascade signal measurement device obtains the trigger signal, there will be a delay of the synchronization delay time ∆y transmitted by the main cascade signal measurement device itself. Therefore, in order to ensure the accuracy of dead time data acquisition, the calculation of the delay time Tdelay includes the synchronization delay time ∆y.

[0059] In one embodiment, the first input end of the signal integration module 113 is connected to the signal acquisition and correction module 111, the second input end of the signal integration module 113 is connected to the third output end of the delay measurement module 112, wherein the second output end of the TDC delay measurement module 1124 is connected to the third output end of the delay measurement module 112, and the output end of the signal integration module 113 is connected to the output port. The signal integration module 113 responds to the trigger signal to integrate the pre-sampled data and the current and subsequent collected signals to be measured, and outputs the integrated data to the processing device.

[0060] Please refer to Fig.11In one embodiment, the TDC measurement module 1123 of the present application uses a TDC time-to-digital converter to delay the time interval signal to be measured, that is, when the TRIG_IN signal arrives, the delay chain is started, and the signal to be measured is transmitted in sequence along the delay chain. When the rising edge of the FPGA synchronous clock signal arrives, the delay chain is closed. At this time, the signal will stay on a certain delay unit, and the position of the delay unit and the number of delay units that the signal has passed through are recorded. Since the delay of each delay unit is known, the length of the time interval to be measured can be obtained based on the number of delay units that the signal has passed through. In FPGA, the carry chain can play the role of a delay line well, and can achieve ps-level delay measurement.

[0061] In the cascade signal measuring device and cascade system provided by the present application, the control module 110 obtains the delay time of each cascade signal measuring device and calculates the pre-sampled data assigned to the corresponding time of each cascade signal measuring device. The analog-to-digital converter connected to each cascade signal measuring device stores the measured signal acquired in real time in advance in the storage module 120. In the cascade trigger mode, a trigger signal is set in the main cascade signal measuring device. When each slave cascade signal measuring device receives the trigger signal, it immediately uses its own pre-sampled data stored in the storage module 120 to compensate for the acquisition of the measured signal within the dead time, thereby ensuring that all the cascade signal measuring devices, after receiving the trigger signal, upload all the measured signals synchronously.

[0062] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.

[0063] The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art, according to the concept of the present invention, some simple deductions, modifications or substitutions can be made.

Claims

1. A cascade signal measuring device, characterized in that: It includes a control module and a storage module, an input port, an output port, a trigger input port and a trigger output port connected to the control module; The input port is connected to the component under test, and the output port is connected to the processing device; The trigger input port is connected to a trigger signal source, or connected to a trigger output port of a cascade signal measuring device at an upper level in a cascade system including the cascade signal measuring device; The trigger output port is connected to the trigger input port of the next-stage cascade signal measuring device in the cascade system, or is connected to the trigger input port of the first cascade signal measuring device in the cascade system; the first cascade signal measuring device is a cascade signal measuring device in the cascade system whose trigger input port is directly connected to the trigger signal source; Wherein, the control module is used for: Collecting the test signal output by the test component in real time through the input port, and storing the collected test signal in the storage module; Receiving a trigger signal output by a trigger signal source through the trigger input port, or receiving a trigger signal output by a cascade signal measuring device at an upper level in the cascade system, and outputting the trigger signal to a cascade signal measuring device at a lower level in the cascade system through the trigger output port; In response to a received trigger signal, outputting the pre-sampled data of a predetermined time length stored in the storage module to the processing device, wherein the predetermined time length is the total time length minus the delay time length of the moment when the cascade signal measuring device receives the trigger signal relative to the moment when the first cascade signal measuring device receives the trigger signal; When the cascade signal measuring device is synchronized with other cascade signal measuring devices in the cascade system, the signals to be measured collected currently and subsequently are output to the processing device through the output port.

2. The cascade signal measuring device according to claim 1, characterized in that: The total duration is greater than or equal to the delay duration of the moment when the last cascade signal measuring device in the cascade system receives the trigger signal relative to the moment when the first cascade signal measuring device receives the trigger signal; the last cascade signal measuring device is a cascade signal measuring device in the cascade system whose trigger output port is connected to the trigger input port of the first cascade signal measuring device.

3. The cascade signal measuring device according to claim 1, characterized in that: The delay duration at least includes the signal delay duration and the signal transmission delay duration; The moment when the cascade signal measuring device obtains the trigger signal is the first moment, and the moment when the trigger signal is output to the cascade signal measuring device of the next stage is the second moment, and the moment when the cascade signal measuring device of the next stage receives the trigger signal is the third moment; The signal delay duration is the time difference between the first moment and the second moment; the signal transmission delay duration is the time difference between the second moment and the third moment.

4. The cascade signal measuring device according to claim 3, characterized in that: The cascade signal measuring device further comprises a synchronous clock, and in the cascade signal measuring device connected to the first cascade signal measuring device, the delay duration further comprises a synchronization delay duration; The moment when the first cascade signal measuring device obtains the trigger signal is the fourth moment, the moment when the clock edge of the synchronous clock adjacent to the trigger signal obtained by the first cascade signal measuring device corresponds to the fifth moment, and the synchronization delay duration is the time difference between the fourth moment and the fifth moment.

5. The cascade signal measuring device according to claim 4, characterized in that: The control module includes a signal acquisition and correction module and a delay measurement module; The first input end of the signal acquisition and correction module is connected to the input port to acquire the test signal output by the test component in real time; the first output end of the signal acquisition and correction module is connected to the storage module to store the acquired test signal in the storage module; The first input end of the delay measurement module is connected to the trigger input port, the first output end of the delay measurement module is connected to the trigger output port, and the second output end of the delay measurement module is connected to the second input end of the signal acquisition and correction module; the delay measurement module is used to calculate the signal delay duration and the signal transmission delay duration.

6. The cascade signal measuring device according to claim 5, characterized in that: The second input end of the delay measurement module also obtains a synchronization clock for calculating the synchronization delay duration.

7. The cascade signal measuring device according to claim 6, characterized in that: The delay measurement module includes a selection module, a pulse module, a TDC measurement module and a TDC measurement delay module; The input end of the selection module is connected to the first input end of the delay measurement module, the first output end of the selection module is connected to the input end of the pulse module, the second output end of the selection module is connected to the first input end of the TDC measurement module, the first output end of the pulse module is connected to the second input end of the TDC measurement module, the second output end of the pulse module is connected to the first output end of the delay measurement module, the output end of the TDC measurement module is connected to the input end of the TDC measurement delay module, and the first output end of the TDC measurement delay module is connected to the second output end of the delay measurement module; When the cascade signal measuring device obtains a trigger signal, the selection module switches the trigger input port to be connected to the pulse module, the pulse module obtains and outputs the trigger signal, the pulse module generates a first start signal to the TDC measurement module, and the TDC measurement module records the time when the first start signal is generated as the first time; The selection module switches the trigger input port to be connected to the TDC measurement module. When the selection module obtains the pulse signal output by the cascade signal measurement device, the selection module generates a first stop signal to the TDC measurement module. The TDC measurement module records the time when the first stop signal is generated as the second time. The selection module switches the trigger input port to be connected to the TDC measurement module, and when the cascade signal measurement device outputs the pulse signal to the cascade signal measurement device of the next stage, the selection module generates a second stop signal to the TDC measurement module, and the TDC measurement module records the time when the second stop signal is generated as the third time; The TDC delay measurement module calculates the time difference between the first moment and the second moment as the signal delay duration; The TDC delay measurement module further calculates the time difference between the second moment and the third moment as the signal transmission delay duration.

8. The cascade signal measuring device according to claim 7, characterized in that: The input end of the selection module is also connected to the second input end of the delay measurement module; In the first cascade signal measuring device, when the first cascade signal measuring device obtains the trigger signal, the selection module switches the trigger input port to be connected to the pulse module, the pulse module obtains and outputs the trigger signal, the pulse module generates a second start signal to the TDC measurement module, and the TDC measurement module records that the second start signal is generated at the fourth time; The selection module switches the synchronous clock port to be connected to the TDC measurement module, and when the selection module obtains the clock edge of the synchronous clock adjacent to the trigger signal, the selection module generates a third stop signal to the TDC measurement module, and the TDC measurement module records the time when the third stop signal is generated as the fifth time; The TDC delay measurement module calculates the time difference between the fourth moment and the fifth moment as the synchronization delay duration.

9. The cascade signal measuring device according to claim 5, characterized in that: The control module further comprises a signal integration module, wherein a first input end of the signal integration module is connected to a second output end of the signal acquisition and correction module, a second input end of the signal integration module is connected to a third output end of the delay measurement module, and an output end of the signal integration module is connected to the output port; The signal integration module responds to the trigger signal to integrate the pre-sampled data and the currently and subsequently collected signals to be tested, and outputs the integrated data to the processing device.

10. A cascade system, characterized in that: include: N cascade signal measuring devices, each cascade signal measuring device comprising a control module and a storage module connected to the control module, an input port, an output port, a trigger input port and a trigger output port, where N is a natural number; in, A trigger input port of a first cascade signal measuring device among the N cascade signal measuring devices is connected to a trigger signal source, and a trigger output port is connected to a trigger input port of a second cascade signal measuring device; The control module of the first cascade signal measuring device collects the test signal output by the test component connected to the input port in real time through the input port, and stores the collected test signal in the storage module, receives the trigger signal output by the trigger signal source through the trigger input port, and outputs the trigger signal to the next-level cascade signal measuring device in the cascade system through the trigger output port; the control module outputs the pre-sampled data of the total duration stored in the storage module to the processing device connected to the output port in response to the received trigger signal; when the first cascade signal measuring device is synchronized with the remaining cascade signal measuring devices in the cascade system, the test signal collected currently and later is output to the processing device through the output port; The trigger input port of the i-th cascade signal measuring device among the N cascade signal measuring devices is connected to the trigger output port of the i-1-th cascade signal measuring device, and the trigger output port of the i-th cascade signal measuring device is connected to the trigger input port of the i+1-th cascade signal measuring device, wherein i is a natural number, 1<1<N; when i=N, the trigger output port of the i-th cascade signal measuring device is connected to the trigger input port of the first cascade signal measuring device; The control module of the i-th cascade signal measuring device collects the test signal output by the component under test in real time through the input port, stores the collected test signal in the storage module, receives the trigger signal output by the cascade signal measuring device of the previous level in the cascade system through the trigger input port, and outputs the trigger signal to the cascade signal measuring device of the next level in the cascade system through the trigger output port; the control module outputs the pre-sampled data of a predetermined time length stored in the storage module to the processing device in response to the received trigger signal, wherein the predetermined time length is the total time length minus the delay time length of the moment when the cascade signal measuring device receives the trigger signal relative to the moment when the first cascade signal measuring device receives the trigger signal; when the cascade signal measuring device is synchronized with the remaining cascade signal measuring devices in the cascade system, the current and subsequent collected test signals are output to the processing device through the output port.

Citation Information

Patent Citations

  • Trigger connector capable of being flexibly connected, signal acquisition control equipment and signal acquisition control system

    CN116955258A

  • Trigger synchronization precision improving method of cascade trigger system

    CN117155530A