News:

SMF for DIYStompboxes.com!

Main Menu

BBD: parts inside

Started by Thomeeque, September 01, 2011, 09:08:32 AM

Previous topic - Next topic

Thomeeque

 Hello,

BBDs and me again :)

I'm trying to emulate BBD line:



(of MN3207 for starters) in LTSpice and I even get some results already:


(click the pic for hi-res version, download source here: BBD_emu_LTC.asc)

but it's far from perfect - main issue is huge attenuation (growing with cell number, original MN3207 boosts signal!) and there's probably more.

But it's not surprise for me as I'm lacking basic knowledge about the parts inside the real MN3207:

  • What type of FETs is used there (NMOS, JFET..)? What discrete type would be close?
  • How should be S and D pins of FETs oriented?
  • What is capacity of the caps?
  • NEW: is there some exact way, how to state proper input DC bias?

Does somebody know?

Thanks, T.
Do you have a technical question? Please don't send private messages, use the FORUM!

panterafanatic

I believe the data sheet states P-chan or N-chan.

On my MN3207 data sheet, under the features it states, "N-channel silicon gate process." The clock is connected to ground/Vgg via the FETs, as well as the capacitors and inherent capacitance, so this is guesswork to me at least, but the datasheet sheet says that the clock input capacitance is a maximum of 700pF, divvied among 1000+ stages, that's less than 1pF per stage, which could just be the unavoidable inter-capacitance of the components in the IC.
-Jared

N.S.B.A. ~ Coming soon

Thomeeque

Quote from: panterafanatic on September 01, 2011, 10:01:16 AM
On my MN3207 data sheet, under the features it states, "N-channel silicon gate process."

On my too :), unfortunately my knowledge about FET technology is so limited, that I don't know how to transform this statement to exact FET type - NMOS felt closest to me, that's why I used it, but I have no idea if it's correct. Plus which exact NMOS type I should pick, there's so many and variety of parameters is huge.

About S/D orientation it's similar, I have used what seemed more logical to me, but I have no idea if it's correct either.

Quote from: panterafanatic on September 01, 2011, 10:01:16 AM
The clock is connected to ground/Vgg via the FETs, as well as the capacitors and inherent capacitance, so this is guesswork to me at least, but the datasheet sheet says that the clock input capacitance is a maximum of 700pF, divvied among 1000+ stages, that's less than 1pF per stage, which could just be the unavoidable inter-capacitance of the components in the IC.

Hmm, output with use of 1pF instead of 100pF for Cbbd is not that different (it's just little more toothy), so maybe it's not that critical (and maybe 1pF is close to correct value).

Thanks, T.
Do you have a technical question? Please don't send private messages, use the FORUM!

rustypinto

See what documentation (patents, app notes, other write-ups) you can find from Panasonic and Reticon about BBDs. The MN30XX series used a higher-voltage (meaning up to 15V) PMOS process and the MN32XX used high-voltage (up to 10V) NMOS process. Reticon used a higher-voltage NMOS process for their stuff. Hopefully you can dig up the MOSFET gate feature size and find an equivalent device in your tool. Also, all of those capacitors that make up the "buckets" were either very small (~1pF probably) since caps take up quite a bit of die real-estate, or they used yet another MOSFET hooked up like a capacitor. The CD series of logic was high voltage, so i would probably start with finding an equivalent MOSFET used in those devices if you can't find out exactly what was used, especially since you can find documentation on those a lot easier (i know i could in my undergrad studies on device fabrication).
  • SUPPORTER

nexekho

It would be pretty interesting to see one of these made by hand in a box about the size of a MIDI keyboard :p
I made the transistor angry.

edvard

Holy crap!! For even just a modest 512-stage unit, it's going to be frickin huge and potentially expensive.
Unless you can find super-small surface-mount MOSFETS for a few cents apiece at the most.

Then again, I kinda dig insane ideas like this...  :icon_twisted:
All children left unattended will be given a mocha and a puppy

R.G.

Be aware that the MOSFETs inside a chip may have dramatically different characteristics than discrete devices because they can be optimized for just one task, no matter how odd that would be in a discrete device.

I'd be interested in seeing how this might be with tubes. Something like 3000 12AX7s?  :icon_lol:
R.G.

In response to the questions in the forum - PCB Layout for Musical Effects is available from The Book Patch. Search "PCB Layout" and it ought to appear.

Mark Hammer

I suspect that one of the most serious limitations of traditional BBDs is that the caps in them are kind of leaky.  As a result, the worst case scenario is to use a BBD at its longest delay-time with more than one iteration.  Exceeding the "safe" storage duration of a cap, and doing so repeatedly, leads to successive degradations/misrepresentations of the original signal.

Conceivably, a discrete version of a BBD could involve better choices of the storage caps involved such that one could hold the sample for a fairly long time without appreciable leakage/degradation.

Thomeeque

#8
 Hello guys, it's pretty late here, I'm too exhausted (and boozed a little ;)) to answer anything smart at this moment, so just one note:

I do not plan to physically build it, I just want to emulate it to be able to easily study influence of thing like value of VGG, clock wave shape, overlap elimination etc. - just to simply see what happens when I change this or that - by few click of mouse (and without need of having expensive equipment)..

Cheers, T.
Do you have a technical question? Please don't send private messages, use the FORUM!

Govmnt_Lacky

Quote from: Thomeeque on September 01, 2011, 07:29:05 PM
Hello guys, it's pretty late here, I'm too exhausted (and boozed a little ;)) to answer anything smart at this moment, so just one note:

I do not plan to physically build it, I just want to emulate it to be able to easily study influence of thing like value of VGG, clock wave shape, overlap elimination etc. - just to simply see what happens when I change this or that - by few click of mouse (and without need of having expensive equipment)..

Cheers, T.

This sounds far too intelligent!

You are DEFINITELY NOT adequately boozed!!!  ::)  :icon_lol:
A Veteran is someone who, at one point in his or her life, wrote a blank check made payable to The United States of America
for an amount of 'up to and including my life.'

blueduck577

#10
A possible problem are the MOSFETs you are using.  On the real IC, I highly doubt the body of the FETs are tied to their source.  Try finding a 4-terminal MOSFET symbol and tying all the body terminals to ground.  And after you do that, the source and drain orientation shouldn't really matter.

PRR

Just FYI: the BBD is a "DRAM" logic memory device, a shift-register, with perhaps slightly different in/out systems. So the base technology is similar to Intel 1K DRAM from the early 1970s. MOSFET, but not CMOS, and probably not much like any device sold individually.

As blue says, the 3-pin/4-pin difference just may matter. And I have never been quite confident that the published circuit IS the correct topology; also the reality is that everything is too-tight (DRAM was very competitive) and interacts a lot.

Fix a 0V/+5V toggle and a pushbutton clock. Start feeding ones and zeros through. 512 steps later you get the same ones/zeros out. (Do this VERY fast: the _D_ in DRAM means the bits leak away in a small fraction of a second.)

The input bias is semi-easy. Feed a large signal. If biased high, the tops are clipped; too low, the bottoms are clipped. Find the middle where both are clipped. Reduce level to hardly-clipped. Re-bias, re-level, it's plenty good enough. (Number-lovers will next connect a THD meter and keep trimming/leveling until blue in the face.)

  • SUPPORTER

nexekho

Sorry to bump, but I had an idea, schematic'd it roughly in Falstad and it seems to work.  Three MOSFETs and a capacitor per bucket, but using a counter IC to syncronise the lot as a ring buffer instead of passing it down the chain.  I have no idea really but in theory this might have less signal degradation because it's not being passed around?  To vary the sample rate and thus delay time, change the clock rate into the 4017.  Each bucket is connected to three pins on the counter; (with overlap) the first unlocks that bucket's output path, then the second shorts out the capacitor to drain it, then the third opens up the input path to charge the capacitor with the signal.


$ 1 5.0E-6 1.700203994009402 50 5.0 50
f 160 272 208 272 0 1.5
c 208 288 208 384 0 1.0E-5 0.00885281931430845
f 144 336 192 336 0 1.5
w 192 320 192 304 0
w 192 304 208 288 0
w 192 352 192 368 0
w 192 368 208 384 0
g 208 384 208 400 0
f 176 176 224 176 0 1.5
w 208 288 224 288 0
w 224 288 224 192 0
w 208 256 208 224 0
w 208 224 96 224 0
R 96 224 96 192 0 1 440.0 1.0 1.0 0.0 0.5
163 160 544 176 544 0 10 5.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
w 320 224 208 224 0
w 320 256 320 224 0
w 336 288 336 192 0
w 320 288 336 288 0
f 288 176 336 176 0 1.5
g 320 384 320 400 0
w 304 368 320 384 0
w 304 352 304 368 0
w 304 304 320 288 0
w 304 320 304 304 0
f 256 336 304 336 0 1.5
c 320 288 320 384 0 1.0E-5 0.13360559895635382
f 272 272 320 272 0 1.5
w 432 224 320 224 0
w 432 256 432 224 0
w 448 288 448 192 0
w 432 288 448 288 0
f 400 176 448 176 0 1.5
g 432 384 432 400 0
w 416 368 432 384 0
w 416 352 416 368 0
w 416 304 432 288 0
w 416 320 416 304 0
f 368 336 416 336 0 1.5
c 432 288 432 384 0 1.0E-5 0.4141890236979756
f 384 272 432 272 0 1.5
w 544 224 432 224 0
w 544 256 544 224 0
w 560 288 560 192 0
w 544 288 560 288 0
f 512 176 560 176 0 1.5
g 544 384 544 400 0
w 528 368 544 384 0
w 528 352 528 368 0
w 528 304 544 288 0
w 528 320 528 304 0
f 480 336 528 336 0 1.5
c 544 288 544 384 0 1.0E-5 0.776000348208054
f 496 272 544 272 0 1.5
w 656 224 544 224 0
w 656 256 656 224 0
w 672 288 672 192 0
w 656 288 672 288 0
f 624 176 672 176 0 1.5
g 656 384 656 400 0
w 640 368 656 384 0
w 640 352 640 368 0
w 640 304 656 288 0
w 640 320 640 304 0
f 592 336 640 336 0 1.5
c 656 288 656 384 0 1.0E-5 1.068108139370053
f 608 272 656 272 0 1.5
f 1168 272 1216 272 0 1.5
c 1216 288 1216 384 0 1.0E-5 0.5243499427009113
f 1152 336 1200 336 0 1.5
w 1200 320 1200 304 0
w 1200 304 1216 288 0
w 1200 352 1200 368 0
w 1200 368 1216 384 0
g 1216 384 1216 400 0
f 1184 176 1232 176 0 1.5
w 1216 288 1232 288 0
w 1232 288 1232 192 0
w 1216 256 1216 224 0
w 1216 224 1104 224 0
f 1056 272 1104 272 0 1.5
c 1104 288 1104 384 0 1.0E-5 0.8979805649558595
f 1040 336 1088 336 0 1.5
w 1088 320 1088 304 0
w 1088 304 1104 288 0
w 1088 352 1088 368 0
w 1088 368 1104 384 0
g 1104 384 1104 400 0
f 1072 176 1120 176 0 1.5
w 1104 288 1120 288 0
w 1120 288 1120 192 0
w 1104 256 1104 224 0
w 1104 224 992 224 0
f 944 272 992 272 0 1.5
c 992 288 992 384 0 1.0E-5 1.1402634514234142
f 928 336 976 336 0 1.5
w 976 320 976 304 0
w 976 304 992 288 0
w 976 352 976 368 0
w 976 368 992 384 0
g 992 384 992 400 0
f 960 176 1008 176 0 1.5
w 992 288 1008 288 0
w 1008 288 1008 192 0
w 992 256 992 224 0
w 992 224 880 224 0
f 832 272 880 272 0 1.5
c 880 288 880 384 0 1.0E-5 1.2489872839599527
f 816 336 864 336 0 1.5
w 864 320 864 304 0
w 864 304 880 288 0
w 864 352 864 368 0
w 864 368 880 384 0
g 880 384 880 400 0
f 848 176 896 176 0 1.5
w 880 288 896 288 0
w 896 288 896 192 0
w 880 256 880 224 0
w 880 224 768 224 0
w 768 224 656 224 0
w 768 256 768 224 0
w 784 288 784 192 0
w 768 288 784 288 0
f 736 176 784 176 0 1.5
g 768 384 768 400 0
w 752 368 768 384 0
w 752 352 752 368 0
w 752 304 768 288 0
w 752 320 752 304 0
f 704 336 752 336 0 1.5
c 768 288 768 384 0 1.0E-5 1.226762842745135
f 720 272 768 272 0 1.5
w 192 512 144 336 0
w 224 512 256 336 0
w 256 512 368 336 0
w 288 512 480 336 0
w 320 512 592 336 0
w 352 512 704 336 0
w 816 336 384 512 0
w 928 336 416 512 0
w 1040 336 448 512 0
w 1152 336 480 512 0
w 224 512 160 272 0
w 256 512 272 272 0
w 288 512 384 272 0
w 320 512 496 272 0
w 608 272 352 512 0
w 720 272 384 512 0
w 832 272 416 512 0
w 944 272 448 512 0
w 1056 272 480 512 0
w 1168 272 192 512 0
w 176 176 480 512 0
w 288 176 192 512 0
w 400 176 224 512 0
w 512 176 256 512 0
w 624 176 288 512 0
w 736 176 320 512 0
w 848 176 352 512 0
w 960 176 384 512 0
w 1072 176 416 512 0
w 1184 176 448 512 0
w 224 160 336 160 0
w 336 160 448 160 0
w 448 160 560 160 0
w 560 160 672 160 0
w 672 160 784 160 0
w 784 160 896 160 0
w 896 160 1008 160 0
w 1008 160 1120 160 0
w 1120 160 1232 160 0
R 480 608 480 656 0 0 40.0 5.0 0.0 0.0 0.5
R 160 576 160 624 1 2 5000.0 2.5 2.5 0.0 0.5
O 336 160 336 128 0
o 13 4 0 34 2.5 0.05 0 -1
o 173 4 0 34 2.5 9.765625E-5 1 -1

Yeah, that wiring's a mess.
I made the transistor angry.

Galego

That's just 6144 mosfets and 2048 caps for a 2048 stage bbd, how big would that be?  ;D

nexekho

You'd also need sufficient decade counters and hardware to synchronise THOSE
I made the transistor angry.

nexekho

Improved design using flip-flops to control the sequence instead of a decade counter.  A few pennies more expensive but should make it easier to extend.  Also tidier.

The bit at the start with a JK+OR is just to insert a starting pulse into the chain to get it moving.  Is there a better way?  (injects pulses into the OR until the first flip flop responds)
$ 1 5.0E-6 3.046768661252054 50 5.0 50
155 208 400 224 400 0 5.0
155 336 400 384 400 0 0.0
155 592 400 640 400 0 0.0
155 464 400 480 400 0 0.0
155 976 400 992 400 0 0.0
155 1104 400 1152 400 0 0.0
155 848 400 896 400 0 0.0
155 720 400 736 400 0 0.0
w 1104 400 1072 400 0
w 976 400 944 400 0
w 848 400 816 400 0
w 720 400 688 400 0
w 592 400 560 400 0
w 464 400 432 400 0
w 336 400 304 400 0
156 224 560 288 560 0 5.0
R 208 592 144 592 1 2 2000.0 2.5 2.5 0.0 0.5
w 208 592 208 512 0
w 208 512 208 432 0
w 208 512 336 512 0
w 336 512 336 432 0
w 1104 432 1104 512 0
w 1104 512 976 512 0
w 976 512 976 432 0
w 848 432 848 512 0
w 848 512 976 512 0
w 848 512 720 512 0
w 720 512 720 432 0
w 720 512 592 512 0
w 592 512 592 432 0
w 592 512 464 512 0
w 464 512 464 432 0
w 464 512 336 512 0
w 1200 400 1200 368 0
w 1200 368 96 368 0
152 96 400 208 400 0 2 0.0
w 96 368 96 384 0
w 208 592 224 592 0
w 304 400 304 416 0
w 304 416 320 416 0
w 320 416 320 528 0
w 320 528 224 528 0
w 224 528 224 560 0
w 320 624 320 576 0
w 320 576 96 576 0
w 96 576 96 416 0
f 208 320 256 320 0 1.5
w 208 400 208 320 0
c 256 304 256 336 0 9.999999999999999E-6 1.336373481080584
g 256 336 256 352 0
f 304 272 256 272 0 1.5
w 304 272 304 400 0
w 256 288 256 304 0
w 256 256 256 240 0
f 192 272 240 272 0 1.5
w 256 288 240 288 0
w 240 256 240 224 0
w 368 256 368 224 0
w 384 288 368 288 0
f 320 272 368 272 0 1.5
w 384 256 384 240 0
w 384 288 384 304 0
w 432 272 432 400 0
f 432 272 384 272 0 1.5
g 384 336 384 352 0
c 384 304 384 336 0 9.999999999999999E-6 0.044351342784642776
w 336 400 336 320 0
f 336 320 384 320 0 1.5
w 320 320 320 272 0
w 448 320 448 272 0
f 464 320 512 320 0 1.5
w 464 400 464 320 0
c 512 304 512 336 0 9.999999999999999E-6 0.5397219048433001
g 512 336 512 352 0
f 560 272 512 272 0 1.5
w 560 272 560 400 0
w 512 288 512 304 0
w 512 256 512 240 0
f 448 272 496 272 0 1.5
w 512 288 496 288 0
w 496 256 496 224 0
w 576 320 576 272 0
f 592 320 640 320 0 1.5
w 592 400 592 320 0
c 640 304 640 336 0 9.999999999999999E-6 0.7587539508460239
g 640 336 640 352 0
f 688 272 640 272 0 1.5
w 688 272 688 400 0
w 640 288 640 304 0
w 640 256 640 240 0
f 576 272 624 272 0 1.5
w 640 288 624 288 0
w 624 256 624 224 0
w 704 320 704 272 0
f 720 320 768 320 0 1.5
w 720 400 720 320 0
c 768 304 768 336 0 9.999999999999999E-6 0.9806557918434646
g 768 336 768 352 0
f 816 272 768 272 0 1.5
w 816 272 816 400 0
w 768 288 768 304 0
w 768 256 768 240 0
f 704 272 752 272 0 1.5
w 768 288 752 288 0
w 752 256 752 224 0
w 832 320 832 272 0
f 848 320 896 320 0 1.5
w 848 400 848 320 0
c 896 304 896 336 0 9.999999999999999E-6 1.1888338571631976
g 896 336 896 352 0
f 944 272 896 272 0 1.5
w 944 272 944 400 0
w 896 288 896 304 0
w 896 256 896 240 0
f 832 272 880 272 0 1.5
w 896 288 880 288 0
w 880 256 880 224 0
w 960 320 960 272 0
f 976 320 1024 320 0 1.5
w 976 400 976 320 0
c 1024 304 1024 336 0 9.999999999999999E-6 1.369417668163349
g 1024 336 1024 352 0
f 1072 272 1024 272 0 1.5
w 1072 272 1072 400 0
w 1024 288 1024 304 0
w 1024 256 1024 240 0
f 960 272 1008 272 0 1.5
w 1024 288 1008 288 0
w 1008 256 1008 224 0
w 1088 320 1088 272 0
f 1104 320 1152 320 0 1.5
w 1104 400 1104 320 0
c 1152 304 1152 336 0 9.999999999999999E-6 1.5129471021150862
g 1152 336 1152 352 0
f 1200 272 1152 272 0 1.5
w 1200 272 1200 400 0
w 1152 288 1152 304 0
w 1152 256 1152 240 0
f 1088 272 1136 272 0 1.5
w 1152 288 1136 288 0
w 1136 256 1136 224 0
w 192 272 192 208 0
w 192 208 1184 208 0
w 1088 320 976 320 0
w 960 320 848 320 0
w 832 320 720 320 0
w 704 320 592 320 0
w 576 320 464 320 0
w 448 320 336 320 0
w 320 320 208 320 0
w 240 224 368 224 0
w 368 224 496 224 0
w 496 224 624 224 0
w 624 224 752 224 0
w 752 224 880 224 0
w 880 224 1008 224 0
w 1008 224 1136 224 0
w 1104 320 1184 320 0
w 1184 320 1184 208 0
w 256 240 384 240 0
w 384 240 512 240 0
w 512 240 640 240 0
w 640 240 768 240 0
w 768 240 896 240 0
w 896 240 1024 240 0
w 1024 240 1152 240 0
w 1136 224 1248 224 0
O 1248 224 1248 272 0
w 256 240 160 240 0
R 160 240 160 192 0 1 82.0 1.0 1.0 0.0 0.5
o 167 32 0 34 2.5 9.765625E-5 0 -1
o 169 64 0 34 5.0 0.05 1 -1

This is FUN!
I made the transistor angry.

oldschoolanalog

Reality check.
An MN3007 (1024 stage) BBD costs ~$3 US.
Hmmm...
Mystery lounge. No tables, chairs or waiters here. In fact, we're all quite alone.

nexekho

Quote from: Govmnt_Lacky on September 01, 2011, 07:35:24 PM
This sounds far too intelligent!

You are DEFINITELY NOT adequately boozed!!!  ::)  :icon_lol:
I made the transistor angry.

Thomeeque

#18
 Hey guys,

thanks for all your posts, sorry for not responding so long, blueduck577's "four-terminal NMOS with body grounded" hint moved me forward significantly* (thanks!!), but then I had to switch to something else again.

*At least now it looks like the value is travelling through the line losslessly (attenuation-wise; see s1024/s1025 signal), but there is still some problem at the very output:


(click the pic for hi-res version, download source here: BBD_NMOS4_emu_LTC.asc)

Unfortunately I don't have a time to play with it more now (and in the near future), but if you want to *please* go ahead, it really is fun :)

Btw. cool stuff, James!! :)

And just a small reminder:


I do not plan to physically build it, I just want to emulate it to be able to easily study influence of things like value of VGG, clock wave shape, overlap elimination etc. - just to simply see what happens when I change this or that - by few clicks of mouse (and without need of having expensive equipment)..


..because it seems to get lost really quickly :icon_mrgreen:

Cheers, T.
Do you have a technical question? Please don't send private messages, use the FORUM!

PRR

  • SUPPORTER