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.
 
Very basic question. Consider a 3-terminal device with terminals say A,B,C. Kirchhoff Current Law (KCL) and Kirchhoff Voltage Law (KVL) establish two relationships between the 3 currents entering the terminals and the 3 terminal's voltage pairs respectively. So we have 2 equations in 6 unknowns. To proceed further we need two more (independent) equations in order to solve the circuit the 3-terminal device is connected to (basically one treats such a device as an unbalanced two-port...
suppose you have two capacitors with a 0.1 Farad value and 12 VDC rating. label these as A and B. label the terminals of each as 1 and 2. you also have a voltmeter with a 40 volt linear range for DC. you also have a 9 volt DC power supply fed by mains. you charge each capacitor to 9 volts with terminal 1 being - (negative) and terminal 2 being + (positive). you connect the voltmeter to terminal A2 and to terminal B1. does it read any voltage? can - of one capacitor discharge + of the...
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...
Back
Top