Benjamin Vedder
40c2842aa8
Sign macro fix
2021-11-27 23:30:10 +01:00
Benjamin Vedder
e9cf6eb4e8
Added fast moving average filter approximation, updated ADC app to use it
2021-10-31 13:40:43 +01:00
Kenn Sebesta
bec06ac85a
[Utils] Change convenience multiplication factors into convenience MACROs
2021-10-13 14:18:05 -04:00
Kenn Sebesta
aeb5d74488
[Utils] Use convenience macros for deg/rad conversions
2021-10-13 11:52:04 -04:00
Benjamin Vedder
c77f92470b
IO board support, initial bms support, more openloop parameters, removed D current injection, added new HWs
2020-10-09 21:08:48 +02:00
Benjamin Vedder
9924f333af
Made motor temperature lpf slower, and added median motor temperature lpf to HWs with adc mux
2020-04-18 09:48:25 +02:00
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
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
1016ab076b
Added hall_analyze terminal command
2020-04-03 22:57:43 +02: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
b6949d60dc
FW4.00: HFI and many updates, see changelog
2020-01-28 19:46:19 +01:00
Benjamin Vedder
ffbc6eb89b
First attempt at HFI
2020-01-20 09:39:33 +01:00
Benjamin Vedder
b002e5d78e
FW 3.66: Many changes, see changelog
2020-01-12 21:25:21 +01:00
Marcos Chaparro
32cf05629d
Resolve merge conficts with major 2019 release
...
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2019-02-18 20:25:52 -03:00
Benjamin Vedder
123bb00ab4
Major 2019 update
2019-02-18 19:30:19 +01:00
Marcos Chaparro
e284d1ae5e
Compensate for line-to-line measurement in FOC
...
Signed-off-by: Marcos Chaparro <mchaparro@paltatech.com>
2018-12-12 18:41:10 -03:00
Benjamin Vedder
e83af32219
Some cleanup, updated speed PID controller, some NAN-checks, iterative observer
2017-10-20 20:06:06 +02:00
Benjamin Vedder
79bfbe6234
FW3.28: dual throttle curves, ntc beta factor config, board file added
2017-09-06 21:13:28 +02:00
Benjamin Vedder
f141157358
First official commit after the VESC Project release
2017-09-04 21:12:43 +02:00
Benjamin Vedder
5dbc94c525
FW 3.7
2016-11-04 15:18:34 +01:00
Benjamin Vedder
d995cf6749
FW 2.6: Slow abs current fix, current limit fix, FOC control CPU resource measurement, current filters, D current injection fix
2015-12-24 00:43:31 +01:00
Benjamin Vedder
59309d9772
FW 2.4: some nan fixes that shoud prevent FOC from stopping and needing a reboot in some cases
2015-12-10 23:21:04 +01:00
Benjamin Vedder
ff090fd4e0
FW 2.3: MAJOR UPDATE: FOC!!
2015-12-08 21:01:23 +01:00
Benjamin Vedder
c4ff81e849
Ported to ChibiOS 3, refactoring, cleanup, added safe start delay after fault for PPM app, removed unused ST libraries
2015-10-08 23:09:39 +02:00
Benjamin Vedder
06129bb66c
FW 1.13: Hw 4.8 support, new CC implementation for nunchuk, refactoring, custom app and hw config support
2015-09-17 23:24:55 +02:00
Benjamin Vedder
58d892935d
PPM dec fix, current sampling updates, ADC cruise control, commutation fix, higher switching frequency, refactoring
2015-08-23 18:26:05 +02:00
Benjamin Vedder
87932662b7
Long packet support, configurable min and max duty, longer CAN buffer, default parameter changes, appconf ack fix, refactoring
2015-05-20 16:13:48 +02:00
Benjamin Vedder
bc7a779632
Bootloader support, CAN fixes
2015-05-08 22:53:59 +02:00
Benjamin Vedder
607e99d211
Configuration over CAN, first implementation of position control, more configuration options
2015-04-27 00:02:32 +02:00
Benjamin Vedder
828cdd92f8
Chuk and PPM config structs, phase advance fixes and implementation for delay comm mode, CAN fixes and status message implementation, multi-esc mode for PPM and Chuk, traction control for PPM and chuk, CAN id config, multi-esc and traction control config, ADC sampling change, hall-sensor read bug fix for HW45+
2015-02-19 21:20:07 +01:00
Benjamin Vedder
33c81db930
Deadband fix, configurable temperature limit
2014-11-25 21:05:46 +01:00
Benjamin Vedder
41d2043b22
Added a system locking wrapper with a counter that potentially fixes possible glitches
2014-08-30 06:00:48 +02:00
Benjamin Vedder
8627d1c8d1
Lots of updates and fixes after one week of testing on an electric longboard
2014-07-27 19:40:38 +02:00
R.E. Wolff
679739b9c6
moved dc calibration to separate function.
2014-06-28 17:53:03 +02:00
R.E. Wolff
7be5693524
reduced a few lines to be clearer
2014-06-28 17:41:41 +02:00
Benjamin Vedder
d3e4f38fb3
The first implementation of current control
2014-03-31 00:51:59 +02:00
Benjamin Vedder
f2bfc1bcc3
Duty cycle tracking
2014-03-29 13:15:09 +01:00
Benjamin Vedder
ff80b6bee5
Adaptive switching frequency and some bug fixes
2014-03-15 22:32:00 +01:00
Benjamin Vedder
b635242ea6
Rotor position sensing updates
2014-03-13 15:28:56 +01:00
Benjamin Vedder
a60f970578
Updated some copyleft notices and some minor changes
2014-01-09 18:02:38 +01:00
Benjamin Vedder
eaebf6148a
first commit
2014-01-09 15:20:26 +01:00