Marcos Chaparro
d8d2088137
app adc: allow hardwares to override the brake input
...
With this hook the brake can be overriden from the hw_*.c file without
polluting the app configuration UI.
Some examples of commanded braking:
* Tilt/crash sensor
* Gear shift sensor
* Emergency stop
* Kill switch
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2021-04-19 11:33:57 -03:00
Benjamin Vedder
2133d21fbc
Avoid numerical instability when utils_map is used over a range that approaches 0
2021-03-27 11:18:47 +01:00
Marcos Chaparro
33b5d5c1ba
Pedal assist support (PAS)
...
This commit enables cadence-based pedal assist for ebikes using
quadrature-style pedal speed sensors.
There are 2 operation modes:
* PAS only: Motor current is based only on pedal feedback
* ADC + PAS: The code will use both ADC and pedal feedback and use
the strongest command to provide seamless overlap when the user is
pedalling and requests extra torque with the throttle.
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2020-12-07 17:06:36 -03: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
Steffen Arntz
f5b1653455
Enable the use of the reverse button in App-ADC with PID + rev button.
...
previously only the cc button was working, even if rx/tx as buttons was available.
2019-08-22 12:45:21 +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
Gavin Miller
9deee721f5
Fix indentation, restore proper include to app_custom
2019-04-09 19:12:09 -06:00
tipsmiller
583e71464e
Update app_adc with new control scheme
2019-04-09 16:11:11 -06:00
Benjamin Vedder
f9ce429447
Ramping updates
2019-03-01 17:18:07 +01:00
Benjamin Vedder
123bb00ab4
Major 2019 update
2019-02-18 19:30:19 +01:00
Benjamin Vedder
5a189290bc
FW 3.34: PID POS in values, inverted direction angle normalization, relative current mode in APP_ADC
2018-01-24 09:39:06 +01:00
Benjamin Vedder
6277cf74ca
FW 3.31: Acc temp dec option, PID for APP_ADC
2017-10-27 21:29:12 +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
ed61c4d332
FW 2.18: Better FOC sensorless startup, app adc safety fix
2016-05-19 19:24:01 +02:00
Benjamin Vedder
d52906fbe8
FW 2.15: NRF configuration, PPM and ADC app duty mode scaling to max duty
2016-02-09 12:25:13 +01:00
Benjamin Vedder
6d33ac83b6
FW 1.13: APP_ADC input 2, interface locks during detection, inductance detection fix
2016-02-02 17:19:37 +01:00
Lucas Pleß
294d80b777
added ADC2 analog brake option
2016-02-02 16:28:55 +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
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
a89ad0f1f1
Fix bug #7 , detection now works while apps are active
2015-06-09 06:11:41 +02:00
Benjamin Vedder
5a5ccfb4c3
ADC app added, nunchuk RPM filter, FW version added, feedback on appconf and mcconf set
2015-05-04 23:25:43 +02:00