How do you offset a sine wave generator to produce only positive voltage?

How do you configure a sine wave generator to oscillate between 0 and +6 volts?

by ssherm
April 06, 2022

You add a DC offset.

On the FY6800 as example, photos available on eBay/Bandgood/AliExpress, you can see that this is one of the parameter: Type (sine wave), Frequency (FREQ), Amplitude (AMPL), Offset (OFFS) , Duty and Phase.

You also have the possibility to add that offset in the simulator of Circuit Lab.

If you check with an oscilloscope, be sure to NOT reject the DC component of the signal that you sample with the probe.

by vanderghast
April 07, 2022

What settings do I use for Offset and Amplitude to get a sine wave that oscillates between 0 and +6 volts?

by ssherm
April 07, 2022

The amplitude of the sine wave can be given as peak to peak, in this case it would be 6 Vpp ( pp == peak to peak) or from DC to peak, in that case it would be 3 V. The DC offset will be of 3V in both cases.

Many generators assume a "load" of 50 Ohm. You may get a different voltage as output if your load is not 50 Ohm for these generators. Also, these generators have a maximum output current, so you may have to buffer it (OpAmp or transistor) before presenting it to your circuit.

by vanderghast
April 07, 2022

What worked was Amplitude 3V with Offset of 3V. This generated a sine wave with peak at 6V and trough at 0V.

by ssherm
April 08, 2022

No Answers

No answers yet. Contribute your answer below!


Your Answer

You must log in or create an account (free!) to answer a question.

Log in Create an account


Go Ad-Free. Activate your CircuitLab membership. No more ads. Save unlimited circuits. Run unlimited simulations.

Search Questions & Answers


Ask a Question

Anyone can ask a question.

Did you already search (see above) to see if a similar question has already been answered? If you can't find the answer, you may ask a question.


About This Site

CircuitLab's Q&A site is a FREE questions and answers forum for electronics and electrical engineering students, hobbyists, and professionals.

We encourage you to use our built-in schematic & simulation software to add more detail to your questions and answers.

Acceptable Questions:

  • Concept or theory questions
  • Practical engineering questions
  • “Homework” questions
  • Software/hardware intersection
  • Best practices
  • Design choices & component selection
  • Troubleshooting

Unacceptable Questions:

  • Non-English language content
  • Non-question discussion
  • Non-electronics questions
  • Vendor-specific topics
  • Pure software questions
  • CircuitLab software support

Please respect that there are both seasoned experts and total newbies here: please be nice, be constructive, and be specific!

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.