Teslafly
|
fce9b85ab9
|
Add defines for bottom/top gate driver input polarity. (#425)
* Add defines for gate driver pwm output polarity.
* Update gpdrive.c
* Update gpdrive.c
* Update mcpwm.c
* Update mcpwm_foc.c
Co-authored-by: Benjamin Vedder <benjamin@vedder.se>
|
2022-03-02 10:12:00 +01:00 |
Jakub Tomczak
|
da4b3e0edd
|
Merge branch 'master' into dev_fw_5_03
|
2022-01-21 15:07:44 +01:00 |
Benjamin Vedder
|
1b802ebe8f
|
Release motor fix when cc_min_current is 0
|
2022-01-19 18:52:45 +01:00 |
Benjamin Vedder
|
9c484d01e4
|
Decreased stack sizes to save ram
|
2022-01-16 21:57:12 +01:00 |
Jakub Tomczak
|
2a120615be
|
encoders to encoder refactor
|
2022-01-09 17:10:40 +01:00 |
Jakub Tomczak
|
4743194894
|
old encoder files deleted
|
2021-12-20 14:18:51 +01:00 |
Jakub Tomczak
|
f26f3beb2d
|
WIP: 3 encoders partially implemented, AS504x tested
compiled on gcc-arm-none-eabi-7-2018-q2
|
2021-12-14 16:40:40 +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
|
77af43935a
|
Removed outdated LED-support
|
2021-05-11 09:57:27 +02:00 |
Benjamin Vedder
|
7a0e560e8b
|
Lowpass filter input voltage and battery level
|
2021-04-27 17:48:15 +02:00 |
Benjamin Vedder
|
88d74ae0b6
|
Added mutex to DRV SPI driver, moved fault stop to thread, smooth current ramping for sensor and flux linkage detection
|
2020-04-03 20:12:12 +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
|
b002e5d78e
|
FW 3.66: Many changes, see changelog
|
2020-01-12 21:25:21 +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 |
Kirill Kostiuchenko
|
8dbdb1bc4d
|
Set new tachometer value interface added.
|
2019-12-07 21:07:05 +05:00 |
Benjamin Vedder
|
65298263b6
|
75/300 R2 support, terminal sync cmd, IMU support, option to disable permanent UART, collected timer functions in one place
|
2019-03-10 14:57:42 +01:00 |
Benjamin Vedder
|
01e72eb555
|
Autogenerated config parsing with signatures, fixed previous PRs
|
2019-03-01 21:36:58 +01:00 |
Benjamin Vedder
|
5e4d35a854
|
Fix issue 47
|
2019-02-19 22:18:30 +01:00 |
Benjamin Vedder
|
18b79a3a09
|
Fixed some issues found by codacy
|
2019-02-19 22:06:34 +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
|
4ac69232d9
|
Configure deadtime by just defining it in nanoseconds. Firmware will calculate the required DTG register value.
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
|
2019-01-31 00:51:35 -03:00 |
Marcos Chaparro
|
12fcffb629
|
Window Watchdog feed moved outside ADC ISR. Now it has the same coverage as the IWDG, with the extra capability of detecting that the timeout thread is running faster than expected.
Signed-off-by: Marcos Chaparro <mchaparro@paltatech.com>
|
2019-01-24 13:16:28 -03:00 |
Marcos Chaparro
|
17f97763c0
|
Extend watchdog coverage with IWDG, a watchdog running from an independent LF oscillator. If any of the threads being monitored does not report for more than 12ms, a reset will be asserted. When a WDG reset happens, the user can see it in the fault logs from vesc tool
Signed-off-by: Marcos Chaparro <mchaparro@paltatech.com>
|
2019-01-24 12:19:44 -03:00 |
Benjamin Vedder
|
22dc2ce33c
|
FW 3.37: FOC KI temp comp, configurable foc current filter
|
2018-03-24 22:32:58 +01: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
|
0b59fb1445
|
FW 3.10: BLDC ADC sampling bug fix when changing switching frequency, removed cycles_running from mcpwm
|
2016-11-06 20:28:07 +01:00 |
Benjamin Vedder
|
5dbc94c525
|
FW 3.7
|
2016-11-04 15:18:34 +01:00 |
Benjamin Vedder
|
d2f6d87560
|
FW 3.0: HW60 support, 3 low/high side shunt support, permanent NRF option
|
2016-06-27 17:29:09 +02:00 |
Benjamin Vedder
|
cb2a205cb8
|
FW 2.17: as5047 support, change sensor port mode in conf, better encoder detection, FOC ah and wh counter fixes
|
2016-04-27 15:32:32 +02:00 |
Markus Herb
|
e6c32f4417
|
Fix Hallsensor reverse phase mapping
|
2016-02-25 20:48:17 +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
|
2377a45bcb
|
FW 2.5: red LED fix on hw 4.5, updated default PID parameters
|
2015-12-19 21:24:46 +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
|
984b846401
|
FW 1.14: configuration loss fix, HW49 support, mcpwm interfaces for apps
|
2015-10-04 01:43:26 +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
|
c3e82f7651
|
Soft battery cutoff, more BLDC Tool parameters
|
2015-08-26 23:12: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
|
ae41d14390
|
Fixed startup boost scaling
|
2015-07-04 20:05:49 +02:00 |
Benjamin Vedder
|
d07d65a5ca
|
USB send mutex fix and some detect experimentation
|
2015-06-26 21:45:28 +02:00 |
Benjamin Vedder
|
24380c3fc0
|
New hall sensor implementation with hybrid mode and connection/order auto detection
|
2015-06-19 23:38:46 +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
|
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
|
607e99d211
|
Configuration over CAN, first implementation of position control, more configuration options
|
2015-04-27 00:02:32 +02:00 |
Benjamin Vedder
|
bc0415c1bb
|
First implementation of DC motor support
|
2015-04-12 18:23:17 +02:00 |
Benjamin Vedder
|
ace760a4fd
|
Phase advance bug fix and default configuration change
|
2015-02-24 21:38:53 +01: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 |