Commit Graph

422 Commits

Author SHA1 Message Date
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
Benjamin Vedder 9ad604247d Updated changelog and minor fixes 2021-03-26 17:58:21 +01:00
Benjamin Vedder 8b9e3bf93f Offset calibration improvements 2021-03-24 13:09:05 +01:00
Benjamin Vedder 3b4e601f61 Offset calibration update 2021-03-22 12:13:19 +01:00
Benjamin Vedder bdb7b0bf7b Added KTY84 temp sensor support 2021-03-17 11:54:42 +01:00
Benjamin Vedder 89c4d712e8 HFI-Start fixes 2021-03-13 15:41:57 +01:00
Benjamin Vedder c82346b42e Added HFI start sensor mode 2021-03-13 11:42:23 +01:00
Benjamin Vedder e877c43158 Added CAN ID to BMS packet 2021-03-04 10:34:39 +01:00
Benjamin Vedder 8900c41c34 First phase filter and offset calibration attempt 2021-02-28 20:36:02 +01:00
Benjamin Vedder ecb43e70bb Cleanup 2021-01-13 21:51:55 +01:00
Jeffrey M. Friesen 57a13ec2da cleanup merge 2021-01-13 09:05:16 -08:00
Jeffrey M. Friesen 8f703dace0 merge 2021-01-13 08:57:36 -08:00
Jeffrey M. Friesen d75069615c Merge remote-tracking branch 'upstream/master' into dev_fw_5_03 2021-01-11 13:51:52 -08:00
Jeffrey M. Friesen bddbbadc98 Added HWE Conf for 60D+ 2021-01-11 12:26:47 -08:00
Benjamin Vedder 3f670137e2 Rebuild firmwares and disabled test version flag 2021-01-11 12:19:10 +01:00
Jeffrey M. Friesen 1b67f3efaf Added build script for 60D+ 2021-01-05 12:36:52 -08:00
Jeffrey M. Friesen 6a3dfb8526 Patched bug with gpio AF in uart 2021-01-05 12:30:41 -08:00
Jeffrey M. Friesen e862f29298 Re-wrote uart driver a bit 2021-01-05 09:39:45 -08:00
Jeffrey M. Friesen f549090a03 Merge remote-tracking branch 'upstream/dev_fw_5_02' into dev_fw_5_02 2020-12-27 13:56:12 -08:00
Jeffrey M. Friesen 38fd15482e started adding 60D plus changes 2020-12-27 13:56:07 -08:00
Mitch Lustig 24e190c66c Merge branch 'dev_fw_5_02' into little_focer 2020-12-25 03:51:01 -08:00
Benjamin Vedder 64ed0df71a Only set one hw active and increase beta version number 2020-12-24 14:11:54 +01:00
Benjamin Vedder 4d73ba9bc6
Merge pull request #245 from Mitchlol/cfoc2_1.0
Add Cheap Focer 2 Hardware
2020-12-24 13:42:20 +01:00
Frank Severinsen 5eb935f3ce WIP, Current status DAC output 2020-12-22 00:24:19 +01:00
Mitch Lustig 7e72bda93c Merge branch 'dev_fw_5_02' into cfoc2_1.0 2020-12-16 02:34:13 -08:00
Mitch Lustig 5b36bc9538 Little bit of cleanup 2020-12-15 22:53:48 -08:00
Mitch Lustig 7458fdae10 Merge branch 'dev_fw_5_02' into little_focer 2020-12-14 23:41:24 -08:00
Mitch Lustig 7b81cfbf5b Add little focer 2020-12-14 23:40:58 -08:00
Benjamin Vedder cd513297d8 Added 100K CAN-baudrate 2020-12-15 00:27:58 +01:00
Benjamin Vedder fefb2b7d10 Set PAS pins to UART RX and TX if they are undefined, made PAS config serialization more compact, added PAS to changelog 2020-12-09 19:37:16 +01:00
Mitch Lustig 21f61c84ed Merge branch 'dev_fw_5_02' into cfoc2 2020-12-08 15:02:49 -08:00
Benjamin Vedder 66b4d8f56d Added FOC D axis controller gain scaling at max modulation 2020-12-06 21:33:08 +01:00
Mitch Lustig 8570b5fa14 Merge branch 'dev_fw_5_02' into cfoc2 2020-12-05 00:22:28 -08:00
Benjamin Vedder 55096f93cc Added UAVCAN raw throttle modes 2020-12-04 17:54:22 +01:00
Marcos Chaparro 50bc55e487 MT6816 SPI encoder support
This encoder needs x2 16bit SPI transfers so the hardware SPI peripheral
was used to run SCLK at 10MHz and reduce the ISR duration.

Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2020-11-30 19:12:58 -03:00
Benjamin Vedder b7b0182856 CAN fixes, renamed HD to HD60, fixed multiturn position control 2020-11-18 14:26:55 +01:00
Mitch Lustig e8d3e1c819 Merge branch 'dev_fw_5_02' into cfoc2 2020-11-06 09:39:53 -08:00
Benjamin Vedder af7cd36cb8 Added hall sensor interpolation ERPM config option 2020-10-22 08:37:32 +02: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
Mitch Lustig 268251fa69 Merge branch 'dev_fw_5_02' into cfoc2 2020-09-18 21:49:33 -07:00
Mitch Lustig fbe78dfe93 Add CFOC2 2020-09-18 21:47:00 -07:00
Benjamin Vedder f560f27871 Merge branch 'master' into dev_fw_5_02 2020-08-13 13:54:16 +02:00
Benjamin Vedder 2078dc1c43 added 140/300 hw and comm_can fix 2020-08-13 13:53:29 +02:00
Jeffrey M. Friesen 27ec82d785 set default build back to vesc 6 2020-08-10 09:29:32 -07:00
Frank Severinsen 5a52405a78 include default HW 2020-07-21 10:55:31 +02:00
Frank Severinsen 3acbfffa26 added custom HW file, support for ID pins, and fixed circular include 2020-07-21 10:54:04 +02:00
Benjamin Vedder 0b6ccb17f9 some cleanup 2020-07-21 08:50:09 +02:00
Benjamin Vedder 22b7eb8ce5 More blackmagic support and rebuilt firmwares 2020-07-06 17:20:45 +02:00
Benjamin Vedder 561e29cd36 fixed conf_general again 2020-07-02 12:42:49 +02:00
Benjamin Vedder 4adc989da7 Fixed blackmagic UICR bug, updated changelog and rebuild script 2020-07-02 12:39:54 +02:00
Benjamin Vedder 960cd3b992 Some updates to MTPA PR 2020-06-17 13:55:35 +02:00
Jeffrey M. Friesen 6d2e0831ac switch led ordering on gpio 2020-06-08 16:02:44 -07:00
Benjamin Vedder b1915b06a7 Some updates for PRs 2020-06-03 10:52:55 +02:00
Benjamin Vedder 6196805d8c Added CHUK_CTRL_TYPE_CURRENT_BIDIRECTIONAL, some fixes on last PR 2020-05-03 22:35:37 +02:00
Peemouse f6d7ed1fd2 Add COMM_GET_MCCONF_TEMP command 2020-05-01 15:22:09 +02:00
Benjamin Vedder 36c56b38fc Updated changelog and version + test version numbers 2020-05-01 09:45:32 +02:00
Benjamin Vedder 80fffdea73 Fixed PPM bug in previous release 2020-04-27 14:23:49 +02:00
Benjamin Vedder b2bab06172 Turned off test build flag 2020-04-27 10:04:44 +02:00
Benjamin Vedder ef4ebfde93 Allow throttle in opposite direction even after passing speed limit for PPM and VESC Remote apps 2020-04-26 11:48:55 +02:00
Benjamin Vedder ee76eb4f09 Ignore FW update commands forwarded to the second motor on dual hardware 2020-04-25 17:54:12 +02:00
Benjamin Vedder 8b6f0680e4 Added HW60_MK4 support and added 60_MK4 and 75_300_R3 to build script 2020-04-24 20:48:21 +02:00
Benjamin Vedder 57c5d04214 Added l_duty_start and set correct motor in mcinterface_timer 2020-04-21 19:58:12 +02:00
Benjamin Vedder d9fc2fc34c Moved IMU calibration to blocking thread 2020-04-19 10:20:48 +02:00
Benjamin Vedder d3c8d0a533 Add 1 to UUID for motor2 on dual motor HWs. 2020-04-17 20:07:03 +02:00
Benjamin Vedder c64e7987bc Use fast speed estimator for hall sensors and encoder 2020-04-16 12:16:02 +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
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
Benjamin Vedder 404bbcf64b Fixed current offset fault bug, added support for multiple IMUs and ICM-20948 2019-05-03 19:55:36 +02:00
Marcos Chaparro 1d08745376 Axiom control board support
Rename paltatech naming to Axiom.

For safety set Axiom default max input voltage to 0.0V so it can not run a
motor without mc_conf being explicitly configured by the user.

Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2019-04-27 08:21:46 -03:00
Benjamin Vedder 0551117351 Some HW cleanup and documentation, fixed DRV8301 fault readout bug, added mpu_read_reg terminal command 2019-04-26 11:07:31 +02:00
Benjamin Vedder 4a9fe93f41 Added support for storing hw-specific and custom variables in EEPROM 2019-04-19 10:42:43 +02:00
Benjamin Vedder e09bc7ce22 Increased version number and updated configuration signatures 2019-04-14 07:44:55 +02:00
Maximiliano Cordoba 4a94d0ec4c Add command to connect a virtual motor with configurable parameters
This commit adds a motor model running within the vesc firmware,and
from the vesc terminal a user or a test script can set the
mechanical load torque, inertia, phase resistance, Lq and Ld phase
inductances (this generic model includes IPM motors), flux linkage
and battery voltage.

Virtual motor parameters set at the command line should match with
vesc configuration, for example phase resistance, inductance and
flux linkage should match and have the correct observer gain.
Observer works with the virtual motor, with some hiccups during
startup
For solid results its better to use sensored mode. If vesc is
configured to use an SPI encoder the virtual motor phase angle
will be injected as an encoder angle readout.

For safety PWM outputs are disabled during simulation.

Signed-off-by: Maximiliano Cordoba <mcordoba@powerdesigns.ca>
2019-04-06 10:36:00 -03:00
Benjamin Vedder 1161f8417c Added SWD programming support (based on Black Magic Probe) and open loop duty cycle control 2019-03-31 10:49:18 +02:00
Benjamin Vedder 39bb8a6b09 FW 3.53: Limit foc_current_filter_const range, 1Mbit/de NRF speed, lower detect f_sw for resistance, no temp_comp by default 2019-03-20 22:46:36 +01: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 35c1c72ab4 Commands restructuring for thread safety, 75/300 vreg fix, fixed relative current commands 2019-03-04 19:23:38 +01:00
Benjamin Vedder 01e72eb555 Autogenerated config parsing with signatures, fixed previous PRs 2019-03-01 21:36:58 +01:00
Benjamin Vedder f9ce429447 Ramping updates 2019-03-01 17:18:07 +01:00
Benjamin Vedder c76942009b Some fixes after the merge 2019-02-19 18:55:18 +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 80c34d17f6 Add conf_general_calculate_deadtime declaration
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2019-02-01 07:03:37 -03:00
Marcos Chaparro 9652231edb Allow to run PWM at frequencies multiples FOC loop to support applications with PWM running at 100+kHz.
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2019-01-30 00:33:56 -03:00
Benjamin Vedder 43c3bbaf91 FW 3.40: Added vesc id to mc_values 2018-07-23 15:43:58 +02:00
Benjamin Vedder a20c35b338 FW 3.39: AUX pin support, some refactoring 2018-07-06 21:20:54 +02:00
Benjamin Vedder beea1c8604 FW 3.38: Fixed temperature limit bug 2018-04-22 12:13:08 +02:00
Benjamin Vedder 92a54246f0 DRV and terminal refactoring, DRV8320 updates 2018-04-14 16:28:51 +02:00
Unknown f740900a72 fixed some minor merge errors 2018-04-06 23:46:35 +02:00
Unknown 5d9cc774ab added das_mini and DRV8320 support 2018-04-05 14:20:17 +02:00
Benjamin Vedder 8503444672 Added MINI4 hw, added 75_300 built fw 2018-04-04 23:08:55 +02: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 bf27cb673e Removed software servo driver, fixed hw servo driver to work with all hardwares 2018-02-28 10:22:25 +01:00
Peemouse 29c771d7c5 v3.35 - Add option to power NRF module off 2018-02-17 17:59:21 +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 47c0826c5e Fixed CAN baudrate update 2017-11-08 22:04:56 +01:00
Benjamin Vedder 5348662197 FW 3.32: Configurable CAN baud rate 2017-11-08 14:07:35 +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 cf2502c268 Changed FW version number to FW 3.30 2017-10-20 20:07:17 +02:00
Benjamin Vedder d073622fff Disabled throttle limit scaling 2017-09-21 21:12:09 +02:00
Andres Vahter 73525868d6 fix & typo in conf_general.h 2017-09-07 13:35:08 +03: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 bb2bfa3b9c FW 3.9: Final float serialization update, new option to invert motor direction, UUID readout 2016-11-06 18:14:06 +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 ed61c4d332 FW 2.18: Better FOC sensorless startup, app adc safety fix 2016-05-19 19:24:01 +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
Benjamin Vedder 08a27cfbbd FW 1.16: Hall sensor position control, brake at 0RPM setpoint in FOC, FOC parameter detection fix 2016-02-24 21:19:44 +01: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
Benjamin Vedder 02f140e335 FW 2.11: Refactoring, dead time comp fix for smoother braking when the speed is zero 2016-01-30 15:57:51 +01:00
Benjamin Vedder e6ea308a48 FW 2.10: FOC hybrid hall sensor support with interpolation 2016-01-27 23:57:23 +01:00
Benjamin Vedder 90986c31de FW 2.9: NRF updates (nunchuk has to be updated too), nunchuk command, small can fix, custom app data command 2016-01-24 13:44:51 +01:00
Benjamin Vedder cc17142264 Encoder position control fix 2015-12-29 02:37:09 +01:00
Benjamin Vedder 42c1b79a08 FW 2.7: Better encoder support, small UART and CAN fixes, NRF commands preparation 2015-12-28 01:50:23 +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 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 116ef561d0 HW 4.10 support 2015-10-04 20:52:36 +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 383208bdbd Nunchuk speed control glitch fix 2015-08-03 23:43:34 +02:00
Benjamin Vedder f032111b9b NRF updates, better servo output support 2015-07-31 23:26:50 +02:00
Benjamin Vedder 23e40634d9 NRF fix 2015-07-11 23:19:18 +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 b44e43edaa Set the correct version number 2015-06-11 01:57:32 +02:00
Benjamin Vedder 43b362f92b Changed default minimum duty cycle 2015-06-03 18:21:09 +02:00
Benjamin Vedder b2af1b2d5b Changed back default configuration 2015-05-20 16:16:45 +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 5a5ccfb4c3 ADC app added, nunchuk RPM filter, FW version added, feedback on appconf and mcconf set 2015-05-04 23:25:43 +02:00
Benjamin Vedder 85f0073105 PPM updates and safe start implementation 2015-05-01 01:57:55 +02:00
Benjamin Vedder d8830a2543 Option to switch CAN off, optimization to send short forwarded commands over CAN in just one frame 2015-04-27 20:43:02 +02:00
Benjamin Vedder 5b4b1175f5 Fixed spelling mistake 2015-04-27 10:26:37 +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 3b43648803 Show battery level on ws2812 LEDs 2015-03-07 14:56:25 +01:00
Benjamin Vedder 3b2703b192 Component values overridable and voltage divider change compensation 2015-01-22 11:48:38 +01:00
Benjamin Vedder 8dc8ffe2c7 Nunchuk ramping, ws2811 configurable pin (Requieres latest BLDC_Tool) 2014-12-20 12:52:38 +01:00
Benjamin Vedder bc4409ba14 Full brake current estimation (NOTE: Extra parameter added, so update BLDC_Tool) 2014-12-13 01:31:54 +01:00
Benjamin Vedder 9ff0f99593 WS2811/WS2812 LED driver to use LEDs for turn and brake lights, etc 2014-12-09 00:11:29 +01:00
Benjamin Vedder 33c81db930 Deadband fix, configurable temperature limit 2014-11-25 21:05:46 +01:00
Benjamin Vedder d9c5ed7ac3 Added hw 46 and implemented an I2C reset function 2014-11-23 20:29:36 +01:00
Victor Stensson a367058998 Added victors HW 2014-10-25 21:13:16 +02:00
Benjamin Vedder f7cda79d1b HW45-implementation, temp-protection, nunchuk-fix, i2c-fixes 2014-10-19 19:31:06 +02:00
Benjamin Vedder 6d4e55051c Prepared applications for runtime configuration 2014-09-17 21:05:57 +02:00
Benjamin Vedder 58889d6543 Hall sensor fixes and sample send delay removal after fixing a bldc_tool problem 2014-09-15 20:48:46 +02:00
Benjamin Vedder 2cc53de346 Major USB communication protocol re-write and beginning runtime motor parameter configuration 2014-09-14 23:08:22 +02:00
Benjamin Vedder d205d2689a Added HDD motor configuration 2014-08-16 16:12:14 +02:00
Benjamin Vedder 51f65fb7c6 New motor configurations 2014-08-15 23:14:21 +02:00
Benjamin Vedder eeff8543ea New printf implementation 2014-08-15 22:17:06 +02:00
Benjamin Vedder 2c7017c3a3 Voltage terminal command and ebike motor configuration 2014-08-14 00:23:32 +02:00
Benjamin Vedder edaf1ca02e Updated the equations and parameters for the flux integrator 2014-08-11 22:38:50 +02:00
Benjamin Vedder d87247bfee Timer sync updates 2014-08-06 22:26:53 +02:00
Benjamin Vedder 0a02f2e017 Added an uart communication application and extended the packet handler 2014-07-19 11:41:16 +02:00
Benjamin Vedder 1b4feb77ca Some hall sensor fixes 2014-06-29 14:23:39 +02:00
R.E. Wolff 6a19c24154 added bitwizard harware config file. 2014-06-28 17:21:51 +02:00
Benjamin Vedder a54a79a4d4 Removed some hard-coded parameters 2014-06-26 19:41:57 +02:00
Benjamin Vedder da23d6274f RPM limit by negative torque option 2014-06-09 12:35:50 +02:00
Benjamin Vedder ff7621768e Sten updates 2014-06-07 21:11:02 +02:00
Benjamin Vedder 0bfe9bce9a Watchdog, a bugfix and current control improvements 2014-05-08 23:44:27 +02:00
Sven 1539184579 Do not use the missing file (will add it later) 2014-05-06 18:54:42 +02:00
Sven e605570874 Sten updates 2014-05-06 18:50:41 +02:00
Sven dd864e0cc3 A RCCAR bug fix 2014-05-04 16:05:10 +02:00
Sven c743f6d56b Stenupdates 2014-05-01 21:26:05 +02:00
Benjamin Vedder f4b638ed04 Added an application directory and converted some parts of the main function to applications 2014-04-19 00:09:46 +02:00
Benjamin Vedder 90047c8672 Changed a parameter to avoid confusion 2014-04-14 23:03:47 +02:00
Benjamin Vedder 1b0a72a07b Some refactoring 2014-04-14 23:02:45 +02:00