Commit Graph

572 Commits

Author SHA1 Message Date
Benjamin Vedder 0c3c786ad7
Merge pull request #142 from Jfriesen222/dev_fw_5_00
Dev fw 5 00
2020-03-17 19:59:16 +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
Benjamin Vedder ad2828cc30 Updated readme 2020-03-17 09:40:38 +01:00
Benjamin Vedder a06f09e7f2 Observer gain scaling update, print correct motor on faults, updated timer terminal command 2020-03-17 09:38:09 +01:00
Jeffrey M. Friesen fa1e6c1841 just playing with RGB switch 2020-03-16 20:38:17 -07:00
Jeffrey M. Friesen 36bdbebae3 100D Functioning
Modified hw config of 100D to get running.

Increased delay in drv8323s to improve stability of spi bus (was getting erroneous read/write at anything lower)

added custom settings for drv8323s for things like adjustable gate drive currents and shunt amplifier gains.  Maybe should move to hw conf and do the motor switch from mc_interface.
2020-03-16 19:33:33 -07:00
Jeffrey M. Friesen b96a65ef64 Merge remote-tracking branch 'upstream/dev_fw_5_00' into dev_fw_5_00 2020-03-16 14:58:32 -07:00
Jeffrey M. Friesen cdc35f4207 ignore project config files 2020-03-16 14:58:23 -07:00
Jeffrey M. Friesen 06398a45e8 started adding support for stormcore, needs more work 2020-03-16 14:57:55 -07:00
Benjamin Vedder 7cc7741279 Fixed dual motor three shunt bug 2020-03-16 22:54:38 +01:00
Benjamin Vedder 5219bb36ff Better thread/isr motor selection 2020-03-16 22:42:44 +01:00
Benjamin Vedder fc0de78619 Updated appconf signature for balance app 2020-03-16 20:46:40 +01:00
Benjamin Vedder 84ce74c325
Merge pull request #141 from Mitchlol/Balance_app_sprint_3
Balance sprint 3
2020-03-16 20:35:26 +01:00
Benjamin Vedder 8739b22f3e Stop both motors when saving configurations 2020-03-16 20:22:01 +01:00
Benjamin Vedder 9d6abcd495 Added unity to build script 2020-03-16 20:04:32 +01:00
Benjamin Vedder 52e17059e5 Major restructuring for dual motor support, and added unity hw files 2020-03-16 18:32:39 +01:00
Mitch Lustig 24afd4e6f3 Balance sprint 3
-Can steering based on speed
-Can steering current clamp
-Min rpm for half switch state fault
-Soft mode tuning (pitch angle affinity, setpoint affinity, setpoint limit)
-Reset I value on faults issue #117
-fix startup tiltback
2020-03-15 23:18:34 -07:00
Benjamin Vedder e1c859c894 Current controller windup protection improvement 2020-03-06 22:04:59 +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 8ae52e8bc2
Merge pull request #138 from Mitchlol/balance_app_updates
Balance app updates!
2020-02-27 17:03:42 +01:00
Mitch Lustig 6d29b6741f Use ADC for switches 2020-02-23 13:34:51 -08:00
Mitch Lustig d4f6036de7 Implement nose angle adjustment 2020-02-23 10:23:19 -08:00
Mitch Lustig 2c07512091 Add can bus, 2 wheel steering & stabilization, brake, dead & fault dealy 2020-02-23 00:22:21 -08:00
Benjamin Vedder 906ddb04c6
Merge pull request #130 from Mitchlol/enable_mahony_filter
Enable Mahony IMU filter
2020-02-01 10:12:13 +01:00
Mitch Lustig b295b67d8b Enable Mahony IMU filter 2020-01-31 19:36:00 -08: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 fa6f63970f Removed unused variable 2020-01-28 21:24:32 +01:00
Benjamin Vedder b6949d60dc FW4.00: HFI and many updates, see changelog 2020-01-28 19:46:19 +01:00
Benjamin Vedder 287cabe76f Common motor temperature validity check 2020-01-21 09:13:18 +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 9965bb52d5 Axiom: Full resolver support
Fixes a low level SPI timing bug.
Provide Loss of Signal, Degradation Of Signal and Loss Of Tracking
fault sources, and stats to the 'encoder' terminal command.

Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2020-01-20 11:06:02 -03: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
Benjamin Vedder 9b98afb5a3 Merge branch 'master' of https://github.com/vedderb/bldc 2020-01-20 09:39:38 +01:00
Benjamin Vedder ffbc6eb89b First attempt at HFI 2020-01-20 09:39:33 +01:00
Benjamin Vedder f29275ab3f
Merge pull request #123 from powerdesigns/luna_cycle_BBSHD
Luna cycle BBSHD support
2020-01-20 09:36:16 +01:00
Marcos Chaparro 34632b26e5 BRK: Avoid reassigning a value
Signed-off-by: Marcos Chaparro <mchaparro@paltatech.com>
2020-01-19 15:36:40 -03:00
Marcos Chaparro 356f3db20e Add Break function for instant PWM disable
When enabled, the Break (or BRK) is a mechanism that upon a active
level in the TIMx_BRK pin disables asynchronously the PWM output pins,
achieving fast reaction times when an external fault even happens.
See AN4277.

Signed-off-by: Marcos Chaparro <mchaparro@paltatech.com>
2020-01-19 15:36:40 -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
Kirill Kostiuchenko 8bf645bbdf Motor resistance as polynom parameter used 2020-01-14 22:16:46 +05:00
Kirill Kostiuchenko 539a0ca327 PTC_1K_100C was modified to 25C by mistake, restored 2020-01-14 22:08:19 +05:00
Kirill Kostiuchenko 2fa512b5ed merge 2020-01-14 22:04:02 +05:00
Benjamin Vedder b3ad0be25a Fixed codacy warning 2020-01-12 21:58:35 +01:00
Benjamin Vedder b002e5d78e FW 3.66: Many changes, see changelog 2020-01-12 21:25:21 +01:00
Kirill Kostiuchenko b1a52d3ac0 KTY83/122 motor temp sensor added 2020-01-05 18:24:12 +05:00
Kirill Kostiuchenko 2bf417db03 Priority to custom commands 2019-12-26 08:15:03 +05:00