CN215526397U - Wake-up circuit of controller and electronic equipment - Google Patents

Wake-up circuit of controller and electronic equipment Download PDF

Info

Publication number
CN215526397U
CN215526397U CN202121478345.XU CN202121478345U CN215526397U CN 215526397 U CN215526397 U CN 215526397U CN 202121478345 U CN202121478345 U CN 202121478345U CN 215526397 U CN215526397 U CN 215526397U
Authority
CN
China
Prior art keywords
wake
circuit
resistor
terminal
controller
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
Application number
CN202121478345.XU
Other languages
Chinese (zh)
Inventor
陈伟
江甫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anker Innovations Co Ltd
Original Assignee
Anker Innovations Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Anker Innovations Co Ltd filed Critical Anker Innovations Co Ltd
Priority to CN202121478345.XU priority Critical patent/CN215526397U/en
Application granted granted Critical
Publication of CN215526397U publication Critical patent/CN215526397U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

The application discloses wake-up circuit and electronic equipment of controller, wake-up circuit includes: an input terminal electrically connected to one or more input ports; the output end is electrically connected with the controller; a first resistor and a second resistor, the first resistor and the second resistor being arranged in series between the input terminal and the output terminal; the energy storage device is connected with the second resistor in parallel; wherein when one or more of the input ports are electrically connected to an input voltage, the output of the wake-up circuit outputs an electrical signal to the controller to wake up the controller.

Description

Wake-up circuit of controller and electronic equipment
Technical Field
The present disclosure relates to a circuit structure, and more particularly to a wake-up circuit of a controller and an electronic device.
Background
When an electronic device is in a standby state or a sleep state and a charging or discharging interface is accessed, a Micro Controller Unit (MCU) generally needs to be woken up to work, and currently, the electronic device generally wakes up the MCU by the following methods:
1. the terminal structure is provided with a mechanical switch or an electronic switch, when the terminal is inserted, the mechanical switch or the electronic switch is triggered to inform the MCU of which port is input, but the terminal in the scheme is complex and not universal, the cost is high, and the triggering refers to that a certain reaction is triggered due to touch.
2. Each port is used as a voltage detection circuit, and the MCU detects which port is input, but the scheme at least requires an analog to digital (AD) module of the MCU to operate, which increases the standby power consumption of the device for electronic devices such as battery-powered devices.
3. The MCU is informed of which port is through the key or the MCU is awakened through the key to automatically monitor which port is accessed, the scheme needs additional keys and MCU resources, the cost is increased, the intelligent effect is achieved, and the user experience is not good.
Therefore, in view of the above problems, the present application provides a new wake-up circuit of a controller and an electronic device.
SUMMERY OF THE UTILITY MODEL
To solve the problems in the prior art, the present application provides a wake-up circuit of a controller, the wake-up circuit comprising:
an input terminal electrically connected to one or more input ports;
the output end is electrically connected with the controller;
a first resistor and a second resistor, the first resistor and the second resistor being arranged in series between the input terminal and the output terminal;
the energy storage device is connected with the second resistor in parallel; wherein the content of the first and second substances,
when one or more of the input ports are electrically connected to an input voltage, the output end of the wake-up circuit outputs an electrical signal to the controller to wake up the controller.
Optionally, the output terminal is electrically connected to an interrupt pin of the controller.
Optionally, a first end of the first resistor is electrically connected to the input terminal, a second end of the first resistor is electrically connected to a first end of the second resistor and a first end of the energy storage device, and a second end of the second resistor and a second end of the energy storage device are electrically connected to the output terminal.
Optionally, the wake-up circuit further comprises a switch, the first resistor and the second resistor being connected in series, the switch being turned on when one or more of the input ports are electrically connected to the input voltage.
Optionally, a first end of the first resistor is electrically connected to the input terminal, a second end of the first resistor is electrically connected to a first end of the second resistor and a first end of the energy storage device, a second end of the second resistor and a second end of the energy storage device are electrically connected to a control terminal of the switch, the first end of the switch is electrically connected to the output terminal, and the second end of the switch is grounded.
Optionally, the switch comprises a transistor or a triode.
Optionally, the number of the first resistors is one or more, and the number of the second resistors is one or more.
Optionally, the energy storage device includes a capacitor, and when all the input ports are disconnected from the input voltage, the capacitor is discharged through the second resistor.
Optionally, the controller comprises a micro control unit.
The present application further provides an electronic device, the electronic device including:
a controller;
one or more input ports for electrically connecting an input voltage;
the wake-up circuit described above.
In order to wake up the controller, the present application provides a wake-up circuit of the controller, when one or more of the input ports are electrically connected to an input voltage, an output end of the wake-up circuit outputs an electrical signal to the controller to wake up the controller, and the wake-up circuit has the following advantages:
1. the wake-up circuit comprises the resistor and the energy storage device, and can generate an electric signal through the voltage input by one or more input ports without an additional power supply and triggering of a physical key, so that the controller is awakened, the cost is low, the controller is more intelligent, the precision is high, and the use experience of a user is improved;
2. the wake-up circuit consists of the resistor and the energy storage device, so that the pulse width of an electric signal output by the wake-up circuit can be designed by determining the parameters of the resistor and the energy storage device through theoretical calculation, the requirements of different controllers on different pulse widths are met, and the flexibility is high;
3. the wake-up circuit of this application can be applicable to the input voltage of wide range's input port, and each input port voltage can be different and can differ arbitrary magnitude of voltage, consequently, its application scope is wide, and can not be because of the high voltage injury controller.
The electronic device of the present application has substantially the same advantages as the wake-up circuit described above because the electronic device includes the wake-up circuit described above.
Drawings
The following drawings of the present application are included to provide an understanding of the present application. The drawings illustrate embodiments of the application and their description, serve to explain the principles and apparatus of the application. In the drawings, there is shown in the drawings,
FIG. 1 is a schematic diagram of a wake-up circuit according to an embodiment of the present application;
fig. 2 is a schematic diagram of a wake-up circuit according to another embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a more thorough understanding of the present application. It will be apparent, however, to one skilled in the art, that the present application may be practiced without one or more of these specific details. In other instances, well-known features of the art have not been described in order to avoid obscuring the present application.
It is to be understood that the present application is capable of implementation in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the application to those skilled in the art. In the drawings, the size and relative sizes of layers and regions may be exaggerated for clarity. Like reference numerals refer to like elements throughout.
It will be understood that, although the terms first, second, third, etc. may be used to describe various elements, components, regions, layers and/or sections, these elements, components, regions, layers and/or sections should not be limited by these terms. These terms are only used to distinguish one element, component, region, layer or section from another element, component, region, layer or section. Thus, a first element, component, region, layer or section discussed below could be termed a second element, component, region, layer or section without departing from the teachings of the present application.
Spatial relational terms such as "under," "below," "under," "above," "over," and the like may be used herein for convenience in describing the relationship of one element or feature to another element or feature as illustrated in the figures. It will be understood that the spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures.
Embodiments of the invention are described herein with reference to cross-sectional illustrations that are schematic illustrations of idealized embodiments (and intermediate structures) of the present application. As such, variations from the shapes of the illustrations as a result, for example, of manufacturing techniques and/or tolerances, are to be expected. Thus, embodiments of the present application should not be limited to the particular shapes of regions illustrated herein but are to include deviations in shapes that result, for example, from manufacturing. Thus, the regions illustrated in the figures are schematic in nature and their shapes are not intended to illustrate the actual shape of a region of a device and are not intended to limit the scope of the present application.
To enable waking up of a controller, the present application provides a plug assembly comprising:
the input end is electrically connected with one or more input ports;
the output end is electrically connected with the controller;
the first resistor and the second resistor are arranged between the input end and the output end in series;
the energy storage device is connected with the second resistor in parallel; wherein the content of the first and second substances,
when one or more input ports are electrically connected to an input voltage, the output end of the wake-up circuit outputs an electrical signal to the controller to wake up the controller.
The application provides a wake-up circuit of controller, when one or more input port electrical connection to input voltage, wake-up circuit's output signal of telecommunication to the controller to wake-up the controller, this wake-up circuit has following advantage:
1. the wake-up circuit comprises the resistor and the energy storage device, and can generate an electric signal through the voltage input by one or more input ports without an additional power supply and triggering of a physical key, so that the controller is awakened, the cost is low, the controller is more intelligent, the precision is high, and the use experience of a user is improved;
2. the wake-up circuit consists of the resistor and the energy storage device, so that the pulse width of an electric signal output by the wake-up circuit can be designed by determining the parameters of the resistor and the energy storage device through theoretical calculation, the requirements of different controllers on different pulse widths are met, and the flexibility is high;
3. the wake-up circuit of this application can be applicable to the input voltage of wide range's input port, and each input port voltage can be different and can differ arbitrary magnitude of voltage, consequently, its application scope is wide, and can not be because of the high voltage injury controller.
Next, the structure of the wake-up circuit of the present application is explained and explained with reference to fig. 1 to fig. 2, fig. 1 is a schematic diagram of the wake-up circuit in an embodiment of the present application; fig. 2 is a schematic diagram of a wake-up circuit according to another embodiment of the present application.
As an example, as shown in fig. 1, the wake-up circuit of the controller of the present application includes an input terminal, the input terminal is electrically connected to one or more input ports, the input port may be one or more input ports, for example, the input port may be a port for connecting with a charging interface, or the input port may also be a port for connecting with a discharging interface, or any other suitable port.
In one example, the wake-up circuit of the present application further includes an output electrically connected to the controller to wake up the controller via an electrical signal output by the wake-up circuit, for example, the output is electrically connected to an interrupt pin of the controller, or other suitable pin.
In one example, the wake-up circuit 100 of the present application is composed of a plurality of passive devices, which do not need to be additionally equipped with a power supply, for example, as shown in fig. 1, the wake-up circuit 100 of the present application includes a first resistor R1 and a second resistor R2, and the first resistor R1 and the second resistor R2 are serially disposed between the input terminal and the output terminal.
Continuing with fig. 1, the wake-up circuit 100 of the present application further includes an energy storage device, the energy storage device is connected in parallel with the second resistor R2, optionally, the energy storage device may include a capacitor C1, or other suitable devices capable of storing electric energy, the number of the energy storage devices may be 1 or more, and when the number of the energy storage devices is multiple, the multiple energy storage devices may be connected in parallel or in series.
In one example, as shown in fig. 1, the wake-up circuit 100 further includes a switch, and the switch, the first resistor R1 and the second resistor R2 are connected in series, and the switch is turned on when one or more input ports are electrically connected to the input voltage, and the switch may include a transistor or a triode, or other suitable switching tube. Alternatively, the number of switches may be one or more.
Optionally, the number of the first resistors R1 included in the wake-up circuit 100 may be 1 or more, the number of the second resistors R2 may be 1 or more, the resistance values of the different first resistors R1 may be the same or may be different, and the resistance values of the different second resistors R2 may be the same or different, and in particular, parameters such as the number and the resistance values of the first resistors R1 and the second resistors R2 may be set appropriately according to the value of the input voltage at the input port and the requirement of the controller for the pulse width.
Because the wake-up circuit 100 of the present application is composed of the resistor and the energy storage device, the requirements of different controllers on parameters can be met by adjusting the parameters of the resistor and the capacitor, and the flexibility is high.
The wake-up circuit 100 of the application has an anti-shake function due to the fact that the wake-up circuit 100 comprises an energy storage device (such as a capacitor C1) and is based on the charging and discharging characteristics of the capacitor, extra circuits and a controller (such as an MCU) program are not needed to be added to avoid shaking, and the risk of false triggering is reduced.
The utility model provides a wake-up circuit 100 can be applicable to the input voltage of wide range input port, this input voltage's scope is theoretical and each input port voltage can be followed 1V to infinitely high voltage, each input port voltage can be different, and can differ arbitrary magnitude of voltage, for example the input voltage of the input port that A way corresponds is 10V, the input voltage of the input port that B way corresponds can be 100V, wake-up circuit 100 can both normally work, therefore, compare the scheme that present common voltage is fixed or the scope is very narrow, its application scope of the wake-up circuit 100 of this application is wide, and can not be because of the high voltage injury controller.
Continuing with fig. 1, a structure of the wake-up circuit 100 is described, such as the wake-up circuit 100 shown in fig. 1, in which a first terminal of the first resistor R1 is electrically connected to the input terminal, a second terminal of the first resistor R1 is electrically connected to a first terminal of the second resistor R2 and a first terminal of the energy storage device, a second terminal of the second resistor R2 and a second terminal of the energy storage device are electrically connected to a control terminal of the switch, a first terminal of the switch is electrically connected to the output terminal, and a second terminal of the switch is grounded. When any one or more of the input ports 1 to n connected to the input terminal is connected to an input voltage, for example, when a charging interface is inserted into an input port for charging, or when a discharging interface is inserted into an input port for discharging, for example, a charging device, the input voltage from the input port supplies power to the wake-up circuit 100, a current flows through the first resistor R1 and the second resistor R2 and is connected to a control terminal of a switch, the switch is turned on, while also charging a storage device, for example, a capacitor C1, an electrical signal, for example, a pulse electrical signal, is output from an output terminal electrically connected to a controller, the wake-up circuit 100 is turned off after charging of the capacitor C1 is completed, and when all the input ports are turned off, that is, not connected to the input voltage, the capacitor C1 is discharged through the second resistor R2, thereby facilitating the capacitor C1 to be connected to the input voltage next time at the input port, the charging can be continued to ensure the normal operation of the wake-up circuit 100.
Optionally, the switch may be a transistor or a triode, when the switch is a transistor, the control terminal of the switch is a gate of the transistor, the first terminal of the transistor may be a drain, and the second terminal is a source, or when the switch is a triode, the control terminal is a base of the triode, the first terminal is an emitter, and the second terminal is a collector, and when the control terminal is a high level, the triode is turned on.
In one example, as shown in fig. 2, the wake-up circuit 100 may also be configured without a switch, but rather a first terminal of the first resistor R1 is electrically connected to the input terminal, a second terminal of the first resistor R1 is electrically connected to a first terminal of the second resistor R2 and a first terminal of the energy storage device, a second terminal of the second resistor R2 is electrically connected to a second terminal of the energy storage device, when any one or more of the input ports 1 to n connected to the input terminal are connected to an input voltage, such as when a charging interface is inserted into the input port for charging or when a discharging interface is inserted into the input port for discharging, for example, a charging device, the input voltage from the input port provides the wake-up circuit 100 with electric energy, current flows through the first resistor R1 and the second resistor R2, while also charging the energy storage device, such as the capacitor C1, an output terminal electrically connected to the controller outputs an electric signal, such as a pulse electric signal, when the capacitor C1 is charged, the wake-up circuit 100 is turned off, and when all the input ports are disconnected, i.e. not connected to the input voltage, the capacitor C1 is discharged through the second resistor R2, so that the capacitor C1 can be charged continuously when the input ports are connected to the input voltage next time, thereby ensuring the normal operation of the wake-up circuit 100.
In the application, the output end of the wake-up circuit is connected with an interrupt pin of the controller, wherein interrupt refers to the operation process of the single chip microcomputer or sleep and dormancy, when some unexpected situations occur and need to intervene by the host, the machine can automatically stop the running program and transfer to the program for processing the new situation, and after the processing is finished, the original suspended program is returned to continue to operate, or the machine is awakened in the sleep and dormancy state, so that the machine can normally work.
The utility model provides a wake-up circuit can connect a plurality of input ports, and the output is then a pin of connection controller (for example interrupt the pin) to realize that multiple input port multiplexes same interrupt pin, then can satisfy the detection demand of N way (optionally, N way can be infinity generally) through accurate RC calculation, compare the scheme of the interrupt pin that conventional multiple input port corresponds an MCU respectively, the structure of this application is simpler, and the cost is lower.
In this application, wake-up means that the MCU can automatically detect which input port is connected to the input voltage when the MCU is awake after sleeping or sleeping, so as to control the device to perform corresponding work.
In summary, the wake-up circuit of the present application, when one or more input ports are electrically connected to the input voltage, the output terminal of the wake-up circuit outputs the electrical signal to the controller to wake up the controller, and the wake-up circuit has the following advantages:
1. the wake-up circuit comprises the resistor and the energy storage device, and can generate an electric signal through the voltage input by one or more input ports without an additional power supply and triggering of a physical key, so that the controller is awakened, the cost is low, the controller is more intelligent, the precision is high, and the use experience of a user is improved;
2. the wake-up circuit consists of the resistor and the energy storage device, so that the pulse width of an electric signal output by the wake-up circuit can be designed by determining the parameters of the resistor and the energy storage device through theoretical calculation, the requirements of different controllers on different pulse widths are met, and the flexibility is high;
3. the wake-up circuit of this application can be applicable to the input voltage of wide range's input port, and each input port voltage can be different and can differ arbitrary magnitude of voltage, consequently, its application scope is wide, and can not be because of the high voltage injury controller.
In addition, the present application further provides an electronic device, where the electronic device includes the above-mentioned wake-up circuit, and the structure of the wake-up circuit may refer to the foregoing description and is not described herein again.
The electronic device further comprises a controller, which may be a micro control unit, a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other form of control unit with arithmetic and/or control capabilities, data processing capabilities and/or instruction execution capabilities, etc.
The electronic device may have one or more input ports for electrically connecting an input voltage, and the one or more input ports may also be electrically connected to an input of the wake-up circuit. The wake-up circuit can be connected with one or more input ports, each input port corresponds to one path of signals needing to be detected, the multiple paths of signals needing to be detected are combined and then are transmitted to the wake-up circuit, parameters of the wake-up circuit can be calculated based on parameters needed by a controller, and the purpose of detecting multiple ports simultaneously or one port independently is achieved.
Alternatively, the electronic device may be any consumer device, such as a water heater, refrigerator, washing machine, television, computer monitor, charger, portable charger, power adapter, cell phone, tablet computer, etc.
Since the device of the present application includes the foregoing wake-up circuit, the same advantages as the foregoing wake-up circuit are obtained.
Although the example embodiments have been described herein with reference to the accompanying drawings, it is to be understood that the above-described example embodiments are merely illustrative and are not intended to limit the scope of the present application thereto. Various changes and modifications may be effected therein by one of ordinary skill in the pertinent art without departing from the scope or spirit of the present application. All such changes and modifications are intended to be included within the scope of the present application as claimed in the appended claims.

Claims (10)

1. A wake-up circuit of a controller, the wake-up circuit comprising:
an input terminal electrically connected to one or more input ports;
the output end is electrically connected with the controller;
a first resistor and a second resistor, the first resistor and the second resistor being arranged in series between the input terminal and the output terminal;
the energy storage device is connected with the second resistor in parallel; wherein the content of the first and second substances,
when one or more of the input ports are electrically connected to an input voltage, the output end of the wake-up circuit outputs an electrical signal to the controller to wake up the controller.
2. The wake-up circuit of claim 1, wherein the output is electrically connected to an interrupt pin of the controller.
3. The wake-up circuit of claim 1, wherein a first terminal of the first resistor is electrically connected to the input terminal, a second terminal of the first resistor is electrically connected to a first terminal of the second resistor and a first terminal of the energy storage device, and a second terminal of the second resistor and a second terminal of the energy storage device are electrically connected to the output terminal.
4. The wake-up circuit of claim 1, further comprising a switch, the first resistance and the second resistance being connected in series, the switch being conductive when one or more of the input ports are electrically connected to the input voltage.
5. The wake-up circuit of claim 4, wherein a first terminal of the first resistor is electrically connected to the input terminal, a second terminal of the first resistor is electrically connected to a first terminal of the second resistor and a first terminal of the energy storage device, a second terminal of the second resistor and a second terminal of the energy storage device are electrically connected to a control terminal of the switch, a first terminal of the switch is electrically connected to the output terminal, and a second terminal of the switch is grounded.
6. A wake-up circuit as claimed in claim 5, wherein the switch comprises a transistor or a triode.
7. The wake-up circuit of claim 1, wherein the first resistance is one or more in number and the second resistance is one or more in number.
8. The wake-up circuit of claim 1, wherein the energy storage device comprises a capacitor that discharges through the second resistor when all of the input ports are disconnected from the input voltage.
9. The wake-up circuit of claim 1, wherein the controller comprises a micro-control unit.
10. An electronic device, characterized in that the electronic device comprises:
a controller;
one or more input ports for electrically connecting an input voltage;
wake-up circuit as claimed in any of the claims 1 to 9.
CN202121478345.XU 2021-06-30 2021-06-30 Wake-up circuit of controller and electronic equipment Active CN215526397U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202121478345.XU CN215526397U (en) 2021-06-30 2021-06-30 Wake-up circuit of controller and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202121478345.XU CN215526397U (en) 2021-06-30 2021-06-30 Wake-up circuit of controller and electronic equipment

Publications (1)

Publication Number Publication Date
CN215526397U true CN215526397U (en) 2022-01-14

Family

ID=79811498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202121478345.XU Active CN215526397U (en) 2021-06-30 2021-06-30 Wake-up circuit of controller and electronic equipment

Country Status (1)

Country Link
CN (1) CN215526397U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114924639A (en) * 2022-05-12 2022-08-19 芯海科技(深圳)股份有限公司 Electronic device and method for waking up micro control unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114924639A (en) * 2022-05-12 2022-08-19 芯海科技(深圳)股份有限公司 Electronic device and method for waking up micro control unit
CN114924639B (en) * 2022-05-12 2024-05-28 芯海科技(深圳)股份有限公司 Electronic device and method for waking up micro control unit

Similar Documents

Publication Publication Date Title
US20110095728A1 (en) Method and apparatus for recharging batteries in a more efficient manner
CN106301342B (en) Interface circuit and terminal device
CN215526397U (en) Wake-up circuit of controller and electronic equipment
TWI423556B (en) Battery control system
WO2014062181A1 (en) Polarity control for a flat connector
CN207353881U (en) A kind of electric power system and unmanned vehicle
CN103944217A (en) Awakening device and awakening method for terminal and terminal
CN107561991B (en) Startup and shutdown management circuit and terminal
CN101893925A (en) Start circuit
CN202634405U (en) Multi-button acquisition circuit used for single input port
CN105426040A (en) Method and system for rapidly displaying interface contents of mobile terminals
CN211653439U (en) Key awakening circuit and electronic equipment
CN209215905U (en) Zero-power-consumption standby wake-up circuit and electrical equipment
CN110729788A (en) Power supply control method, system and equipment
CN217880044U (en) Circuit for realizing N key detection and low-power consumption awakening function through two IO ports
CN109814437A (en) Zero-power-consumption standby wake-up circuit and electrical equipment
KR102640582B1 (en) Smart battery device, and electronic device thereof
CN113433406B (en) Key detection circuit and terminal equipment
CN115425716A (en) Electronic device
CN212965358U (en) Broken line detection circuit with load access automatic wake-up function and power bank
CN208209613U (en) A kind of Video Controller power-down protection circuit
CN103390926B (en) The power system of electronic installation
CN217590613U (en) Power supply circuit and intelligent lock
CN114243850B (en) Electronic equipment
CN105630722B (en) Electronic equipment and signal processing method

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant