Author Topic: Pulse Generator  (Read 2020 times)

0 Members and 1 Guest are viewing this topic.

Offline guscrownTopic starter

  • Regular Contributor
  • *
  • Posts: 55
Pulse Generator
« on: July 22, 2020, 08:26:19 pm »
Alright, I haven't done something like this since college, and I kind'a have the idea of what I need to do, but I can't seem to figure out.

I'm trying to generate a pulse from an input signal. The signal is normally high, and will go low to activate a device. The generated pulse should be HIGH for as long as the input signal is low, and after the input signal goes back to high, the pulse will remain ON for X seconds.



I started refreshing my memory about monostable multivibrators so I fired up Proteus to try and simulate something but it's just not working like the datasheet says it works, and I don't know if this is a simulator problem, or a circuit problem. Doesn't matter what values I set for R and C, the output pulse is always the length of the time constant.


 

Offline OM222O

  • Frequent Contributor
  • **
  • Posts: 768
  • Country: gb
Re: Pulse Generator
« Reply #1 on: July 22, 2020, 08:34:18 pm »
you first need an edge detector to find the rising edge and send a very quick pulse to reset a monostable timer. Can be easily done via a 556 timer (2 555 timers in 1 package).

Then you can OR the inverse of the signal with the output of the timer (timer should be active low as well).
« Last Edit: July 22, 2020, 08:36:03 pm by OM222O »
 

Offline guscrownTopic starter

  • Regular Contributor
  • *
  • Posts: 55
Re: Pulse Generator
« Reply #2 on: July 22, 2020, 09:12:36 pm »
Thanks for the advice. I re-did the circuit, not using the 556 you suggested, but I arrived at something that appears to work as I intend.

 

Offline OM222O

  • Frequent Contributor
  • **
  • Posts: 768
  • Country: gb
Re: Pulse Generator
« Reply #3 on: July 22, 2020, 09:41:54 pm »
You can filter out the small "glitch" in the transition period using a very small value RC filter too.
 

Offline guscrownTopic starter

  • Regular Contributor
  • *
  • Posts: 55
Re: Pulse Generator
« Reply #4 on: July 22, 2020, 09:54:47 pm »
Thanks for the help.

Now I just need to figure out if Proteus' model for the 74HC123 is broken, and hence I can't really change the pulse width. The circuit looks correct, at least according to the datasheet, and other examples I've seen online.
 

Offline eblc1388

  • Frequent Contributor
  • **
  • Posts: 400
  • Country: gb
Re: Pulse Generator
« Reply #5 on: July 23, 2020, 01:28:38 am »
Another way to achieve your goal, using CD40106B hex inverter. Change value of R1 for the length of "x seconds" after feed signal goes high.



 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf