Physics — Circuit: precision rectifier
An op-amp removes the diode drop for small signals.
Make it your own.
title "Precision rectifier"
component V V1 Vin at (0,1) orient v
component OP U1 at (3,2)
component D D1 at (5,2) orient h
component R R1 10k at (7,2) orient v
component GND G1 at (3,5)
wire (0,1) (2,1)
wire (4,2) (5,2)
wire (6,2) (7,2)
wire (3,4) (3,5)
wire (7,3) (7,4)
wire (7,4) (3,4)