A digital phase shifting method and a digital phase shifter

By using digital phase-shifting methods and π/2 phase-shifting units, the stability problem of optical interference signal locking in quantum optics experiments was solved, achieving high-precision phase-shifted signal output, simplifying the system structure and reducing noise interference.

CN117973550BActive Publication Date: 2026-11-17SHANXI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410123183.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-30
Publication Date
2026-11-17
Estimated Expiration
2044-01-30

AI Technical Summary

Technical Problem

In quantum optics experiments, existing technologies make it difficult to achieve stable locking of two light interference signals. The systems are complex and susceptible to environmental noise interference, making it difficult to achieve high-precision phase-shifting signal output.

Method used

By employing a digital phase-shifting method, a preset phase-shifting angle and frequency are obtained, and the π/2 phase-shifting output is calculated using a fast Fourier transform. Combined with the π/2 phase-shifting unit and the scaling factor, the target output signal is determined, thereby achieving high-precision phase-shifting operation.

Benefits of technology

It improves the accuracy of the phase-shifting system, ensures high signal-to-noise ratio error signal output, simplifies the system structure, reduces sensitivity to environmental noise, and is suitable for miniaturized and integrated applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117973550B_ABST
    Figure CN117973550B_ABST
Patent Text Reader

Abstract

This invention discloses a digital phase-shifting method and a digital phase shifter, relating to the field of digital phase-shifting technology. The method includes: acquiring a preset phase-shifting angle, and determining a first proportional coefficient and a second proportional coefficient based on the preset phase-shifting angle; acquiring a current digital signal, and determining the frequency of the current digital signal based on a fast Fourier transform; calculating the corresponding π / 2 phase-shift output based on the frequency of the current digital signal; and determining a target output signal based on the π / 2 phase-shift output, the first proportional coefficient, and the second proportional coefficient. This invention can achieve high-precision phase-shifted signal output.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital phase shifting technology, and in particular to a digital phase shifting method and a digital phase shifter. Background Technology

[0002] In quantum optics experiments, squeezed light fields are crucial quantum resources. Coupled with squeezed light fields in a beam splitter network, multi-component entangled light fields can be prepared. Squeezed and entangled light fields provide the foundation and guarantee for the scalability of quantum computing and the implementation of quantum communication protocols in quantum networks.

[0003] In experimental systems for preparing squeezed-state optical fields based on optical parametric amplifiers, to obtain a squeezed-state optical field with a specific compression direction, it is usually necessary to lock the relative phase of the injection light and pump light to 0 or π to prepare an orthogonal phase or orthogonal amplitude squeezed-state optical field. In the preparation of two-component and multi-component entangled-state optical fields, squeezed-state optical fields with the same frequency need to be coupled at a beam splitter to obtain the entangled-state optical field required for the experiment. In non-classical optical field measurements, it is usually necessary to interfere with a strong local light and a weak non-classical optical field to amplify the weak light signal and then obtain the quantum fluctuations of the orthogonal components of the signal light to be measured. Therefore, achieving stable locking of the interference signals of the two beams is crucial.

[0004] Phase control first requires obtaining the corresponding error signal, which is then processed by a proportional-integral-differential converter (PID) and fed back to the piezoelectric ceramic to achieve phase control. Therefore, in phase locking, acquiring a high-quality error signal is crucial for achieving long-term stable feedback control of the phase. The error signal is obtained by phase shifting a given signal. Currently, modulation and demodulation methods are typically used to obtain the phase-shifted signal for phase locking, or a reference beam is used to arbitrarily control the phase of two optical fields. These techniques not only require the photodetector acquiring the phase signal to have a relatively stable AC signal output, but also result in complex systems susceptible to environmental noise disturbances, and are difficult to miniaturize and integrate. Summary of the Invention

[0005] The purpose of this invention is to provide a digital phase shifting method and a digital phase shifter that can achieve high-precision phase shifting signal output.

[0006] To achieve the above objectives, the present invention provides the following solution:

[0007] In a first aspect, the present invention provides a digital phase-shifting method, comprising:

[0008] Obtain a preset phase shift angle, and determine a first proportional coefficient and a second proportional coefficient based on the preset phase shift angle;

[0009] Acquire the current digital signal and determine the frequency of the current digital signal based on the Fast Fourier Transform;

[0010] Calculate the corresponding π / 2 phase shift output based on the frequency of the current digital signal;

[0011] The target output signal is determined based on the π / 2 phase shift output, the first proportional coefficient, and the second proportional coefficient.

[0012] Optionally, the formula for calculating the π / 2 phase shift output is: u(k)=b×u(k-1)+i(k)-a×i(k-1);

[0013] Where u(k) is the π / 2 phase shift signal in the time domain at time k, that is, the π / 2 phase shift output corresponding to the current digital signal; a and b are parameters determined by the frequency of the current digital signal; u(k-1) is the π / 2 phase shift signal in the time domain at time k-1; i(k) is the given signal in the time domain at time k, that is, the current digital signal; i(k-1) is the given signal in the time domain at time k-1.

[0014] Optionally, the formula for calculating parameter a is: a = 1 + 2πfT; the formula for calculating parameter b is: b = 1 - 2πfT;

[0015] Where f represents the frequency of the current digital signal, and T represents the sampling period of the signal.

[0016] Optionally, the formula for calculating the target output signal is:

[0017] Where Y(k) represents the target output signal at time k, and i(k) represents the current digital signal; U(k) represents the first proportionality coefficient, and u(k) represents the π / 2 phase shift output. This represents the second proportionality coefficient. This indicates the preset phase shift angle.

[0018] In a second aspect, the present invention provides a digital phase shifter, comprising a signal acquisition unit, a phase input unit, a data processing unit, a digital-to-analog conversion unit, and a display unit;

[0019] The signal acquisition unit is used to acquire the current digital signal;

[0020] The phase input unit is used to acquire a preset phase shift angle;

[0021] The data processing unit is connected to the signal acquisition unit, the phase input unit, the digital-to-analog conversion unit, and the display unit, respectively; the data processing unit is used to execute the digital phase shifting method based on the current digital signal and the preset phase shift angle to determine the frequency of the current digital signal and the target output signal;

[0022] The digital-to-analog conversion unit is used to convert the target output signal into a digital-to-analog signal and then output it.

[0023] The display unit is used to display the preset phase shift angle and the frequency of the current digital signal.

[0024] Optionally, the signal acquisition unit is an AD acquisition unit; the AD acquisition unit includes an AD7656-1 chip and a first operational amplifier circuit to realize 16-bit data acquisition of 6 digital signals;

[0025] The digital-to-analog conversion unit is a DA digital-to-analog conversion unit; the DA digital-to-analog conversion unit includes a DAC8534 chip and a second operational amplifier circuit to realize 16-bit data output of two digital signals.

[0026] Optionally, the phase input unit is a 3×4 matrix keypad to input a preset phase shift angle to the data processing unit;

[0027] The display unit is an LCD screen; the data processing unit is a DSP digital processor.

[0028] Optionally, the DSP digital processor is connected to the signal acquisition unit through an external data interface XINTF, and reads the current digital signal acquired by the signal acquisition unit through parallel address lines and data lines;

[0029] The DSP digital processor is connected to the 3×4 matrix keyboard via a GPIO interface;

[0030] The DSP digital processor is connected to the digital-to-analog converter unit via an SPI interface;

[0031] The DSP digital processor uses I 2 The C interface is connected to the LCD screen.

[0032] According to specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0033] This invention discloses a digital phase-shifting method and a digital phase shifter. Based on a preset phase-shifting angle, a first proportional coefficient and a second proportional coefficient are determined. The frequency of the current digital signal is determined using a Fast Fourier Transform, and then the corresponding π / 2 phase-shift output is calculated. Finally, the target output signal is determined based on the π / 2 phase-shift output, the first proportional coefficient, and the second proportional coefficient. This invention, by employing a π / 2 phase-shifting unit for phase-shifting operation, avoids introducing external noise signals, greatly improving the accuracy of the phase-shifting system and ensuring the output of a high-precision phase-shifted signal. Attached Figure Description

[0034] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0035] Figure 1 This is a schematic diagram of a sinusoidal function phase-shifting system.

[0036] Figure 2 This is a schematic diagram of a cosine function phase-shifting system.

[0037] Figure 3 Bode plot for π / 2 phase shift unit;

[0038] Figure 4 This is a flowchart of the digital phase-shifting method of the present invention;

[0039] Figure 5 This is a schematic diagram of an example of the digital phase shifter of the present invention. Detailed Implementation

[0040] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0041] A phase shifter is a device that adjusts the phase of a wave. Its phase shift refers to the relative phase difference between the output signal under different control states and the output signal under a reference state. Digital phase shifters can adjust and control the phase of an input wave with high precision, offering accurate readings, reliable operation, and ease of use. They are widely used in fields such as improving voltage stability, attitude control, accelerators, communications, and instrumentation.

[0042] Based on this, the present invention provides a digital phase shifting method and a digital phase shifter, which can design a digital phase shifter with high signal-to-noise ratio and high precision for arbitrary phase. It only requires the photodetector to have a stable DC signal output to achieve the acquisition of error signals with high signal-to-noise ratio and high stability, providing technical support for the development of miniaturized non-classical optical field generating devices.

[0043] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0044] The principle of a phase shifter is explained below:

[0045] Apply a specified phase to a given signal sin(ωt) Phase shifting operation to acquire the target signal According to the trigonometric function expansion formula, we know that:

[0046] The principle of setting up a sinusoidal function phase-shifting system using the above formula is as follows: Figure 1 As shown. Figure 1 In this process, the given sinusoidal signal sin(ωt) is passed through a π / 2 phase shift unit to obtain a 90° phase-shifted signal cos(ωt); the two signals are then passed through their respective scaling factors. and Attenuation is achieved, and the determination of the proportional coefficient is related to the phase shift of the system. Related; the target signal can be obtained by passing the two attenuated signals through an adder.

[0047]

[0048] Apply a specified phase to a given signal cos(ωt) Phase shifting operation to obtain the target signal According to the trigonometric function expansion formula, we know that:

[0049] The principle of setting up a cosine function phase-shifting system using the above formula is as follows: Figure 2 As shown. Figure 2 In this process, the given cosine signal cos(ωt) is passed through a π / 2 phase shift unit to obtain a 90° phase-shifted signal -sin(ωt); the two signals are then passed through their respective scaling factors. and Attenuation is achieved, and the determination of the proportional coefficient is related to the system phase shift. Related; the target signal can be obtained by passing the two attenuated signals through an adder.

[0050]

[0051] The sine-cosine conversion of a given signal can be achieved by differentiating the signal, but this method introduces noise, significantly reducing the signal-to-noise ratio (SNR) of the target signal. However, using a π / 2 phase shift unit for sine-cosine signal conversion avoids this noise introduction, thus ensuring the optimal SNR of the target signal.

[0052] The transfer function H(S) of the π / 2 phase shift unit is as follows:

[0053]

[0054] Where U(S) is the 90° phase-shifted signal in the S-domain, I(S) is the given signal in the S-domain, and τ is the time constant of the π / 2 phase-shift unit. When f is the frequency of the given signal, a π / 2 phase shift operation can be achieved.

[0055] Figure 3 This is the Bode plot of a π / 2 phase shift unit. Figure 3 The phase-frequency response curves show that when the given signal frequency is 1Hz, the phase shift unit time constant τ = 0.1592, and the phase shift is 90°; when the given signal frequency is 10Hz, the phase shift unit time constant τ = 0.01592, and the phase shift is 90°; when the given signal frequency is 100Hz, the phase shift unit time constant τ = 0.001592, and the phase shift is 90°; when the given signal frequency is 1000Hz, the phase shift unit time constant τ = 0.0001592, and the phase shift is 90°. The amplitude-frequency response curves in the figure show that the π / 2 phase shift unit only affects the phase of the signal, but does not attenuate or amplify the signal amplitude.

[0056] Based on the above analysis of the phase shifter principle, two embodiments are given below.

[0057] Example 1

[0058] like Figure 4 As shown, the present invention provides a digital phase shifting method, comprising:

[0059] Step 100: Obtain a preset phase shift angle (i.e., a specified phase), and determine a first proportional coefficient and a second proportional coefficient based on the preset phase shift angle.

[0060] Step 200: Obtain the current digital signal (i.e., the given signal) and determine the frequency of the current digital signal based on the Fast Fourier Transform.

[0061] Step 300: Calculate the corresponding π / 2 phase shift output based on the frequency of the current digital signal.

[0062] Since the digital system is a discrete system, the transfer function H(S) of the π / 2 phase-shifting unit in the continuous S-domain needs to be discretized to obtain the discrete Z-domain transfer function H(z). The forward difference method is used for discretization, and the Z-domain transfer function of the π / 2 phase-shifting unit is:

[0063]

[0064] Where U(z) is the 90° phase-shifted signal in the z-domain, I(z) is the given signal in the z-domain, and T is the sampling period of the signal in the discrete system.

[0065] Let a = 1 + T / τ, b = 1 - T / τ, and express the above equation in the form of a difference equation to obtain the formula for calculating the π / 2 phase shift output: u(k) = b × u(k-1) + i(k) - a × i(k-1).

[0066] Where u(k) is the π / 2 phase shift signal in the time domain at time k, i.e., the π / 2 phase shift output corresponding to the current digital signal; a and b are parameters determined by the frequency of the current digital signal. Since τ = 1 / 2πf, the formula for calculating parameter a is: a = 1 + 2πfT; the formula for calculating parameter b is: b = 1 - 2πfT; f represents the frequency of the current digital signal. u(k-1) is the π / 2 phase shift signal in the time domain at time k-1; i(k) is the given signal in the time domain at time k, i.e., the current digital signal; i(k-1) is the given signal in the time domain at time k-1.

[0067] Step 400: Determine the target output signal based on the π / 2 phase shift output, the first proportional coefficient, and the second proportional coefficient.

[0068] The formula for calculating the target output signal is:

[0069] Where Y(k) represents the target output signal at time k, and i(k) represents the current digital signal, i.e., the current time is time k; U(k) represents the first proportionality coefficient, and u(k) represents the π / 2 phase shift output. This represents the second proportionality coefficient. This indicates the preset phase shift angle.

[0070] In summary, this invention provides a digital phase-shifting method capable of designing a high signal-to-noise ratio, high-precision digital phase shifter for arbitrary phases. The steps are as follows: The DC signal output from the photodetector is used as the acquired current digital signal; after analog-to-digital conversion by a digital processor, it is split into two paths. One path is input to a π / 2 phase-shifting unit. By adjusting the time constant of the phase-shifting unit, π / 2 phase shifts of sine / coherent functions at different frequencies are achieved. The π / 2 phase-shifting unit is discretized in the Z-domain, and characterized using a difference equation to obtain the π / 2 phase-shift output. The two signals (π / 2 phase-shift output and current digital signal) are then processed by corresponding scaling factors. and Attenuation is performed; the two attenuated signals are then added together using an adder to achieve the desired effect on the target signal. Phase shifting yields the target output signal. The phase-shifted signal is then converted from digital to analog and used as an error signal. This error signal is fed back to the piezoelectric ceramic in the optical path via a proportional-integral controller and a high-voltage amplifier, thus controlling the phase difference of the interference between the two beams to any desired phase. This invention requires only a stable DC output from the photodetector; the signal-to-noise ratio of the error signal depends only on the signal-to-noise ratio of the input signal, without introducing additional noise; and high-precision phase-shifted signal output can be achieved through a digital processor.

