Author Topic: sensor and delay timer  (Read 5321 times)

0 Members and 1 Guest are viewing this topic.

pereczes

  • Guest
sensor and delay timer
« on: April 22, 2014, 01:41:33 pm »
POST REMOVED AT USERS REQUEST
« Last Edit: May 16, 2014, 01:05:30 pm by EEVblog »
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19566
  • Country: gb
  • 0999
Re: sensor and delay timer
« Reply #1 on: April 22, 2014, 11:08:47 pm »
Forget the 555 timer, you can use the LM393 as a monostable multivibrator too.
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9961
  • Country: nz
Re: sensor and delay timer
« Reply #2 on: April 22, 2014, 11:37:55 pm »
A mcu is never overkill, it just comes down to price.
Is a mcu cheaper or more expensive than using discrete components for the job?
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19566
  • Country: gb
  • 0999
Re: sensor and delay timer
« Reply #3 on: April 23, 2014, 06:03:25 pm »
Forget the 555 timer, you can use the LM393 as a monostable multivibrator too.

thanks! any link to any schematics, or shall I use again my brain ;)
It's on the datasheet.
http://www.ti.com.cn/cn/lit/ds/symlink/lm393-n.pdf
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19566
  • Country: gb
  • 0999
Re: sensor and delay timer
« Reply #4 on: April 26, 2014, 11:58:58 pm »
Yes, you're right, the circuit I was referring to is the one-shot monostable.

You need to analyse the circuit to work out the time delay.

Firstly, look at the stable state. The input is high and output low. The comparator +input is at half the supply voltage and -input at 0V.

When the input goes low,  C2 is connected to 0V and the -input is briefly taken one diode drop below 0V, thus making the output go high as the +input is above the -input. The output remains high until C1 charges to half the supply voltage via R1, at which point the voltage across R1 will fall below half the supply voltage. The output will then go low, causing C1 to discharge very quickly through D1.

The point in time, at which the voltage across C1 reaches half the supply voltage is a function of the RC time constant R1*C1, which can be calculated using the formulae linked below:
http://en.wikipedia.org/wiki/RC_circuit#Time-domain_considerations

The main issue with this circuit is if the trigger pulse goes high, during the timing cycle, the output will go low and the timer will be reset. This is because C2 will couple the high rising edge so the -input goes above the +input. Fortunately this can be solved by adding a few more components: D3 clips the input signal, ensuring it never rises above half the supply voltage,plus a diode drop, so as long as the input pulse isn't too short, it won't reset the timer, when it returns to positive.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19566
  • Country: gb
  • 0999
Re: sensor and delay timer
« Reply #5 on: April 27, 2014, 09:17:57 am »
This is because C2 will couple the high rising edge so the -input goes above the +input. Fortunately this can be solved by adding a few more components: D3 clips the input signal, ensuring it never rises above half the supply voltage,plus a diode drop, so as long as the input pulse isn't too short, it won't reset the timer, when it returns to positive.

Thanks for the details! Donno if I am too tired, but cannot see D3. Will have a look tomorrow, but if I am right please tell me.
Sorry, it was a typo,  I meant D2.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19566
  • Country: gb
  • 0999
Re: sensor and delay timer
« Reply #6 on: April 28, 2014, 10:26:14 pm »
That would work but a power MOSFET would be a better option.

Here's a simpler version of the monostable posted above.
« Last Edit: October 26, 2021, 09:37:56 am by Zero999 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf