Adding DC offset to a given input
Consider a clamping circuit.  Such a circuit can relocate the upper or lower extreme of a waveform to a predetermined voltage level.



It sounds as if the following circuit with a 5 volt battery (or floating power supply) is what you are looking for: