You mean the circuit should look something like this?Note P-MOSFETs cannot work as diodes for that scenario without some addition control circuitry.
You mean the circuit should look something like this?Note P-MOSFETs cannot work as diodes for that scenario without some addition control circuitry.
That will protect against reverse polarity on the input, but it won't work when there is 15V on the input and a higher voltage on the output.You mean the circuit should look something like this?
Mind pointing me in the right direction?That will protect against reverse polarity on the input, but it won't work when there is 15V on the input and a higher voltage on the output.
I think to do what you want would require the addition of an op amp to detect the relative voltage differences between batteries, and I don't think you want to add the complexity to save a few hundred mV.Mind pointing me in the right direction?
I have, but as you might have already noticed, I'm not exactly an expert in this field. All of the regulators I found had an unacceptable quiescent power draw.Have you looked for higher voltage, micropower regulators that might fit your requirements, which would eliminate the need for any diodes?
What's the maximum you can tolerate, based upon expected battery life from the load?All of the regulators I found had an unacceptable quiescent power draw.
Batteries are 1.5V "C" size, about 6500 mAh according to my estimate. The MCU will draw about 15 µA (I know that from experience). And the solenoid will draw about 4.3 Amps for 70 ms twice a day. I haven't really done the numbers, but my guess is that the system will work for close to 5 years before changing the batteries becomes necessary.What's the maximum you can tolerate, based upon expected battery life from the load?
What is the battery Ah capacity?
I calculated 195k hours or about 22 years, which is likely longer than the battery shelf life, so I think you don't need to be that concerned about the regulator efficiency.I haven't really done the numbers
Maybe I've been too greedy, then ... battery shelf life claimed by the brand I'm using is 10 years. That's why I expect about half of that ... do you know of any high efficiency regulator out there capable of accepting an input of up to 15V?I calculated 195k hours or about 22 years, which is likely longer than the battery shelf life, so I think you don't need to be that concerned about the regulator efficiency.
No, since there is no path for the Bank A battery to the micro.Is this right?
I was thinking along the same lines. Thank you very much for your help.No, since there is no path for the Bank A battery to the micro.
To measure Bank's A voltage when it is not connected, some type of ground connection to Battery A's negative side is needed.
This could be provided by momentarily connecting Q1 to ground during the measurement (Enable 2 high).
Thanks, I saw the problem as soon as you mentioned it. Here's my most recent interaction:Using 2 MOSFETS in series, source-to-source should solve that.
I assume you don't need to make the measurements very often, so how about just momentarily turning on the bank you want to measure?What bothers me now is that Q7 and Q8 must be used to activate Bank A whenever one wants to make a measurement while Bank B is connected. But I can't see how to take advantage of Q1 and Q6 to do just that.
Why, sure. That is exactly what I'd like to do. But here's a recap of how the circuit is supposed to work:I assume you don't need to make the measurements very often, so how about just momentarily turning on the bank you want to measure?
It shouldn't take more than a second for the measurement.
That would also eliminate Q7 and Q8.
Looks like it will do what you want.What do you think?
A nit pickThanks, I saw the problem as soon as you mentioned it. Here's my most recent interaction:
View attachment 280907
What bothers me now is that Q7 and Q8 must be used to activate Bank A whenever one wants to make a measurement while Bank B is connected. But I can't see how to take advantage of Q1 and Q6 to do just that.
You're right. Thanks for pointing that out. Editing and correcting immediately.You show the battery symbols up side down,
the large horizontal line is the Positive.
Nothing stops the inrush current to the capacitor. But my "big fat cap" is only about 220 µF. That's much more than enough to keep the circuit stable during bank switching. I've already tested it and it works fine. Remember that the MCU only draws about 14 µAC1, a big cap,
when you connect the battery pack to the capacitor, what's limiting the instantaneous current
There's an inverse parallel diode connected to the solenoid. And it's not shown in the diagram.the solenoid, what stops the back EMF ?
The SSR is also properly connected. Not sure what you mean by asking what the SSR's voltage on the lower level will be.The ssr,
is the control input "logic" level, is it referenced to ground ?
when the solenoid "fires" what will the voltage on the lower level of the SSR be ?
Yes, I have a very clear map of what I want to do, but it's for a private project and unfortunately I can't disclose all of the details. What I can tell you is that space requirements make it necessary for the batteries to be arranged as they are. If I were use separate batteries for the solenoid and the MCU then the required amount wouldn't fit in the enclosure. Other than that, the system does not glitch when the solenoid is activated due to the extremely low power draw from the MCU, the fat cap, and a 2.2 µF and 100 nF decoupling caps placed very close to the MCU.Do you have an actual specification as to what you want to do ?
Have you considered separate power for the MCU and the solenoid ?
The requirements of the two parts are very different,
The MCU will need micro amps,
the solenoid, many amps,
The solenoid will drop out almost immediately the power is glitched,
its easy to keep he MCU working
All very different needs.
That is true. The battery switching schematic I wanted was accomplished quite a few posts ago. But I decided not to open a new thread for the voltage level measurement requirements because it's part of the same problem I'm trying to solve.This circuit is growing by the post,
it seems a long way from seamless battery switching,