Benjamin Vedder
4dab6ed9e7
Fixed merge, renamed utils_batt_norm_v_to_capacity, scale battery ah with 0.85 since the battery is not fully depleted at 3.2V per cell
2020-04-16 09:39:47 +02:00
Benjamin Vedder
393363169a
Merge branch 'dev_fw_5_00' of https://github.com/vedderb/bldc into dev_fw_5_00
2020-04-16 09:13:39 +02:00
Benjamin Vedder
6f7c40b4e1
Improved flux linkage measurement
2020-04-16 09:12:08 +02:00
Jeffrey M. Friesen
acfc93e693
Patched some weird behavior with motor temp on stormcore and added #define for filter constant
...
Was seeing a lot of coupled noise on stormcore with phase currents so I turned up the LPF on the motor temp sensor. I think it might be a good idea to turn up that LPF generally since motor temp is generally slow to change anyways.
Also found a problem in the #define for motor temp 2 in my header file. Fixed it.
2020-04-14 14:05:47 -07:00
Jeffrey M. Friesen
6e83fd3408
Added gentle li-ion curve mapping
...
Should provide a slightly more accurate estimate of the remaining battery, I fit a fifth order polynomial to a discharge graph of a samsung 30q cell.
Technically the watt hours left should be integrated across this curve instead of using the average remaining voltage but maybe the combination of both provides a good midway estimate between the actual curve and a line since all cells are slightly different.
2020-04-14 09:12:57 -07:00
Benjamin Vedder
3ab8002fa4
Motor temperature filtering bug fix
2020-04-09 22:33:20 +02:00
Benjamin Vedder
0e6f8dd567
Change back motor thread after foc_sensors_detect_apply terminal command
2020-04-09 09:27:43 +02:00
Jeffrey M. Friesen
2b13131a44
Correctly log motor fault data and iterate beta version number
2020-04-06 13:52:04 -07:00
Jeffrey M. Friesen
1b67dc2666
Refactored name of is_test_build, also added dual stuff to foc_detect_apply_all_can
2020-04-05 12:28:08 -07:00
Jeffrey M. Friesen
30f3d8e455
Merge remote-tracking branch 'upstream/dev_fw_5_00' into dev_fw_5_00
2020-04-05 12:04:15 -07:00
Jeffrey M. Friesen
0bb5b2d99c
Cleaned up detect_apply_all terminal command for dual hardware
2020-04-05 12:04:04 -07:00
Benjamin Vedder
2f19819d27
Fixed conflicts with master merge
2020-04-04 22:35:29 +02:00
Benjamin Vedder
76fd7a3917
Added COMM_SET_CAN_MODE and added support for HW75_300_R3
2020-04-04 22:28:41 +02:00
Benjamin Vedder
c0f75f14ac
Current ramping during resistance measurement
2020-04-02 20:43:11 +02:00
Jeffrey M. Friesen
1d5ce285f6
Fixed build error
2020-04-01 18:24:25 -07:00
Benjamin Vedder
dd16ce862d
Added HW_DUAL_CONFIG_PARALLEL option
2020-03-29 17:07:31 +02:00
Jeffrey M. Friesen
b4bf8408b4
fix USB freezing on windows bug
...
Intermittent freezing on windows connecting to vesc_tool. This seems to fix it, more testing needed since it is so intermittent.
2020-03-22 09:36:14 -07:00
Benjamin Vedder
10b700b74c
Updated observer gain scaling, and implemented CAN shutdown on unity hw config
2020-03-21 01:05:42 +01:00
Benjamin Vedder
a61e74db82
Fixed memory leak
2020-03-20 20:40:41 +01:00
Benjamin Vedder
51f0fcea09
gpdrive fix, observer gain calc updates, added COMM_SET_BATTERY_CUT, added CAN_PACKET_SHUTDOWN, detect all fix
2020-03-20 17:35:25 +01:00
Jeffrey M. Friesen
7d0c1ce650
Shutdown timeout for unity and tabs for spaces in hw conf
2020-03-17 10:48:34 -07:00
Jeffrey M. Friesen
dceaece8f0
Updated configs for 100s and 60d
2020-03-17 10:18:39 -07:00
Jeffrey M. Friesen
1c29679218
Merge remote-tracking branch 'upstream/dev_fw_5_00' into dev_fw_5_00
2020-03-17 09:34:30 -07:00
Benjamin Vedder
7391330f4c
Added test build flag
2020-03-17 11:46:52 +01:00
Jeffrey M. Friesen
06398a45e8
started adding support for stormcore, needs more work
2020-03-16 14:57:55 -07:00
Benjamin Vedder
52e17059e5
Major restructuring for dual motor support, and added unity hw files
2020-03-16 18:32:39 +01:00
Benjamin Vedder
5df92463f3
Pos PID fix, AS5047 fix, changed FOC time constant, updated conf generator
2020-02-27 17:49:35 +01:00
Benjamin Vedder
97ef43cff8
Leave debug mode on NRF5x after SWD upload, more TS5700N8501 encoder features, more CAN baud rates
2020-02-01 00:37:25 +01:00
Benjamin Vedder
b6949d60dc
FW4.00: HFI and many updates, see changelog
2020-01-28 19:46:19 +01:00
Benjamin Vedder
ae5ea13998
Merge pull request #124 from powerdesigns/Axiom-resolver
...
Axiom full resolver support
2020-01-21 08:35:36 +01:00
Benjamin Vedder
2a910e17d6
Merge pull request #120 from ddosoff/master
...
KTY83/122 and priority to custom commands
2020-01-21 08:34:58 +01:00
Marcos Chaparro
8a76c9aaf4
Axiom: Add resolver build switch
...
For some reason SPI encoder was not set by default in axiom builds.
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2020-01-20 11:01:21 -03:00
Marcos Chaparro
08de81e950
Add basic support for Luna BBSHD
...
Signed-off-by: Marcos Chaparro <mchaparro@paltatech.com>
2020-01-19 15:36:40 -03:00
Kirill Kostiuchenko
4470313929
firmware version 3.67
2020-01-15 13:57:08 +05:00
Benjamin Vedder
b002e5d78e
FW 3.66: Many changes, see changelog
2020-01-12 21:25:21 +01:00
Benjamin Vedder
210ec40d74
PTC motor thermistor support, APP_PPM sleep fix
2019-12-22 21:22:07 +01:00
Benjamin Vedder
ceb8b7bf7d
HW60_MK3 support, shutdown fix, added COMM_SET_CURRENT_REL, ramp fix, PPM timeout fix, IRQ prio fix
2019-12-19 16:55:38 +01:00
Benjamin Vedder
78d3cef3ff
Added support for HW60_MK3 and disable shutdown when watchdog runs slowly
2019-12-09 10:57:33 +01:00
Benjamin Vedder
23e61925b6
FW upload compression support, TS5700N8501 support
2019-12-05 19:50:17 +01:00
Benjamin Vedder
dfc3ed2319
Final v3.62
2019-09-27 12:56:49 +02:00
Benjamin Vedder
f34d0159bf
Fixed nunchuk bug and added COMM_BM_MEM_READ command
2019-09-21 12:50:39 +02:00
Euan
c875d4f3ee
Add hwconf for A200S V2
...
Adds hwconf files for A200S V2.1 and V2.2
2019-09-15 00:48:20 +01:00
Benjamin Vedder
eb6f5945ce
FW 3.61: Added smart reverse mode to PPM app, and some fixes
2019-09-09 19:34:26 +02:00
Benjamin Vedder
a233367be8
MPU9x50 fix, experiment plots, DQ voltage RT data, smart reverse for nunchuk app
2019-09-08 18:25:38 +02:00
Benjamin Vedder
602db7435b
FW3.59. Many updates, see changelog for details
2019-09-03 20:39:05 +02:00
Benjamin Vedder
c7d11ca431
Some fixes for previous PR
2019-07-01 18:35:27 +02:00
Benjamin Vedder
30aabb77d7
Detect FOC fix, adc brake multi fix, make ppm pulses invalid above 150 percent
2019-07-01 17:17:49 +02:00
Davide D'Agostino
19fb5e04c6
Rebuild the firmwares
2019-06-29 19:59:02 -07:00
Benjamin Vedder
a141e750bb
Added CAN status msg 5, fixed issue 94, use defaul HW parameters after autodetect
2019-05-16 23:30:40 +02:00
Benjamin Vedder
05b1a9483e
Merge branch 'Axiom-board-support' of https://github.com/powerdesigns/bldc into powerdesigns-Axiom-board-support
2019-05-04 10:44:03 +02:00