Underwater LIFI (Light Fidelity) communication system, method, equipment and medium
By adopting LIFI communication technology in underwater communication and using optical signals to simulate the I2C communication protocol, the signal blur problem caused by noise interference in water acoustic communication is solved, efficient and accurate underwater multi-machine collaborative communication is achieved, and system costs are reduced.
Patent Information
- Application Number
- CN202411590899.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-03-25
AI Technical Summary
In the existing underwater communication technology, water acoustic communications are blurred due to noise interference from the marine environment, making it difficult to achieve efficient and accurate multi-machine collaborative communication.
By adopting LIFI communication technology, the data line and clock line of the I2C communication protocol are simulated by the optical signal transmission between the transmitting device and the receiving device, and the wavelength of the optical signal is controlled by the light emission state of the first light source and the second light source to realize the transmission of data and clock signals.
Through optical signal transmission, the attenuation effect of water on the signal is reduced, the distortion rate of signal transmission is reduced, and the mutual communication between different models of underwater robots is realized. The system components are simple and the production and maintenance costs are low.
Smart Images

Figure CN119696704A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of underwater communications, and in particular to underwater LIFI communication systems, methods, devices and media. Background Art
[0002] At present, underwater robot communication mainly consists of wired communication and underwater acoustic communication. Wired communication is not conducive to multi-machine coordination. Underwater acoustic communication uses analog signals, but the waves, fish, ships, etc. in the ocean generate noise, making the sound field in the ocean extremely chaotic. When sound waves are transmitted in the seawater, they generate a major problem of "multi-path interference signals", which makes the received signal unclear. Summary of the invention
[0003] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
[0004] The purpose of the present application is to solve one of the technical problems existing in the related art to at least a certain extent. The embodiments of the present application provide an underwater LIFI communication system, method, device and medium, which reduce the distortion rate of underwater signal transmission.
[0005] An embodiment of the first aspect of the present application, an underwater LIFI communication system, includes:
[0006] A sending device, the sending device comprising a first light source and a second light source, the first light source is used to simulate a data line of an I2C communication protocol, and the second light source is used to simulate a clock line of the I2C communication protocol;
[0007] A receiving device, the receiving device comprising a light sensor, the light sensor being used to receive first light signals from the first light source and the second light source;
[0008] a first processor, the first processor being connected to the sending device, and the first processor being used to control the light-emitting states of the first light source and the second light source to send I2C communication protocol information according to the first optical signal;
[0009] A second processor is connected to the receiving device, and the second processor is used to read the I2C communication protocol information according to the first optical signal acquired by the optical sensor.
[0010] According to certain embodiments of the first aspect of the present application, the first light source is a light source that emits colored light.
[0011] According to certain embodiments of the first aspect of the present application, the light intensity of the second light source is greater than the light intensity of the first light source.
[0012] According to some embodiments of the first aspect of the present application, the light sensor includes at least one RGB light sensor.
[0013] According to some embodiments of the first aspect of the present application, the light sensor includes at least one photosensitive sensor.
[0014] An embodiment of the second aspect of the present application is an underwater LIFI communication method, which uses the underwater LIFI communication system as described in the embodiment of the first aspect of the present application, and the method includes:
[0015] By transmitting the light emitting state of the first light source and the second light source of the device, the I2C communication protocol information is transmitted according to the first light signal;
[0016] The I2C communication protocol information is read by receiving a first optical signal acquired by an optical sensor of the device.
[0017] According to some embodiments of the second aspect of the present application, before transmitting the I2C communication protocol information according to the first optical signal by transmitting the light emitting state of the first light source and the second light source of the device, the method further includes:
[0018] flashing of a first light source and a second light source of a transmitting device;
[0019] determining whether the wavelengths of the first light source and the second light source reach a peak value by using a second light signal acquired by a light sensor of a receiving device;
[0020] When the wavelengths of the first light source and the second light source reach a peak value, the receiving device returns a peak response signal, wherein the peak response signal is used to notify the sending device to send I2C communication protocol information;
[0021] The sending device receives the peak response signal.
[0022] According to certain embodiments of the second aspect of the present application, the underwater LIFI communication method further includes: performing mean filtering processing on the second optical signal acquired by the optical sensor of the receiving device.
[0023] An embodiment of the third aspect of the present application is an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the underwater LIFI communication method as described in the embodiment of the second aspect of the present application is implemented.
[0024] An embodiment of the fourth aspect of the present application is a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the underwater LIFI communication method as described in the embodiment of the second aspect of the present application.
[0025] The above scheme has at least the following beneficial effects: by using optical signals as underwater communication carriers, the attenuation effect of water on the transmission signal is reduced, and the distortion rate of signal transmission is reduced. The universal I2C communication protocol enables underwater robots of different models to communicate with each other. The components of the underwater LIFI communication system are simple, which reduces the production cost; and the structure is simple, which reduces the maintenance cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.
[0027] Figure 1 is a schematic diagram of the structure of an underwater LIFI communication system provided in an embodiment of the present application;
[0028] Figure 2 is a handshake flow chart of the underwater LIFI communication method provided by an embodiment of the present application;
[0029] Figure 3 It is a flow chart of the underwater LIFI communication method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0031] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims or the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0032] The embodiments of the present application are further described below in conjunction with the accompanying drawings.
[0033] An embodiment of the present application provides an underwater LIFI communication system.
[0034] Reference Figure 1 , an underwater LIFI communication system, including: a sending device, a receiving device, a first processor and a second processor.
[0035] Among them, the sending device includes a first light source and a second light source, the first light source is used to simulate the data line of the I2C communication protocol, and the second light source is used to simulate the clock line of the I2C communication protocol; the receiving device includes a light sensor, and the light sensor is used to receive the first light signal of the first light source and the second light source; the first processor is connected to the sending device, and the first processor is used to control the light-emitting state of the first light source and the second light source to send the I2C communication protocol information according to the first light signal; the second processor is connected to the receiving device, and the second processor is used to read the I2C communication protocol information according to the first light signal obtained by the light sensor.
[0036] The underwater LIFI communication system uses LIFI (Light Fidelity) communication technology. The underwater LIFI communication system can be applied to underwater fixed-point data collection, multi-machine collaborative operations, underwater data sharing and backup, etc. LIFI (Light Fidelity) communication is a wireless communication technology that uses light as a carrier. Compared with traditional RF (Radio Frequency) communication, LIFI has unique advantages in underwater environments because water has a strong absorption effect on electromagnetic waves, but relatively little attenuation of light waves.
[0037] The I2C protocol allows multiple devices to communicate through only two wires, namely the data line (Serial Data Line, SDA) and the clock line (Serial Clock Line, SCL). The underwater LIFI communication system simulates the two wires of the I2C protocol by using two light sources. The first light source simulates the data line of the I2C communication protocol, and the second light source simulates the clock line of the I2C communication protocol.
[0038] The first light source is a light source that emits colored light. Specifically, the first light source is a green light source. Of course, in other embodiments, the first light source can also be other light sources that can emit light with strong water penetration. The green light source simulates the data line of the I2C communication protocol.
[0039] The first light source is responsible for data transmission. All data (including device addresses, control signals, data bytes, etc.) are transmitted through the first light source, ensuring that data can be transmitted efficiently and accurately.
[0040] The second light source is a strong light source. The light intensity of the second light source is greater than the light intensity of the first light source. The strong light source simulates the clock line of the I2C communication protocol.
[0041] The second light source provides a clock signal for synchronizing data transmission on the first light source. The sending and receiving of data are all carried out under the control of the clock signal of the second light source. The second light source determines the rate and rhythm of data transmission, and controls the start and end of data transmission by changing the light state of the second light source. The second light source ensures the synchronization and accuracy of data transmission.
[0042] The light sensor includes at least one RGB light sensor. The light sensor includes at least one photosensor. Specifically, it includes 4 RGB light sensors and 4 photosensors. A matrix is formed by 4 RGB light sensors and 4 photosensors. Of course, in other embodiments, the number of RGB light sensors can also be other numbers, which can be adjusted according to actual usage. The number of photosensors can also be other numbers, which can be adjusted according to actual usage.
[0043] An embodiment of the present application provides an underwater LIFI communication method, which uses an underwater LIFI communication system. The underwater LIFI communication system includes: a sending device, a receiving device, a first processor and a second processor. The sending device includes a first light source and a second light source, the first light source is used to simulate the data line of the I2C communication protocol, and the second light source is used to simulate the clock line of the I2C communication protocol; the receiving device includes a light sensor, and the light sensor is used to receive the first light signal of the first light source and the second light source; the first processor is connected to the sending device, and the first processor is used to control the light-emitting state of the first light source and the second light source to send the I2C communication protocol information according to the first light signal; the second processor is connected to the receiving device, and the second processor is used to read the I2C communication protocol information according to the first light signal obtained by the light sensor.
[0044] Reference Figure 3 , an underwater LIFI communication method, comprising the following steps:
[0045] Step S210, sending I2C communication protocol information according to the first light signal by transmitting the light emitting state of the first light source and the second light source of the device;
[0046] Step S220: reading I2C communication protocol information by receiving the first optical signal acquired by the optical sensor of the device.
[0047] When no data is transmitted, the reference value needs to be recorded as the "0" bit of the I2C communication protocol, and the peak value of the wavelength of the first light source and the second light source is recorded as the "1" bit. The peak value here can be adjusted according to actual conditions.
[0048] The data to be sent is converted into a light source control signal, and the light-emitting state of the first light source and the second light source of the sending device is controlled according to the light source control signal. The data to be transmitted by the data line of the I2C communication protocol is transmitted through the light signal of the first light source, and the clock information of the clock line of the I2C communication protocol is expressed through the light signal of the second light source. The reference value of the wavelength of the first light source and the second light source is used as the "0" bit of the I2C communication protocol, and the peak value of the wavelength of the first light source and the second light source is used as the "1" bit to realize the transmission of binary signals.
[0049] Before sending I2C communication protocol information according to the first light signal by transmitting the light emitting state of the first light source and the second light source of the device, that is, before the sending device and the receiving device perform I2C communication protocol information, the underwater LIFI communication method requires handshake confirmation.
[0050] Reference Figure 2 , the handshake of the underwater LIFI communication method includes the following steps:
[0051] Step S110, flashing the first light source and the second light source of the sending device;
[0052] Step S120, determining whether the wavelengths of the first light source and the second light source reach a peak value by using a second light signal acquired by a light sensor of the receiving device;
[0053] Step S130, when the wavelengths of the first light source and the second light source reach a peak value, the receiving device returns a peak response signal;
[0054] Step S140: the sending device receives the peak response signal.
[0055] The peak response signal is used to notify the sending device to send I2C communication protocol information.
[0056] When the sending device needs to send I2C communication protocol information to the receiving device, the sending device pulls up the first light source and the second light source when the camera captures the receiving device, so that the wavelengths of the first light source and the second light source reach a peak value, indicating that data needs to be transmitted.
[0057] The first light source and the second light source are turned on at the same time and then turned off after a preset time. Specifically, in this embodiment, the preset time is 1 second. Of course, in the embodiment, the preset time can also be set to other time values according to actual conditions, such as 3 seconds.
[0058] The receiving device obtains a second optical signal through an RGB optical sensor and a photosensor, and the second optical signal is an optical signal obtained in a handshake situation before sending the communication protocol information. The second optical signal obtained by the optical sensor of the receiving device is subjected to mean filtering. According to the second optical signal after mean filtering, it is judged whether the wavelengths of the first light source and the second light source reach a peak value. Filtering the interference signal by mean filtering is conducive to improving the accuracy of subsequent judgments.
[0059] When the wavelengths of the first light source and the second light source do not reach the peak value, the receiving device records the reference value and exits the interruption. When the wavelengths of the first light source and the second light source both reach the peak value, the receiving device returns the peak response signal.
[0060] The sending device waits for the peak response signal. When the sending device receives the peak response signal, the sending device sends the I2C communication protocol information. When the sending device does not receive the peak response signal for a period of time exceeding the preset time, the sending device. Specifically, the preset time can be set to 5 seconds. Of course, in the embodiment, the preset time can also be set to other time values according to actual conditions, for example, 10 seconds.
[0061] By using optical signals as underwater communication carriers, the attenuation of water on the transmitted signal is reduced, and the distortion rate of signal transmission is reduced. The universal I2C communication protocol enables underwater robots of different models to communicate with each other. The components of the underwater LIFI communication system are simple, which reduces the production cost; and the structure is simple, which reduces the maintenance cost.
[0062] An embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the underwater LIFI communication method as described above when executing the computer program.
[0063] The electronic device may be any intelligent terminal including a computer.
[0064] In general, for the hardware structure of the electronic device, the processor can be implemented using a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc., to execute related programs to implement the technical solutions provided in the embodiments of the present application.
[0065] The memory can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory can store an operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory, and the processor is called to execute the methods of the embodiments of this application.
[0066] The input / output interface is used to realize information input and output.
[0067] The communication interface is used to realize the communication interaction between this device and other devices. Communication can be achieved through wired methods (such as USB, network cable, etc.) or wireless methods (such as mobile network, WIFI, Bluetooth, etc.).
[0068] The bus transmits information between the various components of the device (such as the processor, memory, input / output interface, and communication interface). The processor, memory, input / output interface, and communication interface communicate with each other within the device through the bus.
[0069] An embodiment of the present application provides a computer storage medium storing computer executable instructions for executing the underwater LIFI communication method as described above.
[0070] It will be appreciated by those skilled in the art that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As is well known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium. In the above description of this specification, the description of reference terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" and the like means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0071] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0072] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0073] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0074] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store programs.
[0075] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above-mentioned units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. Although the embodiments of the present application have been shown and described, it can be understood by those of ordinary skill in the art that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and purposes of the present application, and the scope of the present application is defined by the claims and their equivalents.
[0076] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the embodiments. Technical personnel familiar with the field can make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. An underwater LIFI communication system, characterized in that: include: A sending device, the sending device comprising a first light source and a second light source, the first light source is used to simulate a data line of an I2C communication protocol, and the second light source is used to simulate a clock line of the I2C communication protocol; A receiving device, the receiving device comprising a light sensor, the light sensor being used to receive first light signals from the first light source and the second light source; a first processor, the first processor being connected to the sending device, and the first processor being used to control the light-emitting states of the first light source and the second light source, so as to send I2C communication protocol information according to the first optical signal; A second processor is connected to the receiving device, and is used for reading I2C communication protocol information according to the first optical signal acquired by the optical sensor.
2. The underwater LIFI communication system according to claim 1, characterized in that: The first light source is a light source that emits colored light.
3. The underwater LIFI communication system according to claim 1, characterized in that: The light intensity of the second light source is greater than the light intensity of the first light source.
4. The underwater LIFI communication system according to claim 1, characterized in that: The light sensor includes at least one RGB light sensor.
5. The underwater LIFI communication system according to claim 1, characterized in that: The light sensor includes at least one light-sensitive sensor.
6. An underwater LIFI communication method, characterized in that: Using the underwater LIFI communication system according to any one of claims 1 to 5, the method comprises: By transmitting the light emitting state of the first light source and the second light source of the device, the I2C communication protocol information is transmitted according to the first light signal; The I 2C communication protocol information is read by receiving the first optical signal acquired by the optical sensor of the device.
7. The underwater LIFI communication method according to claim 6, characterized in that: Before transmitting the I2C communication protocol information according to the first optical signal by transmitting the light emitting state of the first light source and the second light source of the device, the method further includes: flashing of a first light source and a second light source of a transmitting device; determining whether the wavelengths of the first light source and the second light source reach a peak value by using a second light signal acquired by a light sensor of a receiving device; When the wavelengths of the first light source and the second light source reach a peak value, the receiving device returns a peak response signal, wherein the peak response signal is used to notify the sending device to send I2C communication protocol information; The sending device receives the peak response signal.
8. The underwater LIFI communication method according to claim 6, characterized in that: Also includes: The second optical signal acquired by the optical sensor of the receiving device is subjected to mean filtering processing.
9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the underwater LIFI communication method according to any one of claims 6 to 8 when executing the computer program.
10. A computer storage medium, characterized in that: Computer executable instructions are stored, and the computer executable instructions are used to execute the underwater LIFI communication method according to any one of claims 6 to 8.