sir the signal is taken from the output of the transformer -> stepdown transformer-> opamp + shifting DC bias-> filter -> ADC so we get the sinewave
I meant that "the instatanious value" the feedback signal which is properly shifted and connected to the ADC of the controller
That means not takes the value of array ( adc value) ,No avraging ,no calculation about RMS value
only one adc read ,these value is comparing with the corresponding sine value (from the truth table)
so each adc read add or subbstract the PWM duty cycle to control the output voltage
is it necessory that taking RMS value ?
if use RMS value ,here need to read atleast half cycle it require 10 millisecond ,so the resoponse time is above 10 milli second