Phase control method and device, electronic equipment and storage medium

By generating an objective function and determining the compensation voltage value to compensate the phase modulator of the fiber optic signal, the problem of time synchronization instability caused by interferometer phase drift is solved, and high-precision and low-noise phase control is achieved.

CN116633445BActive Publication Date: 2026-01-13BEIJING UNIV OF POSTS & TELECOMM
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310410591.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-17
Publication Date
2026-01-13
Estimated Expiration
2043-04-17

AI Technical Summary

Technical Problem

In the existing technology, during the coherent demodulation of fiber optic signals, the interferometer is affected by ambient temperature and vibration, which causes phase drift and reduces the stability of time synchronization. Furthermore, existing phase control methods may introduce noise or require a large amount of training data, affecting the control effect.

Method used

By acquiring the control voltage and DC voltage of the phase modulator, an objective function is generated, the compensation voltage value is determined, and the control voltage is compensated to achieve stable phase control.

Benefits of technology

Phase drift is avoided, improving the stability and accuracy of time synchronization, reducing noise interference, and enhancing the flexibility and precision of control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116633445B_ABST
    Figure CN116633445B_ABST
Patent Text Reader

Abstract

The present disclosure provides a phase control method and device, electronic equipment and storage medium, comprising: obtaining a control voltage and a direct current voltage of a phase modulator; generating a target function based on the control voltage and the direct current voltage, and determining a compensation voltage value of the phase modulator based on the target function; and compensating the control voltage based on the compensation voltage value. In the present disclosure, the control voltage and the direct current voltage of the phase modulator are first obtained, then the target function about the voltage change of the phase modulator is generated based on the control voltage and the direct current voltage, then the compensation voltage value of the control voltage is determined based on the target function, and finally the control voltage is compensated based on the compensation voltage value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of phase control technology, and in particular to a phase control method, device, electronic device, and storage medium. Background Technology

[0002] In recent years, with the gradual development of fiber optic time synchronization networks, the demodulation process of fiber optic signals (e.g., coherent demodulation) has become increasingly important. In practice, this is typically achieved using the phase difference between the two arms of an interferometer. However, due to the influence of ambient temperature and vibration, the interferometer experiences phase drift, leading to fluctuations in the phase difference. This ultimately causes distortion in the time pulse signal recovered from the fiber optic signal, affecting the stability of time synchronization. Therefore, it is necessary to control the phase of the interferometer.

[0003] In existing technologies, phase control is typically achieved by introducing jitter signals. However, this method introduces additional noise into the fiber optic link and interferes with the demodulated signal. Therefore, ensuring the interferometer's phase remains stable during control, unaffected by external signals, is a pressing issue that needs to be addressed. Summary of the Invention

[0004] In view of this, the purpose of this disclosure is to provide a phase control method, apparatus, electronic device and storage medium.

[0005] As one aspect of this disclosure, a phase control method is provided, characterized by comprising:

[0006] Obtain the control voltage and DC voltage of the phase modulator;

[0007] A target function is generated based on the control voltage and the DC voltage, and the compensation voltage value of the phase modulator is determined based on the target function;

[0008] The control voltage is compensated based on the compensation voltage value.

[0009] Optionally, obtaining the control voltage and DC voltage of the phase modulator includes:

[0010] The control voltage of the phase modulator within a preset period range is obtained, and the DC voltage is acquired based on the control voltage.

[0011] Optionally, the generation of the objective function based on the control voltage and the DC voltage includes:

[0012] A response curve is generated based on the control voltage and the DC voltage, and the amplitude and target value of the response curve are determined.

[0013] The half-wave voltage of the phase modulator is determined based on the wavelength range of the control voltage within the response curve, and the period value of the response curve is determined based on the half-wave voltage.

[0014] A target function is generated based on the period value, the amplitude, and the target value;

[0015] The objective function is expressed as:

[0016]

[0017] Among them, V DC V represents DC voltage, A represents the magnitude of the objective function, and V represents the DC voltage. Bias Indicates the control voltage, V π This represents the half-wave voltage.

[0018] Optionally, determining the compensation voltage value of the phase modulator based on the objective function includes:

[0019] The DC voltage is subjected to mean filtering to obtain the mean-filtered DC voltage value.

[0020] Calculate the inverse function of the objective function based on a preset interval range;

[0021] The DC voltage value after mean filtering and the target value are substituted into the inverse function for calculation, and the compensation voltage value of the control voltage is obtained.

[0022] The compensation voltage value is expressed as follows:

[0023]

[0024] Among them, V BC Indicates the compensation voltage value. This represents the control voltage value corresponding to the DC voltage value after mean filtering, V. MB This represents the target value.

[0025] Optionally, after determining the compensation voltage value of the phase modulator based on the objective function, the method further includes:

[0026] Determine the first point of the DC voltage value after the mean filtering process in the objective function, and the second point of the DC voltage value corresponding to the control voltage in the objective function;

[0027] Calculate the slope of the line segment formed by connecting the first point and the second point;

[0028] The compensation direction of the compensation voltage value is determined based on the slope.

[0029] Optionally, the compensation process for the control voltage based on the compensation voltage value includes:

[0030] The control voltage of the phase modulator is compensated based on the compensation direction and the compensation voltage value to obtain the compensated control voltage value.

[0031] Optionally, the compensation process for the control voltage of the phase modulator based on the compensation direction and the compensation voltage value includes:

[0032] In response to determining that the compensated control voltage value exceeds the range, the compensated control voltage value is changed to a control voltage value that is a preset multiple.

[0033] As a second aspect of this disclosure, this disclosure also provides a phase control device, comprising:

[0034] The voltage acquisition module is configured to acquire the control voltage and DC voltage of the phase modulator.

[0035] The compensation voltage generation module is configured to: generate a target function based on the control voltage and the DC voltage, and determine the compensation voltage value of the phase modulator based on the target function;

[0036] The compensation processing module is configured to perform compensation processing on the control voltage based on the compensation voltage value.

[0037] As a third aspect of this disclosure, this disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the phase control method described above provided in this disclosure when executing the program.

[0038] As a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is also provided, the non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the methods described in any of the above-mentioned methods.

[0039] As described above, this disclosure first obtains the control voltage and DC voltage of the phase modulator, then generates an objective function about the voltage change of the phase modulator using the control voltage and DC voltage, then determines the compensation voltage value of the control voltage using this objective function, and finally compensates the control voltage using the compensation voltage value. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in this disclosure or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1A This is a schematic diagram of a phase control method provided in an embodiment of the present disclosure.

[0042] Figure 1B This is a schematic diagram of a method for generating an objective function provided in an embodiment of this disclosure.

[0043] Figure 1C This is a schematic diagram of a method for generating a compensation voltage value according to an embodiment of the present disclosure.

[0044] Figure 2 This is a schematic diagram of a phase control device provided in an embodiment of the present disclosure.

[0045] Figure 3 This is a schematic diagram of an electronic device structure for a phase control method provided in an embodiment of the present disclosure. Detailed Implementation

[0046] To make the objectives, technical solutions, and advantages of this disclosure clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.

[0047] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this disclosure should have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms "first," "second," and similar terms used in the embodiments of this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0048] As described in the background section, with the gradual development of fiber optic time synchronization networks, coherent demodulation of fiber optic signals has become increasingly important. In practical operation, high-precision time synchronization requires extremely high stability of the time pulse signal. Therefore, more stable and accurate signal demodulation of fiber optic signals is necessary.

[0049] In existing technologies, coherent demodulation of fiber optic signals is typically achieved using the phase difference between the two arms of an interferometer. However, the demodulation process can be affected by ambient temperature and vibration, leading to phase drift and fluctuations in the phase difference within the interferometer. This results in distortion of the recovered time pulse signal, ultimately affecting the stability of time synchronization. Therefore, phase control of the interferometer is necessary.

[0050] Specifically, there are two main methods for phase control of an interferometer: one is the control method by introducing a jitter signal, and the other is the feedback control method based on the optical power output by the interferometer or the DC voltage output by the photodetector.

[0051] In practical control, the first method (introducing jitter) introduces additional noise into the fiber optic link due to the low-frequency jitter signal, interfering with the demodulation process. Therefore, it is unsuitable for time synchronization systems. The second method (feedback control) typically places a phase modulator on one arm of the interferometer. Since the phase change of the fiber optic signal is proportional to the control voltage of the phase modulator, adjusting the control voltage can compensate for the phase drift of the interferometer. Furthermore, the optical power output of the interferometer or the DC voltage output of the photodetector can reflect the phase change of the interferometer. Therefore, this feedback control method can be used to change the output control voltage, thereby stabilizing the phase of the interferometer.

[0052] However, when using the aforementioned feedback control method, the time required for acquiring training data can lead to phase drift in the system during the data acquisition process. Furthermore, the accuracy of the acquired data is limited by the acquisition equipment, potentially resulting in an inaccurate training model and affecting the calculation results and control performance. Moreover, the control methods described in the prior art, which rely on neural network models, typically only acquire optical power data during training. Therefore, when optical path attenuation changes, the control performance of the neural network model deteriorates, necessitating model retraining, which is inconvenient and inflexible.

[0053] To address the aforementioned problems, this disclosure provides a phase control method, apparatus, electronic device, and storage medium. Using the method described above, this disclosure first obtains the control voltage and DC voltage of the phase modulator, then generates an objective function regarding the voltage change of the phase modulator using the control voltage and DC voltage, subsequently determines a compensation voltage value for the control voltage using this objective function, and finally compensates the control voltage using the compensation voltage value.

[0054] In the above process, because the method in this disclosure is based on feedback control (i.e., the control voltage value is constantly changed through the output control result), it avoids phase drift caused by the large amount of time consumed during data acquisition. Furthermore, since this feedback control is based on an objective function, it can acquire data other than optical power (i.e., it can encompass a wider range of data attributes), thus allowing for more flexible phase control.

[0055] After introducing the basic principles of this disclosure, various non-limiting embodiments of this disclosure will be described in detail below.

[0056] Figure 1A This is a schematic diagram of a phase control method provided in an embodiment of the present disclosure.

[0057] Figure 1A The phase control method shown further includes the following steps:

[0058] Step S10: Obtain the control voltage and DC voltage of the phase modulator.

[0059] In some optional embodiments, step S10 specifically includes:

[0060] S101: Obtain the control voltage of the phase modulator within a preset period range, and acquire the DC voltage based on the control voltage.

[0061] In some alternative embodiments, phase control of the interferometer is typically achieved through a feedback control system. In practice, the feedback control system can first set multiple control voltages V within a preset period. Bias The aforementioned preset period can be greater than one period of a preset sine function (i.e., greater than 2π), which can make the distribution of the obtained control voltage more uniform, thereby making the final feedback calculation result more accurate.

[0062] In some alternative embodiments, the feedback control system, after setting multiple control voltages, can periodically adjust the DC voltage V based on the coverage range of these control voltages. DC After data acquisition and processing, control voltage and DC voltage covering a range of 2π can be obtained.

[0063] Step S20: Generate an objective function based on the control voltage and the DC voltage, and determine the compensation voltage value of the phase modulator based on the objective function.

[0064] Figure 1B This is a schematic diagram of a method for generating an objective function provided in an embodiment of this disclosure.

[0065] In some alternative embodiments, such as Figure 1B As shown, step S20 specifically includes:

[0066] S201: Generate a response curve based on the control voltage and the DC voltage, and determine the amplitude and target value of the response curve;

[0067] S202: Determine the half-wave voltage of the phase modulator based on the wavelength range of the control voltage within the response curve, and determine the period value of the response curve based on the half-wave voltage.

[0068] S203: Generate an objective function based on the period value, the amplitude, and the target value.

[0069] In some optional embodiments, after obtaining the control voltage and DC voltage, a response curve including both can also be generated. The aforementioned response curve can be understood as a curve plotted in a two-dimensional Cartesian coordinate system based on the collected control voltage and DC voltage values, where the horizontal axis of the response curve can represent the control voltage and the vertical axis can represent the DC voltage.

[0070] In some alternative embodiments, since the aforementioned response curve contains the voltage values ​​of all collected DC voltages, the amplitude A of the response curve (i.e., half the difference between the highest and lowest points on the response curve) and the target value -A (i.e., the value of the lowest point in the response curve) can be determined from this DC voltage value.

[0071] In some alternative embodiments, the set of sinusoidal data (i.e., the set control voltage and DC voltage) can be fitted to obtain a fitting formula that conforms to a sinusoidal function. Finally, the amplitude A and the target value -A are determined within the aforementioned response curve based on the parameters of the obtained fitting formula.

[0072] In some alternative embodiments, after determining the amplitude and target value of the response curve, it is also necessary to determine the period value of the DC voltage (or the response curve). The feedback control system can determine the period value by measuring the half-wave voltage, where the half-wave voltage refers to the control voltage value required by the phase modulator when the phase change is π (i.e., half a period of the response curve).

[0073] In some optional embodiments, the half-wave voltage measurement method can specifically involve first obtaining an estimated value of the half-wave voltage (i.e., half the full wavelength of the control voltage) based on the control voltage value obtained by the feedback control system in step S10. Then, using the periodicity principle of the sine function, the control voltage is jumped by a factor of 2 of the estimated value, while simultaneously acquiring and observing the change in DC voltage. If the DC component changes abruptly, it indicates that the estimated value is not the half-wave voltage. This process is repeated multiple times, changing the estimated value until the DC component does not change significantly after the jump. At this point, the estimated value can be considered the accurate value of the half-wave voltage, thus obtaining the periodic value. Since the jump time is very short, the influence of environmental factors can be ignored.

[0074] In some alternative embodiments, after obtaining the period value, the objective function can be generated using the period value, amplitude, and target value.

[0075] The objective function can be a sine function, which can be expressed as:

[0076]

[0077] Among them, V DC V represents DC voltage, A represents the magnitude of the objective function, and V represents the DC voltage. Bias Indicates the control voltage, V π This represents the half-wave voltage.

[0078] Figure 1C This is a schematic diagram of a method for generating a compensation voltage value according to an embodiment of the present disclosure.

[0079] In some alternative embodiments, such as Figure 1C As shown, step S20 further includes:

[0080] S204: Perform mean filtering on the DC voltage to obtain the mean-filtered DC voltage value.

[0081] S205: Calculate the inverse function of the objective function based on a preset interval range.

[0082] S206: Substitute the DC voltage value after mean filtering and the target value into the inverse function for calculation, and obtain the compensation voltage value of the control voltage.

[0083] In some alternative embodiments, after obtaining the objective function, the compensation voltage value of the control voltage (i.e., the feedback control quantity) can be calculated. This process can be understood as calculating the absolute value of the difference between the current operating point and the target value (of the control voltage).

[0084] In some optional embodiments, this process may specifically involve first performing a mean filter on the DC voltage value to obtain a stable DC voltage value free from band interference. Then, the inverse function of the constructed sine function is obtained within a preset interval range, where the preset interval range may be [0, V]. π It is understandable that the independent variable of this inverse function can be DC voltage, and the dependent variable can be control voltage.

[0085] In some optional embodiments, the control voltage value corresponding to the DC voltage value after mean filtering and the target value (of the control voltage) are substituted into the inverse function, and the absolute value of the difference between the two function values ​​(i.e., the control voltage value corresponding to the DC voltage value after mean filtering and the target value of the control voltage) is calculated as the control voltage value to be compensated (i.e., the compensation voltage value).

[0086] In some alternative embodiments, the compensation voltage value can be expressed as:

[0087]

[0088] Among them, V BC Indicates the compensation voltage value. This represents the control voltage value corresponding to the DC voltage value after mean filtering, V. MB This represents the target value.

[0089] In some optional embodiments, after obtaining the compensation voltage value of the phase modulator, the method further includes:

[0090] S207: Determine the first point of the DC voltage value after the mean filtering process in the objective function, and the second point of the DC voltage value corresponding to the control voltage in the objective function.

[0091] S208: Calculate the slope of the line segment formed by connecting the first point and the second point.

[0092] S209: Determine the compensation direction of the compensation voltage value based on the magnitude of the slope.

[0093] In some optional embodiments, since the generated response curve is non-monotonic, the DC voltage value after the mean filtering process may be on either side of the target value. Therefore, it is also necessary to determine the compensation direction of the compensation voltage value, and then perform compensation processing on the control voltage using the compensation direction and the compensation voltage value.

[0094] In some optional embodiments, the first point of the DC voltage value after mean filtering and the second point of the DC voltage value corresponding to the control voltage in the objective function can be determined first. Then, the slope of the line segment formed by connecting the first and second points is calculated. Finally, the compensation direction of the compensation voltage value is determined based on the magnitude of the slope. That is, if the slope is negative, it means that the DC voltage value after mean filtering is to the left of the target value, and the compensation voltage should be positive; otherwise, it is negative (i.e., the compensation direction is determined).

[0095] In some optional embodiments, after obtaining the compensation direction, the control voltage can be compensated based on the compensation direction and the compensation voltage value. That is, by adding the calculated compensation voltage value to the previous control voltage using this point (the first point), the required output control voltage can be obtained.

[0096] Step S30: Perform compensation processing on the control voltage based on the compensation voltage value.

[0097] In some optional embodiments, step S30 specifically includes:

[0098] S301: The control voltage of the phase modulator is compensated based on the compensation direction and the compensation voltage value to obtain the compensated control voltage value.

[0099] In some optional embodiments, step S301 further includes:

[0100] S3011: In response to determining that the compensated control voltage value exceeds the range, the compensated control voltage value is changed to a control voltage value that is a preset multiple.

[0101] In some optional embodiments, during the process of applying the compensation direction and compensation voltage value to compensate the control voltage, it is also necessary to verify whether the compensated control voltage value exceeds the range. If it does not exceed the range, the compensation voltage value can be directly used to compensate the control voltage according to the compensation direction. If it exceeds the range, the compensated control voltage value needs to be modified before being output.

[0102] In some optional embodiments, the process of changing the compensated control voltage value can specifically involve changing the compensated control voltage value by a preset multiple, where the preset multiple can be an even multiple of the half-wave voltage (e.g., 2, 4, 6, etc.). By changing the compensated control voltage value by an even multiple of the half-wave voltage, the changed compensated control voltage value can fall back within the range.

[0103] In some optional embodiments, this disclosure also provides another method for phase control, specifically:

[0104] In some alternative embodiments, time has become the most precisely measured physical quantity among the international base units. With the ever-increasing demands for time synchronization accuracy and stability in fields such as scientific research, navigation and positioning, aerospace, power transmission, and military security, high-precision time synchronization has become an important topic in current scientific research.

[0105] In some alternative embodiments, compared with traditional satellite, longwave, and network time synchronization methods, fiber optic channels offer advantages such as stable transmission, large bandwidth, low loss, and resistance to interference. Therefore, time synchronization technology utilizing fiber optic channels as the transmission medium has become an effective approach for high-precision time synchronization. Furthermore, with the further development of fiber optic time-frequency synchronization technology, phase modulation and coherent demodulation techniques applied to it are playing an increasingly important role.

[0106] In some alternative embodiments, high-precision time synchronization requires extremely high stability of the time pulse signal. Coherent demodulation of the optical signal is achieved by utilizing the phase difference between the two arms of an interferometer. However, due to the influence of ambient temperature and vibration, the interferometer will experience phase drift, leading to fluctuations in the phase difference and ultimately causing distortion of the recovered time pulse signal.

[0107] In some alternative embodiments, changing the trigger time while keeping the threshold voltage constant will also affect the stability of time synchronization. Therefore, it is necessary to control the phase of the interferometer. Phase control of the interferometer is usually achieved in two ways: one is to introduce a jitter signal, and the other is to perform feedback control based on the optical power output by the interferometer or the DC voltage output by the photodetector.

[0108] In some alternative embodiments, when applied to the first method described above, the addition of low-frequency jitter introduces extra noise into the link, thereby interfering with the demodulated signal. Therefore, it is not suitable for time synchronization systems.

[0109] In some alternative embodiments, when applied to the second method described above, since a phase modulator is placed on one arm of the interferometer, the phase change of the optical signal is proportional to the control voltage of the phase modulator. The phase drift of the interferometer can be compensated by adjusting the control voltage. The optical power output by the interferometer or the DC voltage output by the photodetector can reflect the phase change of the interferometer. Therefore, the DC voltage value is generally used as feedback information to calculate the control voltage that needs to be output so that the phase of the interferometer remains stable.

[0110] In some alternative embodiments, the control voltage V of the phase modulator Bias With DC voltage V DC For relationship

[0111]

[0112] Where α1 and α2 represent the losses of the two arms of the interferometer, k is a constant, ω0 is the center frequency of the laser source at the transmitting end, and Δt is the time difference between the two arms of the optical path. The additional phase difference in the optical path of the two arms is caused by external interference such as heat or vibration.

[0113] In some alternative embodiments, due to the effects of temperature and vibration, When a change occurs, the phase of the interferometer drifts, and the DC voltage changes accordingly. Therefore, the response curve of phase control is a sinusoidal function curve. After feedback control, the DC voltage can be stabilized at a certain point on the response curve, allowing the demodulated pulse signal to retain time information to the maximum extent.

[0114] In some alternative embodiments, the optical power output by the interferometer has a sinusoidal relationship with the control voltage of the phase controller (modulator). Therefore, by using the optical power as feedback to calculate the output control voltage value, the optical power value can be stabilized at a certain point on the response curve.

