Author Topic: 2 transistor asynchronous multivibrator driving logic chip  (Read 1396 times)

0 Members and 1 Guest are viewing this topic.

Offline Dabbo56Topic starter

  • Contributor
  • Posts: 22
  • Country: gb
2 transistor asynchronous multivibrator driving logic chip
« on: November 26, 2022, 03:08:49 pm »
I have 2 circuits that work no problem:
1. A traditional 2 BJT astable multivibrator generating square wave at 1 Hz (0v to 5v), and
2. A counter 74HC393 chip driven by a function generator putting out square wave at 1 Hz (0v to 5v).
So, I replaced the function generator with the astable multivibrator but getting nonsense output from the chip.
Both square waves look similar on the scope. What am I doing wrong? What do I need to read up on? Thanks!
Ancient analog(ue) man lost in a digital world
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12860
Re: 2 transistor asynchronous multivibrator driving logic chip
« Reply #1 on: November 26, 2022, 04:19:48 pm »
I'd bet the risetime of the function generator is *MUCH* faster than that of your BJT astable, and that the latter is violating the 74HC393's max. input transition rise/fall time given in the datasheet(∆t/∆v, page 3).  The slow risetime keeps the clock input in its transition region where it is sensitive to noise pickup (possibly from its own output transitions) for too long, resulting in extra counts.

Its very hard to get a clean enough squarewave with nice edges out of a BJT astable unless you emitter couple the output.  See attached LTspice sim.
 
The following users thanked this post: Dabbo56

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19524
  • Country: gb
  • 0999
Re: 2 transistor asynchronous multivibrator driving logic chip
« Reply #2 on: November 26, 2022, 08:55:28 pm »
The transistors in an astable actually turn off very quickly, because the base voltage goes negative. It's the voltage dropped across the collector resistor which makes the rise time sluggish. Add a diode and an extra pull-up resistor to get a faster rise time. Here's an example showing the difference between the extra diode & resistor vs without.
« Last Edit: November 26, 2022, 09:16:47 pm by Zero999 »
 
The following users thanked this post: Ian.M, RoGeorge, ledtester, Dabbo56

Offline Dabbo56Topic starter

  • Contributor
  • Posts: 22
  • Country: gb
Re: 2 transistor asynchronous multivibrator driving logic chip
« Reply #3 on: November 26, 2022, 09:59:56 pm »
Thanks Zero999 and I’ll definitely implement your modification. One question though, as I understand it the 74HC393 does its thing on the negative going edge which, as you say, happens quickly. Will improving the rise time help?
Ancient analog(ue) man lost in a digital world
 

Offline Dabbo56Topic starter

  • Contributor
  • Posts: 22
  • Country: gb
Re: 2 transistor asynchronous multivibrator driving logic chip
« Reply #4 on: November 26, 2022, 10:04:35 pm »
Thanks Ian.M I'll give it a try
Ancient analog(ue) man lost in a digital world
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19524
  • Country: gb
  • 0999
Re: 2 transistor asynchronous multivibrator driving logic chip
« Reply #5 on: November 26, 2022, 10:30:31 pm »
Thanks Zero999 and I’ll definitely implement your modification. One question though, as I understand it the 74HC393 does its thing on the negative going edge which, as you say, happens quickly. Will improving the rise time help?
It might do. If the dv/dv of the input waveform is too slow, anything could happen. Operating an IC outside of its design specifications is asking for trouble.
 

Online David Hess

  • Super Contributor
  • ***
  • Posts: 16618
  • Country: us
  • DavidH
Re: 2 transistor asynchronous multivibrator driving logic chip
« Reply #6 on: November 26, 2022, 11:16:21 pm »
Some companies like Hitachi or NEC put Schmitt trigger inputs on all of their HC logic clock and edge inputs.
 

Offline Dabbo56Topic starter

  • Contributor
  • Posts: 22
  • Country: gb
Re: 2 transistor asynchronous multivibrator driving logic chip
« Reply #7 on: November 27, 2022, 11:17:31 am »
The transistors in an astable actually turn off very quickly, because the base voltage goes negative. It's the voltage dropped across the collector resistor which makes the rise time sluggish. Add a diode and an extra pull-up resistor to get a faster rise time. Here's an example showing the difference between the extra diode & resistor vs without.

