CN212301806U - Power on-off detection circuit - Google Patents
Power on-off detection circuit Download PDFInfo
- Publication number
- CN212301806U CN212301806U CN202020822405.4U CN202020822405U CN212301806U CN 212301806 U CN212301806 U CN 212301806U CN 202020822405 U CN202020822405 U CN 202020822405U CN 212301806 U CN212301806 U CN 212301806U
- Authority
- CN
- China
- Prior art keywords
- signal
- circuit
- power
- voltage
- alternating current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Dc-Dc Converters (AREA)
Abstract
The present disclosure relates to a power on/off detection circuit, including: the signal acquisition circuit, the signal conversion circuit and the signal processing circuit; the signal acquisition circuit is connected with a power supply through a switch, and is used for acquiring an alternating current signal output by the power supply when the switch is communicated or closed and outputting the alternating current signal to the signal conversion circuit; the signal conversion circuit is used for converting the received alternating current signal into a voltage signal and outputting the voltage signal to the signal processing circuit; the signal processing circuit is connected with the signal conversion circuit and used for converting the voltage signal into a level signal, and the level signal is used for identifying the connection or the closure of a switch so as to determine the connection or the closure of the power supply. Through the power on-off detection circuit provided by the disclosure, the resources of the control circuit are more reliably and quickly saved, and the power consumption is reduced.
Description
Technical Field
The disclosure relates to the technical field of switches, in particular to a power on-off detection circuit.
Background
Along with the development of the smart home industry, the types of smart appliances are increasingly diversified. The intelligent electrical appliance can be disconnected after the traditional local power switch is closed, and then the terminal can not remotely control the intelligent electrical appliance. Therefore, the flash switch is widely applied to smart home devices. In a conventional state, the flash switch keeps the power supply and the electric load connected, the flash switch is disconnected from the power supply and the electric load connected when being pressed by external force, and the flash switch is rapidly recovered to the conventional state after the external force is removed.
When the flash switch is applied, a corresponding functional circuit is required to be added to detect the on-off state of the flash switch. However, the on-off detection method of the flash switch provided in the related art is prone to situations of inaccurate detection, long detection period, even misjudgment and the like.
SUMMERY OF THE UTILITY MODEL
To overcome the problems in the related art, the present disclosure provides a power on/off detection circuit.
According to a first aspect of the embodiments of the present disclosure, there is provided a power on/off detection circuit, including: the signal acquisition circuit, the signal conversion circuit and the signal processing circuit;
the signal acquisition circuit is connected with a power supply through a switch and is used for acquiring an alternating current signal output by the power supply when the switch is communicated or closed and outputting the alternating current signal to the signal conversion circuit; the signal conversion circuit is used for converting the received alternating current signal into a voltage signal and outputting the voltage signal to the signal processing circuit; the signal processing circuit is connected with the signal conversion circuit and used for converting the voltage signal into a level signal, and the level signal is used for identifying the connection or the closure of a switch so as to determine the connection or the closure of the power supply.
In one embodiment, the signal acquisition circuit includes a current transformer; the primary side of the current transformer collects alternating current signals output by the power supply, and the alternating current signals collected by the primary side are coupled to the secondary side according to a preset proportion to obtain alternating current signals reduced to a specified value.
In one embodiment, the signal acquisition circuit further comprises: a transient voltage suppression diode; the transient voltage suppression diode is connected with the current transformer in parallel to discharge surge current of the current transformer.
In one embodiment, the signal conversion circuit includes: a rectifier bridge and a load resistor; the rectifier bridge is connected with the signal acquisition circuit in parallel so as to convert the alternating current signal output by the signal acquisition circuit into a direct current signal; the load resistor is connected with the rectifier bridge in parallel and used for converting the direct current signal into a voltage signal.
In one embodiment, the signal conversion circuit further comprises: and the current limiting resistor is connected with one of the two output ends of the rectifier bridge in series.
In one embodiment, the signal conversion circuit further comprises: and the energy storage capacitor is connected with the rectifier bridge in parallel.
In one embodiment, the signal conversion circuit further comprises a voltage stabilizing device connected in parallel with the load resistor.
In one embodiment, the signal processing circuit comprises a voltage comparator and a voltage dividing resistor; one input end of the voltage comparator is connected with the output end of the signal conversion circuit to receive a voltage signal, and the other input end of the voltage comparator is connected with the divider resistor to generate a reference voltage.
In one embodiment, the signal processing circuit includes a signal amplification circuit;
the signal amplification circuit is connected with the current transformer or the signal processing circuit so as to amplify the alternating current signal which is reduced and output by the current transformer.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when the flash switch is opened and closed, an alternating current signal acquired by the primary side of the current transformer changes. Through the power on-off detection circuit provided by the disclosure, recognizable high and low level signals are obtained, and then the on-off of the power supply is determined, so that the power on-off detection circuit is more reliable and faster, the resources of the control circuit are saved, and the power consumption is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is an overall block diagram of a smart appliance with a power on-off detection circuit according to an exemplary embodiment.
Fig. 2 is a block diagram of a wireless module with on/off detection supported by a power on/off detection circuit according to an exemplary embodiment.
FIG. 3 is a block diagram of a power on/off detection circuit according to an exemplary embodiment.
Fig. 4 is a block diagram of a signal acquisition circuit of a power on/off detection circuit according to an exemplary embodiment.
Fig. 5 is a block diagram of a signal conversion circuit of a power on/off detection circuit according to an exemplary embodiment.
Fig. 6 is a block diagram of a signal comparison circuit of an on/off power detection circuit according to an exemplary embodiment.
FIG. 7 is a block diagram of a power on/off detection circuit according to an exemplary embodiment.
FIG. 8 is a flow chart illustrating a method of power on/off detection according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating an on/off power detection apparatus according to an exemplary embodiment.
FIG. 10 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The disclosure provides a power on-off detection circuit for a switch in an intelligent electrical appliance, which is used for detecting the on-off of the switch in the intelligent electrical appliance. The embodiments of the present disclosure will be described with reference to a flash switch as an example. Fig. 1 is an overall block diagram of a smart appliance with a power on-off detection circuit according to an exemplary embodiment. As shown in fig. 1, the smart appliance is connected to the power source through a flash switch. The intelligent electrical appliance is connected with the power supply through the flash switch, and the flash switch is used for preventing the intelligent electrical appliance from being disconnected from the terminal in communication after the intelligent electrical appliance is disconnected from the power supply. However, when the flash switch is used, a corresponding functional circuit is required, that is, the intelligent electrical appliance needs to be provided with an on-off detection circuit for detecting the on-off of the flash switch. Besides the on-off detection circuit, the intelligent electric appliance also comprises a power supply circuit, a master control circuit, a driving circuit, a wireless communication circuit and an electric load. The voltage output by the flash switch is output to the on-off detection circuit and the power circuit, and the power circuit of the flash switch is respectively connected with the on-off detection circuit of the flash switch and the master control short circuit of the intelligent electrical appliance. The output end of the on-off detection circuit is connected with a main control circuit of the intelligent electrical appliance. The main control circuit is respectively connected with the driving circuit and the wireless communication circuit. The driving circuit is connected with the electric load. The electric load of the intelligent electrical appliance may be a load using a DC power supply, such as an LED matrix, or an ac load connected through a relay, and if the electric load is an ac load such as an ac motor, the driving circuit of the intelligent electrical appliance is connected to the ac motor through the relay.
The wireless communication mode includes but not limited to ZigBee, Ble, WiFi, infrared, ISM frequency band radio frequency communication mode and the like, and the electric equipment can communicate with upper computers such as mobile phones and gateways through the wireless communication module, upload the current state of the electric equipment and receive remote control commands, and realize the remote control function of the electric equipment.
Fig. 2 is a block diagram of a wireless module with on/off detection supported by a power on/off detection circuit according to an exemplary embodiment. As shown in fig. 2, the on-off detection circuit sends the detection information to the main control circuit. The main control circuit and the communication circuit can carry out two-way communication, the main control circuit sends the on-off detection information to the communication circuit, and the communication circuit is in communication connection with the terminal based on the on-off detection information. The communication circuit may also send information communicatively coupled to the terminal to the master control circuit.
The power on-off detection circuit comprises a signal acquisition circuit, a signal conversion circuit and a signal processing circuit. The method and the device convert the input alternating current signal into the level signal which can judge the switching state finally to assist in judging the switching action time, thereby realizing the identification of the switching action and carrying out the state switching of the electric load. The method and the device perform optimization processing on the small current signal, solve the problem of low detection sensitivity of the small current signal, and realize state judgment by converting the state change of the primary side current of the mutual inductor when the flash switch is in motion into a level signal on a judgment realization method, so that the method and the device are more reliable and faster, the resources of a control circuit are saved, and the power consumption is reduced.
FIG. 3 is a block diagram of a power on/off detection circuit according to an exemplary embodiment. As shown in fig. 3, the power on/off detection circuit includes: signal acquisition circuit, signal conversion circuit and signal processing circuit.
The signal acquisition circuit is connected with the power supply through the switch and used for acquiring alternating current signals output by the power supply when the switch is communicated or closed and outputting the alternating current signals to the signal conversion circuit.
Fig. 4 is a block diagram of a signal acquisition circuit of a power on/off detection circuit according to an exemplary embodiment. As shown in fig. 4, in the embodiment of the present disclosure, the signal acquisition circuit includes a current transformer and a protection circuit.
In the embodiment of the present disclosure, the current transformer obtains an alternating current signal based on the action of the flash switch, for example, the obtained alternating current signal is 50Hz, and the primary side of the current transformer is 50Hz alternating current. And selecting a current transformer corresponding to the coil according to a preset reduction ratio, and coupling alternating current on the primary side of the current transformer to the secondary side of the current transformer by utilizing an electromagnetic conversion principle to obtain an alternating current signal reduced according to the preset ratio.
For one embodiment, the protection circuit may employ a transient voltage suppression diode (TRANSIENT VOLTAGE suppresnor, TVS tube). The transient voltage suppression diode is connected in parallel with the current transformer. The transient voltage suppression diode is used as a protection circuit and used for releasing surge current of the current transformer, increasing surge protection and preventing a rear-stage circuit device from being damaged. The method can also be used for preventing the condition that the secondary circuit of the current transformer is opened due to the abnormity of the rear-stage circuit.
And the signal conversion circuit is used for converting the received alternating current signal into a voltage signal and outputting the voltage signal to the signal processing circuit.
In the embodiment of the present disclosure, the received ac current signal is converted into a voltage signal, so that the current can be selectively passed through a resistive resistor, or a triode, an operational amplifier, or the like is used. The present disclosure employs a rectifier bridge and a load resistor to convert an alternating current signal to a voltage signal.
It should be understood that the current transformer may also select other devices, such as a transformer, a hall sensor, etc., by using the electromagnetic conversion principle, and the application is not limited to this specific selection type of the electromagnetic conversion device.
Fig. 5 is a block diagram of a signal conversion circuit of a power on/off detection circuit according to an exemplary embodiment. As shown in fig. 5, the signal conversion circuit includes: rectifier bridge, energy storage capacitor, load resistance and voltage regulator device.
In the embodiment of the disclosure, the rectifier bridge is connected in parallel with the signal acquisition circuit to convert the alternating current signal output by the signal acquisition circuit into a direct current signal. And the load resistor is connected with the rectifier bridge in parallel and used for converting the direct current signal into a voltage signal according to the ohm law U-RI. Furthermore, the load resistor can also play a role in current discharge in a power-off state, and the charge of the energy storage capacitor can be completely released quickly.
In one embodiment, in order to achieve a better effect of the signal conversion circuit in the process of converting an alternating current signal into a voltage signal, an energy storage capacitor and a voltage stabilizing device are additionally arranged in the signal conversion circuit. The energy storage capacitor is connected with the rectifier bridge in parallel and used for filtering pulsating direct current signals output by the rectifier bridge to obtain smooth direct current signals, and due to the fact that the power supply is alternating current, when the current of the alternating current is almost zero near a zero crossing point, the alternating current can be converted into voltage which can also be zero, and further misjudgment is caused. The addition of the energy storage capacitor can ensure that the voltage is not zero at the zero-crossing moment. The voltage stabilizing device is connected with the load resistor in parallel and used for performing voltage stabilizing limitation on a voltage signal output by the direct current signal through the load resistor and preventing the device from being damaged due to overhigh voltage of an input post-stage circuit.
In one embodiment, the signal conversion circuit further includes a current limiting resistor connected in series with one of the two output terminals of the rectifier bridge to prevent the large spike current from damaging the subsequent circuit device.
The signal processing circuit is connected with the signal conversion circuit and used for converting the voltage signal into a level signal, and the level signal is used for identifying the connection or the closure of the switch so as to determine the connection or the closure of the power supply.
In the embodiment of the disclosure, the signal processing circuit processes the voltage signal obtained by the preceding stage circuit to obtain a high-low level signal. The level signal is sent to a lower-level Micro Control Unit (MCU) for processing, the micro control Unit identifies the obtained level signal to determine the on-off state of the flash switch, the on-off state of a power supply is further determined, and the operation of switching the power load is controlled.
In one embodiment, the signal processing circuit includes two parts, signal amplification and signal processing. Because the alternating current signal that the current transformer may obtain is too low, the current change state of the current transformer is not obvious, which causes a high-low level output error in the process of converting the signal into the level signal, and thus the alternating current signal with too low signal value needs to be amplified by using the signal amplification circuit. And further, the misjudgment of the on-off state of the flash switch caused by the excessively low acquired alternating current signal is avoided. The signal amplification circuit can select a signal amplifier in the signal processing circuit, and can also select other signal amplification circuits to be added in the signal acquisition circuit to amplify the alternating current signal acquired by the current transformer.
The signal processing comprises a signal comparison circuit and a voltage division resistor. The signal comparison circuit compares the obtained voltage signal according to a preset voltage threshold value through the signal comparison circuit, and outputs a high-low level signal. Fig. 6 is a block diagram of a signal comparison circuit of an on/off power detection circuit according to an exemplary embodiment. As shown in fig. 6, embodiments of the present disclosure select a voltage comparator as the signal comparison circuit. And taking the voltage signal obtained by the preceding stage circuit and a preset voltage threshold value as the input of the voltage comparator, and outputting a high-low level signal as an output signal. One input end of the voltage comparator is connected with the output end of the signal conversion circuit to receive a voltage signal, and the other input end of the voltage comparator is connected with the divider resistor to generate a reference voltage.
In the embodiment of the present disclosure, when the flash switch is opened and closed, an alternating current signal obtained by the primary side of the current transformer may change. For example, when the flash switch is turned on, the ac current signal on the primary side of the current transformer changes from a small current to no current to a large current. When the flash switch is closed, the alternating current signal on the primary side of the current transformer changes into a large current to a zero current and then into a small current. According to the power supply on-off detection circuit provided by the disclosure, the state of the alternating current signal change generated by the on-off state of the flash switch is processed to obtain the corresponding high and low level signals, the high and low level signals are further transmitted to the micro control unit, and the on-off state of the power supply is determined so as to control the state switching of the power load.
According to the power on-off detection circuit, the high-low level signal is determined by acquiring the alternating current signal of the primary side of the current so as to detect the on-off of the switch. The detection period for determining the on-off of the switch is short, and the accuracy is high.
The power on-off detection circuit provided based on the present disclosure can detect any switch, and is not limited to the flash switch in the above embodiments, and the above embodiments of the present disclosure take the flash switch as an example for description. In addition, the method can also be used for detecting the on-off of the direct current power supply, and the implementation mode of the method is the same as the mode of detecting the on-off of the power supply through alternating current.
FIG. 7 is a block diagram of a power on/off detection circuit according to an exemplary embodiment. As shown in fig. 7, CT1 is a current transformer, D1 is a so-called transient voltage suppression diode, R1 is a current limiting resistor, C1 is an energy storage capacitor, R2 is a load resistor, D3 is a zener diode, U1 is a voltage comparator, R4 and R5 are voltage dividing resistors, R3 is a resistor, and VCC is a power supply. The power on-off detection circuit provided by the disclosure is formed based on the electronic device.
Based on the same conception, the embodiment of the disclosure also provides a power on-off detection method.
FIG. 8 is a flow chart illustrating a method of power on/off detection according to an exemplary embodiment. As shown in fig. 8, the power on/off detection method includes the following steps.
In step S81, an ac current signal of the power supply is collected and converted into a voltage signal.
In the embodiment of the disclosure, a signal acquisition circuit in a power on-off detection circuit is used for acquiring an alternating current signal of a power supply, and a signal conversion circuit in the power on-off detection circuit is used for converting the acquired alternating current signal into a voltage signal.
In step S82, a level signal that characterizes a state of change of the alternating current signal is determined based on the voltage signal.
In the embodiment of the disclosure, a level signal representing the change state of the alternating current signal is obtained through a signal processing circuit in the power on-off detection circuit according to the voltage signal.
In step S83, based on the level signal, the connection or closing of the switch connected to the power supply is recognized to determine the on/off of the power supply.
In the embodiment of the disclosure, the level signal is transmitted to the micro control unit, and the micro control unit determines the connection or the disconnection of the power switch according to the change of the level signal, so as to further determine the connection or the disconnection of the power supply. So as to control the switching of the state of the electric load.
According to one embodiment, a primary side of a current transformer in a signal acquisition unit of a power on-off detection circuit acquires an alternating current signal output by a power supply, and the alternating current signal acquired by the primary side is coupled to a secondary side according to a preset proportion to obtain an alternating current signal reduced to a specified value.
In the embodiment of the disclosure, the rectifier bridge in the signal conversion circuit of the power on-off detection circuit converts the alternating current signal output by the signal acquisition circuit into the direct current signal, and converts the direct current signal into the voltage signal.
In one embodiment, if the collected alternating current signal is small, the alternating current signal reduced to a specified value is amplified and output based on a signal amplification circuit.
In the embodiment of the disclosure, the level signal output by the power on-off detection circuit is identified, and if the level signal is continuously at a low level within a specified time, the switch connected with the power supply is identified to be off, and the power supply is in an off state. And if the level signal is continuously at a high level in a specified time, identifying that a switch connected with the power supply is connected and the power supply is in a connected state.
In one embodiment, the coupled alternating current may be limited based on a transient voltage suppression diode in a signal acquisition circuit of the on/off detection circuit. A current limiting resistor in a signal conversion circuit based on a power on-off detection circuit limits a direct current signal exceeding a preset current value. And the zero-crossing voltage is adjusted by an energy storage capacitor in a signal conversion circuit based on the power on-off detection circuit. Under the condition of power failure, a voltage stabilizing device in a signal conversion circuit based on the power on-off detection circuit releases current through a load resistor.
With regard to the method in the above-described embodiment, the specific manner in which each circuit and the devices in the circuit perform operations has been described in detail in the embodiment related to the circuit, and will not be described in detail herein.
Based on the same conception, the embodiment of the disclosure also provides a power on-off detection device.
It is understood that, in order to implement the above functions, the power on/off detection apparatus provided in the embodiments of the present disclosure includes a hardware structure and/or a software module corresponding to the execution of each function. The disclosed embodiments can be implemented in hardware or a combination of hardware and computer software, in combination with the exemplary elements and algorithm steps disclosed in the disclosed embodiments. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
Fig. 9 is a block diagram illustrating an on/off power detection apparatus 900 according to an example embodiment. Referring to fig. 9, the apparatus includes an acquisition module 901, a determination module 902, and an identification module 903.
The collecting module 901 is configured to collect an alternating current signal of a power supply and convert the collected alternating current signal into a voltage signal. A determining module 902 is configured to determine a level signal representing a changing state of the alternating current signal based on the voltage signal. And the identifying module 903 is used for identifying connection or closing of a switch connected with the power supply based on the level signal so as to determine connection and disconnection of the power supply.
The collecting module 901 is configured to collect an alternating current signal output by a power supply based on a primary side of a current transformer, and couple the alternating current signal collected by the primary side to a secondary side according to a preset ratio to obtain an alternating current signal reduced to a specified value.
The collecting module 901 is configured to convert the collected ac current signal into a voltage signal in the following embodiments.
And converting the alternating current signal output by the signal acquisition circuit into a direct current signal based on the rectifier bridge, and converting the direct current signal into a voltage signal.
The determining module 902 is further configured to amplify and output the ac current signal reduced to the specified value based on the signal amplifying circuit before determining the level signal representing the change state of the ac current signal.
And the identifying module 903 is used for identifying that the switch connected with the power supply is disconnected and the power supply is in a disconnected state if the level signal is continuously at a low level within the specified time. And if the level signal is continuously at a high level in a specified time, identifying that a switch connected with the power supply is connected and the power supply is in a connected state.
The determining module 902 is further configured to limit the coupled ac current based on the transient voltage suppression diode.
The determining module 902 is further configured to limit the dc current signal exceeding the preset current value based on the current limiting resistor.
The determining module 902 is further configured to adjust the zero-crossing voltage based on the energy storage capacitance.
The determining module 902 is further configured to discharge current through the load resistor based on the voltage regulator device under the power-off condition.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 10 is a block diagram illustrating an apparatus 1000 for power on-off detection in accordance with an exemplary embodiment. For example, the apparatus 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 10, the apparatus 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls the overall operation of the device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operation at the device 1000. Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1004 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1000 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1010 is configured to output and/or input audio signals. For example, audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the device 1000. For example, sensor assembly 1014 may detect an open/closed state of device 1000, the relative positioning of components, such as a display and keypad of apparatus 1000, sensor assembly 1014 may also detect a change in position of apparatus 1000 or a component of apparatus 1000, the presence or absence of user contact with apparatus 1000, orientation or acceleration/deceleration of apparatus 1000, and a change in temperature of apparatus 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate communications between the apparatus 1000 and other devices in a wired or wireless manner. The device 1000 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1004 comprising instructions, executable by the processor 1020 of the device 1000 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It is further understood that the use of "a plurality" in this disclosure means two or more, as other terms are analogous. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. The singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It will be further understood that the terms "first," "second," and the like are used to describe various information and that such information should not be limited by these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the terms "first," "second," and the like are fully interchangeable. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It is further to be understood that while operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (9)
1. A power on/off detection circuit, comprising: the signal acquisition circuit, the signal conversion circuit and the signal processing circuit;
the signal acquisition circuit is connected with a power supply through a switch and is used for acquiring an alternating current signal output by the power supply when the switch is communicated or closed and outputting the alternating current signal to the signal conversion circuit;
the signal conversion circuit is used for converting the received alternating current signal into a voltage signal and outputting the voltage signal to the signal processing circuit;
the signal processing circuit is connected with the signal conversion circuit and used for converting the voltage signal into a level signal, and the level signal is used for identifying the connection or the closure of a switch so as to determine the connection or the closure of the power supply.
2. The power on-off detection circuit of claim 1, wherein the signal acquisition circuit comprises a current transformer;
the primary side of the current transformer collects alternating current signals output by the power supply, and the alternating current signals collected by the primary side are coupled to the secondary side according to a preset proportion to obtain alternating current signals reduced to a specified value.
3. The power on-off detection circuit of claim 2, wherein the signal acquisition circuit further comprises: a transient voltage suppression diode;
the transient voltage suppression diode is connected with the current transformer in parallel to discharge surge current of the current transformer.
4. The power on/off detection circuit according to claim 1 or 2, wherein the signal conversion circuit comprises: a rectifier bridge and a load resistor;
the rectifier bridge is connected with the signal acquisition circuit in parallel so as to convert the alternating current signal output by the signal acquisition circuit into a direct current signal;
the load resistor is connected with the rectifier bridge in parallel and used for converting the direct current signal into a voltage signal.
5. The power on/off detection circuit of claim 4, wherein the signal conversion circuit further comprises: and the current limiting resistor is connected with one of the two output ends of the rectifier bridge in series.
6. The power on/off detection circuit of claim 4, wherein the signal conversion circuit further comprises: and the energy storage capacitor is connected with the rectifier bridge in parallel.
7. The power on/off detection circuit according to claim 5 or 6, wherein the signal conversion circuit further comprises a voltage regulator device connected in parallel with the load resistor.
8. The power on-off detection circuit according to claim 1 or 2, wherein the signal processing circuit comprises a voltage comparator and a voltage dividing resistor;
one input end of the voltage comparator is connected with the output end of the signal conversion circuit to receive a voltage signal, and the other input end of the voltage comparator is connected with the divider resistor to generate a reference voltage.
9. The power on-off detection circuit according to claim 2, wherein the signal processing circuit comprises a signal amplification circuit;
the signal amplification circuit is connected with the current transformer or the signal processing circuit so as to amplify the alternating current signal which is reduced and output by the current transformer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202020822405.4U CN212301806U (en) | 2020-05-15 | 2020-05-15 | Power on-off detection circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202020822405.4U CN212301806U (en) | 2020-05-15 | 2020-05-15 | Power on-off detection circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN212301806U true CN212301806U (en) | 2021-01-05 |
Family
ID=73968660
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202020822405.4U Active CN212301806U (en) | 2020-05-15 | 2020-05-15 | Power on-off detection circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN212301806U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111537907A (en) * | 2020-05-15 | 2020-08-14 | 北京小米移动软件有限公司 | Power on-off detection circuit, method and device and storage medium |
CN114184827A (en) * | 2021-10-19 | 2022-03-15 | 深圳拓邦股份有限公司 | Alternating current flash detection circuit and intelligent switch |
-
2020
- 2020-05-15 CN CN202020822405.4U patent/CN212301806U/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111537907A (en) * | 2020-05-15 | 2020-08-14 | 北京小米移动软件有限公司 | Power on-off detection circuit, method and device and storage medium |
CN114184827A (en) * | 2021-10-19 | 2022-03-15 | 深圳拓邦股份有限公司 | Alternating current flash detection circuit and intelligent switch |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017071093A1 (en) | Electronic device control method and apparatus | |
CN104302048B (en) | Method for controlling lamp and device | |
KR20170030456A (en) | Home appliance control method and device | |
CN104661176A (en) | Reminding method and device | |
CN212301806U (en) | Power on-off detection circuit | |
CN105528151A (en) | Brightness adjusting method and apparatus | |
CN105433904A (en) | Sleep state detection method, device and system | |
CN106550522A (en) | Illumination control method and device | |
CN105162193A (en) | Charging method and charging apparatus for terminal, and terminal | |
CN105516824A (en) | Method and device for adjusting brightness of television screen | |
CN106527166A (en) | Electric appliance control method and apparatus | |
CN105487680A (en) | Terminal screen capture method and apparatus and terminal | |
CN111537907A (en) | Power on-off detection circuit, method and device and storage medium | |
CN104020628B (en) | Flash lamp prompting method and device thereof | |
CN106325575A (en) | Touch response method and apparatus | |
CN113972703B (en) | Wireless charging method, device, terminal and storage medium | |
CN106532367A (en) | Power consumption warning method and device of smart socket | |
CN105516469A (en) | Clock control method and device | |
US20200067336A1 (en) | Charging processing method, terminal device and storage medium | |
CN106455002A (en) | Wireless search method and device, and terminal | |
CN105517280A (en) | Method and device for lighting | |
CN105242775A (en) | State adjustment method and apparatus | |
CN106406587A (en) | Terminal touch control identification method and device | |
CN105094915A (en) | Reset handling method and device | |
CN105846223B (en) | USB interface plug, control method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |