I understand mission creap quite well.
But for what it does , OPA2189IDR is still worth additional cost.
Nice choice! The instrumentation amp (AD623) I'm using has an output offset tempco of 2.5 (average) to 10 uV/C. As seen from my measured data, that amp can be used as a thermometer!
The Vref (MCP1501-40E/SN) has a 50 ppm/°C max tempco (10 ppm/°C typical) so for a 4096 mV reference that means a 20.5 mV change over the whole temperature range (-40 to +60 °C). That's not super great but it's the worst case (typical value would be only 4.1 mV) and easily compensable in software so that's okay.
What do you all think? should I hunt for a better Vref?
That's a great idea! The 100 nF filter should be connected between the cell and mux.On another note I had kind of a eureka moment: for the cells voltage measurement there's currently 16 op-amps and two 8:1 MUXes. What about having 4 op-amps (3 actually but they come by 4 so...) and 4 MUXes instead?
- it's simpler
- it's less expensive
- has a lower component count (especially on the precision resistors)
- has a lower power consumption (ok, we're talking mW here, but still nice to have)
- has a better accuracy
- only downside is that I need to redo the routing of that part of the PCB but it should fit no problem
I don't know how I didn't saw that before but if I double the MUXes to switch two connections to each cell I can put them before the op-amp and then use only one of them for each 8 cells group + another one to eliminate the Vcm of the top 8 cells op-amp output. I just need to confirm the MUX leakage currents, etc... are good enough for that but I don't see why it wouldn't work. Anything wrong with that idea?
So (of course...) the leakage current of the MUX is too high (10 nA @ -40 to +85 °C, and I want 1 nA or less) so I looked for a better one and found two. Out of the two, one is a 8:1 MUX, and the other one is a 2x 8:1 MUX. The later is an ideal solution because it's lower part count, lower real estate, has better matching between the channels and is less expensive than two separate parts.
It's the MUX36D08IDWR for those interested
Oh, also, its logic inputs are Vdd tolerant so I can avoid one of 5 V regulators so that's very nice ?
@Cal Regarding your edit in your last post: the 100 nF caps are 100 V rated and the MUX and op-amps are 36 V (40 V abs. max) rated so no problem.
NB: it's actually 9s for LFP/LTO with 3.8 V/cell max (34.2 V total) and 8s for NMC with 4.1 V/cell max (33.6 V total) for the supplies rails just because I can do that easily and it allows to not be right at the rail voltage on the MUX and op-amp inputs/outputs so less error. I attached the schematic if you want to look into more detail
Correct me if I'm wrong, but is the impedance of the resistor divider the reason for needing a mux with lower leakage current.? Could you reduce the impedance by a factor of 10 and keep existing mux?So (of course...) the leakage current of the MUX is too high (10 nA @ -40 to +85 °C, and I want 1 nA or less) so I looked for a better one and found two. Out of the two, one is a 8:1 MUX, and the other one is a 2x 8:1 MUX. The later is an ideal solution because it's lower part count, lower real estate, has better matching between the channels and is less expensive than two separate parts.
Isn't the power consumption of the resistor divider down in the mud? You have two 100k resistors across each cell.If I reduce the value then it increases the power consumption,
Yes, of course, the highest cell has a voltage of 30V; therefore a dissipation of 4.5 mW.Given the configuration the voltage can go as high as about 30 V into 200 k so 150 µA or 4.5 mW. But I just realised with the new topology only one cell per MUX will be connected at any given time and the others will be floating, and if I use a clever trick and re-arrange in what order things are connected to the main MUX I can effectively disable all cells when I'm not doing the measurement (e.g. 99 % of the time) so 10 k resistors are no problem.
You could use two multiplexers to connect the high-side and low-side of each cell to just one op amp. Speed would be reduced as there is voltage settling time.
If you ever do an 8s of 100 amps continuous [not peak] safe then I might be interested.It's hard to say right now but my estimation for a turn key BMS with the five boards would be around 500-600 USD with outsourcing manufacture. If I can have my own PnP and reflow oven then I should be able to drop the cost by 50-100 USD and stay under 500 USD.