Circuit board and server
By integrating power-off and power-on detection circuits on the server circuit board, basic components are used to realize unboxing detection of the server, which solves the problem that the existing technology cannot detect when the power is on, reduces the cost and improves the detection efficiency. Accuracy and reliability.
Patent Information
- Application Number
- PCT/CN2023/116220
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-20
- Filing Date
- 2023-08-31
- Publication Date
- 2024-09-26
AI Technical Summary
The existing server unboxing detection mechanism cannot continue to detect the server after it is powered on, and the cost is high, which affects equipment safety and battery life.
A circuit board is designed, which includes a power-off detection circuit and a power-on detection circuit. It uses basic components such as field effect transistors, diodes, and resistors to realize unboxing detection of the server in any state. By shielding the signal, it detects when the power is off and on. Avoid interference during power-on state and improve detection accuracy and reliability.
It enables unboxing detection of servers in any scenario, reducing costs, extending battery life, and improving detection accuracy and reliability.
Smart Images

Figure CN2023116220_26092024_PF_FP
Abstract
Description
Circuit board and server
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 20, 2023, with application number 202310276081.7 and application name “A Circuit Board and Server”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the technical field of unpacking detection, and in particular to a circuit board provided with an unpacking detection circuit. Background Art
[0003] As critical information processing infrastructure, servers operate in a variety of environments. When unattended, data security must be ensured. Furthermore, the server's internal hard drive, CPU, and memory modules are valuable assets, requiring the same security measures. In the event of an intrusion into a server, the backend management system must be immediately aware of the situation and maintain a log of any intrusions. To ensure this, servers are equipped with mechanical locks to protect internal equipment. Additionally, detecting unpacking is a highly effective and direct security measure.
[0004] Currently, the commonly used detection method is: a physical switch linked to the server's lock. When the lock is opened, it drives the mechanical switch to generate a trigger signal, triggering the Intel server platform management chip to record the unpacking event. However, the existing reporting mechanism is based on CMOS registers and can only detect unpacking behavior when the server is not powered on, and can only report the detection results once after power is turned on. During the process of the server being powered on, because the CMOS register is set, it is no longer possible to report. In this case, an additional dedicated trigger is required to detect the signal of the mechanical switch in order to realize unpacking detection when the server is powered on.
[0005] However, the additional dedicated trigger is expensive and requires an internal power supply to power the dedicated trigger when not in use, which reduces the life of the internal battery. Therefore, there is an urgent need for a detection circuit with a simple structure, low cost, and the ability to perform unpacking inspections on servers in any scenario.
[0006] Summary of the Invention
[0007] An embodiment of the present application provides a circuit board on which an unpacking detection circuit is provided, which can implement unpacking detection of a server in any scenario, and has a simple structure and low cost.
[0008] The embodiments of the present invention adopt the following technical solutions:
[0009] In a first aspect, embodiments of the present application provide a circuit board having an unpacking detection circuit provided thereon, the unpacking detection circuit comprising:
[0010] Power-off detection circuit, power-on detection circuit and switch;
[0011] One end of the switch is connected to a first end of the power-on detection circuit, and the other end of the mechanical switch is grounded and connected to a second end of the power-on detection circuit;
[0012] A first end of the power-on detection circuit is connected to a first end of the power-off detection circuit, a third end of the power-on detection circuit is connected to a second end of the power-off detection circuit and an internal power supply, respectively, and a fourth end of the power-on detection circuit is used to connect to a controller;
[0013] The third terminal of the power failure detection circuit is connected to the controller, and the fourth terminal of the power failure detection circuit is grounded;
[0014] The power-off detection circuit is configured to generate a first trigger signal when the circuit board is in a power-off state and the switch is closed, and to send the first trigger signal to the controller after the circuit board is powered on again to remind the user that an unpacking event has occurred. The power-off state is the state when the circuit board is not connected to an external power source.
[0015] The power-on detection circuit is used to generate a second trigger signal when the unpacking circuit board is in the power-on state and the switch is closed, and send the second trigger signal to the controller to remind the user that an unpacking event has occurred. The power-on state is the state when the circuit board is connected to an external power supply.
[0016] As can be seen, this embodiment, by establishing both a power-off detection circuit and a power-on detection circuit, enables detection of abnormal server unpacking in any state. Furthermore, in the power-off state, the power-on detection circuit is shielded; in the power-on state, the power-off detection circuit is shielded, thereby preventing signal interference and improving detection accuracy and reliability. Furthermore, the entire unpacking detection circuit, comprised of basic components such as field-effect transistors, diodes, and resistors, boasts a simple structure, low cost, and ease of implementation, making it suitable for server unpacking detection in a variety of scenarios.
[0017] In one possible implementation, the power failure detection circuit includes:
[0018] A first resistor, a second resistor, a first field effect transistor, a PCH chip and a diode;
[0019] The gate of the first field effect transistor is the first end of the power failure detection circuit, one end of the first resistor is the second end of the power failure detection circuit, the third pin of the PCH chip is the third end of the power failure detection circuit, and one end of the second resistor is the fourth end of the power failure detection circuit;
[0020] The source of the first field effect transistor is connected to the cathode of the diode and the other end of the second resistor respectively;
[0021] The drain of the first field effect transistor is connected to the other end of the first resistor and the first pin of the PCH chip respectively;
[0022] One end of the first resistor is connected to the second pin of the PCH chip;
[0023] The anode of the diode is connected to the external power supply.
[0024] In a possible implementation, the first pin of the PCH chip is an intruder pin, the second pin of the PCH chip is a power supply pin, and the third pin of the PCH chip is an LPC interface pin.
[0025] In a possible implementation, the first field effect transistor is an N-channel field effect transistor.
[0026] In one possible implementation, the power-on detection circuit includes:
[0027] a third resistor, a fourth resistor and a second field effect transistor;
[0028] One end of the third resistor is the first end of the power-on detection circuit, the source of the second field effect transistor is the second end of the power-on detection circuit, the other end of the third resistor is the third end of the power-on detection circuit, and the drain of the second field effect transistor is the fourth end of the power-on detection circuit;
[0029] One end of the third resistor is connected to the gate of the second field effect transistor;
[0030] The drain of the second field effect transistor is connected to one end of the fourth resistor;
[0031] The other end of the fourth resistor is connected to the second power supply.
[0032] In a possible implementation manner, the second field effect transistor is an N-channel field effect transistor.
[0033] In a possible implementation, when the unpacking detection circuit is in a power-off state, the power-on detection circuit fails; and when the unpacking detection circuit is in a power-on state, the power-off detection circuit fails.
[0034] In a possible implementation, the third terminal of the power-off detection circuit is connected to the baseboard management controller via an enhanced serial peripheral interface bus.
[0035] In a possible implementation manner, the fourth terminal of the power-on detection circuit is connected to an interrupt pin of the baseboard management controller.
[0036] In a second aspect, an embodiment of the present application provides a server, which includes a chassis and a circuit board as described in the first aspect and disposed in the chassis. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention.
[0038] FIG1 is a schematic diagram of a box opening detection system provided by an embodiment of the present invention;
[0039] FIG2 is a schematic diagram of the structure of a server provided in an embodiment of the present invention;
[0040] FIG3 is a schematic structural diagram of a physical linkage mechanism provided in an embodiment of the present invention;
[0041] FIG4 is a schematic diagram of the structure of another server provided in an embodiment of the present invention;
[0042] FIG5 is a schematic structural diagram of another physical linkage mechanism provided in an embodiment of the present invention;
[0043] FIG6 is a circuit block diagram of a box opening detection circuit provided in an embodiment of the present invention;
[0044] FIG7 is a schematic structural diagram of a box opening detection circuit provided in an embodiment of the present invention;
[0045] FIG8 is a schematic diagram of the operation of a circuit board provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0047] The terms "first," "second," "third," and "fourth," etc., in the specification, claims, and drawings of this application are used to distinguish between different objects, not to describe a particular order. In addition, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements, but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.
[0048] Reference herein to an "embodiment" means that a particular feature, result, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present application. The appearance of this phrase in various locations in the specification does not necessarily refer to the same embodiment, nor does it refer to independent or alternative embodiments that are mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0049] First, for ease of understanding, the relevant terms involved in this application are explained:
[0050] BMC, Baseboard Management Controller, is used to run the operating system. It can perform operations such as upgrading the machine's firmware, checking the status of machine components, and powering on and off the device when the server is not powered on.
[0051] PCH, Platform Controller Hub, Intel's integrated south bridge, is used for X86 server platform status management and I / O (Input / Output) function expansion.
[0052] CMOS registers, Complementary Metal-Oxide-Semiconductor, are a group of registers inside the PCH that are powered by a battery and are used to latch data.
[0053] The power-off state refers to the state in which the server, circuit board, and other devices are not connected to the external power supply. In this state, only the internal power supply of the circuit board can supply power to the CMOS registers inside the PCH.
[0054] The power-on state refers to the state in which devices such as servers and circuit boards are connected to external power supplies.
[0055] Secondly, the circuit board provided in the embodiment of the present application can be used to perform unpacking detection on electronic devices under any circumstances. Specifically, as shown in Figure 1, Figure 1 shows a schematic diagram of an unpacking detection system provided in an embodiment of the present application. The system may include: an electronic device 10, a detection device, the detection device includes a circuit board 11, and the circuit board 11 is provided with an unpacking detection circuit and a controller (not shown in the figure), wherein the detection device can be set in the electronic device 10 or outside the electronic device 10.
[0056] For example, the electronic device may be a server, a switch cabinet, a power distribution cabinet, etc. This embodiment takes a server as an example. When the electronic device 10 is a server, the detection device is disposed in the server. The circuit board 11 in the detection device may be a mainboard in the server 10, which also includes components such as a central processing unit (CPU), memory modules, a south bridge chip (PCH), and a baseboard management chip (BMC).
[0057] In some embodiments, the circuit board 11 may also be other circuit boards in the server 10, such as a hard disk backplane, a power backplane, a circuit board for PCIE card insertion, etc.
[0058] In this embodiment, the server can be a file server, a domain server, a database server, a mail server, a web server, a multimedia server, a communication server, a terminal server, an infrastructure server, a virtualization server, etc. The server can be a tower server, a rack server, a blade server, a high-density server, a cabinet server, a high-performance computing (HPC) server, a heterogeneous server, etc., and can be, but not limited to, an X86 architecture, a reduced instruction set computer (RISC) architecture, an advanced RISC machine (ARM) architecture, etc. The server is used to receive data transmitted by other devices, process the data, generate new data, and send it to the corresponding device. The chassis / cabinet of the server 10 is provided with a lock for locking the server 10 to ensure the asset security of the internal components of the server, such as the hard disk, CPU, memory module, etc. It should be noted that a server chassis can contain one or more nodes. A node is a minimum computing unit, meaning it includes components such as a motherboard and a backplane. The motherboard is equipped with components such as the central processing unit (CPU), memory modules, a south bridge chip (PCH), and a baseboard management chip (BMC). The backplane can be a hard drive backplane, PCIe card, or power supply backplane. Multiple server chassis can be installed in a server cabinet using U-slots or slots.
[0059] In this embodiment, circuit board 11 is equipped with a box opening detection circuit and a controller. The box opening detection circuit includes a power-off detection circuit, a power-on detection circuit, and a switch. The switch is physically linked to the lock on server 10. Specifically, when the lock is opened, the switch closes. Simultaneously, the box opening detection circuit sends a signal to controller 12.
[0060] For example, the circuit board 11 can be positioned within the server 10 near the lock 28, as shown in FIG2 . FIG2 illustrates a schematic diagram of the server structure, where the circuit board 11 is the motherboard within the server 10. The lock 28 is positioned on the chassis cover 21 of the server 10, and the motherboard 22 is positioned within the server 10. A physical linkage mechanism 23 is provided on the motherboard 22, with the upper surface of the physical linkage mechanism 23 in close contact with the chassis cover 21.
[0061] Specifically, as shown in FIG3 , FIG3 shows a schematic structural diagram of a physical linkage mechanism 23 provided in this embodiment. The linkage mechanism 23 includes: a housing 24, a button 25, a pressing piece 26, and a spring 27. The housing 24 is hollow, and a hole 30 is provided on the upper surface. The button 25 is provided through the hole 30, and one end of the pressing piece 26 is located in the cavity of the housing 24 and is connected to the pressing piece 26. The diameter of the pressing piece 26 is slightly larger than the diameter of the button hole 30. The end of the pressing piece 26 not connected to the button 25 is connected to the spring 27. A contact 29 is provided on the inner side of the upper surface of the housing 24. Therefore, in the absence of external pressure, the elastic force of the spring 27 keeps the pressing piece 26 in contact with the pressure point 29. When the button 25 is pressed by external pressure, the pressing piece 26 separates from the contact 29 under the action of pressure.
[0062] Based on this, in this embodiment, the combination of the pressing piece 26 and the contact 29 can be regarded as a switch in the box opening detection circuit. The contact between the pressing piece 26 and the contact 29 is equivalent to the switch being closed, and the separation of the pressing piece 26 and the pressing point 29 is equivalent to the switch being open.
[0063] In this embodiment, as shown in FIG2 , when the chassis cover 21 is not opened, the upper surface of the physical linkage mechanism 23 is in close contact with the chassis cover 21, so that the chassis cover 21 presses the button 25 downward, so that the pressing piece 26 remains separated from the pressure point 29, and the switch is in the off state. When the chassis cover 21 is opened, the spring button 24 returns to its original position under the action of the internal spring, and the pressing piece 26 contacts the contact 29, closing the switch.
[0064] In another embodiment, as shown in Figure 4 , the circuit board 11 can also be positioned near the lock 18. In this case, as shown in Figure 5 , the lock 18 may include a locking mechanism 13, a pendulum 14, and a connecting mechanism 15. When the lock is unlocked, the locking mechanism 13 moves away from the server compartment door 16, driving the connecting mechanism 15, causing the pendulum 14 to also swing away from the server compartment door 16. Simultaneously, a push rod 17 is provided on the side of the pendulum 14 away from the server compartment door 16. This push rod 17 is a physical linkage mechanism, with one end located on the side of the pendulum 14 away from the server compartment door 16 and the other end located on the side of the switch 19 on the circuit board 11. The midpoint 20 is fixed to the server housing, allowing the push rod 14 to rotate about this midpoint 20. When the pendulum 14 swings away from the server compartment door 16, it contacts the push rod 17, pushing it away from the server compartment door 16. This causes the push rod 17 to rotate, causing the other end of the push rod 17 to press the switch 19, closing it.
[0065] In this embodiment, the controller 12 can be a BMC or other CPLD, FPGA, MCU, etc., wherein the BMC can perform operations such as upgrading the machine firmware, checking the status of machine components, and powering on and off the device when the server 10 is not turned on.
[0066] In this embodiment, the controller uses the BMC as an example. When the server 10 is powered off (not connected to an external power source), if the lock is unlocked, the switch closes under the influence of the physical linkage mechanism, driving the power outage detection circuit to generate a first trigger signal. Since the BMC does not operate when the server 10 is powered off, the power outage detection circuit needs to receive the first trigger signal after the server 10 is powered on again and the BMC starts operating, thereby alerting the user to the unpacking event.
[0067] When the server 10 is powered on (connected to an external power supply) and the BMC is in working condition, if the lock is opened, the switch is closed by the physical linkage mechanism, driving the power-on detection circuit to generate a second trigger signal, and sending the second trigger signal to the BMC in real time to remind the user that an unpacking event has occurred.
[0068] In addition, the detection device proposed in the embodiment of the present application can also be applied to other devices with boxes or locks, such as: opening detection of safes, doors, windows, etc., and the present application does not impose any restrictions on this.
[0069] The following describes the circuit board provided in the embodiment of the present application in detail, using the server unpacking test scenario as an example. In this case, the controller 12 is a BMC, and the circuit board 11 is located within the chassis of the server 10 and serves as the server's mainboard. Therefore, the power-off state refers to a state in which the server 10 is not connected to an external power source, and consequently, the circuit board 11 located within the server 10 is also not connected to an external power source. Similarly, the power-on state refers to a state in which the server 10 is connected to an external power source, and consequently, the circuit board 11 located within the server 10 is also connected to an external power source.
[0070] In this embodiment, a box opening detection circuit is provided on the circuit board 11. Referring to FIG6 , FIG6 is a block diagram of a box opening detection circuit according to an embodiment of the present application. The box opening detection circuit may include: a power-off detection circuit 100, a power-on detection circuit 200, and a switch 300. Specifically, one end of the switch 300 is connected to a first end 601 of the power-on detection circuit 200, and the other end of the switch 300 is grounded and connected to a second end 602 of the power-on detection circuit 200. The first end 601 of the power-on detection circuit 200 is connected to a first end 701 of the power-off detection circuit 100, a fourth end 604 of the power-on detection circuit is connected to the BMC 400, and a third end 603 of the power-on detection circuit 200 is connected to a second end 702 of the power-off detection circuit 100 and the positive terminal of an internal power supply 500. The internal power supply may be a backup power supply within the server, such as a 3.3V battery. When the server / circuit board is not connected to an external power source, the 3.3V battery can be used to power chips such as the PCH on the circuit board. A third terminal 703 of the power failure detection circuit 100 is connected to the BMC 400 , and a fourth terminal 704 of the power failure detection circuit 100 is grounded.
[0071] In this embodiment, the power-off detection circuit 100 is used to generate a first trigger signal when the server / circuit board is in a power-off state, that is, when the server / circuit board is not connected to an external power supply and the switch 300 is closed. After the circuit board is powered on again, the BMC starts working and receives the first trigger signal to remind the user that an unpacking event has occurred.
[0072] For example, as shown in FIG7 , FIG7 is a schematic diagram of the structure of a box opening detection circuit provided in an embodiment of the present application. In the figure, the power failure detection circuit 100 may include: a first resistor 101, a second resistor 102, a first field effect transistor 103, a PCH chip 104, and a diode 105. Among them, the resistance of the first resistor 101 can be 1MΩ-2MΩ. One end of the first resistor 101 is the second end 702 of the power failure detection circuit 100 and is connected to the second pin of the PCH chip 104 and the positive electrode of the internal power supply 500. The second pin of the PCH chip 104 can be a power supply pin. The other end of the first resistor 101 is connected to the drain of the first field effect transistor (MOSFET) 103. The resistance of second resistor 102 can be 1KΩ-10KΩ. One end of second resistor 102 is connected to fourth terminal 704 of power-off detection circuit 100, and the other end of second resistor 102 is connected to the source of first field-effect transistor 103. First field-effect transistor 103 can be an N-channel field-effect transistor, with its gate connected to first terminal 701 of power-off detection circuit 100 and first terminal 601 of power-on detection circuit 200, its source connected to the cathode of diode 105, and its drain connected to a first pin of PCH chip 104. The first pin of PCH chip 104 can be an intruder pin. The intruder pin is associated with a CMOS register in PCH chip 104. When the level of the intruder pin changes, the value in the CMOS register changes from 0 to 1, recording the level change event. The third pin of the PCH chip 104 serves as the third terminal 703 of the power-off detection circuit 100 and is connected to the BMC 400. The third pin of the PCH chip 104 may be an LPC (low pin count) interface pin and is connected to the BMC 400 via an enhanced serial peripheral interface (ESPI) bus, for transmitting information latched in the CMOS register to the BMC 400. The anode of the diode 105 is connected to an external power supply 106, which may be the power provided when the server is powered on by an external power supply, such as the driver power supply for the STBY_3V3.
[0073] As can be seen from the above, in this embodiment, the conduction of the first field effect transistor 103 is controlled by the switch 300, which then changes the level of the intruder pin of the PCH chip 104, thereby generating a first trigger signal that is locked in the CMOS register. However, the CMOS register has no register address and cannot be directly accessed. The PCH chip can only actively report the information in the CMOS register once when the server is started. Therefore, after the server / circuit board is powered on, the server's unpacking status can no longer be reported through the power-off detection circuit 100. To address this issue, in this embodiment, a power-on detection circuit 200 is provided. The power-on detection circuit 200 is used to generate a second trigger signal when the server / circuit board is connected to an external power supply and is in the powered-on state. If the switch 300 is closed, the second trigger signal is generated and sent to the BMC 400 to alert the user that an unpacking event has occurred.
[0074] Exemplarily, as shown in FIG7 , the power-on detection circuit 200 may include: a third resistor 201, a fourth resistor 202, and a second field-effect transistor 203. The resistance of the third resistor 201 may be 1MΩ-2MΩ. One end of the third resistor 201 is the first end 601 of the power-on detection circuit 200 and is connected to the gate of the second field-effect transistor 203 and one end of the switch 300. The other end of the third resistor 201 is the third end 603 of the power-on detection circuit 200 and is connected to the positive electrode of the internal power supply 500. The resistance of the fourth resistor 202 may be 1KΩ-10KΩ. One end of the fourth resistor 202 is connected to the drain of the second field-effect transistor 203, and the other end of the fourth resistor 202 is connected to the external power supply 106. The second FET 203 may be an N-channel FET, whose source is the second terminal 602 of the power-on detection circuit 200 , connected to the other terminal of the switch 300 and grounded, and whose drain is the fourth terminal 604 of the power-on detection circuit 200 , connected to the BMC 400 .
[0075] The operating principle of the circuit board provided in the embodiments of the present application will be described below with reference to Figures 7 and 8. Specifically, Figure 8 is a schematic diagram of the operation of a circuit board provided in the embodiments of the present application. The first diagram illustrates the operating principle of the circuit board in a power-off state, i.e., when the external power supply 106 is disconnected and the circuit board is powered only by the internal power supply 500. Specifically, when the server is not connected to an external power source, i.e., when the circuit board is in a power-off state, only the internal power supply 500, i.e., the 3.3V backup battery, drives the PCH chip in the circuit board to operate. Since the server is not connected to an external power source, the STBY voltage output by the external power supply 106 is 0, and the drain and source potentials of the second field-effect transistor 203 are both 0, rendering the second field-effect transistor 203 unable to be triggered by the switch 300, thereby rendering the power-on detection circuit 200 inoperative. In this state, when the server is unpacked, the lock on the server is opened, causing the switch 300 to close, driving the first field-effect transistor 103 to generate a first trigger signal. This first trigger signal is stored in the CMOS register in the PCH chip 104 in the power-off state. After the server is powered on and the BMC starts working, the PCH chip will send the first trigger signal latched in the CMOS register to the BMC when the server starts, and then remind the user that the server has experienced abnormal unpacking behavior when it is not connected to the power supply.
[0076] Specifically, when the switch 300 is closed, the circuit where the third resistor 201 is located is connected. Since the resistance of the third resistor 201 is relatively large, the current flowing through the third resistor 201 is very small, approximately 0. Therefore, the voltage across the third resistor 201 can be regarded as the voltage of the internal power supply 500, which is 3.3V. At this time, the gate voltage V G1 =3.3V, source voltage V S1 =0, then the gate-source voltage V GS1 =3.3V, and the conduction voltage V T1 =3V, then V GS1 >V T1, first field-effect transistor 103 is turned on, and the circuit containing first resistor 101 is conductive. Similarly, first resistor 101 has a relatively large resistance, so the current flowing through first resistor 101 is very small, approximately zero. The voltage across first resistor 101 can be considered 3.3V, a high level. This high-level signal serves as the first trigger signal. At this point, the intruder pin of PHC chip 104 inputs the first trigger signal, which is stored in the CMOS register within the PCH chip to record the unpacking event. When the server is powered on, the BMC starts up. At this point, PCH chip 104 transmits the first trigger signal latched in the CMOS register to the BMC via the ESPI bus to alert the user that an unpacking event occurred during a power outage. In this embodiment, due to the PCH chip's mechanism of only reporting once during server startup and the CMOS register's lack of a register address and inability to actively access it, the power-off detection circuit 100 is unable to perform unpacking detection reporting after the server is powered on. In this regard, in the circuit board provided in this application, after the server is powered on, the power-on detection circuit will be responsible for the server's unpacking detection and reporting processing.
[0077] In this embodiment, the second line of FIG8 shows the working principle of the circuit board when the server is in the power-on state, that is, the external power supply 106 is connected, and the circuit board is powered by the internal power supply 500 and the external power supply 106 at the same time. Specifically, when the server is connected to the external power supply, that is, the circuit board is in the power-on state, the STBY voltage output by the external power supply 106 is 3.3V, the diode 105 is turned on, and the source voltage V S2 =3.3V. At this time, if the box opening event occurs, the switch 300 is closed, and the voltage across the third resistor 201 can be regarded as the voltage of the internal power supply 500, which is 3.3V. At this time, the gate voltage V G2 =3.3V, and then the gate-source voltage V GS2 =0V, preventing the first FET 103 from being triggered by the switch 300, and thus disabling the power failure detection circuit 100. In this state, when the server is unpacked, the lock on the server is opened, closing the switch 300 and driving the second FET 203 to generate a second trigger signal. Simultaneously, the second FET 203 sends the generated second trigger signal to the BMC in real time, alerting the user to the abnormal server unpacking behavior.
[0078] Specifically, when the switch 300 is closed, the loop where the third resistor 201 is located is connected. Since the resistance of the third resistor 201 is relatively large, the current flowing through the third resistor 201 is very small, approximately 0. Therefore, the voltage across the third resistor 201 can be regarded as the voltage of the internal power supply 500, which is 3.3V. Therefore, the gate voltage V G3=3.3V, and at the same time, the source voltage of the second field effect transistor 203 V S3 =0V, then the gate-source voltage V GS3 =3.3V. The conduction voltage V T2 =3V, then V GS3 >V T2 , second FET 203 is turned on. Second FET 203 is connected to the BMC's interrupt pin. Therefore, turning on the second FET triggers a BMC interrupt event, which serves as the second trigger signal. Upon receiving this interrupt event, the BMC alerts the user of abnormal server unpacking behavior, enabling immediate detection and reporting of unpacking behavior.
[0079] Specifically, in this embodiment, upon receiving the first or second trigger signal, the BMC can generate a text prompt indicating that the server has been unpacked. This prompt is displayed on the server administrator's display device via a system pop-up window, alerting the server administrator of the unpacking event. Furthermore, this text prompt can be converted into speech and then played synchronously via an audio playback device, further improving the effectiveness of the prompt.
[0080] In summary, the embodiments of the present application, by establishing a power-off detection circuit and a power-on detection circuit, enable detection of abnormal server unpacking in any state. Furthermore, in the power-off state, the power-on detection circuit is shielded; in the power-on state, the power-off detection circuit is shielded, thereby preventing interference between signals and improving detection accuracy and reliability. Furthermore, the entire unpacking detection circuit is composed of basic components such as field-effect transistors, diodes, and resistors. The overall structure is simple, cost-effective, and easy to implement, making it suitable for server unpacking detection in a variety of scenarios.
[0081] It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0082] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM).
[0083] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) is integrated into the processor.
[0084] It should be noted that for the aforementioned method implementations, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the implementations described in the specification are all optional implementations, and the actions and modules involved are not necessarily required by this application.
[0085] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0086] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0087] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0088] In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of software program modules.
[0089] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application.
[0090] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be performed by a program instructing related hardware, and the program can be stored in a computer-readable memory. The memory may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0091] The above is a detailed introduction to the implementation methods of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above implementation methods is only used to help understand the method and core idea of the present application. At the same time, for those skilled in the art, based on the ideas of the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A circuit board, characterized in that: The circuit board is provided with a box opening detection circuit, and the box opening detection circuit comprises: Power-off detection circuit, power-on detection circuit and switch; One end of the switch is connected to a first end of the power-on detection circuit, and the other end of the mechanical switch is grounded and connected to a second end of the power-on detection circuit; The first end of the power-on detection circuit is connected to the first end of the power-off detection circuit, the third end of the power-on detection circuit is connected to the second end of the power-off detection circuit and the internal power supply respectively, and the fourth end of the power-on detection circuit is used to connect to the controller; The third terminal of the power failure detection circuit is connected to the controller, and the fourth terminal of the power failure detection circuit is grounded; The power-off detection circuit is used to generate a first trigger signal when the circuit board is in a power-off state and the switch is closed, and send the first trigger signal to the controller after the circuit board is powered on again to remind the user that an unpacking event has occurred, and the power-off state is a state when the circuit board is not connected to an external power supply; The power-on detection circuit is used to generate a second trigger signal when the unpacking circuit board is in a powered-on state and the switch is closed, and send the second trigger signal to the controller to remind the user of the unpacking event. The power-on state is the state when the circuit board is connected to the external power supply.
2. The circuit board according to claim 1, characterized in that: The power failure detection circuit comprises: A first resistor, a second resistor, a first field effect transistor, a PCH chip and a diode; The gate of the first field effect transistor is the first end of the power-off detection circuit, one end of the first resistor is the second end of the power-off detection circuit, the third pin of the PCH chip is the third end of the power-off detection circuit, and one end of the second resistor is the fourth end of the power-off detection circuit; The source of the first field effect transistor is connected to the cathode of the diode and the other end of the second resistor respectively; The drain of the first field effect transistor is connected to the other end of the first resistor and the first pin of the PCH chip respectively; One end of the first resistor is connected to the second pin of the PCH chip; The anode of the diode is connected to an external power source.
3. The circuit board according to claim 2, characterized in that: The first pin of the PCH chip is an intruder pin; The second pin of the PCH chip is a power supply pin; The third pin of the PCH chip is an LPC interface pin.
4. The circuit board according to claim 2 or 3, characterized in that: The first field effect transistor is an N-channel field effect transistor.
5. The circuit board according to claim 1, characterized in that: The power-on detection circuit comprises: a third resistor, a fourth resistor and a second field effect transistor; One end of the third resistor is the first end of the power-on detection circuit, the source of the second field effect transistor is the second end of the power-on detection circuit, the other end of the third resistor is the third end of the power-on detection circuit, and the drain of the second field effect transistor is the fourth end of the power-on detection circuit; One end of the third resistor is connected to the gate of the second field effect transistor; The drain of the second field effect transistor is connected to one end of the fourth resistor; The other end of the fourth resistor is connected to the second power supply.
6. The circuit board according to claim 5, characterized in that: The second field effect transistor is an N-channel field effect transistor.
7. The circuit board according to claim 2, characterized in that: When the unpacking detection circuit is in a power-off state, the power-on detection circuit fails, and when the unpacking detection circuit is in a power-on state, the power-off detection circuit fails.
8. The circuit board according to claim 1, characterized in that: The third terminal of the power-off detection circuit is connected to the baseboard management controller via an enhanced serial peripheral interface bus.
9. The circuit board according to claim 1, characterized in that: The fourth terminal of the power-on detection circuit is connected to the interrupt pin of the baseboard management controller.
10. A server, characterized in that: The server includes a chassis, and a circuit board as described in any one of claims 1 to 9 arranged in the chassis.
Citation Information
Patent Citations
Power-off state and disassembly detection linkage method and device
CN114325158A
Box opening detection system and method for communication equipment
CN115756995A
Circuit board and server
CN116467763A
Hood intrusion and loss of AC power detection with automatic time stamp
US20010047483A1
Computer system for sending an alert signal over a network when a cover of said system has been opened
US5945915A
