Author Topic: Compact 74AC14 pulse generator PCB  (Read 10677 times)

0 Members and 3 Guests are viewing this topic.

Offline rfmerrillTopic starter

  • Regular Contributor
  • *
  • Posts: 154
Compact 74AC14 pulse generator PCB
« on: February 20, 2021, 06:33:09 pm »
A lot of people have seen showing a fast edge pulse generator made with a 74AC14 and a few resistors and caps.

I built the circuit up on a piece of copper clad but decided it was a bit too fragile and decided to make a small PCB.



Unlike some of the other PCBs people have made, I decided to go with fairly small SMT passives for this to keep the signal length short and the overall size small. I also made it for an SMA connector as I have more SMA parts than BNC (which is the more popular choice). I still used the DIP version of the 74AC14 because I already had a bunch on hand and I don't know how much benefit there is to using the SMT versions--you would need to add vias anyway.



I don't have a very high bandwidth scope but the rise time I see approaches the limit of what my scope can measure, so I think it works pretty well. Just like the deadbugged version I made, you do see a lot of ringing, but this isn't meant to be a perfect circuit.

OSH park share link: https://oshpark.com/shared_projects/205KQbDA

KiCAD project is attached
« Last Edit: February 20, 2021, 06:34:50 pm by rfmerrill »
 
The following users thanked this post: edavid, AlienRelics

Offline rfmerrillTopic starter

  • Regular Contributor
  • *
  • Posts: 154
Re: Compact 74AC14 pulse generator PCB
« Reply #1 on: February 20, 2021, 06:36:45 pm »
One potential improvement I'm aware of is that C1 and the VCC pour should probably have gone on the top, as it gives a better decoupling path--you can implement this as a rework easily by removing solder mask on the top and using a wire. The thermal reliefs were left at their default and I think for this size board they're overkill and could even be eliminated.
 

Offline MikeK

  • Super Contributor
  • ***
  • Posts: 1314
  • Country: us
Re: Compact 74AC14 pulse generator PCB
« Reply #2 on: February 20, 2021, 09:38:38 pm »
Looks good.  I think the surface mount package would have a shorter rise time.
 

Offline MarkF

  • Super Contributor
  • ***
  • Posts: 2617
  • Country: us
Re: Compact 74AC14 pulse generator PCB
« Reply #3 on: February 21, 2021, 01:22:41 am »
Here is what I did:

https://www.eevblog.com/forum/beginners/is-this-standard-tolerance-for-square-wave-generator-output/msg3368814/#msg3368814

waveform:

https://www.eevblog.com/forum/beginners/is-this-standard-tolerance-for-square-wave-generator-output/msg3372374/#msg3372374

Mine is much larger though with through-hole parts.
I also use it as a buffer/driver with the jumper to select the external input instead of the pulse generator.
« Last Edit: February 21, 2021, 03:46:24 am by MarkF »
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7005
  • Country: pl
Re: Compact 74AC14 pulse generator PCB
« Reply #4 on: February 21, 2021, 12:14:57 pm »
Quote from: rfmerrill
compact
Been there, done that, got the t-shirt. I willy try to photograph my build later today, you will like it :D

The biggest limitation of those devices is power supply ESL. It's the origin of that 60MHz ringing and I solved it by using the tiny 74LVC2G14 chip and mounting bypass capacitors right on top of the package between its supply pins. Another problem is inductance of power cables, I found that it takes 47µF to suppress ringing at some kHz which shows up if you slow down repetition frequency.

My result looks like below. I have a strong suspicion that the slow rise over 20ns is some sort of artifact of the Chinese DSO because it just doesn't make any sense to me otherwise. Besides that, there is only a bit of overshoot which settles down after 4ns and this too could be partly to blame on the scope.

The gray trace is a reference I saved long ago.

edit
And here's the post which gave the the idea of using small LVC gates:
https://www.mikrocontroller.net/topic/217945#2205244
« Last Edit: February 21, 2021, 12:28:29 pm by magic »
 

Offline MikeK

  • Super Contributor
  • ***
  • Posts: 1314
  • Country: us
Re: Compact 74AC14 pulse generator PCB
« Reply #5 on: February 21, 2021, 01:37:48 pm »
Would be nice if this had variable pulse width and period.
 

Offline rfmerrillTopic starter

  • Regular Contributor
  • *
  • Posts: 154
Re: Compact 74AC14 pulse generator PCB
« Reply #6 on: February 21, 2021, 06:28:43 pm »
I'm kind of a beginner to high speed stuff: With using 7414 type drivers, is there any point to length-matching the traces from the driver to the output?
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7005
  • Country: pl
Re: Compact 74AC14 pulse generator PCB
« Reply #7 on: February 21, 2021, 07:17:18 pm »
Probably not much. Propagation velocity is on the order of 20cm/ns.

