Skip to content
Question Bank (5 marks) · Q6

Q.With the circuit diagram show how to obtain an output which is logarithm of input.

Karnataka PUCTextbookLong· 5mImportance★★★★★est
36% · 36/100 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

[!TLDR]

A diode in the feedback path of an op-amp converts its exponential I-V law into a logarithm: with a virtual ground at the input, VO=−ηVT log⁡e ⁣(ViIsRi)V_O = -\eta V_T\,\log_e\!\left(\dfrac{V_i}{I_s R_i}\right), so VO∝log⁡e(Vi)V_O \propto \log_e(V_i).

Circuit: The input ViV_i is applied through RiR_i to the inverting terminal (node A) of the op-amp; a semiconductor diode is connected in the feedback path between the output and node A; the non-inverting terminal (node B) is grounded.

Derivation: For an ideal op-amp, open-loop gain A=∞A=\infty and input impedance Zi=∞Z_i=\infty, so VB=VA=0V_B = V_A = 0 (virtual ground) and IB=0I_B = 0.

Applying KCL at node A:

Ii=IB+If ⇒ Vi−VARi=If=IDI_i = I_B + I_f \ \Rightarrow\ \frac{V_i - V_A}{R_i} = I_f = I_D

Since VA=0V_A = 0:

ViRi=ID.....(1)\frac{V_i}{R_i} = I_D \qquad \text{.....(1)}

The voltage across the diode is

VD=VA−VO=−VO(since VA=0).....(2)V_D = V_A - V_O = -V_O \quad (\text{since } V_A = 0) \qquad \text{.....(2)}

From Shockley's diode equation,

ID=Is(eVD/(ηVT)−1)≈Is eVD/(ηVT)(since eVD/(ηVT)≫1).....(3)I_D = I_s\left(e^{V_D/(\eta V_T)} - 1\right) \approx I_s\,e^{V_D/(\eta V_T)} \qquad \text{(since } e^{V_D/(\eta V_T)} \gg 1) \quad \text{.....(3)}

Substituting (1) and (2) in (3):

ViRi=Is e−VO/(ηVT)\frac{V_i}{R_i} = I_s\,e^{-V_O/(\eta V_T)}

e−VO/(ηVT)=ViIsRie^{-V_O/(\eta V_T)} = \frac{V_i}{I_s R_i}

Taking log⁡e\log_e on both sides:

−VOηVT=log⁡e ⁣(ViIsRi)-\frac{V_O}{\eta V_T} = \log_e\!\left(\frac{V_i}{I_s R_i}\right)

VO=−ηVT log⁡e ⁣(ViIsRi)\boxed{V_O = -\eta V_T\,\log_e\!\left(\frac{V_i}{I_s R_i}\right)} …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.