Cascade signal measuring device and cascade system
By designing control modules and synchronous clock update trigger signals in cascade signal measurement devices and cascade systems, calculating the delay time of each cascade signal measurement device, and determining the presampled data of a predetermined time, the problems of low synchronous trigger accuracy and large collection dead zone range in cascade signal measurement devices are solved, and high-precision synchronous measurement is achieved, reducing costs and space requirements.
Patent Information
- Application Number
- CN202510067457.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-03-21
AI Technical Summary
When multiple portable signal measuring instruments are cascaded, problems are prone to low synchronization triggering accuracy and large acquisition dead zone range, resulting in high-precision synchronization triggering cost and space cost.
A cascade signal measurement device and a cascade system are designed to collect signals to be tested in real time through the control module, and update the trigger signal using a synchronous clock, calculate the delay time of each cascade signal measurement device, and determine the presampled data of a predetermined time to ensure that all cascade signal measurement devices uploaded by the test signals to be tested after receiving the trigger signal is synchronized.
It effectively solves the problems of low trigger synchronization accuracy, long waiting time and large sampling dead zones in cascading signal measurement devices and cascading systems, ensuring high-precision synchronous measurements and reducing costs and space requirements.
Smart Images

Figure CN119676138A_ABST
Abstract
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] At present, most portable signal measuring instruments are based on modules with USB, Thunderbolt or Ethernet interfaces, and are used in combination with laptops, with good portability and ease of use. However, such devices are usually used as single devices, and the measurement channels are limited to 1 to 4 ports. In application scenarios where more ports are required for synchronous measurement, multiple portable signal measuring instruments are often required to work together. The synchronous trigger signal plays a key role in data sampling alignment and phase calibration between instruments, and the performance of the synchronous trigger signal between instruments directly affects the accuracy and operation efficiency of the measurement system. Therefore, the synchronous trigger signal must have the characteristics of low jitter, low latency, high synchronization accuracy and small trigger dead zone. When multiple portable signal measuring instruments are cascaded, there are often problems with low synchronization trigger accuracy and large acquisition dead zone range, resulting in high cost and space cost for high-precision synchronization triggering. Summary of the invention
[0003] The main technical problem solved by the present invention is to provide a cascade signal measurement device for collecting dead time and a corresponding cascade system.
[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, a trigger output port and a synchronization clock port;
[0005] The input port is connected to the component under test, the output port is connected to the processing device, and the synchronous clock port is connected to the synchronous clock;
[0006] 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;
[0007] 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;
[0008] Among them, the control module is used to:
[0009] 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;
[0010] 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 updating the trigger signal using a synchronous clock, and outputting the updated trigger signal to the cascade signal measuring device at a lower level in the cascade system through a trigger output port;
[0011] 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;
[0012] 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.
[0013] 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.
[0014] In one embodiment, the control module acquires the trigger signal at the clock edge of the synchronous clock that is delayed from the signal edge of the trigger signal, and outputs the trigger signal at the next clock edge adjacent to the clock edge of the synchronous clock to complete the update of the trigger signal.
[0015] In one embodiment, the delay duration includes a signal delay duration, and the signal delay duration is the time difference between the moment when the cascade signal measurement device obtains the corresponding moment of the trigger signal and the moment when the cascade signal measurement device outputs the trigger signal to the next level.
[0016] In one embodiment, the delay duration also includes a signal transmission delay duration, and the signal transmission delay duration is the time difference between the moment when the cascade signal measuring device outputs the trigger signal to the cascade signal measuring device of the next level and the moment when the cascade signal measuring device of the next level receives the trigger signal.
[0017] In one embodiment, the control module includes a signal acquisition module and a signal delay update module;
[0018] The first input end of the signal acquisition 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 module is connected to the storage module to store the collected test signal in the storage module;
[0019] The first input end of the signal delay update module is connected to the trigger input port, the second input end of the signal delay update module is connected to the synchronization clock port, the first output end of the signal delay update module is connected to the trigger output port, and the second output end of the signal delay update module is connected to the second input end of the signal acquisition module;
[0020] The signal delay update module is used to obtain a trigger signal at a clock edge of a synchronous clock that is delayed from a signal edge of the trigger signal, and output a trigger signal at a next clock edge adjacent to the clock edge of the synchronous clock.
[0021] In one embodiment, the control module includes a signal integration module, a first input end of the signal integration module is connected to a second output end of the signal acquisition module, a second input end of the signal integration module is connected to a second output end of the signal delay update module, and an output end of the signal integration module is connected to an output port; the signal integration module responds to a received trigger signal or an updated trigger signal to integrate pre-sampled data, as well as current and subsequently acquired signals to be tested, and outputs the integrated data to a processing device.
[0022] According to the second aspect, an embodiment provides a cascade system, including:
[0023] N cascade signal measuring devices, each of which includes a control module and a storage module connected to the control module, an input port, an output port, a trigger input port, a trigger output port and a synchronous clock port;
[0024] Among them, the trigger input port of the first cascade signal measuring device among the N cascade signal measuring devices is connected to the trigger signal source, and the trigger output port is connected to the trigger input port of the next cascade signal measuring device in the cascade system;
[0025] The control module of the first 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 trigger signal source through the trigger input port, and updates the trigger signal using the synchronous clock obtained through the synchronous clock port, and outputs the updated 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 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;
[0026] 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;
[0027] 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, and 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 updates the trigger signal by using the synchronization clock obtained through the synchronization clock port, and outputs the updated 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 updated trigger signal, 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.
[0028] In one embodiment, the total duration is greater than or equal to the delay duration of the moment when the i-th 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, where i=N.
[0029] In one embodiment, the control module acquires the trigger signal at the clock edge of the synchronous clock that is delayed from the signal edge of the trigger signal, and outputs the trigger signal at the next clock edge adjacent to the clock edge of the synchronous clock to complete the update of the trigger signal.
[0030] 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. After obtaining the trigger signal, each cascade signal measuring device updates the trigger signal using the synchronous clock, and outputs the updated 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. After 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
[0031] Figure 1 The hardware architecture diagram of high-precision synchronous clock and star trigger signal based on PXIe, AXIe and VPX chassis backplane bus;
[0032] Figure 2 The hardware architecture diagram of the synchronous triggering method of daisy-chain cascading of multiple devices;
[0033] Figure 3 The hardware structure diagram of the signal measuring device;
[0034] Figure 4 A hardware architecture diagram of a cascade system in one embodiment;
[0035] Figure 5 A hardware architecture diagram of a cascade signal measuring device in an embodiment;
[0036] Figure 6 A clock timing diagram of a signal transmission delay duration in an embodiment;
[0037] Figure 7 A clock timing diagram of the delay duration in an embodiment;
[0038] Figure 8 FIG. 4 is a hardware architecture diagram of a control module of a cascade signal measurement device in an embodiment. DETAILED DESCRIPTION
[0039] 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.
[0040] 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.
[0041] The serial numbers of the components in this document, 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).
[0042] Please refer to Figure 1In 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 eXtensible Interface Express, a high-density, scalable modular instrument platform standard extended from AdvancedTCA), and VPX (VITA46, a new generation of high-speed serial bus standard proposed by VITA VME International Trade Association in 2007) frame backplane bus is adopted, but this hardware architecture has high cost and volume cost, and is not suitable for portable electronic measurement equipment. At present, a solution based on external star synchronization 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 synchronization 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 synchronization trigger interface use equal length cables to achieve each measurement equipment to obtain a high-precision synchronization trigger signal.
[0043] 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.
[0044] Please refer to Figure 2 and Figure 3 In 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 interface. 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 then the trigger action is started after the corresponding trigger effective waiting time, so as to achieve the purpose of simultaneous triggering of the master and slave nodes and synchronous uploading of data.
[0045] In the above embodiment, the traditional cascade synchronous trigger interface method is adopted to set the trigger waiting time of the signal measurement 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.
[0046] In response to the various problems mentioned above, the present application provides a cascade signal measuring device and a cascade system. In a cascade signal measuring device including multiple cascades, the first cascade signal measuring device in the cascade sends a trigger signal to the remaining cascade signal measuring devices, and the delay duration of each cascade signal measuring device when receiving the trigger signal is calculated respectively. Pre-sampled data of a predetermined duration corresponding to each cascade signal measuring device is determined according to the delay duration of each cascade signal measuring device, and the storage modules in each cascade signal measuring device respectively take out the corresponding pre-sampled data to compensate for the synchronization data of each cascade signal measuring device, which can ensure that the data of the signal to be measured uploaded by all cascade signal measuring devices after receiving the trigger signal are synchronized, which is explained in detail below.
[0047] Please refer to Figure 4 In 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, a trigger output port and a synchronous clock port.
[0048] In one embodiment, in the cascade system, the input port of each cascade signal measuring device is connected to the component to be tested, the output port of each cascade signal measuring device is connected to the processing device, and the synchronous clock port of each cascade signal measuring device is connected to the synchronous clock. The trigger input port of the first cascade signal measuring device is connected to the trigger signal source, the trigger output port of the first cascade signal measuring device is connected to the trigger input port of the second cascade signal measuring device, the trigger output port of the second cascade signal measuring device is connected to the trigger input port of the third cascade signal measuring device, and so on, until the trigger output port of the last cascade signal measuring device is connected to the trigger input port of the first cascade signal measuring device.
[0049] It should be noted that in the above-mentioned cascade system, after the trigger signal is obtained in the first cascade signal measuring device, the trigger signal is output to the remaining cascade signal measuring devices in sequence. Since the connection distances between each cascade signal measuring device and the first cascade signal measuring device are not the same, the delay time of the trigger signal output by the first cascade signal measuring device received by each cascade signal measuring device is not the same. Until the last cascade signal measuring device obtains the trigger signal, all the cascade signal measuring devices in the cascade system enter synchronization. The time between the first cascade signal measuring device receiving the trigger signal and the last cascade signal measuring device receiving the trigger signal is the dead time. Taking the third cascade signal measuring device as an example, when the third cascade signal measuring device obtains the trigger signal, the last cascade signal measuring device has not obtained the trigger signal. Then the third cascade signal measuring device needs to wait until the last cascade signal measuring device obtains the trigger signal before starting to collect the signal to be measured. The time between the third cascade signal measuring device receiving the trigger signal and the last cascade signal measuring device receiving the trigger signal is the dead time of the third cascade signal measuring device.
[0050] In one embodiment, in the cascade system provided by the present application, each cascade signal measuring device respectively calculates the delay time between the moment when the trigger signal is received by itself and the moment when the first cascade signal measuring device receives the trigger signal. After the delay time of each cascade signal measuring device is calculated accordingly, the total time Tmax minus the delay time is the predetermined time for the pre-sampled data to be stored by each cascade signal measuring device.
[0051] In one embodiment, the input port of each cascade signal measuring device is connected to an analog-to-digital converter, and the analog-to-digital converter is connected to a 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 a processing device to send the measurement data of the component to be tested obtained by each cascade signal measuring device to the processing device.
[0052] Please refer to Figure 5 In another embodiment, the present application provides a cascade signal measuring device in a cascade system to explain the cascade signal measuring device in the cascade system.
[0053] In one embodiment, each cascade signal measuring device further includes a control module 110 and a storage module 120. The predetermined duration of the pre-sampling data is calculated in the control module 110. Since the predetermined durations of the first cascade signal measuring device and the remaining cascade signal measuring devices are different, they are described separately below.
[0054] In one embodiment, the first cascade signal measuring device in the cascade system is a main cascade signal measuring device, and the control module 110 collects the test signal output by the component under test in real time through the input port, and stores the collected test signal in the storage module 120. When a trigger signal is received through the trigger input port in the main cascade signal measuring device, the trigger signal is updated through the synchronous clock obtained by the synchronous clock port connected to the control module 110, and the updated trigger signal is output to the second cascade signal measuring device through the trigger output port.
[0055] In one embodiment, in the main cascade signal measuring device, the control module 110 obtains the trigger signal at the clock edge of the synchronous clock that is delayed from the signal edge of the trigger signal, and outputs the trigger signal at the next clock edge adjacent to the clock edge of the synchronous clock to complete the update of the trigger signal.
[0056] It should be noted that when the trigger signal is input to the main cascade signal measuring device through the trigger signal source, the control module 110 will obtain the current trigger signal, but the trigger signal is not valid. Only when the control module 110 obtains the clock edge of the synchronous clock that is postponed by the trigger signal in chronological order under the current trigger signal, the trigger signal is valid. That is, the control module 110 moves the acquired trigger signal back to the moment corresponding to the clock edge of the next synchronous clock that is postponed by the trigger signal. Among them, the clock edge of the synchronous clock is specifically a rising edge or a falling edge, which is not limited in this application and can be set according to engineering practice.
[0057] In one embodiment, in the main cascade signal measuring device, the control module 110 outputs the pre-sampled data of the total duration Tmax stored in the storage module 120 to the processing device in response to the received trigger signal. Until the main cascade signal measuring device is synchronized with the other cascade signal measuring devices, the synchronized current and subsequent measured signals are output to the processing device through the output port of the main cascade signal measuring device.
[0058] It should be noted that, since the main cascade signal measuring device is directly connected to the trigger signal source, there will be no delay in the main cascade signal measuring device when it obtains the trigger signal. The delay time of the last cascade signal measuring device obtaining the trigger signal is the longest compared to the main cascade signal measuring device. In order to ensure that the pre-sampled data can cover the delay time of the last cascade signal measuring device, the total time Tmax is greater than or equal to the delay time of the last cascade signal measuring device receiving the updated trigger signal relative to the main cascade signal measuring device receiving the trigger signal.
[0059] In one embodiment, in the cascade system, the remaining cascade signal measuring devices except the master cascade signal measuring device are slave cascade signal measuring devices, and the control module 110 collects the test signal output by the component under test in real time through the input port, and stores the collected test signal in the storage module 120. In these slave cascade signal measuring devices, when a trigger signal is received through the trigger input port (the trigger signal actually received by these slave cascade signal measuring devices is the updated trigger signal output by the cascade signal measuring device of the upper level connected thereto), the trigger signal is updated through the synchronous clock obtained by the synchronous clock port connected to the control module 110, and the updated trigger signal is output to the slave cascade signal measuring device of the next level through the trigger output port.
[0060] In one embodiment, each slave cascade signal measuring device is the same as the master cascade signal measuring device, and the control module 110 obtains a trigger signal at the clock edge of the synchronous clock that is delayed from the signal edge of the trigger signal, and outputs a trigger signal at the next clock edge adjacent to the clock edge of the synchronous clock to complete the update of the trigger signal.
[0061] Please refer to Figure 6 and Figure 7 In one embodiment, the delay time of each slave cascade signal measuring device receiving a trigger signal compared to the master cascade signal measuring device includes the signal delay time ΔXn of the cascade signal measuring device itself (the signal delay time of the first cascade signal measuring device is ΔX1, the signal delay time of the second cascade signal measuring device is ΔX2, and so on), and the signal transmission delay time ΔTn between each cascade signal measuring device (the signal transmission delay time of the first cascade signal measuring device is ΔT1, the signal transmission delay time of the second cascade signal measuring device is ΔT2, and so on).
[0062] In one embodiment, the signal delay time ΔXn is the time difference between the moment when the cascade signal measuring device acquires the corresponding trigger signal and the moment when the cascade signal measuring device outputs the corresponding trigger signal to the next stage.
[0063] It should be noted that, whether in the master cascade signal measuring device or in each slave cascade signal measuring device, the trigger signal is obtained at the clock edge of the synchronous clock that is delayed by the trigger signal, and the trigger signal is output at the next clock edge adjacent to the clock edge. If the trigger signal is obtained at the rising edge of the synchronous clock, the trigger signal is output at the next falling edge adjacent to the rising edge; if the trigger signal is obtained at the falling edge of the synchronous clock, the trigger signal is output at the next rising edge adjacent to the falling edge.
[0064] In one embodiment, there is a delay between the transmission of the trigger signal between two adjacent cascade signal measuring devices, so the time difference between the time when the upper cascade signal measuring device outputs the trigger signal to the lower cascade signal measuring device and the time when the lower cascade signal measuring device receives the trigger signal is calculated as the signal transmission delay time length ΔTn. The signal transmission delay time length ΔTn can be calculated by TDC (time-to-digital converter) or other existing methods.
[0065] It should be noted that, although the delay duration includes the signal delay duration ΔXn and the signal transmission delay duration ΔTn, the delay duration of each cascade signal measuring device is different from that of the main cascade signal measuring device. The main cascade signal measuring device directly obtains the trigger signal, so the delay duration of the main cascade signal measuring device is 0. The trigger signal obtained by the first slave cascade signal measuring device is the output of the main cascade signal measuring device, so the delay duration of the first slave cascade signal measuring device includes the signal delay duration ΔXn of the main cascade signal measuring device and the signal transmission delay duration ΔTn between the main cascade signal measuring device and the first slave cascade signal measuring device. The trigger signal obtained by the second slave cascade signal measuring device is the output of the first slave cascade signal measuring device, so the delay duration of the second slave cascade signal measuring device includes the signal delay duration ΔXn of the first slave cascade signal measuring device, the signal transmission delay duration ΔTn between the first cascade signal measuring device and the second slave cascade signal measuring device, and the delay duration of the first slave cascade signal measuring device, and so on, until the delay duration of the last slave cascade signal measuring device includes the delay duration of the last slave cascade signal measuring device itself and the cumulative sum of the delay durations of all the slave cascade signal measuring devices in the cascade, that is, the delay duration from the moment when the last slave cascade signal measuring device receives the trigger signal to the moment when the main cascade signal measuring device obtains the trigger signal.
[0066] right Figure 6 and Figure 7 It can be observed that, taking the master cascade signal measuring device as an example, the master cascade signal measuring device sends a trigger signal at the falling edge of the clock. No matter how long the signal transmission delay ΔT1 from the master cascade signal measuring device to the first slave cascade signal measuring device is, the first slave cascade signal measuring device receives the trigger signal at the rising edge of the clock and outputs the trigger signal at the falling edge adjacent to the rising edge, that is, the signal delay is ΔX1. Then, according to Figure 7It can be obtained that the sum of the signal transmission delay time ΔT1 of the main cascade signal measuring device and the signal delay time ΔX1 is an integer multiple of half a clock cycle. Since the signal transmission delay time ΔTn is related to the length of the cable connecting the two adjacent cascade signal measuring devices, the longer the cable length, the greater the multiple. In addition, the delay time between the remaining slave cascade signal measuring devices is similar to the delay time of the main cascade signal measuring device, and is an integer multiple of half a clock cycle, but the specific number of times depends on the cables connected between the slave cascade signal measuring devices and the transmission delay between the circuits.
[0067] Please refer to Figure 8 In one embodiment, the control module 110 of each cascade signal measurement device further includes a signal acquisition module 111 , a signal delay update module 112 and a signal integration module 113 .
[0068] In one embodiment, the first input end of the signal acquisition module 111 is connected to the input port to acquire the test signal output by the test component in real time, and the first output end of the signal acquisition module 111 is connected to the storage module 120 to store the acquired test signal in the storage module 120.
[0069] In one embodiment, the first input end of the signal delay update module 112 is connected to the trigger input port, the second input end of the signal delay update module 112 is connected to the synchronous clock port, the first output end of the signal delay update module 112 is connected to the trigger output port, and the second output end of the signal delay update module 112 is connected to the second input end of the signal acquisition module 111. The signal delay update module 112 obtains the trigger signal and the synchronous clock, obtains the trigger signal at the clock edge of the synchronous clock that is delayed from the signal edge of the trigger signal, and outputs the trigger signal at the next clock edge adjacent to the clock edge of the synchronous clock.
[0070] In one embodiment, the first input end of the signal integration module 113 is connected to the second output end of the signal acquisition module 111, the second input end of the signal integration module 113 is connected to the second output end of the signal delay update 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 received trigger signal or the updated 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.
[0071] 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.
[0072] 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.
[0073] 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, a trigger output port and a synchronous clock port connected to the control module; The input port is connected to the component under test, the output port is connected to the processing device, and the synchronous clock port is connected to the synchronous clock; 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 updating the trigger signal using the synchronous clock, and outputting the updated trigger signal to the 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 control module acquires the trigger signal at a clock edge of the synchronous clock that is delayed from the signal edge of the trigger signal, and outputs the trigger signal at a next clock edge adjacent to the clock edge of the synchronous clock to complete the update of the trigger signal.
4. The cascade signal measuring device according to claim 3, characterized in that: The delay duration includes a signal delay duration, and the signal delay duration is the time difference between the moment when the cascade signal measuring device acquires the trigger signal and the moment when the trigger signal is output to the cascade signal measuring device of the next stage.
5. The cascade signal measuring device according to claim 4, characterized in that: The delay duration also includes a signal transmission delay duration, and the signal transmission delay duration is the time difference between the moment when the cascade signal measuring device outputs the trigger signal to the cascade signal measuring device of the next level and the moment when the cascade signal measuring device of the next level receives the trigger signal.
6. The cascade signal measuring device according to claim 4, characterized in that: The control module includes a signal acquisition module and a signal delay update module; The first input end of the signal acquisition 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 module is connected to the storage module to store the acquired test signal in the storage module; The first input end of the signal delay update module is connected to the trigger input port, the second input end of the signal delay update module is connected to the synchronous clock port, the first output end of the signal delay update module is connected to the trigger output port, and the second output end of the signal delay update module is connected to the second input end of the signal acquisition module; The signal delay update module is used to obtain the trigger signal at the clock edge of the synchronous clock that is delayed from the signal edge of the trigger signal, and output the trigger signal at the next clock edge adjacent to the clock edge of the synchronous clock.
7. The cascade signal measuring device according to claim 1, characterized in that: The control module 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 module, a second input end of the signal integration module is connected to a second output end of the signal delay update module, and an output end of the signal integration module is connected to the output port; The signal integration module responds to the received trigger signal or the updated 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.
8. A cascade system, characterized in that: include: N cascade signal measuring devices, each of which includes a control module and a storage module, an input port, an output port, a trigger input port, a trigger output port and a synchronous clock port connected to the control module; Wherein, the trigger input port of the first cascade signal measuring device among the N cascade signal measuring devices is connected to the trigger signal source, and the trigger output port is connected to the trigger input port of the next cascade signal measuring device in the cascade system; The control module of the first 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 trigger signal source through the trigger input port, updates the trigger signal by using the synchronization clock obtained through the synchronization clock port, and outputs the updated 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 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, and 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 updates the trigger signal by using the synchronous clock obtained through the synchronous clock port, and outputs the updated 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 the 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.
9. The cascade system according to claim 8, characterized in that: The total duration is greater than or equal to the delay duration of the moment when the i-th 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, wherein i=N.
10. The cascade system according to claim 9, characterized in that: The control module acquires the trigger signal at a clock edge of the synchronous clock that is delayed from the signal edge of the trigger signal, and outputs the trigger signal at a next clock edge adjacent to the clock edge of the synchronous clock to complete the update of the trigger signal.
Citation Information
Patent Citations
Cascade equipment, and control method thereof and cascade system
CN113009851A
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