120 Degree Phase Shift Osc.

Nov 05, 2010 468 Replies

insist

thout

Education probably does improve human relations. In particular, if John Larkin ever acquired enough education to be able to see denialist propaganda for what it is, rather than uncritically soaking it up and retailing it here, I'd have a lot less occasion to be rude about his ignorance and gullibility.

-- Bill Sloman, Nijmegen

a

low-

a bit

ide

ing

date

most,

m

to a

.

be

r in

ould

It's called a trimming potentiometer, and you've got at least two of them. Changing one changes the frequency of the oscillator, and the phase shift across the other two stages.

You should try it. You don't have to shepherd many products through production to work out that interacting adjustments aren't a good idea.

-- Bill Sloman, Nijmegen

What is your screen size? Web designers need to be aware that not everyone has a large monitor. There are simple javascripts to direct visitors to alternate web pages for low resolution monitors.

Politicians should only get paid if the budget is balanced, and there is enough left over to pay them.

On a sunny day (Mon, 8 Nov 2010 09:00:27 -0800 (PST)) it happened Bill Sloman wrote in :

I hope you can see that if you drive into an inductor with those 2560 steps / second, that the current smoothes out nicely between steps. di = dt/L.

Price of a resistor is? Obtainability from Maxim is?

So, why did you stop?

proud on

hardware part of their chips.

before the PIC

IIRC some PICs allow or have a dual speed oscillator. Have not used the feature yet, but precisely for this kind of thing. Still have not looked up the data sheet no?

DDS, so how much does you DDS use?

You are evading the question, how much current does your DDS chip use?

Maybe you should just say you are wrong, apologise to those you have insulted, and be done with it. It would be a plus point for you.

On a sunny day (Mon, 8 Nov 2010 09:15:49 -0800 (PST)) it happened Bill Sloman wrote in :

Sloman falling back into old warming mantra ..

I didn't see that one - sounds even simpler.

I think my way can be done without any "tuning" and can also be driven by a crystal-derived oscillator if needed.

But I haven't really thought it all through.

John Devereux

I can appreciate your efforts there, but I hope you also teach them that the likelihood the people they end up working with in industry will be using the term "rheostat" is rather low. :-)

I was in one of the series of analog design classes where some student pointed out to the professor that his symbol/name for Vgs-Vth of a MOSFET was different than what the professor the prior quarter had used. His response was, "everywhere you work, there'll be a different symbol or name used for Vgs-Vth... you might as well get used to it now!"

For variable resistors, everywhere I've worked it's actually always just been "trimpot" regardless of how it's hooked up.

More memorable professor quotes... some kid in a microwaves lab pointing to a pair of coax cables... "So I just hook those wires together?" Professor (with Indian accent): "In my class you will not call those wires; those are transmission lines!" :-)

---Joel

Since the goal was 40 hours' operation from 4xAA cells, low power is not the overriding concern. A typical AA cell, such as the Energizer E91, can easily supply 50mA for 40 hours.

3 x 2-series 500-ohm relay coils, even driven in 'bridge' for bipolar operation will need about 12mA, so even 10-to-15mA for the generating circuitry still totals under 30mA, far exceeding the design goal.

More likely: the uC would draw 5mA or less, for a total draw under

20mA and a service life in excess of 100 hours.

Yes, agreed. I still prefer the digital approaches--cheaper, lower parts count, greater accuracy, no adjustments, and more repeatable in production. IOW, less hassle.

-- Cheers, James Arthur

You hook the rheostat up to the condenser, and connect that to the grid of the...

[...]
John Devereux

l
I

Spread-spectrum. It was an example of an analog, RF, digital, software, plus micropower design I did 23 years ago, more complicated and demanding than the current requirement. As for expertise, I'm not going to argue with you over who's more expert than who.

I don't understand your concern. If the entire uC switching at 16MHz draws 11mA (80c51 family), why are you worried about three outputs switching at 20KHz? Even at 1MHz switch rate, f*c*v^2/2 ~=3D 125uW/ output. That's nothing.

You're worrying about things that don't matter.

-- Cheers, James Arthur

On Mon, 8 Nov 2010 09:18:25 -0800 (PST), "Ken S. Tucker" wrote:

--- I'm confused.

Th OP was Mark Weaver, who asked for the device, but the 120° shift-register shifter was mine, not his.

In any case, there was an error in the shifter, which was putting out pulses separated by 60°, not 120°.

Here's the fix:

TRIM FOR 60Hz / +-[POT]-[Rt]-+ | | | +-------+ | +--------+ +-|TH OUT|--+--|> 1D|---+ | |__ | | | | +-|TR | +--|1Q | | | |_ | | | | | Vcc--|-|R | +--|2D | O | +-------+ | | / \ | 7555 +--|2Q | /___\ [Ct] | | | | | +--|3D | | GND | 5Q|---|---->240° +--|3Q | | | | 3Q|---+---->120° +--|4D | | 1Q|-------->0° +--|4Q | | | | +--|5D | | | Vcc--+-----------|6D | | |_ | +--[R]--+--O|R | | +--------+- | HC174 [C] | GND

1Q, 3Q, and 5Q on the right are the same as 1Q, 3Q, and 5Q on the left, just drawn to make the schematic less busy with wiring.

The LTspice circuit list is at the end of this post and it shows it running with a battery supply (+3V and -3V) and a 2 pole Sallen-Key lowpass on each phase cleaning up the three square waves nicely and, with the dual supply, making _real_ AC!

Nominal current for everything but the clock oscillator is less than

10 microamps, and worst case for a 7555 is 250µA, so the coils are going to be the hogs and determine the battery life.

His coil load is going to be about 333 ohms so, with nearly 6VPP available to drive them, (if he uses that much) they'll draw about

6.37mA.

Add to that the oscillator, and the total drain from the battery will be around 7mA.

A good alkaline AA cell can supply 10mA for about 300 hours until its output voltage falls to 1V,:

formatting link

So it looks like this rig out to be able to give him over 7 times the battery life he was looking for.

Somewhat less, because I haven't considered what it takes to run the coil drivers, (having not put any in yet,) but certainly less than a mA apice, I'd think.

Any suggestions?

Version 4 SHEET 1 1624 1476 WIRE -1264 -32 -1968 -32 WIRE -480 -32 -608 -32 WIRE -352 -32 -480 -32 WIRE -1856 0 -2368 0 WIRE -1600 0 -1856 0 WIRE -1376 0 -1600 0 WIRE -1088 0 -1376 0 WIRE -864 0 -1088 0 WIRE -608 0 -608 -32 WIRE -1856 48 -1856 0 WIRE -1600 48 -1600 0 WIRE -1376 48 -1376 0 WIRE -1088 48 -1088 0 WIRE -864 48 -864 0 WIRE -480 64 -480 -32 WIRE -464 64 -480 64 WIRE -352 80 -352 -32 WIRE -352 80 -400 80 WIRE -288 80 -352 80 WIRE -1968 96 -1968 -32 WIRE -1936 96 -1968 96 WIRE -1744 96 -1776 96 WIRE -1680 96 -1744 96 WIRE -1456 96 -1520 96 WIRE -1232 96 -1296 96 WIRE -1168 96 -1232 96 WIRE -944 96 -1008 96 WIRE -720 96 -784 96 WIRE -608 96 -608 64 WIRE -608 96 -640 96 WIRE -576 96 -608 96 WIRE -480 96 -496 96 WIRE -464 96 -480 96 WIRE -480 112 -480 96 WIRE -1968 144 -2128 144 WIRE -1936 144 -1968 144 WIRE -1680 144 -1712 144 WIRE -1456 144 -1488 144 WIRE -1264 144 -1264 -32 WIRE -1264 144 -1280 144 WIRE -1168 144 -1200 144 WIRE -944 144 -976 144 WIRE -480 192 -480 176 WIRE -1968 224 -1968 144 WIRE -1712 224 -1712 144 WIRE -1712 224 -1968 224 WIRE -1488 224 -1488 144 WIRE -1488 224 -1712 224 WIRE -1200 224 -1200 144 WIRE -1200 224 -1488 224 WIRE -976 224 -976 144 WIRE -976 224 -1200 224 WIRE -2320 256 -2320 144 WIRE -2080 256 -2320 256 WIRE -1968 256 -2016 256 WIRE -1856 256 -1856 192 WIRE -1856 256 -1968 256 WIRE -1600 256 -1600 192 WIRE -1600 256 -1856 256 WIRE -1376 256 -1376 192 WIRE -1376 256 -1600 256 WIRE -1088 256 -1088 192 WIRE -1088 256 -1376 256 WIRE -864 256 -864 192 WIRE -864 256 -1088 256 WIRE -480 288 -608 288 WIRE -352 288 -480 288 WIRE -2224 320 -2224 144 WIRE -2080 320 -2224 320 WIRE -1968 320 -1968 256 WIRE -1968 320 -2000 320 WIRE -608 320 -608 288 WIRE -480 384 -480 288 WIRE -464 384 -480 384 WIRE -2320 400 -2320 256 WIRE -2224 400 -2224 320 WIRE -2128 400 -2128 144 WIRE -352 400 -352 288 WIRE -352 400 -400 400 WIRE -288 400 -352 400 WIRE -1232 416 -1232 96 WIRE -720 416 -1232 416 WIRE -608 416 -608 384 WIRE -608 416 -640 416 WIRE -576 416 -608 416 WIRE -480 416 -496 416 WIRE -464 416 -480 416 WIRE -480 432 -480 416 WIRE -480 512 -480 496 WIRE -2368 528 -2368 0 WIRE -2320 528 -2320 480 WIRE -2320 528 -2368 528 WIRE -2224 528 -2224 480 WIRE -2224 528 -2320 528 WIRE -2128 528 -2128 480 WIRE -2128 528 -2224 528 WIRE -480 608 -608 608 WIRE -352 608 -480 608 WIRE -2368 624 -2368 528 WIRE -608 640 -608 608 WIRE -480 704 -480 608 WIRE -464 704 -480 704 WIRE -352 720 -352 608 WIRE -352 720 -400 720 WIRE -288 720 -352 720 WIRE -1744 736 -1744 96 WIRE -720 736 -1744 736 WIRE -608 736 -608 704 WIRE -608 736 -640 736 WIRE -576 736 -608 736 WIRE -480 736 -496 736 WIRE -464 736 -480 736 WIRE -480 752 -480 736 WIRE -480 832 -480 816 FLAG -2368 624 0 FLAG -480 512 0 FLAG -2320 144 +3 FLAG -2224 144 -3 FLAG -432 368 +3 FLAG -432 432 -3 FLAG -480 192 0 FLAG -432 48 +3 FLAG -432 112 -3 FLAG -480 832 0 FLAG -432 688 +3 FLAG -432 752 -3 SYMBOL Digital\\dflop -1856 48 R0 WINDOW 3 8 168 Invisible 0 SYMATTR Value trise 1e-7 tfall 1e-7 vhigh 3 vlow -3 SYMATTR InstName A1 SYMBOL voltage -2128 384 R0 WINDOW 3 24 104 Invisible 0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 WINDOW 0 12 104 Left 0 SYMATTR Value PULSE(-3 3 0 1E-6 1E-6 .008333 .016666) SYMATTR InstName V1 SYMBOL cap -2016 240 R90 WINDOW 0 -33 25 VBottom 0 WINDOW 3 -33 27 VTop 0 SYMATTR InstName C1 SYMATTR Value 1e-7 SYMBOL res -1984 304 R90 WINDOW 0 68 58 VBottom 0 WINDOW 3 71 58 VTop 0 SYMATTR InstName R1 SYMATTR Value 1e5 SYMBOL Digital\\dflop -1600 48 R0 WINDOW 3 8 168 Invisible 0 SYMATTR Value trise 1e-7 tfall 1e-7 vhigh 3 vlow -3 SYMATTR InstName A2 SYMBOL Digital\\dflop -1376 48 R0 WINDOW 3 8 168 Invisible 0 SYMATTR Value trise 1e-7 tfall 1e-7 vhigh 3 vlow -3 SYMATTR InstName A3 SYMBOL Digital\\dflop -1088 48 R0 WINDOW 3 8 168 Invisible 0 SYMATTR Value trise 1e-7 tfall 1e-7 vhigh 3 vlow -3 SYMATTR InstName A4 SYMBOL Digital\\dflop -864 48 R0 WINDOW 3 8 168 Invisible 0 SYMATTR Value trise 1e-7 tfall 1e-7 vhigh 3 vlow -3 SYMATTR InstName A5 SYMBOL cap -496 432 R0 WINDOW 0 -41 34 Left 0 WINDOW 3 -88 65 Left 0 SYMATTR InstName C7 SYMATTR Value 1.13e-8 SYMBOL cap -624 320 R0 WINDOW 0 -55 -2 Left 0 WINDOW 3 -87 35 Left 0 SYMATTR InstName C8 SYMATTR Value 2.25e-8 SYMBOL res -624 400 R90 WINDOW 0 65 62 VBottom 0 WINDOW 3 70 60 VTop 0 SYMATTR InstName R7 SYMATTR Value 1e6 SYMBOL res -480 400 R90 WINDOW 0 -30 53 VBottom 0 WINDOW 3 -28 56 VTop 0 SYMATTR InstName R8 SYMATTR Value 1e6 SYMBOL voltage -2224 496 R180 WINDOW 3 37 109 Invisible 0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 WINDOW 0 -41 6 Left 0 SYMATTR Value 3 SYMATTR InstName V4 SYMBOL voltage -2320 384 R0 WINDOW 3 37 109 Invisible 0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 WINDOW 0 14 107 Left 0 SYMATTR Value 3 SYMATTR InstName V5 SYMBOL Opamps\\LT6004 -432 400 R0 SYMATTR InstName U2 SYMBOL cap -496 112 R0 WINDOW 0 -41 34 Left 0 WINDOW 3 -88 65 Left 0 SYMATTR InstName C2 SYMATTR Value 1.13e-8 SYMBOL cap -624 0 R0 WINDOW 0 -55 -2 Left 0 WINDOW 3 -87 35 Left 0 SYMATTR InstName C3 SYMATTR Value 2.25e-8 SYMBOL res -624 80 R90 WINDOW 0 65 62 VBottom 0 WINDOW 3 70 60 VTop 0 SYMATTR InstName R2 SYMATTR Value 1e6 SYMBOL res -480 80 R90 WINDOW 0 -30 53 VBottom 0 WINDOW 3 -28 56 VTop 0 SYMATTR InstName R3 SYMATTR Value 1e6 SYMBOL Opamps\\LT6004 -432 80 R0 SYMATTR InstName U1 SYMBOL cap -496 752 R0 WINDOW 0 -41 34 Left 0 WINDOW 3 -88 65 Left 0 SYMATTR InstName C4 SYMATTR Value 1.13e-8 SYMBOL cap -624 640 R0 WINDOW 0 -55 -2 Left 0 WINDOW 3 -87 35 Left 0 SYMATTR InstName C5 SYMATTR Value 2.25e-8 SYMBOL res -624 720 R90 WINDOW 0 65 62 VBottom 0 WINDOW 3 70 60 VTop 0 SYMATTR InstName R4 SYMATTR Value 1e6 SYMBOL res -480 720 R90 WINDOW 0 -30 53 VBottom 0 WINDOW 3 -28 56 VTop 0 SYMATTR InstName R5 SYMATTR Value 1e6 SYMBOL Opamps\\LT6004 -432 720 R0 SYMATTR InstName U3 TEXT -2352 560 Left 0 !.tran 1 startup uic TEXT -2352 592 Left 0 !;ac oct 128 1 100 TEXT -288 720 Left 0 ;>PHASE 1 TEXT -288 400 Left 0 ;>PHASE 2 TEXT -288 80 Left 0 ;>PHASE 3

--- JF

Right. Even if your newsreader is dumb as a stump, the poster should be smart enough to trim the quote before replying.

ll

nd.

I prefer names that refer back to hardware I can buy.

Which you can't be bothered to specifiy.

Any good product won't need any adjustment at all.

-- Bill Sloman, Nijmegen

"Rheostat" is a quite common term, even now. Digital pots will show "rheostat connections" and some are only "digital rheostats".

That's the great thing about standards; there are *so* many to choose from.

The part is usually called a "pot" if it has three connections, no matter how many are used. Its *usage* will often (correctly) be called a "rheostat" (or "variable resistor" ;-).

Or in power lab, "Oh, Shh....".

If Slowman were worrying about things that didn't matter, he would be very worried about himself!

Have for at least 20 years. Slowman is simply clueless.

insist

without

The ADuM3470 certainly gets up to 24V (regulated) and they show 30V (+/-15V) applications.

I hate people calling me just because I was browsing for parts. If I need help I'll *ask*. I hate stores where the sales people hover.

r

eal

=A0I

What you seem to miss is that in order to know when to switch (at a

20kHz rate) to get the desired mark-to-space ratios, the microprocessor has to be keeping track of your 16MHz clock.

I'm worrying about things that certainly used to matter, and I note that it was Jan Pantelje - not you - who first produced a concrete example of a microprocessor that could produce good PWM in Mark Weaver's application without drawing excessive amounts of current. Your 80C51 doesn't seem to be the NXP part

formatting link

since your 11mA is higher than the typical current drawn at 16MHz for the NXP part, if lower than the worst case (see figure 21) so one might wonder which actual part (if any) you had in mind.

-- Bill Sloman, Nijmegen

an

You and Rich Grise don't understand any of the phsyics, so you feel free to confuse anthropogenic global warming - which is a well-founded scientific hypothesis - with some kind of revealed religion.

It's an argument from abject ignorance, but - precisely because you are depressingly ignorant - you don't realise quite how stupid it makes you look.

-- Bill Sloman, Nijmegen

On a sunny day (Mon, 8 Nov 2010 15:42:29 -0800 (PST)) it happened Bill Sloman wrote in :

Nobody understands 'phsyics'.

Well, the warmist "religion" is well known. A couple of entrepreneurs trying to sell windmills and useless photo voltaics. They do this by appealing to fear (for warming, if tha does not happen to happen to cooling, and human compassion for melting polar bears etc.

The ones who actually install the solar panels on their roof in the Netherlands are not so much stupid looking, but just plain stupid, and you and your climate jive friends are the ones misguiding them. Do you actually have your own solar panels, or windmill, on the roof, over there? If not nothing but words. If you were really as intelligent as you think you are then you would have come up with a new form of energy long time ago, after all a PhD in chemistry and electronics should turn up something useful.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required