Patent ID: 8374503

Claim:
A method for determining thresholds which identify received signals into the value 0 or 1, said method comprising the steps of: a first step for selecting a first offset during a predetermined time period and selecting a second offset during a time period other than the predetermined time period a second step for calculating thresholds for identification based on the offsets; a third step for identifying said signals using the thresholds; a fourth step for repeating said first step to said third step for all received signals; and a fifth step for determining whether the predetermined time period has expired, previous to the first step, wherein: said thresholds are equal to half the sum of the peak value and the first or the second offset, said predetermined time period corresponds to a period of receiving a ranging transmission from optical network units to an optical line terminal, said optical network units and said optical line terminal constitute a passive optical network, optical signals which are received by the optical line terminal during the period of receiving the ranging transmission are ranging signals, and the determination of whether the predetermined time period has expired is made based on upstream timeslot information which is allocated to the optical network units by the optical line terminal.