Author Topic: Biasing a Schmitt trigger input pin?  (Read 2907 times)

0 Members and 1 Guest are viewing this topic.

Offline Chris WilsonTopic starter

  • Super Contributor
  • ***
  • Posts: 1082
  • Country: gb
  • Race car engineer, dog lover, hoarder.
Biasing a Schmitt trigger input pin?
« on: January 30, 2018, 12:11:45 pm »
74HC14 Schmitt trigger IC that I want to use to convert a slow rising edge, noisy 460kHz waveform of about 4V P to P that feeds a divider IC unreliably to a square wave. I attach the circuit i want to mod below. I want to take the output from Q2 via say a 0.1uF ceramic to the input of the 74HC14. The output of the Schmitt trigger then goes to the input of the divider IC U2. So I think I should bias it mid way between the ground and Vcc? How do you choose divider resistor values though? Two 1K or two 100k resistors would divide equally, but how do you decide the best values please??
Best regards,

                 Chris Wilson.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19918
  • Country: gb
  • 0999
Re: Biasing a Schmitt trigger input pin?
« Reply #1 on: January 30, 2018, 01:43:04 pm »
How about using the 74LVC1404 for the oscillator, rather than discrete transistors?
http://www.ti.com/lit/ds/symlink/sn74lvc1404.pdf
 
The following users thanked this post: Chris Wilson, Wimberleytech

Offline Chris WilsonTopic starter

  • Super Contributor
  • ***
  • Posts: 1082
  • Country: gb
  • Race car engineer, dog lover, hoarder.
Re: Biasing a Schmitt trigger input pin?
« Reply #2 on: January 30, 2018, 02:03:33 pm »
I would certainly use that, but for now I want to get the PCB I have going without any butchery beyond necessary, plus I can't find a seller in the UK save from Digi-Key with £12 shipping :( Good call, looks ideal for a second gen build, thanks :)
Best regards,

                 Chris Wilson.
 

Offline Wimberleytech

  • Super Contributor
  • ***
  • Posts: 1133
  • Country: us
Re: Biasing a Schmitt trigger input pin?
« Reply #3 on: January 30, 2018, 02:11:01 pm »
Hero999 gave you the right solution.  What I don't understand is how you can shoehorn a 74HC14 into your PCB layout but cannot replace the discrete transistors.
 
The following users thanked this post: Chris Wilson

Offline Chris WilsonTopic starter

  • Super Contributor
  • ***
  • Posts: 1082
  • Country: gb
  • Race car engineer, dog lover, hoarder.
Re: Biasing a Schmitt trigger input pin?
« Reply #4 on: January 30, 2018, 02:46:47 pm »
Daughter board, just wanted to get it going properly as near to the OE as possible first! Thanks.
Best regards,

                 Chris Wilson.
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: Biasing a Schmitt trigger input pin?
« Reply #5 on: January 30, 2018, 03:58:01 pm »
Why add biasing and a coupling capacitor? Feed the output from the oscillator directly into the input of the Schmitt trigger.
 
The following users thanked this post: Chris Wilson

Offline Chris WilsonTopic starter

  • Super Contributor
  • ***
  • Posts: 1082
  • Country: gb
  • Race car engineer, dog lover, hoarder.
Re: Biasing a Schmitt trigger input pin?
« Reply #6 on: January 30, 2018, 04:51:29 pm »
I don't know, the guy who suggested the Schmitt trigger IC said to set bias 50/50 and AC couple to the output at Q2..... The waveform shown won't reliably trigger the divider, although others who have built this have no issues. it *MAY* be the replacement for the divider I fitted as the original suddenly died may have been a faster one, the markings on the original divider defied Google.Thanks for the reply.
Best regards,

                 Chris Wilson.
 

Online David Hess

  • Super Contributor
  • ***
  • Posts: 17117
  • Country: us
  • DavidH
Re: Biasing a Schmitt trigger input pin?
« Reply #7 on: January 30, 2018, 06:59:39 pm »
It is usually not very critical but the best DC bias point with an AC coupled input will depend on the duty cycle.  If the duty cycle is 50% or close, then two equal value resistors will work fine.  A pair of 100k resistors is about as high as I would use due to leakage considerations.

 
The following users thanked this post: Chris Wilson

Offline Damianos

  • Frequent Contributor
  • **
  • Posts: 268
  • Country: gr
Re: Biasing a Schmitt trigger input pin?
« Reply #8 on: January 30, 2018, 08:07:29 pm »
Try a higher value for R17 (for example 1kOhm) and test again the oscillator signal and circuit behavior.
This may solve the problem, without any other changes.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19918
  • Country: gb
  • 0999
Re: Biasing a Schmitt trigger input pin?
« Reply #9 on: January 30, 2018, 08:17:06 pm »
That waveform looks like it will trigger the 74HC14 directly. If it doesn't, try the 74HCT14, which certainly will be triggered at that voltage range.
 

Offline Chris WilsonTopic starter

  • Super Contributor
  • ***
  • Posts: 1082
  • Country: gb
  • Race car engineer, dog lover, hoarder.
Re: Biasing a Schmitt trigger input pin?
« Reply #10 on: February 06, 2018, 12:47:21 pm »
How about using the 74LVC1404 for the oscillator, rather than discrete transistors?
http://www.ti.com/lit/ds/symlink/sn74lvc1404.pdf

I am going to try this but there are two different versions of these available to me from Mouser, would you mind taking a look and telling me which I need please? I am hoping it will be the one that comes in a SSOP package as the other one is VSSOP and *REALLY* tiny for hand soldering! The spec sheets seems to just suggest the two part numbers are just different package sizes, but the Mouser stuff suggests they are electrically different...


One is here: https://www.mouser.co.uk/ProductDetail/595-SN74LVC1404DCUR

and the other here: https://www.mouser.co.uk/ProductDetail/595-SN74LVC1404DCTR


Thanks very much for your help over the years much appreciated :)
Best regards,

                 Chris Wilson.
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: Biasing a Schmitt trigger input pin?
« Reply #11 on: February 06, 2018, 02:08:25 pm »
Biasing the Schmitt, or standard CMOS gate, will subject the gate to noise, and
pickup to noise unless you scale the divider to lower Z to avoid pickup. That
requirement loads oscillator unnecessarily, and burns power.

The tolerance of thresholds on CMOS Schmitt awful as well, so no guarantee
what duty cycle you will wind up with.

Best to create a schmitt of your own with reference and fast amp and precision
R's.


Regards, Dana.

Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19918
  • Country: gb
  • 0999
Re: Biasing a Schmitt trigger input pin?
« Reply #12 on: February 07, 2018, 09:21:52 am »
How about using the 74LVC1404 for the oscillator, rather than discrete transistors?
http://www.ti.com/lit/ds/symlink/sn74lvc1404.pdf

I am going to try this but there are two different versions of these available to me from Mouser, would you mind taking a look and telling me which I need please? I am hoping it will be the one that comes in a SSOP package as the other one is VSSOP and *REALLY* tiny for hand soldering! The spec sheets seems to just suggest the two part numbers are just different package sizes, but the Mouser stuff suggests they are electrically different...


One is here: https://www.mouser.co.uk/ProductDetail/595-SN74LVC1404DCUR

and the other here: https://www.mouser.co.uk/ProductDetail/595-SN74LVC1404DCTR


Thanks very much for your help over the years much appreciated :)
The data sheet is correct. The only difference between the two is the package. They are electrically identical.
 

Offline Chris WilsonTopic starter

  • Super Contributor
  • ***
  • Posts: 1082
  • Country: gb
  • Race car engineer, dog lover, hoarder.
Re: Biasing a Schmitt trigger input pin?
« Reply #13 on: February 07, 2018, 01:56:48 pm »
Thanks for the reply, I have got a couple of VSSOP oscillator drivers, and a couple of SSOP ones, luckily, because the SSOP adapter boards that came have the lands for the IC pins too far apart. Despite thinking it impossible for an aging human who likes a drink to solder the VSSOP one to the VSSOP adapter I managed it. Probably luck or a fluke... Geee, these things are SMALL

I have it oscillating and feeding its own Schmitt output section and see a nice square wave. I want to drive the 74AC74 flip flop with it, all on the same 5V supply. I measure (on my scope) an output of 2.48V RMS and about 6.3V peak to peak. Is that going to be OK for the 74AC74 please?

Thanks!
« Last Edit: February 07, 2018, 02:19:25 pm by Chris Wilson »
Best regards,

                 Chris Wilson.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19918
  • Country: gb
  • 0999
Re: Biasing a Schmitt trigger input pin?
« Reply #14 on: February 07, 2018, 06:33:27 pm »
Thanks for the reply, I have got a couple of VSSOP oscillator drivers, and a couple of SSOP ones, luckily, because the SSOP adapter boards that came have the lands for the IC pins too far apart. Despite thinking it impossible for an aging human who likes a drink to solder the VSSOP one to the VSSOP adapter I managed it. Probably luck or a fluke... Geee, these things are SMALL

I have it oscillating and feeding its own Schmitt output section and see a nice square wave. I want to drive the 74AC74 flip flop with it, all on the same 5V supply. I measure (on my scope) an output of 2.48V RMS and about 6.3V peak to peak. Is that going to be OK for the 74AC74 please?

Thanks!
That should be fine. The peak voltage is higher due to ringing, possibly due to the inductance of the probe's 0V lead. It shouldn't be a problem. Worst case is the ESD protection diodes will kick-in and absorb the spike.

 

Offline Chris WilsonTopic starter

  • Super Contributor
  • ***
  • Posts: 1082
  • Country: gb
  • Race car engineer, dog lover, hoarder.
Re: Biasing a Schmitt trigger input pin?
« Reply #15 on: February 08, 2018, 11:25:46 am »

That should be fine. The peak voltage is higher due to ringing, possibly due to the inductance of the probe's 0V lead. It shouldn't be a problem. Worst case is the ESD protection diodes will kick-in and absorb the spike.

Thanks Hero999, sounds like your idea is going to do the job with any luck, thanks to you and all who have assisted here, appreciated! :)
Best regards,

                 Chris Wilson.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf