niks
Full Member level 3
I would like to generate PWM signal using PSoC internal relaxation oscillator.
Method:
The analog resources of PSoC are capable of generating a saw-tooth and/or triangle wave relaxation oscillator. This triangle or saw-tooth wave is fed into a comparator. The other input of the comparator is fed by a differential amplifier. The diff-amp is used to amplify the error signal and provide compensation for an analog PID control. This method is set up in firmware and then runs autonomously.
can you please help me for implementing this?
Method:
The analog resources of PSoC are capable of generating a saw-tooth and/or triangle wave relaxation oscillator. This triangle or saw-tooth wave is fed into a comparator. The other input of the comparator is fed by a differential amplifier. The diff-amp is used to amplify the error signal and provide compensation for an analog PID control. This method is set up in firmware and then runs autonomously.
can you please help me for implementing this?