CN117270626A - Arbitrary waveform generator synchronization method - Google Patents

Arbitrary waveform generator synchronization method Download PDF

Info

Publication number
CN117270626A
CN117270626A CN202210666976.7A CN202210666976A CN117270626A CN 117270626 A CN117270626 A CN 117270626A CN 202210666976 A CN202210666976 A CN 202210666976A CN 117270626 A CN117270626 A CN 117270626A
Authority
CN
China
Prior art keywords
trigger signal
arbitrary waveform
waveform generator
fpga
generator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210666976.7A
Other languages
Chinese (zh)
Inventor
李清石
胡广建
赵鑫鑫
刘强
金长新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Group Co Ltd
Original Assignee
Inspur Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Group Co Ltd filed Critical Inspur Group Co Ltd
Priority to CN202210666976.7A priority Critical patent/CN117270626A/en
Publication of CN117270626A publication Critical patent/CN117270626A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/02Digital function generators
    • G06F1/022Waveform generators, i.e. devices for generating periodical functions of time, e.g. direct digital synthesizers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The method for synchronizing the arbitrary waveform generator includes setting a delay generator to output two paths of synchronous trigger signals, respectively inputting the two paths of synchronous trigger signals into trigger signal input ports of two PXIe cases, routing the trigger signals of the delay generator to respective system trigger signal modules by the PXIe cases through a case back plate, distributing external trigger signals to the arbitrary waveform generator of the case by the system trigger signal modules through PXI_STAR, sending an instruction for setting the ratio of the period of the external trigger signal to the clock period of an FPGA to the arbitrary waveform generator by a measurement and control computer, sampling the external trigger signal after the arbitrary waveform generator executes the instruction for setting the ratio, counting the clock period of the FPGA by taking the rising edge of the external trigger signal as a starting point, generating an internal trigger signal and re-counting each time when the count value reaches the set ratio, sending waveforms under the trigger of the internal trigger signal after the waveform generator starts waveform sending, and realizing waveform synchronization between the arbitrary waveform generators in the two PXIe cases.

Description

Arbitrary waveform generator synchronization method
Technical Field
The invention relates to the technical field of instruments, in particular to a synchronization method of an arbitrary waveform generator.
Background
In some leading edge scientific research fields, a plurality of arbitrary waveform generators are required to work cooperatively, and when the number of the arbitrary waveform generators is increased, the waveform sent by the arbitrary waveform generator has a phase jitter phenomenon, which is not allowed in the application with higher requirement on synchronism, so that the provision of the arbitrary waveform generator synchronization method is a technical problem to be solved.
Disclosure of Invention
In order to overcome the defects of the technology, the invention provides a method for synchronizing waveforms between any waveform generators in two PXIe chassis.
The technical scheme adopted for overcoming the technical problems is as follows:
a method of arbitrary waveform generator synchronization comprising the steps of:
a) Establishing a system consisting of a measurement and control computer, a clock source, a delay generator and two PXIe cases, wherein the clock source provides reference clocks for the delay generator and the PXIe cases, and each of the PXIe cases prevents a system trigger signal module and a plurality of arbitrary waveform generators, and the clocks of the system trigger signal module and the arbitrary waveform generators are synchronized to the clock used by the PXIe case;
b) The PXIe case routes trigger signals of the delay generators to a system trigger signal module through a case back plate, the system trigger signal module distributes external trigger signals to all the arbitrary waveform generators, and the arbitrary waveform generators FPGA sample rising edges of the external trigger signals;
c) Setting a delay generator to output two paths of synchronous trigger signals, wherein the two paths of synchronous trigger signals are respectively input into trigger signal input ports of two PXIe chassis;
d) The measurement and control computer sends an instruction for setting the ratio of the external trigger signal period to the FPGA clock period to any waveform generator;
e) Sampling an external trigger signal after the random waveform generator executes a ratio setting instruction;
f) Executing step g) when the arbitrary waveform generator samples the rising edge of the external trigger signal, and returning to executing step e) if the arbitrary waveform generator does not sample the rising edge of the external trigger signal;
g) Starting to count the clock cycles of the FPGA of the arbitrary waveform generator;
h) Executing step i) when the count value of the FPGA clock cycle reaches the ratio of the external trigger signal cycle to the FPGA clock cycle, and returning to executing step g) if the count value of the FPGA clock cycle does not reach the ratio of the external trigger signal cycle to the FPGA clock cycle;
i) The random waveform generator generates an internal trigger signal and recounts the clock cycle of the FPGA;
j) The measurement and control computer loads waveform data for the arbitrary waveform generator and starts waveform transmission;
k) The arbitrary waveform generator transmits waveforms under the triggering of an internal trigger signal.
Further, the clock source in step a) provides a 10MHz reference clock for the delay generator and PXIe chassis.
Further, in step b), the system trigger signal module distributes the external trigger signal to each arbitrary waveform generator through pxi_star, and the arbitrary waveform generator FPGA samples the rising edge of the external trigger signal using the rising edge of the clock with the clock period of 4 ns.
Further, in step c), the delay generator outputs two synchronous trigger signals as square waves with a period of 200 μs.
Further, when the internal trigger signal period of the arbitrary waveform generator needs to be changed, the measurement and control computer sends an instruction to the arbitrary waveform generator to reset the ratio of the external trigger signal period to the FPGA clock period.
The beneficial effects of the invention are as follows: the method comprises the steps that a delay generator is set to output two paths of synchronous trigger signals, the two paths of synchronous trigger signals are respectively input into trigger signal input ports of two PXIe chassis, the PXIe chassis routes the trigger signals of the delay generator to respective system trigger signal modules through a chassis backboard, the system trigger signal modules distribute external trigger signals to any waveform generator of the chassis through PXI_STAR, a measurement and control computer sends an instruction for setting the ratio of the external trigger signal period to the FPGA clock period to any waveform generator, the any waveform generator samples the external trigger signal after executing the instruction for setting the ratio, the rising edge of the external trigger signal is used as a starting point to count the FPGA clock period, an internal trigger signal is generated and recounting is carried out every time the count value reaches the set ratio, and the waveform generator sends waveforms under the triggering of the internal trigger signal after the waveform generator starts waveform sending, so that waveform synchronization between any waveform generators in the two PXIe chassis is realized.
Drawings
FIG. 1 is a schematic diagram of a trigger signal correlation system according to the present invention;
fig. 2 is a schematic diagram of the synchronization method of the present invention.
Detailed Description
The invention is further described with reference to fig. 1 and 2.
A method of arbitrary waveform generator synchronization comprising the steps of:
a) Establishing a system consisting of a measurement and control computer, a clock source, a delay generator and two PXIe cases, wherein the clock source provides reference clocks for the delay generator and the PXIe cases, and each of the PXIe cases prevents a system trigger signal module and a plurality of arbitrary waveform generators, and the clocks of the system trigger signal module and the arbitrary waveform generators are synchronized to the clock used by the PXIe case;
b) The PXIe case routes trigger signals of the delay generators to a system trigger signal module through a case back plate, the system trigger signal module distributes external trigger signals to all the arbitrary waveform generators, and the arbitrary waveform generators FPGA sample rising edges of the external trigger signals;
c) Setting a delay generator to output two paths of synchronous trigger signals, wherein the two paths of synchronous trigger signals are respectively input into trigger signal input ports of two PXIe chassis;
d) The measurement and control computer sends an instruction for setting the ratio of the external trigger signal period to the FPGA clock period to any waveform generator;
e) Sampling an external trigger signal after the random waveform generator executes a ratio setting instruction;
f) Executing step g) when the arbitrary waveform generator samples the rising edge of the external trigger signal, and returning to executing step e) if the arbitrary waveform generator does not sample the rising edge of the external trigger signal;
g) Starting to count the clock cycles of the FPGA of the arbitrary waveform generator;
h) Executing step i) when the count value of the FPGA clock cycle reaches the ratio of the external trigger signal cycle to the FPGA clock cycle, and returning to executing step g) if the count value of the FPGA clock cycle does not reach the ratio of the external trigger signal cycle to the FPGA clock cycle;
i) The random waveform generator generates an internal trigger signal and recounts the clock cycle of the FPGA;
j) The measurement and control computer loads waveform data for the arbitrary waveform generator and starts waveform transmission;
k) The arbitrary waveform generator transmits waveforms under the triggering of an internal trigger signal.
The method comprises the steps that a delay generator is set to output two paths of synchronous trigger signals, the two paths of synchronous trigger signals are respectively input into trigger signal input ports of two PXIe chassis, the PXIe chassis routes the trigger signals of the delay generator to respective system trigger signal modules through a chassis backboard, the system trigger signal modules distribute external trigger signals to any waveform generator of the chassis through PXI_STAR, a measurement and control computer sends an instruction for setting the ratio of the external trigger signal period to the FPGA clock period to any waveform generator, the any waveform generator samples the external trigger signal after executing the instruction for setting the ratio, the rising edge of the external trigger signal is used as a starting point to count the FPGA clock period, an internal trigger signal is generated and recounting is carried out every time the count value reaches the set ratio, and the waveform generator sends waveforms under the triggering of the internal trigger signal after the waveform generator starts waveform sending, so that waveform synchronization between any waveform generators in the two PXIe chassis is realized.
Example 1:
the clock source in step a) provides a 10MHz reference clock for the delay generator and PXIe chassis.
Example 2:
in the step b), the system trigger signal module distributes the external trigger signal to each arbitrary waveform generator through PXI_STAR, and the arbitrary waveform generator FPGA samples the rising edge of the external trigger signal by using the rising edge of the clock with the clock period of 4 ns.
Example 3:
the delay generator in step c) outputs two synchronous trigger signals as square waves with the period of 200 mu s.
Example 4:
when the internal trigger signal period of the arbitrary waveform generator needs to be changed, the measurement and control computer sends an instruction to the arbitrary waveform generator to reset the ratio of the external trigger signal period to the FPGA clock period.
Specific:
it is assumed that there are two arbitrary waveform generators AWG1 and AWG2 in PXIe chassis 1, and two arbitrary waveform generators AWG3 and AWG4 in PXIe chassis 2.
Setting a delay generator to output two paths of synchronous trigger signals, wherein the trigger signals are square waves with the period of 200us, and the trigger signals are input to front panel trigger signal input ports of the PXIe chassis 1 and the PXIe chassis 2;
the measurement and control computer sends an instruction for setting the ratio of the external trigger signal period to the FPGA clock period to AWG1 and AWG2 in the PXIe case 1 and AWG3 and AWG4 in the PXIe case 2, wherein the ratio is 200000/4=50000, and the AWG1 and the AWG2 are firstly set, and then the AWG3 and the AWG4 are set.
The AWG1 receives and executes the instruction for setting the ratio, and samples an external trigger signal after the instruction execution is completed.
AWG1 samples to the rising edge of the external trigger signal, starts to count the FPGA clock period, and starts to count with the timing starting point of 0.
The AWG2 receives and executes the instruction for setting the ratio, and samples the external trigger signal after the instruction execution is completed.
AWG2 samples to the rising edge of the external trigger signal, and starts to count the clock cycles of the FPGA.
The AWG3 receives and executes the instruction for setting the ratio, and samples the external trigger signal after the instruction execution is completed.
AWG3 samples to the rising edge of the external trigger signal, and starts to count the clock cycles of the FPGA.
The AWG4 receives and executes the instruction for setting the ratio, and samples the external trigger signal after the instruction execution is completed.
AWG4 samples to the rising edge of the external trigger signal, and starts to count the clock cycles of the FPGA.
Each time the count value for the FPGA clock cycles reaches 50000, AWG1 and AWG2 and AWG3 and AWG4 each generate an internal trigger signal and re-count the FPGA clock cycles.
The measurement and control computer loads waveform data for AWG1 and AWG2 and AWG3 and AWG4 and starts waveform transmission.
AWG1 and AWG2 and AWG3 and AWG4 transmit waveforms triggered by respective internal trigger signals.
Finally, it should be noted that: the foregoing description is only a preferred embodiment of the present invention, and the present invention is not limited thereto, but it is to be understood that modifications and equivalents of some of the technical features described in the foregoing embodiments may be made by those skilled in the art, although the present invention has been described in detail with reference to the foregoing embodiments. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (5)

1. A method for synchronizing arbitrary waveform generators, comprising the steps of:
a) Establishing a system consisting of a measurement and control computer, a clock source, a delay generator and two PXIe cases, wherein the clock source provides reference clocks for the delay generator and the PXIe cases, and each of the PXIe cases prevents a system trigger signal module and a plurality of arbitrary waveform generators, and the clocks of the system trigger signal module and the arbitrary waveform generators are synchronized to the clock used by the PXIe case;
b) The PXIe case routes trigger signals of the delay generators to a system trigger signal module through a case back plate, the system trigger signal module distributes external trigger signals to all the arbitrary waveform generators, and the arbitrary waveform generators FPGA sample rising edges of the external trigger signals;
c) Setting a delay generator to output two paths of synchronous trigger signals, wherein the two paths of synchronous trigger signals are respectively input into trigger signal input ports of two PXIe chassis;
d) The measurement and control computer sends an instruction for setting the ratio of the external trigger signal period to the FPGA clock period to any waveform generator;
e) Sampling an external trigger signal after the random waveform generator executes a ratio setting instruction;
f) Executing step g) when the arbitrary waveform generator samples the rising edge of the external trigger signal, and returning to executing step e) if the arbitrary waveform generator does not sample the rising edge of the external trigger signal;
g) Starting to count the clock cycles of the FPGA of the arbitrary waveform generator;
h) Executing step i) when the count value of the FPGA clock cycle reaches the ratio of the external trigger signal cycle to the FPGA clock cycle, and returning to executing step g) if the count value of the FPGA clock cycle does not reach the ratio of the external trigger signal cycle to the FPGA clock cycle;
i) The random waveform generator generates an internal trigger signal and recounts the clock cycle of the FPGA;
j) The measurement and control computer loads waveform data for the arbitrary waveform generator and starts waveform transmission;
k) The arbitrary waveform generator transmits waveforms under the triggering of an internal trigger signal.
2. The arbitrary waveform generator synchronization method of claim 1 wherein: the clock source in step a) provides a 10MHz reference clock for the delay generator and PXIe chassis.
3. The arbitrary waveform generator synchronization method of claim 1 wherein: in the step b), the system trigger signal module distributes the external trigger signal to each arbitrary waveform generator through PXI_STAR, and the arbitrary waveform generator FPGA samples the rising edge of the external trigger signal by using the rising edge of the clock with the clock period of 4 ns.
4. The arbitrary waveform generator synchronization method of claim 1 wherein: the delay generator in step c) outputs two synchronous trigger signals as square waves with the period of 200 mu s.
5. The arbitrary waveform generator synchronization method of claim 1 wherein: when the internal trigger signal period of the arbitrary waveform generator needs to be changed, the measurement and control computer sends an instruction to the arbitrary waveform generator to reset the ratio of the external trigger signal period to the FPGA clock period.
CN202210666976.7A 2022-06-14 2022-06-14 Arbitrary waveform generator synchronization method Pending CN117270626A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210666976.7A CN117270626A (en) 2022-06-14 2022-06-14 Arbitrary waveform generator synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210666976.7A CN117270626A (en) 2022-06-14 2022-06-14 Arbitrary waveform generator synchronization method

Publications (1)

Publication Number Publication Date
CN117270626A true CN117270626A (en) 2023-12-22

Family

ID=89206855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210666976.7A Pending CN117270626A (en) 2022-06-14 2022-06-14 Arbitrary waveform generator synchronization method

Country Status (1)

Country Link
CN (1) CN117270626A (en)

Similar Documents

Publication Publication Date Title
US11093674B2 (en) Generating clock signals for a cycle accurate, cycle reproducible FPGA based hardware accelerator
CN109032498B (en) Waveform quantization synchronization method of multi-FPGA multi-channel acquisition system
EP3002593B1 (en) Multi-scope control and synchronization system
CN111880603B (en) Multi-chassis feedback result control trigger synchronization method, device, equipment and medium
US8190942B2 (en) Method and system for distributing a global timebase within a system-on-chip having multiple clock domains
CN111953320B (en) High-precision synchronous analog-digital mixed signal generator for image sensor
CN115543051A (en) FPGA global reset synchronization circuit, chip, verification simulation system and method
CN112306146A (en) Device and method for synchronizing output waveforms of AWG board card in multi-PXIE chassis
TWI658700B (en) Integrated circuit, multi-channels transmission apparatus and signal transmission method thereof
CN117270626A (en) Arbitrary waveform generator synchronization method
Kinali et al. Fault-tolerant clock synchronization with high precision
CN113885655A (en) Signal synchronizer
CN212752227U (en) High-precision synchronous analog-digital mixed signal generator for image sensor
US20220302922A1 (en) Method for synchronising analogue data at the output of a plurality of digital/analogue converters
Correia et al. Implementation of IEEE-1588 timing and synchronization for ATCA control and data acquisition systems
CN112805958B (en) Time synchronization method and device
CN117155530B (en) Trigger synchronization precision improving method of cascade trigger system
CN218886483U (en) Waveform generator synchronization system
WO2023136034A1 (en) Function verification system
GB2200774A (en) Timing generators
CN116955258B (en) Flexibly-connectable trigger connector, signal acquisition control equipment and system
CN117155530A (en) Trigger synchronization precision improving method of cascade trigger system
CN210807207U (en) Narrow pulse precision time delay synchronization device based on phase compensation
US8897324B2 (en) Timebase peripheral
CN114614823B (en) Chip clock synchronization method, data acquisition card and data acquisition system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination