Author Topic: solid state relay module  (Read 659 times)

0 Members and 1 Guest are viewing this topic.

Offline mblyman89

  • Contributor
  • Posts: 13
  • Country: us
solid state relay module
« on: May 05, 2021, 12:04:40 am »
Hello, I am trying to build a solid state relay module that uses the raspberry pi with shift registers to achieve a 25 channel relay module active high. I have been struggling to understand how these ICs work, and was hoping to get some clarification. I am using a Panasonic 4 pin SMD (part# AQY211EHAX), (LCSC parts library #C129282), SSR spst-NO, rated for 1A continuous current and up to 3A pulses. It is a photovoltaic (I think) power mosfet on the output. I feel confident about my understanding of the input side, I have an indicator LED with the appropriate sized resistor for both the LED and IR LED in the IC while using 3.3v. On the output side there are two pins, a source and a drain I would imagine. I have my load connected on the drain side. my load is a small piece of nichrome filament, used to light a fuse. the nichrome wire requires 1A between 12-18V. I've uploaded a picture of part of my design. on the left is the input, "OUT 201" comes from the shift register. on the left, 12v is connected to the source, and netport 201 goes to to positive lead of the nichrome and the negative of nichrome lead goes to ground to complete the circuit. Will this work in this configuration? 

[attachimg=1]
 

Offline bob91343

  • Super Contributor
  • ***
  • Posts: 2186
  • Country: us
Re: solid state relay module
« Reply #1 on: May 05, 2021, 12:26:36 am »
I don't see why not, if the isolator can handle the current.
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 1699
  • Country: us
Re: solid state relay module
« Reply #2 on: May 05, 2021, 01:08:36 am »
Here is a page which describes how the back-to-back configuration of the MOSFETs work to create a bi-directional switch:

https://www.homemade-circuits.com/bidirectional-switch/

The relay is bi-directional, so it so you don't have to worry about which end is connected to +12V.


And here is Panasonic's own "high-level" description of how their PhotoMOS devices work:

https://www3.panasonic.biz/ac/e/corp/nyumon/relay/photomos.jsp#content03_03
« Last Edit: May 05, 2021, 01:10:07 am by ledtester »
 

Offline mblyman89

  • Contributor
  • Posts: 13
  • Country: us
Re: solid state relay module
« Reply #3 on: May 05, 2021, 01:31:38 am »
Thank you for the reply! After reading the articles, do I need a Schottky diode if I am only switching in one direction rather than bidirectionally? or am I way off here?
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 1699
  • Country: us
Re: solid state relay module
« Reply #4 on: May 05, 2021, 02:23:21 am »
What Schottky diode are you talking about???

The circuit in your first post should work just fine assuming you get enough current through the LED.

 

Offline mblyman89

  • Contributor
  • Posts: 13
  • Country: us
Re: solid state relay module
« Reply #5 on: May 05, 2021, 04:02:33 am »
Cool beans, my bad. Thank you for the help, I’m still learning how it all works.
 

Offline floobydust

  • Super Contributor
  • ***
  • Posts: 4746
  • Country: ca
Re: solid state relay module
« Reply #6 on: May 05, 2021, 04:27:42 am »
It's not going to work - you only have at most 3.3V from a RPi DO and the PhotoMOS LED uses ~1.25V and then a red LED is ~1.8V so the 1k resistor will give almost nothing for current.
I don't think that SSR is tough enough, 1A is its max rating and cold nichrome has much lower resistance longer than 100msec.

https://www.eevblog.com/forum/projects/my-arduino-powered-firework-sequencer-this-is-gonna-be-a-blast/
« Last Edit: May 05, 2021, 06:31:08 am by floobydust »
 

Offline mblyman89

  • Contributor
  • Posts: 13
  • Country: us
Re: solid state relay module
« Reply #7 on: May 05, 2021, 06:13:24 am »
thanks for the reply! the link you posted is broken. I used a resistor calculator to figure out the resistor value, so it was my best guess. If I remove the 1k resistor, will that provide enough current for both leds? the data sheet says it's rated for 3A pulses, how long is a pulse? the minimum on time for the relays will be .25 seconds, at most they will be on for 2 seconds. I am using talon ignitors, and while using a 12v battery and a regular em relay, .25 seconds was the minimum amount of on time to light the fuse I found. the data sheet also states the min voltage on input is 1.7V I think, or something like that, is that something the RPi can handle, or is it just because I have a 1k resistor in series with the two leds and all I need to do is remove the 1k resistor? I don't really know what I am doing, just stumbling around in the dark!   
« Last Edit: May 05, 2021, 06:38:22 am by mblyman89 »
 

Offline mblyman89

  • Contributor
  • Posts: 13
  • Country: us
Re: solid state relay module
« Reply #8 on: May 05, 2021, 06:44:01 pm »
I went back to the data sheet of the led I am using as an indicator light. it has a minimum forward voltage of 1.7v, normal 2.0 and max of 2.5v. the data sheet of the relay says the min forward voltage of the led is 1.25, max 1.5v. if I take out the 1K resistor, will that be enough to power both leds with a 3.3v supply? or would I be better off leaving the 1k resistor and removing the indicator led?
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 1699
  • Country: us
Re: solid state relay module
« Reply #9 on: May 05, 2021, 07:48:06 pm »
Just put the LED in parallel with the SSR each having their own current limiting resistor.

The meaning of the LED changes slightly -- it now indicates if the MCU is trying to activate the relay rather than if current is going through the relay's LED -- but it still will be a useful indicator.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf