MaxHeadRoom
- Joined Jul 18, 2013
- 30,680
Many motorized valves use a capacitor charge to open it at switch off, seems a little crude, but most seem to do it this way.
Max.
Max.
If the ASC712 is powered by 5V, its output will be centered around 2.5V. i.e. If the current drawn by the load I=Imax.cos(wt), the output of the sensor will be V=2.5 + 0.185Imax.cos(wt)The ACS712 based sensor circuit seem to be all DC output.
It detects AC & DC current.
Max.
A more suitable detector for this circuit would have been a current level (on/off) detector rather than a linear one.If the ASC712 is powered by 5V, its output will be centered around 2.5V. i.e. If the current drawn by the load I=Imax.cos(wt), the output of the sensor will be V=2.5 + 0.185Imax.cos(wt)
Is there anyway (through circuitry) to make a linear detector work as a current level detector? Where I am, it's not that evident to find some kinds of sensors.A more suitable detector for this circuit would have been a current level (on/off) detector rather than a linear one.
Max.
I was about to suggest the same thing. Adjusting the comparator's input using a pot as a voltage divider should be fairly simple.You could use a simple comparater such as LM311 etc to convert to hi-lo.
Yes, I know some basicsI was about to suggest the same thing. Adjusting the comparator's input using a pot as a voltage divider should be fairly simple.
DJ, have you built electronic circuits before?
Sure it could... it's just that I trust an SSR more for switching inductive loads than a mosfet, even if said mosfet is properly protected. Then again the mosfet option would be cheaper... I'm expecting the SSR to cost about $20.00 dlls. If it's more than that, then the mosfet could be a better option.I am wondering why the SSR isolation? If the LM311 was used to drive a logic Mosfet it could switch the valve direct, no?
Max.
Good point ... if it were me, I'd definitely go for the mosfet option. I was just trying to make things easier for him.The OP does not show his country of origin so parts may be hard to come by.
Don't forget the sensor will put out an AC signal centered around 2.5 volts so you will need to rectify and filter it. I think I saw a current of only 100 ma. If it is really that low I think I would amplify the sensor output a little then AC couple it into the comparator to remove any offset.Good point ... if it were me, I'd definitely go for the mosfet option. I was just trying to make things easier for him.
Well, now he knows there are at least two ways to go around this. Let's see what he decides and take it from there.
DJ, can you acquire a mosfet with a rating of at least 30V and 10 Amps where you are? 40V and 15 Amps would be best, IMHO.
I still have to read the sensor's datasheet more thoroughly.Don't forget the sensor will put out an AC signal centered around 2.5 volts so you will need to rectify and filter it. I think I saw a current of only 100 ma. If it is really that low I think I would amplify the sensor output a little then AC couple it into the comparator to remove any offset.
AC or DC current can be measured.The module can measure the positive and negative 20 amps, corresponding to the analog output 100mV / A;
Data sheet see output slope.I still have to read the sensor's datasheet more thoroughly.
Being AC current driving the motor, I'm guessing then that the sensor's output will be a sinusoid with its inflection centered at 2.5V, isn't that right?Data sheet see output slope.
Max.
I kind of like everything except needing 2 supplies. My bad.Being AC current driving the motor, I'm guessing then that the sensor's output will be a sinusoid with its inflection centered at 2.5V, isn't that right?
So what I would do is this:
- The OP stated that he was expecting an 18mV output from the sensor, with the motor running unloaded. So the sensor's output should be amplified by a factor of 55, in order to obtain a a sinusoid of 2V, peak to peak, more or less.
- Subtract the 2.5V offset so that the sinusoid's inflection lies at 0V. We're now left with a ±1V sinusoid.
- To accomplish that, a negative voltage source must be used. See this thread for that purpose.
- Run that signal through a full wave bridge rectifier.
- Make that rectified signal pass through an RC filter, so as to obtain a smooth output voltage.
- Connect that output voltage to one input of a comparator, and the other input to a voltage divider trimpot.
- The comparator's output will either control the SSR or the mosfet driver.
Is that more or less right, or am I too far off the mark? Or perhaps I've just complicated things, and there's a far simpler way to accomplish what he wants?