Nowadays, the IR sensor is a widely used electrical sensor in security and other applications. Meanwhile, an IR sensor comprises an