Light pilot-tone signal received high-low level judgment method and device
A signal receiving, high and low level technology, applied in the field of communication, to achieve the effect of ensuring stability, improving efficiency and reducing costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] This embodiment provides a method for automatically adjusting the decision threshold for receiving high and low levels of optical modulation signals, such as figure 2 shown, including the following steps:
[0047] S1. The receiving end calculates and sets the effective judgment threshold R of the receiving level of the optical modulation signal;
[0048] After the optical module is powered on or restarted, the calculation and setting of the effective judgment threshold R of the receiving level of the optical modulation signal will be performed. After the R calculation is set successfully, the calculation will not be performed again.
[0049] S2. The receiving end periodically reads the RSSI ADC value;
[0050] The receiving end needs to start the timer and set the timing period, which is the duration of a high level or a low level. The timing cycle can be adjusted according to requirements, the higher the data transmission rate, the shorter the timing cycle.
[0051...
Embodiment 2
[0055] The embodiment of the present invention describes in detail step S3 in embodiment 1, that is, calculating the effective threshold value of the high and low level judgment threshold for receiving the optical modulation signal according to the read N RSSI ADC values: after reading the N RSSI ADC values Perform calculations, and the value of N can be adjusted according to requirements. The larger the value of N, the more accurate the calculated threshold for receiving high and low levels of the optical modulation signal is. The calculation process after reading N RSSI ADC values is as follows: image 3 shown, including the following steps:
[0056] S21. Calculate the average value A of N RSSI ADC values;
[0057] Sum up the N RSSI ADC values currently stored in real time, and calculate the average value A.
[0058] S22. Find the RSSI ADC value greater than or equal to the average value A among the N RSSI ADC values, and calculate the first average value H of these RS...
Embodiment 3
[0070] The embodiment of the present invention describes in detail step S1 in Embodiment 1, that is, the receiving end calculates and sets the effective judgment threshold R of the receiving level of the optical modulation signal: as follows Figure 4 shown, including the following steps:
[0071] S11. The sending end periodically sends calibration bytes to the receiving end;
[0072] The sending end periodically sends calibration bytes to the receiving end, and the sending period can be adjusted as needed. The calibration byte can be one byte or multiple bytes, and the content of the calibration byte is a preset value, which can be changed according to needs and is not fixed. For example, the sending end continuously sends calibration bytes periodically, and the receiving end continuously receives calibration bytes. If all the received data are correct, it proves that there is no problem with the judgment. If there is an error in the received data, it proves that there is a ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


