Weak light communication method and device

By using low-light communication methods and devices in underwater scenes, the communication instructions are converted through the counting unit and the output signal frequency is generated, the problem of restricted underwater signal transmission is solved, and efficient and low-cost signal transmission is achieved.

CN118900153BActive Publication Date: 2025-02-11SHENZHEN HUACHUANGXINGUANG TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411399475.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-09
Publication Date
2025-02-11
Estimated Expiration
2044-10-09

AI Technical Summary

Technical Problem

The prior art has limited signal transmission in underwater scenarios, difficult to deploy underwater cables and high cost, electromagnetic waves attenuate quickly in water, and sound wave transmission is limited due to narrow bandwidth and is susceptible to biological interference.

Method used

A low-light communication method and device are provided, which performs three-stage instruction conversion of communication instructions through a counting unit, generates an output signal frequency, and transmits optical signals through the transmission module to realize signal transmission in underwater scenes.

Benefits of technology

Signal transmission in underwater scenes or medium scenes is realized, and the problem of limited signal transmission in the prior art is solved, time and cost are reduced, and signal attenuation and biological interference are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118900153B_ABST
    Figure CN118900153B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of signal transmission, and discloses a weak light communication method and device. The present invention counts the conversion process of communication instructions through a counting unit to perform three-stage instruction conversion on the communication instructions. First, a first signal frequency is output when the counting unit is 0, and then a second signal frequency is produced according to the communication instruction. Finally, a third signal frequency is produced according to a preset check code. The three signal frequencies are combined to obtain the signal frequency of an optical signal to be output. The optical signal frequency is used to drive a transmitting module to output a corresponding optical signal to realize signal transmission in an underwater scene or a medium scene, thereby solving the problem of limited signal transmission in an underwater scene in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal transmission, and in particular to a weak light communication method and device. Background Art

[0002] With the development of science and technology, people are developing more and more underwater scenes. Having a stable underwater communication and cross-media communication has become the mainstream of the times. Among the current mainstream technologies of underwater communication and cross-media communication: underwater cables are difficult to lay and costly; electromagnetic waves attenuate very quickly in water and cannot be transmitted over long distances; underwater sound waves are limited by narrow bandwidth during transmission and are susceptible to biological interference. Summary of the invention

[0003] The purpose of the present invention is to provide a weak light communication method and device, aiming to solve the problem of limited signal transmission in underwater scenes in the prior art.

[0004] The present invention is implemented in this way. In a first aspect, the present invention provides a weak light communication method, comprising:

[0005] Obtain a communication instruction; wherein the instruction flag bit range of the communication instruction is 0010-1010;

[0006] Retrieve a counting unit and set the count of the counting unit to 0;

[0007] When the counting unit is 0, the output signal frequency is generated according to the first frequency formula, and the count of the counting unit is increased by 1;

[0008] When the count of the counting unit is 1-4, the command flag of the communication command is subjected to a calculation process of the output signal frequency according to a second frequency formula to obtain the output signal frequency corresponding to the command flag;

[0009] After the output signal frequency is generated according to the second frequency formula, the count of the counting unit is increased by 1;

[0010] When the count of the counting unit is 5, the output signal frequency is generated according to the third frequency formula, and the count of the counting unit is set to 0;

[0011] The output signal frequencies are sorted according to the generation order of the output signal frequencies to obtain a communication signal; wherein the communication signal is used to drive the transmitting module to transmit the optical signal.

[0012] In a second aspect, the present invention provides a weak light communication device, comprising a transmitting end and a receiving end, wherein the transmitting end transmits an optical signal according to the weak light communication method described in any one of the first aspects.

[0013] The present invention provides a weak light communication method, which has the following beneficial effects:

[0014] The present invention counts the conversion process of communication instructions by counting units to perform three-stage instruction conversion on communication instructions. First, the first signal frequency is output when the counting unit is 0, then the second signal frequency is produced according to the communication instruction, and finally the third signal frequency is produced according to a preset check code. The three signal frequencies are combined to obtain the signal frequency of the optical signal to be output. The optical signal frequency is used to drive the transmitting module to output the corresponding optical signal to realize signal transmission in underwater scenes or medium scenes, thereby solving the problem of limited signal transmission in underwater scenes in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 is a schematic diagram of the steps of a weak light communication method provided by an embodiment of the present invention;

[0016] Figure 2 This is a schematic diagram of a transmitter circuit of a weak light communication device provided by an embodiment of the present invention;

[0017] Figure 3 It is a schematic diagram of a receiving end circuit of a weak light communication device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0018] In order to make the purpose, counting scheme and advantages of the present invention more clearly understood, the present invention 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 invention and are not used to limit the present invention.

[0019] The implementation of the present invention is described in detail below in conjunction with specific embodiments.

[0020] Reference Figure 1 , Figure 2 , Figure 3 As shown, a preferred embodiment of the present invention is provided.

[0021] In a first aspect, the present invention provides a weak light communication method, comprising:

[0022] S1: Obtain a communication instruction; wherein the instruction flag bit range of the communication instruction is 0010-1010;

[0023] S2: call the counting unit and set the count of the counting unit to 0;

[0024] S3: when the counting unit is 0, generating an output signal frequency according to a first frequency formula, and adding 1 to the count of the counting unit;

[0025] S4: when the count of the counting unit is 1-4, the command flag of the communication command is calculated according to the second frequency formula to obtain the output signal frequency corresponding to the command flag;

[0026] S5: after the output signal frequency is generated according to the second frequency formula once, the count of the counting unit is increased by 1;

[0027] S6: when the count of the counting unit is 5, generating an output signal frequency according to a third frequency formula, and setting the count of the counting unit to 0;

[0028] S7: Sort the output signal frequencies according to their generation order to obtain a communication signal; wherein the communication signal is used to drive the transmitting module to transmit the optical signal.

[0029] Specifically, in step S1 of the embodiment provided by the present invention, the communication instruction is an instruction inputted at the transmitting end by pressing a key, and the instruction flag bit range of the communication instruction is 0010-1010, which means that the communication instruction is a four-digit binary number.

[0030] More specifically, the communication instruction is an instruction for controlling how the transmitting end transmits the optical signal, and different communication instructions correspond to different transmission schemes.

[0031] Specifically, in step S2 of the embodiment provided by the present invention, the introduction of the counting unit is used to control the frequency generation process in the subsequent steps, and the count of the counting unit is initialized to 0 to ensure that each frequency generation process starts from a known state.

[0032] More specifically, as the subsequent steps proceed, the count of the counting unit will increase when a condition is met, and the count of the counting unit itself is a calculation element for converting the optical signal according to the communication instruction in the subsequent steps.

[0033] Specifically, in step S3 of the embodiment provided by the present invention, when the counting unit is 0, the system generates an output signal frequency according to the first frequency formula, and the output signal frequency is the frequency used to control the transmitting module to transmit the optical signal.

[0034] More specifically, after the frequency is generated, the count of the counting unit is increased to 1.

[0035] Specifically, in steps S4 and S5 of the embodiment provided by the present invention, within the next four cycles (i.e., the count value of the counting unit is 1 to 4), the system generates the output signal frequency according to each instruction flag in the communication instruction and the second frequency formula, and the second frequency formula will combine the instruction flag information to generate an output frequency that accurately corresponds to the instruction.

[0036] More specifically, after each frequency is generated using the second frequency formula, the value of the counting unit is increased by 1. This step ensures that different output frequencies are gradually generated as the value of the counting unit increases from 1 to 4.

[0037] Specifically, in steps S6 and S7 of the embodiment provided by the present invention, when the value of the counting unit reaches 5, the system uses the third frequency formula to generate an output signal frequency, which is an end or confirmation signal. After that, the counter is reset to 0 again to prepare to start a new frequency generation cycle. Finally, all generated output signal frequencies are sorted according to the generation order to form the final communication signal. These sorted frequencies are used to drive the transmission module and convert it into an optical signal for transmission.

[0038] The present invention provides a weak light communication method, which has the following beneficial effects:

[0039] The present invention counts the conversion process of communication instructions by counting units to perform three-stage instruction conversion on communication instructions. First, the first signal frequency is output when the counting unit is 0, then the second signal frequency is produced according to the communication instruction, and finally the third signal frequency is produced according to a preset check code. The three signal frequencies are combined to obtain the signal frequency of the optical signal to be output. The optical signal frequency is used to drive the transmitting module to output the corresponding optical signal to realize signal transmission in underwater scenes or medium scenes, thereby solving the problem of limited signal transmission in underwater scenes in the prior art.

[0040] More specifically, the visible light cross-media underwater remote control is designed to control underwater robots for remote human control, underwater detection and imaging, providing underwater robot research and development units and underwater robot users with efficient and accurate means when dealing with emergency events.

[0041] More specifically, using blue-green visible light for underwater communication can effectively avoid problems such as signal attenuation, biological interference, and wiring layout difficulties, and can significantly reduce time and cost.

[0042] Preferably, the first frequency formula is:

[0043] Output signal frequency = 7200 / (12.5-1)KHZ.

[0044] Specifically, when the counting unit is 0, a communication instruction is not used to calculate the corresponding signal, but a fixed signal frequency is used. After using this fixed signal frequency, the count of the counting unit increases by 1. At this time, the count of the counting unit is 1, thereby starting subsequent calculations.

[0045] Preferably, the second frequency formula is:

[0046] Output signal frequency = 7200 / (X-1)KHZ.

[0047] Among them, X is calculated as:

[0048] S41: Move the Nth instruction flag bit from the right to the left in the communication instruction to the first instruction flag bit from the right to the left in the communication instruction to obtain the number to be tested; N is consistent with the count of the counting unit;

[0049] S42: Perform an AND calculation on the number to be tested and 0X0F, and obtain the number of digits 1 or 0 according to the result of the AND calculation;

[0050] S43: When the result of the AND calculation is the bit number 1, X is 10;

[0051] S44: When the result of the AND calculation is the bit number 0, X is 8.

[0052] Specifically, the second frequency formula is used to perform signal conversion according to the communication instruction to obtain the optical signal information fed back by the communication instruction.

[0053] More specifically, the output signal frequency is related to X, and X is related to the communication instruction, that is, X is first calculated according to the communication instruction, and then X is substituted into the second frequency formula to obtain the output signal frequency.

[0054] More specifically, X is calculated by moving the Nth instruction flag from right to left in the communication instruction to the first instruction flag from right to left in the communication instruction to obtain the number to be tested, where N is consistent with the count of the counting unit.

[0055] That is to say, when the count of the counting unit is 1, the communication instruction is kept unchanged and directly ANDed with 0X0F. When the count of the counting unit is 2, the second digit from the right of the communication instruction is moved to the first digit from the right, and then the obtained digit is ANDed with 0X0F.

[0056] More specifically, performing an AND calculation with 0X0F refers to performing a bitwise AND operation on a binary number and 0X0F. In computers and programming, a bitwise AND operation compares each bit of two numbers. If the corresponding bits of the two numbers are both 1, the bit of the result is 1, otherwise it is 0.

[0057] More specifically, 0X0F is a hexadecimal number, and its binary representation is 00001111. Its function is to extract the lowest 4 bits (i.e. the rightmost 4 bits) of a number and ignore the other high bits; the AND operation is performed on each bit of the two numbers separately. Only when the corresponding bits of the two numbers are 1, the corresponding bit of the result is 1, otherwise it is 0.

[0058] Preferably, when N is 1, the number to be tested is consistent with the communication instruction; when N is 2-4, the instruction flag bit at the Nth position from right to left in the communication instruction is moved to the instruction flag bit at the first position from right to left in the communication instruction to replace the instruction flag bit at the first position from right to left in the communication instruction, and the instruction flag bit at the Nth position from right to left in the original communication instruction is replaced with 0.

[0059] Specifically, when the count of the counting unit is 1, N is 1, and at this time the rightmost digit is moved to the rightmost, which actually means that the digit is not changed.

[0060] More specifically, when the count of the counting unit is 2, 3, or 4, the 2nd, 3rd, and 4th digits will be counted from right to left, respectively, and the digits will be moved to the rightmost position to replace the digit originally in the rightmost position, and the moved position will be replaced by 0.

[0061] Preferably, the third frequency formula is:

[0062] Output signal = 7200 / (Y-1)KHZ;

[0063] The calculation method of Y is:

[0064] The preset check code is retrieved. When the check code is 1, Y is 10; and when the check code is 0, Y is 8.

[0065] Specifically, the check code is directly set as input to the function and is directly set by the programmer.

[0066] Preferably, the signal form of the output signal frequency is FSK, ASK or PSK.

[0067] Specifically, FSK (Frequency Shift Keying), ASK (Amplitude Shift Keying) and PSK (Phase Shift Keying).

[0068] More specifically, FSK represents different data information by changing the frequency of the carrier signal. In FSK, there are usually two frequencies, one representing binary "0" and the other representing binary "1". In the above algorithm, the generation of the output signal frequency directly involves the frequency formula, which is very consistent with the FSK modulation method; in FSK, the frequency of the communication signal switches between two or more predetermined frequencies, which correspond to different digital values; FSK is often used in wireless communications and low-noise environments because it is insensitive to noise.

[0069] More specifically, ASK transmits data information by changing the amplitude of the carrier signal. In ASK, different amplitudes represent different binary bits, such as a higher amplitude represents "1" and a lower amplitude or zero amplitude represents "0". The amplitude of the communication signal switches between high and low levels according to the input data. ASK is often used in simple, wired communication systems, but is more sensitive to noise, so it is not as commonly used as FSK or PSK in wireless communications.

[0070] More specifically, PSK represents data information by changing the phase of a carrier signal. In PSK, different phase changes represent different digital symbols; for example, in binary phase shift keying (BPSK), 0 and 1 correspond to two opposite phases.

[0071] In a second aspect, the present invention provides a weak light communication device, comprising a transmitting end and a receiving end, wherein the transmitting end transmits an optical signal according to the weak light communication method described in any one of the first aspects.

[0072] In this embodiment, for the specific implementation of each module in the above-mentioned device embodiment, please refer to the above-mentioned method embodiment, which will not be described in detail here.

[0073] Preferably, the transmitting end includes a transmitting board and a transmitting module.

[0074] Specifically, the transmitting end includes a button group, an MCU, a driving and amplifying module, and a power management module, and the MCU is electrically connected to the button group, the driving and amplifying module, and the power management module respectively.

[0075] More specifically, the transmitting module includes an LED and a lens, and the LED is electrically connected to the driving and amplifying module and the power management module respectively.

[0076] More specifically, the button group is used for the operator to perform human-computer interaction to input communication instructions; the MCU is used to convert and process the communication instructions according to the weak-light communication method as described in any one of the first aspects to obtain a communication signal; the MCU is a microcontroller unit, which is used to execute a pre-recorded algorithm for calculation and processing, and to control the operation of each component of the overall transmitting end according to the control scheme.

[0077] More specifically, the MCU drives the communication signal to be transmitted to the driving and amplifying module, so that the driving and amplifying module amplifies the communication signal and transmits the amplified communication signal to the LED, so that the LED transmits the optical signal according to the amplified communication signal, and the optical signal is output after being bunched and focused by the lens; the driving and amplifying module amplifies the received communication signal to ensure that the signal has sufficient strength when transmitted through the LED, the amplified communication signal is transmitted to the LED, and the LED emits the corresponding optical signal according to the amplified signal. The optical signal emitted by the LED is bunched and focused by the lens to enhance the directionality and propagation efficiency of the signal, so as to ensure that the signal can be accurately transmitted to the receiving end.

[0078] More specifically, the power management module is used to provide power to the MCU and the LED, so that the LED can generate a corresponding light signal when receiving a communication signal.

[0079] Preferably, the receiving end includes a light receiving board, a processing module and a power supply system.

[0080] Specifically, the optical receiving board includes a window shell and several groups of receiving units, each group of receiving units is fixedly connected to the window shell, and the window shell is used to accommodate and fix the several groups of receiving units and transmit external optical signals.

[0081] More specifically, the receiving unit includes a filter film, a PD and a multi-stage amplifier circuit connected in sequence. The filter film is used to filter the optical signal passing through the window housing, the PD is used to perform photoelectric conversion on the optical signal to obtain an electrical signal corresponding to the optical signal, and the multi-stage amplifier circuit is used to amplify the electrical signal.

[0082] It should be noted that PD refers to photodiode, which is a semiconductor device that can transmit signals as electrical signals and is widely used in optical communications, optical detection, and optical sensing.

[0083] More specifically, the processing module includes a statistical unit, ADC, MCU and DDR. The statistical unit is electrically connected to the multi-stage amplification circuit of each group of receiving units to perform statistical processing on the electrical signals passing through the multi-stage amplification circuit in each group of receiving units to obtain statistical electrical signals.

[0084] More specifically, the statistical unit is an adder or a high-gain nonlinear amplifier.

[0085] More specifically, the ADC is electrically connected to the processing module, and the ADC is used to perform analog-to-digital conversion on the statistical electrical signal to obtain a digital form of the statistical electrical signal; the ADC is an analog-to-digital converter, which is used to convert an analog signal into a digital signal.

[0086] More specifically, the MCU is electrically connected to the ADC and the DDR, respectively. The MCU is used to perform data extraction and processing on the statistical electrical signal in digital form to obtain feedback information of the statistical electrical signal in digital form. The DDR is used to temporarily store the statistical electrical signal in digital form and the feedback information. DDR is the abbreviation of Double Data Rate, which means double data rate and is used to describe a memory technology, especially to describe dynamic random access memory (DRAM), namely DDR SDRAM (double data rate synchronous dynamic random access memory). This memory technology is widely used in computers, servers and other electronic devices.

[0087] More specifically, the MCU has an external connection port, which is used to transmit feedback information to an external device electrically connected to the MCU through the external connection port; this external connection port can be connected to a movable robot to enable the transmitter to emit light signals to control the robot.

[0088] More specifically, the power supply system is electrically connected to the multi-stage amplifier circuit, ADC and MCU in each group of receiving units, and the power supply system is used to provide electrical energy.

[0089] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A weak light communication method, characterized in that: include: Obtain a communication instruction; wherein the instruction flag bit range of the communication instruction is 0001-1010; Retrieve a counting unit and set the count of the counting unit to 0; When the counting unit is 0, the output signal frequency is generated according to the first frequency formula, and the count of the counting unit is increased by 1; When the count of the counting unit is 1-4, the command flag of the communication command is subjected to a calculation process of the output signal frequency according to a second frequency formula to obtain the output signal frequency corresponding to the command flag; After the output signal frequency is generated according to the second frequency formula, the count of the counting unit is increased by 1; When the count of the counting unit is 5, the output signal frequency is generated according to the third frequency formula, and the count of the counting unit is set to 0; The output signal frequencies are sorted according to the generation order of the output signal frequencies to obtain a communication signal; wherein the communication signal is used to drive the transmitting module to transmit the optical signal; The second frequency formula is: Output signal frequency = 7200 / (X-1)KHZ; Wherein, the calculation method of X is: The Nth instruction flag bit from the right to the left in the communication instruction is moved to the first instruction flag bit from the right to the left in the communication instruction to obtain a number to be tested; wherein N is consistent with the count of the counting unit; Perform an AND calculation on the number to be tested and 0X0F, and obtain a digit 1 or a digit 0 according to the result of the AND calculation; When the result of the AND calculation is a bit number 1, X is 10; When the result of the AND calculation is a bit number 0, X is 8; When N is 1, the number to be tested is consistent with the communication instruction. When N is 2-4, the instruction flag bit at the Nth position from right to left in the communication instruction is moved to the instruction flag bit at the first position from right to left in the communication instruction to replace the instruction flag bit at the first position from right to left in the communication instruction. The original instruction flag bit at the Nth position from right to left in the communication instruction is replaced with 0.

2. The weak light communication method according to claim 1, characterized in that: The first frequency formula is: Output signal frequency = 7200 / (12.5-1)KHZ.

3. The weak light communication method according to claim 1, characterized in that: The third frequency formula is: Output signal = 7200 / (Y-1)KHZ; Wherein, the calculation method of Y is: The preset check code is retrieved. When the check code is 1, Y is 10; and when the check code is 0, Y is 8.

4. The weak light communication method according to claim 1, characterized in that: The signal form of the output signal frequency is FSK, ASK or PSK.

5. A weak light communication device, characterized in that: It comprises a transmitting end and a receiving end, and the transmitting end transmits an optical signal according to the weak light communication method according to any one of claims 1-4.

6. The weak light communication device according to claim 5, characterized in that: The transmitting end includes a transmitting board and a transmitting module; The transmitting end includes a button group, an MCU, a driving and amplifying module, and a power management module, and the MCU is electrically connected to the button group, the driving and amplifying module, and the power management module respectively; The transmitting module includes an LED and a lens, and the LED is electrically connected to the driving amplifier module and the power management module respectively; The button group is used for the operator to perform human-computer interaction and input communication instructions; The MCU is used to convert the communication instruction according to the weak light communication method according to any one of claims 1 to 4 to obtain a communication signal; The MCU drives the communication signal to be transmitted to the driving and amplifying module, so that the driving and amplifying module amplifies the communication signal, and transmits the amplified communication signal to the LED, so that the LED emits an optical signal according to the amplified communication signal, and the optical signal is output after being bundled and focused by the lens; The power management module is used to provide power to the MCU and the LED.

7. The weak light communication device according to claim 5, characterized in that: The receiving end includes a light receiving board, a processing module and a power supply system; The light receiving board comprises a windowed housing and a plurality of groups of receiving units, each group of the receiving units being fixedly connected to the windowed housing respectively; The receiving unit comprises a filter film, a PD and a multi-stage amplifier circuit connected in sequence, the filter film is used to filter the optical signal passing through the window housing, the PD is used to perform photoelectric conversion on the optical signal to obtain an electrical signal corresponding to the optical signal, and the multi-stage amplifier circuit is used to amplify the electrical signal; The processing module includes a statistical unit, an ADC, an MCU and a DDR, and the statistical unit is electrically connected to the multi-stage amplification circuit of each group of the receiving units to perform statistical processing on the electrical signals in each group of the receiving units that pass through the multi-stage amplification circuit to obtain statistical electrical signals; The statistical unit is an adder or a high-gain nonlinear amplifier; The ADC is electrically connected to the statistical unit, and the ADC is used to perform analog-to-digital conversion on the statistical electrical signal to obtain a digital form of the statistical electrical signal; The MCU is electrically connected to the ADC and the DDR respectively, the MCU is used to perform data extraction processing on the statistical electrical signal in digital form to obtain feedback information of the statistical electrical signal in digital form, and the DDR is used to temporarily store the statistical electrical signal in digital form and the feedback information; The MCU has an external connection port, and the external connection port is used to transmit the feedback information to an external device electrically connected to the MCU through the external connection port; The power supply system is electrically connected to the multi-stage amplification circuit, the ADC and the MCU in each group of the receiving units, and the power supply system is used to provide electrical energy.

Citation Information

Patent Citations

  • Ultraviolet wireless optical communication system and method

    CN115603811A