6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Jun 23, 2024 6:41 pm

All times are UTC




Post new topic Reply to topic  [ 45 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Thu Aug 30, 2012 10:03 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8460
Location: Southern California
and that makes total sense for senarios where the total transmission-line length is very short for the rise time; but there's also distributed inductance that cannot be overcome with more mA of drive strength. That additional drive strength doesn't hurt anything as long as it is not also accompanied by edge rates that are too fast for the line length and lack of terminations (and in this case, it is apparently impossible to accomplish proper terminations).

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 31, 2012 1:35 am 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
The problem with the stripboard is that it doesn't have so many strips to fit all of the bus lines and ground strips. Actually i barely managed to fit the data bus, control lines and 4 address lines. For the rest i use ribbon cables, and since not all modules require extended address and since it goes in only one directions, that should be a smaller problem that the backplane. As for the slew rate, could i try adjusting it with small capacitors if it is too steep?


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 31, 2012 4:52 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10834
Location: England
BDD,
Thanks for the details. I had no idea the specs imply a necessary minimum rate of change. (Does it seem likely that missing that spec would merely increase the momentary power consumption? At least for a plain data input - clocks and strobes are a different case but presumably those could be conditioned by a Schmitt buffer.)

Dajgoro,
I think you're very likely to get away with it: there's the hobbyist regime, there's the professional engineer's regime, and then there's life-critical equipment. My feeling is that a lot of what you hear here is very conservative, although it is based on sound principles and practice. It's quite appropriate for a self-employed engineer.

Have a read of Quinn Dunki's blog for some well-written stories of how to make progress by experiment and adjustment. If your first attempt at a backplane isn't completely reliable, it won't kill anyone and you won't lose your job. You'll doubtless learn a lot from it. On the other hand if you waited until you understood everything as well as Dr Johnson you might never build anything.

The way to experience is to make progress: if you make mistakes you can learn from them. By all means get guidance from people more experienced, but bear in mind that they already earned their experience.

Cheers
Ed


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 31, 2012 5:32 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8460
Location: Southern California
Dajgoro wrote:
The problem with the stripboard is that it doesn't have so many strips to fit all of the bus lines and ground strips. Actually i barely managed to fit the data bus, control lines and 4 address lines. For the rest i use ribbon cables, and since not all modules require extended address and since it goes in only one directions, that should be a smaller problem that the backplane.

Actually the ribbon cables is the route the Daryl took on his SBC-4 pictured here:

Image

You can get ten signal conductors per inch plus grounds between them, the ribbon having 20 conductors per inch total, meaning twice what the strips on the proto board give.

Quote:
As for the slew rate, could i try adjusting it with small capacitors if it is too steep?

That's what the 1488 RS-232 line driver did for bringing the slew rate down to avoid the reflection problems with super long cables; but at faster logic speeds it would result in more groundbounce, ie, the heavier load on one output pin switching will develop more voltage across the IC's ground or Vdd inductance which affects other outputs that are not supposed to be switching. So I wouldn't recommend it.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 31, 2012 7:32 am 
Offline
User avatar

Joined: Mon Aug 08, 2011 2:48 pm
Posts: 808
Location: Croatia
For start ill try to use just BDD-s ABT ic, that i already ordered, and if i spot any issues, ill try to implement terminators or something to try make it more stable.


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 31, 2012 8:07 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8460
Location: Southern California
You will have sockets, right? so you can try different parts and swap them out with minimal effort.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 31, 2012 3:47 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8229
Location: Midwestern USA
BigEd wrote:
BDD,
Thanks for the details. I had no idea the specs imply a necessary minimum rate of change. (Does it seem likely that missing that spec would merely increase the momentary power consumption? At least for a plain data input - clocks and strobes are a different case but presumably those could be conditioned by a Schmitt buffer.)

In the data sheets that I've looked at, there usually isn't any statement as to what might happen if Δt/Δv is violated. A transient power consumption increase would happen, which, I suppose, could damage a device under certain circumstances. However, it may be that the internal logic will assume some undefined state that the chip designer either didn't foresee, or knows about but decided to ignore, since one is not supposed to violate Δt/Δv. It would analogous to an aircraft designer knowing that exceeding a certain rate of descent will cause airframe structural failure, but deciding that a warning to the pilot about the permissible limit is sufficient.

Quote:
Dajgoro,
I think you're very likely to get away with it: there's the hobbyist regime, there's the professional engineer's regime, and then there's life-critical equipment. My feeling is that a lot of what you hear here is very conservative, although it is based on sound principles and practice. It's quite appropriate for a self-employed engineer.

Ed's right. You're not designing a mission-critical unit that is going to be used on the next voyage to the moon, where failure is not an option. Use the best design principles that you can and then accelerate the clock to see just how fast it will go. That's what I did with POC (which is stable at 12.5 MHz).

Quote:
Have a read of Quinn Dunki's blog for some well-written stories of how to make progress by experiment and adjustment.

Quinn is very good at what she does. A big plus for her is her methodical approach. It enabled her to get working VGA going with basic parts and on a patch-board, no less.

Quote:
If your first attempt at a backplane isn't completely reliable, it won't kill anyone and you won't lose your job. You'll doubtless learn a lot from it. On the other hand if you waited until you understood everything as well as Dr Johnson you might never build anything.

On the other hand, having a reasonably good grasp of the theory can make troubleshooting a lot easier, especially in cases where it just flat doesn't work, as opposed to where it sorta-works.

Quote:
The way to experience is to make progress: if you make mistakes you can learn from them. By all means get guidance from people more experienced, but bear in mind that they already earned their experience.

"Good judgment comes from experience. Experience comes from bad judgment." —anonymous

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 31, 2012 4:17 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8229
Location: Midwestern USA
GARTHWILSON wrote:
and that makes total sense for senarios where the total transmission-line length is very short for the rise time; but there's also distributed inductance that cannot be overcome with more mA of drive strength.

In an ideal medium, propagation is at the approximate rate of 30 centimeters (11.81 inches) per nanosecond. That number, of course, neglects reactive effects. Seen from the far end of a bus, inductance is the limiting factor in how quickly a state change propagates. So it would behoove the designer to use a bus topology that minimizes mutual inductance. In this regard, there are plenty of models to consider. I keep turning to the parallel LVD SCSI bus as an example, on which signaling rates of 80 MHz are achieved over cables that can be as long as 12 meters with proper termination. Even the single-ended SCSI bus is able to achieve 40 MHz on a 6 meter cable.

Quote:
That additional drive strength doesn't hurt anything as long as it is not also accompanied by edge rates that are too fast for the line length and lack of terminations (and in this case, it is apparently impossible to accomplish proper terminations).

I completely agree, and ultimately, a really fast bus has to be properly terminated at both ends to avoid reflections.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 02, 2012 2:08 am 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3366
Location: Ontario, Canada
BigEd wrote:
I had no idea the specs imply a necessary minimum rate of change. (Does it seem likely that missing that spec would merely increase the momentary power consumption?
BigDumbDinosaur wrote:
In the data sheets that I've looked at, there usually isn't any statement as to what might happen if Δt/Δv is violated. A transient power consumption increase would happen, which, I suppose, could damage a device under certain circumstances.

I wondered about this, too, and dug up this document from TI, "Implications of Slow or Floating CMOS Inputs." It cites the power dissipation issue you guys mentioned -- an issue which I confess I treat rather casually. (If I had really slowly-changing inputs, a high repetition rate and multiple bits involved then I'd worry about dissipation -- as a slowly accumulating thermal problem.)

But the TI doc also explains how instantaneously increased dissipation during a slow transition can result in ground bounce that produces feedback opposing the input signal -- which, depending on other circumstances, might add up to a recipe for an oscillator. This is a separate issue from the thermal problem.

cheers

Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 02, 2012 3:41 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8229
Location: Midwestern USA
Dr Jefyll wrote:
BigEd wrote:
I had no idea the specs imply a necessary minimum rate of change. (Does it seem likely that missing that spec would merely increase the momentary power consumption?
BigDumbDinosaur wrote:
In the data sheets that I've looked at, there usually isn't any statement as to what might happen if Δt/Δv is violated. A transient power consumption increase would happen, which, I suppose, could damage a device under certain circumstances.

I wondered about this, too, and dug up this document from TI, "Implications of Slow or Floating CMOS Inputs." It cites the power dissipation issue you guys mentioned -- an issue which I confess I treat rather casually. (If I had really slowly-changing inputs, a high repetition rate and multiple bits involved then I'd worry about dissipation -- as a slowly accumulating thermal problem.)

But the TI doc also explains how instantaneously increased dissipation during a slow transition can result in ground bounce that produces feedback opposing the input signal -- which, depending on other circumstances, might add up to a recipe for an oscillator. Temperature isn't the issue.

cheers

Jeff

Oh, I had forgotten about that doc and its mention of the effects of a slow input transition on ground bounce. While ground bounce external to a device can be minimized with a careful board layout, nothing can be done about the internal die connections. So it behooves the designer (as I earlier opined) to be aware of a device's Δt/Δv and what violations might do.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 02, 2012 4:06 am 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3366
Location: Ontario, Canada
BigDumbDinosaur wrote:
While ground bounce external to a device can be minimized with a careful board layout, nothing can be done about the internal die connections.
I thought so, too. But then somewhere I read about a technique -- was it by Garth here on this forum? -- that was an eye-opener for me. The idea has limited applicability, but is darn clever just the same. Basically if you have an unused output on your chip, you arrange that it's always driven low. For example, on an inverter tie the input high. Then you ground the associated output! :shock: The idea is that now you have two bond wires attaching the die to ground on the outside world -- hence a reduction in unwanted inductance. The improvement would be somewhat diluted by the impedance of the output stage, but still....

This idea gives me the chills, but I guess the only potential problem is if the output you've grounded fails to behave gracefully during powerup.

-- Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Last edited by Dr Jefyll on Sun Sep 02, 2012 5:13 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 02, 2012 5:11 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8229
Location: Midwestern USA
Dr Jefyll wrote:
This idea gives me the chills, but I guess it'd be OK as long as the output you've grounded behaves gracefully during powerup.

-- Jeff

Sounds like a recipe for possible device failure. Simple gates like inverters probably are predictable at power-up. No telling, however, what a more complex device, say a '138 decoder, might do.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 02, 2012 5:17 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8460
Location: Southern California
I did that for a variable-frequency oscillator that goes to 75MHz on a 74AC-logic DIP. (I'm sure it would go higher with some changes.) I had one input and two outputs connected to ground, and two inputs and one output connected to Vcc. But yes, it was a simple inverter, not registered logic.

And speaking of oscillators, Fairchild's ap. note AN-340 tells of using non-Schmitt-trigger CMOS logic as an analog amplifier for crystal oscillators. I have not experimented, but I suspect that unlike the current spike shown in the TI document (which I only took a short look at), many CMOS logic families have both the transistors in the output totem pole semi turned off when the input is between valid logic levels, such that neither transistor is conducting very much. In the case of what the TI ap. note is showing, the extra power wasted would be approximately proportional to the percentage of the period that the waveform spends in the transition; IOW, if it's a problem, then the higher the frequency, the faster the input slew rate would need to be to keep the power dissipation down to a safe level.

However, I have seen problems when signals with noise on them take their sweet time to cross the no-man's land. Usually the solution is to use a Schmitt-trigger input, but one time I cured it by putting a capacitor at the input which actually slowed it down further but swamped out the noise. This was on a reset which did not need deep-sub-microsecond response.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 02, 2012 8:22 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8229
Location: Midwestern USA
GARTHWILSON wrote:
I did that for a variable-frequency oscillator that goes to 75MHz on a 74AC-logic DIP. (I'm sure it would go higher with some changes.) I had one input and two outputs connected to ground, and two inputs and one output connected to Vcc. But yes, it was a simple inverter, not registered logic.

But Garth, don't you think all of this is a sort of band-aid approach to solving a deeper problem? If, as described in the TI publication (page 3), Δt/Δv violations are a precursor to inadvertent oscillation (which TI says can result in device fatality), it seems to this big, dumb dinosaur that every effort should be made to straighten out the problem, not mask it. At the risk of mixing metaphors, it seems to me an approach that attempts to negate the side-effects of Δt/Δv violations instead of eliminating the cause of the violations is too much like offering Tylenol to someone who is suffering from intra-cerebral hemorrhaging.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 03, 2012 9:15 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8460
Location: Southern California
For the VFO, the purpose was to minimize inductance to ground and Vcc in a situation where there were no problems but I wanted to maximize performance.  In the case of the mechanism that can cause oscillation, it will actually improve things there, and minimize groundbounce.  (Oh how I wish the original 74 logic families had started out with ground and Vcc in the middle instead of in the corners, so we wouldn't be stuck with a problem that results at speeds they did not anticipate ever reaching!)  The VFO IC gets warm at the top end of its frequency range, but not at all at something like 10MHz.

The Fairchild 74AC book (printed long before TI bought them out) covers what can cause the unwanted oscillation when the input transition rate is too slow, but did not even imply that it could damage the device.  To damage it, the load would have to look like a short at the oscillation frequency, and you would have to keep the input in the questionable range long enough to heat up the die enough for it to experience damage.  Comparing the two companies' literature though,  TI logic appears to have a problem Fairchild logic does not, which is that TI apparently can have both transistors in a totem pole saturated at the same time when the input voltage is in the middle of no-man's land.  I have avoided TI over the years however because their support has always been terrible, re-confirmed recently with two projects at work.  Our other engineer now thoroughly hates them.  It has been sad to see TI buying up some of my favorite companies like National and Power Trends.  With other companies' logic ICs, I've never damaged any except by really dumb things like connecting the power backwards or letting a screwdriver roll under the workbench computer and short out WW pins while it was running. (Yes that actually happened, and remember there's ±12V there too, not just 5V.)  [Edit, correction, years later:  After Fairchild was spun back off of National Semiconductor, it was On Semi that bought Fairchild, and TI bought National.]

The Fairchild book does say that their 74AC commonly have gains of 100, so the output can suddenly change states as the input slowly reaches the threshold, and if for example you have an inverter (non-Schmitt-trigger) and the input is slowly rising, the output suddenly slams down and charges the load through its ground pin, raising the input threshold because the sudden added output current rise multiplied by the inductance of the ground pin and bond wire result in a voltage that raises the input threshold enough that the input is no longer high enough to make the output low, so it goes back up, and then back down, then back up, oscillating.  With a gain of 100, even 50mV change in what it perceives to be the input voltage is enough to make the output swing the entire 5V.

That's my take on it.  I'd still like to learn more about various manufacturers' and logic families' detailed differences, but for now, I'm not worried about damaging parts with the input slew rate being a few ns too slow.  Nor should it cause any malfunction as long as this oscillation is not in a clock signal.  Dr. Johnson had a whole article about the importance of a clean clock signal and distribution method.  Other signals can do whatever they want as long as they are valid and stable from the setup time before and the hold time after the relevant clock edges.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 45 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 63 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: