Why there is dc component in square signal

AI Thread Summary
A square wave signal sent to a digital oscilloscope can show a DC component due to factors like the internal resistance of the coaxial cable or the oscilloscope's input impedance. The observed DC offset of approximately 17 mV in a ±1 V signal suggests a small error, potentially from the signal generator. Adjustments such as using a large capacitor in series or selecting "AC input" can eliminate the DC component. Additionally, the rise time of the square wave may contribute to the DC offset. Overall, the discussion highlights the importance of understanding signal integrity and potential sources of error in measurements.
giulioo
Messages
7
Reaction score
0
hi!
when I send a square wave to a digital oscilloscope it detects the signal + dc signal. I wanted to know why. I was thinking about internal resistance of coaxial cable i was using.

signal got out of an oscilloscope/wave generator and in channel A of the same oscilloscope/wg. It was +-1 V, while dc component was something like 17 mV.
 
Engineering news on Phys.org
or probably it is due to internal impedance of the oscilloscope?
 
giulioo said:
hi!
when I send a square wave to a digital oscilloscope it detects the signal + dc signal. I wanted to know why. I was thinking about internal resistance of coaxial cable i was using.

signal got out of an oscilloscope/wave generator and in channel A of the same oscilloscope/wg. It was +-1 V, while dc component was something like 17 mV.
This sounds like a small error in the generator. You can remove all DC component by placing a large capacitor in series with the oscilloscope, or selecting "AC input". It is possible that the square wave is not exactly "50/50".
 
well the wave is for sure not exactly 50/50 because of rise time. I haven't thought about it anyway. I will meditate upon it, i mean, rise time could add a dc component.
Do you think input and output resistance could not affect signal in such way too?
I already removed the dc component using an offset.
thank you for your advice!
 
giulioo said:
It was +-1 V, while dc component was something like 17 mV.
17mV DC error in a signal of ±1V - that is an error of ≈ 1%. I would not be able to see that on an oscilloscope. And, as you said, the signal generator might easily give an error of that size.
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...
Back
Top