Flash switch on-off detection circuit and electronic device
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorsHuijun Wang, He Zhang, Fan Zeng
Life of this patent
Estimating the term…
Abstract
An on-off detection circuit for a flash switch includes an on-off detection module and a control module. 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 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 according to the detection level.
Claims8
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.
An electronic device, comprising:
- a flash switch;
- and
- an on-off detection circuit for the flash switch, the on-off detection circuit including 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 for the transforming assembly and the microprocessor for at least 100 ms when the flash switch is in a switching-off state.
Dependencies are inferred from the claim text.