So a little bit of background. We´re doing a project in school, were I´m in charge for the circuit and programming of a TEC.
Today, the design is shown as below. But as a not yet so skilled engineer this circuit have a few problems. The DRV8871 has supply voltage at 6.5V-45V.
We intend to run in on 6.5V and 20kHz PWM signal. The TEC is spec at Max 0.5A at 0.9V. This gives us a roughly 0-14% of the PWM signals range.
A not so good resolution but possibly doable.
In the microcontroller we can limit output 0-14% easily but I would be intersted to do it in the hardware as well.
What options do we have here?
I know this is not the best way of implement it. Tried to view other options but have not found one which is rather "easy" to implement. Time is ticking as this course is just a few weeks a way from ending so start over with code and hardware will be timeconsuming.
Thanks in advance

Today, the design is shown as below. But as a not yet so skilled engineer this circuit have a few problems. The DRV8871 has supply voltage at 6.5V-45V.
We intend to run in on 6.5V and 20kHz PWM signal. The TEC is spec at Max 0.5A at 0.9V. This gives us a roughly 0-14% of the PWM signals range.
A not so good resolution but possibly doable.
In the microcontroller we can limit output 0-14% easily but I would be intersted to do it in the hardware as well.
What options do we have here?
I know this is not the best way of implement it. Tried to view other options but have not found one which is rather "easy" to implement. Time is ticking as this course is just a few weeks a way from ending so start over with code and hardware will be timeconsuming.
Thanks in advance
