Asking about Precision Rectifier

You will need a +/- 15V bipolar power supply or higher, and an op amp that can tolerate higher power supply voltages. The MCP6022 is 5.5V (or +/- 2.25V) maximum.

Do not apply voltages higher or lower than the power supply voltages to the inputs, or you will fry the IC.

I use dual supply 5v for op amp

Serious mistake, with the MCP6022.

Capture