Hello, I have a circuit that will need to return connected hardware to a default state if power is lost. The hardware can handle continuous voltage, so I’m thinking a simple solution would be to use a battery to provide that fallback power source. To avoid draining the battery, I’d like to connect it through a relay on the normally open contact and energize the relay directly from the main power supply on my board.

Do I need to look for anything in particular to make sure the coil on the relay I choose can sustain constant voltage for potentially months at a time without damage? Or, is there another similarly low cost and simple solution you’d recommend?

The circuit runs on 12VDC from a [Mean Well IRM-10-12 (specification), and the relays I have on hand are OMRON G5LE-14-CF 12VDC (specification). I don’t see anything on the relay documentation that specifies a maximum duty cycle.

  • Saigonauticon@voltage.vn
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    I sort of hate relays. For 12VDC and a light load, I might consider a depletion-mode MOSFET and a diode to protect the battery. Much faster switching time than a relay, and quite probably lower internal resistance! Also no moving parts and much lower current consumption. There are some cases where it’s not appropriate though.

    Anyway, I looked through the datasheet and you’re right – no mention of wear and tear from just leaving the solenoid energized, only from switching. Failure time also seems to increase when switching high currents. Since you don’t seem to be doing either of those things, I think you should be in the clear.

      • Saigonauticon@voltage.vn
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I was thinking about that, but if they are using 12VDC + light load a MOSFET would be more cost and space efficient, and probably more electrically efficient too. No real voltage drop, and just a few milliohms added to the load.

        I mainly use SSRs to switch mains power, although it’s true they can be used for other things too.

  • collegefurtrader@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    Look for the duty cycle on the datasheet. The only relays I can think of with less than 100% duty cycle are automotive starter solenoids.

    • trafguy@midwest.socialOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Thanks, that’s good to know! The datasheet doesn’t seem to include the word “duty” anywhere, so I think that must have been omitted. Ostensibly that means the maximum duty cycle is unlimited, but I don’t have enough experience here to say that with any confidence.

  • M-Reimer@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    The relay will cause a short voltage drop when switching. This could be a problem if your circuit can’t handle a short voltage drop.

    Probably the Mean Well has adjustable output voltage. If you can trim the output voltage of the power supply to a higher voltage than your battery, then you can probably just run each power source through a diode and merge them after the diodes.

    • trafguy@midwest.socialOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Thanks, I don’t think there are any external settings for the power supply, but it does provide a few more volts than I strictly need. Toggling a single relay hasn’t caused me any issues in the limited testing I’ve done. A momentary drop to as low as 5V should be perfectly fine, although, looking over the specs for my components, I see I’m getting dangerously close to the upper limits for the power supply’s current rating. I’ll have to look into connecting 2 supplies in parallel (or getting a larger supply) I suppose.

      I haven’t worked with battery backups yet, so I was thinking it would be best to keep that element simple to minimize potential issues like a trickle charge draining the battery unexpectedly, or damaging the battery from overcharge. The minimum requirement is just to ensure the hardware (a motorized ball valve) returns to a closed position if power is lost. The battery needs to provide at least 9V to power the motor, so I could use a 9V (or a few smaller cells in series) to keep it below the 12V supply.

      With your solution using a diode on each voltage source, would there be any risk of a trickle charge draining the battery unexpectedly if the battery? If so, in that configuration I’d need to do more research and figure out how to use a BMS, rather than an externally recharged or disposable cell.

      • glibg10b@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        With your solution using a diode on each voltage source, would there be any risk of a trickle charge draining the battery unexpectedly if the battery?

        Current flows from high to low voltage, but the battery is at a lower voltage than the supply. Check the diode’s datasheet for the reverse current at the voltage that would be across it. It should be negligible

        Here’s an example from my notes:

  • ElectricTrombone@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Find a latching relay. I built something similar where I had a battery powered circuit that needed to be on for a long time. This is different than making a latching relay from a normal relay. A latching type relay uses a pulse. You send a short pulse down the line and it flops over. The datasheet will tell you the pulse width.