Quantum device and conversion array

By designing the clock source circuit and trigger source circuit in the quantum device, combined with the buffer and clock generation circuit, the synchronization processing of the conversion array is realized, which solves the problem of poor synchronization in the quantum measurement and control system and saves port resources.

CN118657227APending Publication Date: 2024-09-17SHENZHEN SPINQ TECHNOLOGY CO LTD

Patent Information

Application Number
CN202410702948.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

In the distributed parallel high-speed system of quantum measurement and control, the synchronization of the transmitting/receiving array has poor and unstable problems. Existing technologies such as ZDM mode and external synchronization method have hard constraints and redundant port problems, making it difficult to effectively guarantee multiple Module synchronicity.

Method used

A conversion array is designed, including a clock source circuit and a trigger source circuit. Through the buffer circuit, clock generation circuit, AD/DA conversion circuit and FPGA logic circuit, the reference clock and trigger signal are used for synchronization processing to achieve synchronization of each conversion device. characteristics, and achieves synchronous reset through trigger signals, avoiding the need for an external synchronization port.

Benefits of technology

It effectively ensures the synchronization of the conversion array, improves system flexibility and port resource utilization, solves synchronization-related issues, and avoids special restrictions and port redundancy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657227A
    Figure CN118657227A
Patent Text Reader

Abstract

The invention discloses quantum equipment and a conversion array, which are applied to the technical field of data synchronization, and comprise a clock source circuit, a trigger source circuit of a trigger signal and N conversion devices, each conversion device comprises a clock generation circuit, an AD / DA conversion circuit and an FPGA logic circuit; the buffer circuit is used for obtaining a multi-channel board internal source clock and a trigger signal; the clock generation circuit is used for providing respective working clocks for the AD / DA conversion circuit and the FPGA logic circuit based on a received reference clock; and the FPGA logic circuit is used for executing preset waveform generation or waveform acquisition operation based on communication connection with the AD / DA conversion circuit every time the trigger signal is received, and resetting the clock generation circuit when a synchronization condition is met. By applying the scheme of the invention, the synchronism of the conversion array is ensured, the flexibility is high, an external synchronous SYNC port does not need to be arranged, and port resources are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data synchronization, and in particular to a quantum device and a conversion array. Background Art

[0002] In the distributed parallel high-speed system of quantum measurement and control, synchronization and high-speed transmission between various components is a very important topic. In addition, in medium-sized and large-scale transmission and acquisition arrays, the typical core module is a digital-to-analog conversion chip or an analog-to-digital conversion chip, which requires strict synchronization (usually at the nanosecond level), controllable order (such as sequencing function) and low latency (less than 1 microsecond). For example, in the multi-bit manipulation of quantum computing, the transmission / reception signal of multiple units in phased array radar, etc., if a transmitting array is required, each transmitting array will contain a large number of transmitting channels and ports (tens to hundreds of thousands), and when the transmitting arrays are cascaded in a larger range, the synchronization becomes more prominent, which means that poor system design will lead to synchronization-related problems such as asynchrony or unstable synchronization.

[0003] The multi-board synchronous acquisition solutions currently found use ZDM (Zero-Delay-Mode). The framework does not include synchronization signals and corresponding processing, but has some hard constraints. For example, the output clock frequency must be an integer multiple of the input clock frequency, and there must be a feedback clock with a minimum frequency equal to the input clock, etc. These hard constraints lead to great limitations in practical applications and can only be applied to some special and simple occasions.

[0004] In addition, in small instruments such as waveform generators, an external synchronization method is used, that is, synchronization is achieved through an external synchronization SYNC port. When a single instrument is used, the synchronization SYNC port does not appear redundant. However, in situations such as quantum computing that require a large number of transmitting arrays, each module needs to be configured with a functional port. The functional port can be a transmitting port or an acquisition port, and corresponding conditional support ports need to be configured, such as an input clock port, a trigger port, and a synchronization SYNC port. Since these conditional support ports themselves do not carry core functions, and are generally SMA or other coaxial port heads of considerable size, and need to be strictly equal in length, if the synchronization of the transmitting array is achieved based on the synchronization SYNC port, the entire system will become very complicated.

[0005] In summary, how to effectively ensure good synchronization of the transmitting / receiving array is a technical problem that those skilled in the art urgently need to solve. Summary of the invention

[0006] The purpose of the present invention is to provide a quantum device and a conversion array to effectively ensure good synchronization of the transmitting / receiving array.

[0007] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0008] In a first aspect, the present invention provides a conversion array, characterized in that it comprises a clock source circuit, a trigger source circuit, and N conversion devices; the clock source circuit is used to send a synchronized reference clock to the N conversion devices, and the trigger source circuit is used to send a synchronized trigger signal to the N conversion devices, wherein N is a positive integer not less than 2;

[0009] Each of the conversion devices includes: a buffer circuit, a clock generation circuit, an AD / DA conversion circuit, and an FPGA logic circuit;

[0010] The buffer circuit is used to: perform buffering processing on the received reference clock and the trigger signal to enhance the driving force, so as to obtain the multi-channel board internal source clock and trigger signal required by the conversion device;

[0011] The clock generation circuit is used to: provide the working clock of the AD / DA conversion circuit to the AD / DA conversion circuit based on the received on-board source clock, and provide the working clock of the FPGA logic circuit to the FPGA logic circuit;

