beautypg.com

Rainbow Electronics MAX9034 User Manual

Page 7

background image

1) Find the trip points of the comparator using these

formulas:

V

TH

= V

REF

+[((V

DD

- V

REF

)R2) / (R1 + R2)

V

TL

= V

REF

(1 - (R2 / (R1 + R2))]

where V

TH

is the threshold voltage at which the com-

parator switches its output from high to low as V

IN

rises above the trip point. V

TL

is the threshold volt-

age at which the comparator switches its output from
low to high as V

IN

drops below the trip point.

2) The hysteresis band will be:

V

HYS

= V

TH

- V

TL

= V

DD

(R2 / (R1 + R2))

3) In this example, let V

DD

= +5V and V

REF

= +2.5V.

V

TH

= 2.5V + 2.5(R2 / (R1 + R2))V

and

V

TL

= 2.5[1 - (R2 / (R1 + R2))]

4) Select R2. In this example, we will choose 1k

Ω.

5) Select V

HYS

. In this example, we will choose 50mV.

6) Solve for R1.

V

HYS

= V

DD

(R2 / (R1 + R2))

0.050V = 5(1000

Ω/(R1 + 1000Ω)) V

where R1

≈ 100kΩ, V

TH

= 2.525V, and V

TL

= 2.475V.

The above-described design procedure assumes rail-
to-rail output swing. If the output is significantly loaded,
the results should be corrected.

Board Layout and Bypassing

Use 100nF bypass as a starting point. Minimize signal
trace lengths to reduce stray capacitance. Minimize the
capacitive coupling between IN- and OUT. For slow-
moving input signals (rise-time > 1ms), use a 1nF
capacitor between IN+ and IN-.

Biasing for Data Recovery

Digital data is often embedded into a bandwidth and
amplitude-limited analog path. Recovering the data can
be difficult. Figure 2 compares the input signal to a
time-averaged version of itself. This self-biases the
threshold to the average input voltage for optimal noise
margin. Even severe phase distortion is eliminated from
the digital output signal. Be sure to choose R1 and C1
so that:

ƒ

CAR

>> 1 / (2

π

R1C1)

where ƒ

CAR

is the fundamental carrier frequency of the

digital data stream.

MAX9030/MAX9031/MAX9032/MAX9034

Low-Cost, Ultra-Small, Single/Dual/Quad

Single-Supply Comparators

_______________________________________________________________________________________

7

MAX9031

OUT

IN+

IN-

R2

R1

V

IN

V

REF

V

DD

V

SS

V

DD

Figure 1. Additional Hysteresis

MAX9031

OUT

IN+

IN-

10k

0.1

µF

V

DD

V

IN

V

SS

V

DD

Figure 2. Time Averaging of the Input Signal for Data Recovery