MPPT Voltage compensation in current?
You forgot an important thing: the PV is normally connected with a DCDC converter. That is why you can use the duty cycle to control it.

For 17V to 12V, you need a buck converter (buck-boost also works!).