Your task is to design, build, and test an amplifier for an ultrasonic receiver which can detect a signal from at least 2 meters away. Then modify this system to reliably detect an on/off modulated ultrasonic signal from as far away as possible.

1. Description

  • 2 Vp-p output at 2m distance

    Required decisions
  • How much voltage gain is enough?

  • Which op amp to use?

  • How many amplifier stages?

Some of these questions can only be addressed with thoughtful experimentation.

1.1. The ultimate goal of this effort

For a given selected opamp, estimate the maximum distance achievable for at least a 100 mVp-p output amplitude.

2. Helpful information

2.1. Inverse square law

inverse square TODO
Figure 1. Inverse square law setup

Consider a finite amount of sound intensity (power per area, W/m2) leaving a speaker and a virtual sphere of diameter d centered at the speaker having a small patch on it which collects all energy pasing through the patch’s area. See Figure 1, “Inverse square law setup” for an illustration. A certain fraction of the total sound power emitted from the speaker will be absorbed by the patch depending on the proportion of the patch’s area to the sphere’s total surface area.

If the patch’s distance is doubled to 2d, the patch’s area must be increased by a factor of \(\left(\frac{2d}{d}\right)^2\) (4x) in order to absorb the same power as before. Stated the other way, a (same area) patch at distance d2 will absorb the following power compared with a patch at distance d1:

\[p_2 = p_1 \left(\frac{d_1}{d_2}\right)^2\]

Since the voltage output of the microphone is proportional to the square root of the power, the relationship may also be expressed as:

\[v_2 = v_1 \frac{d_1}{d_2}\]

→ Doubling of distance reduces received power by 1/4 and a reduction in received voltage by a factor of 1/2.

2.2. 1-pole RC high-pass filter:

\[H(f) = \dfrac{j\dfrac{f}{f_H}}{1 + j\dfrac{f}{f_H}} \quad\text{with}\quad f_H = \dfrac{1}{2\pi R C}\]

2.3. 1-pole RC low-pass filter:

\[H(f) = \dfrac{1}{1 + j\dfrac{f}{f_H}} \quad\text{with}\quad f_H = \dfrac{1}{2\pi R C}\]

2.4. DC errors

If you make the following assumptions:

  • The open-loop gain Av0 is large enough, which means \(\gg \left(1 + \frac{R_f}{R_1}\right)\)

  • The opamp’s open-loop output impedance Zout is low enough, or much less than the impedance seen by the output node (for this lab = 50,047 Ω).

The total non-inverting opamp output from the input signal and DC errors VOS and (IB, IOS) ←→ (IB+, IB-) is:

\[v_{OUT} = v_{in}\underbrace{\left(1 + \dfrac{R_f}{R_1}\right)}_\text{gain} + \underbrace{\biggl(V_{OS} + I_{B+} R_{eq+} - I_{B-} R_{eq-}\biggr)\left(1 + \dfrac{R_f}{R_1}\right)}_\text{offset}\]
  • \(R_{eq+}\) and \(R_{eq-}\) are the impedances seen by the + and - input terminals of the opamp.

2.7. Figures

ultrasonic sensor
Figure 2. Ultrasonic sensor equivalent circuit
opamp lab6
Figure 3. Example variable gain non-inverting amplifier

References