Hey all, first time posting here, and I need your help! 
I am making an ECG circuit and I want to connect my ECG to a microcontroller. The ECG signal has both negative and positive values so I can't directly connect it to the microcontroller. For this reason, I am designing a circuit that will add adjustable DC offset to the signal so the signal never goes below 0V.
So here is the problem, I made the circuit and it adds 2.5V DC offset (I will make it adjustable by simply putting variable resistor instead of regular one) to the signal correctly but for some reason it also weakens the amplitude of the original AC signal (picture). The blue graph is signal before adding the offset and the green is after. You can see in pictures how the amplitude of the AC signal is weaker.
Why does this happen? What am I doing wrong? Can someone explain to me how to do this without losing amplitude of the AC signal? Lastly, if this is not the optimal solution for my problem, can you guys give me the better solution, I would really appreciate it.
Thank you very much!
I am making an ECG circuit and I want to connect my ECG to a microcontroller. The ECG signal has both negative and positive values so I can't directly connect it to the microcontroller. For this reason, I am designing a circuit that will add adjustable DC offset to the signal so the signal never goes below 0V.
So here is the problem, I made the circuit and it adds 2.5V DC offset (I will make it adjustable by simply putting variable resistor instead of regular one) to the signal correctly but for some reason it also weakens the amplitude of the original AC signal (picture). The blue graph is signal before adding the offset and the green is after. You can see in pictures how the amplitude of the AC signal is weaker.
Why does this happen? What am I doing wrong? Can someone explain to me how to do this without losing amplitude of the AC signal? Lastly, if this is not the optimal solution for my problem, can you guys give me the better solution, I would really appreciate it.
Thank you very much!
Attachments
-
80.9 KB Views: 24
-
72.7 KB Views: 25