I recommend playing the cycle of fifths in the keys of the pieces you're working on as a warm-up. Once you're comfortable with this pattern, try making up your own!