[0115] In some optional embodiments, in calculating the compensation value of the control voltage, the control voltage of the intensity modulator can be continuously increased at equal intervals from the point of maximum optical power on the control (modulation) curve to the point of minimum optical power. Simultaneously, the optical power value corresponding to each control voltage is measured. After data processing, the difference between the control voltage at each optical power value and the control voltage at the point of minimum optical power is obtained. Finally, using optical power as the input value and the voltage difference as the output value, a training set is constructed. After sufficient iterative training, the voltage difference between the current point and the minimum point is quickly predicted using the optical power monitored by a preset neural network model, thereby adjusting the control voltage to bring the optical power to the minimum point.

[0116] In some optional embodiments, the phase drift in the above method can also be compensated with high precision (i.e., a compensation algorithm can be generated), thereby stabilizing the optical power (or DC voltage) at the minimum point of the response curve, and the calculation model can be adaptively adjusted when the input optical power changes, so as to ensure the stability of the demodulated signal.

[0117] In some optional embodiments, the compensation algorithm structure can adopt a multi-threaded parallel producer-consumer pattern. The producer thread is responsible for acquiring the DC voltage V. DC The consumer thread is responsible for calculating the output control voltage value V based on the DC voltage. Bias It is understandable that the two threads run simultaneously without interfering with each other.

[0118] In some optional embodiments, the compensation algorithm's processing can be divided into six parts: acquiring DC voltage, determining the compensation direction, calculating the compensation voltage value, determining over-range jumps, updating the target voltage value, and outputting the control voltage. Furthermore, to accurately construct the mathematical model, a response curve can be generated before feedback control, and the amplitude and period of the voltage within this response curve can be measured.

[0119] In some alternative embodiments, a scanning control voltage can be output to the phase modulator first, and a DC voltage value can be acquired based on this control voltage. The scanning range of the control voltage must cover at least one period of the sine function.

[0120] In some optional embodiments, in order to overcome the influence of the measurement scan step value and the accuracy of the acquired voltage on the data accuracy, it is also necessary to perform fitting processing on this set of sinusoidal data (i.e., control voltage data and DC voltage data) to obtain a fitting formula for a sinusoidal function. Then, the amplitude A and the target value -A of the response curve can be obtained according to the formula parameters.

[0121] In some optional embodiments, after obtaining the amplitude A and the target value -A, it is also necessary to calculate the period of the objective function. Specifically, this requires measuring the half-wave voltage V. π The half-wave voltage is obtained from the fact that the control voltage required by the phase modulator when the phase change is π, which is the value of half a cycle of the response curve.

[0122] In some optional embodiments, the method for measuring the half-wave voltage can be as follows: First, an estimated value of the half-wave voltage is obtained based on the scanning results. Then, using the periodicity principle of the sine function, the control voltage is switched by a factor of two based on the estimated value. Simultaneously, the change in the DC voltage is collected and observed. If the DC component changes abruptly, it indicates that the estimated value is not the final half-wave voltage. This process is repeated multiple times with different estimated values ​​until the DC component does not change significantly after the switching. At this point, the estimated value can be considered the accurate value of the final half-wave voltage. It is understood that because the switching time is very short, the influence of environmental factors can be ignored.

[0123] In some alternative embodiments, after obtaining the amplitude and period, a sine function with an initial phase of 0 can be constructed, as shown in the formula.

[0124]

[0125] Among them, V DC V represents DC voltage, A represents the magnitude of the objective function, and V represents the DC voltage. Bias Indicates the control voltage, V π This represents the half-wave voltage.

[0126] In some optional embodiments, the producer thread first performs mean filtering on the collected DC voltage, that is, after collecting several points, the average of these data is taken as an effective voltage value to reduce the impact of noise, and then puts it into the buffer queue.

[0127] In some optional embodiments, after the consumer thread retrieves the effective voltage value from the buffer queue, it first determines the relationship between the current position of the working point of this effective voltage value on the sine function and the position of the target value -A.

[0128] In some alternative embodiments, due to the non-monotonicity of the response curve, the aforementioned operating point may lie on either side of the target value. Therefore, it is also possible to change the control voltage by a step value, then acquire the DC voltage again, and then calculate the slope of the current point based on the two measurement results. If the slope is negative, it indicates that the operating point is to the left of the minimum point, and the compensation voltage should be positive; otherwise, it should be negative (i.e., determining the direction of the compensation voltage).

[0129] In some optional embodiments, after determining the direction, it is also necessary to calculate the absolute value of the difference between the current working point and the target value. Specifically, the [0, V] sine function can be used to obtain the value of the difference between the current working point and the target value. π The inverse function of the interval can be understood as having an independent variable of DC voltage and a dependent variable of control voltage.

[0130] In some optional embodiments, the current DC voltage value and the target value are substituted into an inverse function, and the absolute value of the difference between the two function values ​​is the control voltage value that needs to be compensated. Then, the sign of the compensation voltage value is determined according to the compensation direction. Finally, the calculated compensation voltage value is added to the previous control voltage using this point to obtain the control voltage that needs to be output this time.

[0131] In some optional embodiments, the output control voltage of the data acquisition card may have a range limitation. Therefore, it is necessary to determine whether the output control voltage exceeds the range before outputting it. If it exceeds the range, the periodicity of the function can be used to change the control voltage by an even multiple of the half-wave voltage, bringing it back within the range without changing the control result.

[0132] In some alternative embodiments, during long-term actual operation, since the external environment is not constant, the attenuation in the fiber optic link will change over time, and the optical power in the optical path is not constant. Therefore, the amplitude of the response curve will change, so the initially constructed sine function and target value cannot be applied to subsequent calculations.

[0133] In some optional embodiments, the selection of the target value can be understood as follows: at the beginning of control, the target value can be determined based on the parameters of the fitting formula. During the control process, the target value can be updated to the minimum value of the most recent DC voltage values ​​(the new target value). It can be understood that the absolute value of the new target value is the amplitude of the new sine function.

[0134] In some optional embodiments, the above method can also be used to update the amplitude parameter and target value of the sine function in real time during the control process, thereby enabling the system to maintain good stability during long-term operation.

[0135] In summary, this disclosure first obtains the control voltage and DC voltage of the phase modulator, then generates a response curve of the phase modulator using the control voltage and DC voltage, then determines the compensation voltage value of the control voltage using this objective function, and finally compensates the control voltage using the compensation voltage value.

[0136] Based on the same technical concept, corresponding to the methods of any of the above embodiments, this disclosure also provides a phase control device, which can realize the phase control method described in any of the above embodiments.

[0137] Figure 2 This is a schematic diagram of a phase control device provided in an embodiment of the present disclosure.

[0138] Figure 2 The phase control device shown further includes the following modules:

[0139] Voltage acquisition module 10, compensation voltage generation module 20, and compensation processing module 30;

[0140] The voltage acquisition module 10 is configured to acquire the control voltage and DC voltage of the phase modulator. Specifically, the following steps are performed:

[0141] The control voltage of the phase modulator within a preset period range is obtained, and the DC voltage is acquired based on the control voltage.

[0142] The compensation voltage generation module 20 is configured to: generate a target function based on the control voltage and the DC voltage, and determine the compensation voltage value of the phase modulator based on the target function. Specifically, the following steps are performed:

[0143] A response curve is generated based on the control voltage and the DC voltage, and the amplitude and target value of the response curve are determined.

[0144] The half-wave voltage of the phase modulator is determined based on the wavelength range of the control voltage within the response curve, and the period value of the response curve is determined based on the half-wave voltage.

[0145] A target function is generated based on the period value, the amplitude, and the target value;

[0146] The objective function is expressed as:

[0147]

[0148] Among them, V DC V represents DC voltage, A represents the magnitude of the objective function, and V represents the DC voltage. Bias Indicates the control voltage, V π Indicates half-wave voltage;

[0149] The DC voltage is subjected to mean filtering to obtain the mean-filtered DC voltage value.

[0150] Calculate the inverse function of the objective function based on a preset interval range;

[0151] The DC voltage value after mean filtering and the target value are substituted into the inverse function for calculation, and the compensation voltage value of the control voltage is obtained.

[0152] The compensation voltage value is expressed as follows:

[0153]

[0154] Among them, V BC Indicates the compensation voltage value. This represents the control voltage value corresponding to the DC voltage value after mean filtering, V. MB Indicates the target value;

[0155] Determine the first point of the DC voltage value after the mean filtering process in the objective function, and the second point of the DC voltage value corresponding to the control voltage in the objective function;

[0156] Calculate the slope of the line segment formed by connecting the first point and the second point;

[0157] The compensation direction of the compensation voltage value is determined based on the slope.

[0158] The compensation processing module 30 is configured to perform compensation processing on the control voltage based on the compensation voltage value. Specifically, it executes the following steps:

[0159] The control voltage of the phase modulator is compensated based on the compensation direction and the compensation voltage value to obtain the compensated control voltage value.

[0160] In response to determining that the compensated control voltage value exceeds the range, the compensated control voltage value is changed to a control voltage value that is a preset multiple.

[0161] Based on the same technical concept, corresponding to the methods of any of the above embodiments, this disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the phase control method described in any of the above embodiments.

[0162] Figure 3 This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

[0163] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0164] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0165] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0166] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0167] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0168] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.

[0169] The electronic devices described above are used to implement the corresponding phase control methods in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0170] Based on the same technical concept, corresponding to the methods of any of the above embodiments, this disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the phase control method as described in any of the above embodiments.

[0171] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0172] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the phase control method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0173] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this disclosure (including the claims) is limited to these examples; within the framework of this disclosure, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this disclosure as described above, which are not provided in detail for the sake of brevity.

[0174] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this disclosure, the provided drawings may or may not show well-known power / ground connections to integrated circuit (IC) chips and other components. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this disclosure, and this also takes into account the fact that the details of implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this disclosure will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuitry) have been set forth to describe exemplary embodiments of this disclosure, it will be apparent to those skilled in the art that the embodiments of this disclosure may be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0175] Although this disclosure has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0176] This disclosure is intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A phase control method, characterized in that, include: Obtain the control voltage and DC voltage of the phase modulator; A response curve is generated based on the control voltage and the DC voltage, and the amplitude and target value of the response curve are determined. The half-wave voltage of the phase modulator is determined based on the wavelength range of the control voltage within the response curve, and the period value of the response curve is determined based on the half-wave voltage. A target function is generated based on the period value, the amplitude, and the target value; The objective function is expressed as: in, Let A represent the DC voltage and A represent the magnitude of the objective function. Indicates the control voltage. Indicates half-wave voltage; The DC voltage is subjected to mean filtering to obtain the mean-filtered DC voltage value. Calculate the inverse function of the objective function based on a preset interval range; The DC voltage value after mean filtering and the target value are substituted into the inverse function for calculation, and the compensation voltage value of the control voltage is obtained. The compensation voltage value is expressed as follows: in, Indicates the compensation voltage value. This represents the control voltage value corresponding to the DC voltage value after mean filtering. Indicates the target value; The control voltage is compensated based on the compensation voltage value.

2. The method according to claim 1, characterized in that, The acquisition of the control voltage and DC voltage of the phase modulator includes: The control voltage of the phase modulator within a preset period range is obtained, and the DC voltage is acquired based on the control voltage.

3. The method according to claim 1, characterized in that, After obtaining the compensation voltage value of the control voltage, the process further includes: Determine the first point of the DC voltage value after the mean filtering process in the objective function, and the second point of the DC voltage value corresponding to the control voltage in the objective function; Calculate the slope of the line segment formed by connecting the first point and the second point; The compensation direction of the compensation voltage value is determined based on the slope.

4. The method according to claim 3, characterized in that, The compensation process for the control voltage based on the compensation voltage value includes: The control voltage of the phase modulator is compensated based on the compensation direction and the compensation voltage value to obtain the compensated control voltage value.

5. The method according to claim 4, characterized in that, The compensation process for the control voltage of the phase modulator based on the compensation direction and the compensation voltage value includes: In response to determining that the compensated control voltage value exceeds the range, the compensated control voltage value is changed to a control voltage value that is a preset multiple.

6. A phase control device, characterized in that, include: The voltage acquisition module is configured to acquire the control voltage and DC voltage of the phase modulator. The compensation voltage generation module is configured to: generate a response curve based on the control voltage and the DC voltage, and determine the amplitude and target value of the response curve; The half-wave voltage of the phase modulator is determined based on the wavelength range of the control voltage within the response curve, and the period value of the response curve is determined based on the half-wave voltage. A target function is generated based on the period value, the amplitude, and the target value; The objective function is expressed as: in, Let A represent the DC voltage and A represent the magnitude of the objective function. Indicates the control voltage. Indicates half-wave voltage; The DC voltage is subjected to mean filtering to obtain the mean-filtered DC voltage value. Calculate the inverse function of the objective function based on a preset interval range; The DC voltage value after mean filtering and the target value are substituted into the inverse function for calculation, and the compensation voltage value of the control voltage is obtained. The compensation voltage value is expressed as follows: in, Indicates the compensation voltage value. This represents the control voltage value corresponding to the DC voltage value after mean filtering. Indicates the target value; The compensation processing module is configured to perform compensation processing on the control voltage based on the compensation voltage value.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 5.

8. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 5.

Citation Information

Patent Citations

  • Bias point control method and device suitable for CV-QKD system

    CN111106934A