[0012] The FPGA logic circuit is used to: when in operation, whenever the trigger signal is received, perform a preset waveform generation or waveform acquisition operation based on the communication connection with the AD / DA conversion circuit, and whenever the trigger signal is received and the synchronization condition is met, send a synchronization signal to the clock generation circuit to reset the clock generation circuit.

[0013] In one embodiment, the structure of the clock generating circuit in each of the conversion devices is the same, and each of the clock generating circuits includes: a phase-locked loop clock circuit and an output frequency division circuit, so that the clock generating circuit receives the on-board source clock and generates working clocks of various frequencies after multiplication and / or division.

[0014] In one implementation, each of the conversion devices further comprises: a first clock providing circuit for outputting a first clock;

[0015] The FPGA logic circuit is also used to: at power-on startup, perform validity detection on the received on-board source clock based on the first clock, and after the validity detection passes, control the power-on startup sequence of each device in the conversion device according to the set power-on timing.

[0016] In one implementation, the buffer circuit in each of the conversion devices is a buffer circuit having a default consistent fixed delay and an adjustable duration of the fixed delay.

[0017] In one embodiment, in each of the conversion devices, the AD / DA conversion circuits are multi-channel digital-to-analog conversion circuits and are communicatively connected to the FPGA logic circuit via a high-speed communication interface using the JESD204 protocol, or are multi-channel analog-to-digital conversion circuits and are communicatively connected to the FPGA logic circuit via a high-speed communication interface using the JESD204 protocol;

[0018] When each of the AD / DA conversion circuits is a multi-channel digital-to-analog conversion circuit, the conversion array is a transmitting array used to output signals through the digital-to-analog conversion circuits of each channel; when each of the AD / DA conversion circuits is a multi-channel analog-to-digital conversion circuit, the conversion array is a receiving array used to receive signals through the analog-to-digital conversion circuits of each channel.

[0019] In one implementation, the clock source circuit includes:

[0020] Single clock source and clock distribution unit;

[0021] The single clock source is connected to the clock distribution unit, and the single clock source is used to generate a reference clock;

[0022] The clock distribution unit is used to divide the received reference clock into N synchronized reference clocks, so as to send the N synchronized reference clocks to the N conversion devices respectively.

[0023] In one embodiment, the trigger source circuit includes a single-channel trigger source and a trigger distribution unit;

[0024] The trigger source is used to generate a trigger signal based on the reference clock and according to a preset trigger signal generation rule;

[0025] The trigger distribution unit is connected to the single-channel trigger source, and is used to divide the received trigger signal into N synchronous trigger signals, so as to send the N synchronous trigger signals to the N conversion devices respectively.

[0026] In one implementation, the trigger signal of the trigger source circuit comes from a trigger signal sent externally.

[0027] In one implementation, the synchronization condition includes: the FPGA logic circuit receives a new task; or, the synchronization condition includes: the FPGA logic circuit receives a trigger signal.

[0028] In a second aspect, the present invention provides a quantum device which may include the conversion array as described above.

[0029] By applying the technical solution provided in the embodiment of the present invention, the clock source circuit can send a synchronized reference clock to N conversion devices, and the trigger source circuit can send a synchronized trigger signal to N conversion devices, which is conducive to ensuring the synchronization of each conversion device when working. Furthermore, when the conversion device is working, different devices may need to use different frequencies and different numbers of clocks to complete the work. Therefore, in the solution of the present application, each conversion device includes: a buffer circuit, a clock generation circuit, an AD / DA conversion circuit and an FPGA logic circuit. The buffer circuit can perform buffering processing on the received reference clock and trigger signal to enhance the driving force, and obtain the multi-channel on-board source clock and trigger signal required by the conversion device. The clock generation circuit can provide the working clock of the AD / DA conversion circuit to the AD / DA conversion circuit based on the received on-board source clock, and provide the working clock of the FPGA logic circuit to the FPGA logic circuit. Furthermore, the present application takes into account that, due to a certain degree of error in the power-on time of different conversion devices, the same working clocks in different conversion devices may be out of phase, affecting the synchronization of the conversion array. To this end, whenever a trigger signal is received and the synchronization condition is met, the FPGA logic circuit will send a synchronization signal to the clock generation circuit to reset the clock generation circuit, and since the trigger signal is synchronous, the synchronous reset of each clock generation circuit can be achieved. After the synchronous reset, the above-mentioned phase mismatch can be eliminated. In addition, it should be noted that the conversion device of the present application does not need to set an external synchronous SYNC port, but sends a synchronization signal whenever a trigger signal is received, which is equivalent to using the trigger signal to realize the function of the external synchronous SYNC port, effectively saving port resources.

[0030] In summary, the solution of the present application can effectively ensure the synchronization of the conversion array, has no special restrictions on use, thereby ensuring the flexibility of the solution, and does not require the provision of an external synchronization SYNC port, effectively saving port resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0032] Figure 1 It is a structural schematic diagram of a conversion array in the present invention;

[0033] Figure 2 is a schematic diagram of the structure of a conversion array in a specific implementation manner of the present invention;

[0034] Figure 3 It is a timing diagram of multiple waveforms in a specific implementation manner of the present invention. DETAILED DESCRIPTION

[0035] The core of the present invention is to provide a conversion array, which can effectively ensure the synchronization of the conversion array, has no special restrictions on use, thereby ensuring the flexibility of the solution, and does not need to set an external synchronization SYNC port, effectively saving port resources.

[0036] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0037] Please refer to Figure 1 , Figure 1 The schematic diagram of the structure of a conversion array in the present invention includes: a clock source circuit 10, a trigger source circuit 20, and N conversion devices 30. The clock source circuit 10 is used to send a synchronized reference clock to the N conversion devices 30. The trigger source circuit 20 is used to send a synchronized trigger signal to the N conversion devices 30. Figure 1 In the figure, the N conversion devices 30 are respectively recorded as conversion device 1 to conversion device N.

[0038] Optionally, each conversion device 30 includes, for example: a buffer circuit 34, a clock generation circuit 31, an AD / DA conversion circuit 32, and an FPGA logic circuit 33. Of course, this is also a solution usually adopted in practical applications, that is, each conversion device 30 can adopt the same structural design to reduce production costs.

[0039] The buffer circuit 34 is used to perform buffering processing on the received reference clock and trigger signal to enhance the driving force, so as to obtain the multi-channel board internal source clock and trigger signal required by the conversion device.

[0040] The clock generation circuit 31 is used to provide the working clock of the AD / DA conversion circuit 32 to the AD / DA conversion circuit 32 based on the received on-board source clock, and to provide the working clock of the FPGA logic circuit 33 to the FPGA logic circuit 33.

[0041] The FPGA logic circuit 33 is used to: when working, whenever the trigger signal is received, perform a preset waveform generation or waveform acquisition operation based on the communication connection with the AD / DA conversion circuit 32, and whenever the trigger signal is received and the synchronization condition is met, send a synchronization signal to the clock generation circuit 31 to reset the clock generation circuit.

[0042] In the scheme of the present application, the conversion array can specifically be a transmitting array for transmitting signals, or a receiving array for receiving signals. Of course, the types of specific transmitted signals and received signals depend on the actual needs of different occasions, and the present application does not limit it. Similarly, the number of conversion devices 30 required to be set in the conversion array can be set and adjusted according to actual needs, that is, N is a positive integer not less than 2, and the specific value can be set and adjusted according to actual needs.

[0043] The clock source circuit 10 is used to provide a synchronous reference clock to the N conversion devices 30. The specific structure of the clock source circuit 10 can be selected according to actual needs to achieve the purpose of sending N synchronous reference clocks. For example, in one embodiment of the present invention, considering the need to provide a synchronous reference clock to the N conversion devices 30, it can usually be implemented based on a circuit that can realize signal splitting. For this, please refer to Figure 2 In a specific implementation of the present invention, the clock source circuit 10 , for example, specifically includes a single clock source 11 and a clock distribution unit 12 .

[0044] The single clock source 11 is used to generate the reference clock.

[0045] The clock distribution unit 12 is connected to the single clock source 11 and is used to divide the received reference clock into N synchronized reference clocks, so as to send the N synchronized reference clocks to N conversion devices 30 respectively.

[0046] exist Figure 2 In this embodiment, a single clock source 11 is used to generate a reference clock. For example, in practical applications, a molecular clock or a rubidium clock can be used as the single clock source 11, thereby providing a very accurate reference clock.

[0047] The clock distribution unit 12 is a circuit capable of signal branching, that is, it can receive the reference clock provided by the single clock source 11, and then divide the reference clock into N paths, thereby obtaining N synchronized reference clocks. For example, in one case, the clock distribution unit 12 divides the received reference clock into 25 paths. The specific structure of the clock distribution unit 12 can be set and adjusted according to actual needs, as long as the signal branching function can be realized and the required number of branches are divided. In addition, it can be understood that since the synchronized N reference clocks need to be sent to N conversion devices 30 respectively, when wiring on the circuit, the wiring length between each conversion device 30 and the clock distribution unit 12 should be known to ensure that the N reference clocks have high synchronization (picosecond level).

[0048] The trigger source circuit 20 is used to send a synchronous trigger signal to the N conversion devices 30. The specific structure of the trigger source circuit 20 can be selected according to actual needs to achieve the purpose of sending N synchronous trigger signals. For example, in one embodiment of the present invention, considering the need to provide a synchronous trigger signal to the N conversion devices 30, similarly to the above, it can be implemented based on a circuit capable of signal splitting. Please continue to refer to Figure 2 In a specific implementation of the present invention, the trigger source circuit 20 may specifically include a single-channel trigger source 21 and a trigger distribution unit 22 .

[0049] The single-channel trigger source 21 is used to generate a trigger signal based on the reference clock and according to a preset trigger signal generation rule.

[0050] The trigger distribution unit 22 is connected to the single-channel trigger source 21 and is used to divide the received trigger signal into N synchronous channels of trigger signals, so as to send the N synchronous channels of trigger signals to the N conversion devices 30 respectively.

[0051] exist Figure 2 This implementation is adopted in the embodiment. In this implementation, a single trigger source 21 is used to generate a trigger signal. For example, in practical applications, the trigger signal is usually a high-level pulse with a certain duration. In addition, it should be noted that when executing the same task, it is usually necessary to generate multiple trigger signals. The trigger signal under the same task is usually periodic, and for different tasks, the period of the trigger signal can be different. For example, Figure 3 In the example, the period of the Trig signal of task Task1 is different from the period of the Trig signal of task Task2.

[0052] Furthermore, in this embodiment, when a trigger signal is generated, the trigger signal is generated based on the reference clock according to the preset trigger signal generation rule. The preset trigger signal generation rule can be set and adjusted according to actual needs. For example, if it needs to be set to be periodic, it can be set to count the reference clock, so as to generate a trigger signal periodically. For example, in one case, the reference clock is counted, and when the count value reaches a certain value, a trigger signal can be generated and the counting of the next cycle can be restarted. In addition, it should be noted that Figure 2 For example, when generating a trigger signal based on the reference clock, the single-channel trigger source 21 can directly count the reference clock, or can choose to count other clocks to periodically generate a trigger signal. Figure 2 The remaining clocks in the embodiment are all clocks based on the reference clock and have a determinable frequency. Therefore, the generation of a trigger signal based on the reference clock described in this embodiment means that the reference clock can be directly used to generate a trigger signal, or other clocks can be used, which is equivalent to indirectly using the reference clock to generate a trigger signal. The trigger signal and the reference clock are coherent, so Figure 2 The connection between the trigger source 21 and the clock source 11 is marked as a dotted line to indicate that it is possible to decide whether to connect the two according to actual needs.

[0053] Furthermore, in one embodiment of the present invention, the trigger signal of the trigger source circuit 20 comes from a trigger signal sent from the outside. This embodiment takes into account that the trigger signal can come from inside the board or from outside the board, thereby improving the implementation flexibility of the solution.

[0054] The trigger distribution unit 22 is a circuit capable of signal branching, that is, it can receive the trigger signal provided by the trigger source, and then divide the trigger signal into N paths, thereby obtaining N synchronized trigger signals. For example, in one case, the trigger distribution unit 22 divides the received trigger signal into 25 paths. Similar to the clock distribution unit 12 above, the specific structure of the trigger distribution unit 22 in this embodiment can be set and adjusted according to actual needs, as long as the signal branching function can be realized and the required number of branches are divided. It can also be understood that since the synchronized N-path trigger signals need to be sent to N conversion devices 30 respectively, when wiring on the circuit, the wiring length between each conversion device 30 and the trigger distribution unit 22 should be consistent to ensure high synchronization between the N-path trigger signals.

[0055] Optionally, each conversion device 30 includes a buffer circuit 34, a clock generation circuit 31, an AD / DA conversion circuit 32, and an FPGA logic circuit 33. In actual applications, each conversion device 30 is usually a separate board, which can be called a conversion board.

[0056] In some large conversion arrays, since a large number of transmission channels and receiving channels are required, in practical applications, the AD / DA conversion circuit 32 in each conversion device 30 usually includes multiple channels. For example, in a specific embodiment of the present invention, in each conversion device 30, the AD / DA conversion circuit 32 is a multi-channel digital-to-analog conversion circuit or a multi-channel analog-to-digital conversion circuit. Figure 2 In the example, three conversion devices 30 are shown, and the AD / DA conversion circuit 32 in each conversion device 30 is, for example, a 4-channel DAC (Digital to Analog Converter, digital to analog conversion circuit). Figure 2 There are a total of 12 transmission channels.

[0057] And in this embodiment, when each AD / DA conversion circuit 32 is a multi-channel digital-to-analog conversion circuit, the conversion array is specifically a transmitting array for outputting signals through the digital-to-analog conversion circuit 32 of each channel; and when each AD / DA conversion circuit 32 is a multi-channel analog-to-digital conversion circuit 32, the conversion array is changed to a receiving array for receiving signals through the analog-to-digital conversion circuit 32 of each channel.

[0058] Figure 2 In the example, the AD / DA conversion circuit 32 is specifically a 4-channel DAC, that is, the conversion array is specifically a transmitting array. If the AD / DA conversion circuit 32 is a multi-channel ADC (Analog to Digital Converter, analog-to-digital conversion circuit), then the conversion array is specifically a receiving array, and the structure of the receiving array can also be similar to Figure 2 Such a structure is no longer shown, the difference is that only Figure 2 The structure of the receiving array can be obtained by changing each DAC into an ADC and switching the direction of the arrows of the communication lines used between the FPGAs.

[0059] The buffer circuit 34 is used to perform buffering processing on the received reference clock and trigger signal to enhance the driving force, so as to obtain the multi-channel board internal source clock and trigger signal required by the conversion device.

[0060] That is to say, the purpose of setting the buffer circuit 34 is to enhance the driving force of the reference clock. For instance, in the above example, the clock distribution unit 12 divides the received reference clock into 25 paths. Although the 25 divided reference clocks ensure synchronization, the driving force is limited and cannot directly drive multiple loads in the board. The buffer circuit 34 can increase the number of output paths and effectively increase the amplitude, thereby improving the driving force of the synchronous reference clock on the entire board.

[0061] In addition, since the reference clock passes through the buffer circuit 34 to enhance the driving force, there will inevitably be a delay, that is, the on-board source clock output by the buffer circuit 34 will have a delay compared to the reference clock input to the buffer circuit. Therefore, in order to ensure good synchronization, in actual applications, for example, each conversion device 30 can adopt a completely consistent circuit layout, and the buffer circuit 34 in each conversion device 30 is exactly the same model and batch to ensure good synchronization. Figure 2 In the figure, the reference clock is marked as Base Clk, that is, the reference clock input to the buffer circuit 34 is marked as Base Clk, and the on-board source clock output by the buffer circuit 34 is recorded as Source Clk.

[0062] The clock generation circuit 31 needs to provide the working clock of the AD / DA conversion circuit 32 to the AD / DA conversion circuit 32 based on the received on-board source clock, and provide the working clock of the FPGA logic circuit 33 to the FPGA logic circuit 33. In other words, the clock generation circuit 31 can perform operations such as frequency division / multiplication to obtain the clock frequency required by the remaining components in the conversion device 30. Figure 2 In the example, the FPGA logic circuit 33 is specifically selected from FPGA (Field Programmable Gate Array). The clock generation circuit 31 can have various structures, for example, the required clock generation circuit 31 can be implemented based on devices such as frequency dividers and frequency multipliers.

[0063] In one embodiment of the present invention, the structure of the clock generating circuit 31 in each conversion device 30 is the same, and each clock generating circuit 31 includes: a phase-locked loop clock circuit and an output frequency division circuit, so that the clock generating circuit 31 receives the on-board source clock and generates working clocks of various frequencies after multiplication and / or division.

[0064] Specifically, the buffer circuit can send the on-board source clock Sourse Clk to the phase-locked loop clock circuit and the FPGA logic circuit 33, and send the trigger signal to the FPGA logic circuit 33. Figure 2The trigger signal is marked as Trig. In addition, it can be understood that in practical applications, the trigger signal can also be enhanced by using a buffer circuit to enhance its driving ability. Of course, if the amplitude is high, it can also be set so that the trigger signal driving ability does not need to be enhanced, that is, the trigger signal does not pass through the corresponding device in the buffer circuit to enhance the driving ability, but is directly connected to the FPGA logic circuit 33 through a wire, and it can be set according to actual needs.

[0065] This implementation takes into account that, in order to ensure effective synchronization, the structure of the clock generation circuit 31 in each conversion device 30 can be the same. And in this implementation, each clock generation circuit 31 is specifically composed of a phase-locked loop clock circuit and an output frequency division circuit. Figure 2 In the implementation mode, only the phase-locked loop clock circuit (PLLClk) is output.

[0066] The phase-locked loop clock circuit can usually be a PLL clock chip with a synchronization port. Through the phase-locked loop clock circuit and the output frequency division circuit, the required clock can be provided to the device with synchronization requirements in the conversion device 30. That is, through the phase-locked loop clock circuit and the output frequency division circuit, frequency conversion and phase locking can be achieved, and then the working clock of the AD / DA conversion circuit 32 can be provided to the AD / DA conversion circuit 32, and the working clock of the FPGA logic circuit 33 can be provided to the FPGA logic circuit 33.

[0067] For example Figure 2 In the specific example, the phase-locked loop clock circuit generates a relatively low-speed system clock ( Figure 2 SYS Clk) and the relatively high-speed device clock ( Figure 2 Device Clk in ). And Figure 2 In the example, the system clock and the device clock need to be provided to both the AD / DA conversion circuit 32 and the FPGA logic circuit 33. In practical applications, the working clock of the AD / DA conversion circuit 32 provided to the AD / DA conversion circuit 32 includes, for example but not limited to, the system clock SYS Clk, the device clock Device Clk, the sampling clock Sample Clock, etc., and the working clock of the FPGA logic circuit 33 provided to the FPGA logic circuit 33 includes, for example, the system clock SYS Clk and the device clock DeviceClk.

[0068] Similar to the buffer circuit 34, in practical applications, the phase-locked loop clock circuit in each conversion device 30 is usually set to the same model, and the output frequency division circuit in each conversion device 30 is usually also set to the same model to ensure good synchronization.

[0069] Furthermore, in a specific embodiment of the present invention, the buffer circuit 34 in each conversion device 30 is a buffer circuit 34 with a default consistent fixed delay and an adjustable duration of the fixed delay.

[0070] This embodiment takes into account that, as described above, when wiring on the circuit, the wiring length and signal delay between each conversion device 30 and the clock distribution unit 12 should be consistent to ensure high synchronization between the N reference clocks.

[0071] However, in some cases, if there are a large number of conversion devices 30, errors may inevitably exist in the wiring lengths between different conversion devices 30 and the clock distribution unit 12. In this case, this embodiment takes into account that when the buffer circuits 34 are all buffer circuits 34 with adjustable fixed delay time, the fixed delay time of each buffer circuit 34 can be set by adjusting the parameters of each buffer circuit 34. In this way, even if there are synchronization errors in the reference clocks received by different buffer circuits 34 due to wiring reasons, the delay time of each buffer circuit 34 can be adjusted to ensure that the on-board source clocks output by each buffer circuit 34 have no synchronization errors. Figure 2 For example, even if Figure 2 There are synchronization errors among the Base Clks in the buffer circuits 34. In this implementation, the delay time of each buffer circuit 34 can be adjusted to eliminate synchronization errors among the Source Clks.

[0072] When the FPGA logic circuit 33 receives the trigger signal, the FPGA logic circuit 33 can perform a preset waveform generation or waveform acquisition operation based on the communication connection with the AD / DA conversion circuit 32, that is, Figure 2 In the example, every time the FPGA receives a trigger signal, it can send the current round of data to the four DACs in the conversion device 30 where the FPGA is located, so that the four DACs perform subsequent transmission operations.

[0073] In practical applications, the AD / DA conversion circuit 32 can be a multi-channel digital-to-analog conversion circuit and communicate with the FPGA logic circuit 33 through a high-speed communication interface using the JESD204 protocol, or it can be a multi-channel analog-to-digital conversion circuit and communicate with the FPGA logic circuit 33 through a high-speed communication interface using the JESD204 protocol. Figure 2In the specific implementation, the JESD204 communication protocol is specifically used between the FPGA and the DAC. JESD204 uses a high-speed communication interface. For example, the maximum link rate of JESD204B is 12.5Gbps, and the maximum rate of JESD204C is 32.45Gbps. The main features of the JESD204 protocol are: using high-speed Serdes technology and transmission processing technologies such as CDR, through serial-to-parallel conversion, codeword alignment processing and other technologies, the relatively harsh setup and hold time requirements of parallel communication are decoupled, and through Link and Lane channel mapping and other methods, physical channels with good channel quality can be flexibly selected. Tolerance for link delay differences can be achieved through variable delays. Code scrambling reduces the peak of the emission spectrum and improves EMC performance.

[0074] In the scheme of the present application, an external synchronization SYNC port is not provided in each conversion device 30. Instead, when working, whenever a trigger signal is received and the synchronization condition is met, the FAPG logic circuit 33 sends a synchronization signal SYNC to the clock generation circuit 31 to reset the clock generation circuit, thereby effectively saving port resources. This means that for the conversion device 30, the received trigger signal not only plays the original trigger function of the trigger signal to trigger communication between FAPG and DAC, but also plays the function of a synchronization SYNC port.

[0075] The reason why the FAPG logic circuit 33 needs to send a synchronization signal SYNC to the clock generating circuit 31 to reset the clock generating circuit 31 when the trigger signal is received and the synchronization condition is met is to deal with possible phase errors, that is, for the clock generating circuits 31 in different conversion devices 30, the same type of clocks outputted therefrom should be kept synchronized. If a phase error occurs, it means that good synchronization is not maintained. In the solution of the present application, this situation can be effectively solved by resetting the clock generating circuit 31.

[0076] For easier understanding, please refer to Figure 3 , which is a timing diagram of multiple waveforms, and the 8 waveforms from top to bottom are: the synchronous reference clock Base-Clk allocated by the single board, the board source clock A-Source Clk output by the buffer circuit 34 of the conversion device a; the board source clock B-Source Clk output by the buffer circuit 34 of the conversion device b, and the trigger signal Trig; the low-frequency clock output by the phase-locked loop clock circuit in the conversion device a is recorded as a-low, the low-frequency clock output by the phase-locked loop clock circuit in the conversion device b is recorded as b-low, the high-frequency clock output by the phase-locked loop clock circuit in the conversion device a is recorded as a-high, and the high-frequency clock output by the phase-locked loop clock circuit in the conversion device b is recorded as b-high.

[0077] When powered on, after the FPGA logic circuit 33 detects that Source Clk is valid, it will control each device in the conversion device 30 to power on, and the FPGA logic circuit 33 will also reset the clock generation circuit 31. Figure 3 In the example, there is a relatively small power-on delay when the conversion device a and the conversion device b are powered on. Specifically, the conversion device a is started first. When the FPGA logic circuit 33 in the conversion device a is powered on, the clock generation circuit 31 is reset. After the first rising edge of Source Clk, the phase-locked loop clock circuit in the clock generation circuit 31 of the conversion device a will output the low-frequency clock a-low and the high-frequency clock a-high.

[0078] The power-on startup of the conversion device b will be slightly delayed. After the FPGA logic circuit 33 in the conversion device b detects the Source Clk, it will control the power-on startup of each device in the conversion device b and reset the clock generation circuit 31. After the first rising edge of the Source Clk, the phase-locked loop clock circuit in the clock generation circuit 31 of the conversion device b will output the low-frequency clock b-low and the high-frequency clock b-high.

[0079] It can be seen that the slight delay at power-on causes a phase mismatch between the low-frequency clocks a-low and b-low output by the conversion device a and the conversion device b. Specifically, the phase mismatch is 180°, making the phases of the two completely opposite. It should also be noted that for high-frequency clocks, if the frequency is a multiple of Source Clk, there will usually be no phase mismatch, but if it is a divided frequency after multiplication, that is, a fractional clock of Source Clk, the high-frequency signal will also have a phase mismatch. In addition, Figure 3 XXX shows that the level at this time may be a high level or a low level.

[0080] After initialization, when the conversion device a and the conversion device b can receive the synchronous trigger signal Trig and the synchronization condition is met, the FPGA logic circuits 33 of the two will simultaneously send synchronization signals to the clock generation circuits 31 in their respective conversion devices 30, that is, Figure 3 A-SYNC1 and B-SYNC1 are marked in. Since A-SYNC1 and B-SYNC1 are sent out at the same time, the clock generation circuit 31 in the conversion device a and the conversion device b is reset at the same time, and it can be understood that since the Source Clk in each conversion device is synchronized, after the clock generation circuit 31 in the conversion device a and the conversion device b is reset at the same time, the count values ​​of the related devices in the two are cleared at the same time, so that the two will resume work synchronously without phase mismatch.

[0081] The specific content of the synchronization conditions can be set and adjusted according to actual needs. For example, in one scenario, as long as a trigger signal is received, the synchronization condition is considered to be met. However, this means that synchronization will be performed every time a trigger signal is received. Although synchronization is effectively guaranteed, when the number of synchronizations is too many, there will be more redundancy and more time consumption.

[0082] For example, in a specific implementation, the synchronization condition includes: the FPGA logic circuit 33 receives a new task. This is because if synchronization is performed during the execution of a task by the FPGA logic circuit 33, it will not be conducive to ensuring the smooth execution of the task. When the FPGA logic circuit 33 receives a new task, it means that the previous task has been completed, that is, the FPGA logic circuit has completed the waveform generation or waveform acquisition operation required by the previous task, and is now in an idle state. Therefore, when the FPGA logic circuit 33 receives the first Trig of the new task, it can be regarded as a synchronization condition being met, thereby triggering 1 synchronization.

[0083] For example, Figure 3 In the example, when the first Trig signal of task Task1 arrives, the reset synchronization of the clock generation circuit 31 can be performed within one clock cycle of the Trig signal, thereby achieving the purpose of synchronizing the working clock of the entire system before Task1 is executed. When the next task Task2 arrives, the reset synchronization of the clock generation circuit 31 can be performed within one clock cycle of the Trig signal, that is, Figure 3 A-SYNC2 and B-SYNC2 are marked in the figure, thereby effectively handling the phase mismatch of the low-frequency clock.

[0084] In addition, it can be understood that during the operation, even if the same type of clocks output by two clock generating circuits 31 are out of phase, after receiving the synchronization signal to reset both of them at the same time, the same type of clocks output by the two will eliminate the phase difference and ensure good synchronization.

[0085] When resetting the clock generating circuit 31, all the internal components thereof may be reset. For example, in one case, the frequency divider and the voltage-controlled oscillator in the phase-locked loop clock circuit may be reset.

[0086] In addition, it should be noted that Figure 3It can be seen that the slight delay at power-on causes the low-frequency clocks in the two conversion devices 30 to be out of phase. This is due to the above-mentioned out-of-phase situation, which is usually caused by inconsistent power-on time and different count values ​​of the divider. However, if the output is a clock with a frequency higher than Source Clk and the frequency is an integer multiple of SourceClk, then even if the power-on time is inconsistent, there will usually be no out-of-phase situation. However, if it is a frequency division after multiplication, that is, the frequency of the high-frequency signal is a fractional multiple of Source Clk, then the high-frequency signal will also be out of phase. Figure 3 In the example shown in FIG. 1 , after power-on and before synchronization, the high-frequency clocks a-high and b-high in the conversion device a and the conversion device b are also out of phase.

[0087] In a specific implementation of the present invention, each conversion device 30 further includes: a first clock providing circuit for outputting a first clock;

[0088] The FPGA logic circuit 33 is also used to: at power-on startup, perform validity detection on the received on-board source clock based on the first clock, and after the validity detection passes, control the power-on startup sequence of each device in the conversion device 30 according to the set power-on timing.

[0089] In this implementation manner, each conversion device 30 is further provided with a first clock providing circuit for outputting a first clock, for example Figure 2 The first clock providing circuit in the circuit is specifically OSC, which is a temperature compensated clock. Although the signal quality of this clock is not as good as that of the external clock source circuit 10, it is sufficient for detecting the existence and frequency of Source Clk. Therefore, in the initialization stage of power-on startup, the FPGA logic circuit 33 can use the first clock providing circuit to perform validity detection on the source clock in the board. For example, in one case, it is specifically to detect whether the source clock in the board exists and whether its frequency meets the predetermined requirements. If so, it means that the validity detection has passed, and then the source clock in the board output by the buffer circuit 34 can be used to control the power-on startup sequence of each device in the conversion device 30 according to the set power-on timing.

[0090] In addition, in some situations, when the validity check of the internal source clock of the board fails, the first clock output by the first clock providing circuit can be directly used as the internal clock of the board, that is, the function of the internal source clock output by the buffer circuit 34 is replaced. Such a solution will have slightly lower synchronization, but it can also meet the usage requirements in some situations, such as some single board testing situations. Such operation can be used.

[0091] By applying the technical solution provided in the embodiment of the present invention, the clock source circuit 10 can send a synchronized reference clock to N conversion devices 30, and the trigger source circuit 20 can send a synchronized trigger signal to N conversion devices 30, which is conducive to ensuring the synchronization of each conversion device 30 when working. Furthermore, when the conversion device 30 is working, different devices may need to use different frequencies and different numbers of clocks to complete the work. Therefore, in the solution of the present application, each conversion device 30 includes: a buffer circuit 34, a clock generation circuit 31, an AD / DA conversion circuit 32 and an FPGA logic circuit 33. The buffer circuit can perform buffering processing on the received reference clock and trigger signal to enhance the driving force, and obtain the multi-channel on-board source clock and trigger signal required by the conversion device. The clock generation circuit 31 can provide the working clock of the AD / DA conversion circuit 32 to the AD / DA conversion circuit 32 based on the received on-board source clock, and provide the working clock of the FPGA logic circuit 33 to the FPGA logic circuit 33. Furthermore, the present application takes into account that, due to a certain degree of error in the power-on time of different conversion devices 30, the same type of working clocks in different conversion devices 30 may be out of phase, affecting the synchronization of the conversion array. To this end, whenever a trigger signal is received and the synchronization condition is met, the FPGA logic circuit 33 will send a synchronization signal to the clock generation circuit 31 to reset the clock generation circuit 31, and since the trigger signal is synchronous, the synchronous reset of each clock generation circuit 31 can be achieved. After the synchronous reset, the above-mentioned phase mismatch can be eliminated. In addition, it should be noted that the conversion device 30 of the present application does not need to set an external synchronous SYNC port, but sends a synchronization signal whenever a trigger signal is received, which is equivalent to using the trigger signal to realize the function of the external synchronous SYNC port, effectively saving port resources.

[0092] In summary, the solution of the present application can effectively ensure the synchronization of the conversion array, has no special restrictions on use, thereby ensuring the flexibility of the solution, and does not require the provision of an external synchronization SYNC port, effectively saving port resources.

[0093] Corresponding to the above embodiment of the conversion array, the embodiment of the present invention further provides a quantum device, which can be referred to in correspondence with the above text. The quantum device can include the conversion array in any of the above embodiments.

[0094] It should also be noted that, in this application, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0095] Those skilled in the art may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0096] The present application uses specific examples to illustrate the principles and implementation methods of the present invention, and the description of the above embodiments is only used to help understand the technical solution and core ideas of the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, the present invention can also be improved and modified, and these improvements and modifications also fall within the scope of protection of the present invention.

Claims

1. A transformation array, It is characterized in that The invention comprises a clock source circuit, a trigger source circuit, and N conversion devices; the clock source circuit is used to send a synchronous reference clock to the N conversion devices, and the trigger source circuit is used to send a synchronous trigger signal to the N conversion devices, wherein N is a positive integer not less than 2; Each of the conversion devices includes: a buffer circuit, a clock generation circuit, an AD / DA conversion circuit, and an FPGA logic circuit; The buffer circuit is used to: perform buffering processing on the received reference clock and the trigger signal to enhance the driving force, so as to obtain the multi-channel board internal source clock and trigger signal required by the conversion device; The clock generation circuit is used to: provide the working clock of the AD / DA conversion circuit to the AD / DA conversion circuit based on the received on-board source clock, and provide the working clock of the FPGA logic circuit to the FPGA logic circuit; The FPGA logic circuit is used to: when in operation, whenever the trigger signal is received, perform a preset waveform generation or waveform acquisition operation based on the communication connection with the AD / DA conversion circuit, and whenever the trigger signal is received and the synchronization condition is met, send a synchronization signal to the clock generation circuit to reset the clock generation circuit.

2. The conversion array according to claim 1, It is characterized in that The structure of the clock generating circuit in each of the conversion devices is the same, and each of the clock generating circuits includes: a phase-locked loop clock circuit and an output frequency division circuit, so that the clock generating circuit receives the on-board source clock and generates working clocks of various frequencies after multiplication and / or division.

3. The conversion array according to claim 1, It is characterized in that Each of the conversion devices also includes: a first clock providing circuit for outputting a first clock; The FPGA logic circuit is also used to: at power-on startup, perform validity detection on the received on-board source clock based on the first clock, and after the validity detection passes, control the power-on startup sequence of each device in the conversion device according to the set power-on timing.

4. The conversion array according to claim 1, It is characterized in that The buffer circuit in each of the conversion devices is a buffer circuit with a default consistent fixed delay and an adjustable duration of the fixed delay.

5. The conversion array according to claim 1, It is characterized in that In each of the conversion devices, the AD / DA conversion circuits are all multi-channel digital-to-analog conversion circuits and are communicatively connected to the FPGA logic circuit via a high-speed communication interface using the JESD204 protocol, or are all multi-channel analog-to-digital conversion circuits and are communicatively connected to the FPGA logic circuit via a high-speed communication interface using the JESD204 protocol; When each of the AD / DA conversion circuits is a multi-channel digital-to-analog conversion circuit, the conversion array is a transmitting array used to output signals through the digital-to-analog conversion circuits of each channel; when each of the AD / DA conversion circuits is a multi-channel analog-to-digital conversion circuit, the conversion array is a receiving array used to receive signals through the analog-to-digital conversion circuits of each channel.

6. The conversion array according to claim 1, It is characterized in that The clock source circuit comprises: Single clock source and clock distribution unit; The single clock source is connected to the clock distribution unit, and the single clock source is used to generate a reference clock; The clock distribution unit is used to divide the received reference clock into N synchronized reference clocks, so as to send the N synchronized reference clocks to the N conversion devices respectively.

7. The conversion array according to claim 6, It is characterized in that The trigger source circuit includes a single-channel trigger source and a trigger distribution unit; The trigger source is used to generate a trigger signal based on the reference clock and according to a preset trigger signal generation rule; The trigger distribution unit is connected to the single-channel trigger source, and is used to divide the received trigger signal into N synchronous trigger signals, so as to send the N synchronous trigger signals to the N conversion devices respectively.

8. The conversion array according to claim 1, It is characterized in that The trigger signal of the trigger source circuit comes from a trigger signal sent externally.

9. The conversion array according to any one of claims 1 to 8, It is characterized in that The synchronization condition includes: the FPGA logic circuit receives a new task; Alternatively, the synchronization condition includes: the FPGA logic circuit receives a trigger signal.

10. A quantum device, It is characterized in that Comprising a conversion array as claimed in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Method and device for synchronizing inter-board multi-channel TR system

    CN115801712A

  • Quantum measurement and control AWG array waveform generation synchronization system

    CN116953314A

Cited By

  • Multi-channel DC source asynchronous write-in and synchronous refresh system and method

    CN120492398A

  • Quantum measurement and control equipment and system

    CN122572713A

  • A quantum measurement and control device and system

    CN122572713B