Test setup: I am looking at this relay G5V-2-DC12. The test is simple. I power it up with 12V and connect a PWM signal (0V-5V 125kHz) to the common pin. I probe at the NO pin of the relay, and I expect to get exactly the same PWM signal back when 12V is ON. That works completely fine when 12V is ON (relay is energized).
Problem: However, when 12V is off, I expect to see nothing at the NO pin, but I got a PWM signal with the same frequency 125kHz but lower amplitude, about 400mV peak to peak.
Experimental Result: The image below shows the results I got when the relay is NOT energized. The top waveform is the input PWM signal (connect to COMMON pin), and the bottom is the signal probed at the NO pin of the relay.
Question: My question is if there is a name for this kind of problem and how to solve it.
Solution: Connect a resistor to the NO pin. I select the 1kR because with the 50R or 100R, the voltage drops as we draw current via the resistor.