Benjamin Vedder
cf6723ba25
Redistributed some memory
2022-11-17 10:03:35 +01:00
Benjamin Vedder
4ea2a4f53b
Removed some duplication using goto
2022-11-12 10:44:50 +01:00
Euan
d4ffa77413
Update to support TeamTriforceUK hardware
...
Add 25MHz external clock option
Add Low voltage output fault handling
Add support for A50S High gain (HG) versions
Add support for A200S V3 and V4.
Move A200S V2 to its own folder.
2022-11-08 23:43:05 +00:00
Benjamin Vedder
7cacf99e09
Some cleanup
2022-11-08 18:21:06 +01:00
Benjamin Vedder
f8dc1207c9
Some cleanup and SO tempting to use goto due to the obvious duplication
2022-11-08 18:13:27 +01:00
Benjamin Vedder
033ca5df49
Merge pull request #533 from TechAUmNu/Improvements
...
FOC fault handling, terminal usability and flux linkage detection improvement.
2022-11-08 17:48:37 +01:00
Benjamin Vedder
ed4c54059f
Start of GNSS-support
2022-11-08 17:47:53 +01:00
Benjamin Vedder
226c40cdb0
Merge branch 'master' into Improvements
2022-11-08 17:37:21 +01:00
Euan Mutch
8282fbd7f4
Fix identation
2022-11-08 11:57:39 +00:00
Euan Mutch
414505ae0b
Undo header change.
2022-11-08 11:52:59 +00:00
Euan Mutch
d06fce3ee4
Interface commands for openloop
2022-11-08 11:46:08 +00:00
Euan Mutch
7bf78592f7
Correct spaces to tabs, remove fault checks from low level funcs.
2022-11-08 10:46:35 +00:00
Benjamin Vedder
70c58f2b7c
First CAN log support, added foc voltage and current extensions
2022-10-23 18:35:26 +02:00
Benjamin Vedder
cec05e8322
Added pid offset and resistance measurement extensions, made resistance measurement ramp faster
2022-10-02 09:45:56 +02:00
Euan Mutch
f7a2e4c621
Fault handling, Terminal improvements and better flux linkage.
...
Add fault handling to all functions that touch the motor.
Improve terminal usability by echoing commands and giving feedback on faults and missing / invalid arguments. Improve flux linkage measurement by increasing switching frequency and using the measured resistance and inductance to set the kp & ki.
2022-09-27 21:54:50 +01:00
Benjamin Vedder
114fc7aa53
Added PT1000 temperature sensor support
2022-09-23 11:26:31 +02:00
Benjamin Vedder
765ed4d3d4
Added BMS limit mode
2022-09-19 23:47:20 +02:00
Benjamin Vedder
2d41b79634
Disable phase filter fault by default as it triggers too easily
2022-09-03 09:41:50 +02:00
Euan
bab1ae1eb3
Revert "Correct location of current limit truncate for openloop. Previously limit was not respected."
...
This reverts commit 1af841f75c
.
2022-08-21 17:13:48 +01:00
Euan Mutch
1af841f75c
Correct location of current limit truncate for openloop. Previously limit was not respected.
2022-08-19 21:15:12 +01:00
Euan Mutch
2620eed66c
Fix typo on openloop current limit
2022-08-19 20:36:29 +01:00
Euan
fb3a1e8f63
Add fault check to openloop commands.
...
Stops openloop commands from being run when a fault is active.
2022-07-24 21:15:08 +01:00
Zach O'Brien
9c7b0dae2c
Adding support for the AS5x47U encoder.
2022-07-18 14:25:03 -06:00
Benjamin Vedder
734df61aab
Fixed beep sound generator
2022-06-17 12:04:13 +02:00
Benjamin Vedder
7982a32916
Added foc_beep command to lisp
2022-06-17 10:43:19 +02:00
Benjamin Vedder
cdf4a32a46
make local copy of fault data in case it is overwritten in the interrupt
2022-06-09 02:32:27 +02:00
Benjamin Vedder
5483947f46
Dual motor current filter support
2022-06-08 14:00:43 +02:00
Benjamin Vedder
b4d96c87ff
Merge pull request #497 from avlasic/fault_fix2
...
Don't trigger current faults before dc cal is done
2022-05-31 22:36:43 +02:00
Benjamin Vedder
582bdc7080
Speed PID update to work better with propellers
2022-05-31 15:28:06 +02:00
Benjamin Vedder
554a9f6f2b
Dual parallel: use highest temperature
2022-05-28 17:11:48 +02:00
Benjamin Vedder
e2b2f91f25
Added saturation compensation modes
2022-05-23 14:42:42 +02:00
Benjamin Vedder
465a801076
Include integrator in current control output one cycle earlier
2022-05-23 11:32:55 +02:00
Benjamin Vedder
09266def29
Added start_curr_dec parameter and decreased mcconf serialization size
2022-05-22 10:33:33 +02:00
Benjamin Vedder
e025e177e0
Observers, observers, observers
2022-05-21 22:54:12 +02:00
Benjamin Vedder
4a8bb6a399
Added option to disable phase filter fault code
2022-05-19 03:12:07 +02:00
Andrej Vlašić
80de3e233a
Don't trigger current faults before dc cal is done
2022-05-16 10:30:45 +02:00
Benjamin Vedder
b900ffcde5
Orginized files
2022-05-15 11:55:34 +02:00