[0071] Example 2

[0072] like Figure 5 As shown, this embodiment also provides a digital phase shifter, including a signal acquisition unit, a phase input unit, a data processing unit, a digital-to-analog conversion unit, and a display unit.

[0073] The signal acquisition unit is used to acquire the current digital signal; the signal acquisition unit is an AD acquisition unit; the AD acquisition unit includes an AD7656-1 chip and a first operational amplifier circuit to realize 16-bit data acquisition of 6 digital signals, and the voltage range of the acquired signal is [-10V, +10V].

[0074] The phase input unit is used to acquire a preset phase shift angle; the phase input unit is a 3×4 matrix keypad, and in practical applications, the size of the key array can be adjusted to input the preset phase shift angle to the data processing unit.

[0075] The data processing unit is connected to the signal acquisition unit, the phase input unit, the digital-to-analog conversion unit, and the display unit, respectively. The data processing unit is used to execute the digital phase shifting method described in Embodiment 1 based on the current digital signal and the preset phase shift angle to determine the frequency of the current digital signal and the target output signal.

[0076] Specifically, the data processing unit is a DSP digital processor, model TMS320F28335, which mainly performs functions such as fast Fourier transform of signals, π / 2 phase shift, keyboard scanning and data output.

[0077] The digital-to-analog converter unit is used to convert the target output signal into digital signal and then output it; the digital-to-analog converter unit is a DA digital-to-analog converter unit; the DA digital-to-analog converter unit includes a DAC8534 chip and a second operational amplifier circuit to realize 16-bit data output of two digital signals, and the voltage range of the output signal is [-10V, +10V].

[0078] The display unit is used to display the preset phase shift angle and the frequency of the current digital signal. The display unit is an LCD screen, specifically a 1.54-inch LCD screen, and the 1.54-inch LCD screen uses a 12864 LCD screen.

[0079] Furthermore, the DSP digital processor is connected to the signal acquisition unit via an external data interface XINTF, and reads the current digital signal acquired by the signal acquisition unit through parallel address lines and data lines; the DSP digital processor is connected to the 3×4 matrix keyboard via a GPIO interface to obtain the phase shift angle of the external input; the DSP digital processor is connected to the digital-to-analog converter unit via an SPI interface to output the calculated target signal; the DSP digital processor is connected to the I / O interface via I / O... 2 The C interface connects to the LCD screen to display the frequency of the given signal and the input phase shift angle.

[0080] In a practical application, the digital phase shifter is first programmed. Then, before use, the software system is initialized, primarily involving the timer interrupt, XINTF interface, GPIO, SPI interface, and I2C interface, as well as the corresponding data flags. After initialization, the main function scans the keyboard to obtain the external input phase shift angle and calculates the corresponding first and second proportional coefficients. Upon entering a timer interrupt, the software system reads data from the AD acquisition unit to obtain the current given signal, i.e., the current digital signal i(k). The frequency f of the given signal is obtained through a Fast Fourier Transform (FFT), and parameters a and b are calculated. Finally, the output of the π / 2 phase shift unit, i.e., the π / 2 phase shift output u(k), is calculated. Figure 1 and Figure 2 The phase-shifting system principle shown is used to calculate the target output signal. The calculated target output signal is output to the DA digital-to-analog converter unit via the SPI module. 2The C module transmits the externally input phase shift angle and the frequency of the given signal to the LCD screen for display. It then terminates the timer interrupt and waits for the next interrupt.

