Automatic coupling method of polarization-maintaining device and related device

By obtaining the parameters of the polarization-maintaining device and automatically adjusting the coupling parameters, the problem of low coupling efficiency of the polarization-maintaining device in the existing technology is solved, and a more efficient and accurate automatic coupling process is achieved.

CN114236695BActive Publication Date: 2024-10-22SHENZHEN SHENXIN OPTOELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111580372.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-22
Publication Date
2024-10-22
Estimated Expiration
2041-12-22

AI Technical Summary

Technical Problem

The coupling process of polarization-maintaining devices in the prior art requires manual operation, resulting in low efficiency.

Method used

By obtaining the parameters of the device to be coupled, the coupling parameters are determined, and the coupling device is used to automatically couple, including adjusting the rotation step size and loss parameters to optimize the coupling effect.

Benefits of technology

It improves the efficiency and accuracy of polarization-maintaining device coupling and reduces manual operation time and errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114236695B_ABST
    Figure CN114236695B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides an automatic coupling method of polarization-maintaining devices and a related device. The method includes: obtaining a first parameter of a first polarization-maintaining device to be coupled, and obtaining a second parameter of a second polarization-maintaining device to be coupled; determining a coupling parameter when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the first parameter and the second parameter; and coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled using a coupling device according to the coupling parameter, thereby improving the efficiency of coupling the polarization-maintaining devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to an automatic coupling method of a polarization-maintaining device and a related device. Background Art

[0002] In the conventional method of coupling polarization-maintaining devices, coupling equipment is usually used to perform coupling manually. Manual coupling requires manual operation and a long coupling time, resulting in low efficiency during coupling. Summary of the invention

[0003] The present application provides an automatic coupling method and related device for a polarization-maintaining device, which can improve the efficiency of coupling the device. The method includes:

[0004] A first aspect of an embodiment of the present application provides an automatic coupling method for a polarization-maintaining device, the method comprising:

[0005] Acquire a first parameter of a first polarization-maintaining device to be coupled, and acquire a second parameter of a second polarization-maintaining device to be coupled;

[0006] Determining, according to the first parameter and the second parameter, a coupling parameter when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled;

[0007] The first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are coupled using a coupling device according to the coupling parameters.

[0008] In combination with the first aspect, in a possible implementation manner, the coupling parameter includes a rotation step of the coupling device, and determining the coupling parameter when coupling the first to-be-coupled polarization-maintaining device and the second to-be-coupled polarization-maintaining device according to the first parameter and the second parameter includes:

[0009] Determine a first reference rotation step length according to the first parameter;

[0010] determining a second reference rotation step length according to the second parameter;

[0011] Determining a first target rotation step length according to the first reference rotation step length and the second reference rotation step length;

[0012] The coupling device is adjusted according to the first target rotation step length to obtain the adjusted position information of the first polarization-maintaining device to be coupled and the adjusted position information of the second polarization-maintaining device to be coupled;

[0013] The rotation step length when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled is determined according to the adjusted position information of the first polarization-maintaining device to be coupled and the adjusted position information of the second polarization-maintaining device to be coupled.

[0014] In combination with the first aspect, in a possible implementation manner, the method further includes:

[0015] Acquire a first loss parameter after coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled using a coupling device according to the coupling parameter;

[0016] If the first loss parameter is higher than a preset loss parameter threshold, obtaining an offset between the first loss parameter and the preset loss parameter threshold;

[0017] determining coupling parameter adjustment information according to the offset;

[0018] Adjusting the coupling parameter according to the coupling parameter adjustment information to obtain an adjusted coupling parameter;

[0019] The first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are coupled according to the adjusted coupling parameters.

[0020] In combination with the first aspect, in a possible implementation manner, the method further includes:

[0021] Acquire a first extinction ratio after coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled using a coupling device according to the coupling parameters;

[0022] The first extinction ratio is shown.

[0023] In combination with the first aspect, in a possible implementation manner, the method further includes:

[0024] Acquire a first image when the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are coupled;

[0025] Performing feature extraction on the first image to obtain first feature data;

[0026] determining automatic coupling state information of the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the first characteristic data;

[0027] If the coupling state information is preset coupling state information, first position information of the first polarization-maintaining device to be coupled is obtained, and second position information of the second polarization-maintaining device to be coupled is obtained;

[0028] Determining position adjustment information of the first polarization-maintaining device to be coupled according to the first parameter, the first position information, the second parameter, and the second position information;

[0029] Determining a position adjustment parameter according to the position adjustment information;

[0030] The position of the first polarization-maintaining device to be coupled is adjusted according to the position adjustment parameter.

[0031] A second aspect of an embodiment of the present application provides an automatic coupling device for a polarization-maintaining device, the device comprising:

[0032] An acquisition unit, used for acquiring a first parameter of a first polarization-maintaining device to be coupled, and acquiring a second parameter of a second polarization-maintaining device to be coupled;

[0033] a determining unit, configured to determine a coupling parameter when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the first parameter and the second parameter;

[0034] A coupling unit is used to couple the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled by using a coupling device according to the coupling parameters.

[0035] In conjunction with the second aspect, in a possible implementation manner, the coupling parameter includes a rotation step length of the coupling device, and the determining unit is used to:

[0036] Determine a first reference rotation step length according to the first parameter;

[0037] determining a second reference rotation step length according to the second parameter;

[0038] Determining a first target rotation step length according to the first reference rotation step length and the second reference rotation step length;

[0039] The coupling device is adjusted according to the first target rotation step length to obtain the adjusted position information of the first polarization-maintaining device to be coupled and the adjusted position information of the second polarization-maintaining device to be coupled;

[0040] The rotation step length when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled is determined according to the adjusted position information of the first polarization-maintaining device to be coupled and the adjusted position information of the second polarization-maintaining device to be coupled.

[0041] In conjunction with the second aspect, in a possible implementation manner, the device is further used for:

[0042] Acquire a first loss parameter after coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled using a coupling device according to the coupling parameter;

[0043] If the first loss parameter is higher than a preset loss parameter threshold, obtaining an offset between the first loss parameter and the preset loss parameter threshold;

[0044] determining coupling parameter adjustment information according to the offset;

[0045] Adjusting the coupling parameter according to the coupling parameter adjustment information to obtain an adjusted coupling parameter;

[0046] The first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are coupled according to the adjusted coupling parameters.

[0047] In conjunction with the second aspect, in a possible implementation manner, the device is further used for:

[0048] Acquire a first extinction ratio after coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled using a coupling device according to the coupling parameters;

[0049] The first extinction ratio is shown.

[0050] In conjunction with the second aspect, in a possible implementation manner, the device is further used for:

[0051] Acquire a first image when the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are coupled;

[0052] Performing feature extraction on the first image to obtain first feature data;

[0053] determining automatic coupling state information of the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the first characteristic data;

[0054] If the coupling state information is preset coupling state information, first position information of the first polarization-maintaining device to be coupled is obtained, and second position information of the second polarization-maintaining device to be coupled is obtained;

[0055] Determining position adjustment information of the first polarization-maintaining device to be coupled according to the first parameter, the first position information, the second parameter, and the second position information;

[0056] Determining a position adjustment parameter according to the position adjustment information;

[0057] The position of the first polarization-maintaining device to be coupled is adjusted according to the position adjustment parameter.

[0058] A third aspect of an embodiment of the present application provides a terminal, comprising a processor, an input device, an output device and a memory, wherein the processor, input device, output device and memory are interconnected, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the step instructions in the first aspect of the embodiment of the present application.

[0059] The fourth aspect of the embodiments of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in the first aspect of the embodiments of the present application.

[0060] A fifth aspect of the embodiments of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiments of the present application. The computer program product may be a software installation package.

[0061] Implementing the embodiments of the present application has at least the following beneficial effects:

[0062] By acquiring a first parameter of a first polarization-maintaining device to be coupled and acquiring a second parameter of a second polarization-maintaining device to be coupled, coupling parameters when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are determined according to the first parameter and the second parameter, and coupling equipment is used to couple the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the coupling parameters. Therefore, coupling can be automatically performed according to the parameters of the polarization-maintaining devices to be coupled, thereby improving the efficiency of coupling the polarization-maintaining devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the embodiments of the present application 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0064] Figure 1 A schematic flow chart of an automatic coupling method of a polarization-maintaining device is provided for an embodiment of the present application;

[0065] Figure 2 A schematic flow chart of another automatic coupling method of a polarization-maintaining device is provided for an embodiment of the present application;

[0066] Figure 3A schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0067] Figure 4 A schematic structural diagram of an automatic coupling device for a polarization-maintaining device is provided for an embodiment of the present application. DETAILED DESCRIPTION

[0068] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0069] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0070] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.

[0071] See also Figure 1 , Figure 1 A schematic flow chart of an automatic coupling method for a polarization-maintaining device is provided for an embodiment of the present application. Figure 1 As shown, the automatic coupling method of the polarization-maintaining device includes:

[0072] 101. Obtain a first parameter of a first polarization-maintaining device to be coupled, and obtain a second parameter of a second polarization-maintaining device to be coupled.

[0073] The first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are polarization-maintaining devices that need to be coupled, and the polarization-maintaining devices can be any devices that need to be coupled.

[0074] The first parameter and the second parameter may be product parameters of the polarization-maintaining device, for example, a product model, characteristic parameters of the product, for example, parameters of an interface that the polarization-maintaining device needs to be coupled to, and the like.

[0075] 102. Determine, according to the first parameter and the second parameter, a coupling parameter when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled.

[0076] The coupling parameters may include a rotation step length of the coupling device, which is a rotation step length of a motor in the coupling device. The coupling device may drive the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled to move through the motor, so that they move to positions that meet the coupling requirements.

[0077] Specifically, the rotation step length of the decoupling device may be determined by the rotation step length determined by the first parameter and the second parameter.

[0078] 103. Use a coupling device to couple the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the coupling parameters.

[0079] The coupling can be performed after the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are adjusted to positions where coupling can be performed according to the coupling parameters.

[0080] In this example, by obtaining a first parameter of a first polarization-maintaining device to be coupled and a second parameter of a second polarization-maintaining device to be coupled, coupling parameters for coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are determined according to the first parameter and the second parameter, and a coupling device is used to couple the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the coupling parameters. Therefore, coupling can be automatically performed according to the parameters of the polarization-maintaining devices to be coupled, thereby improving the efficiency of coupling the polarization-maintaining devices.

[0081] In a possible implementation, the coupling parameter includes a rotation step of the coupling device. A possible method for determining the coupling parameter when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the first parameter and the second parameter includes:

[0082] A1. determining a first reference rotation step length according to the first parameter;

[0083] A2. determining a second reference rotation step length according to the second parameter;

[0084] A3. Determine a first target rotation step length according to the first reference rotation step length and the second reference rotation step length;

[0085] A4. Adjusting the coupling device according to the first target rotation step length to obtain the adjusted position information of the first polarization-maintaining device to be coupled and the adjusted position information of the second polarization-maintaining device to be coupled;

[0086] A5. Determine a rotation step length when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the adjusted position information of the first polarization-maintaining device to be coupled and the adjusted position information of the second polarization-maintaining device to be coupled.

[0087] The first parameter may be a parameter of an interface to which the first polarization-maintaining device to be coupled needs to be coupled, and the second parameter may be a parameter of an interface to which the second polarization-maintaining device to be coupled needs to be coupled. Different interface parameters correspond to different rotation step sizes. Since the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled need to be coupled, the difference in their interface parameters is usually small, and the average of the first reference rotation step size and the second reference rotation step size may be determined as the first target rotation step size.

[0088] The first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled have initial positions in the coupling device, and can be adjusted from the initial positions according to the first target rotation step length to obtain adjusted position information.

[0089] Since there may be errors after the first adjustment, the rotation step size can be determined again based on the adjusted position information until the position capable of coupling is adjusted. The position capable of coupling can be understood as a position where the loss, extinction ratio, etc. after coupling meet preset conditions, which are set by empirical values ​​or historical data.

[0090] In this example, after the first adjustment, the rotation step size is determined again until it is adjusted to a position where coupling can be performed, thereby improving the accuracy of coupling.

[0091] In a possible implementation, the embodiment of the present application further provides a coupling correction method, which is as follows:

[0092] B1. Acquire a first loss parameter after coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled using a coupling device according to the coupling parameter;

[0093] B2. If the first loss parameter is higher than a preset loss parameter threshold, obtaining an offset between the first loss parameter and the preset loss parameter threshold;

[0094] B3. Determine coupling parameter adjustment information according to the offset;

[0095] B4. adjusting the coupling parameter according to the coupling parameter adjustment information to obtain an adjusted coupling parameter;

[0096] B5. Couple the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the adjusted coupling parameters.

[0097] Wherein, a loss test may be performed on the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled after coupling to obtain a first loss parameter, and the first loss parameter may be a loss value and the like.

[0098] The preset loss parameter threshold is set by empirical value or historical data. The offset between the first loss parameter and the preset loss parameter threshold can be understood as: the difference between the first loss parameter and the preset loss parameter threshold.

[0099] The larger the offset, the greater the adjustment force corresponding to the coupling parameter adjustment information, and the smaller the offset, the smaller the adjustment force corresponding to the coupling parameter adjustment information. The magnitude of the adjustment force can be understood as the magnitude of the adjustment amplitude when adjusting the coupling parameter. The greater the adjustment force, the greater the amplitude, and the smaller the adjustment force, the smaller the amplitude.

[0100] The coupling effect of the adjusted coupling parameters is higher than that of the unadjusted coupling parameters.

[0101] In this example, when the first loss parameter is higher than the preset loss parameter, the coupling parameter is adjusted, thereby further improving the accuracy of coupling between the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled.

[0102] In a possible implementation, the extinction ratio may also be displayed as follows:

[0103] C1. Acquire a first extinction ratio after coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled using a coupling device according to the coupling parameters;

[0104] C2. Display the first extinction ratio.

[0105] The extinction ratio of the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled after coupling can be measured to obtain a first extinction ratio.

[0106] The method of displaying the first extinction ratio may be displaying it on a display screen or by other means.

[0107] In a possible implementation, the coupling may be adjusted according to an image when the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are coupled, as follows:

[0108] D1, acquiring a first image when the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are coupled;

[0109] D2. extracting features from the first image to obtain first feature data;

[0110] D3. Determine automatic coupling state information of the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the first characteristic data;

[0111] D4. If the coupling state information is preset coupling state information, obtaining first position information of the first polarization-maintaining device to be coupled, and obtaining second position information of the second polarization-maintaining device to be coupled;

[0112] D5. Determine position adjustment information of the first polarization-maintaining device to be coupled according to the first parameter, the first position information, the second parameter, and the second position information;

[0113] D6. Determine a position adjustment parameter according to the position adjustment information;

[0114] D7. Adjust the position of the first polarization-maintaining device to be coupled according to the position adjustment parameter.

[0115] The first image can be acquired through a camera, and of course the first image can also be displayed, so as to observe the coupling state and the smoothness of the polarization-maintaining device during the coupling process.

[0116] The method for extracting features from the first image may be a general feature extraction method, and the first feature data may be a grayscale value, an RGB value, or the like.

[0117] The coupling status information can reflect whether the coupling can meet the requirements, such as the loss requirement, the extinction ratio requirement, etc. The requirement can be set by the user or by the system default. The preset coupling status information can be understood as the coupling not meeting the requirements, such as the loss after coupling is higher than the preset loss.

[0118] The first position information and the second position information may be acquired through the first characteristic data. The position information may be the position information of the interface of the device to be coupled.

[0119] The adjustment information can be determined according to the first parameter, the first position information, the second parameter, and the second position information. Specifically, the coupling deviation information can be determined according to the first position information and the second position information, as well as the first parameter and the second parameter; and the position adjustment information can be determined according to the coupling deviation information. The coupling deviation information can be understood as the offset information between the coupling and the position that meets the coupling requirement. Thus, the adjustment information can be determined according to the offset information. The adjustment information can adjust the coupling to a position that meets the requirement.

[0120] In this example, when a coupling deviation occurs, position adjustment is performed according to the image during coupling, and only the first polarization-maintaining device to be coupled is adjusted, which also improves the efficiency during coupling.

[0121] In a specific embodiment, an automatic coupling system for a polarization-maintaining device is also provided, and the system has the following functions:

[0122] 1. Product type selection

[0123] The software is divided into three categories of software algorithms through the coupling of different types of polarization-maintaining fiber collimators. Each algorithm has a different logic control process. For coupling different types of polarization-maintaining devices, the corresponding product type is selected.

[0124] 2. Production information

[0125] The coupled polarization-maintaining fiber product displays in real time the time required for the current production coupling of the product, the total quantity currently produced, the operator's information, and the SN code corresponding to the data information produced by the product. The information can be entered manually or by scanning the code, and saved in the background table for storage, so that all the information of the product can be viewed later.

[0126] 3. Threshold setting

[0127] The software algorithm can independently set the loss threshold of each channel, including the maximum and minimum values, return loss threshold and extinction ratio threshold. After the process of coupling the polarization-maintaining fiber device through the software algorithm is stopped, the current numerical loss is read and compared with the set threshold to make a judgment whether it is within the threshold range. If it is within the threshold range, it will display OK, and if the loss is not within the threshold range, it will display Fail.

[0128] 4. Motor control

[0129] The motor control of the software algorithm can control the manual control of six external motors. Through the corresponding parameter settings, the six motors can be set with different motion steps. Through the six external control adjustment buttons displayed by the software algorithm, the external motors can be controlled to move forward or reverse at different distances and angles.

[0130] 5. Camera display

[0131] The software algorithm can display the images of the two external cameras on the polarization-maintaining device automatic coupling system software in real time, making it convenient to observe the coupling status and the smoothness of the polarization-maintaining device during the coupling process.

[0132] 6. Test data display

[0133] The current real-time power and loss values ​​of the four-channel optical power meters can be displayed simultaneously, and whether they are qualified can be judged based on the set threshold value.

[0134] 7.(1) ER test

[0135] Through the control of the software's internal algorithm, according to the set threshold parameters and the motor's running step size, the external motor can be controlled according to a certain algorithm process, by rotating the position of the current polarization-maintaining device, and reading the data status of the current polarization-maintaining device position in real time. After the software processes and calculates through the algorithm, it continues to control the running state of the external motor to control the movement of the polarization-maintaining device. In this way, the algorithm control and data reading processing are continuously performed until the coupling point at the maximum extinction ratio position is found to align the cat's eye axes of the two devices, and then the extinction ratio loss size at the current optimal position is tested and displayed.

[0136] (2) Loss test

[0137] Through the control of the internal algorithm of the software, according to the set threshold parameters and the motor running step size, the external motor can be controlled according to a certain algorithm process, by rotating the position of the current polarization-maintaining device, and reading the data status of the current polarization-maintaining device position in real time, the coupled polarization-maintaining fiber device is adjusted to the position with the minimum loss and down, and the data is displayed in real time to determine whether the data is qualified.

[0138] 8. Loss test

[0139] Start (1*1 type light finding algorithm)

[0140] Through the algorithm control inside the software, according to the set threshold parameters and the motor running step size, the external motor can be controlled according to a certain algorithm process, and the motor can be controlled to drive the polarization-maintaining device to move, and the data status of the current polarization-maintaining device position can be read in real time. After algorithm processing and calculation, the software continues to control the running state of the external motor to control the movement of the polarization-maintaining device. In this way, the algorithm control and data reading processing are continuously performed to automatically find the coupling point with the smallest loss of the two polarization-maintaining devices, display the current loss value, and judge whether it is qualified, in preparation for the next operation process.

[0141] 9. Stop (interrupt algorithm)

[0142] Through the algorithm control inside the software, no matter what operation the software is executing at the moment, the current algorithm motion state can be forcibly interrupted, and the external hardware motion control can be stopped to stop at the current position state.

[0143] 10. Reset (Reset Algorithm)

[0144] Through the algorithm control inside the software, the current position state of the external motor is read. No matter what position state the currently connected external hardware is in, the number of movement steps generated by the algorithm recorded in real time inside the software can be used to control the external control motor to move after calculation and restore to the previously saved origin position.

[0145] 11. Extinction ratio test

[0146] 11.1 Independent ER

[0147] Through the algorithm control inside the software, the current position status and data of the external motor are read, and the external R2 rotating motor is controlled to rotate according to a certain rule, driving the external polarizer connected to the external motor to rotate together. At the same time, the software reads the current corresponding real-time power value for analysis and calculation, and finally tests the extinction ratio of the fast and slow axes of the external polarization-maintaining device at this time, and displays the test data in real time on the software interface.

[0148] 11.2ER minimum

[0149] Through the algorithm control inside the software, the current position status and data of the external motor are read, and the external R2 rotating motor is controlled to rotate according to a certain rule, driving the external polarizer connected to the external motor to rotate together. At the same time, the software reads the current corresponding real-time power value for analysis and calculation, and adjusts the axial direction of the external polarization-maintaining device to the position with the minimum extinction ratio.

[0150] 11.3ER Max

[0151] Through the algorithm control inside the software, the current position status and data of the external motor are read, and the external R2 rotating motor is controlled to rotate according to a certain rule, driving the external polarizer connected to the external motor to rotate together. At the same time, the software reads the current corresponding real-time power value for analysis and calculation, and adjusts the axial direction of the external polarization-maintaining device to the position with the maximum extinction ratio.

[0152] 11.4R2 Test 90°+ and 90°-

[0153] Through the algorithm control inside the software, the current position state of the external motor is read, and the external R2 rotary motor is controlled to rotate left or right at a fixed angle of 90°. After the rotation movement is completed, it stays at the current position and displays the extinction ratio value in real time on the software interface.

[0154] 11.5R1 test 45°+ and 45°-

[0155] Through the algorithm control inside the software, the current position status and data of the external motor are read, and the external R1 rotating motor is controlled to rotate forward or backward at a fixed angle of 45°. During the rotation process, the software reads the current position status and data in real time. After processing by the software algorithm, the external motor is controlled to change the current position of the polarization-maintaining device in real time until it finally rotates 45° in the specified direction, and adjusts the polarization-maintaining device controlled by the external motor to the optimal position of loss and then stops at the current optimal position. At this time, the software reads the light value of the current stop position of the polarization-maintaining device and displays it in real time on the software interface.

[0156] 11.6R1 tests 90°+ and 90°-. Through the algorithm control inside the software, the current position status and data of the external motor are read, and the external R1 rotating motor is controlled to rotate forward or backward at a fixed angle of 90°. During the rotation process, the software reads the current position status and data in real time. After being processed by the software algorithm, the external motor is controlled to change the current position of the polarization-maintaining device in real time until it finally rotates 90° in the specified direction, and adjusts the polarization-maintaining device controlled by the external motor to the optimal position of loss and then stops at the current optimal position. At this time, the software reads the light value of the current stop position of the polarization-maintaining device and displays it in real time on the software interface.

[0157] 12. Splitting ratio test

[0158] Start (1*2 light finding algorithm)

[0159] Through the algorithm control inside the software, according to the set threshold parameters and the motor running step size, the external motor can be controlled according to a certain algorithm process, and the motor can be controlled to drive the polarization-maintaining device to move, and the dual-channel data status of the current dual-fiber polarization-maintaining device position can be read in real time. After the software processes and calculates through the algorithm, it continues to control the running state of the external motor to control the movement of the polarization-maintaining device. In this way, the algorithm control and data reading processing are continuously performed to automatically find a coupling point with the smallest loss of the current polarization-maintaining device, and display the value of the current dual-fiber collimator dual-channel power meter in real time. Then, according to the set dual-channel threshold size, the external motor is controlled by the software to rotate the collimator until it stops at the threshold size of any set splitting ratio, and the current dual-channel power loss is read and displayed, and the software is used to determine whether it is qualified.

[0160] 13. Add chip test (1*2 type algorithm)

[0161] (1) Testing

[0162] Through the algorithm control inside the software, according to the set threshold parameters and the motor running step size, the external motor can be controlled according to a certain algorithm process, and the motor can be controlled to drive the polarization-maintaining device to move, and the data status of the current polarization-maintaining device position can be read in real time. After the software processes and calculates through the algorithm, it continues to control the running state of the external motor to control the movement of the polarization-maintaining device. In this way, the algorithm control and data reading processing are carried out continuously to find a coupling point with the minimum loss of the polarization-maintaining device, but the software continues to move without stopping, and cooperates with human-machine operation to select the appropriate polarization-maintaining device and angle, adjust the dual-fiber collimator to produce two beams of collimated light and the loss reaches the qualified level, and then manually judge through the real-time data displayed on the software to select the stop position state.

[0163] (2) Channel 1 test

[0164] Through the algorithm control inside the software, according to the set threshold parameters and the motor running step size, the external motor can be controlled to read only the loss of channel one and adjust it to the minimum, control the motor to drive the dual-fiber polarization-maintaining device to move, and read the data status of the current polarization-maintaining device position in real time. After the software processes and calculates through the algorithm, the 1*2 collimator is aligned with the collimator of channel one and the loss is adjusted to the minimum and stopped.

[0165] (3) Channel 2 test

[0166] Through the algorithm control inside the software, according to the set threshold parameters and the motor running step size, the external motor can be controlled to read only the loss of channel two and adjust it to the minimum, control the motor to drive the dual-fiber polarization-maintaining device to move, and read the data status of the current polarization-maintaining device position in real time. After the software processes and calculates through the algorithm, the 1*2 collimator is aligned with the collimator of channel two and the loss is adjusted to the minimum and then stopped.

[0167] (4) Leveling (dual-channel data leveling algorithm)

[0168] Through the algorithm control inside the software, according to the set threshold parameters and the motor running step size, the external motor is controlled according to a certain algorithm process, the motor is controlled to drive the polarization-maintaining device to move, and the two-channel power loss data of the current dual-fiber polarization-maintaining device position is read in real time. The position of the external motor connected to the dual-fiber collimator is adjusted by the software algorithm, and the power loss of the two channels corresponding to the dual-fiber collimator is adjusted to the minimum and qualified at the same time, and the power loss difference of the two channels is less than the internal set value. According to the set dual-channel threshold loss size, the software algorithm stops moving, and the dual-channel power loss data is displayed in real time to the corresponding position of the software, and it is judged whether it is qualified.

[0169] 14. 2*2 test

[0170] Start (2*2 type light finding algorithm)

[0171] Through the algorithm control inside the software, according to the set threshold parameters and the motor running step size, the external motor can be controlled according to a certain algorithm process, the motor can be controlled to drive the polarization-maintaining device to move, and the dual-channel data status of the current two dual-fiber polarization-maintaining device positions can be read in real time. After the software processes and calculates through the algorithm, it continues to control the running state of the external motor to control the movement of the polarization-maintaining device. In this way, the algorithm control and data reading processing are continuously performed to automatically find a coupling point where the optical path loss of one of the two dual-fiber collimator polarization-maintaining devices is the smallest, and then according to the set dual-channel threshold size, the external motor is controlled by the software to rotate the dual-fiber collimator. During the rotation process, the value of the current dual-fiber collimator dual-channel power meter is displayed in real time until the two optical fibers of the two dual-fiber collimators can achieve the best coupling point alignment, and stop within the set threshold range of the two dual-fiber collimators, and read the current dual-channel power loss and display it, and the software determines whether it is qualified.

[0172] 15. Quick Operation

[0173] The polarization-maintaining device automatic coupling system software is connected to an external keyboard input device. By setting the keys on the keyboard to correspond to the function operation keys on the software interface, the host computer software can be operated quickly and conveniently through the keys.

[0174] See also Figure 2 , Figure 2 The present invention provides another flow chart of an automatic coupling method for a polarization-maintaining device. Figure 2 As shown, the automatic coupling method of the polarization-maintaining device includes:

[0175] 201. Obtain a first parameter of a first polarization-maintaining device to be coupled, and obtain a second parameter of a second polarization-maintaining device to be coupled;

[0176] 202. Determine, according to the first parameter and the second parameter, a coupling parameter when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled;

[0177] 203. Couple the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled using a coupling device according to the coupling parameters;

[0178] 204. Obtain a first loss parameter after coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled using a coupling device according to the coupling parameter;

[0179] 205. If the first loss parameter is higher than a preset loss parameter threshold, obtain an offset between the first loss parameter and the preset loss parameter threshold;

[0180] 206. Determine coupling parameter adjustment information according to the offset;

[0181] 207. Adjust the coupling parameter according to the coupling parameter adjustment information to obtain an adjusted coupling parameter;

[0182] 208. Couple the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the adjusted coupling parameters.

[0183] In this example, when the first loss parameter is higher than the preset loss parameter, the coupling parameter is adjusted, thereby further improving the accuracy of coupling between the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled.

[0184] For the above embodiments, please refer to Figure 3 , Figure 3 A schematic diagram of the structure of a terminal provided in an embodiment of the present application, as shown in the figure, includes a processor, an input device, an output device and a memory, the processor, the input device, the output device and the memory are interconnected, wherein the memory is used to store a computer program, the computer program includes program instructions, the processor is configured to call the program instructions, and the program includes instructions for executing the following steps;

[0185] Acquire a first parameter of a first polarization-maintaining device to be coupled, and acquire a second parameter of a second polarization-maintaining device to be coupled;

[0186] Determining, according to the first parameter and the second parameter, a coupling parameter when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled;

[0187] The first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are coupled using a coupling device according to the coupling parameters.

[0188] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that in order to realize the above functions, the terminal includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can 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 this application.

[0189] The embodiment of the present application can divide the terminal into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0190] In line with the above, see Figure 4 , Figure 4 The present invention provides a schematic diagram of the structure of an automatic coupling device for a polarization-maintaining device. Figure 4 As shown, the device comprises:

[0191] An acquisition unit 401 is used to acquire a first parameter of a first polarization-maintaining device to be coupled, and to acquire a second parameter of a second polarization-maintaining device to be coupled;

[0192] A determining unit 402 is configured to determine a coupling parameter when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the first parameter and the second parameter;

[0193] The coupling unit 403 is configured to couple the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled by using a coupling device according to the coupling parameters.

[0194] In a possible implementation, the coupling parameter includes a rotation step of the coupling device, and the determining unit 402 is configured to:

[0195] Determine a first reference rotation step length according to the first parameter;

[0196] determining a second reference rotation step length according to the second parameter;

[0197] Determining a first target rotation step length according to the first reference rotation step length and the second reference rotation step length;

[0198] The coupling device is adjusted according to the first target rotation step length to obtain the adjusted position information of the first polarization-maintaining device to be coupled and the adjusted position information of the second polarization-maintaining device to be coupled;

[0199] The rotation step length when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled is determined according to the adjusted position information of the first polarization-maintaining device to be coupled and the adjusted position information of the second polarization-maintaining device to be coupled.

[0200] In a possible implementation, the device is further used for:

[0201] Acquire a first loss parameter after coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled using a coupling device according to the coupling parameter;

[0202] If the first loss parameter is higher than a preset loss parameter threshold, obtaining an offset between the first loss parameter and the preset loss parameter threshold;

[0203] determining coupling parameter adjustment information according to the offset;

[0204] Adjusting the coupling parameter according to the coupling parameter adjustment information to obtain an adjusted coupling parameter;

[0205] The first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are coupled according to the adjusted coupling parameters.

[0206] In a possible implementation, the device is further used for:

[0207] Acquire a first extinction ratio after coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled using a coupling device according to the coupling parameters;

[0208] The first extinction ratio is shown.

[0209] In a possible implementation, the device is further used for:

[0210] Acquire a first image when the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are coupled;

[0211] Performing feature extraction on the first image to obtain first feature data;

[0212] determining automatic coupling state information of the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the first characteristic data;

[0213] If the coupling state information is preset coupling state information, first position information of the first polarization-maintaining device to be coupled is obtained, and second position information of the second polarization-maintaining device to be coupled is obtained;

[0214] Determining position adjustment information of the first polarization-maintaining device to be coupled according to the first parameter, the first position information, the second parameter, and the second position information;

[0215] Determining a position adjustment parameter according to the position adjustment information;

[0216] The position of the first polarization-maintaining device to be coupled is adjusted according to the position adjustment parameter.

[0217] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any device coupling method recorded in the above method embodiment.

[0218] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program enables a computer to execute part or all of the steps of any device coupling method recorded in the above method embodiment.

[0219] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0220] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0221] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.

[0222] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0223] In addition, the functional units in the various embodiments of the application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of software program modules.

[0224] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.

[0225] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, which may include: a flash drive, a read-only memory, a random access memory, a magnetic disk or an optical disk, etc.

[0226] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An automatic coupling method for a polarization-maintaining device, characterized in that: The method comprises: Acquire a first parameter of a first polarization-maintaining device to be coupled, and acquire a second parameter of a second polarization-maintaining device to be coupled; Determining, according to the first parameter and the second parameter, a coupling parameter when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled; coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled using a coupling device according to the coupling parameters; The coupling parameter includes a rotation step of the coupling device, and determining the coupling parameter when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the first parameter and the second parameter includes: Determine a first reference rotation step length according to the first parameter; determining a second reference rotation step length according to the second parameter; Determining a first target rotation step length according to the first reference rotation step length and the second reference rotation step length; The coupling device is adjusted according to the first target rotation step length to obtain the adjusted position information of the first polarization-maintaining device to be coupled and the adjusted position information of the second polarization-maintaining device to be coupled; Determining a rotation step length when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the adjusted position information of the first polarization-maintaining device to be coupled and the adjusted position information of the second polarization-maintaining device to be coupled; The first parameter is a parameter of an interface to which the first polarization-maintaining device to be coupled needs to be coupled, and the second parameter is a parameter of an interface to which the second polarization-maintaining device to be coupled needs to be coupled; Acquire a first image when the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are coupled; Performing feature extraction on the first image to obtain first feature data; determining automatic coupling state information of the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the first characteristic data; If the coupling state information is preset coupling state information, first position information of the first polarization-maintaining device to be coupled is obtained, and second position information of the second polarization-maintaining device to be coupled is obtained; Determine coupling deviation information according to the first position information and the second position information, and the first parameter and the second parameter; Determine the position adjustment information according to the coupling deviation information; the coupling deviation information is the offset information between the coupling and the position that meets the coupling requirement; Determining a position adjustment parameter according to the position adjustment information; The position of the first polarization-maintaining device to be coupled is adjusted according to the position adjustment parameter.

2. The method according to claim 1, characterized in that The method further comprises: Acquire a first loss parameter after coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled using a coupling device according to the coupling parameter; If the first loss parameter is higher than a preset loss parameter threshold, obtaining an offset between the first loss parameter and the preset loss parameter threshold; determining coupling parameter adjustment information according to the offset; Adjusting the coupling parameter according to the coupling parameter adjustment information to obtain an adjusted coupling parameter; The first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are coupled according to the adjusted coupling parameters.

3. The method according to claim 1, characterized in that The method further comprises: Acquire a first extinction ratio after coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled using a coupling device according to the coupling parameters; The first extinction ratio is shown.

4. An automatic coupling device for a polarization-maintaining device, characterized in that: The device comprises: An acquisition unit, used for acquiring a first parameter of a first polarization-maintaining device to be coupled, and acquiring a second parameter of a second polarization-maintaining device to be coupled; a determining unit, configured to determine a coupling parameter when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the first parameter and the second parameter; A coupling unit, configured to couple the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled using a coupling device according to the coupling parameters; The coupling parameter includes a rotation step of the coupling device, and the determining unit is used to: Determine a first reference rotation step length according to the first parameter; determining a second reference rotation step length according to the second parameter; Determining a first target rotation step length according to the first reference rotation step length and the second reference rotation step length; The coupling device is adjusted according to the first target rotation step length to obtain the adjusted position information of the first polarization-maintaining device to be coupled and the adjusted position information of the second polarization-maintaining device to be coupled; Determining a rotation step length when coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the adjusted position information of the first polarization-maintaining device to be coupled and the adjusted position information of the second polarization-maintaining device to be coupled; The first parameter is a parameter of an interface to which the first polarization-maintaining device to be coupled needs to be coupled, and the second parameter is a parameter of an interface to which the second polarization-maintaining device to be coupled needs to be coupled; The device is also used for: Acquire a first image when the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are coupled; Performing feature extraction on the first image to obtain first feature data; determining automatic coupling state information of the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled according to the first characteristic data; If the coupling state information is preset coupling state information, first position information of the first polarization-maintaining device to be coupled is obtained, and second position information of the second polarization-maintaining device to be coupled is obtained; Determine coupling deviation information according to the first position information and the second position information, and the first parameter and the second parameter; Determine the position adjustment information according to the coupling deviation information; the coupling deviation information is the offset information between the coupling and the position that meets the coupling requirement; Determining a position adjustment parameter according to the position adjustment information; The position of the first polarization-maintaining device to be coupled is adjusted according to the position adjustment parameter.

5. The device according to claim 4, characterized in that The device is also used for: Acquire a first loss parameter after coupling the first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled using a coupling device according to the coupling parameter; If the first loss parameter is higher than a preset loss parameter threshold, obtaining an offset between the first loss parameter and the preset loss parameter threshold; determining coupling parameter adjustment information according to the offset; Adjusting the coupling parameter according to the coupling parameter adjustment information to obtain an adjusted coupling parameter; The first polarization-maintaining device to be coupled and the second polarization-maintaining device to be coupled are coupled according to the adjusted coupling parameters.

6. A terminal, characterized in that: The method comprises a processor, an input device, an output device and a memory, wherein the processor, the input device, the output device and the memory are interconnected, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1 to 3.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 3.