An adaptive visible light receiving device and method
By adopting adaptive visible light receiving devices in wireless communication equipment and utilizing voltage DC coupling conversion and multi-phase asynchronous acquisition technology, the problems of optical signal loss in water and sampling pulse asynchronousness are solved, and efficient signal judgment and sensitivity adjustment are achieved. , improving reception performance and accuracy.
Patent Information
- Application Number
- CN202210184721.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-28
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-02-28
AI Technical Summary
Existing wireless communication equipment has losses and distortions in optical signal transmission in water, and the sampling pulse and data are not completely synchronized, resulting in bit errors. A single decision voltage cannot distinguish the rising edge and falling edge of the signal, which affects the reception performance.
An adaptive visible light receiving device is used, including a photodetector, a voltage DC coupling to voltage AC coupling circuit, a filter, an ADC module, a level detection circuit, a signal decision module, an asynchronous multi-phase acquisition serial-to-parallel conversion module, and a data selection module. The receiving statistics module, sensitivity adjustment module and differential amplifier remove the DC component through voltage DC coupling conversion, calculate the dual decision voltage for signal decision, and improve the receiving performance through multi-phase asynchronous acquisition and sensitivity adjustment.
It can effectively reduce the bit error rate, improve the accuracy and performance of received signals, resist external interference, and ensure that the photodetector works in the best condition.
Smart Images

Figure CN114629550B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless communication equipment, and in particular to an adaptive visible light receiving device and method. Background Art
[0002] Since optical signals are lost and distorted in water, the performance requirements of optical detectors are very high, especially the sensitivity requirements within the wavelength range of the light source used. At the same time, the original technology uses ordinary serial-to-parallel conversion, sampling the received serial data when the sampling pulse is valid, and finally converting it into parallel data. Since the received data is sent by the transmitter and the sampling pulse is generated by the local device, the two are not completely synchronized, and the advance or lag of the sampling pulse may lead to sampling errors. In addition, the original technology uses a single judgment voltage, and cannot distinguish between the rising and falling edges of the signal, which is easy to cause bit errors, thereby affecting the receiving performance of the receiver. Summary of the invention
[0003] The main purpose of the present invention is to provide an adaptive visible light receiving device and method, which can effectively solve the problems in the background technology.
[0004] To achieve the above object, the technical solution adopted by the present invention is:
[0005] An adaptive visible light receiving device, comprising a light detector, a voltage DC coupling to voltage AC coupling circuit, a filter, an ADC module, a level detection circuit, a signal judgment module, an asynchronous multi-phase acquisition serial-to-parallel conversion module, a data selection module, a receiving statistics module, a sensitivity adjustment module, a differential amplifier and a data processing module, characterized in that: the light detector converts an optical signal into an electrical signal, the output of the sensitivity adjustment module is connected to the light detector, and the data output of the light detector is connected to the voltage DC coupling to voltage AC coupling circuit;
[0006] The input of the voltage DC coupling to voltage AC coupling circuit is connected to the photodetector, and the output of the voltage DC coupling to voltage AC coupling circuit is connected to the differential amplifier;
[0007] The data input of the filter is connected to the differential amplifier, and the data output of the filter is connected to the ADC module;
[0008] The data input of the ADC module is connected to the filter, and the data output of the ADC module is connected to the level detection circuit;
[0009] The data input of the level detection circuit is connected to the ADC module, and the data output of the level detection circuit is connected to the signal decision module;
[0010] The input of the signal decision module is connected to the level detection circuit. The level detection circuit calculates the maximum voltage MAX and the minimum voltage MIN according to the input digital signal value. The calculation circuit and process are as follows: the circuit includes two caches 1 and 2 of the same capacity. The input digital signal is written into cache 1. The maximum MAX and the minimum voltage value MIN are recorded when writing. After cache 1 is full, it starts to read out. The MAX, MIN and the read cache data are output to the signal decision module at the same time. While cache 1 reads out data, the input is switched to cache 2 for writing digital signals. While writing, the maximum MAX and the minimum voltage value MIN are recorded. After cache 2 is full, it starts to read out. The MAX, MIN and the cached read data are output to the signal decision module at the same time. While cache 1 reads out data, the input data write operation is switched back to cache 1, and the cycle repeats. The capacity of cache 1 and cache 2 is: sampling rate ÷ data bandwidth × number of bits after single-byte encoding. The cache capacity cannot be too small, otherwise the maximum and minimum voltages are not accurately judged; nor can it be too large, otherwise it cannot adapt to the line interference that occurs during the transmission process. The cache capacity is: sampling rate ÷ data bandwidth × number of bits after single-byte encoding; the output of the signal decision module is connected to the asynchronous multi-phase acquisition serial-to-parallel conversion module; the signal decision module compares the input digital signal with the decision voltage generated in real time and outputs a serial level. The decision voltage comparison process is as follows: according to the highest level MAX obtained by the level detection circuit, the decision voltage A= (MAX-AVG) ÷ 2 is calculated, and according to the lowest level MIN obtained by the level detection circuit, the decision voltage B= (AVG-MIN) ÷ 2 is calculated. When the signal voltage value output by the level detection circuit is greater than A, the decision output level is high; when the output voltage is less than B, the decision output level is low; in other cases, the decision output maintains the previous value, and AVG is the middle voltage of the coupling signal.
[0011] The data input of the asynchronous multi-phase acquisition serial-to-parallel conversion module is connected to the signal judgment module, and the data output of the asynchronous multi-phase acquisition serial-to-parallel conversion module is connected to the data selection module and the receiving statistics module;
[0012] The data input of the data selection module is connected to the asynchronous multi-phase acquisition serial-to-parallel conversion module, and the data output of the data selection module is connected to the data processing module;
[0013] One data input of the receiving statistics module is connected to the asynchronous multi-phase acquisition serial-to-parallel conversion module, one data input of the receiving statistics module is connected to the data processing module, and the data output of the receiving statistics module is connected to the sensitivity adjustment module;
[0014] The input of the sensitivity adjustment module is connected to the receiving statistics module, and the output of the sensitivity adjustment module is connected to the light detector.
[0015] An adaptive visible light receiving method comprises the following steps:
[0016] Step 1: Set the sensitivity voltage to control the photodetector, then go to step 2;
[0017] Step 2: The optical signal is converted into an electrical signal through the optical detector and then enters step 3;
[0018] Step 3: The signal received by the photodetector passes through a voltage DC coupling to voltage AC coupling circuit to convert the DC coupling signal into an AC coupling differential signal; then proceed to step 4;
[0019] Step 4: The AC-coupled differential signal is amplified by a differential amplifier to achieve gain adjustment; then proceed to step 5;
[0020] Step 5: The amplified signal passes through a filter to remove unnecessary frequency band signals and noise; then proceed to step 6;
[0021] Step 6: AD collects data and converts the signal into a digital signal; then proceed to step 7;
[0022] Step 7: According to the maximum and minimum voltages of the digital signal collected by AD within a certain period of time, two judgment voltages A and B are calculated, and the AC coupling signal is judged to generate a serial high and low level data stream; then go to step 8;
[0023] Step 8: The data collected by AD is converted into serial data through judgment voltage comparison, and then collected by the asynchronous multi-phase acquisition serial-to-parallel conversion module at different phases to become multiple sets of parallel data; at the same time, the lowest bit of the parallel data is the check bit, and the correctness of the data is verified by the check bit, and the correct data is selected and transmitted to the data processing module for processing; then enter step 9;
[0024] Step 9: The data processing module performs frame synchronization, decoding, and de-framing on the data, and the receiving statistics module counts the parameters such as the number of received frames, the number of CRC errors, the number of received bytes, and the number of error bytes during the processing of the asynchronous multi-phase acquisition serial-to-parallel conversion module; then proceed to step 10;
[0025] Step 10: In the sensitivity adjustment module, a value is calculated based on the four parameters of the number of received frames, the number of CRC errors, the number of received bytes, and the number of error bytes. The maximum calculated value is compared among the multiple groups of calculated values stored in the RAM; then, the module returns to step 1.
[0026] Compared with the prior art, the present invention has the following beneficial effects:
[0027] 1. The present invention adopts a voltage DC coupling to voltage AC coupling circuit to remove the DC component, and the signal level will fluctuate up and down based on a fixed intermediate level, which is convenient for subsequent dual-decision voltage comparison, gain adjustment and noise filtering;
[0028] 2. The present invention adds a function of adjusting the sensitivity of the optical detector module to the original transmission device, adaptively adjusts the strength of the detector output level, increases the range of the received signal voltage by calculating the bit error rate and the optical detector signal strength, and adjusts the sensitivity voltage in real time to make the optical detector work in the best state, which can resist the interference caused by sudden changes in the external environment and reduce the bit error rate;
[0029] 3. The present invention adopts multi-phase asynchronous serial port data acquisition. Since the clocks of the transmitting end and the receiving end are not synchronized, the asynchronous sampling accuracy of the receiving end will be reduced. Data is collected simultaneously through multiple sampling phases. After the collection, the check value is calculated to select data without check errors, thereby improving the accuracy of the received data;
[0030] 4. After the original signal output by the detector in the present invention is converted by AC coupling, the signal will fluctuate around a fixed intermediate level AVG, and a positive pulse will be generated on the rising edge of the original signal, and a negative pulse will be generated on the falling edge of the original signal. After AD sampling, the decision voltage A=(MAX-AVG)÷2 is calculated based on the highest level MAX recorded over a period of time, and the decision voltage B=(AVG-MIN)÷2 is calculated based on the lowest level MIN recorded over a period of time. When the signal voltage value is greater than A, the decision output level is high; when the output voltage is less than B, the decision output level is low; in other cases, the decision output maintains the previous value. By adjusting the two different decision voltages A and B, the bit error rate can be reduced and the receiving performance can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 The module block diagram of the method for implementing the present invention.
[0032] Figure 2 This is a flow chart of the sensitive voltage adaptation module in the present invention.
[0033] Figure 3 This is a flow chart of the multi-phase serial-to-parallel conversion module in the present invention.
[0034] Figure 4 This is a module block diagram of Example 1 in the present invention.
[0035] Figure 5 It is a schematic diagram of the judgment voltage comparison principle in the present invention. DETAILED DESCRIPTION
[0036] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the present invention is further explained below in conjunction with specific implementation methods.
[0037] In the description of the present invention, it should be noted that the terms "upper", "lower", "inner", "outer", "front end", "rear end", "two ends", "one end", "the other end" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.
[0038] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "provided with", "connected", etc. should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0039] like Figure 1-5 As shown, an adaptive visible light receiving device includes a light detector, a voltage DC coupling to voltage AC coupling circuit, a filter, an ADC module, a level detection circuit, a signal judgment module, an asynchronous multi-phase acquisition serial-to-parallel conversion module, a data selection module, a receiving statistics module, a sensitivity adjustment module, a differential amplifier and a data processing module, characterized in that: the light detector converts the optical signal into an electrical signal, the output of the sensitivity adjustment module is connected to the light detector, and the data output of the light detector is connected to the voltage DC coupling to voltage AC coupling circuit;
[0040] The input of the voltage DC coupling to voltage AC coupling circuit is connected to the photodetector, the output of the voltage DC coupling to voltage AC coupling circuit is connected to the differential amplifier, and the voltage DC coupling to voltage AC coupling circuit can remove the DC component;
[0041] The data input of the filter is connected to the differential amplifier, and the data output of the filter is connected to the ADC module. The filter can filter out interference signals and retain the required frequency band signal;
[0042] The data input of the ADC module is connected to the filter, the data output of the ADC module is connected to the level detection circuit, and the ADC module is used for analog-to-digital conversion to convert the received analog signal into a digital signal;
[0043] The data input of the level detection circuit is connected to the ADC module, and the data output of the level detection circuit is connected to the signal judgment module. The level detection circuit calculates the judgment voltages A and B according to the input digital signal value and outputs them to the signal judgment module. It includes two caches 1 and 2 of the same capacity. The input digital signal is written into cache 1. The maximum and minimum voltage values are recorded when writing. After cache 1 is full, it starts to read out and switches to cache 2 to write the digital signal. When writing, the maximum and minimum voltage values are recorded. After cache 2 is full, it starts to read out and the writing operation switches back to cache 1. The cycle repeats. The cache capacity is: sampling rate ÷ data bandwidth × number of bits after single-byte encoding. The cache capacity cannot be too small, otherwise the maximum and minimum voltages will be inaccurately judged; nor can it be too large, otherwise it cannot adapt to line interference occurring during transmission.
[0044] The input of the signal decision module is connected to the level detection circuit, and the output of the signal decision module is connected to the asynchronous multi-phase acquisition serial-to-parallel conversion module. The signal decision module sets a decision voltage A=(MAX-AVG)÷2 according to the highest level MAX output by the level detection circuit, and sets a decision voltage B=(AVG-MIN)÷2 according to the lowest level MIN. The data from the ADC is processed for decision. If it is greater than the voltage A, a high level is output, and if it is less than the voltage B, a low level is output. In other cases, the output is kept as the value of the last decision.
[0045] The data input of the asynchronous multi-phase acquisition serial-to-parallel conversion module is connected to the signal judgment module, and the data output of the asynchronous multi-phase acquisition serial-to-parallel conversion module is connected to the data selection module and the receiving statistics module. The asynchronous multi-phase acquisition serial-to-parallel conversion module performs acquisition in multiple phases and converts the serial data of the signal judgment module into multiple groups of parallel data;
[0046] The data input of the data selection module is connected to the asynchronous multi-phase acquisition serial-to-parallel conversion module, and the data output of the data selection module is connected to the data processing module. The data selection module asynchronous multi-phase acquisition serial-to-parallel conversion module transmits the data, selects the verified data and sends it to the data processing module for processing;
[0047] One data input of the receiving statistics module is connected to the asynchronous multi-phase acquisition serial-to-parallel conversion module, one data input of the receiving statistics module is connected to the data processing module, the data output of the receiving statistics module is connected to the sensitivity adjustment module, and the receiving statistics module counts the parameters such as the number of received frames, the number of CRC errors, the number of received bytes, and the number of error bytes within a unit time;
[0048] The input of the sensitivity adjustment module is connected to the receiving statistics module, and the output of the sensitivity adjustment module is connected to the light detector. The sensitivity adjustment module realizes the automatic configuration function of the sensitive voltage of the photomultiplier tube of the light detector.
[0049] An adaptive visible light receiving method comprises the following steps:
[0050] Step 1: Set the sensitivity voltage to control the photodetector, then go to step 2;
[0051] Step 2: The optical signal is converted into an electrical signal through the optical detector and then enters step 3;
[0052] Step 3: The signal received by the photodetector passes through a voltage DC coupling to voltage AC coupling circuit to convert the DC coupling signal into an AC coupling differential signal; then proceed to step 4;
[0053] Step 4: The AC-coupled differential signal is amplified by a differential amplifier to achieve gain adjustment; then proceed to step 5;
[0054] Step 5: The amplified signal passes through a filter to remove unnecessary frequency band signals and noise; then proceed to step 6;
[0055] Step 6: AD collects data and converts the signal into a digital signal; then proceed to step 7;
[0056] Step 7: According to the maximum and minimum voltages of the digital signal collected by AD within a certain period of time, two judgment voltages A and B are calculated, and the AC coupling signal is judged to generate a serial high and low level data stream; then go to step 8;
[0057] Step 8: The data collected by AD is converted into serial data through judgment voltage comparison, and then collected by the asynchronous multi-phase acquisition serial-to-parallel conversion module at different phases to become multiple sets of parallel data; at the same time, the lowest bit of the parallel data is the check bit, and the correctness of the data is verified by the check bit, and the correct data is selected and transmitted to the data processing module for processing; then enter step 9;
[0058] Step 9: The data processing module performs frame synchronization, decoding, and de-framing on the data, and the receiving statistics module counts the parameters such as the number of received frames, the number of CRC errors, the number of received bytes, and the number of error bytes during the processing of the asynchronous multi-phase acquisition serial-to-parallel conversion module; then proceed to step 10;
[0059] Step 10: In the sensitivity adjustment module, a value is calculated based on the four parameters of the number of received frames, the number of CRC errors, the number of received bytes, and the number of error bytes. The maximum calculated value is compared among the multiple groups of calculated values stored in the RAM; then, the module returns to step 1. Example
[0060] In this embodiment, an adaptive visible light receiving device and method are composed of a photomultiplier tube (P25A), a voltage DC coupling to voltage AC coupling circuit, a differential amplifier (LMH6515), a filter (HMC900), an ADC (AD9484), a potentiometer (AD5270) and an FPGA circuit. The FPGA circuit controls the potentiometer to output the detector sensitivity voltage through the SPI interface. The detector circuit outputs the signal to the voltage DC coupling to voltage AC coupling circuit. The AC coupling signal is collected by the differential amplifier, filtering and ADC, and then output to the FPGA circuit through LVDS. The specific implementation of the photodetector circuit, DC coupling to AC coupling, differential amplifier, filter, ADC and potentiometer is not within the scope of this patent.
[0061] The FPGA circuit uses the Xilinx ZYNQ series, model: xc7z020clg400-2. FPGA is a programmable device that can realize hardware circuit functions. In this embodiment, it internally realizes a level detection module, a signal judgment module, an asynchronous multi-phase acquisition serial-to-parallel conversion module, a sensitivity adjustment module, a statistical reception, and a data processing module. The specific implementation of the data processing module is not within the scope of this patent.
[0062] The level detection module outputs two judgment voltages A and B according to the maximum voltage (MAX) and minimum voltage (MIN) of the digital data after high-speed AD sampling within a certain period of time, and sends them together with the data to the signal judgment module for processing. It contains two caches 1 and 2 of the same capacity. The input digital signal is written into cache 1, and the maximum and minimum voltage values are recorded when writing. When cache 1 is full, it starts to read and output the maximum and minimum voltage values recorded when writing, and switches to cache 2 to write digital signals. When writing, the maximum and minimum voltage values are recorded. When cache 2 is full, it starts to read and output the maximum and minimum voltage values recorded when writing, and the writing operation is switched back to cache 1, and the cycle repeats. The judgment voltage A is calculated according to the maximum MAX and minimum voltage MIN values by the formula: A=(MAX-AVG)÷2, and the judgment voltage B is calculated according to the minimum level MIN by the formula: B=(AVG-MIN)÷2. AVG is a fixed intermediate level, which is 128 in this embodiment. The cache capacity calculation formula is: sampling rate ÷ data bandwidth × number of bits after single-byte encoding. In this embodiment, the sampling rate is 250M, the data bandwidth is 25M, and the number of bits after single-byte encoding is 19 bits. Therefore, the capacity of cache 1 and cache 2 in this embodiment is both 190.
[0063] The signal decision module receives and determines that when the data value is greater than the decision voltage A, the output is high level; when the data value is less than the decision voltage B, the output is low level; in other cases, the previous decision output value remains unchanged, thereby generating serial data.
[0064] The asynchronous multi-phase acquisition serial-to-parallel conversion module consists of multi-phase acquisition and serial-to-parallel conversion. Multi-phase acquisition: advance and delay the sampling pulse by x to 1 cycle, plus the original sampling pulse, there are 2x+1 sampling pulses, these 2x+1 sampling pulses sample the received data at the same time, and can generate 2x+1 sets of parallel data at the same time. Since the last bit of the data is the parity bit, the received data is judged to be correct according to the parity bit, and the set of data with the smallest number is selected from the correct output as the final output. Serial-to-parallel conversion: M is the total number of counts per second, which is the sampling rate ÷ the transmission rate. In this embodiment, the sampling rate is 250M and the transmission rate is 25M, so M=10. The frequency division counter and the bit width counter realize the counting of serial-to-parallel conversion. When the frequency division counter counts to M / 2, the serial data is collected. When the frequency division counter counts to M, the data is shifted left by one bit. The bit width counter counts to N+1 (N is the number of bits after single-byte encoding, and there is one parity bit, so it is N+1) and the serial-to-parallel conversion is completed when the frequency division counter counts to M / 2. The acquisition number and phase number can be adjusted as needed.
[0065] After the sensitivity adjustment module is powered on, all voltage configuration values are traversed first. After each voltage configuration is completed, a fixed time (1 second in this embodiment) is waited. During this time, the number of received frames, the number of CRC errors, the number of received bytes, and the number of error bytes are counted, and the calculated value is calculated. The calculation value formula is:
[0066] Calculated value = number of received bytes / number of received frames - number of error bytes * number of CRC errors
[0067] And fill these 5 values into RAM (address is voltage value - 0x30), the polling circuit cyclically polls each address space of RAM, and selects the corresponding voltage with the largest calculated value to configure the sensitivity voltage of the photomultiplier tube. After configuration, the RAM is updated in real time according to the calculated value obtained by statistics and calculation in the current fixed time period, and then the configuration voltage value with the largest calculated value is compared to configure the sensitivity voltage of the photomultiplier tube. When all the calculated values in the RAM are the same, the voltage polling configuration process after power-on is repeated.
[0068] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. An adaptive visible light receiving device, comprising a light detector, a voltage DC coupling to voltage AC coupling circuit, a filter, an ADC module, a level detection circuit, a signal judgment module, an asynchronous multi-phase acquisition serial-to-parallel conversion module, a data selection module, a receiving statistics module, a sensitivity adjustment module, a differential amplifier and a data processing module, Features: The photodetector converts the optical signal into an electrical signal, the output of the sensitivity adjustment module is connected to the photodetector, and the data output of the photodetector is connected to a voltage DC coupling to voltage AC coupling circuit; The input of the voltage DC coupling to voltage AC coupling circuit is connected to the photodetector, and the output of the voltage DC coupling to voltage AC coupling circuit is connected to the differential amplifier; The data input of the filter is connected to the differential amplifier, and the data output of the filter is connected to the ADC module; The data input of the ADC module is connected to the filter, and the data output of the ADC module is connected to the level detection circuit; The data input of the level detection circuit is connected to the ADC module, and the data output of the level detection circuit is connected to the signal decision module; The input of the signal decision module is connected to the level detection circuit, and the output of the signal decision module is connected to the asynchronous multi-phase acquisition serial-to-parallel conversion module; The data input of the asynchronous multi-phase acquisition serial-to-parallel conversion module is connected to the signal judgment module, and the data output of the asynchronous multi-phase acquisition serial-to-parallel conversion module is connected to the data selection module and the receiving statistics module; The data input of the data selection module is connected to the asynchronous multi-phase acquisition serial-to-parallel conversion module, and the data output of the data selection module is connected to the data processing module; One data input of the receiving statistics module is connected to the asynchronous multi-phase acquisition serial-to-parallel conversion module, one data input of the receiving statistics module is connected to the data processing module, and the data output of the receiving statistics module is connected to the sensitivity adjustment module; The input of the sensitivity adjustment module is connected to the receiving statistics module, and the output of the sensitivity adjustment module is connected to the light detector.
2. The receiving method of the adaptive visible light receiving device according to claim 1, Features: The following steps are involved: Step 1: Set the sensitivity voltage to control the photodetector, then go to step 2; Step 2: The optical signal is converted into an electrical signal through the optical detector and then enters step 3; Step 3: The signal received by the photodetector passes through a voltage DC coupling to voltage AC coupling circuit to convert the DC coupling signal into an AC coupling differential signal; then proceed to step 4; Step 4: The AC-coupled differential signal is amplified by a differential amplifier to achieve gain adjustment; then proceed to step 5; Step 5: The amplified signal passes through a filter to remove unnecessary frequency band signals and noise; then proceed to step 6; Step 6: AD collects data and converts the signal into a digital signal; then proceed to step 7; Step 7: According to the maximum and minimum voltages of the digital signal collected by AD within a certain period of time, two judgment voltages A and B are calculated, and the AC coupling signal is judged to generate a serial high and low level data stream; Then go to step 8; Step 8: The data collected by AD is converted into serial data through judgment voltage comparison, and then collected by the asynchronous multi-phase acquisition serial-to-parallel conversion module at different phases to become multiple sets of parallel data; at the same time, the lowest bit of the parallel data is the check bit, and the correctness of the data is verified through the check bit, and the correct data is selected and transmitted to the data processing module for processing; Then go to step 9; Step 9: The data processing module performs frame synchronization, decoding, and de-framing on the data, and the receiving statistics module counts the number of received frames, the number of CRC errors, the number of received bytes, and the number of error bytes during the processing of the asynchronous multi-phase acquisition serial-to-parallel conversion module; then proceed to step 10; Step 10: In the sensitivity adjustment module, a value is calculated based on the four parameters of the number of received frames, the number of CRC errors, the number of received bytes, and the number of error bytes. The maximum calculated value is compared among the multiple groups of calculated values stored in the RAM; then, the module returns to step 1.