[0081] Limited by the DSP's operating frequency and software cycle time, this invention's digital phase shifter can perform precise phase shifting operations on given signals below 500Hz. This invention employs a 16-bit high-precision AD acquisition chip and a DA digital-to-analog converter chip, with both voltage acquisition and conversion accuracy at 0.3mV. Furthermore, the DSP digital processor used in this invention supports 32-bit floating-point operations, ensuring computational accuracy. Finally, the use of a π / 2 phase shift unit for phase shifting eliminates the introduction of external noise signals, significantly improving the accuracy of the phase shifting system.

[0082] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant parts can be referred to the method section.

[0083] This document uses specific examples to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. Furthermore, those skilled in the art will recognize that, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A digital phase-shifting method, characterized in that, The methods include: Obtain a preset phase shift angle, and determine a first proportional coefficient and a second proportional coefficient based on the preset phase shift angle; Acquire the current digital signal and determine the frequency of the current digital signal based on the Fast Fourier Transform; Based on the frequency of the current digital signal, calculate the corresponding π / 2 phase shift output; the formula for calculating the π / 2 phase shift output is: u(k) = b × u(k-1) + i(k) - a × i(k-1); where u(k) is the π / 2 phase shift signal in the time domain at time k, i.e., the π / 2 phase shift output corresponding to the current digital signal; a and b are parameters determined by the frequency of the current digital signal; u(k-1) is the π / 2 phase shift signal in the time domain at time k-1; i(k) is the given signal in the time domain at time k, i.e., the current digital signal; i(k-1) is the given signal in the time domain at time k-1; The formula for calculating parameter a is: a = 1 + 2πfT; the formula for calculating parameter b is: b = 1 - 2πfT; where f represents the frequency of the current digital signal and T represents the sampling period of the signal. Based on the π / 2 phase shift output, the first proportional coefficient, and the second proportional coefficient, the target output signal is determined; the calculation formula for the target output signal is: Y(k) = i(k) * cos( )+u(k)*sin( ); Where Y(k) represents the target output signal at time k, and i(k) represents the current digital signal; cos( ) represents the first proportional coefficient, u(k) represents the π / 2 phase shift output, and sin( () indicates the second proportionality coefficient. This indicates the preset phase shift angle.

2. A digital phase shifter, characterized in that, The digital phase shifter includes a signal acquisition unit, a phase input unit, a data processing unit, a digital-to-analog conversion unit, and a display unit; The signal acquisition unit is used to acquire the current digital signal; The phase input unit is used to acquire a preset phase shift angle; The data processing unit is connected to the signal acquisition unit, the phase input unit, the digital-to-analog conversion unit, and the display unit, respectively; the data processing unit is used to execute the digital phase shifting method of claim 1 based on the current digital signal and the preset phase shift angle, so as to determine the frequency of the current digital signal and the target output signal; The digital-to-analog conversion unit is used to convert the target output signal into a digital-to-analog signal and then output it. The display unit is used to display the preset phase shift angle and the frequency of the current digital signal.

3. The digital phase shifter according to claim 2, characterized in that, The signal acquisition unit is an AD acquisition unit; the AD acquisition unit includes an AD7656-1 chip and a first operational amplifier circuit to realize 16-bit data acquisition of 6 digital signals; The digital-to-analog conversion unit is a DA digital-to-analog conversion unit; the DA digital-to-analog conversion unit includes a DAC8534 chip and a second operational amplifier circuit to realize 16-bit data output of two digital signals.

4. The digital phase shifter according to claim 2, characterized in that, The phase input unit is a 3×4 matrix keypad, which is used to input a preset phase shift angle to the data processing unit; The display unit is an LCD screen; the data processing unit is a DSP digital processor.

5. The digital phase shifter according to claim 4, characterized in that, The DSP digital processor is connected to the signal acquisition unit through an external data interface XINTF, and reads the current digital signal acquired by the signal acquisition unit through parallel address lines and data lines; The DSP digital processor is connected to the 3×4 matrix keyboard via a GPIO interface; The DSP digital processor is connected to the digital-to-analog converter unit via an SPI interface; The DSP digital processor uses I 2 The C interface is connected to the LCD screen.