Hey guys back at it again, sorry.
I am using a standard MCP6548 Comparator to finish the first stage of my project.
simulate this circuit – Schematic created using CircuitLab
OP's schematic.
A little tidy-up to separate the rectifier and comparator functions, run R4 downwards to GND and clean up the power supply. Section labels don't hurt either. [Transistor]
The probem is the comparator isn't working. When - > +, it is not staying at GND. When the input signal CH1 is Higher than CH2 it should stay at GND. Yes the output of the OPA350 is solid and working as it should.