Thomas Kolb
c87a72f988
Slower transition from CV voltage to FLT voltage
2 years ago
Thomas Kolb
1d5b7e74ff
Reinitialize MPPT whenever it becomes active
2 years ago
Thomas Kolb
3806536c07
Give some background for the MPP_TO_IDLE theshold
2 years ago
Thomas Kolb
ff4133232b
Fixed warnings related to mpp_state
2 years ago
Thomas Kolb
efca8d7e1a
Go to idle state if MPPT power is too low
2 years ago
Thomas Kolb
c00f9f2f74
Tuned generic thresholds
2 years ago
Thomas Kolb
5e1bfc2d78
Made variable names more consistent
2 years ago
Thomas Kolb
a1913be97b
Removed dynamic MPPT PWM limit
2 years ago
Thomas Kolb
a1fb967d1b
Send ADC values only in debug builds
3 years ago
Thomas Kolb
7dd084fe63
Stay awake for 1s to ensure clean measurements
3 years ago
Thomas Kolb
550a7dd1e2
Smooth transition from MPPT to constant voltage
3 years ago
Thomas Kolb
6f591ab2f7
Added a thermal shutdown state
3 years ago
Thomas Kolb
5e63547f15
Makefile: added JLink targets
3 years ago
Thomas Kolb
d41c63f948
Added new float state; Some fixes
...
Typical charge cycle: MPPT until 14.4V, then switch to CV and hold
14.4V. After 2 hours switch to float charging at 13.8V.
3 years ago
Thomas Kolb
c3c33b3753
Fixed some warnings
6 years ago
Thomas Kolb
4df43a99ee
Read out the stm32 temperature sensor
...
The value is output using
1. the LCD
2. the UART
The CPU load calculation has been removed/commented out, as it is no
longer used.
6 years ago
Thomas Kolb
978337d0a7
Reduced maximum wakeup intervals
6 years ago
Thomas Kolb
cc2ec455bb
Added pycache to gitignore
6 years ago
Thomas Kolb
88bf94f756
Calculate current using linear fit from measurements
6 years ago
Thomas Kolb
ba11fa287c
Current calibration of v1.1 (hopefully the final one)
6 years ago
Thomas Kolb
c11cb28558
pwm variable now contains actual timer value
...
This also causes the actual PWM value to be output over UART.
6 years ago
Thomas Kolb
9b4857df1d
Tested and improved CC mode
6 years ago
Thomas Kolb
958d82b414
Calibrate parameters for v1.1
6 years ago
Thomas Kolb
f698413f8d
ADC: adapt to new libopencm3 + added calibration
6 years ago
Thomas Kolb
63fdc2797b
added libopencm3 as submodule
6 years ago
Thomas Kolb
98c029ca6f
Constant Voltage tuning
6 years ago
Thomas Kolb
f909f26ea7
Implemented load management
6 years ago
Thomas Kolb
8ed36f6770
Some MPP tuning
6 years ago
Thomas Kolb
11d0878864
Reset PWM limit to maximum when reaching minimum
6 years ago
Thomas Kolb
a17313246d
Fixed mppMaxPWM limits
6 years ago
Thomas Kolb
6fc5a0e2c9
Some parameter tuning
6 years ago
Thomas Kolb
9e353c3248
Limit max. PWM value in MPP if power is lost too often
6 years ago
Thomas Kolb
56b44e8d1e
Replaced exponential avg. by block-average for MPP measurement
6 years ago
Thomas Kolb
0e59b70465
Show averaged values in UART output
6 years ago
Thomas Kolb
9dc1ab928c
New approach to MPP tracking
...
Test multiple points for PWM, switch to the one which gives the most
power, repeat. If two consecutive tests give the same point, hold that
for some time or until power changes too much.
6 years ago
Thomas Kolb
473253f5ab
Some MPPT tweaks (not final yet)
6 years ago
Thomas Kolb
c93c3d41fb
Code cleanup
6 years ago
Thomas Kolb
dac3d34691
State transition tuning
6 years ago
Thomas Kolb
2246ac0290
Print log data over UART
6 years ago
Thomas Kolb
71c7cb57be
Deep sleep cosmetics
6 years ago
Thomas Kolb
d313860804
Enable RTC and deep sleep (stop mode)
6 years ago
Thomas Kolb
6fc7e27c0b
State tuning; safer startup
...
- Added some initial values for variables
- Prevent too fast state switching to bootstrap (only bootstrap 5
seconds after state change)
- Made threshold voltage for switching from MPP to CV different from CV
constant voltage
6 years ago
Thomas Kolb
df0db26122
Increased target voltage
6 years ago
Thomas Kolb
cfcbbe5269
Tuning, use idle state, some power saving
6 years ago
Thomas Kolb
33dea2e7a4
First implementation of MPP tracking
6 years ago
Thomas Kolb
97db9c24db
Implemented Constant Current mode
6 years ago
Thomas Kolb
3ef6872e03
Implemented constant voltage regulator
6 years ago
Thomas Kolb
7b02652cad
Implemented bootstrap and switching
6 years ago
Thomas Kolb
b8f8b5f6a2
Added simple pin mapping file
6 years ago
Thomas Kolb
809ed13e46
Cleaned up old comments
6 years ago