Previous in Forum: Generator/Shore Neutral-Transfer Switch   Next in Forum: Synchronizing PCC3100 with EGCP 2
Close
Close
Close
29 comments
Rate Comments: Nested
Active Contributor

Join Date: Jan 2014
Posts: 10

Variable Square Wave Generator

01/11/2014 1:26 PM

I am looking for an existing device or design for generating 10 volt p to p square wave with a frequency range of 1.9MHz to 2.4MHz, that can be manually changed in 50KHz deltas. Power to be supplied for this device should be not more than 9 volt from a standard battery. The device should be requiring as low as possible amperage (CMOS), and if possible - also a minimum resisting components. (change frequency by changing capacitance or inductance). Grounding is not important/necessary. Thanks. Reuven.

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
United States - Member - New Member

Join Date: Mar 2010
Location: In the pool because it is too hot.
Posts: 3054
Good Answers: 141
#1

Re: variable square wave generor

01/11/2014 2:24 PM

I use a 20 old Philips function generator, that fulfills your needs. Besides that it also can generated a sinus, a triangle and has adjustable slope and duty cycle. The deltas, you call it has a rough step switch and a fine tune.

I would check for "function generator" under instruments. D

__________________
Plenty of room here
Register to Reply
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33392
Good Answers: 1817
#2

Re: variable square wave generor

01/11/2014 3:24 PM
__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply Score 1 for Good Answer
Power-User

Join Date: Nov 2013
Posts: 187
Good Answers: 9
#3
In reply to #2

Re: variable square wave generor

01/11/2014 11:13 PM

I don't know if this device meets the OP's requirements, but it sure meets mine. Thanks for posting this Solar Eagle.

:)

Register to Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#4
In reply to #3

Re: variable square wave generor

01/12/2014 12:16 AM

Since it says 'TTL Sweep', it's probably only 0-5V (or less), while OP specified 0-10V.

As you indicate, it is an interesting device!

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Power-User

Join Date: Nov 2013
Posts: 187
Good Answers: 9
#5
In reply to #4

Re: variable square wave generor

01/12/2014 12:37 AM

Probably draws too much current, as well. The OP is looking for something CMOS-ish - microwatt stuff - in terms of current draw. Battery operation. I'm sure there are low-power digital freq. synthesis chips Out There (like on GlobalSpec, for info, and Digi-Key, maybe, for parts?) Methinks the OP wants something compact, as well - minimal parts count and small size.

To the OP: Would a Raspberry Pi or an Arduino card meet your needs? You'll have to do a bit of programming...

Something whose output is in the low MHz range but with freq steps of 50 Hz is unlikely to be programmable to such fine resolution using an RC network. I'm speaking here of something like a (CMOS) 555, etc., so you're pretty much stuck with digital freq. synthesis.

Register to Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#6
In reply to #5

Re: variable square wave generor

01/12/2014 11:36 AM

The OP did say 50kHz deltas, not 50Hz, but gave no indication of the precision required.

Some years back, I built a crystal-controlled function generator with a phase-locked-loop and 4 digit decimal control. I thought I knew right where it was, but it wasn't there. I couldn't find any reference to it in my computer. That means I must have made it before the year 2000, when I first got access to a digital camera. I think it was CMOS...

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Active Contributor

Join Date: Jan 2014
Posts: 10
#8
In reply to #6

Re: variable square wave generor

01/12/2014 11:55 AM

yes it is 50KHz (+- 5%), and it will have to be a CMOS device. I don't mind programming. Reuven.

Register to Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#10
In reply to #8

Re: variable square wave generor

01/12/2014 12:26 PM

Thanks for clarifying.

You still haven't indicated the precision required of the steps or output frequency. Does the frequency need to be correct within ± 25kHz, ±0.1kHz, or ...

If the precision needs to be high, then you need a crystal-controlled original source, but since you indicated using inductance or capacitance for tuning, I suspect you don't need that high a precision. I don't understand your aversion to resistance; It's a whole lot easier to use a variable resistor for tuning than variable inductance or capacitance.

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Power-User

Join Date: Nov 2013
Posts: 187
Good Answers: 9
#11
In reply to #10

Re: variable square wave generor

01/12/2014 12:36 PM

I don't understand the objection to resistors, either. Finding precision resistors to set freq (or a simple pot) is a *hellava* lot easier and cheaper than precision capacitors or inductors (even if you wind them yourself, the latter also typically feature rock-bottom-dismal tempcos when using ferrites).

Register to Reply
Active Contributor

Join Date: Jan 2014
Posts: 10
#13
In reply to #10

Re: variable square wave generor

01/12/2014 12:43 PM

±5KHz will be more likely. I am not enough experienced but I tend to assume that resistors are more of energy wasters than caps or coils.

Register to Reply
Power-User

Join Date: Nov 2013
Posts: 187
Good Answers: 9
#15
In reply to #13

Re: variable square wave generor

01/12/2014 12:53 PM

I built a CMOS-555-based oscillator which ran continously for about five months on two AA cells. That circuit used resistors.

Register to Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#16
In reply to #13

Re: variable square wave generor

01/12/2014 1:13 PM

Why the bold face?

I frequently find my assumptions wrong too...

If you were trying to use a resistor to control the speed of a motor, then yes, it would waste considerable energy. In this case you have to have at least one resistor to control the charging rate of a capacitor (assuming [again] an R/C oscillator). With an appropriately chosen capacitor, that resistor will be in the 100s of kΩ, so the charging current will be tiny; virtually no energy wasted. If you need discrete steps, you will need a series of resistors, but again the current will be tiny.

The easiest way would be to use one fixed resistor to set the maximum frequency, and one variable resistor to drop to the currently desired frequency. Look up CMOS 555 circuits.

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Power-User

Join Date: Nov 2013
Posts: 187
Good Answers: 9
#17
In reply to #16

Re: variable square wave generor

01/12/2014 1:25 PM

Yup.

To the OP: And since a CMOS 555 has very-high-impedance comparator inputs, you have lots of latitude in how you scale the resistor values in the RxC combo. A large cap with small R values or a small cap and large R values (up to around 10 megohms I recall), either will work for a given RC product, so opt for for the latter to conserve battery life.

Register to Reply
Active Contributor

Join Date: Jan 2014
Posts: 10
#19
In reply to #17

Re: variable square wave generor

01/12/2014 1:42 PM

if I have no other choice I'll use it like that. Thanks.

Register to Reply
Active Contributor

Join Date: Jan 2014
Posts: 10
#20
In reply to #16

Re: variable square wave generor

01/12/2014 1:44 PM

That is more or less my direction. Thanks.

Register to Reply
Power-User

Join Date: Nov 2013
Posts: 187
Good Answers: 9
#9
In reply to #6

Re: variable square wave generor

01/12/2014 12:17 PM

Blame this accursed autocorrect ('automangle,' more like). I caught it trying to substitute 'GHz' in place of 'kHz' but then it did an end-run and plopped in 'Hz' instead.

(I think the technical term for it is 'Progress' - with a capital 'P')

:(

Your PLL-based synth used a 4046 (or 4044 or something close. Call it 404x out of sheer laziness)? I recall seeing something along those lines in an old RCA or Nat'l Semi data book way back when Christ was a Colonel. :)

Register to Reply
Active Contributor

Join Date: Jan 2014
Posts: 10
#12
In reply to #9

Re: variable square wave generor

01/12/2014 12:39 PM

yeah. Remmber him from that tme

Register to Reply
Active Contributor

Join Date: Jan 2014
Posts: 10
#7
In reply to #4

Re: variable square wave generor

01/12/2014 11:51 AM

If there is no choice, I will use 5v p to p

Register to Reply
Power-User

Join Date: Nov 2013
Posts: 187
Good Answers: 9
#14
In reply to #7

Re: variable square wave generor

01/12/2014 12:44 PM

Reuben, what is your application? If your freq stability and accuracy requirements are fairly lax, you could save yourself a great deal of trouble and expense by using a CMOS 555.

Register to Reply
Active Contributor

Join Date: Jan 2014
Posts: 10
#18
In reply to #14

Re: variable square wave generor

01/12/2014 1:40 PM

the frequency is accurate to the extent of plus minus 25KHz. I need it to build up 300-400 v on a cap. If it is 10-20 v p to p it will be quicker and if it is 5 p to p it will take a long time but I can take it. I only need the entire unit to consume as less energy as possible

Register to Reply
Power-User

Join Date: Nov 2013
Posts: 187
Good Answers: 9
#21
In reply to #18

Re: variable square wave generor

01/12/2014 1:49 PM

Reuven, why is the freq important for this app? Are you using the oscillator to drive a high-Q, LC resonant circuit? You know you can also use your oscillator to drive a diode/capacitor voltage multiplier without concern for frequency, yes?

Register to Reply Score 1 for Good Answer
Power-User

Join Date: Nov 2013
Posts: 187
Good Answers: 9
#22
In reply to #18

Re: variable square wave generor

01/12/2014 4:42 PM

Another thought: use a CMOS 555 oscillator with a freq somewhere in *audio range* - 15 kHz or so, and connect the output pin (#3 I think) to the low-impedance (8-ohm) side of a cheap, miniature audio transformer. Connect the transformer high-impedance (1kohm) side to the inputs of a diode/capacitor voltage multiplier. Experiment a bit. I got 80-90 volts just from the transformer alone when rigged this way.

If you live in the U.S., you can buy all the parts at Radio Shack.

Register to Reply Score 1 for Good Answer
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#23
In reply to #22

Re: variable square wave generor

01/12/2014 5:04 PM

You echo my thoughts exactly! 2 GAs!

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Power-User

Join Date: Nov 2013
Posts: 187
Good Answers: 9
#24
In reply to #23

Re: variable square wave generor

01/12/2014 5:35 PM

Hey, thanks! :))

Register to Reply
Power-User

Join Date: Nov 2013
Posts: 187
Good Answers: 9
#25

Re: Variable Square Wave Generator

01/15/2014 10:12 PM

Was your question answered satisfactorily?

Register to Reply
Active Contributor

Join Date: Jan 2014
Posts: 10
#26
In reply to #25

Re: Variable Square Wave Generator

01/16/2014 5:31 AM

Yes guys, Thanks a million

Register to Reply
Power-User

Join Date: Nov 2013
Posts: 187
Good Answers: 9
#27
In reply to #26

Re: Variable Square Wave Generator

01/16/2014 3:22 PM

What are you building that you need to charge a cap to three or four hundred volts? Just curious (as always :)

If you need something quick & dirty (and cheap) to charge a 300-400 V capacitor (in the 200+ uF range, typically), buy one of those cheap, so-called 'disposable cameras' at your local Walgreens and remove its photoflash unit. The cameras cost what, ten bucks?

Register to Reply
Active Contributor

Join Date: Jan 2014
Posts: 10
#28
In reply to #27

Re: Variable Square Wave Generator

01/17/2014 12:33 AM

It is only a back up power supply, and your "camera" idea is interesting. Thanks.

Register to Reply
Power-User

Join Date: Nov 2013
Posts: 187
Good Answers: 9
#29
In reply to #28

Re: Variable Square Wave Generator

01/18/2014 12:31 AM

A 'backup power supply' for something requiring 300-400 volts, to be powered by a 9-volt battery? (???)

Okaaaay...

Register to Reply
Register to Reply 29 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

dkwarner (5); dvmdsc (1); reuven saar (9); SolarEagle (1); Theophilus Stark (13)

Previous in Forum: Generator/Shore Neutral-Transfer Switch   Next in Forum: Synchronizing PCC3100 with EGCP 2

Advertisement