Patent ID: 11874326
Assignee: BEIJING XIAOMI MOBILE SOFTWARE CO., LTD.
Field: Electrical machinery, apparatus, energy (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 0:
1. An on-off detection circuit for a flash switch, comprising:
an on-off detection module and a control module;
wherein an input end of the on-off detection module is connected with a power supply through the flash switch, the on-off detection module is configured to acquire a digital signal as a detection level according to an electromagnetic signal generated by an input current;
an input end of the control module is connected with an output end of the on-off detection module, to receive the detection level and determine an on-off state change of the flash switch directly according to a type of the detection level; and
the on-off detection module comprises:
an electromagnetic transformer for receiving the input current and acquiring an induced electrical signal according to the electromagnetic signal generated by the input current; and
a transforming assembly connected with an output end of the electromagnetic transformer, for transforming the induced electrical signal into the detection level,
wherein the electromagnetic transformer is at least one of a transformer, a Hall sensor, a voltage transformer, or a current transformer, and the transforming assembly comprises an operational amplifier,

wherein the on-off detection module further comprises:
a microprocessor connected with an output end of the transforming assembly, for receiving and storing the detection level; and
an energy storage assembly connected with the transforming assembly and the microprocessor, for supplying power to the transforming assembly and the microprocessor when the flash switch is in a switching-off state;
wherein the energy storage assembly has capacity to supply power to the transforming assembly and the microprocessor for at least 100 ms when the flash switch is in a switching-off state.