Can you help me calculate this for 24V instead of 12V?

Started by KarenColumbo, December 11, 2020, 08:50:54 AM

Previous topic - Next topic

KarenColumbo




Still searching my way through the jungle of my tube amp project. When I ordered my power supply transformator I settled for an additional 24 V secondary. Can't remember why. But there it is. And I have a handful of 24 V relays - I seem to have ordered them some day. Why 24 V, and not the more common 12 V? I don't know. There must have been something about the higher voltage that appealed to me at that time.

Well, here I am. And the overwhelmingly dominant part of relay driver circuits take a V+ of 12V as given.

Could you help me calculate R.G.'s circuit for 24 Volts? What I gleaned so far is that I should use BC550 instead of the 3904 (or similar) because it's rated for >50V max. And I should use 4004 diodes instead of 4148s.


  • SUPPORTER
I see something of myself in everyone / Just at this moment of the world / As snow gathers like bolts of lace / Waltzing on a ballroom girl" - Joni Mitchell - "Hejira"

ElectricDruid

Aside from the diode and Q1, the only thing you'd *have* to change would be the LED resistor.

What voltage are you using to switch this on? If that's a bit voltage, you might need to bump up the 4K7s a bit to keep the base current reasonable, and then adjust C1 by the same proportion to keep the RC time constant the same. But if you're switching from +5V, no need.

HTH,
Tom

KarenColumbo

#2
Ah - I did not explain myself clear, I'm afraid. The relay's coil voltage is 24 VDC, that's also the voltage I'm planning on using as switching signal via a simple on/off switch - I hope the "Off" signal doesn't have to be negative voltage. That'd be a bummer.
Also I hope this circuit isn't a pulse kind of thing - that'd be a bigger bummer indeed. Do you think I could "pulse" it with 24V? Or will I kill it?
Wish I'd have bought 5V ones AND a 5 V secondary to fool around with a Attiny or such, but I always can do this in another project.
I hate relay circuits - there's so many and my head is spinning already.

Maybe I should take this one? (also in 12 V :( )


  • SUPPORTER
I see something of myself in everyone / Just at this moment of the world / As snow gathers like bolts of lace / Waltzing on a ballroom girl" - Joni Mitchell - "Hejira"

KarenColumbo

I think I'm suffering from early onset dementia. There's some aspects of electronics I just can't seem to get my head around and remember them ...
  • SUPPORTER
I see something of myself in everyone / Just at this moment of the world / As snow gathers like bolts of lace / Waltzing on a ballroom girl" - Joni Mitchell - "Hejira"

antonis

#4


39K resistor stands for +5V on D1 cathode / R1 left leg junction (about 450μA Base current..)
(you may need to tweak its value for Q1 fully-on for coil greater current..)
"I'm getting older while being taught all the time" Solon the Athenian..
"I don't mind  being taught all the time but I do mind a lot getting old" Antonis the Thessalonian..

KarenColumbo

Wow, thanks!

I just tried the second one (from Rod Elliott's general article about relays) and took a 4004, a 32V Zener and 10k for the resistors. Since my "laboratory power supply" only shoots out 18,5V it worked so far. Now to Antonis' schematic. So cool!
  • SUPPORTER
I see something of myself in everyone / Just at this moment of the world / As snow gathers like bolts of lace / Waltzing on a ballroom girl" - Joni Mitchell - "Hejira"

antonis

Just also read edited clarification above.. :icon_wink:

39k is strongly depended both on Q1 current gain and on relay's coil resistance..
"I'm getting older while being taught all the time" Solon the Athenian..
"I don't mind  being taught all the time but I do mind a lot getting old" Antonis the Thessalonian..

KarenColumbo

#7
Put this on the board and it works (with 18.5 V, mind). Will connect my USB Osci tomorrow and check out if I'm actively frying something. Already ordered 7824s ... and I have a 24 VAC wallbug somewhere and a load of 4007s to rectify this. WIll suffice for testing pruposes.
Thanks guys!
I love the click a relay makes. It's very pleasant. Some childhood memory? Dunno ... maybe there's a story behind this ...
http://www.mrscolumbo.com/uploads/Relais.png

  • SUPPORTER
I see something of myself in everyone / Just at this moment of the world / As snow gathers like bolts of lace / Waltzing on a ballroom girl" - Joni Mitchell - "Hejira"

Rob Strand

QuoteWhy 24 V, and not the more common 12 V? I don't know.

FWIW,
48V    telecommunications
24V    industrial
12V    automotive         (not really 12V)


24V is used to avoid voltage drops over long wire runs.

Send:     . .- .-. - .... / - --- / --. --- .-. -
According to the water analogy of electricity, transistor leakage is caused by holes.

Unlikekurt

#9
Just curious why the 2N3904 and 1N4148 would need to be replaced here?
2n3904 has ratings vcb 60v and vce 40v and I’ll assume the relay isn’t pulling 200mA current?
And 1N4148 is rated for 100V vrrm.  (I’d use a bidirectional TVS, but that’s another story)
What am I missing?

antonis

"I'm getting older while being taught all the time" Solon the Athenian..
"I don't mind  being taught all the time but I do mind a lot getting old" Antonis the Thessalonian..

Rob Strand

QuoteAnd 1N4148 is rated for 100V vrrm.  (I'd use a bidirectional TVS, but that's another story)
What am I missing?
The 1N4148 to 1N4004/1N4007 change comes from Ron Elliot's site.
IMHO it's fine to use 1N4148's *provided* the relay coil current isn't too high.
Ideally the diode needs to handle the relay current.  The fact the diode current is
a short pulse reduces stress and adds reliability anyway.
Send:     . .- .-. - .... / - --- / --. --- .-. -
According to the water analogy of electricity, transistor leakage is caused by holes.

KarenColumbo

Quote from: Rob Strand on December 13, 2020, 04:08:46 AM
QuoteAnd 1N4148 is rated for 100V vrrm.  (I'd use a bidirectional TVS, but that's another story)
What am I missing?
The 1N4148 to 1N4004/1N4007 change comes from Ron Elliot's site.
IMHO it's fine to use 1N4148's *provided* the relay coil current isn't too high.
Ideally the diode needs to handle the relay current.  The fact the diode current is
a short pulse reduces stress and adds reliability anyway.
I confess it was a 50:50 chance which diode was taken - I have both in abundance, and I think the distance to the drawer with the 400x was shorter that that to the 4148s :)
  • SUPPORTER
I see something of myself in everyone / Just at this moment of the world / As snow gathers like bolts of lace / Waltzing on a ballroom girl" - Joni Mitchell - "Hejira"

Rob Strand

QuoteI confess it was a 50:50 chance which diode was taken - I have both in abundance, and I think the distance to the drawer with the 400x was shorter that that to the 4148s
Far more logical than rolling a dice or flipping a coin  ;D
Send:     . .- .-. - .... / - --- / --. --- .-. -
According to the water analogy of electricity, transistor leakage is caused by holes.

KarenColumbo

Thank you - as always - for the valuable insights. I put the 24V matter aside for the moment, since I found a very nice 240 VAC/12 VDC module in a drawer (seems to be useful even in medicinical applications), AND I found a handful of 12V non-latching relays which give me the chance to apply a lot of schems as are (12 VDC) instead of having to calculate for the double voltage.
  • SUPPORTER
I see something of myself in everyone / Just at this moment of the world / As snow gathers like bolts of lace / Waltzing on a ballroom girl" - Joni Mitchell - "Hejira"

KarenColumbo

But I would love to beable to calculate the correct voltage to turn on my BC550 in this configuration. Just to learn something ...
  • SUPPORTER
I see something of myself in everyone / Just at this moment of the world / As snow gathers like bolts of lace / Waltzing on a ballroom girl" - Joni Mitchell - "Hejira"

antonis

#16
Quote from: KarenColumbo on December 13, 2020, 07:51:58 AM
But I would love to beable to calculate the correct voltage to turn on my BC550 in this configuration. Just to learn something ...

Nothing special, indeed..
(just consider coil resistance as Collector load..)

You just have to take into account Collector current (coil voltage/resistance) and BC550 hFE..
(say IC = 30mA and min hFE is 100..)
For BC550 to be fully-on (saturated), you need a Base current greater than IC/hFE (IB>300mΑ)..
Ignoring VBE, you have 24 - IB X (R1 +R3) = 0 => IB = 24 / 49k = 490μA..
(plenty current for saturating BC550 up to 49mA Collector current)

A more detailed scheme:

"I'm getting older while being taught all the time" Solon the Athenian..
"I don't mind  being taught all the time but I do mind a lot getting old" Antonis the Thessalonian..

KarenColumbo

#17
Wow, thank you, Antonis, that really gets me started!!

Do you have some patience left for me? N0000b time!!  :icon_redface: :icon_redface: :icon_redface: :icon_redface: :icon_redface:

If so: Why won't this work? I mean, obviously I can toggle those LEDs, but the relay won't act. I think I'm shorting something out with the PNP snippet in there.

What I intended: If the switch is closed, LED 1 lights up. If the switch is open, LED 2 should light up. [[▲The 3906 is really a BC559, forgot to change that in Eagle, sorry]]


  • SUPPORTER
I see something of myself in everyone / Just at this moment of the world / As snow gathers like bolts of lace / Waltzing on a ballroom girl" - Joni Mitchell - "Hejira"

antonis

#18
Can't get what's happening..

Disconnect R4 left leg from switch lug3 to see if Q1 Base current is enough for saturating Q1..

P.S.
What is 12V power supply carrent rating..??

edit:
Try the below configuration, to save some items.. :icon_wink:
"I'm getting older while being taught all the time" Solon the Athenian..
"I don't mind  being taught all the time but I do mind a lot getting old" Antonis the Thessalonian..

PRR

Quote from: KarenColumbo on December 13, 2020, 02:05:23 PM....If the switch is closed, LED 1 lights up. If the switch is open, LED 2 should light up. ......

You do not need the PNP. You have not said why you would need a Zener. _I_ prefer to sock the transistor's Base. And pull-down instead of a mere Open. Try this:



  • SUPPORTER