Shop OBEX P1 Docs P2 Docs Learn Events
Schmitt Trigger — Parallax Forums

Schmitt Trigger

CenlasoftCenlasoft Posts: 265
edited 2011-09-15 14:56 in Propeller 1
Hello,
I need to buy a schmitt trigger for a prop project, to convert a sine wave to a square wave. I tried various op amps (lm358, lf411, 741) with no success. The frequency I need is about 430 khz. Can someone suggest any ICs?
Thanks,
Curtis

Comments

  • kwinnkwinn Posts: 8,697
    edited 2011-09-14 20:39
    Try a 74HC14. That's a hex inverting schmitt trigger. Propogation delay for HC version is 13nS so should be plenty fast enough.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-09-14 20:59
    Curtis,

    As I stated in your other thread, a Schmitt trigger will introduce a phase shift. You will not get an accurate phase measurement from a Schmitt-triggered waveform.

    -Phil
  • frank freedmanfrank freedman Posts: 1,974
    edited 2011-09-14 22:48
    Curtis and Phil,

    I have been following this (i think it relates to the ultrasound thing Curtis is working on?) for a bit, and if the phase shift is known or measurable, it can probably be monitored and applied as a constant offset possibly in real time. It may be that the unit may need to determine that value for cal purposes at run time anyway. What I am most curious is just what is the range of measurement that Curtis is trying to measure.

    Random thoughts of an enquiring mind,
    Frank
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-09-15 08:30
    Unfortunately, the phase shift won't be constant, but a function of amplitude.

    -Phil
  • CenlasoftCenlasoft Posts: 265
    edited 2011-09-15 12:13
    Thanks everyone,
    My research showed that the schmitt trigger may do the job, but I am not as well versed as you all in this field. Thanks for the honest dialog. My purpose is to make an instrument with one single ultrasonic transducer and bring it to the surface of cultural materials (artifacts) in order to view and analyze defects. I would like to start with a 40 khz sensor and move forward to higher frequencies. Does there exist any other method for converting sinewaves to square waves without introducing an additional phase shift other that what is changing because of the defects in the material tested? In my last project, I used eddy currents to analyze defects in metals and also recover polished off engravings. I did this by measuring the voltage (amplitude) changes as the coil (probe) passed over a material. I never could measure phase shift which would have given me more data.
    Thanks,
    Curtis
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-09-15 12:27
    The method (I/Q detector) I already suggested in your other thread is the way I would do it. That way you're not burdened with having to convert the sine waves to square waves in the first place, and the phase measurement will be more accurate, since it occurs over multiple cycles. BTW, the phase difference between your return signal and the I signal will be ATAN2(Q, I).

    -Phil
  • CenlasoftCenlasoft Posts: 265
    edited 2011-09-15 14:08
    Thanks Phil and everyone,
    I'll try the method phil suggested. I printed the thread (I/Q) detector and will read it more carefully and learn it.
    Thanks,
    Curtis
  • Mark_TMark_T Posts: 1,981
    edited 2011-09-15 14:56
    An opamp isn't great for zero-crossing detection, a comparator is the correct chip for that (far faster switching, tolerant of + and - inputs being very different). A schmidt trigger is for handling noisey waveforms. A comparator can have a controlled amount of positive feedback added to provide schmidt trigger function at the expense of threshhold accuracy.
Sign In or Register to comment.