Benjamin Vedder
e79b942d41
Updated changelog, reduced config size
2023-04-01 12:00:13 +02:00
Marcos Chaparro
f061afa554
Add regen cutoff to prevent overcharging the battery during braking
...
This change helps ensure that the battery remains in good condition, prolongs its overall lifespan and avoids hazardous scenarios of overcharge.
A soft cutoff for the regenerative braking is implemented, in which start and end thresholds should be set in VESC Tool. The end threshold should be set such that the cells don't exceed 4.2v in a typical Li-Ion battery.
Signed-off-by: Marcos Chaparro <marcos@lunacycle.com>
2023-03-30 09:59:33 -03:00
Benjamin Vedder
514ed3727d
Moved to 6.05 beta, attempt at smooth hall sensor transition
2023-03-20 22:10:01 +01:00
Thomas Solatges
4ed731479c
WIP adding sin/cos phase error compensation
2022-12-01 15:50:27 +01:00
Benjamin Vedder
50aa16d200
Added configurable battery level filter
2022-11-24 10:15:36 +01:00
Benjamin Vedder
8a7f5c7b50
Rearranged encoder settings, added custom encoder support
2022-11-19 16:23:07 +01:00
Benjamin Vedder
eee535960b
Use amplitude instead of gain setting for sin/cos encoder
2022-11-18 09:55:40 +01:00
Benjamin Vedder
7ea099732c
Added option to disable motor temp sensor and made it possible to read the temperature adc input from lisp
2022-11-17 21:17:40 +01:00
Teslafly
28260c6cfc
Add tle5012 encoder using software ssc interface
2022-11-15 13:34:30 -06:00
Mitch Lustig
00c03fa5bb
Add Gyro filter
2022-11-15 01:47:52 -08:00
Mitch Lustig
dd7e5f70b5
Split accel filter by axis
2022-10-09 10:27:04 -07:00
Benjamin Vedder
e86f81c7e9
Updated signature and added CAN baud setting to native interface
2022-10-07 17:09:56 +02:00
Vincent Manoukian
413ccdbff1
First impl of bissc.
...
Update the motor signature for VescTools.
2022-10-02 16:33:17 +02:00
Mitch Lustig
1c4d4a88c1
Add accel filter
2022-09-27 21:30:15 -07:00
Benjamin Vedder
35d2dfcff2
App adc button bitfield and cc disable support
2022-09-27 22:33:40 +02: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
Mitch Lustig
2127da0c0f
Balance App: Add I-Term Limiter, Remove D-Term Biquad Filters
2022-09-05 18:44:14 -07:00
Benjamin Vedder
324b3a90ba
Added uavcan status current mode
2022-09-03 13:38:12 +02:00
Zach O'Brien
9c7b0dae2c
Adding support for the AS5x47U encoder.
2022-07-18 14:25:03 -06:00
Dado Mista
20796a66c1
Balance app: dual adc switch (single combined switch) support
...
Support for combining both adc switches into a single one.
Signed-off-by: Dado Mista <dadomista@gmail.com>
2022-07-16 13:54:47 -07:00
Benjamin Vedder
e2b2f91f25
Added saturation compensation modes
2022-05-23 14:42:42 +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
Mitch Lustig
af4bcf68b6
Add cascading PID to the balance app
2022-04-21 00:35:15 -07:00
Benjamin Vedder
4e06fca417
Resolved conflict
2022-04-19 17:29:34 +02:00
Benjamin Vedder
de09850ec0
Congfigurable i2c_bb bitrate
2022-04-19 17:21:19 +02:00
Mitch Lustig
a041a3b952
Add support for configuring IMU onboard filters
2022-04-15 21:31:03 -07:00
Teslafly
a22efa6c90
fix offset on start for 180 mode
2022-04-11 01:02:37 -05:00
Teslafly
0af253693c
update conf and single turn by default
2022-04-09 15:15:24 -05:00
Benjamin Vedder
60bd5aa1dc
Added openloop max current parameter
2022-04-06 12:14:19 +02:00
Benjamin Vedder
e5ed5ee914
Added openloop current boost parameter
2022-04-06 11:30:02 +02:00
Benjamin Vedder
1eb0c1e5ae
Added HFI-method based on coupling between the axes
2022-04-06 00:35:11 +02:00
Benjamin Vedder
3a530ac3f7
App ADC abs min and max voltage limits
2022-04-01 18:43:03 +02:00
Benjamin Vedder
d8e8be51de
Fixed silent hfi current offset, added high performance hfi mode, changed vesc6 current sampling, only use HT interrupt if the currents are first in the ADC vector
2022-03-23 22:26:05 +01:00
Benjamin Vedder
c348120325
High-performance and silent HFI
2022-03-23 15:04:30 +01:00
Benjamin Vedder
6ace516b3f
Added CAN status message 6 with ADC and PPM values
2022-03-13 20:56:26 +01:00
Benjamin Vedder
e9d6fd5842
Use bitfields for CAN-messages and support two different CAN status rates
2022-03-11 18:08:28 +01:00
Benjamin Vedder
4958a91670
Added support for custom NTC and PTC motor temperature sensors
2022-01-24 00:36:53 +01:00
Benjamin Vedder
16385f1706
Renamed compression to lzo, added observer offset parameter
2022-01-12 12:27:45 +01:00
Benjamin Vedder
af55c79a2a
Renamed foc_f_sw to foc_f_zv
2022-01-06 20:44:00 +01:00
Benjamin Vedder
6b076f07f1
updated signature
2021-11-28 10:48:04 +01:00
Benjamin Vedder
5d385c046b
Added UAVCAN raw RPM command
2021-11-24 10:56:45 +01:00
Benjamin Vedder
f6e78a09b6
Fixed measured MTPA mode, send ld_lq_diff detection result
2021-11-21 18:17:40 +01:00
Benjamin Vedder
f1c4e713d7
Added MTPA modes
2021-10-24 18:10:00 +02:00
Benjamin Vedder
98587c961b
Updated inductance calculation, include motor saliency in observer, separate setting for MTPA
2021-10-24 13:25:12 +02:00
Benjamin Vedder
d041761f0e
Updated mcconf signature
2021-10-16 13:01:48 +02:00
Benjamin Vedder
d8a99fd0f1
Inductance and resistance measurement and scaling fixes, various other fixes
2021-10-15 22:25:07 +02:00
Afzal
b1ec844b2f
PAS: add constant torque control type
...
For gearless electric bicycles, riding up the slope and during start,
good torque support from the motor helps the rider ride with less
effort. Pedal assist based on cadence provides higher torque with higher
pedalling speed. In the situations mentioned above, where user naturally
pedals slow, aid from cadence based system is less. On a geared setup,
changing to low gear comes to the rider's help.
Here another control type is provided - Constant Torque, whenever the
rider pedals, motor would provide constant torque. The torque value can
be set using 'PAS max current' setting thus acting as fine PAS assist
level.
This type of control is similar to 'Basic PAS, constant throttle' of
'PAS Control Schemes' [1], with the difference that throttle setting
in that article corresponds to speed, while here torque.
Also riding experience on some of the popular (not high end) e-bicycles
having PAS indicates they might be having this kind of control
internally.
[1] https://ebikes.ca/learn/pedal-assist.html
2021-10-05 13:05:31 +05:30