EL7900

The Johnson counter is OK, but the divide-by-2 flop on the end could start out of phase if the clear goes away just as a clock hits.

Slow RC glitcher clears, and async clocks, are sloppy and dangerous design. One is obliged to prove that there are no hazards, instead of demanding that other people find them. It's easier to just design safe synchronous stuff.

--

John Larkin                  Highland Technology Inc
www.highlandtechnology.com   jlarkin at highlandtechnology dot com   

Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom timing and laser controllers
Photonics and fiberoptic TTL data links
VME  analog, thermocouple, LVDT, synchro, tachometer
Multichannel arbitrary waveform generators
Reply to
John Larkin
Loading thread data ...

Out of phase with what? The Johnson counter is a divide by three and the bistable is a divide by two - they do change state on the same edges, but not always at the same time. This is just more pretentious bullshit.

But you missed the 11nF capacitors. Don't do much analog design these days?

You've definitely failed to cover yourself with glory here.

-- Bill Sloman, Nijmegen

Reply to
Bill Sloman

--
OK, then, with respect to what you seem to have in mind, let's
populate my circuit with real parts of your own choosing and work out
a solution for what you seem to think an edge rate violation might be.

Are you up for it?
Reply to
John Fields

--
True, but one may not always have that luxury available, plus there's
the synchronous reset to do, as well.

In deference to wise councel, I've changed my design from asynchronous
to synchronous reset and used an RC with a time constant several
clocks long on the "D" input of a dflop to sync both the leading and
the trailing edges of the reset with the clock.
Reply to
John Fields

"Electronic Filter Design Handbook" Arthur B. Williams and Fred J.Taylor

ISBN-10: 0071471715 ISBN-13: 978-0071471718

takes you a little further. There's a more recent edition

formatting link

-- Bill Sloman, Nijmegen

Reply to
Bill Sloman

[snip]

Sheeeesh! Is Larkin saying he can't design a filter without a handbook or software ?:-)

I was designing (and successfully manufacturing) active filters BEFORE there were simulators. ...Jim Thompson

--
| James E.Thompson, CTO                            |    mens     |
| Analog Innovations, Inc.                         |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| Phoenix, Arizona  85048    Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |
             
I love to cook with wine.     Sometimes I even put it in the food.
Reply to
Jim Thompson

I could build a doghouse without power tools. But why should I?

Sure. I was designing modems in 1969, with delay-equalized bandpass filters. But I mislaid my slide rule, so I have to use computers now.

--

John Larkin         Highland Technology, Inc

jlarkin at highlandtechnology dot com
http://www.highlandtechnology.com

Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom laser drivers and controllers
Photonics and fiberoptic TTL data links
VME thermocouple, LVDT, synchro   acquisition and simulation
Reply to
John Larkin

On Fri, 07 Sep 2012 16:39:01 -0500, John Fields wrote:

Version 4 SHEET 1 1624 1476 WIRE -432 -528 -464 -528 WIRE -320 -528 -352 -528 WIRE -48 -448 -176 -448 WIRE 80 -448 -48 -448 WIRE -592 -432 -1600 -432 WIRE -480 -432 -512 -432 WIRE -464 -432 -464 -528 WIRE -464 -432 -480 -432 WIRE -416 -432 -464 -432 WIRE -320 -432 -320 -528 WIRE -320 -432 -352 -432 WIRE -176 -416 -176 -448 WIRE -48 -352 -48 -448 WIRE -32 -352 -48 -352 WIRE -480 -336 -480 -432 WIRE -416 -336 -480 -336 WIRE 80 -336 80 -448 WIRE 80 -336 32 -336 WIRE 144 -336 80 -336 WIRE 208 -336 144 -336 WIRE -320 -320 -320 -432 WIRE -320 -320 -352 -320 WIRE -288 -320 -320 -320 WIRE -176 -320 -176 -352 WIRE -176 -320 -208 -320 WIRE -144 -320 -176 -320 WIRE -48 -320 -64 -320 WIRE -32 -320 -48 -320 WIRE -416 -304 -448 -304 WIRE -48 -304 -48 -320 WIRE 144 -304 144 -336 WIRE -448 -272 -448 -304 WIRE -48 -224 -48 -240 WIRE 144 -192 144 -224 WIRE -432 -80 -464 -80 WIRE -320 -80 -352 -80 WIRE -1856 -64 -2128 -64 WIRE -1568 -64 -1856 -64 WIRE -1344 -64 -1568 -64 WIRE -1056 -64 -1344 -64 WIRE -832 -64 -1056 -64 WIRE -1120 -32 -1824 -32 WIRE -48 -16 -176 -16 WIRE 80 -16 -48 -16 WIRE -1712 0 -1744 0 WIRE -1456 0 -1712 0 WIRE -1232 0 -1456 0 WIRE -944 0 -1232 0 WIRE -720 0 -944 0 WIRE -464 16 -464 -80 WIRE -432 16 -464 16 WIRE -320 16 -320 -80 WIRE -320 16 -368 16 WIRE -176 16 -176 -16 WIRE -2000 48 -2000 16 WIRE -1712 48 -1712 0 WIRE -1456 48 -1456 0 WIRE -1232 48 -1232 0 WIRE -944 48 -944 0 WIRE -720 48 -720 0 WIRE -48 80 -48 -16 WIRE -32 80 -48 80 WIRE -2448 96 -2448 64 WIRE -2304 96 -2448 96 WIRE -2176 96 -2240 96 WIRE -2080 96 -2176 96 WIRE -1888 96 -1920 96 WIRE -1824 96 -1824 -32 WIRE -1792 96 -1824 96 WIRE -1600 96 -1600 -432 WIRE -1600 96 -1632 96 WIRE -1536 96 -1600 96 WIRE -1312 96 -1376 96 WIRE -1088 96 -1152 96 WIRE -1024 96 -1088 96 WIRE -800 96 -864 96 WIRE -592 96 -640 96 WIRE -464 96 -464 16 WIRE -464 96 -512 96 WIRE -416 96 -464 96 WIRE 80 96 80 -16 WIRE 80 96 32 96 WIRE 144 96 80 96 WIRE 208 96 144 96 WIRE -320 112 -320 16 WIRE -320 112 -352 112 WIRE -288 112 -320 112 WIRE -176 112 -176 80 WIRE -176 112 -208 112 WIRE -144 112 -176 112 WIRE -48 112 -64 112 WIRE -32 112 -48 112 WIRE -416 128 -448 128 WIRE -48 128 -48 112 WIRE 144 128 144 96 WIRE -2128 144 -2128 -64 WIRE -2080 144 -2128 144 WIRE -1856 144 -1856 -64 WIRE -1792 144 -1856 144 WIRE -1568 144 -1568 -64 WIRE -1536 144 -1568 144 WIRE -1344 144 -1344 -64 WIRE -1312 144 -1344 144 WIRE -1120 144 -1120 -32 WIRE -1120 144 -1136 144 WIRE -1056 144 -1056 -64 WIRE -1024 144 -1056 144 WIRE -832 144 -832 -64 WIRE -800 144 -832 144 WIRE -2352 160 -2352 64 WIRE -2304 160 -2352 160 WIRE -2176 160 -2176 96 WIRE -2176 160 -2224 160 WIRE -448 160 -448 128 WIRE -2448 192 -2448 96 WIRE -2352 192 -2352 160 WIRE -2128 192 -2128 144 WIRE -48 208 -48 192 WIRE -2000 224 -2000 192 WIRE -1888 240 -1888 96 WIRE -1712 240 -1712 192 WIRE -1712 240 -1888 240 WIRE -1456 240 -1456 192 WIRE -1456 240 -1712 240 WIRE -1232 240 -1232 192 WIRE -1232 240 -1456 240 WIRE -944 240 -944 192 WIRE -944 240 -1232 240 WIRE -720 240 -720 192 WIRE -720 240 -944 240 WIRE 144 240 144 208 WIRE -2448 320 -2448 272 WIRE -2352 320 -2352 272 WIRE -2352 320 -2448 320 WIRE -2128 320 -2128 272 WIRE -2128 320 -2352 320 WIRE -1088 384 -1088 96 WIRE -592 384 -1088 384 WIRE -464 384 -512 384 WIRE -432 384 -464 384 WIRE -320 384 -352 384 WIRE -2448 400 -2448 320 WIRE -48 464 -176 464 WIRE 80 464 -48 464 WIRE -464 480 -464 384 WIRE -416 480 -464 480 WIRE -320 480 -320 384 WIRE -320 480 -352 480 WIRE -176 496 -176 464 WIRE -48 560 -48 464 WIRE -32 560 -48 560 WIRE -464 576 -464 480 WIRE -416 576 -464 576 WIRE 80 576 80 464 WIRE 80 576 32 576 WIRE 144 576 80 576 WIRE 208 576 144 576 WIRE -320 592 -320 480 WIRE -320 592 -352 592 WIRE -288 592 -320 592 WIRE -176 592 -176 560 WIRE -176 592 -208 592 WIRE -144 592 -176 592 WIRE -48 592 -64 592 WIRE -32 592 -48 592 WIRE -416 608 -448 608 WIRE -48 608 -48 592 WIRE 144 608 144 576 WIRE -448 640 -448 608 WIRE -48 688 -48 672 WIRE 144 720 144 688 FLAG -2448 400 0 FLAG -48 688 0 FLAG -2448 64 +3 FLAG -2352 64 -3 FLAG 0 544 +3 FLAG 0 608 -3 FLAG -48 208 0 FLAG 0 64 +3 FLAG 0 128 -3 FLAG -48 -224 0 FLAG 0 -368 +3 FLAG 0 -304 -3 FLAG 144 240 0 FLAG 144 720 0 FLAG 144 -192 0 FLAG -448 160 0 FLAG -384 80 +3 FLAG -384 144 -3 FLAG -448 640 0 FLAG -384 560 +3 FLAG -384 624 -3 FLAG -448 -272 0 FLAG -384 -352 +3 FLAG -384 -288 -3 FLAG -1744 0 -3 FLAG -2000 16 -3 FLAG -2000 224 -3 FLAG 208 -336 PHASE1 FLAG 208 96 PHASE3 FLAG 208 576 PHASE2 SYMBOL Digital\\dflop -1712 48 R0 WINDOW 3 8 168 Invisible 2 SYMATTR Value trise 1e-7 tfall 1e-7 vhigh 3 vlow -3 SYMATTR InstName A1 SYMBOL voltage -2128 176 R0 WINDOW 3 24 104 Invisible 2 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 WINDOW 0 12 104 Left 2 SYMATTR Value PULSE(-3 3 0 1E-6 1E-6 .008333 .016666) SYMATTR InstName V1 SYMBOL cap -2240 80 R90 WINDOW 0 -33 25 VBottom 2 WINDOW 3 -33 27 VTop 2 SYMATTR InstName C1 SYMATTR Value 100nF SYMBOL res -2208 144 R90 WINDOW 0 68 58 VBottom 2 WINDOW 3 71 58 VTop 2 SYMATTR InstName R1 SYMATTR Value 510k SYMBOL Digital\\dflop -1456 48 R0 WINDOW 3 8 168 Invisible 2 SYMATTR Value trise 1e-7 tfall 1e-7 vhigh 3 vlow -3 SYMATTR InstName A2 SYMBOL Digital\\dflop -1232 48 R0 WINDOW 3 8 168 Invisible 2 SYMATTR Value trise 1e-7 tfall 1e-7 vhigh 3 vlow -3 SYMATTR InstName A3 SYMBOL Digital\\dflop -944 48 R0 WINDOW 3 8 168 Invisible 2 SYMATTR Value trise 1e-7 tfall 1e-7 vhigh 3 vlow -3 SYMATTR InstName A4 SYMBOL Digital\\dflop -720 48 R0 WINDOW 3 8 168 Invisible 2 SYMATTR Value trise 1e-7 tfall 1e-7 vhigh 3 vlow -3 SYMATTR InstName A5 SYMBOL cap -64 608 R0 WINDOW 0 -41 34 Left 2 WINDOW 3 -88 65 Left 2 SYMATTR InstName C7 SYMATTR Value 11nF SYMBOL cap -192 496 R0 WINDOW 0 -55 -2 Left 2 WINDOW 3 -87 35 Left 2 SYMATTR InstName C8 SYMATTR Value 22nF SYMBOL res -192 576 R90 WINDOW 0 65 62 VBottom 2 WINDOW 3 70 60 VTop 2 SYMATTR InstName R7 SYMATTR Value 1meg SYMBOL res -48 576 R90 WINDOW 0 -30 53 VBottom 2 WINDOW 3 -28 56 VTop 2 SYMATTR InstName R8 SYMATTR Value 1meg SYMBOL cap -64 128 R0 WINDOW 0 -41 34 Left 2 WINDOW 3 -88 65 Left 2 SYMATTR InstName C2 SYMATTR Value 11nF SYMBOL cap -192 16 R0 WINDOW 0 -55 -2 Left 2 WINDOW 3 -87 35 Left 2 SYMATTR InstName C3 SYMATTR Value 22nF SYMBOL res -496 80 R90 WINDOW 0 -30 60 VBottom 2 WINDOW 3 -27 57 VTop 2 SYMATTR InstName R2 SYMATTR Value 51k SYMBOL res -48 96 R90 WINDOW 0 -30 53 VBottom 2 WINDOW 3 -28 56 VTop 2 SYMATTR InstName R3 SYMATTR Value 1meg SYMBOL cap -64 -304 R0 WINDOW 0 -41 34 Left 2 WINDOW 3 -88 65 Left 2 SYMATTR InstName C4 SYMATTR Value 11nF SYMBOL cap -192 -416 R0 WINDOW 0 -55 -2 Left 2 WINDOW 3 -87 35 Left 2 SYMATTR InstName C5 SYMATTR Value 22nF SYMBOL res -192 -336 R90 WINDOW 0 65 62 VBottom 2 WINDOW 3 70 60 VTop 2 SYMATTR InstName R4 SYMATTR Value 1meg SYMBOL res -48 -336 R90 WINDOW 0 -30 53 VBottom 2 WINDOW 3 -28 56 VTop 2 SYMATTR InstName R5 SYMATTR Value 1meg SYMBOL Opamps\\LT1677 0 32 R0 SYMATTR InstName U1 SYMBOL res 128 112 R0 SYMATTR InstName R6 SYMATTR Value 1k SYMBOL res 128 592 R0 SYMATTR InstName R9 SYMATTR Value 1k SYMBOL res 128 -320 R0 SYMATTR InstName R10 SYMATTR Value 1k SYMBOL Opamps\\LT1677 0 512 R0 SYMATTR InstName U2 SYMBOL Opamps\\LT1677 0 -400 R0 SYMATTR InstName U3 SYMBOL res -192 96 R90 WINDOW 0 65 62 VBottom 2 WINDOW 3 70 60 VTop 2 SYMATTR InstName R12 SYMATTR Value 1meg SYMBOL Opamps\\LT1677 -384 48 R0 SYMATTR InstName U4 SYMBOL cap -368 0 R90 WINDOW 0 -32 36 VBottom 2 WINDOW 3 -31 29 VTop 2 SYMATTR InstName C6 SYMATTR Value 220nF SYMBOL res -336 -96 R90 WINDOW 0 -32 64 VBottom 2 WINDOW 3 -32 67 VTop 2 SYMATTR InstName R13 SYMATTR Value 1meg SYMBOL Opamps\\LT1677 -384 528 R0 SYMATTR InstName U5 SYMBOL cap -352 464 R90 WINDOW 0 -34 37 VBottom 2 WINDOW 3 -36 30 VTop 2 SYMATTR InstName C9 SYMATTR Value 220nF SYMBOL res -336 368 R90 WINDOW 0 -47 62 VBottom 2 WINDOW 3 -37 62 VTop 2 SYMATTR InstName R14 SYMATTR Value 1meg SYMBOL Opamps\\LT1677 -384 -384 R0 SYMATTR InstName U6 SYMBOL cap -352 -448 R90 WINDOW 0 -37 34 VBottom 2 WINDOW 3 -33 30 VTop 2 SYMATTR InstName C10 SYMATTR Value 220nF SYMBOL res -496 368 R90 WINDOW 0 -30 51 VBottom 2 WINDOW 3 -29 51 VTop 2 SYMATTR InstName R17 SYMATTR Value 51k SYMBOL res -496 -448 R90 WINDOW 0 -37 62 VBottom 2 WINDOW 3 -36 63 VTop 2 SYMATTR InstName R18 SYMATTR Value 51k SYMBOL res -336 -544 R90 WINDOW 0 -47 62 VBottom 2 WINDOW 3 -37 62 VTop 2 SYMATTR InstName R19 SYMATTR Value 1meg SYMBOL voltage -2448 176 R0 WINDOW 0 111 105 Left 2 WINDOW 3 24 96 Invisible 2 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 SYMATTR InstName V3 SYMATTR Value 3 SYMBOL voltage -2352 288 R180 WINDOW 0 53 7 Left 2 WINDOW 3 24 16 Invisible 2 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 SYMATTR InstName V2 SYMATTR Value 3 SYMBOL Digital\\dflop -2000 48 R0 WINDOW 3 8 168 Invisible 2 SYMATTR Value trise 1e-7 tfall 1e-7 vhigh 3 vlow -3 SYMATTR InstName A6 TEXT -2424 360 Left 2 !.tran 0 1s 0 1ms startup uic

--
JF
Reply to
John Fields

I have that. Good book. The filter "designs" are mainly looking up prototypes in the tables and normalizing them, which is fine. I wrote a PowerBasic program to do the normalization math for LC filters, which helps when juggling to hit available values.

He has some good all-pass stuff.

But I still prefer to use a filter design program when I can, which is almost always nowadays. Saves a lot of typing.

--

John Larkin         Highland Technology, Inc

jlarkin at highlandtechnology dot com
http://www.highlandtechnology.com

Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom laser drivers and controllers
Photonics and fiberoptic TTL data links
VME thermocouple, LVDT, synchro   acquisition and simulation
Reply to
John Larkin

Williams and Taylor put me onto the Sallen and Keys with some gain, which does make the capacitor values quite a bit more flexible.

It does cover more variations of filters than most. I found the "equi- ripple approximations to linear-phase filters" unexpectedly handy about twenty years ago - the classical version had too much gain at the front end, but the equi-ripple approximation came out a lot more practicable.

-- Bill Sloman, Nijmegen

Reply to
Bill Sloman

I was wondering what that was for.

Without the divide-by-2, the RC glitch reset is safe. Only one flop gets set on the first clock, the first flop of the ring counter. And if it misses, it will fire on the next clock.

The filters still aren't flat, so if you change the clock frequency the amplitude changes a lot. With two opamps, you could do a 4-pole Butterworth or Chebychev filter and get nicer sine waves, flat over an octave maybe. That 3rd harmonic is the killer.

There's probably some resistive mixing that could be done from the available logic outputs that would reduce the 3rd harmonic.

--

John Larkin                  Highland Technology Inc
www.highlandtechnology.com   jlarkin at highlandtechnology dot com   

Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom timing and laser controllers
Photonics and fiberoptic TTL data links
VME  analog, thermocouple, LVDT, synchro, tachometer
Multichannel arbitrary waveform generators
Reply to
John Larkin

Just have the clear pass through the flop thresholds at the same time as a clock hits. Don't need a timing diagram to envision that.

But if you dump the div-2 flipflop, there is no hazard. The first flop of the Johnson counter either sets, or it doesn't.

--

John Larkin                  Highland Technology Inc
www.highlandtechnology.com   jlarkin at highlandtechnology dot com   

Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom timing and laser controllers
Photonics and fiberoptic TTL data links
VME  analog, thermocouple, LVDT, synchro, tachometer
Multichannel arbitrary waveform generators
Reply to
John Larkin

It sure as hell ain't the only topology that can give you that.

Gawd damn, can you even read? JT has to directly control them.

Overly addicted to a power tool to do what you can't.

?-(

Reply to
josephkk

Got an ISBN for that? If you respect it, it goes on my to read list.

?-)

Reply to
josephkk

You are doing much better. Staying off the people and on the electronics.

Reply to
SoothSayer

How about, because they are not necessary and can be expensive? Very especially if you do not know to either; how to value shop, or use possibly expensive tools. (Or possessively worse get crippled by using them: e. g. SPICE)

No, you can't have any of mine. I still know how to use them.

?-)

Reply to
josephkk

OK, what others?

You think he designs around ideal opamps? I can't buy them in SOT23 packages.

I'm an engineer. I design a lot of electronics. Given the choice of doing things the hard way, or doing them the easy way, I cheat and pick the easy one. I'm not sure I can still do long division.

I used to design filters by hand. I used to lay out PCBs with tape and mylar. Neither was a lot of fun.

Latest laser driver board; did the layout on this one meself!

formatting link

--

John Larkin                  Highland Technology Inc
www.highlandtechnology.com   jlarkin at highlandtechnology dot com   

Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom timing and laser controllers
Photonics and fiberoptic TTL data links
VME  analog, thermocouple, LVDT, synchro, tachometer
Multichannel arbitrary waveform generators
Reply to
John Larkin

Real Men love power tools. How do you drill holes? Use an old brace-and-bit? One of those hand-crank bevel gear drills?

Very

Spice saves a lot of time, sometimes. I just ran a bunch of sims on the LTM8023 switcher module, looking for sub-cycle oscillations. The LTC macromodel isn't super good, and the sim doesn't quite match reality, but it was educational. Looks like we need to stock up on polymer aluminum caps.

Well, I have a couple of HP35s that still work. And I do a lot of math in my head, which I still know how to use.

--

John Larkin                  Highland Technology Inc
www.highlandtechnology.com   jlarkin at highlandtechnology dot com   

Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom timing and laser controllers
Photonics and fiberoptic TTL data links
VME  analog, thermocouple, LVDT, synchro, tachometer
Multichannel arbitrary waveform generators
Reply to
John Larkin

Gosh, do you really think so?

--

John Larkin                  Highland Technology Inc
www.highlandtechnology.com   jlarkin at highlandtechnology dot com   

Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom timing and laser controllers
Photonics and fiberoptic TTL data links
VME  analog, thermocouple, LVDT, synchro, tachometer
Multichannel arbitrary waveform generators
Reply to
John Larkin

'Real Men' are craftsmen with whatever tools they can find to use. Some of the finest things ever made were done with the simplest of tools.

As far as a drill? I have several drill presses, including a 'Cameron Precision'. At least a half dozen cordless drills, air drills, Dremmel, and their clones and I had a brace & bit that was very handy for drilling holes in power poles where there was no power to run a 1/2" power drill. You can't get through one hole with most cordless drills when drilling that treated wood. You also need special drills to cut the wood, and not burn up.

I have spent hours with files to make metal parts, when a milling machine wasn't available or to repair damaged power tools that could have been used to make that part. I just repaired the embedded controller for a pipe bender for a local factory. A replacement was over $700 and they would have been down over a month, waiting for the replacement from the OEM in Italy. they can't ship any product with that one machine down. The repair costs were under $7. There is no documentation available, other than the mechanical parts & a list of the modules. It uses a VFD a three phase motor and a Rabbit Semiconductor module, plus their custom display & keyboard. Their part is poorly designed, and was damaged because some idiot put a Ni-Cad battery on the interface board where it ate the traces off the board when it leaked. The first board worked for eight years. A brand new replacement only lasted 13 months. Like a lot of computer motherboards in the 286-486 days, it was designed to self distract.

Reply to
Michael A. Terrell

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.