The Engineer's Place for News and Discussion®

 Previous in Forum: Volume Control Knob on Clock Radio is Faulty Next in Forum: Fading LEDs?

### Subscribe to Discussion:

CR4 allows you to "subscribe" to a discussion
so that you can be notified of new comments to
the discussion via email.

### Rating Vote:

Power-User

Join Date: Apr 2009
Location: Australia, sunny North Queensland
Posts: 383

### Swinging Voltage Output, "Yeah Baby, YEAH!!!"

07/09/2012 2:08 AM

Very easy question....how can I create a voltage output that swings from +1v to +3v in a repetative loop with the space bewteen peak to peak voltage manually adjustable by a potentiometer from 1 to 10 seconds?

Supply line voltage is 6vdc and prefer to use discrete parts and the least number of parts with a small foot-print.

This question is related to my project in this forum.

If you can share an actual working circuit or provide a "name" that describes the action for this circuit so I can look for a circuit on the web?
Solution may be easy for some...but not being able to name stuff is one of my quirks

__________________
CraziestOzzy
Interested in this topic? By joining CR4 you can "subscribe" to
Guru

Join Date: Sep 2007
Location: Japan
Posts: 2399
#1

### Re: Swinging voltage output, "Yeah baby, YEAH!!!"

07/09/2012 4:51 AM

you could use a ne555 to drive an opamp

__________________
From the Movie "The Big Lebowski" Don't pee on the carpet man!
Guru

Join Date: Apr 2008
Location: Lexington, KY
Posts: 855
#2

### Re: Swinging Voltage Output, "Yeah Baby, YEAH!!!"

07/09/2012 12:27 PM

By far, the 555 timer is the easiest way to go. As far as what you mean by "swing" you may have to do a little more work because the 555 produces a square wave output. Still, with some simple resistors and a capacitor, you can pretty much get what you want.

If you are trying to keep the off time equal to the on time (duty cycle) you may have to be a little more particular as to the value of fixed resistors and potentiometer you choose. There are hundreds of examples and uses for the 555 on the internet.

editing....

I just read your last question and now understand a little better. Will reply again soon.

__________________
A great troubleshooting tip...."When you eliminate the impossible, whatever remains, however improbable, must be the truth." Sir Arthur Conan Doyle
Guru

Join Date: Aug 2007
Location: Earth - I think.
Posts: 947
#3

### Re: Swinging Voltage Output, "Yeah Baby, YEAH!!!"

07/09/2012 12:31 PM

Try this one: http://www.dprg.org/tutorials/2005-11a/index.html

By changing R1 from a common resistor to both charge and discharge cycles, into a fixed for one and variable resistor for the other; you should be able to achieve what you are trying.

You will need some additional circuitry to limit it between 1-3V.

P.S. The generic term for this 555 circuit is an "Astable Multivibrator". Doing a search for that term will bring even more circuits.

__________________
TANSTAAFL (If you don't know what that means, Google it - yourself)
Guru

Join Date: Apr 2008
Location: Lexington, KY
Posts: 855
#4

### Re: Swinging Voltage Output, "Yeah Baby, YEAH!!!"

07/09/2012 12:49 PM

The key to using the 555 is to consider the split resistor combination for the two halves of the cycle. In order to achieve a particular duty cycle (10% would mean on for 10% of the cycle length, off for 90%) you can choose the combination of resistor and capacitor that meets your requirement.

As for the 1 volt to 3 volt signal, you can use a voltage divider with two forward biased diodes to make sure you always have at least 1 volt on the minimum side and the divider output for the other or a voltage follower transistor arrangement limited to a supply of 3 volts, if necessary. The key is in the terms used above. A voltage follower is just a single transistor with the load connected to the emitter (also known as a common collector) arrangement.

__________________
A great troubleshooting tip...."When you eliminate the impossible, whatever remains, however improbable, must be the truth." Sir Arthur Conan Doyle
Guru

Join Date: Jun 2011
Location: Phnom Penh
Posts: 2371
#5

### Re: Swinging Voltage Output, "Yeah Baby, YEAH!!!"

07/10/2012 12:08 AM

A Sin wave with 1V amplitude and a 2V DC offset swings like that quite repetitively.

__________________
Difficulty is not an obstacle it is merely an attribute.
Active Contributor

Join Date: Mar 2012
Location: The middle of the UK
Posts: 18
#6

### Re: Swinging Voltage Output, "Yeah Baby, YEAH!!!"

07/10/2012 3:17 AM

You could try and revive the old project i built in the 1970s

Do a search on the web "ETI Sweep generator forum" and look for a vintage electronics site. The sine wave generator may well be fine as it is however the timing capacitor in the ramp generator may need to be lowered a bit. The transistor array will have to be made with discrete transistors as they are in short supply now. The scope sync output is the one you would use to clock the servo. If you follow this route you would have to request a library password from the forum moderator to get the data. You just need an isolated DC supply to lift it a couple of volts to get what you require. This will help you learn what is inside a modern signal generator chip if anything else.

C8, C11 and C12 spring to mind.

__________________
General electronics is my thing