oscillator principle