Yes that worked and the logic chip is now working fine. The rise time which was 68mS is now 34nS.
The fall time is less than 12nS.
Datasheet states max 500nS so well within the limit
Ancient analog(ue) man lost in a digital world
 

Offline Dabbo56Topic starter

  • Contributor
  • Posts: 22
  • Country: gb
Re: 2 transistor asynchronous multivibrator driving logic chip
« Reply #8 on: November 27, 2022, 12:30:53 pm »
As a follow up question, there are 2 ways in which the astable multivibrator circuit can be drawn. In type A the resistor R2 is connected to the base of the first transistor.
In type B the resistor R2 in connected to the capacitor. Both appear in textbooks and references.
Is one better than the other?
Ancient analog(ue) man lost in a digital world
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19524
  • Country: gb
  • 0999
Re: 2 transistor asynchronous multivibrator driving logic chip
« Reply #9 on: November 27, 2022, 12:38:53 pm »
As a follow up question, there are 2 ways in which the astable multivibrator circuit can be drawn. In type A the resistor R2 is connected to the base of the first transistor. (Attachment Link)
In type B the resistor R2 in connected to the capacitor. (Attachment Link) Both appear in textbooks and references.
Is one better than the other?
What's the difference?
Please take another look at the circuits, noting the connections between the components. :)
 
The following users thanked this post: Dabbo56

Online magic

  • Super Contributor
  • ***
  • Posts: 6779
  • Country: pl
Re: 2 transistor asynchronous multivibrator driving logic chip
« Reply #10 on: November 27, 2022, 12:39:31 pm »
Type B is better because there is less line crossing and opportunity for confusion ;)
 
The following users thanked this post: Dabbo56

Online wasedadoc

  • Super Contributor
  • ***
  • Posts: 1367
  • Country: gb
Re: 2 transistor asynchronous multivibrator driving logic chip
« Reply #11 on: November 27, 2022, 12:43:58 pm »
As a follow up question, there are 2 ways in which the astable multivibrator circuit can be drawn. In type A the resistor R2 is connected to the base of the first transistor. (Attachment Link)
In type B the resistor R2 in connected to the capacitor. (Attachment Link) Both appear in textbooks and references.
Is one better than the other?
They are exactly the same circuit.  Just a mater of preference.  Some may prefer the second as it has only one crossover.

BTW.  Running the circuit from more than about 6 volts causes the negative excursion at the bases to exceed the reverse breakdown voltage of many silicon transistors.  That does not necessarily damage them but does cause the circuit to run faster than the usual theoretical calculation. 
« Last Edit: November 27, 2022, 12:48:01 pm by wasedadoc »
 
The following users thanked this post: Dabbo56

Offline Dabbo56Topic starter

  • Contributor
  • Posts: 22
  • Country: gb
Re: 2 transistor asynchronous multivibrator driving logic chip
« Reply #12 on: November 27, 2022, 12:48:00 pm »
Am I crazy? Surely not the same circuit  :scared:
Ancient analog(ue) man lost in a digital world
 

Offline Dabbo56Topic starter

  • Contributor
  • Posts: 22
  • Country: gb
Re: 2 transistor asynchronous multivibrator driving logic chip
« Reply #13 on: November 27, 2022, 12:49:42 pm »
Oh I get it. R2 becomes R3
Ancient analog(ue) man lost in a digital world
 

Online wasedadoc

  • Super Contributor
  • ***
  • Posts: 1367
  • Country: gb
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19524
  • Country: gb
  • 0999
Re: 2 transistor asynchronous multivibrator driving logic chip
« Reply #15 on: November 27, 2022, 02:49:00 pm »
Am I crazy?
Yes.
Come on, go easy on the original poster. This is the beginners section.
Oh I get it. R2 becomes R3
There are always different ways of drawing the same circuit. Here's another example. It's exactly the same circuit, drawn a different way.


Wikipedia has an excellent article about this circuit.
https://en.wikipedia.org/wiki/Multivibrator#Astable
 

Online David Hess

  • Super Contributor
  • ***
  • Posts: 16618
  • Country: us
  • DavidH
Re: 2 transistor asynchronous multivibrator driving logic chip
« Reply #16 on: November 28, 2022, 10:14:08 am »
There is also a single capacitor version, shown below.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf