Commit graph

9 commits

Author SHA1 Message Date
Sayanna Chandula
3014b79e70 thermal: virtualtemp: update vt models with dvt and cuj data
- Update VT models trained with dvt and cuj data
- Use backup sensor during undersampling
- Remove battery thermistor from VT model prediction

Bug: 337512118
Bug: 338596757

Test: Build and boot on device. Check VT through dumpsys
adb shell dumpsys thermalservice

Change-Id: Id26238f7baf58e23ef5e1c771d2ee6cf8968ec8e
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-05-07 14:36:41 -07:00
Sayanna Chandula
f90c98757f thermal: update vt models with dvt data
prev_sample_order = 3
activation = leaky_relu
sample_interval_ms = 7000
max_sample_interval_ms = 12000

Bug: 337512118
Test: Build and boot on device. Check VIRTUAL-SKIN temperature

Change-Id: Ia13654991d88435f13c86fc1535caca054e1cc09
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-04-27 14:24:57 -07:00
Sayanna Chandula
d6e73fd2c1 thermal: update vt models with evt1.1 cert data
- Models prepared with both PD and Cert data from EVT1.1 tests
- Used leaky_relu activation

Bug: 332971287
Test: Build and boot on device

Change-Id: I07fea17ab21d6efd66d1d74629886051ea92aa94
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-04-04 16:14:30 -07:00
Sayanna Chandula
6f59876ad6 thermal: enable input data validation
Update tflite models with metadata containing input data ranges.
Enable input data validation and backup sesor.
Add offsets based off temperature ranges.

Bug: 319167815
Bug: 328789394
Test: Build and boot on device. Test backup sensor and offsets

Change-Id: Icdc0c1a1fe026613e4a1716747335e60aca4edf9
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-03-20 11:49:53 -07:00
Sayanna Chandula
879af0e284 thermal: update vt model with 3 prev samples
Bug: 326130588
Test: Build and boot on device

Change-Id: If08449d01fc3c70ef68ba2900ab0ea0d6840a9c4
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-02-27 15:31:42 +00:00
Sayanna Chandula
ba2f333130 thermal: add historic samples for tflite vt prediction
Add historic samples of past 5 iterations
Remove VSYS_PWR_ODPM from VT prediction

Bug: 315169778
Test: Build and boot on device

Change-Id: I70557d67633cbc4bcfbfe8811beff56353c54085
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-02-14 08:46:08 -08:00
Sayanna Chandula
af4cea32f3 thermal: update vt prediction models with higher odpm average
- Updated vt predictions models with 15 samples average for ODPM rails.
- This reduces VT prediction being very sensitive to power changes
- Remove other ODPM rails from VT prediction except for VSYS_PWR_CAMERA

Bug: 307824060, 322910529
Test: Build and boot on device

Change-Id: Ibb285269d3da86e3d331ea3c7c5a3cd715da0ba2
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-01-31 11:37:55 -08:00
Sayanna Chandula
9b07c28910 thermal: update vt models with odpm features
Bug: 307824060
Test: Build and boot on device

Change-Id: Ide175d4945ac64e32d33e0c57e486f2691631b78
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-01-23 18:00:01 -08:00
Sayanna Chandula
d4032aaaa3 thermal: enable virtual-skin-model
Bug: 298225131
Test: Build and boot on device

Change-Id: Iaff3795474b66ff7345a9c5236e6dff4da69de01
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-12-12 15:01:32 -08:00