Data processing method, system, device and electronic equipment for wireless optical communication circuit
By obtaining the light spot position information in the wireless optical communication circuit and adjusting the rotation mode and angle of the flip mirror, the problem of optical signal offset and loss is solved and the communication quality is improved.
Patent Information
- Application Number
- CN202211718765.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2042-12-29
AI Technical Summary
In wireless optical communication circuits, mechanical equipment vibration and free-space interference can cause optical signal deviation and loss, resulting in poor communication quality, which existing technologies have failed to effectively address.
By obtaining the light spot position information on the four-quadrant detector in the wireless optical communication circuit, the deviation data is determined. When the deviation is greater than the threshold, the rotation mode and angle of the flip mirror are adjusted to adjust the transmission path of the input optical signal. The adjustment data of the flip mirror is calculated using the three-dimensional rectangular coordinate system and the law of reflection.
The communication quality of the wireless optical communication circuit is improved, the optical signal deviation and loss are reduced, and the communication link is stabilized.
Smart Images

Figure CN116073906B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless optical communication technology, and in particular to a data processing method, system, device and electronic equipment for a wireless optical communication circuit. Background Art
[0002] Currently, wireless optical communication circuits can be composed of an optical transmitter and an optical receiver. The optical transmitter can modulate and encode the data to be sent into an optical signal and transmit it to the optical receiver through free control. However, due to factors such as vibration of the mechanical equipment at the transmitter and uncertain interference in free space, the optical signal at the receiving end may be offset and lost, causing the communication link to be interrupted. Therefore, the technical problem of poor communication quality of wireless optical communication circuits still exists.
[0003] Currently, no effective solution has been proposed to the technical problem of poor communication quality of the above-mentioned wireless optical communication circuit. Summary of the Invention
[0004] Embodiments of the present invention provide a data processing method, system, device, and electronic device for a wireless optical communication circuit, to at least solve the technical problem of poor communication quality of the wireless optical communication circuit.
[0005] According to one aspect of an embodiment of the present invention, a data processing method for a wireless optical communication circuit is provided. The method may include: obtaining light spot position information on a four-quadrant detector in the wireless optical communication circuit; determining deviation data of an output optical signal in the wireless optical communication circuit relative to a center point on the four-quadrant detector based on the light spot position information; in response to the deviation data being greater than a deviation threshold, determining adjustment data for the wireless optical communication circuit based on the light spot position information, wherein the adjustment data is used to adjust a transmission path of an input optical signal in the wireless optical communication circuit; adjusting a flip mirror in the wireless optical communication circuit based on the adjustment data, and adjusting the input optical signal based on the adjusted flip mirror to obtain an adjusted output optical signal.
[0006] Optionally, a three-dimensional rectangular coordinate system is constructed based on the initial position of an optical path component in the wireless optical communication circuit, wherein the optical path component includes a four-quadrant detector and a flip mirror.
[0007] Optionally, determining the deviation data of the output light signal in the wireless optical communication circuit relative to the center point on the four-quadrant detector based on the light spot position includes: determining the coordinate value of the light spot position information in a three-dimensional rectangular coordinate system; and determining the deviation data based on the coordinate value.
[0008] Optionally, the adjustment data includes a rotation mode and a rotation angle of the flip mirror, and determining the adjustment data based on the light spot position information includes: determining the rotation mode and the rotation angle of the flip mirror based on the coordinate values.
[0009] Optionally, the rotation mode and rotation angle of the flip mirror are determined based on the coordinate values, including: calculating the coordinate values through the law of reflection to determine the direction vector of the reflected light, the direction vector of the incident light, and the intersection coordinates of the flip mirror; iteratively calculating the center coordinates of the flip mirror, the direction vector of the reflected light, the direction vector of the incident light, and the intersection coordinates of the flip mirror to obtain the iterated normal vector; and determining the rotation mode and rotation angle based on the iterated normal vector.
[0010] Optionally, determining the rotation mode and the rotation angle based on the normal vector after the iteration includes: performing rotation calculation on the normal vector before the iteration and the normal vector after the iteration to obtain the rotation mode and the rotation angle by calculation.
[0011] Optionally, in response to the deviation data not being greater than the deviation threshold, the light spot position on the four-quadrant detector in the wireless optical communication circuit is reacquired.
[0012] Optionally, a normal vector of the adjusted flip mirror is obtained; and the rotation angle of the flip mirror is adjusted based on the normal vector.
[0013] According to another aspect of an embodiment of the present invention, a data processing system for a wireless optical communication circuit is provided. The system may include: an acquisition module for acquiring light spot position information on a four-quadrant detector in the wireless optical communication circuit; a data controller for determining deviation data of an output optical signal in the wireless optical communication circuit relative to a center point on the four-quadrant detector based on the light spot position information; and in response to the deviation data being greater than a deviation threshold, determining adjustment data for the wireless optical communication circuit based on the light spot position information; adjusting a flip mirror in the wireless optical communication circuit based on the adjustment data; and adjusting an input optical signal in the wireless optical communication circuit based on the adjusted flip mirror to obtain an adjusted output optical signal, wherein the adjustment data is used to adjust a transmission path of the input optical signal.
[0014] According to another aspect of an embodiment of the present invention, a data processing device for a wireless optical communication circuit is provided. The device may include: an acquisition unit for acquiring light spot position information on a four-quadrant detector in the wireless optical communication circuit; a first determination unit for determining deviation data of an output optical signal in the wireless optical communication circuit relative to a center point on the four-quadrant detector based on the light spot position information; a second determination unit for determining, in response to the deviation data being greater than a deviation threshold, adjustment data for the wireless optical communication circuit based on the light spot position information, wherein the adjustment data is used to adjust a transmission path of an input optical signal in the wireless optical communication circuit; and an adjustment unit for adjusting a flip mirror in the wireless optical communication circuit based on the adjustment data, and adjusting the input optical signal based on the adjusted flip mirror to obtain an adjusted output optical signal.
[0015] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided, wherein the non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded and executed by a processor for executing any one of the above-mentioned data processing methods for the wireless optical communication circuit.
[0016] According to another aspect of an embodiment of the present invention, an electronic device is also provided, comprising one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned data processing methods for the wireless optical communication circuit.
[0017] In an embodiment of the present invention, light spot position information on a four-quadrant detector in a wireless optical communication circuit is obtained; deviation data of an output optical signal in the wireless optical communication circuit relative to a center point on the four-quadrant detector is determined based on the light spot position information; in response to the deviation data being greater than a deviation threshold, adjustment data of the wireless optical communication circuit is determined based on the light spot position information, wherein the adjustment data is used to adjust a transmission path of an input optical signal in the wireless optical communication circuit; a flip mirror in the wireless optical communication circuit is adjusted based on the adjustment data, and the input optical signal is adjusted based on the adjusted flip mirror to obtain an adjusted output optical signal. That is to say, the embodiment of the present invention can determine the spot position information of the output optical signal on each four-quadrant detector and the center point of the corresponding four-quadrant detector, determine the deviation data between the spot position information and the center point, and determine the size relationship between the deviation data and the deviation threshold. When the deviation data is greater than the deviation threshold, the adjustment data of the wireless optical communication circuit can be determined, and the flip mirror can be adjusted based on the adjustment data, so as to achieve the purpose of adjusting the transmission path of the input optical signal that generates the deviation, and obtain the adjusted optical signal, thereby solving the technical problem of poor communication quality of the wireless optical communication circuit and achieving the technical effect of improving the communication quality of the wireless optical communication circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0019] Figure 1 is a flow chart of a data processing method of a wireless optical communication circuit according to an embodiment of the present invention;
[0020] Figure 2 is a flowchart of a fine tracking algorithm executed according to an embodiment of the present invention;
[0021] Figure 3is a schematic diagram of a precise tracking system based on two four-quadrant detectors according to an embodiment of the present invention;
[0022] Figure 4 is a schematic diagram of an equivalent optical path and a three-dimensional rectangular coordinate system according to an embodiment of the present invention;
[0023] Figure 5 is a schematic diagram of a data processing system for a wireless optical communication circuit according to an embodiment of the present invention;
[0024] Figure 6 is a schematic diagram of a data processing device for a wireless optical communication circuit according to an embodiment of the present invention;
[0025] Figure 7 4 is a schematic diagram of an electronic device according to a data processing method for a wireless optical communication circuit according to an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0027] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. 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 necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0028] According to an embodiment of the present invention, an embodiment of a data processing method for a wireless optical communication circuit is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0029] Figure 1is a flow chart of a data processing method for a wireless optical communication circuit according to an embodiment of the present invention. Figure 1 As shown, the method includes the following steps:
[0030] Step S102: Acquire light spot position information on a four-quadrant detector in the wireless optical communication circuit.
[0031] In the technical solution provided in step S102 of the present invention, light spot position information on a four-quadrant detector in a wireless optical communication circuit can be obtained. The wireless optical communication circuit may include optical path components and a circuit controller. The optical path components may include a four-quadrant detector, a spectroscope, a flip mirror, and other components. The circuit controller may include a digital controller, an analog-to-digital converter (A / D), and a digital-to-analog converter (D / A). The flip mirror may include flip mirror 1 and flip mirror 2. The four-quadrant detector may include four-quadrant detector 1 and four-quadrant detector 2. The light spot position information may be the coordinates of the light spot displayed on the four-quadrant detector. It should be noted that this is for illustrative purposes only and does not impose specific limitations on the optical path components and circuit controller in the wireless optical communication circuit.
[0032] Optionally, a three-dimensional rectangular coordinate system can be established for the optical path components in the wireless optical communication circuit as a whole, and a unified reference object can be determined as the origin of the three-dimensional rectangular coordinate system. This allows the positions of all components in the optical path to be determined, and the position information of the light spot on the four-quadrant detector can also be determined, namely, the horizontal coordinate, vertical coordinate, and vertical coordinate of the light spot. It should be noted that this is only for illustration and does not impose specific restrictions on the position of the origin of the three-dimensional rectangular coordinate system, nor on the orientation of the horizontal, vertical, and vertical axes of the three-dimensional rectangular coordinate system.
[0033] Step S104 : determining deviation data of the output optical signal in the wireless optical communication circuit relative to the center point on the four-quadrant detector based on the light spot position information.
[0034] In the technical solution provided in the above-mentioned step S104 of the present invention, the spot position information of the output light signal on the corresponding four-quadrant detector can be determined, and the center point of the four-quadrant detector where the spot of the output light signal is located can also be determined. After obtaining the spot position information and the center point, the deviation data between the two can be determined based on the spot position information and the center point. The deviation data can be used to characterize the degree of deviation of the actual spot position of the output light signal relative to the center point of the four-quadrant detector.
[0035] Optionally, by establishing a three-dimensional rectangular coordinate system on the optical path device in the wireless optical communication circuit, the light spot position information on the four-quadrant detector 1 and the four-quadrant detector 2 can be determined, and the light spot position information of the two can be input into the digital controller through an analog-to-digital converter. The digital controller can determine the deviation data between the light spot position information of the output light signal and the center point of the four-quadrant detector based on the light spot position information on the four-quadrant detector 1 and the position of the center point of the four-quadrant detector 1, or based on the light spot position information on the four-quadrant detector 2 and the position of the center point of the four-quadrant detector 2. The larger the deviation data, the greater the degree to which the output light signal deviates from the center point of the four-quadrant detector, and the need to adjust the transmission path of the input light signal so that the light spot position information can be adjusted to the center point of the corresponding four-quadrant detector; conversely, the smaller the degree to which the output light signal deviates from the center point of the four-quadrant detector, the less the transmission path of the input light signal does not need to be adjusted.
[0036] Step S106 : In response to the deviation data being greater than the deviation threshold, determining adjustment data for the wireless optical communication circuit based on the light spot position information, wherein the adjustment data is used to adjust a transmission path of an input optical signal in the wireless optical communication circuit.
[0037] In the technical solution provided in step S106 of the present invention, after determining the deviation data, the magnitude relationship between the deviation data and a deviation threshold can be determined. If the deviation data is greater than the deviation threshold, adjustment data for the wireless optical communication circuit can be determined based on the light spot position information. The adjustment data can be used to adjust the transmission path of the input optical signal and may include the rotation mode and angle of the flip mirror in the wireless communication circuit. The deviation threshold can be a deviation threshold, which can be a pre-set value or a value set according to actual circumstances. It should be noted that this is for illustrative purposes only and does not impose specific limitations on the deviation threshold.
[0038] Optionally, after the deviation data is determined by the digital controller based on the light spot position information of the output optical signal on the four-quadrant detector and the position of the center point on the corresponding four-quadrant detector, the size relationship between the deviation data and the deviation threshold can be judged. If the deviation data is greater than the deviation threshold, it can be indicated that the degree of deviation between the output optical signal and the center point on the corresponding four-quadrant detector is large, and it is necessary to further determine adjustment data to adjust the flip mirror in the wireless communication circuit; if the deviation data is less than or equal to the deviation threshold, it can be indicated that the degree of deviation between the output optical signal and the center point on the corresponding four-quadrant detector is small, and there is no need to determine the adjustment data, and the light spot position information of the two four-quadrant detectors in the wireless optical communication circuit can be obtained again.
[0039] In an embodiment of the present invention, the degree of deviation between the spot position information of the output optical signal and the center point on the corresponding four-quadrant detector can be determined. If the degree of deviation is too large, the rotation mode and rotation angle of the flip mirror can be determined through relevant calculations, so that the angle of the flip mirror can be adjusted based on the rotation mode and rotation angle, thereby achieving the purpose of reducing the degree of deviation between the output optical signal and the center point of the four-quadrant detector, and realizing the technical effect of improving the communication quality of the wireless optical communication circuit.
[0040] Step S108 , adjusting the flip mirror in the wireless optical communication circuit based on the adjustment data, and adjusting the input optical signal based on the adjusted flip mirror to obtain an adjusted output optical signal.
[0041] In the technical solution provided in the above step S108 of the present invention, after obtaining the adjustment data, the flip mirror in the wireless optical communication circuit can be adjusted based on the adjustment data, and the transmission path of the input optical signal can be adjusted based on the adjusted flip mirror to obtain an adjusted output optical signal.
[0042] Optionally, after obtaining the adjustment data of flip mirror 1 and flip mirror 2, the angles of flip mirror 1 and flip mirror 2 can be adjusted based on the rotation method and rotation angle in the adjustment data. Due to the change in the angle of the flip mirror, the angle of the input light signal can be changed, thereby obtaining an adjusted output light signal.
[0043] In an embodiment of the present invention, adjustment data can be determined and the angle of the flip mirror can be adjusted by adjusting the adjustment data, thereby achieving the purpose of adjusting the transmission path of the input optical signal, thereby solving the technical problem of poor communication quality of the wireless optical communication circuit.
[0044] In the above steps S102 to S108 of the embodiment of the present invention, the light spot position information on the four-quadrant detector in the wireless optical communication circuit is obtained; based on the light spot position information, the deviation data of the output optical signal in the wireless optical communication circuit relative to the center point on the four-quadrant detector is determined; in response to the deviation data being greater than the deviation threshold, the adjustment data of the wireless optical communication circuit is determined based on the light spot position information, wherein the adjustment data is used to adjust the transmission path of the input optical signal in the wireless optical communication circuit; based on the adjustment data, the flip mirror in the wireless optical communication circuit is adjusted, and based on the adjusted flip mirror, the input optical signal is adjusted to obtain an adjusted output optical signal. That is to say, the embodiment of the present invention can determine the spot position information of the output optical signal on each four-quadrant detector and the center point of the corresponding four-quadrant detector, determine the deviation data between the spot position information and the center point, and determine the size relationship between the deviation data and the deviation threshold. When the deviation data is greater than the deviation threshold, the adjustment data of the wireless optical communication circuit can be determined, and the flip mirror can be adjusted based on the adjustment data, so as to achieve the purpose of adjusting the transmission path of the input optical signal that generates the deviation, and obtain the adjusted optical signal, thereby solving the technical problem of poor communication quality of the wireless optical communication circuit and achieving the technical effect of improving the communication quality of the wireless optical communication circuit.
[0045] The above method of this embodiment is further introduced below.
[0046] As an optional embodiment, in step S102 , a three-dimensional rectangular coordinate system is constructed based on the initial positions of the optical path components in the wireless optical communication circuit.
[0047] In this embodiment, a three-dimensional rectangular coordinate system may be constructed based on the initial position of the optical path component in the wireless optical communication circuit, wherein the optical path component may include a four-quadrant detector and a flip mirror.
[0048] Optionally, the center point of the flip mirror 2 in the optical path device can be used as the origin of the three-dimensional rectangular coordinate system, the horizontal coordinate of the three-dimensional rectangular coordinate system can be determined as vertically upward, and the vertical coordinate can be determined as vertically outward. The vertical coordinate can be determined based on the horizontal coordinate and the vertical coordinate according to the right-hand rule, thereby establishing a three-dimensional rectangular coordinate system for the wireless optical communication circuit.
[0049] It should be noted that this is only an example and does not impose any specific restrictions on the position of the origin of the three-dimensional rectangular coordinate system and the orientation of each coordinate.
[0050] As an optional embodiment, step S104 determines the deviation data of the output light signal in the wireless optical communication circuit relative to the center point on the four-quadrant detector based on the light spot position, including: determining the coordinate value of the light spot position information in the three-dimensional rectangular coordinate system; determining the deviation data based on the coordinate value.
[0051] In this embodiment, the coordinate values corresponding to the spot position information of the output light signal on the corresponding four-quadrant detector can be determined in the three-dimensional rectangular coordinate system, and the coordinate values of the center point of the four-quadrant detector can also be determined. Based on the coordinate values of the two, the deviation data between the two can be determined.
[0052] Optionally, after obtaining the spot position information of the output light signal on the four-quadrant detector 1 and the four-quadrant detector 2, the spot position information can be converted into corresponding coordinate values, and the coordinate values of the two can be input into the digital controller through the analog-to-digital converter. The digital controller can calculate the deviation data based on the coordinate values of the two and the coordinate values of the center points of the four-quadrant detector 1 and the four-quadrant detector 2.
[0053] As an optional embodiment, in step S104 , the adjustment data includes a rotation mode and a rotation angle of the flip mirror. Determining the adjustment data based on the light spot position information includes determining the rotation mode and the rotation angle of the flip mirror based on the coordinate values.
[0054] In this embodiment, after the deviation data is determined based on the coordinate values of the two, the size relationship between the deviation data and the deviation threshold can be determined. If the deviation data is greater than the deviation threshold, the adjustment data can be further determined, wherein the adjustment data may include the rotation mode and rotation angle of the flip mirror.
[0055] Optionally, when the deviation data is greater than the deviation threshold, the adjustment data can be determined by the digital controller based on the light spot position information and the coordinate values of the center point of the four-quadrant detector where the light spot is located; when the deviation data is less than or equal to the deviation threshold, it can be said that the flip mirror does not need to be adjusted at this time, and there is no need to determine the adjustment data.
[0056] As an optional embodiment, step S104 determines the rotation mode and rotation angle of the flip mirror based on the coordinate values, including: calculating the coordinate values through the law of reflection to determine the direction vector of the reflected light, the direction vector of the incident light, and the intersection coordinates of the flip mirror; iteratively calculating the center coordinates of the flip mirror, the direction vector of the reflected light, the direction vector of the incident light, and the intersection coordinates of the flip mirror to obtain the iterated normal vector; and determining the rotation mode and rotation angle based on the iterated normal vector.
[0057] In this embodiment, the coordinate values can be calculated using the law of reflection to determine the direction vector of the reflected light, the direction vector of the incident light, and the coordinates of the intersection of the flip mirror. By iteratively calculating the center coordinates of the flip mirror, the direction vector of the reflected light, the direction vector of the incident light, and the coordinates of the intersection of the flip mirror, a normal vector after iteration can be determined. Based on the normal vector after iteration, the rotation mode and angle of the flip mirror can be determined.
[0058] Optionally, the normal vector of the flip mirror 2 can be determined based on a three-dimensional rectangular coordinate system, and the direction vector of the reflected light from the flip mirror 2 can be calculated by a digital controller based on the coordinate values corresponding to the acquired light spot position information of the output light signal. The coordinate values of the output light signal, the direction vector of the reflected light, the normal vector of the flip mirror 2, and the origin of the three-dimensional rectangular coordinate system can be calculated based on the law of reflection to determine the coordinates of the intersection of the direction vector of the flip mirror 1 and the flip mirror 2. The coordinates of the intersection of the flip mirror 2, the direction vector of the reflected light, the normal vector of the flip mirror 1, and the center coordinates of the flip mirror 1 can be calculated based on the law of reflection to determine the coordinates of the intersection of the direction vector of the incident light and the flip mirror 1.
[0059] Optionally, a digital controller can use an iterative algorithm to calculate the rotation mode and rotation angle of the flip mirror 1 based on the direction vector of the incident light, the coordinates of the intersection of the direction vector of the incident light and the flip mirror 1, the center coordinates of the flip mirror 1, the normal vector of the flip mirror 1 and the origin of the three-dimensional rectangular coordinate system.
[0060] For example, based on the origin of the three-dimensional rectangular coordinate system, the coordinates of the intersection of the direction vector of the incident light and the flip mirror 1, and the direction vector of the incident light, the normal vector of the flip mirror 1 can be determined by the following formula:
[0061]
[0062]
[0063] in, A vector that can be used to represent the intersection of the direction vector of the incident light and the flip mirror 1; It can be used to represent the origin of the three-dimensional rectangular coordinate system; It can be used to represent the coordinates of the intersection of the direction vector of the incident light and the flip mirror 1; Can be used to represent the normal vector of flip mirror 1; Can be used to represent the direction vector of the incident light.
[0064] Optionally, the new coordinates of the intersection of the incident light and the flip mirror 1 can be determined based on the direction vector of the incident light, the coordinates of the intersection of the direction vector of the incident light and the flip mirror 1, the center coordinates of the flip mirror 1, and the normal vector of the flip mirror 1. The direction vector of the incident light and the coordinates of the intersection of the direction vector of the incident light and the flip mirror 1 can be modeled as a straight line, and the flip mirror 1 can be modeled as a plane using the center coordinates of the flip mirror 1 and the normal vector of the flip mirror 1. The intersection of the modeled straight line and the plane can be determined as the new coordinates of the intersection of the incident light and the flip mirror 1.
[0065] Optionally, the new intersection coordinates of the incident light and the flip mirror 1 ( ) is assigned as the coordinates of the intersection of the direction vector of the incident light and the flip mirror ( ),renew , repeat the above steps, after iterating the target number of times, the normal vector of flip mirror 1 can be obtained ( ) is the coordinate of the new intersection point between the final incident light and the flip mirror 1 ( ).
[0066] For example, the adjustment data of the flip mirror 2 can be determined by the data controller using the following formula based on the normal vector of the vector obtained by connecting the new intersection coordinates of the incident light and the flip mirror 1 obtained in the above steps, the origin of the three-dimensional rectangular coordinate system, and the center coordinates of the four-quadrant detector 1 and the center coordinates of the four-quadrant detector 2:
[0067]
[0068]
[0069] in, A vector that can be used to represent the line connecting the origin of the three-dimensional rectangular coordinate system and the coordinates of the new intersection point of the incident light and the flip mirror 1; It can be used to represent the origin of the three-dimensional rectangular coordinate system; It can be used to represent the new intersection coordinates of the incident light and the flip mirror 1; Can be used to represent the adjustment data of flip mirror 2; It can be used to represent the normal vector of the vector obtained by connecting the center coordinates of the four-quadrant detector 1 and the center coordinates of the four-quadrant detector 2.
[0070] Optionally, the normal vector ( ,Right now ) and the normal vector after flip mirror 1 iteration , the rotation algorithm of the rotating mirror can be executed to determine the rotation mode and rotation angle of the rotating mirror 1.
[0071] As an optional embodiment, step S104 determines the rotation mode and rotation angle based on the normal vector after iteration, including: performing rotation calculation on the normal vector before iteration and the normal vector after iteration to calculate the rotation mode and rotation angle.
[0072] In this embodiment, rotation calculation may be performed on the normal vector before iteration and the normal vector after iteration to obtain the rotation mode and rotation angle of the rotating mirror.
[0073] Optionally, the normal vector of the flip mirror 1 before iteration can be rotated to a fixed known state The rotation method of this process can be to rotate the corresponding angle counterclockwise along the vertical axis of the three-dimensional rectangular coordinate system. , then rotate counterclockwise along the horizontal axis by the corresponding angle It should be noted that the direction of rotation (clockwise, counterclockwise) and the rotation angle determined based on the direction of rotation are not specifically restricted here.
[0074] For example, the known state to which the normal vector of flip mirror 1 rotates before iteration can be determined by the following formula: :
[0075]
[0076]
[0077] in, It can be used to represent the known state to which the normal vector rotates before the flip mirror 1 iteration; Can be used to represent Rotate to The rotation matrix of It can be used to represent the corresponding angle of counterclockwise rotation along the horizontal axis; It can be used to represent the corresponding angle of counterclockwise rotation along the vertical coordinate; Can be used to represent the normal vector before flip mirror 1 iteration.
[0078] Optionally, the angle of rotation of the normal vector of the flip mirror 1 before iteration along the horizontal axis can be solved by the above two formulas: and the angle of counterclockwise rotation along the vertical axis .
[0079] Optionally, the normal vector after the flip mirror 1 iteration can be Rotate to the same fixed known state The rotation method of this process can be to rotate the corresponding angle along the vertical axis of the three-dimensional rectangular coordinate system , then rotate counterclockwise along the horizontal axis by the corresponding angle According to the formula in the above steps, the angle of the normal vector of the flip mirror 1 after iteration, which is rotated counterclockwise along the horizontal axis, can be solved. and the angle of counterclockwise rotation along the vertical axis .
[0080] Optionally, the final normal vector before the flip mirror 1 iteration is rotated to the normal vector after the flip mirror 1 iteration, which can be rotated three times. The first rotation is counterclockwise along the longitudinal axis, and the rotation angle is ; The second rotation is counterclockwise along the horizontal axis, and the rotation angle is ; The third rotation is counterclockwise along the longitudinal axis, and the rotation angle is .
[0081] Optionally, similarly, the normal vector ( ,Right now ) and the normal vector after iteration , execute the rotation algorithm to determine the rotation mode and rotation angle of the flip mirror 2.
[0082] Optionally, after determining the rotation mode and rotation angle of flip mirror 1, as well as the rotation mode and rotation angle of flip mirror 2, the adjustment data of flip mirror 1 and flip mirror 2 can be output through a digital-to-analog converter to adjust rotating mirror 1 and rotating mirror 2, thereby compensating for the deviation of the output optical signal.
[0083] As an optional embodiment, in step S106, in response to the deviation data being not greater than the deviation threshold, the light spot position on the four-quadrant detector in the wireless optical communication circuit is reacquired.
[0084] In this embodiment, when the deviation data is less than or equal to the deviation threshold, the light spot position on the four-quadrant detector in the wireless optical communication circuit can be reacquired.
[0085] Optionally, when the deviation data is less than or equal to the deviation threshold, it can be said that the deviation between the current output optical signal and the center point of the four-quadrant detector is small, and there is no need to adjust the flip mirror. The light spot position on the four-quadrant detector 1 and the four-quadrant detector 2 in the wireless optical communication circuit can be reacquired to prepare for the next adjustment.
[0086] As an optional embodiment, in step S108 , the normal vector of the adjusted flip mirror is obtained; and the rotation angle of the flip mirror is adjusted based on the normal vector.
[0087] In this embodiment, the normal vector of the flip mirror after adjustment may be obtained, and the rotation angle of the flip mirror may be adjusted based on the normal vector of the flip mirror.
[0088] Optionally, the final adjusted rotation angle and rotation mode of flip mirror 1 and flip mirror 2 can be fed back to the digital controller, so as to achieve the purpose of closed-loop control. The digital controller can determine the normal vector of flip mirror 1 and flip mirror 2 through the corresponding formula based on the rotation angle and rotation mode fed back by flip mirror 1 and flip mirror 2, and can update the posture of flip mirror 1 and flip mirror 2 to facilitate the next adjustment.
[0089] In an embodiment of the present invention, light spot position information on a four-quadrant detector in a wireless optical communication circuit is obtained; deviation data of an output optical signal in the wireless optical communication circuit relative to a center point on the four-quadrant detector is determined based on the light spot position information; in response to the deviation data being greater than a deviation threshold, adjustment data of the wireless optical communication circuit is determined based on the light spot position information, wherein the adjustment data is used to adjust a transmission path of an input optical signal in the wireless optical communication circuit; a flip mirror in the wireless optical communication circuit is adjusted based on the adjustment data, and the input optical signal is adjusted based on the adjusted flip mirror to obtain an adjusted output optical signal. That is to say, the embodiment of the present invention can determine the spot position information of the output optical signal on each four-quadrant detector and the center point of the corresponding four-quadrant detector, determine the deviation data between the spot position information and the center point, and determine the size relationship between the deviation data and the deviation threshold. When the deviation data is greater than the deviation threshold, the adjustment data of the wireless optical communication circuit can be determined, and the flip mirror can be adjusted based on the adjustment data, so as to achieve the purpose of adjusting the transmission path of the input optical signal that generates the deviation, and obtain the adjusted optical signal, thereby solving the technical problem of poor communication quality of the wireless optical communication circuit and achieving the technical effect of improving the communication quality of the wireless optical communication circuit.
[0090] Currently, wireless optical communication circuits consist of an optical transmitter and an optical receiver. The optical transmitter modulates and encodes the data to be transmitted into an optical signal, which is then transmitted to the optical receiver via a free-space interface. However, factors such as vibration from the transmitter's mechanical equipment and the uncertainties of free-space interference can cause optical signal offset and loss at the receiver, disrupting the communication link and affecting communication quality. The receiver requires capture, aiming, and tracking systems to ensure smooth communication links. Consequently, the technical problem of poor communication quality in wireless optical communication circuits persists.
[0091] To solve the above problems, based on the above embodiments and optional embodiments, the present invention proposes an optional implementation method: Figure 2 FIG. 1 is a flowchart of a fine tracking algorithm according to an embodiment of the present invention. Figure 2 As shown, the specific implementation steps of the embodiment of the present invention are as follows:
[0092] Step S202: Establish a three-dimensional rectangular coordinate system and initialize the system.
[0093] In the technical solution provided in the above step S202 of the present invention, a three-dimensional rectangular coordinate system can be constructed based on the initial positions of the optical path components in the wireless optical communication circuit.
[0094] Optionally, the initial position of the optical path device can be used as the origin of the three-dimensional rectangular coordinate system, the horizontal coordinate of the three-dimensional rectangular coordinate system can be determined as vertically upward, and the vertical coordinate can be determined as vertically outward. The vertical coordinate can be determined based on the horizontal coordinate and the vertical coordinate according to the right-hand rule, thereby establishing a three-dimensional rectangular coordinate system.
[0095] It should be noted that this is only an example and does not impose any specific restrictions on the position of the origin of the three-dimensional rectangular coordinate system and the orientation of each coordinate.
[0096] Optionally, Figure 3 FIG. 1 is a schematic diagram of a precision tracking system based on two four-quadrant detectors according to an embodiment of the present invention. Figure 3 As shown, the fine tracking system may include optical path components and a circuit controller. The optical path components may include flip mirror 1, flip mirror 2, beam splitter 1, beam splitter 2, four-quadrant detector 1, four-quadrant detector 2, and a data receiver. The circuit controller may include an analog-to-digital converter, a digital-to-analog converter, and a digital controller.
[0097] Step S204 , obtaining the positions of the light spots on the two four-quadrant detectors and calculating the optical path deviation.
[0098] In the technical solution provided in the above step S204 of the present invention, the positions of the light spots on the two four-quadrant detectors can be obtained, and the optical path deviations therebetween can be calculated.
[0099] Optionally, in a three-dimensional rectangular coordinate system, the coordinate value corresponding to the spot position information of the output light signal on the corresponding four-quadrant detector can be determined, and the coordinate value corresponding to the center point on the four-quadrant detector where the output light signal is located can also be determined. Based on the coordinate values of the two, the deviation data between the two can be determined.
[0100] Optionally, after obtaining the spot position information of the output light signal, the spot position information can be converted into corresponding coordinate values, and the coordinate values of the two can be input into the digital controller through the analog-to-digital converter. The digital controller can calculate the deviation data between the two based on the coordinate values corresponding to the spot position information and the coordinate values corresponding to the center point on the four-quadrant detector.
[0101] For example, Figure 4 is a schematic diagram of an equivalent optical path and a three-dimensional rectangular coordinate system according to an embodiment of the present invention, such as Figure 4As shown, the equivalent optical path includes flip mirror 1, flip mirror 2, four-quadrant detector 1 and four-quadrant detector 2. The three-dimensional rectangular coordinate system can be vertically upward as the positive direction of the horizontal axis and horizontally to the right as the positive direction of the vertical axis. S1 is the incident light. It can represent the normal vector of flip mirror 1, It can represent the normal vector of flip mirror 2, The normal vectors of the four-quadrant detector 1 and the four-quadrant detector 2 can be represented.
[0102] Step S206: determine whether the optical path deviation is greater than a deviation threshold.
[0103] In the technical solution provided in the above step S206 of the present invention, after determining the optical path deviation, the size relationship between the optical path deviation and the deviation threshold can be determined. If the optical path deviation is greater than the deviation threshold, step S208 can be executed; otherwise, step S204 can be executed.
[0104] Optionally, after the optical path deviation is determined by the digital controller based on the spot position information of the output optical signal and the center point of the corresponding four-quadrant detector, the size relationship between the optical path deviation and the deviation threshold can be judged. If the optical path deviation is greater than the deviation threshold, it can be said that the degree of deviation between the output optical signal and the center point of the four-quadrant detector is large, and it is necessary to further determine whether to adjust the flip mirror in the data line communication circuit for adjustment; if the optical path deviation is less than or equal to the deviation threshold, it can be said that the degree of deviation between the output optical signal and the center point of the four-quadrant detector is small, and there is no need to determine the adjustment data. The positions of the light spots on the two four-quadrant detectors can be re-acquired, and the respective optical path deviations can be calculated.
[0105] Step S208 , calculating the normal vector of the incident light and the intersection point of the flip mirror 1 according to the coordinates of the two light spots.
[0106] In the technical solution provided in the above step S208 of the present invention, the normal vector of the incident light and the intersection point of the flip mirror 1 can be determined according to the coordinates of the two light spots.
[0107] Alternatively, the coordinate values can be calculated using the law of reflection to determine the direction vector of the reflected light, the direction vector of the incident light, and the coordinates of the intersection of the flip mirror. By iteratively calculating the center coordinates of the flip mirror, the direction vector of the reflected light, the direction vector of the incident light, and the coordinates of the intersection of the flip mirror, a normal vector after iteration can be determined. Based on the normal vector after iteration, the rotation mode and angle of the flip mirror can be determined.
[0108] Optionally, the normal vector of the flip mirror 2 can be determined based on a three-dimensional rectangular coordinate system, and the direction vector of the reflected light from the flip mirror 2 can be calculated by a digital controller based on the coordinate values corresponding to the light spot of the output light signal. The coordinate values of the output light signal, the direction vector of the reflected light, the normal vector of the flip mirror 2, and the origin of the three-dimensional rectangular coordinate system can be calculated based on the law of reflection to determine the coordinates of the intersection of the direction vector of the flip mirror 1 and the flip mirror 2. The coordinates of the intersection of the flip mirror 2, the direction vector of the reflected light, the normal vector of the flip mirror 1, and the center coordinates of the flip mirror 1 can be calculated based on the law of reflection to determine the coordinates of the intersection of the direction vector of the incident light and the flip mirror 1.
[0109] Step S210 , executing an iterative algorithm to calculate the normal vectors of the flip mirror 1 and the flip mirror 2 after the deviation is compensated.
[0110] In the technical solution provided in the above step S210 of the present invention, the rotation mode and rotation angle of the flip mirror 1 can be calculated by an iterative algorithm through a digital controller based on the direction vector of the incident light, the coordinates of the intersection of the direction vector of the incident light and the flip mirror 1, the center coordinates of the flip mirror 1, the normal vector of the flip mirror 1 and the origin of the three-dimensional rectangular coordinate system.
[0111] For example, based on the origin of the three-dimensional rectangular coordinate system, the coordinates of the intersection of the direction vector of the incident light and the flip mirror 1, and the direction vector of the incident light, the normal vector of the flip mirror 1 can be determined by the following formula:
[0112]
[0113]
[0114] in, A vector that can be used to represent the intersection of the direction vector of the incident light and the flip mirror 1; It can be used to represent the origin of the three-dimensional rectangular coordinate system; It can be used to represent the coordinates of the intersection of the direction vector of the incident light and the flip mirror 1; Can be used to represent the normal vector of flip mirror 1; Can be used to represent the direction vector of the incident light.
[0115] Optionally, the new coordinates of the intersection of the incident light and the flip mirror 1 can be determined based on the direction vector of the incident light, the coordinates of the intersection of the direction vector of the incident light and the flip mirror 1, the center coordinates of the flip mirror 1, and the normal vector of the flip mirror 1. The direction vector of the incident light and the coordinates of the intersection of the direction vector of the incident light and the flip mirror 1 can be modeled as a straight line, and the flip mirror 1 can be modeled as a plane using the center coordinates of the flip mirror 1 and the normal vector of the flip mirror 1. The intersection of the modeled straight line and the plane can be determined as the new coordinates of the intersection of the incident light and the flip mirror 1.
[0116] Optionally, the new intersection coordinates of the incident light and the flip mirror 1 can be assigned as the direction vector of the incident light and the intersection coordinates of the flip mirror. The above steps are repeated. After the target number of iterations, the normal vector of the flip mirror 1 can be obtained as the final new intersection coordinates of the incident light and the flip mirror 1.
[0117] Step S212 , calculating the rotation mode and rotation angle of the flip mirror 1 and the flip mirror 2 according to the flip mirror rotation algorithm.
[0118] In the technical solution provided in the above step S212 of the present invention, the rotation mode and rotation angle of the flip mirror 1 and the flip mirror 2 can be determined according to the flip mirror rotation algorithm.
[0119] For example, the adjustment data of the flip mirror 2 can be determined by the data controller using the following formula based on the normal vector of the vector obtained by connecting the new intersection coordinates of the incident light and the flip mirror 1 obtained in the above steps, the origin of the three-dimensional rectangular coordinate system, and the center coordinates of the four-quadrant detector 1 and the center coordinates of the four-quadrant detector 2:
[0120]
[0121]
[0122] in, A vector that can be used to represent the line connecting the origin of the three-dimensional rectangular coordinate system and the coordinates of the new intersection point of the incident light and the flip mirror 1; It can be used to represent the origin of the three-dimensional rectangular coordinate system; It can be used to represent the new intersection coordinates of the incident light and the flip mirror 1; Can be used to represent the adjustment data of flip mirror 2; It can be used to represent the normal vector of the vector obtained by connecting the center coordinates of the four-quadrant detector 1 and the center coordinates of the four-quadrant detector 2.
[0123] Optionally, the digital controller may execute a rotation algorithm of the rotating mirror according to the normal vector of the flip mirror 1 before iteration and the normal vector of the flip mirror 1 after iteration to determine the rotation mode and rotation angle of the rotating mirror 1 .
[0124] Optionally, the normal vector of the flip mirror 1 before iteration can be rotated to a fixed known state. The rotation method of the process can be to first rotate the corresponding angle along the vertical axis of the three-dimensional rectangular coordinate system. , and then rotate the corresponding angle along the horizontal axis .
[0125] For example, the known state to which the normal vector of flip mirror 1 rotates before iteration can be determined by the following formula: :
[0126]
[0127]
[0128] in, It can be used to represent the known state to which the normal vector rotates before the flip mirror 1 iteration; Can be used to represent Rotate to The rotation matrix of It can be used to represent the corresponding angle of counterclockwise rotation along the horizontal axis; It can be used to represent the corresponding angle of counterclockwise rotation along the vertical coordinate; Can be used to represent the normal vector before flip mirror 1 iteration.
[0129] Optionally, the above two formulas can be used to solve the angle of the normal vector of the flip mirror 1 before iteration, which is rotated counterclockwise along the horizontal axis: and the angle of counterclockwise rotation along the vertical axis .
[0130] Optionally, the normal vector of the flip mirror 1 after iteration can be rotated to the same fixed known state. The rotation method of the process can be to first rotate the corresponding angle counterclockwise along the vertical axis of the three-dimensional rectangular coordinate system. , then rotate counterclockwise along the horizontal axis by the corresponding angle According to the formula in the above steps, the angle of the normal vector of the flip mirror 1 after iteration, which is rotated counterclockwise along the horizontal axis, can be solved. and the angle of counterclockwise rotation along the vertical axis .
[0131] Optionally, the final normal vector before the flip mirror 1 iteration is rotated to the normal vector after the flip mirror 1 iteration, which can be rotated three times. The first rotation is counterclockwise along the longitudinal axis, and the rotation angle is ; The second rotation is counterclockwise along the horizontal axis, and the rotation angle is ; The third rotation is counterclockwise along the longitudinal axis, and the rotation angle is .
[0132] Optionally, similarly, a rotation algorithm may be executed by a digital controller according to the normal vector of the flip mirror 2 before iteration and the normal vector after iteration to determine the rotation mode and rotation angle of the flip mirror 2 .
[0133] Optionally, after determining the rotation mode and rotation angle of flip mirror 1, as well as the rotation mode and rotation angle of flip mirror 2, the adjustment data of flip mirror 1 and flip mirror 2 can be output through a digital-to-analog converter to adjust rotating mirror 1 and rotating mirror 2, thereby compensating for the deviation of the optical signal.
[0134] Step S214: controlling the flip mirror 1 and the flip mirror 2 to rotate.
[0135] In the technical solution provided in the above step S214 of the present invention, the corresponding flip mirror can be controlled based on the rotation mode and the rotation angle, thereby achieving the purpose of adjusting the transmission path of the input optical signal.
[0136] Step S216: updating the adjusted normal vectors of the two flip mirrors according to the actual rotation angles of the two flip mirrors.
[0137] In the technical solution provided in the above step S216 of the present invention, the normal vector of the adjusted flip mirror can be obtained, and the rotation angle of the flip mirror can be adjusted based on the normal vector of the flip mirror.
[0138] Optionally, the final adjusted rotation angle and rotation mode of flip mirror 1 and flip mirror 2 can be fed back to the digital controller, so as to achieve the purpose of closed-loop control. The digital controller can determine the normal vector of flip mirror 1 and flip mirror 2 through the corresponding formula based on the rotation angle and rotation mode fed back by flip mirror 1 and flip mirror 2, and can update the posture of flip mirror 1 and flip mirror 2 to facilitate the next adjustment.
[0139] The embodiment of the present invention can determine the spot position information of the output optical signal on each four-quadrant detector and the center point of the corresponding four-quadrant detector, determine the deviation data between the spot position information and the center point, and determine the size relationship between the deviation data and the deviation threshold. When the deviation data is greater than the deviation threshold, the adjustment data of the wireless optical communication circuit can be determined. Based on the adjustment data, the flip mirror can be adjusted to achieve the purpose of adjusting the transmission path of the input optical signal that generates the deviation, and obtain the adjusted output optical signal, thereby solving the technical problem of poor communication quality of the wireless optical communication circuit and achieving the technical effect of improving the communication quality of the wireless optical communication circuit.
[0140] It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the present invention is not limited by the order of the actions described, because according to the present invention, 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 this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0141] Through the description of the above embodiments, those skilled in the art will clearly understand that the methods according to the above embodiments can be implemented using software plus the necessary general-purpose hardware platform. Of course, hardware can also be used, but in many cases the former is the more preferred embodiment. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the relevant art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, or optical disk) and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present invention.
[0142] This embodiment also provides a data processing system for a wireless optical communication circuit. It should be noted that the data processing system for a wireless optical communication circuit can be used to execute the data processing method for a wireless optical communication circuit.
[0143] Figure 5 is a schematic diagram of a data processing system for a wireless optical communication circuit according to an embodiment of the present invention. Figure 5 As shown, the data processing system 500 of the wireless optical communication circuit may include: an acquisition module 502 and a data controller 504 .
[0144] The acquisition module 502 is used to acquire the light spot position information on the four-quadrant detector in the wireless optical communication circuit.
[0145] A data controller 504 is used to determine deviation data of an output optical signal in the wireless optical communication circuit relative to a center point on a four-quadrant detector based on the light spot position information, and in response to the deviation data being greater than a deviation threshold, determine adjustment data of the wireless optical communication circuit based on the light spot position information, adjust the flip mirror in the wireless optical communication circuit based on the adjustment data, and adjust the input optical signal in the wireless optical communication circuit based on the adjusted flip mirror to obtain an adjusted output optical signal, wherein the adjustment data is used to adjust the transmission path of the input optical signal.
[0146] In this embodiment, the light spot position information on the four-quadrant detector in the wireless optical communication circuit is obtained through the acquisition module; the deviation data of the output optical signal in the wireless optical communication circuit relative to the center point on the four-quadrant detector is determined based on the light spot position information through the data controller, and in response to the deviation data being greater than the deviation threshold, the adjustment data of the wireless optical communication circuit is determined based on the light spot position information, and based on the adjustment data, the flip mirror in the wireless optical communication circuit is adjusted, and based on the adjusted flip mirror, the transmission path of the input optical signal in the wireless optical communication circuit is adjusted to obtain an adjusted output optical signal, wherein the adjustment data is used to adjust the transmission path of the input optical signal, thereby solving the technical problem of poor communication quality of the wireless optical communication circuit and achieving the technical effect of improving the communication quality of the wireless optical communication circuit.
[0147] According to an embodiment of the present invention, a data processing device for implementing the above-mentioned wireless optical communication circuit is further provided. It should be noted that the data processing device for the wireless optical communication circuit can be used to execute the data processing method for the wireless optical communication circuit.
[0148] Figure 6 is a schematic diagram of a data processing device for a wireless optical communication circuit according to an embodiment of the present invention. Figure 6 As shown, the data processing device 600 of the wireless optical communication circuit may include: an acquiring unit 602 , a first determining unit 604 , a second determining unit 606 and an adjusting unit 608 .
[0149] The acquisition unit 602 is configured to acquire light spot position information on a four-quadrant detector in a wireless optical communication circuit.
[0150] The first determining unit 604 is configured to determine deviation data of an output optical signal in the wireless optical communication circuit relative to a center point on the four-quadrant detector based on the light spot position information.
[0151] The second determining unit 606 is configured to determine adjustment data of the wireless optical communication circuit based on the light spot position information in response to the deviation data being greater than the deviation threshold, wherein the adjustment data is used to adjust a transmission path of an input optical signal in the wireless optical communication circuit.
[0152] The adjustment unit 608 is configured to adjust the flip mirror in the wireless optical communication circuit based on the adjustment data, and adjust the input optical signal based on the adjusted flip mirror to obtain an adjusted output optical signal.
[0153] Optionally, the acquisition unit 602 may include: a construction module, configured to construct a three-dimensional rectangular coordinate system based on initial positions of optical path components in the wireless optical communication circuit, wherein the optical path components include a four-quadrant detector and a flip mirror.
[0154] Optionally, the first determining unit 604 may include: a first determining module for determining coordinate values of the light spot position information in a three-dimensional rectangular coordinate system; and a second determining module for determining deviation data based on the coordinate values.
[0155] Optionally, the first determining unit 604 may include: a third determining module, configured to determine a rotation mode and a rotation angle of the flip mirror based on the coordinate values.
[0156] Optionally, the third determination module may include: a first determination submodule, used to calculate the coordinate value through the law of reflection to determine the direction vector of the reflected light, the direction vector of the incident light and the intersection coordinates of the flip mirror; a first calculation submodule, used to iteratively calculate the center coordinates of the flip mirror, the direction vector of the reflected light, the direction vector of the incident light and the intersection coordinates of the flip mirror to obtain the iterated normal vector; a second determination submodule, used to determine the rotation mode and rotation angle based on the iterated normal vector.
[0157] Optionally, the third determining module may include: a second calculating submodule, configured to perform rotation calculation on the normal vector before iteration and the normal vector after iteration, and calculate a rotation mode and a rotation angle.
[0158] Optionally, the device may further include: a first acquisition unit, configured to reacquire the light spot position on the four-quadrant detector in the wireless optical communication circuit in response to the deviation data being not greater than the deviation threshold.
[0159] Optionally, the device may further include: a second acquiring unit, configured to acquire the normal vector of the flip mirror after adjustment; and a first adjusting unit, configured to adjust the rotation angle of the flip mirror based on the normal vector.
[0160] According to an embodiment of the present invention, the light spot position information on the four-quadrant detector in the wireless optical communication circuit is obtained through an acquisition unit; the deviation data of the output optical signal in the wireless optical communication circuit relative to the center point on the four-quadrant detector is determined based on the light spot position information through a first determination unit; in response to the deviation data being greater than a deviation threshold, the adjustment data of the wireless optical communication circuit is determined based on the light spot position information through a second determination unit, wherein the adjustment data is used to adjust the transmission path of the input optical signal in the wireless optical communication circuit; the flip mirror in the wireless optical communication circuit is adjusted based on the adjustment data through the adjustment unit, and the input optical signal is adjusted based on the adjusted flip mirror to obtain an adjusted output optical signal, thereby solving the technical problem of poor communication quality of the wireless optical communication circuit and achieving the technical effect of improving the communication quality of the wireless optical communication circuit.
[0161] According to an embodiment of the present invention, an embodiment of a non-volatile storage medium is also provided. Optionally, in this embodiment, the non-volatile storage medium includes a stored program, wherein when the program is executed, the device containing the non-volatile storage medium is controlled to execute any of the above-mentioned data processing methods for a wireless optical communication circuit.
[0162] Optionally, in this embodiment, the non-volatile storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group, and the non-volatile storage medium includes a stored program.
[0163] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following functions: obtaining the light spot position information on the four-quadrant detector in the wireless optical communication circuit; determining the deviation data of the output optical signal in the wireless optical communication circuit relative to the center point on the four-quadrant detector based on the light spot position information; in response to the deviation data being greater than the deviation threshold, determining the adjustment data of the wireless optical communication circuit based on the light spot position information, wherein the adjustment data is used to adjust the transmission path of the input optical signal in the wireless optical communication circuit; adjusting the flip mirror in the wireless optical communication circuit based on the adjustment data, and adjusting the input optical signal based on the adjusted flip mirror to obtain an adjusted output optical signal.
[0164] According to an embodiment of the present invention, an embodiment of a computer program product is also provided. When executed on a data processing device, the program is suitable for executing the steps of the data processing method for initializing any one of the wireless optical communication circuits described above.
[0165] Optionally, the above-mentioned computer program product, when executed on a data processing device, is suitable for executing a program initialized with the following method steps: obtaining the light spot position information on the four-quadrant detector in the wireless optical communication circuit; determining the deviation data of the output optical signal relative to the input optical signal in the wireless optical communication circuit based on the light spot position information; in response to the deviation data being greater than the deviation threshold, determining the adjustment data of the wireless optical communication circuit based on the light spot position information, wherein the adjustment data is used to adjust the transmission path of the input optical signal; adjusting the flip mirror in the wireless optical communication circuit based on the adjustment data, and adjusting the input optical signal based on the adjusted flip mirror to obtain an adjusted optical signal.
[0166] like Figure 7As shown, an embodiment of the present invention provides a schematic diagram of an electronic device for a data processing method of a wireless optical communication circuit. The electronic device 70 includes a processor, a memory, and a program stored in the memory and runnable on the processor. When the processor executes the program, the following steps are implemented: obtaining light spot position information on a four-quadrant detector in the wireless optical communication circuit; determining deviation data of an output optical signal in the wireless optical communication circuit relative to a center point on the four-quadrant detector based on the light spot position information; in response to the deviation data being greater than a deviation threshold, determining adjustment data of the wireless optical communication circuit based on the light spot position information, wherein the adjustment data is used to adjust a transmission path of an input optical signal in the wireless optical communication circuit; adjusting a flip mirror in the wireless optical communication circuit based on the adjustment data, and adjusting the input optical signal based on the adjusted flip mirror to obtain an adjusted output optical signal.
[0167] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0168] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0169] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of the above modules can be a logical function division. In actual implementation, there may be other division methods, such as multiple modules 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, modules or indirect coupling or communication connection of modules, which can be electrical or other forms.
[0170] The modules described above as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed across multiple modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0171] In addition, the functional modules in various embodiments of the present invention may be integrated into a single processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or software functional modules.
[0172] If the above-mentioned integrated modules are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable non-volatile storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the relevant technology, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a non-volatile storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the method of the present invention. The aforementioned non-volatile storage medium includes various media that can store program code, such as USB flash drives, read-only memories (ROMs), random access memories (RAMs), mobile hard drives, magnetic disks, or optical disks.
[0173] The above are only preferred embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A data processing method for a wireless optical communication circuit, characterized in that: include: Acquiring light spot position information on a first four-quadrant detector and light spot position information on a second four-quadrant detector in a wireless optical communication circuit; Determining, based on the light spot position information on the first four-quadrant detector and the light spot position information on the second four-quadrant detector, deviation data of an output optical signal in the wireless optical communication circuit relative to a center point on the first four-quadrant detector and deviation data of a center point on the second four-quadrant detector; In response to deviation data of a center point on the first four-quadrant detector and / or deviation data of a center point on the second four-quadrant detector being greater than a deviation threshold, determining adjustment data for the wireless optical communication circuit based on the light spot position information on the first four-quadrant detector and the light spot position information on the second four-quadrant detector, wherein the adjustment data is used to adjust a transmission path of an input optical signal in the wireless optical communication circuit, and the adjustment data includes a rotation mode and a rotation angle of a first flip mirror, and a rotation mode and a rotation angle of a second flip mirror; adjusting the first flip mirror and the second flip mirror in the wireless optical communication circuit based on the adjustment data, and adjusting the input optical signal based on the adjusted first flip mirror and the adjusted second flip mirror to obtain an adjusted output optical signal; Wherein, determining the adjustment data of the wireless optical communication circuit based on the light spot position information on the first four-quadrant detector and the light spot position information on the second four-quadrant detector includes: determining the direction vector of the reflected light of the first flip mirror and the coordinates of the intersection of the direction vector of the incident light and the first flip mirror based on the light spot position information on the first four-quadrant detector and the light spot position information on the second four-quadrant detector; performing iterative calculation using the center point of the first flip mirror, the direction vector of the reflected light, and the coordinates of the intersection to obtain a normal vector of the first flip mirror after iteration; and determining a rotation mode and rotation angle of the first flip mirror based on the normal vector of the first flip mirror after iteration; Based on the new intersection coordinates of the direction vector of the incident light and the first flip mirror, the origin of the three-dimensional rectangular coordinate system, and the normal vector of the vector obtained by connecting the center point on the first four-quadrant detector and the center point on the second four-quadrant detector, the rotation mode and rotation angle of the second flip mirror are determined, wherein the new intersection coordinates are determined based on the direction vector of the incident light, the intersection coordinates, the center point of the first flip mirror and the normal vector of the first flip mirror after iteration.
2. The method according to claim 1, characterized in that The method further comprises: The three-dimensional rectangular coordinate system is constructed based on the initial position of the optical path device in the wireless optical communication circuit, wherein the optical path device includes the first four-quadrant detector, the second four-quadrant detector, the first flip mirror and the second flip mirror, and the vertical coordinate of the three-dimensional rectangular coordinate system is determined based on the horizontal coordinate of the three-dimensional rectangular coordinate system and the vertical coordinate of the three-dimensional rectangular coordinate system according to the right-hand rule.
3. The method according to claim 1, characterized in that Determining, based on the light spot position information on the first four-quadrant detector and the light spot position information on the second four-quadrant detector, deviation data of an output optical signal in the wireless optical communication circuit relative to a center point on the first four-quadrant detector and deviation data of a center point on the second four-quadrant detector, comprising: determining coordinate values of the light spot position information on the first four-quadrant detector in the three-dimensional rectangular coordinate system, and determining deviation data of a center point on the first four-quadrant detector based on the coordinate values of the light spot position information on the first four-quadrant detector in the three-dimensional rectangular coordinate system; Determine the coordinate values of the light spot position information on the second four-quadrant detector in the three-dimensional rectangular coordinate system, and determine the deviation data of the center point on the second four-quadrant detector based on the coordinate values of the light spot position information on the second four-quadrant detector in the three-dimensional rectangular coordinate system.
4. The method according to claim 1, wherein Determining, based on the light spot position information on the first four-quadrant detector and the light spot position information on the second four-quadrant detector, the coordinates of the intersection of the direction vector of the reflected light of the first flip mirror and the direction vector of the incident light with the first flip mirror, including: The coordinate values of the light spot position information on the first four-quadrant detector in the three-dimensional rectangular coordinate system are calculated by the law of reflection to determine the direction vector of the reflected light and the coordinates of the intersection point.
5. The method according to claim 1, wherein The method further comprises: In response to the deviation data being not greater than the deviation threshold, light spot position information on the first four-quadrant detector and light spot position information on the second four-quadrant detector in the wireless optical communication circuit are reacquired.
6. The method according to claim 1, characterized in that After adjusting the flip mirror in the wireless optical communication circuit based on the adjustment data, the method includes: Obtaining the adjusted normal vector of the first flip mirror and the normal vector of the second flip mirror; The rotation angle of the first flip mirror and the rotation angle of the second flip mirror are adjusted based on the normal vector of the first flip mirror and the normal vector of the second flip mirror.
7. A data processing system for a wireless optical communication circuit, characterized in that: include: A four-quadrant detector, used to display the light spot position information on the first four-quadrant detector and the light spot position information on the second four-quadrant detector in the wireless optical communication circuit; a circuit controller, configured to determine, based on the light spot position information on the first four-quadrant detector and the light spot position information on the second four-quadrant detector, deviation data of an output optical signal in the wireless optical communication circuit relative to a center point on the first four-quadrant detector, and in response to the deviation data of the center point on the first four-quadrant detector and / or the deviation data of the center point on the second four-quadrant detector being greater than a deviation threshold, determine adjustment data for the wireless optical communication circuit based on the light spot position information on the first four-quadrant detector and the light spot position information on the second four-quadrant detector, and adjust the first flip mirror and the second flip mirror in the wireless optical communication circuit based on the adjustment data; The flip mirror is used to adjust the input optical signal in the wireless optical communication circuit based on the adjusted first flip mirror and the second flip mirror to obtain the adjusted output optical signal, wherein the adjustment data is used to adjust the transmission path of the input optical signal, and the adjustment data includes a rotation mode and a rotation angle of the first flip mirror, and a rotation mode and a rotation angle of the second flip mirror; The circuit controller may further be configured to perform the following steps to determine the adjustment data: determining, based on the light spot position information on the first four-quadrant detector and the light spot position information on the second four-quadrant detector, a direction vector of the reflected light from the first flip mirror and the coordinates of the intersection of the direction vector of the incident light and the first flip mirror; performing an iterative calculation using the center point of the first flip mirror, the direction vector of the reflected light, and the coordinates of the intersection to obtain a normal vector of the first flip mirror after iteration; and determining a rotation mode and rotation angle of the first flip mirror based on the normal vector of the first flip mirror after iteration; Based on the new intersection coordinates of the direction vector of the incident light and the first flip mirror, the origin of the three-dimensional rectangular coordinate system, and the normal vector of the vector obtained by connecting the center point on the first four-quadrant detector and the center point on the second four-quadrant detector, the rotation mode and rotation angle of the second flip mirror are determined, wherein the new intersection coordinates are determined based on the direction vector of the incident light, the intersection coordinates, the center point of the first flip mirror and the normal vector of the first flip mirror after iteration.
8. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executed by the data processing method for a wireless optical communication circuit according to any one of claims 1 to 6.
9. An electronic device, characterized in that: It includes one or more processors and a memory, the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method of the wireless optical communication circuit according to any one of claims 1 to 6.
Citation Information
Patent Citations
Micro light spot tracking device and method based on four-quadrant detector
CN115480391A