# Add DC & AC Voltages: Learn How to Do It!

• kiamzattu
In summary, the conversation discusses the possibility of adding AC voltage with DC voltage using op-amp circuits. It is mentioned that this would essentially be an amplifier and can be designed using a DC control voltage to control the gain. The conversation also touches upon the use of an attenuator for subtracting the DC voltage from an AC waveform. Overall, the conversation focuses on the differences between amplification and shifting a waveform and the various factors to consider in designing such circuits.
kiamzattu
Hi

But is it possible to add AC voltage with a DC voltage? What i mean is can we add (for eg 2V DC with a AC of 5v peak value,50hz) so that the output is again AC with peak of 7V and frequency is 50hz
If so How?

Last edited:
That would be more considered an amplifier. A circuit can be designed that uses a DC control voltage to control the gain of an amplifier.

No, I don't think he's talking about an amplifier. Is this what you mean? The AC has peaks of +5V and -5V and you want to add 2V DC to get an output of +7Vpk and -3Vpk?

What do you think you'd get if you added them exactly the same way you added two DC voltages?

as long as you don't "hit the rails" with your summed signal, and the frequency is within the limits of your circuit, the opamp doesn't really care if it's AC or DC or any combination.

@Averagesupernova
No I'm not talking about amplifier.
@skeptic2
Yeah you got it right. But just a small variation. I don't want the output to be 7V and -3V, instead it should be 7Vpeak and -7Vpeak. Is that possible? because it is a sinusoidal signal and should be symmetrical.

anbullet said:
Hi

But is it possible to add AC voltage with a DC voltage? What i mean is can we add (for eg 2V DC with a AC of 5v peak value,50hz) so that the output is again AC with peak of 7V and frequency is 50hz
If so How?

If the OP and only add DC voltages it would be pretty useless. The OP Amp will of course have band width limitations and range limitations.

anbullet said:
@Averagesupernova
No I'm not talking about amplifier.
@skeptic2
Yeah you got it right. But just a small variation. I don't want the output to be 7V and -3V, instead it should be 7Vpeak and -7Vpeak. Is that possible? because it is a sinusoidal signal and should be symmetrical.

Then you are talking about an amplifier. You're multiplying the original signal by a factor of 1.4.

anbullet said:
@Averagesupernova
No I'm not talking about amplifier.
@skeptic2
Yeah you got it right. But just a small variation. I don't want the output to be 7V and -3V, instead it should be 7Vpeak and -7Vpeak. Is that possible? because it is a sinusoidal signal and should be symmetrical.

Depends on the OP amp and what voltage you connected across the power terminals. What is the application. If you are doing signal processing you might want to use an instrumentation amplifier, if you are doing control systems you might want to use a power amplifier. Power amplifiers are often based on, on and off switching.

skeptic2 said:
Then you are talking about an amplifier. You're multiplying the original signal by a factor of 1.4.
Oh!. Now i get it. Thank you Skeptic2.

@John Creighto

The application is i'll be having a DC voltage and 2 sine waves which are 180 degrees out of phase. Now I'm required to add the DC voltage to one of them and subtract it with the other sine wave. Just like an amplifier of gain 1.4 goes the addition part,can an attenuator do the subtraction part? I don't know what an attenuator is or how it works. its my friend's idea.

why don't you start by writing out the equation(s) you want to implement?

anbullet said:
The application is i'll be having a DC voltage and 2 sine waves which are 180 degrees out of phase. Now I'm required to add the DC voltage to one of them and subtract it with the other sine wave. Just like an amplifier of gain 1.4 goes the addition part,can an attenuator do the subtraction part? I don't know what an attenuator is or how it works. its my friend's idea.

Both amplifiers and attenuators work like multipliers. Amplifiers usually have a gain of more than one, attenuators have gains of less than one.

When you add a DC voltage to an AC waveform you shift the whole waveform up such as I posted above. It's exactly the same as adding that DC voltage to every point on the waveform. Subtraction would be the same but it shifts the waveform down.

Thank u everyone. Now i got a clear idea of the difference between amplification and shifting the waveform. I'll be needing only the amplification part.

## 1. How do I add DC and AC voltages?

To add DC and AC voltages, you can use a technique called superposition. First, calculate the sum of the DC voltages and then calculate the sum of the AC voltages. Finally, add the two sums together to get the total voltage.

## 2. What is the difference between DC and AC voltage?

The main difference between DC and AC voltage is the direction of the current flow. DC voltage has a constant positive or negative polarity, while AC voltage changes direction periodically.

## 3. Can I add different frequencies of AC voltage?

Yes, you can add different frequencies of AC voltage using the same superposition technique. Simply calculate the sum of each frequency separately and then add the sums together to get the total voltage.

## 4. Are there any limitations to adding DC and AC voltages?

One limitation is that the voltages must have the same units (e.g. both in volts). Additionally, the circuit must be linear for superposition to be applicable.

## 5. What is the purpose of adding DC and AC voltages?

Adding DC and AC voltages is useful for analyzing complex circuits that have both DC and AC components. It allows you to calculate the total voltage at any point in the circuit, which can help with troubleshooting and designing circuits.

• Electrical Engineering
Replies
10
Views
2K
• Electrical Engineering
Replies
15
Views
1K
• Electrical Engineering
Replies
2
Views
648
• Electrical Engineering
Replies
7
Views
3K
• Electrical Engineering
Replies
6
Views
2K
• Electrical Engineering
Replies
9
Views
3K
• Electrical Engineering
Replies
1
Views
1K
• Electrical Engineering
Replies
6
Views
2K
• Electrical Engineering
Replies
3
Views
1K
• Electrical Engineering
Replies
3
Views
690