Would be nice if this had variable pulse width and period.
Replace R1 with a pot and you can control width and period, but not duty cycle ;)

And this is my "compact" build. As you see, I went a little nuts with minimization :-DD
 
The following users thanked this post: doktor pyta

Offline MikeK

  • Super Contributor
  • ***
  • Posts: 1314
  • Country: us
Re: Compact 74AC14 pulse generator PCB
« Reply #8 on: February 21, 2021, 07:43:05 pm »
And this is my "compact" build. As you see, I went a little nuts with minimization :-DD

I like it.  Always good to have less things in the way, or break off.
 

Offline MarkF

  • Super Contributor
  • ***
  • Posts: 2617
  • Country: us
Re: Compact 74AC14 pulse generator PCB
« Reply #9 on: February 22, 2021, 03:05:11 am »
I spun a compact version of my Pulse Gen loosely based on @rfmerrill's layout.


« Last Edit: February 22, 2021, 03:23:30 am by MarkF »
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7005
  • Country: pl
Re: Compact 74AC14 pulse generator PCB
« Reply #10 on: February 22, 2021, 08:54:05 am »
The path through decoupling caps is easily twice what it needs to be. OP's is much better, though C1 could go to the top layer.
It could be further reduced with little effort by switching to the SO14 package.

Remember about RDS(on) of the outputs, you can't just put 4×200Ω and expect correct termination.

edit
I found my old prototype built with 74AC14 in SO14. Apparently due to 50% decoupling ESL reduction, ringing goes from 120MHz to 250MHz and decays after 12ns. I used crappy carbon film resistors for that, perhaps SMD could be a little different in terms of rise time and overshoot.

It also looks like five parallel 220Ω isn't exactly the correct termination either, because amplitude is too high.
« Last Edit: February 22, 2021, 09:47:58 am by magic »
 

Offline florian-x

  • Contributor
  • Posts: 12
  • Country: fr
Re: Compact 74AC14 pulse generator PCB
« Reply #11 on: February 22, 2021, 09:25:24 pm »
Ah, I must add mine here! Dead-bug style :)
 
The following users thanked this post: edavid

Offline StillTrying

  • Super Contributor
  • ***
  • Posts: 2850
  • Country: se
  • Country: Broken Britain
Re: Compact 74AC14 pulse generator PCB
« Reply #12 on: February 22, 2021, 09:59:01 pm »
I did once think of wiring 2 carefully chosen spare gates of a 74AC14 like that to get more power conections into the chip to hopefully reduce the ringing, leaving 4 gates to play with. I thought it was an original idea but I've since seen one other mention of it for the same IC, maybe it works. :-\
.  That took much longer than I thought it would.
 

Offline rfmerrillTopic starter

  • Regular Contributor
  • *
  • Posts: 154
Re: Compact 74AC14 pulse generator PCB
« Reply #13 on: February 23, 2021, 01:27:30 am »
And this is my "compact" build. As you see, I went a little nuts with minimization :-DD
Gosh, censor that porn, this is a family forum!
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7005
  • Country: pl
Re: Compact 74AC14 pulse generator PCB
« Reply #14 on: February 23, 2021, 07:58:28 am »
I did once think of wiring 2 carefully chosen spare gates of a 74AC14 like that to get more power conections into the chip to hopefully reduce the ringing, leaving 4 gates to play with. I thought it was an original idea but I've since seen one other mention of it for the same IC, maybe it works. :-\
That has to be one of those original ideas everybody comes up with at one point :D

I tried it too, using two pins in the middle on SO14. IIRC there was an improvement, but not as good as SOT23.

BTW, I just came up with something completely nuts :scared:
What if termination is removed from the output and placed in series with each supply pin independently, between the chip and the capacitors? That will likely kill the ringing, but I suppose some sort of artifacts will appear when the chip draws strong pulses of current internally during switching.
« Last Edit: February 23, 2021, 08:07:10 am by magic »
 

Offline Gyro

  • Super Contributor
  • ***
  • Posts: 9804
  • Country: gb
Re: Compact 74AC14 pulse generator PCB
« Reply #15 on: February 23, 2021, 12:45:59 pm »
Ah, I must add mine here! Dead-bug style :)

There are times when a bit of 'dead buggery' beats a PCB implementation, hands down. You can manage things that you simply can't on a PCB.  :)
Best Regards, Chris
 

Offline rfmerrillTopic starter

  • Regular Contributor
  • *
  • Posts: 154
Re: Compact 74AC14 pulse generator PCB
« Reply #16 on: March 12, 2021, 07:50:59 pm »
I added a 47nF C0G capacitor on the top side of the board. Not sure how much it improved things. Still usable.
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7005
  • Country: pl
Re: Compact 74AC14 pulse generator PCB
« Reply #17 on: March 12, 2021, 08:52:02 pm »
Not sure how much it improved things.
Not much would be my guess, I tried to convince you a few times that inductance of the package is absolutely the dominant factor here unless you make PCB parasitics worse :P
 

Offline iMo

  • Super Contributor
  • ***
  • Posts: 4989
  • Country: cv
Re: Compact 74AC14 pulse generator PCB
« Reply #18 on: March 12, 2021, 09:59:36 pm »
 

Offline rfmerrillTopic starter

  • Regular Contributor
  • *
  • Posts: 154
Re: Compact 74AC14 pulse generator PCB
« Reply #19 on: March 13, 2021, 03:43:11 am »
Like this?  8)
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7005
  • Country: pl
Re: Compact 74AC14 pulse generator PCB
« Reply #20 on: March 13, 2021, 07:59:00 am »
With modern logic families people got good results using only two or three gates. (I have two and I think tggzzz tried three and reported 600ps rise time). I just used the minimum to ensure that absolute maximum ratings are not exceeded.

BTW, if you plan to use 3.3V chips it may be a good idea to put an LDO on the board to eliminate low frequency ringing due to cable inductance. Alternatively, 47µF. I forgot to mention that my BNC plug generator does have a 47µF MLCC on the bottom of the board.
« Last Edit: March 13, 2021, 08:04:59 am by magic »
 

Offline rfmerrillTopic starter

  • Regular Contributor
  • *
  • Posts: 154
Re: Compact 74AC14 pulse generator PCB
« Reply #21 on: March 13, 2021, 08:13:17 am »
Not much would be my guess, I tried to convince you a few times that inductance of the package is absolutely the dominant factor here unless you make PCB parasitics worse :P
You said "power supply ESL" and I didn't quite get that you meant the power leads in the package.
« Last Edit: March 13, 2021, 08:44:08 am by rfmerrill »
 

Offline rfmerrillTopic starter

  • Regular Contributor
  • *
  • Posts: 154
Re: Compact 74AC14 pulse generator PCB
« Reply #22 on: March 13, 2021, 08:17:58 am »
I just used the minimum to ensure that absolute maximum ratings are not exceeded.
I'm kinda burned out but what do you mean by this?

Quote
BTW, if you plan to use 3.3V chips it may be a good idea to put an LDO on the board to eliminate low frequency ringing due to cable inductance. Alternatively, 47µF. I forgot to mention that my BNC plug generator does have a 47µF MLCC on the bottom of the board.
I've got 0805 cap footprints across each of the driver chips now, so I can absolutely cap the heck out of it XD. Probably going to put 0.1uF 0402 right on top of them as well. Local regulator might be a good thing to try tho.

The board I'm fabbing out has really short and matched traces, I'm planning on using 0201 resistors (Vishay has a whitepaper where they show better frequency response with smaller package size) as well.
« Last Edit: March 13, 2021, 08:22:16 am by rfmerrill »
 

Offline StillTrying

  • Super Contributor
  • ***
  • Posts: 2850
  • Country: se
  • Country: Broken Britain
Re: Compact 74AC14 pulse generator PCB
« Reply #23 on: March 13, 2021, 09:41:13 am »
With modern logic families people got good results using only two or three gates. (I have two and I think tggzzz tried three and reported 600ps rise time). I just used the minimum to ensure that absolute maximum ratings are not exceeded.

When I was using a 74AC14 to 1us pulse 5mm LEDs I had the 3 or 4 parallel gates of the 74AC14 up to 9V and 800mA. :o It was getting quite warm with the LED only on 0.1% of the time.
.  That took much longer than I thought it would.
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7005
  • Country: pl
Re: Compact 74AC14 pulse generator PCB
« Reply #24 on: March 13, 2021, 10:26:15 am »
You said "power supply ESL" and I didn't quite get that you meant the power leads in the package.
Yes, sorry, everything counts. As far as I understand, it's simply a resonance of the LC circuit formed by the internal capacitance of all the MOSFETs in the IC and any inductance present along the way between the power supply terminals on the IC (package pins + PCB + external capacitors). This resonance causes the power supply voltage seen inside the chip to vary and hence the output varies too. BTW, the newer logic families likely have less internal capacitance which could be another reason why the 74LVC1Gxx gates ring less.

I just used the minimum to ensure that absolute maximum ratings are not exceeded.
I'm kinda burned out but what do you mean by this?
Look up "absolute maximum ratings" in the datasheet ;)
There is also "recommended operating conditions"; I think I actually designed to stay within the recommended limits under normal operation and below absolute maximum under output short circuit to ground.

I'm planning on using 0201 resistors (Vishay has a whitepaper where they show better frequency response with smaller package size) as well.
Be careful with power dissipation. I used only two channels and two resistors and made them with doubled 0805 to be on the safe side.

By the way, I think you should add vias near GND pins of the driver chips (assuming the bottom is ground). Otherwise the return current has to take a round trip around the whole bunch.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf