The R43/C20 was my first gut reaction to look at until I started metering the circuit, But what you say certainly makes sense. We will have to give it ago


Jeremy Harris wrote:Matt,
Looking at the circuit I'm near-certain that the brutal cut off is the QF1 switch, not anything in the programming.
The fix may be something as simple as increasing the value of C20 by enough to slug down the big spikes, or adding a resistor across it to divide down the voltage.
Here's an experiment to test this idea. Fit a 1k resistor in parallel with C20. This should double the "emergency current limit" point. Should be easy enough to test.
Jeremy



Jeremy Harris wrote:Nice one!
I'm glad that this idea seems to have some merit. The next step is to have a think about ways to fully understand this and the impact it has on performance and FET longevity.
It should be possible to fit a small trim pot across C20, so that the peak current cut-off can be fine tuned. Whether this is worth it or not is debatable, though.
Jeremy

matt_in_mtl wrote:
As I think about this more, I think this makes alot of sence. I suspect that if we scope it we will find the RC time constant of C20 and R43 will be quite low. I suspect that the ADC current input is polled by firmware, mabye at around 100hz? This allows average current regulation, but is much too slow to limit pwm frequency current spikes. The output of QF1 possibly triggers an interrupt in the controller causing instant shutdown. A lower C20 value will give faster response to over current-scenarios better protecting the controller. 0.6V drop accross the 4.5mohm shunt would require 133A. if C20 is 1uF, that would give an RC time of 1mS, and 10uF would be 10mS, so I suspect that if the current exceeds 133A for even 1/100 of a second, it would be enough to trigger the over-current shutoff. This actually seems like a fairly smart feature of the controller. I am excited to test this out when I get home. Unless of course you beat me to it gwhy!!
-Matt

Jeremy Harris wrote:Nice one!
I'm glad that this idea seems to have some merit. The next step is to have a think about ways to fully understand this and the impact it has on performance and FET longevity.
It should be possible to fit a small trim pot across C20, so that the peak current cut-off can be fine tuned. Whether this is worth it or not is debatable, though.
Jeremy



Thud wrote:Let me buy you guys an inernet Beer!


gwhy! wrote:The problem also goes away if you re-program a 206 with the 212 settings so Im guessing it will also be ok with 218 settings, More testing to do . Looks like matts theory about the polling was correct and the firmware indeed plays a part.Now we are cooking....



ZapPat wrote:
It may just be that by selecting a 212 instead of a 206 you are dividing by half your real soft-current limits (both battery and phase), so it may be this that makes it looks "fixed"? To really be sure, you could select the 212 as controller type but double both current limits as when using the 206 setting - both results should be equivalent.
The transistor-based current overload circuit signal is independant of firmware, so programmed values should not directly affect it... unless using the 212 and 218 settings makes the firmware ignore the overload signal possibly? But then, why would they populate the overload signal parts on their 212's?





Jeremy Harris wrote:Nice work.
What I think might be happening is that changing the controller type changes the time delay before pin 27 going low has any effect. This makes sense, as the controllers with the larger number of FETs will have more junctions to heat up from the over-current pulses, so will be more tolerant of a longer period at over-load current.
So, it looks like the overload circuit tells the controller that the peak current is too high, and the time between seeing this overload signal and shutting the controller down depends on the number of FETs that the controller thinks it's driving. If the overload signal goes away before the set time, then the controller just ignores it and carries on running.
The other function of the controller type setting is the one we already know; it sets the steady state current limit based on the shunt resistance, which changes with the size of the controller.
Jeremy



nieles wrote:i also added hall sensors to a 6374 outrunner. and it is having the same symptoms you guys discribe.
so what is the easiest thing to try? i think the reprogramming with 212 settings?
also if i reprogram, what should be my settings? i have not modded anything yet to the controller.
Niels


Users browsing this forum: botz244, Current-Pille, esoria and 7 guests