Tool/software: Code Composer Studio
hello,
I have designed single phase inverter with pure resistive load and I have connected another load through switch, turn on and turn off switch to connect and disconnect load(Load current step up and step down). there are always two threshold levels high threshold and low threshold . The 12-b A/D converters allowed for a 0.8-mV voltage resolution, the threshold voltage deviation was set to 1.6 mV (double the least significant digit of the A/D converters). I want to use ADC to detect step change. ADC samples the output voltage every cycle. If output voltage undershoot is lower than predefined low threshold ADC will detect step up change (another is connected through switch ) and if output voltage overshoot is greater than high threshold then ADC will detect step down change(another load is disconnected through switch). how can I write code for this. step change can occur at any angle. I am using TMS320F28377D.
