https://www2.renesas.cn/zh-cn/support/technical-resources/engineer-school/electronic-circuits-03-op-amps-comparator-circuit.html