rpasichnyk
0d2610c9bc
Prevent CAN ID collision with DieBieMS / FlexiBMS
2021-04-21 08:55:52 +02:00
Benjamin Vedder
36d32ed96d
Merge pull request #291 from Mitchlol/balance_4.2
...
Balance 4.2
2021-04-20 15:53:12 +02:00
Benjamin Vedder
80ba514187
Merge pull request #292 from powerdesigns/hw_brake_override
...
app adc: allow hardwares to override the brake input
2021-04-20 15:52:42 +02:00
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
Mitch Lustig
187621d530
Add confgenerator
2021-04-17 18:20:51 -07:00
Mitch Lustig
c9ed013f13
Fix low speed Full switch faults, Fix Booster, Improve turn/torque tilts
2021-04-17 18:05:24 -07:00
Mitch Lustig
c30a4fe0dc
Merge remote-tracking branch 'vedderb/dev_fw_5_03' into balance_4.2
2021-04-17 17:07:43 -07:00
Benjamin Vedder
14b25e9aa4
Added foc_fw_q_current_factor
2021-04-15 10:04:28 +02:00
Benjamin Vedder
ac360ae7f6
Give D-axis current priority when limiting current, added mcpwm_foc_set_current_off_delay
2021-04-14 22:29:50 +02:00
Benjamin Vedder
89d854f4c4
Added Finns app
2021-04-12 19:46:37 +02:00
Benjamin Vedder
998bc17ba7
Cleanup
2021-04-12 09:48:29 +02:00
Benjamin Vedder
ca8e7b4f05
Merge pull request #271 from CTSchorsch/dev_05_03
...
- Add driver for SX1278 LoRa boards, eg. HopeRF RFM95W (driver by Woj…
2021-04-12 09:35:38 +02:00
Benjamin Vedder
e784f9d848
Merge branch 'master' into dev_fw_5_03
2021-04-12 09:24:29 +02:00
Benjamin Vedder
31a313129d
Merge pull request #285 from supercrazysam/supercrazysam-readme-gcc-update
...
Added installation guide for recommended stable gcc version
2021-04-12 09:23:45 +02:00
Sam Shum
9f4e7150c9
Update README.md
2021-04-12 00:01:30 -04:00
CTSchorsch
3d8243fa1b
connect lora to packet/command structure
...
test with COMM_GET_VALUE ok
2021-04-11 20:22:54 +02:00
Benjamin Vedder
3a9d3bfe10
Remove old define
2021-04-11 19:44:31 +02:00
Benjamin Vedder
3d57ed2f06
Cleanup
2021-04-11 19:38:55 +02:00
Benjamin Vedder
9a00234346
Merge pull request #282 from powerdesigns/ipm_bemf_decoupling
...
bemf_decoupling: improved math for IPM motors.
2021-04-11 19:36:35 +02:00
Benjamin Vedder
55dba9a79d
Made odometer persist after firmware updates, added hw runtime counter
2021-04-11 19:36:11 +02:00
Benjamin Vedder
d35e4940e3
Merge pull request #283 from powerdesigns/speed_pid_loop_antiwindup
...
speed_pid: improved integral term antiwindup.
2021-04-11 17:15:47 +02:00
Maximiliano Cordoba
c7819a8722
speed_pid: improved integral term antiwindup.
...
-we feedback the output saturation to the integral term to improve the antiwindup mechanism.
Signed-off-by: Maximiliano Cordoba <mcordoba@powerdesigns.ca>
2021-04-11 11:59:22 -03:00
Maximiliano Cordoba
fbd35f15ad
bemf_decoupling: improved math for IPM motors.
...
-In IPM motors (ld_lq_diff > 0) Ld affects in the Q axis, and Lq affects in the D axis.
Signed-off-by: Maximiliano Cordoba <mcordoba@powerdesigns.ca>
2021-04-11 10:51:09 -03:00
CTSchorsch
aa4e0567a7
git trouble
2021-04-11 12:18:54 +02:00
Benjamin Vedder
1469e2568d
Field weakening updates
2021-04-11 11:31:25 +02:00
CTSchorsch
10fa9f9550
bugfixes
2021-04-11 11:05:41 +02:00
Benjamin Vedder
dfc42defb1
Removed unneeded allocation and copy
2021-04-11 09:42:03 +02:00
Benjamin Vedder
a1a1d727f9
Merge branch 'RadinnAB-batt_cutoff' into dev_fw_5_03
2021-04-11 09:38:42 +02:00
Benjamin Vedder
9dff7b42c4
Resolved conflict
2021-04-11 09:38:33 +02:00
Benjamin Vedder
350d7aef49
Merge pull request #281 from powerdesigns/current_antiwindup_simplified
...
mc_pwm_foc: simplified math in current PI antiwindup
2021-04-11 09:33:00 +02:00
Maximiliano Cordoba
31d14e1c4e
mc_pwm_foc: simplified math in current PI antiwindup
...
Signed-off-by: Maximiliano Cordoba <mcordoba@powerdesigns.ca>
2021-04-10 20:02:15 -03:00
Benjamin Vedder
b49606be4c
Updated changelog and beta number
2021-04-10 16:41:20 +02:00
Benjamin Vedder
1da747e50f
Use filtered currents for cross bemf decoupling
2021-04-10 16:31:02 +02:00
Benjamin Vedder
b8fa20abde
Updated changelog
2021-04-10 11:39:52 +02:00
Benjamin Vedder
feb1be5fbd
First attempt at field weakening and current controller windup protection improvement
2021-04-10 11:37:35 +02:00
dnordahl83
33da036106
commands: Added COMM_GET_BATTERY_CUT.
...
This command returns a buffer with the following parameters:
[type, scale, size]
* cut off start [float, 1e3, 4b]
* cut off end [float, 1e3, 4b]
2021-04-09 14:31:23 +02:00
Benjamin Vedder
5e02197459
Increased 75/300 dead time
2021-04-08 22:34:23 +02:00
Benjamin Vedder
101f293389
Added new BMS counters
2021-04-08 22:34:01 +02:00
Benjamin Vedder
2848ec1b54
Merge branch 'dev_fw_5_03' of https://github.com/vedderb/bldc into dev_fw_5_03
2021-04-08 18:09:56 +02:00
Benjamin Vedder
1aef262cf1
Added more BMS datatypes
2021-04-08 18:09:53 +02:00
Benjamin Vedder
1f1e1e99fb
Merge pull request #276 from Mitchlol/balance_4.1
...
Balance 4.1
2021-04-08 18:07:54 +02:00
Mitch Lustig
273f067db3
Code Cleanup
2021-04-07 22:42:21 -07:00
Mitch Lustig
af941b3182
Little cleanup
2021-04-07 00:30:37 -07:00
Benjamin Vedder
a9c2a4fcc9
Added ER application
2021-04-06 14:12:57 +02:00
Mitch Lustig
08f27f433c
Add turn tilt
2021-04-06 02:18:32 -07:00
CTSchorsch
2fe6c1344f
- change filenames, lora/lora.c as central file for all lora drivers
...
- SX1278.x as first driver for e.g. RFM95W module
2021-04-04 09:28:20 +02:00
Mitch Lustig
175ed9e21c
Merge branch 'dev_fw_5_03' into brc_mod_1
2021-04-01 20:57:44 -07:00
mattbutlar
fae1466601
Add comment on value mapping
2021-04-01 14:35:57 -07:00
mattbutlar
bb7b049d86
Remove loop timing test
2021-04-01 09:53:03 -07:00
CTSchorsch
4f048442d0
cleanup spaces
2021-03-31 19:46:31 +02:00