|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#151
|
||||
|
||||
|
Re: 2015 Beta Testing - The Components are Here.
Quote:
Basically, this means that your effective energy consumed is proportional not only to the energy you're actually using, but the rate at which you're using this energy (or some weird function of the rate). Assume that we can estimate state of charge in a battery by timing how long it takes a 10 amp load to cause the battery voltage to drop below 10 volts. If we play one match where we draw 43,200 joules (12 amp hour volts, or 1 amp hour for our battery), and we run the test on the battery, we may see that the battery can power the 10 amp load for 15 minutes before dropping below 10 volts. We may then completely charge the battery, and play another match where we also draw 43,200 joules (again, 1 amp hour for our battery), but the load test will cause the voltage to drop below 10 volts after only 2 minutes. Our integration of current over time gives the same result both times, but in the second match, we ended up depleting a larger portion of the batteries capacity because we used our energy in short, high power, fast spikes, rather than a slow steady draw in the first match. It would be interesting to see if a function for effective energy used (out of the rated 18 amp hours) could be used if we took into account both the current and the integral of the current with respect to time. Also, does anybody have specifications for the new PDB's current sensing (latency, resolution, sampling rate, maximum current)? Last edited by Jared : 03-10-2014 at 17:09. |
|
#152
|
||||
|
||||
|
Re: 2015 Beta Testing - The Components are Here.
There are two common methods of determining the SOC of a lead acid battery. The most accurate is to measure the specific gravity of the electrolyte, unfortunately with a sealed AGM battery that is not possible. The other method is the resting voltage, that means a battery that has not recently been charged or had a load applied to it. The definition of recently varies depending on who you ask. Some say as little as 15min while others say it should be 24hrs. Most do agree on a fairly narrow range of around 11.8v as a 0% SOC. I'm pretty certain that the battery beak determines the SOC based on voltage particularly since the instructions I saw stated the battery needed to be "at rest" for an accurate reading.
|
|
#153
|
||||||
|
||||||
|
Re: 2015 Beta Testing - The Components are Here.
Quote:
I've attached data we collected from the PDP during a match at the SCRRF Fall Classic. Note that each channel has a small steady state error, which will be calibrated out in a later firmware update. Last edited by Joe Ross : 06-10-2014 at 00:48. |
|
#154
|
||||
|
||||
|
Re: 2015 Beta Testing - The Components are Here.
Quote:
|
|
#155
|
||||
|
||||
|
Re: 2015 Beta Testing - The Components are Here.
Quote:
This should be all we need to calculate Eavailable, since the initial energy of the battery either has to turn into electric energy that moves through the circuit or turn into heat due to the internal resistance of the battery. I don't see anywhere else that the energy of the battery can go. The only thing I might not be considering here would be that Rinternal might not be a constant, but a function of current and/or temperature. Does anyone know if this is the case? Because if so, that could explain why the battery loses charge more quickly than expected at higher currents. |
|
#156
|
||||
|
||||
|
Re: 2015 Beta Testing - The Components are Here.
Quote:
I don't know exactly why this is true, but I'd be willing to bet that the chemical reaction isn't quite as effective/efficient when it happens really quickly. |
|
#157
|
||||
|
||||
|
Re: 2015 Beta Testing - The Components are Here.
Quote:
|
|
#158
|
||||
|
||||
|
Re: 2015 Beta Testing - The Components are Here.
Quote:
|
|
#159
|
||||
|
||||
|
Re: 2015 Beta Testing - The Components are Here.
Using a simple model of the battery as a fixed internal resistance of 0.011 ohms in series with a constant 12.7v voltage source, it's straightforward to compare the energy wasted across the internal resistance for the same ampere-hours at different currents. But it's even worse than that. A close look at the battery discharge curves suggests that the internal resistance is not constant, but rather increases substantially with current. |
|
#160
|
||||
|
||||
|
Re: 2015 Beta Testing - The Components are Here.
Remember that the battery resistance is a simplistic model of complex chemical reactions in the battery. It is a measure of the battery to pass current, not necessarily the number of electrons in the battery.
|
|
#161
|
||||
|
||||
|
Re: 2015 Beta Testing - PWM voltage levels
Has anyone put the PWM signals on an oscope? I assume the PWM signal is still 5v max but will it change to 3.3v if the internal jumper is set to 3.3v. I also noticed that there is no jumper on the roborio to pass 6v to the center PWM conductor. The crio had this jumper. Can someone take a measurement and let me know these two voltages?
Thanks |
|
#162
|
|||
|
|||
|
Re: 2015 Beta Testing - The Components are Here.
Mr. Ross,
That spread sheet is exactly what our team wants to study and implement power management. Can you detail the programming set up to capture that data? |
|
#163
|
|||
|
|||
|
Re: 2015 Beta Testing - The Components are Here.
I haven't seen Joe's code, but I suspect they are reading the power API at about 25ms and storing the results in their on file. This level of logging along with events where the PDP saw a breaker trip should soon be built in, though you are always welcome to write your own.
Greg McKaskle |
|
#164
|
||||||
|
||||||
|
Re: 2015 Beta Testing - The Components are Here.
Quote:
Code:
for (int i=0; i<16; i++) {
pdpArray[pdpLine][i] = pdp.getCurrent(i);
}
pdpArray[pdpLine][16] = pdp.getVoltage();
pdpArray[pdpLine][17] = pdp.getTemperature();
|
|
#165
|
|||||
|
|||||
|
Re: 2015 Beta Testing - PWM voltage levels
Quote:
The PWM signals are always 5v max. The PWM power is always 6v. The motor controllers have this line disconnected, so power on it doesn't affect them. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|