CN216561764U - Interrupt source extension architecture and electronic equipment - Google Patents

Interrupt source extension architecture and electronic equipment Download PDF

Info

Publication number
CN216561764U
CN216561764U CN202123231833.3U CN202123231833U CN216561764U CN 216561764 U CN216561764 U CN 216561764U CN 202123231833 U CN202123231833 U CN 202123231833U CN 216561764 U CN216561764 U CN 216561764U
Authority
CN
China
Prior art keywords
interrupt source
interrupt
external interrupt
reference level
port expander
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
CN202123231833.3U
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.)
Beijing Senseshield Technology Co Ltd
Original Assignee
Beijing Senseshield Technology 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 Beijing Senseshield Technology Co Ltd filed Critical Beijing Senseshield Technology Co Ltd
Priority to CN202123231833.3U priority Critical patent/CN216561764U/en
Application granted granted Critical
Publication of CN216561764U publication Critical patent/CN216561764U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Bus Control (AREA)

Abstract

The embodiment of the utility model discloses an interrupt source expansion framework and electronic equipment, comprising a port expander and a reference level end; wherein: the port expander is arranged on one side of the control chip and is electrically communicated with an external interrupt source; and a unidirectional conducting device is arranged between the port expander and the reference level end, so that under the condition that the external interrupt source introduces the level representing the interrupt event, the corresponding external interrupt source is gated through the reference level end. The interrupt source extension architecture of the embodiment of the utility model gates the corresponding external interrupt source through the gating circuit between the reference level terminal and the external interrupt source, judges the awakening action triggered by the interrupt source, and effectively reduces the modification cost while extending the interrupt source.

Description

Interrupt source extension architecture and electronic equipment
Technical Field
The present invention relates to the field of circuit design technologies, and in particular, to an interrupt source extension architecture and an electronic device.
Background
In the application of the internet of things, electronic products take an absolute leading position. Among them, low power operation is important, and for this reason, the product is required to be in a sleep state for a long time. In response to the above needs, the electronic product needs to switch the operating state between sleep and running. Moreover, the existing equipment has more peripheral devices, and the existing requirements cannot be met by one or two interrupt sources. For example, an intelligent door lock generally requires a working time of 2-3 years in a state of sufficient electric quantity, and the related unlocking modes generally include NFC, passwords, fingerprints, human faces and the like. And every kind of mode of unblanking all need just can normally work after awakening up the lock, if be in operating condition for a long time, just can't satisfy the demand of long continuation of the journey.
SUMMERY OF THE UTILITY MODEL
In order to overcome the defects of the prior art, the utility model aims to provide an interrupt source extension architecture and an electronic device, wherein a port extender and a reference level end are arranged, the single conduction characteristic of a diode is utilized, when a level signal is introduced into an external interrupt source, the corresponding external interrupt source is gated through a gating circuit between the reference level end and the external interrupt source, and the awakening action triggered by the interrupt source is judged, so that the problem of large limitation of the interrupt source in the prior art is conveniently and effectively solved.
In order to solve the technical problems, the technical scheme adopted by the utility model is as follows:
an interrupt source extension architecture comprising a port extender and a reference level terminal; wherein:
the port expander is configured at one side of the control chip and is electrically communicated with an external interrupt source;
and a one-way conduction device is arranged between the port expander and the reference level end so as to gate the corresponding external interrupt source through the reference level end under the condition that the external interrupt source introduces the level representing the interrupt event.
Optionally, the reference level terminal includes a high level input terminal and a pull-up resistor.
Optionally, the unidirectional conducting device is configured as a diode, an anode of the diode is connected to the pull-up resistor, and a cathode of the diode is connected to the port expander;
and under the condition that the external interrupt source introduces the low level representing the interrupt event, the corresponding external interrupt source is gated through the high level input end.
Optionally, the port expander has a plurality of terminals, and the number of the external interrupt sources corresponds to the number of the unidirectional conducting devices and is equal to the number of the terminals.
Optionally, the terminals are configured as part of pins of a control chip.
Optionally, the port expander has a plurality of terminals, at least one of which corresponds to at least two external interrupt sources.
The utility model also provides an electronic device, which comprises the interrupt source extension architecture; wherein:
the electronic equipment is provided with the control chip.
Optionally, the electronic device comprises a smart door lock; the intelligent door lock further comprises a lock body and a circuit board; the interrupt source extension architecture forms an electrical connection with the lock body through the circuit board.
Optionally, the external interrupt source is configured to interrupt at least one of: doorbell interrupt, steal pry switch interrupt, fingerprint module interrupt, touch keyboard interrupt.
The utility model provides an interrupt source expansion framework and electronic equipment, wherein a port expander and a reference level end are arranged, and by utilizing the single conduction characteristic of a diode, when an external interrupt source introduces a level signal, the corresponding external interrupt source is gated through a gating circuit between the reference level end and the external interrupt source, the awakening action triggered by the interrupt source is judged, and the modification cost is effectively reduced while the interrupt source is expanded.
Drawings
Fig. 1 is a circuit structure diagram of the source break extension architecture in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings of the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the utility model without any inventive step, are within the scope of protection of the utility model.
Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. The use of "first," "second," and similar terms in the present application do not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
In the prior art, the number of interrupt source pins is directly expanded in a chip or is inquired through software, so that which device wakes up a main control is confirmed, and then a corresponding task is executed. Obviously, the interrupt priority of this approach depends on the order of the software queries and is expensive.
According to the interrupt source expansion framework and the electronic equipment, the port expander and the reference level end are arranged, the single conduction characteristic of the diode is utilized, when the external interrupt source introduces a level signal, the corresponding external interrupt source is gated through the gating circuit between the reference level end and the external interrupt source, the awakening action triggered by the interrupt source is judged, the interrupt source is expanded, and meanwhile the reconstruction cost is effectively reduced.
The following is a detailed description of various embodiments of the utility model.
In some embodiments of the present invention, as shown in fig. 1, the interrupt source extension architecture includes a port extender and a reference level terminal, the port extender is configured at one side of the control chip and is in electrical communication with an external interrupt source;
and a one-way conduction device is arranged between the port expander and the reference level end, so that the corresponding external interrupt source is gated through the reference level end under the condition that the external interrupt source introduces the level representing the interrupt event.
Optionally, the port expander employs a GPIO (general purpose input/general purpose output or general purpose input output) interface, which has the advantages of low power consumption, low cost, and the possibility to shorten or determine the response time between an external event and an interrupt in advance.
In some embodiments of the present invention, the reference level terminal may be configured to include a high level input terminal and a pull-up resistor R. Preferably, the voltage of the high level input terminal is optionally set to 3.3V.
Optionally, the pull-up resistor R may clamp the wake-up pin at a high level according to a level condition that an external interrupt source introduces a characteristic interrupt event, so as to ensure that the power consumption of the system is low after the interrupt event is triggered, and prolong the service life of the device.
Optionally, the unidirectional conducting device is configured as a diode, an anode of the diode is connected with the pull-up resistor, and a cathode of the diode is connected with the port expander; and under the condition that the external interrupt source introduces the low level representing the interrupt event, the corresponding external interrupt source is gated through the high level input end. Meanwhile, the interference between the interrupt sources is blocked by the unidirectional conduction performance of the diode.
Optionally, the diode has a unidirectional conduction characteristic, so that it is ensured that when one of the interrupt events is valid, the other interrupt sources are not affected, and the control chip can determine a unique interrupt event. Through the structure, when a certain external interrupt source requests interrupt service, the reference level end can output high level, the port expander of the control chip detects low level through the diode, and then the control chip is awakened, if one path of low level is detected, the awakening action triggered by the interrupt source can be judged, and then the control chip can execute corresponding tasks.
In some embodiments of the present invention, the port expander has a plurality of terminals, the number of the external interrupt sources corresponds to the number of the unidirectional devices, and is consistent with the number of the terminals, and when the external interrupt sources introduce the characterization interrupt event, which interrupt source triggers can be accurately distinguished. As shown in fig. 1, the present embodiment adopts a structure in which one interrupt source corresponds to one terminal. Of course, based on the understanding of those skilled in the art, the implementation can determine which interrupt source triggers in part and not in part, but does not need to determine which interrupt source triggers in part, and the concept of the extended interrupt source of the present invention is also consistent with, and is not limited to, being able to uniquely query which interrupt source triggers an interrupt.
Optionally, as shown in fig. 1, the port expander is configured as a plurality of terminals, which are characterized by GPIO1 to GPIOn, and the external interrupt sources corresponding to the terminals are also configured as a plurality of external interrupt sources, i.e., external interrupt source 1 to external interrupt source n, and each external interrupt source is connected in parallel with the port expander and its adjacent external interrupt source and port expander. If the level condition of one path changes, it can be determined that the interrupt source triggers a wake-up action, and then the control chip can execute a corresponding task.
Optionally, the terminals are configured as part of the pins of the control chip.
The utility model also provides an electronic device comprising the port expander and the reference level terminal; wherein: the port expander is configured at one side of the control chip and is electrically communicated with an external interrupt source; and a one-way conduction device is arranged between the port expander and the reference level end, so that the corresponding external interrupt source is gated through the reference level end under the condition that the external interrupt source introduces the level representing the interrupt event. Preferably, the electronic device has a control chip.
Optionally, the electronic device as described above is an intelligent door lock. Preferably, the intelligent door lock further comprises a lock body and a circuit board. The interrupt source extension framework of the embodiment of the utility model controls the lock body to be unlocked by gating the corresponding external interrupt source through the reference level terminal under the condition that the external interrupt source introduces the level representing the interrupt event through the electric connection circuit board.
Optionally, the external interrupt source includes, but is not limited to, one of a doorbell interrupt, a tamper switch interrupt, a fingerprint module interrupt, and a touch keyboard interrupt.
In summary, in the interrupt source extension architecture provided in the embodiment of the present invention, by setting the port extender and the reference level terminal and using the single conduction characteristic of the unidirectional conducting device, when the external interrupt source introduces a level signal, the corresponding external interrupt source is gated through the gating circuit between the reference level terminal and the external interrupt source, and the wakeup action triggered by the interrupt source is determined, so that the modification cost is effectively reduced while the interrupt source is extended.
The above embodiments are only exemplary embodiments of the present invention, and are not intended to limit the present invention, and the scope of the present invention is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present invention, and such modifications and equivalents should also be considered as falling within the scope of the present invention.

Claims (9)

1. An interrupt source extension architecture comprising a port extender and a reference level terminal; wherein:
the port expander is configured at one side of the control chip and is electrically communicated with an external interrupt source;
and a one-way conduction device is arranged between the port expander and the reference level end so as to gate the corresponding external interrupt source through the reference level end under the condition that the external interrupt source introduces the level representing the interrupt event.
2. The interrupt source expansion architecture according to claim 1, wherein the reference level terminal includes a high level input terminal and a pull-up resistor.
3. The interrupt source expansion architecture according to claim 2,
the unidirectional conducting device is constructed as a diode, the anode of the diode is connected with the pull-up resistor, and the cathode of the diode is connected with the port expander;
and under the condition that the external interrupt source introduces the low level representing the interrupt event, the corresponding external interrupt source is gated through the high level input end.
4. The interrupt source expansion architecture according to any one of claims 1 to 3, wherein the port expander has a number of terminals, and the number of external interrupt sources corresponds to the number of unidirectionally conducting devices and is identical to the number of terminals.
5. The interrupt source extension architecture according to claim 4, wherein the terminals are configured as part of pins of a control chip.
6. The interrupt source expansion architecture according to any one of claims 1 to 3, wherein the port expander has a plurality of terminals, at least one of which corresponds to at least two external interrupt sources.
7. Electronic device, characterized in that it comprises an interrupt source extension architecture according to any of claims 1 to 6; wherein:
the electronic equipment is provided with the control chip.
8. The electronic device of claim 7, wherein the electronic device comprises a smart door lock; the intelligent door lock further comprises a lock body and a circuit board; the interrupt source extension architecture forms an electrical connection with the lock body through the circuit board.
9. The electronic device of claim 8, wherein the external interrupt source is configured to interrupt at least one of:
doorbell interrupt, steal pry switch interrupt, fingerprint module interrupt, touch keyboard interrupt.
CN202123231833.3U 2021-12-21 2021-12-21 Interrupt source extension architecture and electronic equipment Active CN216561764U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202123231833.3U CN216561764U (en) 2021-12-21 2021-12-21 Interrupt source extension architecture and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202123231833.3U CN216561764U (en) 2021-12-21 2021-12-21 Interrupt source extension architecture and electronic equipment

Publications (1)

Publication Number Publication Date
CN216561764U true CN216561764U (en) 2022-05-17

Family

ID=81544489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202123231833.3U Active CN216561764U (en) 2021-12-21 2021-12-21 Interrupt source extension architecture and electronic equipment

Country Status (1)

Country Link
CN (1) CN216561764U (en)

Similar Documents

Publication Publication Date Title
CN106886766B (en) A kind of fingerprint identification method, fingerprint recognition circuit and mobile terminal
CN102609072B (en) The method that response button triggers and the portable set that adopts the method
TWI225982B (en) Power shutdown method of wireless peripheral device
CN114320029B (en) Low-power-consumption anti-interference intelligent door lock and awakening method
CN110764585B (en) Universal independent BMC board card
CN106095053B (en) False-touch prevention Rouser and method and intelligent terminal
CN110415405A (en) Intelligent door lock
CN104182243A (en) Sleep state control system, computer system and sleep state detection method thereof
CN216561764U (en) Interrupt source extension architecture and electronic equipment
CN110245048B (en) Intelligent management system and management method for chassis
CN208654885U (en) For sharing the intelligent bicycle lock and system of bicycle
CN219831808U (en) Wake-up device
CN107724808A (en) A kind of coded lock touch control system of key containing doorbell and the coded lock of the key containing doorbell
CN103839307A (en) Intelligent electronic coded lock
CN214846860U (en) Electronic lock system for realizing more touch keys by 12-key capacitive touch chip
CN109961124A (en) One kind having identifing source FRID label
CN2908708Y (en) Key lock separated electronic trick lock
US7206883B2 (en) Interruption control system and method
CN108966328A (en) Display screen double-clicks wake-up control method, mobile terminal
CN109213040B (en) Control circuit, electronic device and control method thereof
CN210983551U (en) Intelligent access control installs equipment additional
CN108388181B (en) Key scan apparatus and system
CN219302901U (en) Controller awakening circuit based on multiple keys and electronic equipment
CN112734997A (en) Electronic lock system for realizing more touch keys by 12-key capacitive touch chip
CN211519454U (en) Novel face identification car unblock device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100193 5th floor 510, No. 5 Building, East Yard, No. 10 Wangdong Road, Northwest Haidian District, Beijing

Patentee after: Beijing Shendun Technology Co.,Ltd.

Address before: 100193 5th floor 510, No. 5 Building, East Yard, No. 10 Wangdong Road, Northwest Haidian District, Beijing

Patentee before: BEIJING SENSESHIELD TECHNOLOGY Co.,Ltd.