CN115096339B - Circuit for detecting opening of cover body of electronic equipment and electronic equipment - Google Patents
Circuit for detecting opening of cover body of electronic equipment and electronic equipment Download PDFInfo
- Publication number
- CN115096339B CN115096339B CN202210759632.0A CN202210759632A CN115096339B CN 115096339 B CN115096339 B CN 115096339B CN 202210759632 A CN202210759632 A CN 202210759632A CN 115096339 B CN115096339 B CN 115096339B
- Authority
- CN
- China
- Prior art keywords
- switch
- detection signal
- detection
- converter
- mode
- 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
- 238000001514 detection method Methods 0.000 claims abstract description 229
- 230000008859 change Effects 0.000 claims abstract description 18
- 238000010586 diagram Methods 0.000 description 8
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/12—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
- G01D5/14—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The application discloses a circuit for detecting opening of a cover body of electronic equipment, which comprises: the detection module comprises a detection element and a first detection bit, wherein the detection element generates a first detection signal according to the relative position change of the cover body and sends the first detection signal to the first detection bit; the first control module comprises a controller, a first input end and a first output end, wherein the first input end acquires a first detection signal and sends the first detection signal to the controller, and the controller generates a second detection signal according to the first detection signal and sends the second detection signal to the first output end; the processing module comprises a processor, a first converter and a second detection bit, wherein the second detection bit acquires a second detection signal and sends the second detection signal to the first converter, the first converter generates a third detection signal according to the second detection signal and sends the third detection signal to the processor, and the processor determines whether the cover body is opened or not according to the third detection signal.
Description
Technical Field
The present application relates to the field of detection circuits, and more particularly, to a circuit for detecting opening of a cover of an electronic device.
Background
At present, for detecting whether a cover of an electronic device is opened, a cover is usually used to push a physical switch as a detection of whether the cover is opened, and a detection signal of the physical switch is connected to a CPU, so that a system knows whether the cover is opened. Such a detection method requires additional switch parts and structures, and the price of the physical switch parts is high, the specific position needs to be designated for placing the switch and the corresponding structure, and the occupied area of the physical switch is large. In the prior art, the detection mode of whether the cover body of the electronic equipment is opened has higher manufacturing cost and also affects the structure of the electronic equipment.
Disclosure of Invention
An object of an embodiment of the present application is to provide a circuit for detecting opening of a cover of an electronic device, which is capable of generating a corresponding detection signal according to a relative position change of the cover, and judging whether the cover is opened according to the detection signal. The circuit of the embodiment of the application does not need an additional physical switch structure, can reduce the cost of the electronic equipment and is simple to operate.
In order to solve the technical problems, the embodiment of the application adopts the following technical scheme: a circuit for detecting opening of a cover of an electronic device, comprising:
The detection module comprises a detection element and a first detection bit, wherein the detection element generates a corresponding first detection signal according to the relative position change of the cover body and sends the first detection signal to the first detection bit;
The first control module comprises a controller, a first input end and a first output end, wherein the first input end is connected with the first detection bit, the first input end acquires the first detection signal and sends the first detection signal to the controller under the condition that the electronic equipment is in a first mode, the controller generates a second detection signal according to the first detection signal, and the controller sends the second detection signal to the first output end, wherein in the first mode, the electronic equipment supplies power for the first control module;
the processing module comprises a processor, a first converter and a second detection bit, wherein the second detection bit is connected with the first output end, the second detection bit acquires the second detection signal sent by the first output end and sends the second detection signal to the first converter, the first converter generates a third detection signal according to the second detection signal, the first converter sends the third detection signal to the processor, and the processor determines whether the cover body is opened according to the third detection signal.
Preferably, the circuit further comprises:
The second control module comprises a second converter, a second input end and a second output end, wherein the second input end is connected with the first detection bit, the second input end acquires the first detection signal and sends the first detection signal to the second converter when the electronic equipment is in a second mode, the second converter generates a fourth detection signal according to the first detection signal, and the second converter sends the fourth detection signal to the second output end, wherein in the second mode, the electronic equipment stops supplying power to the first control module;
The second detection bit is connected with the second output end, the second detection bit acquires the fourth detection signal sent by the second output end and sends the fourth detection signal to the first converter, the first converter generates a fifth detection signal according to the fourth detection signal, the first converter sends the fifth detection signal to the processor, and the processor determines whether the cover body is opened according to the fifth detection signal.
Preferably, the detection module further comprises:
One end of the detection element is connected with the first power supply, and the other end of the detection element is grounded;
The first power supply operates both in a first mode and in a second mode of the electronic device.
Preferably, the first control module further comprises:
one end of the controller is connected with the second power supply, and the other end of the controller is grounded;
The second power supply operates with the electronic device in the first mode.
Preferably, the processing module further comprises:
one end of the first converter is connected with the third power supply, and the other end of the first converter is grounded;
the third power supply operates both in a first mode and in a second mode of the electronic device.
Preferably, the first converter is a first switch, the first switch includes a control end of the first switch, a first end of the first switch and a second end of the first switch, when the control end of the first switch is at a low level in the case that the electronic device is in the first mode, the control end of the first switch controls the first end of the first switch and the second end of the first switch to be non-conductive, and the processor determines that the cover is in a closed state according to a high potential of the second end of the first switch.
Preferably, the first converter is a first switch, the first switch includes a control end of the first switch, a first end of the first switch and a second end of the first switch, when the control end of the first switch is at a high level in the case that the electronic device is in the first mode, the control end of the first switch controls the first end of the first switch and the second end of the first switch to be conducted, and the processor determines that the cover body is in an open state according to a low potential of the second end of the first switch.
Preferably, the second converter is a second switch, the second switch includes a control end of the second switch, a first end of the second switch, and a second end of the second switch, where when the control end of the second switch is at a low level and the first end of the second switch is at a low level, the control end of the second switch controls the second end of the second switch to be also at a low level when the electronic device is in a second mode;
The control end of the first switch is at a low level, the control end of the first switch controls the first end of the first switch and the second end of the first switch to be non-conductive, and the processor determines that the cover body is in a closed state according to the high potential of the second end of the first switch.
Preferably, the second converter is a second switch, the second switch includes a control end of the second switch, a first end of the second switch and a second end of the second switch, when the control end of the second switch is at a low level and the first end of the second switch is at a high level in the case that the electronic device is in the second mode, the control end of the second switch controls the second end of the second switch to be also at a high level;
the control end of the first switch is at a high level, the control end of the first switch controls the first end of the first switch and the second end of the first switch to be conducted, and the processor determines that the cover body is in an open state according to the low potential of the second end of the first switch.
An embodiment of the application aims to provide an electronic device, which comprises a circuit for detecting the opening of a cover body of the electronic device and the cover body.
The embodiment of the application has the beneficial effects that: the circuit utilizes the detection element to generate a corresponding detection signal according to the relative position change of the cover body, and judges whether the cover body is opened or not according to the detection signal. The detecting element of the embodiment of the application is a structure of the screw and the screw hole of the electronic equipment, and the signals at two sides of the screw hole can be short-circuited or opened through the installation and the removal of the screw, so that whether the cover body of the electronic equipment is opened or not can be judged according to different voltage levels. According to the embodiment of the application, the detection element is arranged, so that an additional physical switch structure is not needed, the cost of the electronic equipment can be reduced, and the operation is simple.
Drawings
In order to more clearly illustrate the application or the technical solutions of the prior art, the drawings that are used in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments described in the present application, and that other drawings can be obtained according to these drawings without inventive faculty for a person skilled in the art.
FIG. 1 shows a schematic block diagram of a circuit in an embodiment of the application;
FIG. 2 shows another schematic block diagram of circuitry in an embodiment of the application;
FIG. 3 shows a schematic diagram of a circuit in an embodiment of the application;
FIG. 4 shows a schematic diagram of a circuit in an embodiment of the application with the electronic device in a first mode;
FIG. 5 shows another schematic diagram of the circuit in an embodiment of the application with the electronic device in a first mode;
FIG. 6 shows a schematic diagram of a circuit in an embodiment of the application with the electronic device in a second mode;
FIG. 7 shows another schematic diagram of the circuit in an embodiment of the application with the electronic device in a second mode;
Fig. 8 is a schematic diagram of an electronic device according to an embodiment of the application.
Detailed Description
Various aspects and features of the present application are described herein with reference to the accompanying drawings.
It should be understood that various modifications may be made to the embodiments of the application herein. Therefore, the above description should not be taken as limiting, but merely as exemplification of the embodiments. Other modifications within the scope and spirit of the application will occur to persons of ordinary skill in the art.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and, together with a general description of the application given above, and the detailed description of the embodiments given below, serve to explain the principles of the application.
These and other characteristics of the application will become apparent from the following description of a preferred form of embodiment, given as a non-limiting example, with reference to the accompanying drawings.
It is also to be understood that, although the application has been described with reference to some specific examples, a person skilled in the art will certainly be able to achieve many other equivalent forms of the application, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present application will become more apparent in light of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present application will be described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the application, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the application in unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not intended to be limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present application in virtually any appropriately detailed structure.
The specification may use the word "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the application.
The embodiment of the application provides a circuit for detecting the opening of a cover body of electronic equipment, which comprises the following components:
The detection module comprises a detection element and a first detection bit, wherein the detection element generates a corresponding first detection signal according to the relative position change of the cover body and sends the first detection signal to the first detection bit;
The first control module comprises a controller, a first input end and a first output end, wherein the first input end is connected with the first detection bit, the first input end acquires the first detection signal and sends the first detection signal to the controller under the condition that the electronic equipment is in a first mode, the controller generates a second detection signal according to the first detection signal, and the controller sends the second detection signal to the first output end, wherein in the first mode, the electronic equipment supplies power for the control module;
the processing module comprises a processor, a first converter and a second detection bit, wherein the second detection bit is connected with the first output end, the second detection bit acquires the second detection signal sent by the first output end and sends the second detection signal to the first converter, the first converter generates a third detection signal according to the second detection signal, the first converter sends the third detection signal to the processor, and the processor determines whether the cover body is opened according to the third detection signal.
In this embodiment, referring to fig. 1 and 3, the circuit of the embodiment of the present application includes a detection module, where the detection module includes a detection element and a first detection bit, the detection element is configured of a screw and a screw Hole (HOLEA), the screw hole is disposed on an electronic device, for example, the screw hole is disposed on a back cover of a notebook computer, and the screw can be mounted in the screw hole or removed from the screw hole. The detecting element generates a corresponding first detecting signal according to the relative position change of the cover body, specifically, when the screw is installed or removed, the position of the cover body changes, for example, when the screw is installed on the screw hole, namely, the back cover of the notebook computer is fixed on the notebook computer, the cover body is closed, when the screw is removed from the screw hole, namely, the back cover of the notebook computer is removed from the notebook computer, the cover body is opened, at this time, the detecting element generates a first detecting signal according to the relative position change of the cover body and sends the first detecting signal to the first detecting position, and the first detecting signal is a signal representing whether the cover body is opened or not. The detection signal may be low and/or high.
The circuit of the embodiment of the application further comprises a first control module, wherein the first control module comprises a controller, a first input end and a first output end, the controller is an Embedded Controller (EC), the first input end is connected with a first detection bit of the detection module, and the first control module works under the condition that the electronic equipment is in a first mode. The first mode is a mode in which a primary power source of the electronic device is in an operational state, e.g., the first mode is a non-shipping mode (non-shipping mode) in which the electronic device is first powered on from a shipping mode (shipping mode). In the first mode, the first control module is conducted, the first input end obtains a first detection signal sent by the detection element and sends the first detection signal to the controller, the controller generates a second detection signal according to the first detection signal sent by the detection element, the controller sends the second detection signal to the first output end, and in the first mode, the power supply of the electronic equipment supplies power for the first control module. The first control module receives a first detection signal representing whether the cover body is opened or not in a first mode, and generates a second detection signal according to the first detection signal so as to output the second detection signal.
The circuit of the embodiment of the application further comprises a processing module, the processing module comprises a processor, a first converter and a second detection bit, the processor is a Central Processing Unit (CPU) of the electronic equipment, the second detection bit of the processing module is connected with the first output end of the first control module, after the controller sends a second detection signal to the first output end, the second detection bit acquires the second detection signal sent by the first output end and sends the second detection signal to the first converter, the first converter generates a third detection signal according to the second detection signal, the first converter sends the third detection signal to the processor, and the processor determines whether the cover body is opened or not according to the third detection signal.
In this embodiment, in the first mode, the detecting element of the detecting module generates a first detecting signal according to the relative position change of the cover, then sends the first detecting signal to the first control module, the controller generates a second detecting signal according to the first detecting signal and sends the second detecting signal to the processing module, the first converter generates a third detecting signal according to the second detecting signal, and the processor determines whether the cover is opened according to the third detecting signal. The circuit of the embodiment of the application can generate the corresponding detection signal according to the relative position change of the cover body, and judge whether the cover body is opened or not according to the detection signal. When the cover is operated, the corresponding detection signal can be generated according to the relative position change of the cover body only by installing the screw in the screw hole or detaching the screw from the screw hole, and whether the cover body is opened or not is judged according to the detection signal.
In one embodiment of the application, the circuit further comprises: the second control module comprises a second converter, a second input end and a second output end, wherein the second input end is connected with the first detection bit, the second input end acquires the first detection signal and sends the first detection signal to the second converter when the electronic equipment is in a second mode, the second converter generates a fourth detection signal according to the first detection signal, and the second converter sends the fourth detection signal to the second output end, wherein in the second mode, the electronic equipment stops supplying power to the first control module;
The second detection bit is connected with the second output end, the second detection bit acquires the fourth detection signal sent by the second output end and sends the fourth detection signal to the first converter, the first converter generates a fifth detection signal according to the fourth detection signal, the first converter sends the fifth detection signal to the processor, and the processor determines whether the cover body is opened according to the fifth detection signal.
In this embodiment, referring to fig. 2 and 3, the circuit of the embodiment of the present application further includes: the second control module comprises a second converter, a second input end and a second output end, wherein the second input end is connected with the first detection bit of the detection module, and under the condition that the electronic equipment is in a second mode, the second input end acquires a first detection signal sent by the first detection bit and sends the first detection signal to the second converter. The second mode is a mode in which the main power supply of the electronic device is in a non-operating state, for example, the second mode is a shipping mode (shipping mode), in which the electronic device is shipped from the factory, the main power supply of the battery is cut off, and only the RTC power supply is reserved to save unnecessary consumption of the power supply. And under the condition that the electronic equipment is in the second mode, the detection module works. The detecting element generates a first detecting signal according to the relative position change of the cover body, and sends the first detecting signal to the first detecting position, wherein the first detecting signal is a signal representing whether the cover body is opened or not. The second converter generates a fourth detection signal according to the first detection signal sent by the detection element, and the second converter sends the fourth detection signal to the second output end. In the second mode, the electronic device ceases to supply power to the first control module. The second control module receives a first detection signal representing whether the cover body is opened or not in a second mode, and generates a fourth detection signal according to the first detection signal so as to output the fourth detection signal.
The second detection bit of the processing module is connected with the second output end of the second control module, the second detection bit acquires a fourth detection signal sent by the second output end and sends the fourth detection signal to the first converter, the first converter generates a fifth detection signal according to the fourth detection signal, the first converter sends the fifth detection signal to the processor, and the processor determines whether the cover body is opened or not according to the fifth detection signal.
In this embodiment, in the second mode, the detecting element of the detecting module generates the first detecting signal according to the relative position change of the cover, then sends the first detecting signal to the second control module, the controller generates the fourth detecting signal according to the first detecting signal and sends the fourth detecting signal to the processing module, the first converter generates the fifth detecting signal according to the fourth detecting signal, and the processor determines whether the cover is opened according to the fifth detecting signal. The circuit of the embodiment of the application can generate the corresponding detection signal according to the relative position change of the cover body under the condition that the main power supply of the electronic equipment is in a non-working state, and judge whether the cover body is opened or not according to the detection signal. In operation, the screw is installed in or removed from the screw hole, and then a corresponding detection signal is generated according to the relative position change of the cover, and whether the cover is opened is determined according to the detection signal. In this state, only a part of the power supply of the electronic device is required to be kept in an operating state, and the second control module can process and output the detection signal so that the processor can determine whether the cover body is opened or not according to the detection signal. The embodiment saves unnecessary consumption of power supply while ensuring the output of the detection signal.
In an embodiment of the present application, referring to fig. 3, the detection module further includes a first power source, one end of the detection element is connected to the first power source, and the other end of the detection element is grounded. Specifically, the first power supply is an RTC power supply, and the voltage is 3.0V (RTCVCC =3.0V). The first power supply works under the condition that the electronic equipment is in a first mode and under the condition that the electronic equipment is in a second mode, the first power supply supplies power to the detection module, and under the condition that the electronic equipment is in the first mode and under the condition that the electronic equipment is in the second mode, the detection module can generate a first detection signal according to the relative position change of the cover body and output the first detection signal.
In one embodiment of the present application, referring to fig. 3, the first control module further includes a second power source, one end of the controller is connected to the second power source, and the other end of the controller is grounded. Specifically, the second power supply is a VCC power supply, and the voltage is 3.3V (VCC 3 sw=3.3v). The second power supply operates with the electronic device in the first mode. Under the condition that the electronic equipment is in a first mode, the first control module is conducted, the second power supply supplies power to the controller, the controller obtains a first detection signal and generates a second detection signal, and then the second detection signal is output.
In one embodiment of the present application, referring to fig. 3, the processing module further includes a third power source, one end of the first converter is connected to the third power source, and the other end of the first converter is grounded. The third power supply is RTC power supply, and the voltage is 3.0V (RTCVCC =3.0V). The third power supply works under the condition that the electronic equipment is in the first mode and the second mode, the third power supply supplies power to the processing module, and under the condition that the electronic equipment is in the first mode and the second mode, the processing module can generate a third detection signal according to the second detection signal and determine whether the cover body is opened or not according to the third detection signal.
In one embodiment of the present application, referring to fig. 3, the second control module further includes a fourth power source, one end of the second converter is connected to the fourth power source, and the other end of the second converter is grounded. Specifically, the fourth power supply is a VCC power supply, and the voltage is 3.3V (VCC 3 sw=3.3v). The fourth power supply operates with the electronic device in the first mode. And under the condition that the electronic equipment is in the first mode, a main power supply of the electronic equipment is in a working state, and a fourth power supply is in a working state.
In one embodiment of the application, referring to fig. 3 and 4, the first converter is a first switch, the first switch is a transistor (Q2), and the first switch includes a control terminal of the first switch, a first terminal of the first switch, and a second terminal of the first switch. Specifically, in the case where the electronic apparatus is in the first mode, the first power supply is operated at this time, RTCVCC =3.0V, and the second power supply is operated, VCC3 sw=3.3V. Since the second power supply is in an operating state, the controller, i.e., the embedded controller EC (U1), starts to operate. When the Screw is arranged on the Screw hole, the circuits on two sides of the Screw hole are in a Short circuit state (screen Short), the controller obtains 0V voltage, the control end of the first switch is also 0V voltage, namely low level, the control end of the first switch controls the first end of the first switch and the second end of the first switch to be non-conductive, and the first switch is in a cut-off state. The second detection bit, INTRUDER pins, detects the high potential of the second end of the first switch, namely 3.0V of RTCVCC, and the processor (U2) determines that the cover body is in a closed state according to the high potential of the second end of the first switch.
In one embodiment of the application, referring to fig. 3 and 5, the first converter is a first switch, the first switch is a transistor (Q2), and the first switch includes a control terminal of the first switch, a first terminal of the first switch, and a second terminal of the first switch. Specifically, in the case where the electronic apparatus is in the first mode, the first power supply is operated at this time, RTCVCC =3.0V, and the second power supply is operated, VCC3 sw=3.3V. Since the second power supply is in an operating state, the controller, i.e., the embedded controller EC (U1), starts to operate. When the Screw is removed from the Screw hole, the circuits on two sides of the Screw hole are in an Open state (screen Open), the controller obtains a voltage of 3.3V, the control end of the first switch is also a voltage of 3.3V, namely a high level, the control end of the first switch controls the first end of the first switch to be conducted with the second end of the first switch, and the first switch is in a conducting state. The second detection bit, INTRUDER pins, detects the low potential of the second end of the first switch, namely 0V of RTCVCC, and the processor (U2) determines that the cover body is in an open state according to the low potential of the second end of the first switch.
In one embodiment of the application, referring to fig. 3 and 6, the second converter is a second switch, the second switch being a transistor (Q1), the second switch comprising a control terminal of the second switch, a first terminal of the second switch, and a second terminal of the second switch. Specifically, in the case where the electronic apparatus is in the second mode, the first power supply is operated at this time, RTCVCC =3.0v, and the fourth power supply is not operated, VCC3 sw=0v. When the Screw is mounted on the Screw hole, the wires at two sides of the Screw hole are in a Short circuit state (screen), and as the fourth power supply does not work, VCC3 sw=0v, the control end of the second switch is at a voltage of 0V, i.e. at a low level, and when the first end of the second switch is at a low level, the control end of the second switch controls the second end of the second switch to be at a low level. The control end of the first switch is at a low level, the control end of the first switch controls the first end of the first switch and the second end of the first switch to be non-conductive, and the first switch is in a cut-off state. The second detection bit, INTRUDER pins, detects the high potential of the second end of the first switch, namely 3.0V of RTCVCC, and the processor (U2) determines that the cover body is in a closed state according to the high potential of the second end of the first switch.
In one embodiment of the application, referring to fig. 3 and 7, the second converter is a second switch, the second switch being a transistor (Q1), the second switch comprising a control terminal of the second switch, a first terminal of the second switch, and a second terminal of the second switch. Specifically, in the case where the electronic apparatus is in the second mode, the first power supply is operated at this time, RTCVCC =3.0v, and the fourth power supply is not operated, VCC3 sw=0v. When the Screw is removed from the Screw hole, the wires at two sides of the Screw hole are in an Open circuit state (screen Open), and as the fourth power supply is not operated, VCC3 sw=0v, the control end of the second switch is at a voltage of 0V, i.e. at a low level, and when the first end of the second switch is at a high level, the control end of the second switch controls the second end of the second switch to be at a high level. The control end of the first switch is at a high level, the control end of the first switch controls the first end of the first switch to be conducted with the second end of the first switch, and the first switch is in a conducting state. The second detection bit, INTRUDER pins, detects the low potential of the second end of the first switch, namely 0V of RTCVCC, and the processor (U2) determines that the cover body is in an open state according to the low potential of the second end of the first switch.
According to the circuit provided by the embodiment of the application, corresponding detection signals are generated according to the relative position change of the cover body under different modes of the electronic equipment, whether the cover body is opened or not is judged according to the detection signals, and during specific operation, signals on two sides of a screw hole can be short-circuited or opened through mounting and dismounting of the screw, so that whether the cover body of the electronic equipment is opened or not is judged according to different voltage levels. According to the embodiment of the application, the detection element is arranged, an additional physical switch structure is not needed, the cost of the electronic equipment can be reduced, the operation is simple, and the electronic equipment can be operated in different modes.
The embodiment also includes an electronic device including the circuit and the cover as described above. In this embodiment, referring to fig. 3 and 8, the circuit generates a corresponding detection signal according to the relative position change of the cover, and determines whether the cover is opened according to the detection signal, where the cover may be a back cover of an electronic device, for example, a back cover of a notebook computer.
The above description is only illustrative of the preferred embodiments of the present application and of the principles of the technology employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in the present application is not limited to the specific combinations of technical features described above, but also covers other technical features formed by any combination of the technical features described above or their equivalents without departing from the spirit of the disclosure. Such as the above-mentioned features and the technical features disclosed in the present application (but not limited to) having similar functions are replaced with each other.
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the application. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.
While various embodiments of the present application have been described in detail above, the present application is not limited to these specific embodiments, and those skilled in the art can make various variations and modifications embodiments on the basis of the inventive concept, and these variations and modifications should fall within the scope of the present application as claimed.
Claims (10)
1.A circuit for detecting opening of a cover of an electronic device, comprising:
The detection module comprises a detection element and a first detection bit, wherein the detection element generates a corresponding first detection signal according to the relative position change of the cover body and sends the first detection signal to the first detection bit;
The first control module comprises a controller, a first input end and a first output end, wherein the first input end is connected with the first detection bit, the first input end acquires the first detection signal and sends the first detection signal to the controller under the condition that the electronic equipment is in a first mode, the controller generates a second detection signal according to the first detection signal, and the controller sends the second detection signal to the first output end, wherein in the first mode, the electronic equipment supplies power for the first control module;
the processing module comprises a processor, a first converter and a second detection bit, wherein the second detection bit is connected with the first output end, the second detection bit acquires the second detection signal sent by the first output end and sends the second detection signal to the first converter, the first converter generates a third detection signal according to the second detection signal, the first converter sends the third detection signal to the processor, and the processor determines whether the cover body is opened according to the third detection signal.
2. The circuit of claim 1, wherein the circuit further comprises:
The second control module comprises a second converter, a second input end and a second output end, wherein the second input end is connected with the first detection bit, the second input end acquires the first detection signal and sends the first detection signal to the second converter when the electronic equipment is in a second mode, the second converter generates a fourth detection signal according to the first detection signal, and the second converter sends the fourth detection signal to the second output end, wherein in the second mode, the electronic equipment stops supplying power to the first control module;
The second detection bit is connected with the second output end, the second detection bit acquires the fourth detection signal sent by the second output end and sends the fourth detection signal to the first converter, the first converter generates a fifth detection signal according to the fourth detection signal, the first converter sends the fifth detection signal to the processor, and the processor determines whether the cover body is opened according to the fifth detection signal.
3. The circuit of claim 1, wherein the detection module further comprises:
One end of the detection element is connected with the first power supply, and the other end of the detection element is grounded;
The first power supply operates both in a first mode and in a second mode of the electronic device.
4. The circuit of claim 1, wherein the first control module further comprises:
one end of the controller is connected with the second power supply, and the other end of the controller is grounded;
The second power supply operates with the electronic device in the first mode.
5. The circuit of claim 1, wherein the processing module further comprises:
one end of the first converter is connected with the third power supply, and the other end of the first converter is grounded;
the third power supply operates both in a first mode and in a second mode of the electronic device.
6. The circuit of claim 2, wherein the circuit further comprises a logic circuit,
The first converter is a first switch, the first switch comprises a control end of the first switch, a first end of the first switch and a second end of the first switch, when the control end of the first switch is at a low level under the condition that the electronic equipment is in a first mode, the control end of the first switch controls the first end of the first switch and the second end of the first switch to be non-conductive, and the processor determines that the cover body is in a closed state according to the high potential of the second end of the first switch.
7. The circuit of claim 2, wherein the circuit further comprises a logic circuit,
The first converter is a first switch, the first switch comprises a control end of the first switch, a first end of the first switch and a second end of the first switch, when the control end of the first switch is at a high level under the condition that the electronic equipment is in a first mode, the control end of the first switch controls the first end of the first switch and the second end of the first switch to be conducted, and the processor determines that the cover body is in an open state according to a low potential of the second end of the first switch.
8. The circuit according to claim 6 or 7, wherein,
The second converter is a second switch, the second switch comprises a control end of the second switch, a first end of the second switch and a second end of the second switch, when the control end of the second switch is in a low level and the first end of the second switch is in a low level under the condition that the electronic equipment is in a second mode, the control end of the second switch controls the second end of the second switch to be also in the low level;
The control end of the first switch is at a low level, the control end of the first switch controls the first end of the first switch and the second end of the first switch to be non-conductive, and the processor determines that the cover body is in a closed state according to the high potential of the second end of the first switch.
9. The circuit according to claim 6 or 7, comprising:
The second converter is a second switch, the second switch comprises a control end of the second switch, a first end of the second switch and a second end of the second switch, when the control end of the second switch is in a low level and the first end of the second switch is in a high level under the condition that the electronic equipment is in a second mode, the control end of the second switch controls the second end of the second switch to be also in the high level;
the control end of the first switch is at a high level, the control end of the first switch controls the first end of the first switch and the second end of the first switch to be conducted, and the processor determines that the cover body is in an open state according to the low potential of the second end of the first switch.
10. An electronic device comprising the circuit of any one of claims 1-9 and a cover.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210759632.0A CN115096339B (en) | 2022-06-29 | 2022-06-29 | Circuit for detecting opening of cover body of electronic equipment and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210759632.0A CN115096339B (en) | 2022-06-29 | 2022-06-29 | Circuit for detecting opening of cover body of electronic equipment and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115096339A CN115096339A (en) | 2022-09-23 |
CN115096339B true CN115096339B (en) | 2024-07-02 |
Family
ID=83294752
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210759632.0A Active CN115096339B (en) | 2022-06-29 | 2022-06-29 | Circuit for detecting opening of cover body of electronic equipment and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115096339B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104089635A (en) * | 2014-07-28 | 2014-10-08 | 深圳宝嘉电子设备有限公司 | Device for detecting opening or closing of cover |
CN109945911A (en) * | 2017-12-15 | 2019-06-28 | 富泰华工业(深圳)有限公司 | Electronic device tears machine monitoring device and method open |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110147156A (en) * | 2019-05-22 | 2019-08-20 | 合肥联宝信息技术有限公司 | The control method and control device of a kind of electronic equipment |
KR102213784B1 (en) * | 2020-12-07 | 2021-02-05 | 김남형 | Motor control device and control method in which the driver, display, operation part, and controller are integrally mounted on the motor |
CN215499022U (en) * | 2021-08-26 | 2022-01-11 | 平凉信息工程学校(平凉技师学院、平凉市技工学校) | Computer network signal detection device |
-
2022
- 2022-06-29 CN CN202210759632.0A patent/CN115096339B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104089635A (en) * | 2014-07-28 | 2014-10-08 | 深圳宝嘉电子设备有限公司 | Device for detecting opening or closing of cover |
CN109945911A (en) * | 2017-12-15 | 2019-06-28 | 富泰华工业(深圳)有限公司 | Electronic device tears machine monitoring device and method open |
Also Published As
Publication number | Publication date |
---|---|
CN115096339A (en) | 2022-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3150567U (en) | Electronic device that reduces power consumption when computer motherboard shuts down | |
KR20010038449A (en) | Power supply control circuit for computer system having a plurality of power management states | |
US7882376B2 (en) | Power control for a core circuit area of a semiconductor integrated circuit device | |
US7523328B2 (en) | Computer power control | |
CN102147652A (en) | Shut-down energy-saving system and shut-down energy-saving method | |
US20060280005A1 (en) | Memory voltage generating circuit | |
CN102478800A (en) | System and method for monitoring electric power sequential signals | |
JP2006319316A (en) | Single pin for controlling multiple functions | |
US20210191492A1 (en) | Method of supplying electric power to a computer system | |
KR100373995B1 (en) | Hot-pluggable voltage regulator module | |
KR20060087716A (en) | Memory device | |
KR20020008146A (en) | Add-on Card with Automatic Bus Power Line Selection Circuit | |
CN103699175A (en) | Mainboard | |
CN110703892A (en) | EC reset circuit and electronic equipment based on USB C type interface | |
CN115096339B (en) | Circuit for detecting opening of cover body of electronic equipment and electronic equipment | |
KR101657593B1 (en) | A method for monitoring the operating state of a computer system, and the power saving method utilizing the same | |
CN101599866A (en) | The method of the calling function of network of test network card and use its test macro | |
KR102244643B1 (en) | Switching mode power supply built-in standby power cut-off apparatus and method | |
KR20050108275A (en) | Portable computer system and method of controlling the same | |
CN112394804A (en) | Power supply regulation and control device, computer system and related power supply regulation and control method thereof | |
CN102221870B (en) | Power redundancy supply method and device | |
CN110690883A (en) | EC reset circuit and electronic equipment based on composite signal | |
JP3061943B2 (en) | Power control circuit | |
CN110688260B (en) | EC reset circuit and electronic equipment based on earphone interface | |
JP2011258637A (en) | Integrated circuit device with voltage regulator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |