🌱 Tony's Memex Tony's Intertwingled Memex
Digital Garden | OER Curriculum
Home / Digital Garden / Automated Audio Amplifier Loop Gain (Electrical & Computer Engineering) Solution

Automated Audio Amplifier Loop Gain (Electrical & Computer Engineering) Solution

In professional audio electronics design, an automated gain control circuit stabilizes output volume using an active feedback amplifier loop. The loop amplification gain factor GG (dimensionless ratio) depends on an input control bias voltage vv (in Volts, V\text{V}) and a digital potentiometer feedback resistance rr (in kilo-ohms, kΩ\text{k}\Omega, for r>0r > 0):

G(v,r)=v3ln⁡(r)G(v, r) = v^3 \ln(r)

  1. Compute the first-order partial derivatives GvG_v and GrG_r.
  2. Compute the second-order partial derivatives (Gvv,Grr,Gvr,GrvG_{vv}, G_{rr}, G_{vr}, G_{rv}).
  3. Verify Clairaut's Theorem for the mixed partials GvrG_{vr} and GrvG_{rv}.
  4. Construct the 2×22 \times 2 Hessian matrix HG(v,r)\mathbf{H}_G(v, r) and evaluate it at the reference bias operating point (v,r)=(2 V,e kΩ)(v, r) = (2\text{ V}, e\text{ k}\Omega).
  5. Calculate the Hessian determinant D=det⁡(HG)D = \det(\mathbf{H}_G) at (2,e)(2, e) and determine whether the gain surface exhibits a local extremum or a saddle behavior at this operating point.

Step-by-Step Solution:

  1. Compute First-Order Partial Derivatives: State the First-Order Partial Derivative Formulas (see Partial Derivatives):

    Gv=∂∂v[v3ln⁡(r)]=3v2ln⁡(r)G_v = \frac{\partial}{\partial v}[v^3 \ln(r)] = 3v^2 \ln(r)
    Gr=∂∂r[v3ln⁡(r)]=v3(1r)=v3rG_r = \frac{\partial}{\partial r}[v^3 \ln(r)] = v^3 \left(\frac{1}{r}\right) = \frac{v^3}{r}

  2. Compute Second-Order Partial Derivatives: State the Second-Order Partial Derivative Formulas (see Second-Order Partial Derivatives):

    • Pure Partials:
      Gvv=∂∂v[3v2ln⁡(r)]=6vln⁡(r)G_{vv} = \frac{\partial}{\partial v}[3v^2 \ln(r)] = 6v \ln(r)
      Grr=∂∂r[v3r−1]=v3(−r−2)=−v3r2G_{rr} = \frac{\partial}{\partial r}\left[v^3 r^{-1}\right] = v^3 (-r^{-2}) = -\frac{v^3}{r^2}
    • Mixed Partials:
      Gvr=∂∂r[3v2ln⁡(r)]=3v2(1r)=3v2rG_{vr} = \frac{\partial}{\partial r}[3v^2 \ln(r)] = 3v^2 \left(\frac{1}{r}\right) = \frac{3v^2}{r}
      Grv=∂∂v[v3r]=3v2rG_{rv} = \frac{\partial}{\partial v}\left[\frac{v^3}{r}\right] = \frac{3v^2}{r}
  3. Verify Clairaut's Theorem:

    Gvr=Grv=3v2rG_{vr} = G_{rv} = \frac{3v^2}{r}
    For all r>0r > 0, the function G(v,r)G(v, r) is infinitely differentiable (C∞C^\infty), confirming Clairaut's Theorem.

  4. Construct and Evaluate Hessian Matrix at (v,r)=(2,e)(v, r) = (2, e):

    HG(v,r)=[GvvGvrGrvGrr]=[6vln⁡(r)3v2r3v2r−v3r2]\mathbf{H}_G(v, r) = \begin{bmatrix} G_{vv} & G_{vr} \\ G_{rv} & G_{rr} \end{bmatrix} = \begin{bmatrix} 6v \ln(r) & \frac{3v^2}{r} \\ \frac{3v^2}{r} & -\frac{v^3}{r^2} \end{bmatrix}

    • Since ln⁡(e)=1\ln(e) = 1:
      • Gvv(2,e)=6(2)(1)=12G_{vv}(2, e) = 6(2)(1) = 12
      • Grr(2,e)=−23e2=−8e2G_{rr}(2, e) = -\frac{2^3}{e^2} = -\frac{8}{e^2}
      • Gvr(2,e)=3(22)e=12eG_{vr}(2, e) = \frac{3(2^2)}{e} = \frac{12}{e}
        HG(2,e)=[1212e12e−8e2]\mathbf{H}_G(2, e) = \begin{bmatrix} 12 & \frac{12}{e} \\ \frac{12}{e} & -\frac{8}{e^2} \end{bmatrix}
  5. Compute Hessian Determinant and Classify Geometry:

    D=det⁡(HG)=GvvGrr−(Gvr)2=(12)(−8e2)−(12e)2D = \det(\mathbf{H}_G) = G_{vv} G_{rr} - (G_{vr})^2 = (12)\left(-\frac{8}{e^2}\right) - \left(\frac{12}{e}\right)^2
    D=−96e2−144e2=−240e2≈−2407.389≈−32.48D = -\frac{96}{e^2} - \frac{144}{e^2} = -\frac{240}{e^2} \approx -\frac{240}{7.389} \approx -32.48
    Because D<0D < 0, the gain surface possesses negative Gaussian curvature, confirming that the operating point (2,e)(2, e) is on a hyperbolic saddle geometry. In feedback control loop design, negative Hessian determinants indicate parameter trade-offs: increasing voltage boosts gain while increasing resistance suppresses gain, requiring active closed-loop stabilization.