S3F84B8_ALL-IN-ONE IH COOKER_AN_REV 0.00 2 HARDWARE IMPLEMENTATION2-132.6 OTHER FUNCTIONS2.6.1 PAN DETECTIONPan-on detection is executed every 2sec when the system is idle. It is useful when you press the Start key firstand then put the pan on. In principle, even though the IGBT is turned on, there will not be any oscillation beforethe pan is put on the panel. In S3F84B8, comparator 0’s output can be set as the clock source of Timer C. Afterstarting 1-cycle PWM output and waiting for about 3 oscillation cycles, if TCCNT>1, Pan status = on; else Panstatus = off. Pan-remove detection is executed every 1.5s when the system is working. It is useful when youdirectly remove the pan from the panel without pressing the Stop key.Pan-remove detection is done by current measurement, that is, when the sensed current is small, the systemconsiders the pan as removed and turns idle.2.6.2 BUZZER AND FAN CONTROLFigure 2-8 shows the circuit diagram for buzzer and fan control.+C24 104M/50V BUZZER1Q3805012CN3FAN+18VR261KBUZ/FANFigure 2-8 Buzzer and Fan ControlThe fan cools down the system while heating. Buzzer indicates error and key actions.In Figure 2-8, buzzer and fan share the same I/O. Due to C24, the DC signal controls fans on and off, whilesquare wave with high frequency determines the buzzer’s beep.Note that C24 cannot be too large; else it will deteriorate the power of MCU and make the integrated analogmodules work unstably.