Detuning modulated composite segments for robust optical frequency conversion. (5th October 2022)