S3F84B8_ALL-IN-ONE IH COOKER_AN_REV 0.00 2 HARDWARE IMPLEMENTATION2-102.4.2 CURRENT MEASUREMENTR4 1KOPA_OR13 36KRW110KOPA_NC10104JSY S_I+ C121uF/16VCURRENTR14 100KR1522KS3F84B8RfR 1 OPA _ NOPA _POPA _OGain = -Rf/R1Figure 2-6 Current Measurement CircuitIn the IH cooker system, the current can go as high as 10A. To avoid excessive energy loss, a constantan is usedto change the current signal to voltage signal, which is then amplified by the integrated OPA. Finally, the amplifiedsignal enters the ADC module. Note that the signal (OPA_N) reaching OPA is negative as compared to MCUGND. Therefore, OPA has to work as an inverting amplifier with negative gain.Either the OPA offset or the resistance deviation can lead to inconsistency of output power among different chips.To get precise power control, two calibrating methods are used. In hardware, a variable resistor (RW1) is chosen,whereas in software algorithm, the overall offset is measured and calculated before the system starts working. Itlikes the quiescent bias that should be removed during normal operation. This way the output power can becontrolled within 10W deviation.