Maker Pro
Maker Pro

Generating two complementary signals on 12 V supply on/off

dashy1981

Jun 19, 2013
83
Joined
Jun 19, 2013
Messages
83
What do you see on your scope when connected to the common node of R4&R5 when you cycle 12V on/off?

It should be a ~0.7V positive pulse when 12V cycles off, and ~-0.7V negative pulse when 12V cycles on.
 

Attachments

  • IMG_20220718_214732648_HDR.jpg
    IMG_20220718_214732648_HDR.jpg
    315.7 KB · Views: 2
  • IMG_20220718_214951647_HDR.jpg
    IMG_20220718_214951647_HDR.jpg
    289.9 KB · Views: 2

CircutScoper

Mar 29, 2022
300
Joined
Mar 29, 2022
Messages
300

Yup. Q2 is not in the circuit. Either its emitter or its base are not connected, or neither is, or it's destroyed.
 

dashy1981

Jun 19, 2013
83
Joined
Jun 19, 2013
Messages
83
What do you see on your scope when connected to the common node of R4&R5 when you cycle 12V on/off?

It should be a ~0.7V positive pulse when 12V cycles off, and ~-0.7V negative pulse when 12V cycles on.
-ve pulse seems 1.94v while +be seems what you mentioned... 0.74v. I attached the pics.
 

dashy1981

Jun 19, 2013
83
Joined
Jun 19, 2013
Messages
83
Rechecking....
You are my God !!!! A jumper wire was faulty so base was never connected to gnd and was floating..... I see below now :)
 

Attachments

  • IMG_20220718_221258555_HDR.jpg
    IMG_20220718_221258555_HDR.jpg
    334.4 KB · Views: 3
  • IMG_20220718_221412936_HDR.jpg
    IMG_20220718_221412936_HDR.jpg
    313.6 KB · Views: 3

CircutScoper

Mar 29, 2022
300
Joined
Mar 29, 2022
Messages
300
You are my God !!!! A jumper wire was faulty so base was never connected to gnd and was floating..... I see below now :)

Congratulations!

I'm tempted to wonder if that was the problem all along and the 555 wasn't really necessary, but it's probably best not to even go there.
 

dashy1981

Jun 19, 2013
83
Joined
Jun 19, 2013
Messages
83
Yeah... I'm sure that was the case... double ended male-male jumper wire ... could never have doubted it :)

BTW... 12V ON pulse, I need to delay by 2 sec... Is there any easy way to do it ... by RC ?
 

CircutScoper

Mar 29, 2022
300
Joined
Mar 29, 2022
Messages
300
Yeah... I'm sure that was the case... double ended male-male jumper wire ... could never have doubted it :)

BTW... 12V ON pulse, I need to delay by 2 sec... Is there any easy way to do it ... by RC ?

You could increase C3 to 330uF or so, but this would also delay 12V OFF. If that's acceptable, go for it.
 

dashy1981

Jun 19, 2013
83
Joined
Jun 19, 2013
Messages
83
You could increase C3 to 330uF or so, but this would also delay 12V OFF. If that's acceptable, go for it.
Ahhhh thats not acceptable... The 12V off I shall know instantaneously so as to stop microcontroller state machine.
While 12V On I shall delay so that by that time motors and other electronics are up and powered, then only the microcontroller shall be informed of the 12V on.

So, to summarize, The falling edge of the 12VOn pulse shall be delayed by 2 sec, while the pulse width can remain same. This one and I'm done with my ckt.
 

CircutScoper

Mar 29, 2022
300
Joined
Mar 29, 2022
Messages
300
Ahhhh thats not acceptable... The 12V off I shall know instantaneously so as to stop microcontroller state machine.
While 12V On I shall delay so that by that time motors and other electronics are up and powered, then only the microcontroller shall be informed of the 12V on.

How about a software delay then? Meanwhile what does "instantaneous" mean in the context of the ~4 second discharge you measured on 12V?
 

dashy1981

Jun 19, 2013
83
Joined
Jun 19, 2013
Messages
83
How about a software delay then? Meanwhile what does "instantaneous" mean in the context of the ~4 second discharge you measured on 12V?
Software is bit of black box and shall not change... So that's ruled out...

I m planning to play with 555 thresholds for generating a faster off response later once I understand the working of ckt when it's complete.
 

CircutScoper

Mar 29, 2022
300
Joined
Mar 29, 2022
Messages
300
Software is bit of black box and shall not change... So that's ruled out...

I m planning to play with 555 thresholds for generating a faster off response later once I understand the working of ckt when it's complete.

Then I suggest increasing C3 as described, then adding a diode (e.g., 1N4004) in parallel with R6 with its cathode on the 12V end.

That RC will give you your ~2s delay on 12V ON, while the diode will bypass the RC on 12V OFF.
 

CircutScoper

Mar 29, 2022
300
Joined
Mar 29, 2022
Messages
300
Then I suggest increasing C3 as described, then adding a diode (e.g., 1N4004) in parallel with R6 with its cathode on the 12V end.

That RC will give you your ~2s delay on 12V ON, while the diode will bypass the RC on 12V OFF.

Oops! Bad idea. Won't work because the R6 diode won't conduct and trigger the 555 until 12V decays all the way down to 1V.

A better idea would be separate RC networks for the 555 trigger and threshold inputs.
 

CircutScoper

Mar 29, 2022
300
Joined
Mar 29, 2022
Messages
300
Oops! Bad idea. Won't work because the R6 diode won't conduct and trigger the 555 until 12V decays all the way down to 1V.

A better idea would be separate RC networks for the 555 trigger and threshold inputs.

Try this. Note that, in order to work, the circuit depends on the (undocumented) 555's behavior when both threshold and -trigger are simultaneously asserted, which will occur when 12V turns off. This is technically an undefined state, but it seems a "typical" LMC555 will have -trigger override threshold and drive OUT high, thus generating the correct "12V OFF" pulse "instantaneously."

Meanwhile "12V ON" will be delayed ~2s.

YMMV.

temp.GIF
 
Last edited:

dashy1981

Jun 19, 2013
83
Joined
Jun 19, 2013
Messages
83
Try this. Note that, in order to work, the circuit depends on the (undocumented) 555's behavior when both threshold and -trigger are simultaneously asserted, which will occur when 12V turns off. This is technically an undefined state, but it seems a "typical" LMC555 will have -trigger override threshold and drive OUT high, thus generating the correct "12V OFF" pulse "instantaneously."

Meanwhile "12V ON" will be delayed ~2s.

YMMV.

View attachment 55650
Will give it a try today !!!
 
Top