Beam alignment method for underwater wireless optical communication based on camera and micro-electromechanical galvanometer
By using cameras and microelectromechanical galvanometers in underwater wireless optical communications, the beam position is analyzed and actively aligned, which solves the problem of unstable beam alignment and achieves stable and efficient underwater communications.
Patent Information
- Application Number
- CN202410715312.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-04
AI Technical Summary
In underwater wireless optical communications, due to seawater flow and equipment shaking, it is difficult for the light beam to maintain a stable alignment state, which affects the communication quality. It is difficult for existing technology to effectively solve this problem.
Using a method based on cameras and microelectromechanical galvanometers, the end camera collects images through the beacon light source emitted by the peer laser diode, analyzes the position of the light outlet, and uses the MEMS galvanometer to reflect the beam to achieve active alignment of the peer device and improve Real-time and robustness of alignment.
It achieves rapid alignment of underwater beams, ensures a stable communication link for the UOWC system, reduces system complexity, and improves the reliability of underwater communications.
Smart Images

Figure CN118276334B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of communication control, and in particular relates to an underwater wireless optical communication light beam alignment method based on a camera and a micro-electromechanical galvanometer. Background Art
[0002] In recent years, with the widespread use of ocean detection systems, the demand for underwater communications has gradually increased (transmission distance and rate), and previous communication technologies are difficult to meet the current requirements of underwater communications. Traditional radio frequency communication has a high transmission rate, but the electromagnetic wave attenuation is large underwater and the transmission distance is short; although underwater acoustic communication has a long transmission distance, the transmission rate is extremely limited and the delay is high. Underwater Optical Wireless Communication (UOWC) achieves a compromise between transmission distance and transmission rate, provides a new solution for underwater wireless communication technology, and is receiving more and more attention.
[0003] In order to further increase the transmission distance, the UOWC system generally uses a laser diode (LD) as the transmitting light source, and the receiving end generally uses a photomultiplier tube (PMT) with a larger photosensitive surface and higher gain as a photoelectric sensor. However, since the LD generally has a narrow light beam, the LD light beam at one end needs to be accurately pointed to the photosensitive surface of the photodetector at the other end in order to establish a stable UOWC transmission link. The flow of seawater and the shaking of the terminals on both sides will cause the terminal equipment to fluctuate continuously, and it is difficult for the light beams at both ends of the transmitter and receiver to maintain a stable alignment state, which will further deteriorate the communication quality of the link. This has become one of the important bottlenecks that make it difficult for the UOWC system to be deployed underwater. Summary of the invention
[0004] In order to solve the above technical problems, the present invention provides an underwater wireless optical communication beam alignment method based on a camera and a micro-electro-mechanical system (MEMS) galvanometer. The emitted laser of the opposite end is used as a beacon light source to process the image collected by the camera of the own end. The position of the light outlet of the opposite end beam under different alignment states is analyzed to determine the location of the opposite end device. The light beam generated by the laser diode (LD) equipped on the own end is reflected by the MEMS galvanometer and reaches the opposite end through the water channel. The own end can actively align the emitted light beam of the own end with the opposite end device by controlling the rotation direction of the MEMS galvanometer of the own end, thereby improving the real-time and robustness of the alignment and providing a stable communication link for data transmission.
[0005] To achieve the above purpose, the technical solution adopted by the present invention is as follows:
[0006] A method for aligning an underwater wireless optical communication beam based on a camera and a micro-electromechanical galvanometer comprises the following steps:
[0007] Step 1: According to the outgoing light beam emitted by the laser diode at the opposite end and the imaging characteristics of the camera at the own end under different alignment states, the pixel position of the light outlet at the opposite end in the image collected by the camera at the own end is identified;
[0008] Step 2: Assume that the outgoing light beam emitted by the laser diode at the own end is reflected into the water body by the micro-electromechanical galvanometer at the own end. According to the pixel position obtained in step 1, calculate the actual angle of the light outlet at the other end relative to the camera at the own end. The actual angle includes the pitch angle and the yaw angle. Based on the fact that the normal direction of the imaging surface of the camera at the own end is parallel to the initial direction of the outgoing light beam reflected by the micro-electromechanical galvanometer at the own end, calculate and control the inclination angles of the micro-electromechanical galvanometer at the own end in two mutually perpendicular directions according to the principle of mirror reflection to control the direction of the outgoing light beam emitted by the laser diode at the own end.
[0009] Step 3, repeat step 1-step 2, and keep the outgoing light beam emitted by the laser diode at the end aligned with the photodetector at the other end.
[0010] Furthermore, the step 1 comprises:
[0011] Step 1.1, image preprocessing: grayscale conversion, Gaussian filtering, and threshold segmentation are performed on the image collected by the camera at the end, and the image area contour greater than the threshold is determined as the area of interest of the outgoing light beam to be determined;
[0012] Step 1.2, target beam area selection: calculate the average gray value of all regions of interest respectively, and the region of interest with the largest average gray value is preliminarily identified as the region where the light outlet of the opposite end is located;
[0013] Step 1.3, distinguishing the alignment status: first remove the mean of the contour of the area where the light outlet of the other end is initially identified in the acquired image, and then perform principal component analysis to determine whether the outgoing light beam emitted by the laser diode of the other end and the camera of the own end are in a straight alignment;
[0014] Step 1.4, identify the position of the light outlet at the opposite end: for the non-facing state, use the principal optical axis method to predict the pixel position of the light outlet at the opposite end in the image captured by the camera at the own end; for the facing state, use the mask method to determine the pixel position of the light outlet at the opposite end in the image captured by the camera at the own end.
[0015] Furthermore, the step 2 comprises:
[0016] Step 2.1, calculate the azimuth angle of the camera on the own end: use the offset between the pixel coordinates of the imaging spot and the center coordinates of the collected image to estimate the direction vector of the light outlet on the other end in the camera coordinate system, and use the inverse tangent function to calculate the angle of the light outlet on the other end relative to the camera on the own end in the horizontal and vertical directions;
[0017] Step 2.2, non-coaxial compensation of the self-end camera and the self-end MEMS galvanometer: Utilize the known distance information between the self-end camera and the light outlet of the opposite end and the relative determined position information of the self-end MEMS galvanometer and the self-end camera to calculate the angular deviation of the self-end MEMS galvanometer and the self-end camera relative to the photodetector of the opposite end, compensate for the angular deviation through the non-coaxial compensation algorithm and control the self-end MEMS.
[0018] The beneficial effects of the present invention are:
[0019] The present invention adopts commercial cameras and MEMS galvanometers as sensors and control execution units, and realizes rapid underwater light beam alignment on the basis of ensuring the miniaturization of the system, providing a basic guarantee for the establishment of a stable communication link between the UOWC parties. It is of great significance to the practical underwater application of UOWC. The equipment directly adopts the information light source as the beacon light source, which can further reduce the complexity of system implementation. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram of the structure of a UOWC beam alignment system provided by an embodiment of the present invention;
[0021] Figure 2 The flowchart of the method for aligning the underwater wireless optical communication beam based on camera and micro-electromechanical galvanometer is as follows;
[0022] Figure 3 This is a schematic diagram of images captured by the camera when the light beam at the other end is aligned differently with respect to the camera at the own end according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] The following is a clear and complete description of the technical method in the embodiment of the present invention in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0024] Example
[0025] like Figure 1 As shown, Figure 1The schematic diagram of the composition structure of the beam alignment system provided by the embodiment of the present invention. The self-end and the opposite end have the ability to send and receive information. The self-end terminal device can control the self-end micro-electromechanical galvanometer by identifying the light outlet position of the opposite end device to realize the active alignment of the self-end light beam. The self-end terminal device uses a laser diode (LD) as the emission light source. After the information is modulated, it is loaded onto the driving circuit of the LD and controls the switch state of the LD. The emitted light beam is reflected into the water body by the MEMS galvanometer. By controlling the inclination angle of the MEMS galvanometer in two directions, the precise control of the direction of the emitted light beam is realized; at the same time, the terminal is also equipped with a commercial camera as a collection device for the light spot of the opposite end light source. In this embodiment, the central processing unit uses the Xilinx Zynq development board to perform real-time light outlet identification, beam pointing control and information signal processing; the entire system is wrapped in a cylindrical shell with a diameter of 15 cm and a length of 30 cm. The highly integrated design of the equipment reduces the spatial distance between the camera, the photodetector, and the MEMS galvanometer, and minimizes the compensation required in the beam pointing process and the error in the estimation of the light outlet position of the light source introduced.
[0026] like Figure 2 The figure shows the algorithm flow adopted by the underwater wireless optical communication beam alignment system based on camera and MEMS galvanometer: it mainly includes the light outlet position recognition algorithm and the MEMS galvanometer control algorithm.
[0027] Introduction to the light outlet position recognition algorithm: Figure 3 The images captured by the camera under different alignment states of the opposite beam relative to the camera at the end are shown. The two pictures above are the beam images captured when the opposite beam is not facing the camera, and the two pictures below are the beam images captured when the opposite beam is facing the camera. When the opposite beam is not facing the camera, the beam appears as a clear long strip in the image with obvious directionality; when it is facing the camera, a circular light spot that almost covers the entire image appears in the image. For the images captured by the camera in these two different situations, the main optical axis method and the mask method are used to recognize the light outlet position. The recognition algorithm flow is introduced in detail below:
[0028] After the algorithm starts to execute, the first thing is the image preprocessing process. After the spot image of the opposite light source is collected, the image needs to be grayscale converted, Gaussian filtered, and threshold segmented in sequence. Among them, the grayscale conversion and Gaussian filtering operations reduce the noise and details in the image and reduce the complexity of subsequent calculations while retaining the main features of the image, thereby improving the real-time performance of the system. When performing threshold segmentation on the image, in this embodiment, the maximum grayscale value in the image minus 80 is used as the threshold for segmentation, and all areas greater than the threshold are found. These areas are actually bright objects in the image, including the emission light beam of the opposite end (the target light beam to be analyzed) and its reflection on the surface of the smooth object (such as the reflection on the water surface and the glass wall). By calculating the average grayscale value of these areas, the area with the largest average grayscale value is selected as the only target light beam area to be analyzed, that is, the only area is selected as the target light beam area, and the subsequent light outlet position identification is prepared.
[0029] After selecting the area where the only target beam is located, perform principal component analysis on the contour points of the target beam and take the first two principal component eigenvalues. Obtain the pixel coordinates of the N contour points in the target beam area, define the average pixel coordinates of the contour points, and perform principal component analysis. Calculate the eigenvalues corresponding to the first principal axis and the second principal axis of the de-meaned contour coordinate point. If the eigenvalue ratio of the two eigenvalues is ≥ the threshold, the area represents the directional beam shape in the non-aligned case, and the main optical axis method is subsequently used to identify the light outlet position; otherwise, the area represents the circular light spot in the aligned case, and the mask method is used to identify the light outlet position.
[0030] In the above principal component analysis, the eigenvector corresponding to the maximum eigenvalue is obtained. Draw a straight line through the center point of the contour in the direction of this eigenvector as the main optical axis of the light beam in the image. Along the direction of the main optical axis, the grayscale value of the pixel will show a trend of first rising and then falling, and the pixel grayscale value will be larger on the side of the light outlet. This information can be used to easily find the position of the light outlet. In this embodiment, the maximum pixel grayscale value minus 40 is used for threshold segmentation again. Those greater than the threshold will be marked with contours, and the two intersections of the main optical axis and the contour are the possible positions of the light outlet; then the grayscale values of the pixels before and after the two positions are respectively added, and the side with the larger accumulated value is determined to be the light outlet position.
[0031] like Figure 3As shown in , when the opposite light beam is facing the camera, by adjusting the exposure time of the camera, a black spot appears at the light outlet in the image. This is due to the divergence and convergence of the light beam by the convex lens on the camera lens. Due to the divergence and convergence of the light beam by the convex lens on the camera lens, a black spot appears at the light outlet in the image after appropriately adjusting the exposure time of the camera. Therefore, after the above image preprocessing steps, there is a tiny area with a gray value of zero in the middle of the target area. Using the mask method, draw a full white image that completely matches the shape of the target area, and perform an XOR operation on it with the target area after threshold processing, and then determine the pixel position of the opposite light outlet in the image by calculating the centroid of the white area in the image.
[0032] After the camera identifies the position of the light outlet of the other device, coordinate mapping is performed to control the MEMS. It is necessary to calculate the angles of the other device in two directions relative to the output plane of the MEMS galvanometer. This process includes two main steps: (1) calculating the azimuth angle of the receiving device relative to the camera; and (2) compensating for the non-coaxiality of the MEMS and the camera.
[0033] The direction vector of the target in the camera coordinate system is estimated by using the offset between the predicted light outlet position coordinates and the image center coordinates, and the inverse tangent function is used to calculate the angles in the horizontal and vertical directions. At this time, the azimuth of the target relative to the camera on the other end is obtained. However, since there is a fixed distance between the MEMS galvanometer on the other end and the imaging surface of the camera on the other end, the calculated azimuth cannot be directly used to control the steering of the MEMS galvanometer on the other end. Therefore, it is necessary to use the distance information between the camera on the other end and the target and the fixed distance between the MEMS galvanometer on the other end and the camera on the other end to calculate the angle deviation between the two relative to the target. By compensating for the above deviation and controlling the steering of the MEMS galvanometer on the other end, the beam on the other end is aligned with the photosensitive surface of the photoelectric sensor on the other end.
[0034] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for aligning underwater wireless optical communication beams based on a camera and a micro-electromechanical galvanometer, characterized in that: The following steps are involved: Step 1: According to the outgoing light beam emitted by the laser diode at the opposite end and the imaging characteristics of the camera at the own end under different alignment states, the pixel position of the light outlet at the opposite end in the image collected by the camera at the own end is identified; Step 2: Assume that the outgoing light beam emitted by the laser diode at the own end is reflected into the water body by the micro-electromechanical galvanometer at the own end. According to the pixel position obtained in step 1, calculate the actual angle of the light outlet at the other end relative to the camera at the own end. The actual angle includes the pitch angle and the yaw angle. Based on the fact that the normal direction of the imaging surface of the camera at the own end is parallel to the initial direction of the outgoing light beam reflected by the micro-electromechanical galvanometer at the own end, calculate and control the inclination angles of the micro-electromechanical galvanometer at the own end in two mutually perpendicular directions according to the principle of mirror reflection to control the direction of the outgoing light beam emitted by the laser diode at the own end. Step 3, repeat step 1-step 2, and keep the outgoing light beam emitted by the laser diode at the end aligned with the photoelectric detector at the other end; Wherein, the step 2 comprises: Step 2.1, calculate the azimuth angle of the camera on the own end: use the offset between the pixel coordinates of the imaging spot and the center coordinates of the collected image to estimate the direction vector of the light outlet on the other end in the camera coordinate system, and use the inverse tangent function to calculate the angle of the light outlet on the other end relative to the camera on the own end in the horizontal and vertical directions; Step 2.2, non-coaxial compensation of the self-end camera and the self-end MEMS galvanometer: Utilize the known distance information between the self-end camera and the light outlet of the opposite end and the relative determined position information of the self-end MEMS galvanometer and the self-end camera to calculate the angular deviation of the self-end MEMS galvanometer and the self-end camera relative to the photodetector of the opposite end, compensate for the angular deviation through the non-coaxial compensation algorithm and control the self-end MEMS.
2. The underwater wireless optical communication beam alignment method based on camera and micro-electromechanical galvanometer according to claim 1 is characterized in that: The step 1 comprises: Step 1.1, image preprocessing: grayscale conversion, Gaussian filtering, and threshold segmentation are performed on the image collected by the camera at the end, and the image area contour greater than the threshold is determined as the area of interest of the outgoing light beam to be determined; Step 1.2, target beam area selection: calculate the average gray value of all regions of interest respectively, and the region of interest with the largest average gray value is preliminarily identified as the region where the light outlet of the opposite end is located; Step 1.3, distinguishing the alignment status: first remove the mean of the contour of the area where the light outlet of the other end is initially identified in the acquired image, and then perform principal component analysis to determine whether the outgoing light beam emitted by the laser diode of the other end and the camera of the own end are in a straight alignment; Step 1.4, identify the position of the light outlet at the opposite end: for the non-facing state, use the principal optical axis method to predict the pixel position of the light outlet at the opposite end in the image captured by the camera at the own end; for the facing state, use the mask method to determine the pixel position of the light outlet at the opposite end in the image captured by the camera at the own end.
