Thorlase 2026

This FW is based on the Texas Instrument example https://www.ti.com/tool/download/TIDCFU0

It is made for TEC-controller-qbrick_V1r2 board level TEC controller. The board is shipped programmed and the T_mysetpoint = 25.0; // Celsius. To operate a 14 pin and 10 pin Butterfly modules at the standard conditions no programming is needed.  

The changes relative to TIDCFU0 are the following.
The sign of the error is inverted to give negative feedback, cooling when too hot and vice versa.
A differential control term is added to make it a full PID controller. It is tuned conservatively as a slow integrating dominated PID that is stable for most laser modules. 
The lookup calibration table is changed to use the onboard voltage reference and is assuming typical 10k ohm NTC found in 14 pin and 10 pin Butterfly modules.



