You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/docs/evaluating_battery.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,17 @@
2
2
3
3
To start fuel gauge evaluations using a battery model, complete the following steps:
4
4
5
-
1. Make sure the following conditions are met:
5
+
1. Connect a battery to the EK.
6
+
1. Enable the **Fuel Gauge** setting on the [**Dashboard**](./overview.md#dashboard-tab) tab.
7
+
1. If you are using nPM1300 EK or nPM1304 EK, select the battery model for evaluation in the [**Fuel Gauge**](./overview.md#npm1300-and-nPM1304-fuel-gauge) side panel.<br/>
8
+
Use one of the following options:
6
9
7
-
- You have a battery connected to the EK.
8
-
- You have the **Fuel Gauge** setting enabled on the [**Dashboard**](./overview.md#dashboard-tab) tab.
9
-
- You have an active battery model selected in the [**Fuel Gauge**](./overview.md#fuel-gauge) side panel, either using the **Active Battery Model** for a preloaded battery model or the **Add New Battery Model** > **Custom Model** for your own custom battery model from a JSON file.
10
+
* Use the **Active Battery Model** for a preloaded battery model
11
+
* Add a custom battery model by completing the following steps:
12
+
13
+
1. Select [**Add New Active Battery Model**](./overview.md#npm1300-and-nPM1304-fuel-gauge) in the side panel.</br>
14
+
A drop-down menu appears.
15
+
1. Select **Custom Model** to load the generated JSON battery model file to the host System on Chip (SoC) of the PMIC EK.
10
16
11
17
1. Open the [**Graph**](./overview.md#graph-tab) tab.
| nPM1304 Evaluation Kit (EK) |[nPM1304 EK Hardware](https://docs.nordicsemi.com/bundle/ug_npm1304_ek/page/UG/nPM1304_EK/intro.html)|[Connect the nPM1304 EK with nPM PowerUP](https://docs.nordicsemi.com/bundle/ug_npm1304_ek/page/UG/nPM1304_EK/use_ek_power_up.html)|
16
16
| nPM2100 Evaluation Kit (EK) |[nPM2100 EK Hardware](https://docs.nordicsemi.com/bundle/ug_npm2100_ek/page/UG/nPM2100_EK/intro/intro.html)|[Connect the nPM2100 EK with nPM PowerUP](https://docs.nordicsemi.com/bundle/ug_npm2100_ek/page/UG/nPM2100_EK/connect_ek/use_ek_power_up.html)|
17
17
| nPM1300 Evaluation Kit (EK) |[nPM1300 EK Hardware](https://docs.nordicsemi.com/bundle/ug_npm1300_ek/page/UG/nPM1300_EK/intro.html)|[Connect the nPM1300 EK with nPM PowerUP](https://docs.nordicsemi.com/bundle/ug_npm1300_ek/page/UG/nPM1300_EK/use_ek_power_up.html)|
18
18
| nPM Fuel Gauge Board |[nPM Fuel Gauge Board Hardware](https://docs.nordicsemi.com/bundle/ug_npm_fuel_gauge/page/UG/nPM_fuel_gauge/intro.html)|[Connect the nPM1300 EK with the nPM Fuel Gauge Board](https://docs.nordicsemi.com/bundle/nan_045/page/APP/nan_045/battery_profiling.html)|
Copy file name to clipboardExpand all lines: doc/docs/overview.md
+41-21Lines changed: 41 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ This side panel area contains the following buttons:
50
50
|**Load Configuration**| Load the PMIC configuration from a JSON file and update all configurations accordingly.</br></br>You can also load a configuration before you select a device ([Offline Mode](#virtual-device-selection-and-offline-mode-actions)). |
51
51
|**Open Serial Terminal**| Open the [Serial Terminal app](https://docs.nordicsemi.com/bundle/nrf-connect-serial-terminal/page/index.html) application in a separate window. Make sure to first [install the application](). |
52
52
|**Reset Device**| Reset the PMIC device and the nPM Controller. The PMIC default device configuration is restored. |
53
-
|**Record Events**| Record all terminal [log](#log) events to CSV files in a selected directory. |
53
+
|**Record Events**| Record all terminal [log](#log) events to CSV files in a selected directory.<br/>You can share these files with Nordic Semiconductor if you encounter issues.<br/><br/>Recording events is automatically started when you [profile a battery](profiling_battery.md).|
54
54
55
55
### Fuel Gauge
56
56
@@ -126,11 +126,14 @@ Some devices also allow you to configure **Power Failure** and **Vbus input curr
126
126
## nPM1300 and nPM1304: Profiles tab
127
127
128
128
!!! note "Note"
129
-
This feature is available for the nPM1300 EK and the nPM1304 EK.
129
+
- This feature is available for the nPM1300 EK and the nPM1304 EK.
130
+
- You cannot use profiles for the nPM1300 EK with the nPM1304 EK and vice-versa.
130
131
131
132
The **Profiles** tab provides an overview of all battery profiles that you can select using the [Fuel Gauge drop-down menus](#fuel-gauge).
132
133
133
-
Here you can make changes to the generated battery model settings, make edits to your custom projects, or merge individual temperature profiles.
Here you can make changes to the generated battery model settings, make edits to your custom projects, or merge individual temperature profiles. See [Working with profiles](working_with_profiles.md) for more information.
134
137
135
138
!!! note "Note"
136
139
The battery model is automatically stored as a JSON and an INC file. Use the JSON file for evaluations in nPM PowerUP and the INC file when integrating the battery model into your final application with a Nordic System on Chip (SoC).
@@ -139,6 +142,8 @@ Here you can make changes to the generated battery model settings, make edits to
139
142
140
143
Here you can find all the custom profiles you have added with the [**Profile Battery** option](#fuel-gauge).
141
144
145
+

146
+
142
147
The following options are available for the custom profiles:
143
148
144
149
| Button | Description |
@@ -147,27 +152,42 @@ The following options are available for the custom profiles:
147
152
|**Add Existing Project**| Add a new project to the list from a JSON file. |
148
153
|**Create New Project**| Create a new custom project template. This option includes some of the fields present when using the [**Profile Battery** option](#fuel-gauge), but without collecting data. |
149
154
150
-
The following drop-down menu options are available for the project and profile sections:
|**Process Included Data**| Project | If your project includes multiple temperature profiles, you can include a selection of them with the **Include** toggle. Using this option processes only the included temperature profiles. |
155
-
|**Save Battery Model**| Project | Save the battery model for the entire project to a JSON or an INC file. This only saves the temperature profiles you have selected with the **Include** toggle. |
156
-
|**Write Battery Model**| Project | Write the battery model for the entire project to the nPM Controller on the EK. This only writes the temperature profiles you have selected with the **Include** toggle. |
157
-
|**Add Profile**| Project | Add a new battery profile with a specific temperature and a CSV data file. Data files are generated when you use the [**Profile Battery** option](#fuel-gauge). |
158
-
|**Open Folder**| Project | Open the project directory in the **File Explorer**. |
159
-
|**Edit Project**| Project | Edit the project settings. |
160
-
|**Remove Project**| Project | Remove the current project, including all battery profiles. |
161
-
|**Include** toggle | Profile | Select the temperatures to be included for processing with **Process Included Data** button for the entire project. |
162
-
|**Process Data**| Profile | Process the data for the given temperature profile only. |
163
-
|**Save Battery Model**| Profile | Save the battery model to a JSON or an INC file. |
164
-
|**Write Battery Model**| Profile | Write the battery model to the nPM Controller on the EK. |
165
-
|**Edit Profile**| Profile | Edit the battery profile. |
166
-
|**Remove Profile**| Profile | Remove the battery profile.|
155
+
#### Project section
156
+
157
+

158
+
159
+
The following drop-down menu options are available for the project section:
|**Process Included Data**| If your project includes multiple temperature profiles, you can include a selection of them with the **Include** toggle. Using this option processes only the included temperature profiles. |
164
+
|**Save Battery Model**| Save the battery model for the entire project to a JSON or an INC file. This only saves the temperature profiles you have selected with the **Include** toggle. |
165
+
|**Write Battery Model**| Write the battery model for the entire project to the nPM Controller on the EK. This only writes the temperature profiles you have selected with the **Include** toggle. |
166
+
|**Add Profile**| Add a new battery profile with a specific temperature and a CSV data file. Data files are generated when you use the [**Profile Battery** option](#npm1300-and-nPM1304-fuel-gauge). |
167
+
|**Open Folder**| Open the project directory in the **File Explorer**. |
168
+
|**Edit Project**| Edit the project settings. |
169
+
|**Remove Project**| Remove the current project, including all battery profiles. |
170
+
171
+
##### Profile entries
172
+
173
+

174
+
175
+
The following drop-down menu options are available for the profile entries:
Copy file name to clipboardExpand all lines: doc/docs/profiling_battery.md
+17-5Lines changed: 17 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Depending on the EK you are using:
19
19
* nPM1304 EK:
20
20
21
21
* The nPM Fuel Gauge Board is not required.
22
-
* Connect the nPM1304 EK and download the software.
22
+
* Connect the nPM1304 EK and download the software as described in [Connect the nPM1304 EK with nPM PowerUP](https://docs.nordicsemi.com/bundle/ug_npm1304_ek/page/UG/nPM1304_EK/use_ek_power_up.html).
23
23
24
24
## Profiling a battery in the {{app_name}}
25
25
@@ -38,9 +38,21 @@ Complete the following steps to profile a battery and use the generated battery
38
38
39
39
The measurement data is automatically processed in the Nordic battery modeling software to make a single battery model file for each test temperature.
40
40
41
-
1. After the temperature profiling at a given temperature is complete, follow the instructions in the application to charge the battery at room temperature before profiling at the next test temperature. When all the individual temperature models have been completed, they are merged to generate the final battery model file. The final battery model is automatically saved as both a JSON file and an INC file.
42
-
1. Select [**Add New Active Battery Model**](./overview.md#fuel-gauge) in the side panel.</br>
43
-
A drop-down menu appears.
44
-
1. Select **Custom Model** to load the generated JSON battery model file to the host System on Chip (SoC) of the nPM1300 EK or the nPM1304 EK.
41
+
1. After the temperature profiling at a given temperature is complete, follow the instructions in the application to charge the battery at room temperature before profiling at the next test temperature.
42
+
43
+
When all the individual temperature models have been completed, they are merged to generate the final battery model file. The final battery model is automatically saved as both a JSON file and an INC file.
45
44
46
45
To start fuel gauge evaluations using a battery model, see [Evaluating a battery model with nPM PowerUP](evaluating_battery.md).
46
+
47
+
## Profiling output files
48
+
49
+
All or some of the following files are generated as the result of profiling a battery:
50
+
51
+
* A JSON file for the combined temperature model, used for fuel gauge evaluations in the {{app_name}}
52
+
* An INC file that you can use to integrate the battery model into your application
53
+
*`profileSettings.json` that contains the {{app_name}} settings for the profiling process
54
+
* Directory for each battery profile, which includes the following files:
55
+
56
+
* CSV data file for the given profile and temperature, which can be used to [merge temperature profiles](./working_with_profiles.md)
57
+
* Debug directory that includes debugging files with information about the profiling process, such as profiling commands and logs, and about the functioning of the app.<br/>
58
+
You can share these files with Nordic Semiconductor if you encounter issues while profiling. You can also manually create these files with the [**Record Events**](overview.md#record-events) button in the side panel, but the contents might be different when not profiling.
Copy file name to clipboardExpand all lines: doc/docs/profiling_guidelines.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,21 @@
6
6
The guidelines in this section optimize the use of the {{app_name}} for [battery profiling](profiling_battery.md).
7
7
8
8
- Before starting battery profiling, refer to the battery datasheet and ensure that the parameters are set correctly. This includes specification of the battery capacity, termination voltages, and any other relevant parameters provided in the datasheet.
9
+
- Ensure a solid, low-resistance battery connection to the EK. Make sure to use stable connectors. Poor contacts can cause profiling or model errors (or both).
10
+
11
+
!!! info "Tip"
12
+
For batteries without leads (pads only, for example smart-ring batteries), solder them directly to the nPM1304 EK Battery pads. For more information, see the [Power supply](https://docs.nordicsemi.com/bundle/ug_npm1304_ek/page/UG/nPM1304_EK/power_supply.html) chapter in the nPM1304 EK hardware user guide.
13
+
9
14
- Due to the increased non-linearities of batteries operating at temperatures below zero degrees Celsius, it is recommended to conduct battery profiling exclusively above zero degrees. Avoid profiling at temperatures below freezing or in extreme heat conditions.
10
15
11
16
!!! note "Note"
12
17
Even if the battery is profiled at temperatures above zero Celsius, the fuel gauge can still perform reliably below zero within the standard discharge conditions of the battery.
13
18
14
19
- To account for temperature variations and improve the accuracy of state-of-charge estimations, profile the battery at three different test temperatures. For example, if the operating temperature of the device ranges from -15°C to 45°C, you can profile the battery at 5°C, 25°C, and 45°C. The final battery model will be created by combining the individual temperature profiles.
20
+
21
+
!!! note "Note"
22
+
You can also profile the battery at each temperature separately and then use the nPM PowerUP [**Profiles**](./overview.md#npm1300-and-npm1304-profiles-tab) tab to merge the individual models into a single multi-temperature model. For details, see [Working with profiles](working_with_profiles.md).
23
+
15
24
- The time to profile the battery takes approximately 48 hours per temperature, but can be longer for higher capacity batteries. Do not modify the device configuration during the profiling process as this causes the profiling to abort.
16
25
- Ensure that your computer does not go into sleep mode or hibernate during the profiling process.
17
26
- To avoid issues with computer restarting due to system updates, the computer can be put in flight mode during profiling.
0 commit comments