A method and device for judging the high and low level of optical modulation signal reception
A signal reception, high and low level technology, applied in the field of communications, to ensure stability, improve efficiency, and reduce 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 high and low level decision thresholds for receiving an optical modulation top signal, 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 top signal;
[0048] After the optical module is powered on or restarted, the calculation and setting of the valid judgment threshold R of the receiving level of the optical dimming signal are performed. After the R calculation is successfully set, the calculation will not be performed again.
[0049] S2. The receiver periodically reads the RSSI ADC value;
[0050] The receiving end needs to start the timer and set the timing period, and the timing period is the duration of a high level or a low level. The timing period can be adjusted according to requirements, the higher the data transmission rate, the shorter the timing period....
Embodiment 2
[0055] This embodiment of the present invention describes in detail step S3 in Embodiment 1, that is, calculating an effective optical modulation top signal receiving high and low level decision threshold value according to the N RSSI ADC values read: after reading the N RSSI ADC values The calculation is performed, and the value of N can be adjusted according to the requirements. The larger the value of N is, the more accurate the calculated threshold value of the received high and low level of the optical modulation top signal is. The flow of calculation after reading N RSSI ADC values is as follows image 3 shown, including the following steps:
[0056] S21. Calculate the average value A of the N RSSI ADC values;
[0057] Sum the N RSSI ADC values currently stored in real time and calculate the average value A.
[0058] S22, find out the RSSI ADC value that is greater than or equal to the average value A from the N RSSI ADC values, and calculate the first average va...
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 top signal: as follows: Figure 4 shown, including the following steps:
[0071] S11. The sender periodically sends calibration bytes to the receiver;
[0072] The sender periodically sends calibration bytes to the receiver, 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 sender continuously sends calibration bytes periodically, and the receiver keeps receiving calibration bytes. If all received are correct, it proves that there is no problem with the judgment, and if the received is wrong, it proves that there is a problem with the judgment.
[0073] S12, the receivi...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


