# US 2004/0062167 A1 · Method and device for adjusting reference level

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2004/0062167 A1
- Document ID: US20040062167A1
- Status: Published application
- Kind: A1
- Application number: 10/670,593
- Filed: 2003-09-25
- Published: 2004-04-01
- Earliest claimed: 2002-09-27
- Assignees: VIA Technologies, Inc.
- Inventors: William Mar
- Web page: https://patentgrep.com/patent/US20040062167A1

## CPC

- G11B 20/10037: {A/D conversion, D/A conversion, sampling, slicing and digital quantisation or adjusting parameters thereof}
- G11B 7/005: Reproducing (G11B7/0065 takes precedence)
- G11B 20/10009: {Improvement or modification of read or write signals}
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)

## Abstract

A method for adjusting a reference level of an analog signal from a plurality of periodically sampled points includes the following steps. Firstly, a first level shift from an preliminary reference level to the last second sampled point within a specified period and a second level shift from the preliminary reference level to the last sampled point within the specified period is determined when one of a first level of the last second sampled point and a second level of the last sampled point is higher than the preliminary reference level and the other is lower than the preliminary reference level. Then, the preliminary reference level is moved toward the first level when an absolute value of the first level shift is greater than an absolute value of the second level shift, and the preliminary reference level is moved toward the second level when the absolute value of the first level shift is less than the absolute value of the second level shift, thereby defining an adjusted reference level.

## Claims

### Claim 1

A method for adjusting a reference level of an analog signal from a plurality of periodically sampled points, said method comprising steps of:
comparing a first number of sampled points having levels higher than an initial reference level with a second number of sampled points having levels lower than said initial reference level within a specified period;
raising said initial reference level when said first number is greater than said second number, and lowering said initial reference level when said first number is less than said second number, thereby obtaining a new reference level, and defining said new reference level as a first-stage reference level;
determining a first level shift from said first-stage reference level to a last second sampled point within said specified period and a second level shift from said first-stage reference level to a last sampled point within said specified period when one of a first level of said last second sampled point and a second level of said last sampled point is higher than said first-stage reference level and the other is lower than said first-stage reference level; and
moving said first-stage reference level toward said first level when an absolute value of said first level shift is greater than an absolute value of said second level shift, and moving said first-stage reference level toward said second level when said absolute value of said first level shift is less than said absolute value of said second level shift, thereby defining a second-stage reference level.

### Claim 2 (depends on 1)

The method according to claim 1 wherein said first-stage reference level is defined by adding a positive constant value to said initial reference level when said first number is greater than said second number or subtracting said positive constant value from said initial reference level when said first number is less than said second number.

### Claim 3 (depends on 1)

The method according to claim 1 wherein said second-stage reference level is obtained by steps of:
summing said first level shift and said second level shift to obtain a sum of shift;
multiplying said sum of shift by an adjusting parameter to obtain a shifting value; and
summing said first-stage reference level and said shifting value to obtain said second-stage reference level.

### Claim 4 (depends on 1)

The method according to claim 1 wherein said steps are repeated for next sampled point by using said second-stage reference level as said initial reference level.

### Claim 5 (depends on 1)

The method according to claim 1 wherein said step of comparing said first number with said second number and said step of raising/lowering said initial reference level are repetitively performed with said new reference level in lieu of said initial reference level until said first number is equal to said second number, and the latest reference level resulting in the equality of said first number to said second number is defined as said first-stage reference level.

### Claim 6 (depends on 1)

The method according to claim 1 wherein said initial reference level is preset before said comparing step is performed.

### Claim 7 (depends on 1)

The method according to claim 1 for use in a photoelectric system, wherein said analog signal is a radio frequency (RF) signal.

### Claim 8 (depends on 1)

The method according to claim 1 for use in a photoelectric system to adjust a zero-crossing level.

### Claim 9 (depends on 1)

The method according to claim 1 for use in a photoelectric system, wherein said photoelectric system is a compact disk-read only memory (CD-ROM) drive, a compact disk-rewritable (CD-RW) drive, a digital versatile disk-read only memory (DVD-ROM) drive, a digital versatile disk-recordable (DVD-R) drive, a digital versatile disk-rewritable (DVD-RW) drive or a digital versatile disk-random access memory (DVD-RAM) drive.

### Claim 10

A method for adjusting a reference level of an analog signal from a plurality of periodically sampled points, said analog signal being generated by a photoelectric system, said method comprising steps of:
determining a first level shift from a preliminary reference level to a last second sampled point within a specified period and a second level shift from said preliminary reference level to a last sampled point within said specified period when one of a first level of said last second sampled point and a second level of said last sampled point is higher than said preliminary reference level and the other is lower than said preliminary reference level; and
moving said preliminary reference level toward said first level when an absolute value of said first level shift is greater than an absolute value of said second level shift, and moving said preliminary reference level toward said second level when said absolute value of said first level shift is less than said absolute value of said second level shift, thereby defining an adjusted reference level.

### Claim 11 (depends on 10)

The method according to claim 10 wherein said step of moving said preliminary reference level comprises sub-steps of:
summing said first level shift and said second level shift to obtain a sum of shift;
multiplying said sum of shift by an adjustment parameter to obtain a shifting value; and
summing said preliminary reference level and said shifting value to obtain said adjusted reference level.

### Claim 12 (depends on 10)

The method according to claim 10 further comprising a step of obtaining said preliminary reference level by sub-steps of:
comparing a first number of sampled points having levels higher than an initial reference level with a second number of sampled points having levels lower than said initial reference level within said specified period; and
adding a positive constant value to said initial reference level to obtain said preliminary reference level when said first number is greater than said second number, and subtracting said positive constant value from said initial reference level to obtain said preliminary reference level when said first number is less than said second number.

### Claim 13 (depends on 10)

The method according to claim 10 further comprising a step of obtaining said preliminary reference level by sub-steps of:
comparing a first number of sampled points having levels higher than an initial reference level with a second number of sampled points having levels lower than said initial reference level within said specified period;
adding a positive constant value to said initial reference level when said first number is greater than said second number, and subtracting said positive constant value from said initial reference level when said first number is less than said second number, thereby obtaining a new reference level;
using the new reference level in lieu of said initial reference level, and repeating the above steps until said first number is equal to said second number;
defining the latest reference level resulting in the equality of said first number to said second number as said preliminary reference level.

### Claim 14

A digital signal processing device for use in a photoelectric system, comprising:
an analog-to-digital converter for converting an analog signal into a plurality of periodically sampled signals in digital forms;
a zero-crossing level tracking circuit in communication with said analog-to-digital converter, determining a first level shift from an preliminary reference level to a last second sampled point within a specified period and a second level shift from said preliminary reference level to a last sampled point within said specified period when one of a first level of said last second sampled point and a second level of said last sampled point is higher than said preliminary reference level and the other is lower than said preliminary reference level, said zero-crossing level tracking circuit moving said preliminary reference level toward said first level when an absolute value of said first level shift is greater than an absolute value of said second level shift, and moving said preliminary reference level toward said second level when said absolute value of said first level shift is less than said absolute value of said second level shift, thereby defining an adjusted reference level; and
a detector in communication with said zero-crossing level tracking circuit, determining a level of said analog signal based on said adjusted reference level.

### Claim 15 (depends on 14)

The device according to claim 14 wherein said zero-crossing level tracking circuit further performs operations of:
summing said first level shift and said second level shift to obtain a sum of shift;
multiplying said sum of shift by an adjustment parameter to obtain a shifting value; and
summing said preliminary reference level and said shifting value to obtain said adjusted reference level.

### Claim 16 (depends on 14)

The device according to claim 14 wherein said zero-crossing level tracking circuit further performs operations of:
comparing a first number of sampled points having levels higher than an initial reference level with a second number of sampled points having levels lower than said initial reference level within said specified period;
raising said initial reference level when said first number is greater than said second number, and lowering said initial reference level when said first number is less than said second number, thereby defining said preliminary reference level.

### Claim 17 (depends on 14)

The device according to claim 14 further comprising a retiming system circuit in communication with said analog-to-digital converter for checking said sampled signals to determine whether the features of said analog signal are retained.

### Claim 18 (depends on 14)

The device according to claim 14 further comprising a phase-locked loop circuit in communication with said analog-to-digital converter, generating a clock signal referenced by said analog-to-digital converter to generate said periodically sampled signals.

### Claim 19 (depends on 14)

The device according to claim 14 wherein said analog signal is a radio frequency (RF) signal.

### Claim 20 (depends on 14)

The device according to claim 14 wherein said photoelectric system is a compact disk-read only memory (CD-ROM) drive, a compact disk-rewritable (CD-RW) drive, a digital versatile disk-read only memory (DVD-ROM) drive, a digital versatile disk-recordable (DVD-R) drive, a digital versatile disk-rewritable (DVD-RW) drive or a digital versatile disk-random access memory (DVD-RAM) drive.
