Optical wave-based signal encoding method and electronic device

CN122437613BActive Publication Date: 2026-08-21INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610894170.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-06-18
Publication Date
2026-08-21
Estimated Expiration
2046-06-18

AI Technical Summary

Technical Problem

[0003]本申请提供了基于光波的信号编码方法及电子设备,以至少解决相关技术中信号通过电平传输时转换时间长,且每次传输存在电平上限,影响信号传输效率的问题

Benefits of technology

[0008]通过本申请,获取待发送信号,并确定与待发送信号对应的多个参数相控信号,参数相控信号用于对光波进行调相;根据光波导相控阵和多个参数相控信号,对光源发出的初始光波进行处理,得到干涉光波,光波导相控阵中设置有多个阵元,每个阵元按照一个参数相控信号对初始光波进行调相处理得到一个光波,干涉光波为通过多个阵元得到的多个光波进行干涉后得到的;通过光路装置对干涉光波进行光路处理,得到目标光波,光路处理包括光路反射和光路折射中的至少一种;将目标光波通过光纤传输给接收设备的光感矩阵,以使得接收设备根据目标光波在光感矩阵上的光点位置确定待发送信号。在该方案中,通过光波导相控阵对光波进行干涉,改变光波的传播角度,按照特定的角度通过光路装置和光纤传输到接收端之后形成光感矩阵上的一个光点,以使得接收端可以直接根据光点位置确定发送端所要发送的比特信号,通过光波的形式对通信数据进行编码,不存在电信号的限制,能够在不需要发送端过高的电压精准控制能力和接收端过高电压精准分辨能力的情况下实现高阶编码,实现更加可靠、更高带宽的数据通信传输,提升通信效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122437613B_ABST
    Figure CN122437613B_ABST
Patent Text Reader

Abstract

The application discloses a signal coding method based on light waves and an electronic device, relates to the technical field of signal coding, and comprises the following steps: obtaining a to-be-sent signal, determining a plurality of parameter phased signals corresponding to the to-be-sent signal, and using the parameter phased signals to phase-modulate light waves; processing initial light waves emitted by a light source according to a light waveguide phased array and the plurality of parameter phased signals to obtain interference light waves, the light waveguide phased array is provided with a plurality of array elements, each array element is used to phase-modulate the initial light waves according to a parameter phased signal to obtain a light wave, and the interference light waves are obtained by interference of the plurality of light waves obtained through the plurality of array elements; performing optical path processing on the interference light waves through an optical path device to obtain target light waves, the optical path processing comprises at least one of optical path reflection and optical path refraction; and transmitting the target light waves to a light sensing matrix of a receiving device through an optical fiber, so that the receiving device determines the to-be-sent signal according to the light point position of the target light waves on the light sensing matrix.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of signal coding technology, and in particular to signal coding methods and electronic devices based on light waves. Background Technology

[0002] With the development of popular technologies such as artificial intelligence and big data, the demand for communication speed in systems is constantly increasing. Currently, one way to improve communication speed is to increase the bit rate, which allows the transmission of different numbers of bits at a time by setting different digital signal levels. However, in real-world scenarios, level conversion takes time, and the higher the level, the longer the conversion time and the lower the communication efficiency. Furthermore, because there is an upper limit to level transmission, some signals cannot be transmitted at once, reducing the accuracy and efficiency of signal transmission. Summary of the Invention

[0003] This application provides a signal encoding method and electronic device based on light waves, which at least solves the problems in the related art where the signal conversion time is long when the signal is transmitted by level and there is an upper limit to the level for each transmission, which affects the signal transmission efficiency.

[0004] This application provides a signal encoding method based on light waves, including: The signal to be transmitted is acquired, and multiple phase control signals corresponding to the signal to be transmitted are determined. The phase control signals are used to modulate the phase of the light wave. Based on the optical waveguide phased array and the multiple parameter phased signals, the initial light wave emitted by the light source is processed to obtain an interference light wave. The optical waveguide phased array is provided with multiple array elements. Each array element performs phase modulation processing on the initial light wave according to a parameter phased signal to obtain a light wave. The interference light wave is obtained by interfering the multiple light waves obtained by the multiple array elements. The interference light wave is processed by an optical path device to obtain the target light wave. The optical path processing includes at least one of optical path reflection and optical path refraction. The target light wave is transmitted through an optical fiber to the optical sensing matrix of the receiving device, so that the receiving device can determine the signal to be transmitted based on the position of the light spot of the target light wave on the optical sensing matrix.

[0005] This application also provides a signal encoding device based on optical waves, including: An acquisition module is used to acquire a signal to be transmitted and determine multiple parameter phase control signals corresponding to the signal to be transmitted, wherein the parameter phase control signals are used to modulate the phase of the light wave; The processing module is used to process the initial light wave emitted by the light source according to the optical waveguide phased array and the multiple parameter phased signals to obtain an interference light wave. The optical waveguide phased array is provided with multiple array elements. Each array element performs phase modulation processing on the initial light wave according to a parameter phased signal to obtain a light wave. The interference light wave is obtained by interfering the multiple light waves obtained by the multiple array elements. The processing module is further configured to perform optical path processing on the interference light wave through an optical path device to obtain a target light wave, wherein the optical path processing includes at least one of optical path reflection and optical path refraction; The processing module is further configured to transmit the target light wave to the optical sensing matrix of the receiving device through an optical fiber, so that the receiving device can determine the signal to be transmitted based on the position of the light spot of the target light wave on the optical sensing matrix. This application also provides an electronic device, including: a memory for storing a computer program; and a processor for implementing the steps of any of the above-described light wave-based signal encoding methods when executing the computer program.

[0006] This application also provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, it implements the steps of any of the above-described light wave-based signal encoding methods.

[0007] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the above-described light wave-based signal encoding methods.

[0008] This application obtains a signal to be transmitted and determines multiple phase control signals corresponding to the signal to be transmitted. These phase control signals are used to modulate the phase of the light wave. Based on the optical waveguide phased array and the multiple phase control signals, the initial light wave emitted by the light source is processed to obtain an interference light wave. The optical waveguide phased array has multiple array elements, and each array element modulates the initial light wave according to a phase control signal to obtain a light wave. The interference light wave is obtained by interfering the multiple light waves obtained through the multiple array elements. The interference light wave is processed by an optical path device to obtain a target light wave. The optical path processing includes at least one of optical path reflection and optical path refraction. The target light wave is transmitted through an optical fiber to the optical sensing matrix of a receiving device, so that the receiving device determines the signal to be transmitted based on the position of the target light wave spot on the optical sensing matrix. In this scheme, light waves are interfered with by an optical waveguide phased array to change the propagation angle of the light waves. After being transmitted to the receiving end through an optical path device and optical fiber at a specific angle, they form a light spot on the optical sensing matrix. This allows the receiving end to directly determine the bit signal to be sent by the transmitting end based on the position of the light spot. The communication data is encoded in the form of light waves, without the limitation of electrical signals. This scheme can achieve high-order encoding without requiring the transmitting end to have high voltage precision control capabilities or the receiving end to have high voltage precision resolution capabilities, thus achieving more reliable and higher bandwidth data communication transmission and improving communication efficiency. Attached Figure Description

[0009] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0010] Figure 1 A flowchart of a signal encoding method based on light waves provided in this application embodiment Figure 1 ; Figure 2 This is a schematic diagram of the array element arrangement in the optical waveguide phased array provided in the embodiments of this application; Figure 3 A side view of light wave propagation provided for an embodiment of this application; Figure 4 A top view of light wave propagation provided in an embodiment of this application; Figure 5 A flowchart of a signal encoding method based on light waves provided in this application embodiment Figure 2 ; Figure 6 This is a schematic diagram of the optical transmission path provided in an embodiment of this application; Figure 7 This is a schematic diagram of optical wave phase modulation processing provided in an embodiment of this application; Figure 8 A structural diagram of a light wave-based signal encoding device provided in an embodiment of this application; Figure 9 This is a structural diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

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

[0012] It should be noted that, in the description of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., in this application are used to distinguish similar objects and are not used to describe a specific order or sequence.

[0013] With the development of popular technologies such as artificial intelligence and big data, the demand for communication speed in systems is constantly increasing. One way to increase communication speed is to increase the bit rate. This means that during communication, the sending end can send one symbol (e.g., a voltage level), and the receiving end can parse more bits of signal according to pre-agreed encoding rules. Currently popular encoding methods include NRZ encoding, PAM4 encoding, PAM6 encoding, and PAM8 encoding.

[0014] NRZ encoding divides the level of a digital signal into only two levels: low and high. Low level represents 0, and high level represents 1. When the transmitting end sends one symbol (i.e., one level signal, which can be low or high), the receiving end can determine whether the transmitting end is sending a 0 or a 1 based on the high or low level of the signal.

[0015] The currently popular encoding method is PAM4 encoding. PAM4 encoding divides the digital signal level into four different levels, each level (i.e., symbol) representing two bits. A low level represents the bit signal 00, the next lowest level represents the bit signal 01, the next highest level represents the bit signal 10, and the highest level represents the bit signal 11. When the transmitting end sends one symbol, the receiving end can determine whether the bit signal sent by the transmitting end is 00, 01, 10, or 11 based on the high or low level, thus realizing the function of sending two bits with one symbol.

[0016] In addition to the PAM4 encoding method mentioned above, there are also PAM6 and PAM8 encoding methods in actual communication. These methods divide the level into 6 or 8 different level positions for encoding and communication, so that the receiving end can parse more bits of signal from 1 symbol sent by the transmitting end, thereby further improving communication efficiency.

[0017] However, in actual communication, signal level transitions take a certain amount of time, and the higher the level, the longer the transition time and the lower the communication efficiency. Therefore, regardless of the encoding method, there is an upper limit to the maximum level, which cannot be increased indefinitely.

[0018] Because there is an upper limit to the highest level, the higher the order of the encoding, the smaller the voltage interval between each level. This places higher demands on the voltage control capability of the transmitting end and the voltage resolution capability of the receiving end. Therefore, the order of the encoding cannot be increased indefinitely, which affects the accuracy and efficiency of signal transmission.

[0019] In summary, to solve all or part of the above-mentioned technical problems, this application provides a signal encoding method and electronic device based on optical waves. The method involves acquiring a signal to be transmitted and determining multiple parameter phase control signals corresponding to the signal to be transmitted. These parameter phase control signals are used to modulate the phase of the optical wave. Based on an optical waveguide phased array and the multiple parameter phase control signals, an initial optical wave emitted by a light source is processed to obtain an interference optical wave. The optical waveguide phased array has multiple array elements, each of which modulates the initial optical wave according to a parameter phase control signal to obtain a single optical wave. The interference optical wave is obtained by interfering the multiple optical waves obtained from the multiple array elements. An optical path device is used to process the interference optical wave to obtain a target optical wave. The optical path processing includes at least one of optical path reflection and optical path refraction. The target optical wave is transmitted through an optical fiber to a photosensitive matrix of a receiving device, so that the receiving device determines the signal to be transmitted based on the position of the target optical wave's spot on the photosensitive matrix. In this scheme, light waves are interfered with by an optical waveguide phased array to change the propagation angle of the light waves. After being transmitted to the receiving end through an optical path device and optical fiber at a specific angle, they form a light spot on the optical sensing matrix. This allows the receiving end to directly determine the bit signal to be sent by the transmitting end based on the position of the light spot. The communication data is encoded in the form of light waves, without the limitation of electrical signals. This scheme can achieve high-order encoding without requiring the transmitting end to have high voltage precision control capabilities or the receiving end to have high voltage precision resolution capabilities, thus achieving more reliable and higher bandwidth data communication transmission and improving communication efficiency.

[0020] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0021] like Figure 1 As shown, Figure 1 A flowchart of a light wave-based signal encoding method provided for embodiments of this application is shown. The method may include the following steps: 101. Obtain the signal to be transmitted and determine the multiple phase control signals corresponding to the signal to be transmitted.

[0022] In this embodiment, the signal to be transmitted is the bit signal that the transmitting device currently needs to send, such as 00, 01, 10, 11, etc. After acquiring the signal to be transmitted, multiple parameter phase control signals corresponding to the signal can be determined. These parameter phase control signals can be used to modulate the phase of the light wave. Since this application transmits bit signals in the form of light waves, the transmission of bit signals can be achieved by adjusting parameters such as the phase of the light wave. Therefore, the signal to be transmitted can be converted into multiple parameter phase control signals to adjust the phase of the light wave.

[0023] 102. Based on the optical waveguide phased array and multiple parameter phased signals, the initial light wave emitted by the light source is processed to obtain the interference light wave.

[0024] It should be noted that an optical waveguide phased array can contain multiple array elements. Typically, the array elements in an optical waveguide phased array can be arranged in an array, such as... Figure 2 As shown, the optical waveguide phased array can be configured with 4 array elements, arranged in a 2x2 configuration, and each array element can perform phase modulation and emission of the beam.

[0025] In this embodiment of the application, in order to propagate a signal through a light beam, an initial light wave can be emitted by a light source. The initial light wave can be incident on an optical waveguide phased array. After the initial light wave is processed by multiple array elements in the optical waveguide phased array, an interference light wave can be obtained.

[0026] It should be noted that since an optical waveguide phased array includes multiple array elements, there is a one-to-one correspondence between these multiple array elements and multiple parameter phased signals. That is to say, each array element processes the initial light wave according to a parameter phased signal. Each array element can perform phase modulation processing on the initial light wave according to a parameter phased signal to obtain a light wave. Thus, after the initial light wave is processed by multiple array elements, multiple light waves can be obtained. The phases of these light waves have been adjusted. Therefore, during the propagation process after being emitted, these multiple light waves can interfere, thus obtaining interference light waves.

[0027] In some embodiments, the initial light wave can be a single path, multiple paths, a fixed wavelength, a tunable light source with variable wavelength, or any combination thereof.

[0028] In some embodiments, interference is a common phenomenon during wave propagation. When there are at least two waves, constructive and destructive interference will occur due to phase superposition. Just like when two pebbles are thrown into a calm water surface at the same time, the ripples created by the two pebbles will exhibit superposition and destructive phenomena as they spread outwards.

[0029] like Figure 3 As shown in the side view of wave propagation, the dark and light waveforms on the left represent the waveforms before interference. After the peaks and troughs cancel each other out, the amplitude is 0, which means destructive interference has occurred, and there is no wave at that point. Peaks and peaks superimpose, and troughs and troughs superimpose to form new waves, which means constructive interference has occurred. The amplitude of the new waves is larger, but the frequency remains unchanged.

[0030] like Figure 4 As shown in the top view of wave propagation, Figure 4In the diagram, solid dots represent vibration sources, solid lines represent wave crests, and dashed lines represent wave troughs. As two waves expand outward from their respective sources, wave crests overlap to form new crests (the intersection of the solid lines in the diagram); wave troughs overlap to form new troughs (the intersection of the dashed lines in the diagram), resulting in constructive interference. Conversely, wave crests and troughs cancel each other out, resulting in zero amplitude (i.e., no wave), which is the intersection of the solid and dashed lines in the diagram, resulting in destructive interference.

[0031] It can be observed that when two waves interfere, new waves form at some locations, while the waveform disappears at others. The formation and disappearance of waves depend on the phase of the two waves when they meet. If multiple waves are propagating, and each wave undergoes precise phase modulation, then when they meet and interfere, more new waves will form, or more waveforms will disappear. Furthermore, new waves can be formed only in specific directions; that is, the newly formed waves can be controlled to propagate only in the desired direction, while disappearing in other directions due to the cancellation of wave crests and troughs. This achieves the function of waves propagating in a specific direction.

[0032] Such interference phenomena also occur in electromagnetic waves, which is the working principle of phased array radar. Radar transmits high-frequency electromagnetic waves. The radar system modulates the phase of multiple radar wave transmitting units through electrical signals. These phase-modulated radar beams, emitted from their respective antennas, interfere with each other. Constructive interference occurs only in a preset direction, while destructive interference occurs in other directions, thus achieving the function of transmitting radar beams in a specified direction. The direction of radar beam transmission can be arbitrarily adjusted through phase modulation of electrical signals, enabling rapid scanning of the radar beam in various directions without the need for mechanical rotating parts to rotate the antenna.

[0033] Light, being an electromagnetic wave with a higher frequency than radar waves, also exhibits interference. Optical phased arrays can be used to cause interference in light beams, enabling the emission of optical signals in a specified direction without the need for any mechanical rotating parts. In this application, an optical waveguide phased array can be used to adjust the phase of light waves according to phase control signals, causing multiple emitted light waves to interfere and thus reach subsequent optical path devices at specific angles.

[0034] 103. The interference light wave is processed by an optical path device to obtain the target light wave.

[0035] In this embodiment of the application, the optical path device can perform optical path processing on the propagation optical path of the interference light wave. The optical path processing can include at least one of optical path reflection and optical path refraction. That is, after the light wave is phase-modulated by the optical waveguide phased array, the interference light wave can be emitted and made to arrive at the optical path device at a certain angle. The optical path device can process the optical path of the interference light wave and then emit it out of the optical path device at a certain angle. There can be a certain correspondence between the incident angle of the interference light wave entering the optical path device and the exit angle of the target light wave emitted by the optical path device.

[0036] In some embodiments, the optical path device can be an optical reflection matrix. An optical emission matrix is ​​a mature structural component. The optical reflection matrix is ​​provided with a set of optical reflection devices, which can direct the light beam that has been incident at a specific angle and has undergone interference into the optical fiber at the angle required by the optical fiber. The optical fiber has certain requirements for the incident angle of the light beam.

[0037] 104. The target light wave is transmitted through an optical fiber to the optical sensing matrix of the receiving device, so that the receiving device can determine the signal to be sent based on the position of the light spot of the target light wave on the optical sensing matrix.

[0038] In this embodiment, after the optical path device emits the target light wave, the target light wave can enter the optical fiber at a certain angle and undergo total internal reflection in the optical fiber, thereby transmitting to the receiving device. The receiving device can be equipped with a photosensitive matrix, and the target light wave can fall on the photosensitive matrix to form a light spot. The receiving device can determine the signal to be transmitted corresponding to the position of the light spot based on the position of the light spot. There is a correspondence between the position of the light spot and the signal. This correspondence can be a pre-agreed correspondence between the transmitting device and the receiving device, or it can be a correspondence obtained after optical path testing in advance. That is to say, the receiving device already knows which signal each position of the light spot on the photosensitive matrix corresponds to. Thus, after the target light wave arrives on the photosensitive matrix and forms a light spot, the receiving device can directly determine what signal the transmitting device is sending simply by looking at the position of the light spot.

[0039] In this embodiment, a signal to be transmitted is acquired, and multiple parameter phase control signals corresponding to the signal to be transmitted are determined. The parameter phase control signals are used to modulate the phase of the light wave. According to the optical waveguide phase control array and the multiple parameter phase control signals, the initial light wave emitted by the light source is processed to obtain an interference light wave. The optical waveguide phase control array is provided with multiple array elements. Each array element modulates the initial light wave according to a parameter phase control signal to obtain a light wave. The interference light wave is obtained by interfering the multiple light waves obtained by the multiple array elements. The interference light wave is optically processed by an optical path device to obtain a target light wave. The optical path processing includes at least one of optical path reflection and optical path refraction. The target light wave is transmitted to the optical sensing matrix of the receiving device through an optical fiber, so that the receiving device determines the signal to be transmitted according to the position of the light spot of the target light wave on the optical sensing matrix. In this scheme, light waves are interfered with by an optical waveguide phased array to change the propagation angle of the light waves. After being transmitted to the receiving end through an optical path device and optical fiber at a specific angle, they form a light spot on the optical sensing matrix. This allows the receiving end to directly determine the bit signal to be sent by the transmitting end based on the position of the light spot. The communication data is encoded in the form of light waves, without the limitation of electrical signals. This scheme can achieve high-order encoding without requiring the transmitting end to have high voltage precision control capabilities or the receiving end to have high voltage precision resolution capabilities, thus achieving more reliable and higher bandwidth data communication transmission and improving communication efficiency.

[0040] like Figure 5 As shown, Figure 5 Another flowchart of a light wave-based signal encoding method provided for embodiments of this application, the method may include the following steps: 501. Obtain the signal to be sent.

[0041] 502. According to the preset phase modulation rules, determine multiple phase control signals corresponding to the signal to be transmitted.

[0042] In this embodiment, since phase modulation of light waves requires interference at a specific angle, phase modulation cannot be arbitrary. It must be performed according to a specific phase modulation angle. This phase modulation angle and the signal can have a corresponding relationship. That is, when a signal needs to be transmitted, the corresponding phase modulation angle can be determined so that the optical waveguide phased array modulates the light wave using this angle. Therefore, this phase modulation rule can be used to indicate the correspondence between the signal and the phase modulation angle, and to generate parameter phase control signals based on the phase modulation angle corresponding to the signal to be transmitted. Since the optical waveguide phased array includes multiple array elements that perform phase modulation on the light waves, each array element needs to correspond to a phase modulation angle. Therefore, multiple parameter phase control signals corresponding to the signal to be transmitted can be generated. In other words, the parameter phase control signals are signals generated based on the phase modulation angle corresponding to the signal to be transmitted. Each parameter phase control signal indicates a phase modulation angle so that an array element in the optical waveguide phased array modulates the light wave according to the phase modulation angle indicated by a parameter phase control signal.

[0043] In some embodiments, before determining the multiple phase control signals corresponding to the signal to be transmitted according to a preset phase modulation rule, the method may further include: acquiring a test signal and a test spot position on the optical sensing matrix corresponding to the test light wave, wherein the test spot position is the position on the optical sensing matrix after the test light wave has undergone phase modulation processing of the array elements, optical path processing of the optical path device, and transmission through the optical fiber; determining the test transmission path of the test light wave in the optical fiber based on the relative positional relationship between the optical fiber and the optical sensing matrix and the test spot position; determining the emission angle of the test light wave on the optical path device corresponding to the test transmission path based on the test transmission path; calculating the test phase modulation angle corresponding to each array element based on the positional relationship of each array element in the optical waveguide phase control array, the wavelength of the test light wave, and the emission angle of the test light wave; and obtaining the phase modulation rule based on the test phase modulation angle corresponding to each array element and the test signal.

[0044] It should be noted that, in order to determine how the light wave needs phase modulation processing when transmitting different signals, a test signal can be used for pre-testing. During the test, the transmitting device needs to send the test signal, and the receiving device can determine the photoelectric position of the test signal upon arrival at the photosensitive matrix. That is, at this point, the starting position of the light wave emitted by the transmitting device and the destination position received by the receiving device have been determined, and the transmission path of this light wave is the same as the transmission path of the light wave in this application. In other words, throughout the entire optical path propagation, if... Figure 6 As shown, since the relative positions of the array elements, optical path devices, optical fibers, and optical sensing matrix are all fixed, the phase of the phase-modulated light wave output by the array elements can be obtained by inversely calculating the position of the light spot on the final optical sensing matrix.

[0045] Specifically, the test signal and its photoelectric position on the photosensitive matrix can be determined first, along with the entire optical path, such as... Figure 6 As shown, the optical sensing matrix is ​​preceded by an optical fiber. This means that after the light wave propagates through the optical fiber, it reaches the optical sensing matrix. Therefore, based on the relative positional relationship between the optical sensing matrix and the optical fiber, as well as the test spot position, the test transmission path of the test light wave in the optical fiber can be deduced. Since the light wave undergoes total internal reflection in the optical fiber, the incident and exit angles of the test light wave on the optical fiber can be determined. Since the optical fiber is preceded by an optical path device, the emission angle of the test light wave on the optical path device can be determined based on the incident angle of the test light wave on the optical fiber. This emission angle can be considered as the angle at which the light wave output from the array element reaches the optical path device after interference. At this point, the test phase angle corresponding to each array element can be calculated based on the positional relationship of each array element in the waveguide phased array, the wavelength of the test light wave, and the emission angle of the test light wave. Through this test phase angle, the correspondence between the phase angle and the signal can be determined. Following the above steps, different test signals are sent sequentially, thus obtaining the phase angle corresponding to each test signal, thereby determining the phase modulation rule.

[0046] Furthermore, based on the positional relationship of each element in the optical waveguide phased array, the wavelength of the test light wave, and the emission angle of the test light wave, the test phase angle corresponding to each element is calculated. Specifically, this may include: obtaining the element spacing between adjacent elements and the relative coordinates of each element; calculating the horizontal phase difference between adjacent elements based on the horizontal direction angle included in the emission angle of the test light wave, the element spacing, and the wavelength of the test light wave; calculating the elevation phase difference between adjacent elements based on the elevation direction angle included in the emission angle of the test light wave, the element spacing, and the wavelength of the test light wave; and determining the test phase angle corresponding to each element based on the phase of the reference element, the horizontal phase difference, and the elevation phase difference.

[0047] It should be noted that the array elements in the optical waveguide phased array are distributed in a square shape in the plane, and the spacing dx and dy between the array elements are approximately equal to half the wavelength of the light source, so as to meet the requirements of grating lobe suppression, that is, to minimize the prominence of the main lobe (the main beam formed after constructive interference) and suppress the side lobes (the secondary beams left after destructive interference) as much as possible.

[0048] In this embodiment of the application, taking a 2x2 element optical waveguide phased array as an example, the angle of the emitted light wave after interference is α in the X-axis direction and β in the Y-axis direction. Assuming that the emitted light beams after interference are only emitted in four directions (α=-10°, β=10°), (α=10°, β=10°), (α=-10°, β=-10°), and (α=10°, β=-10°), then four light spots will be projected on the optical sensing matrix, namely up, down, left, and right. At this point, the coordinates (x, y) of the four array elements are (0, 0), (0, 1), (1, 0), and (1, 1), with m=0 / 1 as the X-direction index and n=0 / 1 as the Y-direction index. Taking array element (0, 0) as the reference, α is the horizontal direction angle of the interferometric beam on the X-axis, β is the elevation direction angle of the interferometric beam on the Y-axis, the wavelength of the test light wave is λ=1550nm, and the array element spacing is dx=dy≈λ / 2=775nm. At this point, the phase angle corresponding to each signal can be calculated by sending different test signals.

[0049] Specifically, to achieve the horizontal beam exit angle α, the phase difference between adjacent array elements in the X direction must be expressed as:

[0050] To achieve the elevation beam exit angle β, the phase difference between adjacent array elements in the Y direction must be expressed as:

[0051] in, and These represent the phase differences between adjacent array elements in the horizontal and pitch directions, respectively. y and dy are the spacing between adjacent array elements in the horizontal direction and the spacing between adjacent array elements in the pitch direction, α is the horizontal direction angle of the interferometric beam on the X-axis, β is the pitch direction angle of the interferometric beam on the Y-axis, and λ is the wavelength of the test light wave.

[0052] Using the above formula, when the emitted beams from the four array elements interfere and superimpose in the direction (α=10°, β=10°) to form the main lobe of the beam, with array element (0,0) as the reference, the phase adjustment angle of each array element is: The phase offset formula for the array element (0,0) is φ(0,0) = 0 (reference), and the final phase angle is 0; The phase offset formula for array element (0,1) is φ(0,1) = n*Δφ(y), n=1, and the final phase angle is 1*0.54=0.54 rad=31°; The phase offset formula for array element (1,0) is φ(1,0) = m*Δφ(x), m=1, and the final phase angle is 1*0.54=0.54 rad=31°; The phase offset formula for array element (1,1) is φ(1,1) = m*Δφ(x) + n*Δφ(y), and the final phase angle is 0.54 + 0.54 = 1.08 rad = 62°. In other words, when the four array elements in the optical waveguide phased array adjust the phase of the light wave according to the phase angles of 0, 31°, 31° and 62°, the main lobe of the emitted beam is precisely pointed to (x, y) as (10°, 10°), and after passing through the optical path device and optical fiber transmission, it can reach the corresponding position on the optical sensing matrix.

[0053] According to the above formula, calculate the phase modulation angle corresponding to each signal to obtain the correspondence between the signals and the phase modulation angles shown in the table below, i.e., the phase modulation rules.

[0054] Table 1. Correspondence between signal and phase modulation angle (i.e., phase modulation rules)

[0055] When the system needs to send the signal 00 of signal PAM4, it only needs to control the phase control signal of each array element to make each array element phase-modulate according to the phase modulation angle (0, 31, 31, 62) to obtain the emitted light at the emission angle position (10°, 10°). The emitted light hits a certain area on the optical sensing matrix through the optical fiber, and the receiving end outputs the 00 signal.

[0056] When the system needs to send signal 01 of signal PAM4, we only need to control the phase control signal of each array element to make each array element phase-modulate according to the phase modulation angle (0, 31, -31, 0) to obtain the emitted light at the emission angle position (-10°, 10°). The emitted light hits another area on the optical sensing matrix through the optical fiber, and the receiving end outputs signal 01.

[0057] When the system needs to send signal 10 of signal PAM4, we only need to control the phase control signal of each array element to make each array element phase-modulate according to the phase modulation angle (0, -31, 31, 0) to obtain the emitted light at the emission angle position (10°, -10°). The emitted light hits another area on the optical sensing matrix through the optical fiber, and the receiving end outputs signal 10.

[0058] When the system needs to send signal 11 of signal PAM4, we only need to control the phase control signal of each array element to make each array element phase-modulate according to the phase modulation angle (0, 31, 31, 62) to obtain the emitted light at the emission angle position (-10°, -10°). The emitted light hits another area on the optical sensing matrix through the optical fiber, and the receiving end outputs signal 11.

[0059] In this application embodiment, since the signal encoding and transmission is performed by the transmission of light waves and the position of the light spot reaching the receiving device, in order for the light waves to reach the position corresponding to the signal, the light waves need to be precisely interfered so that they can be transmitted at a specific angle. Therefore, it is necessary to determine the phase modulation angle corresponding to each signal in advance so that the phase-modulated light waves can have ideal interference, which can improve the reliability and accuracy of signal encoding and transmission.

[0060] 503. The initial light wave is split into multiple beams by using a beam splitter in the optical waveguide phased array.

[0061] In this embodiment of the application, since the optical waveguide phased array includes multiple array elements, and each array element needs to modulate the phase of the optical wave, in order to avoid repeated phase modulation, the initial optical wave can be split by a beam splitter in the optical waveguide phased array. That is, the initial optical wave is divided into multiple split optical waves, and the number of split optical waves can be the same as the number of array elements.

[0062] 504. Multiple beams of light are phase-modulated by multiple array elements in an optical waveguide phased array according to multiple parameter phased signals to obtain multiple light waves, so that multiple light waves interfere to obtain interference light waves.

[0063] In this embodiment, after obtaining multiple beam-splitting light waves, multiple array elements can be used to perform phase modulation processing on the multiple beam-splitting light waves respectively. Here, one array element performs phase modulation processing on one beam-splitting light wave to obtain one phase-modulated light wave. That is to say, there is a one-to-one correspondence between multiple array elements and multiple beam-splitting light waves. During phase modulation, multiple parameter phase control signals corresponding to the signal to be transmitted can be used. The number of beam-splitting light waves, the number of array elements, and the number of parameter phase control signals are all the same. One array element performs phase modulation processing on one beam-splitting light wave according to one parameter phase control signal to obtain one light wave. Thus, the multiple light waves output by multiple array elements can interfere to obtain an interference light wave.

[0064] In some embodiments, such as Figure 7 As shown, the initial light wave emitted by the light source is split into four beams by a beam splitter, each entering an array element. Each array element may include a phase shifter and a waveguide grating. The beam splitter is responsible for evenly distributing the light wave emitted by the light source to each optical path. The phase shifter is used to adjust the phase angle of the beam, and can be implemented based on principles such as thermo-optic effect, electro-optic effect, acousto-optic effect, MEMS technology, or charge modulation. The waveguide grating is used to transmit the beam (equivalent to an antenna for wireless communication). An array element is the collective term for the phase shifter and waveguide grating within an optical waveguide phased array.

[0065] In some embodiments, optical phase modulation utilizes the characteristic of electro-optic materials to achieve rapid phase shift by abruptly changing the refractive index under the action of an electric field. The core is the Pockels effect (linear electro-optic effect) or the Kerr effect (nonlinear electro-optic effect). Commonly used materials include silicon-based materials, silicon nitride, titanium-diffused lithium niobate, gallium arsenide, aluminum gallium arsenide, gallium nitride, or gallium oxide to make waveguides or device bodies. Electrodes are placed on both sides of the material. When a voltage is applied to form an electric field, the refractive index of the material will change precisely with the electric field strength, and the phase of light propagating in it will change accordingly, thereby realizing the optical phase modulation function.

[0066] In this embodiment, the initial light wave is divided into multiple light waves by a beam splitter, and each light wave is phase-modulated by an array element. In this way, the array element can precisely phase-modulate the light waves so that the multiple light waves interfere and transmit at a specific angle, thereby changing the beam angle and achieving precise signal encoding.

[0067] 505. The target light wave is obtained by optical path processing of the interference light wave through an optical path device.

[0068] 506. The target light wave is transmitted through an optical fiber to the optical sensing matrix of the receiving device, so that the receiving device can determine the position of the light spot on the optical sensing matrix of the target light wave, and determine the signal corresponding to the position of the light spot on the optical sensing matrix according to the pre-stored signal encoding rules.

[0069] In this embodiment, after the target light wave is transmitted to the receiving device via optical fiber, the receiving device can receive the target light wave through a photosensitive matrix. The target light wave can form a light spot on the photosensitive matrix. The receiving device can determine the signal corresponding to the position of the light spot based on the position of the light spot. There is a correspondence between the position of the light spot and the signal. Therefore, the receiving device can determine the signal corresponding to the position of the light spot on the photosensitive matrix according to the pre-stored signal encoding rules. The signal encoding rules can be rules agreed upon in advance by the transmitting device and the receiving device. That is, the transmitting device and the receiving device have agreed that which position of the light spot on the photosensitive matrix corresponds to which specific signal.

[0070] In some embodiments, before transmitting the target light wave through an optical fiber to the optical sensing matrix of the receiving device, so that the receiving device can determine the position of the light spot on the optical sensing matrix of the target light wave, and determine the signal corresponding to the position of the light spot on the optical sensing matrix according to a pre-stored signal encoding rule, the method may further include: sequentially determining the parameter phased array training signals corresponding to each training signal in a preset order; processing the training light wave emitted by the light source based on the optical waveguide phased array and the parameter phased array training signals corresponding to each training signal to obtain the training interference light wave corresponding to each training signal; performing optical path processing on the training interference light wave through an optical path device to obtain the target training light wave; transmitting the target training light wave through an optical fiber to the optical sensing matrix of the receiving device, so that the receiving device can determine the position of the light spot on the optical sensing matrix of the target training light wave as the position of the training light spot corresponding to the training signal, and summarizing the positions of the light spots corresponding to each training signal to obtain the signal encoding rule.

[0071] It should be noted that the generation of this signal encoding rule can be understood as a pre-agreed process between the transmitting and receiving devices. That is, when the receiving device passes through a light spot on the photosensitive matrix for the first time, it does not know whether the signal corresponding to this light spot is 00, 01, 10, or 11. Therefore, optical path training can be performed in advance. That is, after each power-on, the transmitting device can send a series of specific signals in a certain order. For example, the transmitting device sends training signals in the order of 00, 01, 10, and 11. The photosensitive matrix of the receiving device will detect four light spots in sequence. According to the agreement, the first light spot detected represents 00, the second light spot detected represents 01, the third light spot detected represents 10, and the fourth light spot detected represents 11. In this way, the position of the light spot corresponding to each signal can be recorded.

[0072] In the above process, the transmission of training signals is the same as the transmission of signals to be transmitted in this application. After determining multiple training signals, the corresponding parameter phased array training signals for each training signal can be determined separately. Multiple array elements in the optical waveguide phased array are used to phase-modulate the training light waves according to the parameter phased array training signals, so that the phase-modulated training light waves interfere at a specific angle, resulting in training interference light waves. Then, the training interference light waves are processed by an optical path device to obtain the target training light wave. Finally, the target training light wave is transmitted to the optical sensing matrix of the receiving device via optical fiber, forming light spots on the optical sensing matrix. Since the transmitting device transmits the training signals in a preset order, the receiving device also receives the light spots on the optical sensing matrix in the same preset order. Therefore, the receiving device can associate the position of each light spot with the transmitted training signal in the preset order, thus knowing which signal corresponds to which light spot, i.e., obtaining the signal encoding rule. In subsequent signal transmissions, the receiving device only needs to receive the light spots through the optical sensing matrix to directly determine the transmitted signal based on the light spot position.

[0073] In some embodiments, during the process of transmitting the target light wave to the optical sensing matrix of the receiving device through the optical fiber, since there is a certain distance between the optical fiber and the optical sensing matrix, and the light wave incident on the optical sensing matrix has a certain angle, the distance between the optical fiber and the optical sensing matrix can be appropriately adjusted. As long as the distance between each light point is large enough, it is possible to accurately identify which area of ​​the optical sensing matrix the light point falls on. Then, according to the agreed encoding rules, the position information is converted into a digital signal, thus achieving the purpose of long-distance signal transmission.

[0074] In some embodiments, the light spot falling on a region within the photosensitive matrix does not necessarily have to fall exactly at the center point of that region. The photosensitive matrix can be divided into several non-overlapping regions. As long as the light spot falls within one of these regions, it is considered to represent the digital signal at the center point of that region. For example, if a light spot at the center point of region A represents a signal of 00 transmitted by the transmitting device, then as long as a light spot is detected at any location within region A, the receiving device can output 00. In this way, even if there is some interference during data transmission, or if the angle of the beam emitted by the transmitting device is not very precise, it will not affect the receiving device's correct identification and output of the digital signal.

[0075] In this embodiment of the application, the receiving device can determine the bit signal corresponding to the position of the light spot based on the position of the light spot. The correspondence between the position of the light spot and the bit signal can be agreed upon in advance by the transmitting device and the receiving device through the transmission process of the training signal. In this way, when the receiving device detects the light spot, it can know the signal sent by the transmitting device, which improves the efficiency of signal transmission and the accuracy of signal encoding.

[0076] 507. When the signal corresponding to the position of the light spot on the photosensitive matrix determined by the receiving device is different from the signal to be transmitted, output signal transmission abnormality information.

[0077] In this embodiment of the application, during the signal transmission process, the light wave may be affected by various environmental factors or equipment factors, causing the position of the light spot arriving on the optical sensing matrix to be different from the position corresponding to the signal. In this case, the signal determined by the receiving device based on the position of the light spot is different from the signal to be transmitted by the transmitting device. At this time, it can be considered that the signal transmission has been abnormal, and then the signal transmission abnormality information can be output so that the staff can detect each device on the optical path based on the signal transmission abnormality information, or retransmit the signal to be transmitted, or retrain the optical path to obtain a new signal encoding rule.

[0078] In some embodiments, when the transmitting device sends a signal to be transmitted, it may simultaneously send a check code. The check code can indicate the specific bit position of the signal to be transmitted. After receiving the check code, the receiving device can calculate the bit position of the signal sent by the transmitting device based on the check code. Then, the receiving device determines the signal corresponding to the position of the light spot on the optical matrix. If the signal determined based on the check code is different from the signal corresponding to the position of the light spot, it can be determined that the current signal transmission has become abnormal.

[0079] In some embodiments, the signals described in this application are all PAM4 encoded, that is, when the transmitting device sends a signal, the receiving device can parse it into a 2-bit signal (00, 01, 10, 11). Of course, higher-order encoding can also be implemented, which requires the array elements to be adjustable with more phase angles in order to emit beams at more angles. The more beams of light hit the photosensitive matrix at more angles, the closer the distance between the light spots is, and the more difficult it is to distinguish the positional differences of each light spot. Therefore, the light spots (main lobe) need to be brighter and the secondary light spots (side lobes) need to be weaker. Therefore, this function can be achieved by using more array elements.

[0080] The number of array elements affects the brightness of the main lobe and the number and density of the side lobes: fewer array elements (e.g., 2x2, 4x4) result in fewer and sparser side lobes, with a higher main lobe brightness and lower side lobe brightness (energy percentage 10%~30%). When all beams hit the plane, one relatively bright main light spot and a few weaker secondary light spots can be seen visually. More array elements (e.g., 32x32, 128x128) result in more and denser side lobes (symmetrically arranged), with a higher main lobe brightness and lower side lobe brightness (energy percentage <5%). When all beams hit the plane, one brighter main light spot can be seen visually, surrounded by a ring of "weak and dense small secondary light spots" (discontinuous halo).

[0081] In some embodiments, this application achieves multiple angles of light wave incidence through an optical waveguide phase matrix. Based on this, if another optical waveguide phase matrix is ​​introduced, the two sets of optical waveguide phase arrays can emit light beams at different angles simultaneously, which is equivalent to forming different transmission paths within the optical fiber.

[0082] When data A is to be transmitted, the first optical waveguide phased array sends data A, while the other optical waveguide phased array simultaneously sends A'. After the receiving device receives A and A', it performs verification, which makes the received data A more reliable and greatly improves the reliability of data transmission.

[0083] When you want to transmit data A and B, the first optical waveguide phased array sends data A, while the second optical waveguide phased array sends data B. In this way, the receiving device receives both A and B at the same time, which can greatly improve the data transmission efficiency.

[0084] Furthermore, if the two optical waveguide phased arrays use light sources of different wavelengths or tunable light sources with variable wavelengths, allowing beams of different wavelengths to propagate in the light, crosstalk during beam propagation in the optical fiber can be further prevented, thereby further improving the reliability or efficiency of data transmission.

[0085] In the embodiments of this application, the signal determined by the receiving device based on the position of the light spot can be verified in various ways. If it is different from the signal sent by the transmitting device, it means that the signal has been affected during transmission, and troubleshooting is required. This effectively improves the accuracy of signal transmission.

[0086] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method.

[0087] like Figure 8 As shown, embodiments of this application also provide a light wave-based signal encoding device, which may include: The acquisition module 801 is used to acquire the signal to be transmitted and determine multiple parameter phase control signals corresponding to the signal to be transmitted. The parameter phase control signals are used to modulate the phase of the light wave. The processing module 802 is used to process the initial light wave emitted by the light source according to the optical waveguide phased array and multiple parameter phased signals to obtain the interference light wave. The optical waveguide phased array is provided with multiple array elements. Each array element performs phase modulation processing on the initial light wave according to a parameter phased signal to obtain a light wave. The interference light wave is obtained by interfering the multiple light waves obtained by the multiple array elements. The processing module 802 is also used to perform optical path processing on the interference light wave through the optical path device to obtain the target light wave. The optical path processing includes at least one of optical path reflection and optical path refraction. The processing module 802 is also used to transmit the target light wave to the optical sensing matrix of the receiving device through optical fiber, so that the receiving device can determine the signal to be sent based on the position of the light spot of the target light wave on the optical sensing matrix.

[0088] In some embodiments, the processing module 802 is specifically used to perform beam splitting processing on the initial light wave through the beam splitter in the optical waveguide phased array to obtain multiple split light waves; The processing module 802 is specifically used to perform phase modulation processing on multiple beam-splitting light waves according to multiple phase control signals of multiple array elements in the optical waveguide phased array, so as to obtain multiple light waves, and obtain interference light waves after the multiple light waves interfere.

[0089] In some embodiments, the processing module 802 is specifically used to determine multiple parameter phase control signals corresponding to the signal to be transmitted according to a preset phase modulation rule. The phase modulation rule is used to indicate the correspondence between the signal and the phase modulation angle, and the parameter phase control signal is a signal generated according to the phase modulation angle corresponding to the signal to be transmitted.

[0090] In some embodiments, the acquisition module 801 is further configured to acquire the test signal and the test spot test position on the photosensitive matrix corresponding to the test light wave. The test spot test position is the position on the photosensitive matrix after the test light wave has undergone phase modulation processing of the array elements, optical path processing of the optical path device, and transmission through the optical fiber. The processing module 802 is also used to determine the test transmission path of the test light wave in the optical fiber based on the relative positional relationship between the optical fiber and the optical sensing matrix and the test position of the light spot. The processing module 802 is also used to determine the test light wave emission angle on the optical path device corresponding to the test transmission path, based on the test transmission path. The processing module 802 is also used to calculate the test phase angle corresponding to each array element based on the positional relationship of each array element in the optical waveguide phased array, the wavelength of the test light wave, and the emission angle of the test light wave. The processing module 802 is also used to obtain the phase modulation rule based on the test phase modulation angle and test signal corresponding to each array element.

[0091] In some embodiments, the acquisition module 801 is specifically used to acquire the array element spacing between adjacent array elements and the relative coordinates of each array element; The processing module 802 is specifically used to calculate the horizontal phase difference between adjacent array elements based on the horizontal direction angle, the array element spacing, and the wavelength of the test light wave, which are included in the test light wave emission angle. The processing module 802 is specifically used to calculate the pitch phase difference between adjacent array elements based on the pitch direction angle, array element spacing, and wavelength of the test light wave emission angle. The processing module 802 is specifically used to determine the test phase angle corresponding to each array element based on the phase, horizontal phase difference and pitch phase difference of the reference array element.

[0092] In some embodiments, the processing module 802 is specifically used to transmit the target light wave to the photosensitive matrix of the receiving device through an optical fiber, so that the receiving device can determine the position of the light spot on the photosensitive matrix of the target light wave, and determine the signal corresponding to the position of the light spot on the photosensitive matrix according to the pre-stored signal encoding rules.

[0093] In some embodiments, the processing module 802 is further configured to determine the parameter phased array training signals corresponding to each training signal in a preset order. The processing module 802 is also used to process the training light waves emitted by the light source based on the optical waveguide phased array and the parameter phased training signals corresponding to each training signal, so as to obtain the training interference light waves corresponding to each training signal. The processing module 802 is also used to perform optical path processing on the training interference light wave through the optical path device to obtain the target training light wave; The processing module 802 is also used to transmit the target training light wave to the optical sensing matrix of the receiving device through optical fiber, so that the receiving device determines the light spot position of the target training light wave on the optical sensing matrix as the training light spot position corresponding to the training signal, and summarizes the light spot positions corresponding to each training signal to obtain the signal encoding rule.

[0094] In some embodiments, the processing module 802 is further configured to output signal transmission abnormality information when it detects that the signal corresponding to the position of the light spot on the photosensitive matrix determined by the receiving device is different from the signal to be transmitted.

[0095] In some embodiments, the interference light wave is a light wave obtained by superimposing the peaks and troughs of multiple light waves during the propagation of multiple light waves after phase modulation processing of multiple array elements, and canceling out the peaks and troughs of multiple light waves.

[0096] For a description of the features in the embodiment of the signal encoding device based on light waves, please refer to the relevant description of the embodiment of the signal encoding method based on light waves, which will not be repeated here.

[0097] like Figure 9As shown, embodiments of this application also provide an electronic device, including a memory 901 and a processor 902. The memory 901 stores a computer program, and the processor 902 is configured to run the computer program to perform the steps in any of the above-described embodiments of the light wave-based signal encoding method.

[0098] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above-described embodiments of the light wave-based signal encoding method.

[0099] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0100] The embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above embodiments of the light wave-based signal encoding method.

[0101] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in any of the above embodiments of the light wave-based signal encoding method.

[0102] Any of the components, modules, units, parts, methods, and operations described herein can be implemented using software, firmware, hardware (e.g., fixed logic circuitry), manual processing, or any combination thereof. Alternatively or additionally, any functionality described herein can be executed at least in part by one or more hardware logic components, such as, but not limited to, a central processing unit (CPU), a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), an application-specific standard product (ASSP), a system-on-a-chip (SoC), a complex programmable logic device (CPLD), a microprocessor (MCU), etc. The terms "system," "computing device," or "apparatus" as used herein encompass various means, devices, and machines for processing data, including, for example, one or more programmable processors, computers, SoCs, or combinations thereof. The apparatus may also include code that creates an execution environment for the computer program in question, such as code constituting processor firmware, a protocol stack, a database management system, an operating system, a cross-platform runtime environment, a virtual machine, or one or more combinations thereof. The aforementioned computer program (also known as a program, software, software application, app, script, or code) can be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and can be deployed in any form, including as a standalone program or as a module, component, subroutine, object, or other unit suitable for a computing environment.

[0103] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0104] The foregoing has provided a detailed description of a light wave-based signal encoding method and electronic device. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and its core ideas. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this application.

Claims

1. A signal encoding method based on optical waves, characterized in that, The method includes: The signal to be transmitted is acquired, and multiple phase control signals corresponding to the signal to be transmitted are determined. The phase control signals are used to modulate the phase of the light wave. Based on the optical waveguide phased array and the multiple parameter phased signals, the initial light wave emitted by the light source is processed to obtain an interference light wave. The optical waveguide phased array is provided with multiple array elements. Each array element performs phase modulation processing on a beam-splitting light wave according to a parameter phased signal to obtain a light wave. The beam-splitting light wave is obtained after beam splitting the initial light wave. The interference light wave is obtained by interfering the multiple light waves obtained through the multiple array elements. The interference light wave is processed by an optical path device to obtain the target light wave. The optical path processing includes at least one of optical path reflection and optical path refraction. The target light wave is transmitted through an optical fiber to the optical sensing matrix of the receiving device, so that the receiving device can determine the signal to be transmitted based on the position of the light spot of the target light wave on the optical sensing matrix and the pre-stored signal encoding rules.

2. The method according to claim 1, characterized in that, The process of processing the initial light wave emitted by the light source to obtain an interference light wave based on the optical waveguide phased array and the multiple phased array parameters includes: The initial light wave is split into multiple split light waves by the beam splitter in the optical waveguide phased array. The multiple array elements in the optical waveguide phased array are used to perform phase modulation processing on the multiple beam splitting light waves according to the multiple parameter phased signals to obtain the multiple light waves, so that the multiple light waves interfere to obtain the interference light wave.

3. The method according to claim 1, characterized in that, The determination of multiple phase control signals corresponding to the signal to be transmitted includes: According to a preset phase modulation rule, multiple parameter phase control signals corresponding to the signal to be transmitted are determined. The phase modulation rule is used to indicate the correspondence between the signal and the phase modulation angle. The parameter phase control signals are signals generated based on the phase modulation angle corresponding to the signal to be transmitted.

4. The method according to claim 3, characterized in that, Before determining the multiple phase control signals corresponding to the signal to be transmitted according to the preset phase modulation rules, the method further includes: Acquire the test signal and the test spot test position on the optical sensing matrix corresponding to the test light wave. The test spot test position is the position on the optical sensing matrix after the test light wave has undergone phase modulation processing of the array elements, optical path processing of the optical path device, and transmission through the optical fiber. The test transmission path of the test light wave in the optical fiber is determined based on the relative positional relationship between the optical fiber and the optical sensing matrix and the test position of the light spot. Based on the test transmission path, determine the test light wave emission angle on the optical path device corresponding to the test transmission path; Based on the positional relationship of each array element in the optical waveguide phased array, the wavelength of the test light wave, and the emission angle of the test light wave, the test phase angle corresponding to each array element is calculated. The phase modulation rule is obtained based on the test phase modulation angle corresponding to each array element and the test signal.

5. The method according to claim 4, characterized in that, The step of calculating the test phase angle corresponding to each array element based on the positional relationship of each array element in the optical waveguide phased array, the wavelength of the test light wave, and the emission angle of the test light wave includes: Obtain the spacing between adjacent array elements, and the relative coordinates of each array element; The horizontal phase difference between adjacent array elements is calculated based on the horizontal direction angle included in the test light wave emission angle, the array element spacing, and the wavelength of the test light wave. The elevation phase difference between adjacent array elements is calculated based on the elevation direction angle included in the test light wave emission angle, the array element spacing, and the wavelength of the test light wave. The test phase angle corresponding to each array element is determined based on the phase of the reference array element, the horizontal phase difference, and the pitch phase difference.

6. The method according to claim 1, characterized in that, The step of transmitting the target light wave to the optical sensing matrix of the receiving device via optical fiber, so that the receiving device determines the signal to be transmitted based on the position of the light spot of the target light wave on the optical sensing matrix, includes: The target light wave is transmitted through the optical fiber to the photosensitive matrix of the receiving device, so that the receiving device can determine the position of the light spot of the target light wave on the photosensitive matrix and determine the signal corresponding to the position of the light spot on the photosensitive matrix according to the pre-stored signal encoding rules.

7. The method according to claim 6, characterized in that, Before transmitting the target light wave through the optical fiber to the photosensitive matrix of the receiving device, so that the receiving device can determine the position of the light spot of the target light wave on the photosensitive matrix, and determine the signal corresponding to the position of the light spot on the photosensitive matrix according to a pre-stored signal encoding rule, the method further includes: According to the preset order, the parameter phased array training signals corresponding to each training signal are determined in sequence; Based on the optical waveguide phased array and the parameter phased training signals corresponding to each training signal, the training light waves emitted by the light source are processed to obtain the training interference light waves corresponding to each training signal. The training interference light wave is processed by the optical path device to obtain the target training light wave; The target training light wave is transmitted through the optical fiber to the optical sensing matrix of the receiving device, so that the receiving device determines the position of the light spot of the target training light wave on the optical sensing matrix as the position of the training light spot corresponding to the training signal, and summarizes the positions of the light spots corresponding to each training signal to obtain the signal encoding rule.

8. The method according to claim 6, characterized in that, After transmitting the target light wave through the optical fiber to the photosensitive matrix of the receiving device, so that the receiving device can determine the position of the light spot of the target light wave on the photosensitive matrix, and determine the signal corresponding to the position of the light spot on the photosensitive matrix according to a pre-stored signal encoding rule, the method further includes: When the signal corresponding to the position of the light spot on the optical sensing matrix determined by the receiving device is different from the signal to be transmitted, the signal transmission error information is output.

9. The method according to claim 1, characterized in that, The interference light wave is the light wave obtained by superimposing the peaks and troughs of the multiple light waves during the propagation process of the multiple light waves after phase modulation processing of the multiple array elements, and canceling out the peaks and troughs of the multiple light waves.

10. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the light wave-based signal encoding method as described in any one of claims 1 to 9 when executing the computer program.

Citation Information

Patent Citations

  • Structured light three-dimensional detection system, method and device based on optical phased array coding

    CN119437040A

  • Coherence-correlation optical time domain reflection detection method and system

    CN121711014A