Timing control circuits, network interface cards, servers, and timing control methods
By using discrete components to build the hardware circuit, the problems of high cost and large space occupation of network card chip power timing control under CPLD method are solved, and low-cost and high-efficiency power timing control is achieved.
Patent Information
- Application Number
- CN202310768393.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-27
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-06-27
AI Technical Summary
In existing technologies, the design method of controlling the power timing of network interface card (NIC) chips using CPLD is costly and space-consuming, affecting the layout of NICs in servers.
Hardware circuits are built using discrete components (such as NPN transistors, N-type MOSFETs, and P-type MOSFETs) to replace the traditional CPLD method, thereby achieving timing control of multiple power supplies.
It effectively reduces the cost of power timing control, saves space occupied by the network card chip, and ensures that the power timing of the network card chip meets the expected requirements.
Smart Images

Figure CN116800251B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power supply circuit technology, specifically to timing control circuits, network interface cards (NICs), servers, and timing control methods. Background Technology
[0002] A network interface card (NIC) is a network component that operates at Layer 2 (data link layer). It is typically a circuit board installed in a computer to connect to a network and provides a dedicated network connection for the computer.
[0003] To protect network interface cards (NICs), the power-on and power-off sequences of the NIC chip's power supply must adhere to strict requirements. Currently, a Complex Programming Logic Device (CPLD) can be placed on the power board. The CPLD generates corresponding control signals based on the power-on and power-off sequences of each power supply to control the NIC chip's power supply. However, this CPLD-based power sequence control method is not only costly but also occupies significant space, impacting the NIC's placement within the server. Summary of the Invention
[0004] In view of this, the present invention provides a timing control circuit, a network card, a server, and a timing control method to solve the problems of high cost and large space occupation in the power timing design of network card chips.
[0005] In a first aspect, the present invention provides a timing control circuit, the circuit comprising: a first switching transistor, wherein the first switching transistor is in an on state when the supply voltage of a first power supply is greater than or equal to a preset threshold; a second switching transistor, wherein the control terminal of the second switching transistor is connected to the first switching transistor, one connection terminal of the second switching transistor is grounded, and the other connection terminal of the second switching transistor is connected to the output terminal of a status signal, the status signal being used to indicate whether the server has entered a standby state, and the second switching transistor is in an off state when the first switching transistor is in an on state; and a third switching transistor, wherein the control terminal of the third switching transistor is connected to the output terminal of the status signal, one connection terminal of the third switching transistor is connected to a fourth power supply, and the other connection terminal of the third switching transistor is connected to a second power supply, wherein the third switching transistor is in an on state when the second switching transistor is in an off state and the server has entered a standby state, thereby powering on the second power supply.
[0006] According to the timing control circuit provided by this invention, by setting discrete components (a first switch, a second switch, and a third switch), the power supply timing of the network interface card (NIC) chip can achieve the expected power-on timing requirements (i.e., the second power supply powers on when the supply voltage of the first power supply reaches a preset threshold and the server enters the S3 state) and the expected power-off timing requirements (i.e., the second power supply powers off when the first power supply powers off). This invention replaces the traditional CPLD method with a hardware circuit built using discrete components to complete the timing control of multiple power supplies, effectively reducing the cost of power timing control and saving space occupied by the NIC chip, and has advantages such as simplicity and reliability.
[0007] In one optional embodiment, the first switching transistor is an NPN transistor, the base of the NPN transistor is connected to the first power supply, the emitter of the NPN transistor is grounded, and the collector of the NPN transistor is connected to a third power supply, which is powered on before the first power supply is powered on.
[0008] In one optional embodiment, the first switching transistor is a PNP transistor, the base of the PNP transistor is grounded, the emitter of the PNP transistor is connected to the first power supply, and the collector of the PNP transistor is grounded.
[0009] In one optional embodiment, the circuit further includes an inverter, the second switching transistor is an N-type MOS transistor, the third switching transistor is a P-type MOS transistor, the gate of the N-type MOS transistor is connected to the collector of the NPN transistor, the source of the N-type MOS transistor is grounded, the drain of the N-type MOS transistor is connected to the output terminal of the status signal, the input terminal of the inverter is connected to the drain of the N-type MOS transistor, the output terminal of the inverter is connected to the gate of the P-type MOS transistor, the source of the P-type MOS transistor is connected to the fourth power supply, and the drain of the P-type MOS transistor is connected to the second power supply.
[0010] According to the timing control circuit provided in the embodiment of the present invention, after the third power supply and the fourth power supply are powered on, the first power supply is powered on. When the supply voltage of the first power supply has not risen to the preset threshold (i.e., the supply voltage of the first power supply is less than the preset threshold), the emitter and collector of the NPN transistor are in the cutoff state (i.e., the off state), making the gate input of the N-type MOS transistor high level, and the drain and source of the N-type MOS transistor in the conduction state, thereby making the input of the inverter U1 low level, and the output of the inverter U1 high level, that is, the gate input of the P-type MOS transistor is high level, and the drain and source of the P-type MOS transistor are in the cutoff state, and the second power supply cannot be turned on. That is, when the supply voltage of the first power supply is less than the preset threshold, the second power supply will not be powered on.
[0011] When the supply voltage of the first power supply rises to a preset threshold (i.e., the supply voltage of the first power supply is greater than or equal to the preset threshold), the emitter and collector of the NPN transistor are in the on state, making the gate input of the N-type MOSFET low and the drain and source of the N-type MOSFET in the off state. At this time, if the output of the status signal is low (the server has not entered the S3 state), that is, the input of inverter U1 is low and the output of inverter U1 is high, that is, the gate input of the P-type MOSFET is high and the drain and source of the P-type MOSFET are in the off state, the second power supply cannot be turned on. That is, if the supply voltage of the first power supply is greater than or equal to the preset threshold, the second power supply will not be powered on if the server has not entered the S3 state. If the output of the status signal is high (the server has entered the S3 state), the input of inverter U1 is high and the output of inverter U1 is low, that is, the gate input of the P-type MOSFET is low and the drain and source of the P-type MOSFET are in the on state, the second power supply is powered on. That is, when the supply voltage of the first power supply is greater than or equal to a preset threshold and the server enters the S3 state, the second power supply is powered on.
[0012] When the first power supply fails to power down (e.g., due to hardware malfunction in the server or improper user operation), the base input of the NPN transistor is low, and its emitter and collector are cut off. This causes the gate input of the N-type MOSFET to be high, and the drain and source of the N-type MOSFET to be on. Consequently, the input of inverter U1 is low, and its output is high. This means the gate input of the P-type MOSFET is high, and its drain and source are cut off, thus powering down the second power supply. In other words, the second power supply powers down when the first power supply powers down.
[0013] This embodiment uses NPN transistors, N-type MOSFETs, and P-type MOSFETs to enable the network card chip's power control to meet the expected power-on and power-off timing requirements with fewer components, effectively reducing circuit costs and saving space occupied by the timing control circuit.
[0014] In one optional embodiment, the circuit further includes an inverter, the second switching transistor is an N-type MOS transistor, the third switching transistor is a P-type MOS transistor, the gate of the N-type MOS transistor is connected to the emitter of the PNP transistor, the source of the N-type MOS transistor is grounded, the drain of the N-type MOS transistor is connected to the output terminal of the status signal, the input terminal of the inverter is connected to the drain of the N-type MOS transistor, the output terminal of the inverter is connected to the gate of the P-type MOS transistor, the source of the P-type MOS transistor is connected to the fourth power supply, and the drain of the P-type MOS transistor is connected to the second power supply.
[0015] In one alternative embodiment, the circuit further includes a capacitor and a first resistor, one end of the first resistor being connected to the first power supply, and the other end of the first resistor being connected to the base of the NPN transistor, the base of the NPN transistor being connected to the capacitor and grounded.
[0016] According to the timing control circuit provided in the embodiment of the present invention, a delay circuit can be formed between the first resistor and the capacitor to slow down the rise of the base voltage of the NPN transistor, so that the emitter and collector of the NPN transistor are turned on only when the supply voltage of the first power supply rises to 750mV.
[0017] In one optional embodiment, the circuit further includes a second resistor, one end of which is connected to the third power supply, and the other end of which is connected to the collector of the NPN transistor and the gate of the N-type MOSFET. This embodiment, by providing the second resistor, prevents the source and drain of the N-type MOSFET from being momentarily turned on, thus protecting the N-type MOSFET.
[0018] In one optional embodiment, the circuit further includes a third resistor, one end of which is connected to the fourth power supply and the source of the P-type MOSFET, and the other end of which is connected to the gate of the P-type MOSFET. This embodiment, by providing the third resistor, can prevent the source and drain of the P-type MOSFET from being momentarily turned on, thus protecting the P-type MOSFET.
[0019] Secondly, the present invention provides a network interface card (NIC) including a timing control circuit according to the first aspect or any corresponding embodiment described above. By configuring this timing control circuit, the power-on and power-off sequences of multiple power supplies of the NIC chip can be accurately controlled.
[0020] Thirdly, the present invention provides a server that includes the timing control circuit of the first aspect or any corresponding embodiment described above.
[0021] Fourthly, the present invention provides a server that includes the network interface card described in the second aspect above.
[0022] Fifthly, the present invention provides a timing control method, which is applied to a timing control circuit of the first aspect or any corresponding embodiment described above. The method includes: controlling a first switch to be in an on state when the supply voltage of a first power supply is greater than or equal to a preset threshold; controlling a second switch to be in an off state when the first switch is in an on state; and controlling a third switch to be in an on state when the second switch is in an off state, a fourth power supply is powered on, and the server is in a standby state, thereby powering on the second power supply.
[0023] The timing control method provided in this embodiment, by setting a first switch, a second switch, and a third switch, enables the network interface card (NIC) chip to achieve the expected power-on and power-off timing requirements. This invention replaces the traditional CPLD method with a hardware circuit built using discrete components to complete the timing control of multiple power supplies, effectively reducing power control costs and saving space occupied by the NIC chip.
[0024] In an optional implementation, the method further includes: verifying whether the second power supply is powered on after a first condition is met, wherein the first condition includes the power supply voltage of the first power supply being greater than or equal to the preset threshold, and the server being in the standby state.
[0025] The timing control method provided in this embodiment adds a verification step, which enables staff to discover potential problems in the timing control circuit in advance, thus avoiding damage to the network card or server. Attached Figure Description
[0026] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0027] Figure 1 This is a schematic diagram of the power-on timing of a power supply according to an embodiment of the present invention;
[0028] Figure 2 This is a schematic diagram of a timing control circuit according to an embodiment of the present invention;
[0029] Figure 3 This is a schematic diagram of another timing control circuit according to an embodiment of the present invention;
[0030] Figure 4 This is a schematic diagram of another timing control circuit according to an embodiment of the present invention;
[0031] Figure 5 This is a schematic diagram of another timing control circuit according to an embodiment of the present invention;
[0032] Figure 6 This is a flowchart illustrating a timing control method according to an embodiment of the present invention;
[0033] Figure 7 This is a flowchart illustrating another timing control method according to an embodiment of the present invention. Detailed Implementation
[0034] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0035] The timing control circuit provided by this invention can be applied to the field of network interface card (NIC) technology. As an interface between the Transmission Control Protocol / Internet Protocol (TCP / IP) layer and the network interface card (NIC), it can transmit signals at the physical layer and data packets at the network layer. Many different types are available on the market, such as Peripheral Component Interconnect Express (PCIE) NICs and OpenCompute Project (OCP) NICs.
[0036] The PCIe network card standard is mature, and the power control of the network card chip is simple; pressing the server power button powers on the PCIe network card chip. However, OCP network cards can still operate when the server is powered off (S5 state). The Network Controller Sideband Interface (NCSI) link of the Baseboard Management Controller (BMC) is usually connected to the OCP network card, allowing management of the BMC through the OCP network card, greatly facilitating server management. OCP network cards need to operate in S5 state, and the OCP specification defines power control requirements for S5 and standby states (S3 state). This means that the power-on control requirements of the OCP network card chip may change depending on the server's power-on / off state, making the design of such OCP network card chips more complex. Due to layout space and cost considerations, these network card chips generally do not use CPLDs for power-on and power-off timing control. Therefore, there is an urgent need for a device that can control the timing of multiple power supplies for OCP network card chips.
[0037] In view of this, the present invention provides a timing control circuit that replaces the traditional CPLD method by building hardware circuits with discrete components to complete the timing control of multiple power supplies, which can effectively reduce the power control cost and save the space occupied by the network card chip.
[0038] The structure of the timing control circuit provided in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0039] See Figure 1 In this embodiment of the invention, when the server enters state S3, the second power supply VMAIN is powered on when the supply voltage of the first power supply VAUX rises to a preset threshold. The second power supply VMAIN is powered off when the first power supply VAUX is powered off.
[0040] Figure 2 This is a schematic diagram of a timing control circuit according to an embodiment of the present invention, such as... Figure 2 As shown, the timing control circuit includes a first switch Q1, a second switch Q2, and a third switch Q3.
[0041] Specifically, the first switch Q1 is in the ON state when the supply voltage of the first power supply VAUX is greater than or equal to a preset threshold. For example, the amplitude of the first power supply VAUX and the second power supply VMAIN can be 1 volt (V), and the preset threshold can be configured by the operator according to design requirements. For example, the preset threshold can be 700 millivolts (mV) or 750 mV, etc.
[0042] The control terminal of the second switch Q2 is connected to the first switch Q1. One connection terminal of the second switch Q2 is grounded, and the other connection terminal is connected to the output terminal of the status signal. When the first switch Q1 is in the ON state, both connection terminals of the second switch Q2 are in the OFF state. The status signal indicates whether the server has entered the S3 state. For example, the status signal can be a signal defined in the OCP3.0 specification. When the server's power button is pressed, the status signal goes high, indicating that the server has entered the S3 state. That is, if the status signal is high, it indicates that the server has entered the S3 state; if the status signal is low, it indicates that the server has not entered the standby state.
[0043] The control terminal of the third switch Q3 is connected to the output terminal of the status signal, that is, the control terminal of the third switch Q3 and the output terminal of the status signal are connected together, as is the connection terminal of the second switch Q2 to the output terminal of the status signal. One connection terminal of the third switch Q3 is connected to the fourth power supply VCC2, and the other connection terminal of the third switch Q3 is connected to the second power supply VMAIN. When both connection terminals of the second switch Q2 are in the off state and the server enters the S3 state, both connection terminals of the third switch Q3 are in the on state, thus powering on the second power supply VMAIN.
[0044] According to the timing control circuit provided by the present invention, by setting discrete components (first switch Q1, second switch Q2, and third switch Q3), the timing of multiple power supplies of the network interface card (NIC) chip can meet the expected power-on timing requirements (i.e., the second power supply VMAIN powers on when the supply voltage of the first power supply VAUX reaches a preset threshold and the server enters the S3 state) and the expected power-off timing requirements (i.e., the second power supply VMAIN powers off when the first power supply VAUX powers off). The present invention replaces the traditional CPLD method with a hardware circuit built using discrete components to complete the timing control of multiple power supplies, effectively reducing power control costs and saving space occupied by the NIC chip, and has advantages such as simplicity and reliability.
[0045] For example, the first switch Q1, the second switch Q2, and the third switch Q3 can all be one of the switching devices such as transistors, metal-oxide-semiconductor field-effect transistors (MOS transistors), and the present invention does not impose any limitations.
[0046] A transistor, made of semiconductor material, has three electrodes: a base, an emitter, and a collector. By applying an appropriate voltage signal to the base, the current flow between the collector and emitter can be controlled, thus achieving a switching function. Transistors are widely used in electronic devices, such as logic gates and microprocessors. A MOSFET, a switching device based on the electric field effect, is also made of semiconductor material and has three electrodes: a gate, a drain, and a source. By applying an appropriate voltage to the gate, the current flow between the drain and source can be controlled, achieving a switching function. MOSFETs offer advantages such as low power consumption, high speed, and high reliability, and are widely used in analog and digital circuits.
[0047] In some optional embodiments, the first switching transistor Q1 is an NPN transistor. The base of the NPN transistor is connected to the first power supply VAUX, the emitter of the NPN transistor is grounded, and the collector of the NPN transistor is connected to the third power supply VCC1. The first power supply VAUX is powered on after the third power supply VCC1 is powered on. When the third power supply is powered on and the supply voltage of the first power supply is greater than or equal to a preset threshold, the emitter and source of the NPN transistor are in a conducting state.
[0048] In some alternative embodiments, the first switching transistor Q1 is a PNP transistor with its base grounded, its emitter connected to the first power supply VAUX, and its collector grounded.
[0049] Figure 3This is a schematic diagram of another timing control circuit according to an embodiment of the present invention. Further, as... Figure 3 As shown, when the first switch Q1 is an NPN transistor, the second switch Q2 can be an N-type MOSFET and the third switch Q3 can be a P-type MOSFET. When the second switch Q2 is an N-type MOSFET and the third switch Q3 is a P-type MOSFET, the timing control circuit also includes an inverter U1.
[0050] In this configuration, the gate of the N-type MOSFET (i.e., the control terminal of the second switch Q2) is connected to the collector of the NPN transistor, the source of the N-type MOSFET (i.e., one connection terminal of the second switch Q2) is grounded, and the drain of the N-type MOSFET (i.e., the other connection terminal of the second switch Q2) is connected to the output terminal of the status signal. The input terminal of the inverter U1 is connected to the drain of the N-type MOSFET, the output terminal of the inverter U1 is connected to the gate of the P-type MOSFET (i.e., the control terminal of the third switch Q3), the source of the P-type MOSFET (i.e., one connection terminal of the third switch Q3) is connected to the fourth power supply VCC2, and the drain of the P-type MOSFET (i.e., the other connection terminal of the third switch Q3) is connected to the second power supply VMAIN.
[0051] According to the timing control circuit provided in the embodiment of the present invention, after the third power supply VCC1 and the fourth power supply VCC2 are powered on, the first power supply VAUX is powered on. When the supply voltage of the first power supply VAUX has not risen to the preset threshold (i.e., the supply voltage of the first power supply VAUX is less than the preset threshold), the emitter and collector of the NPN transistor are in the cutoff state (i.e., the off state), making the gate input of the N-type MOS transistor high level, and the drain and source of the N-type MOS transistor in the conducting state, thereby making the input of the inverter U1 low level, and the output of the inverter U1 high level, that is, the gate input of the P-type MOS transistor is high level, and the drain and source of the P-type MOS transistor are in the cutoff state, and the second power supply VMAIN cannot be turned on, that is, when the supply voltage of the first power supply VAUX is less than the preset threshold, the second power supply VMAIN will not be powered on.
[0052] When the supply voltage of the first power supply VAUX rises to a preset threshold (i.e., the supply voltage of the first power supply VAUX is greater than or equal to the preset threshold), the emitter and collector of the NPN transistor are in the on state, making the gate input of the N-type MOSFET low and the drain and source of the N-type MOSFET in the off state. At this time, if the output of the status signal is low (the server has not entered the S3 state), that is, the input of the inverter U1 is low and the output of the inverter U1 is high, that is, the gate input of the P-type MOSFET is high and the drain and source of the P-type MOSFET are in the off state, the second power supply VMAIN cannot be turned on. That is, if the server has not entered the S3 state and the supply voltage of the first power supply VAUX is greater than or equal to the preset threshold, the second power supply VMAIN will not be powered on. If the output of the status signal is high (the server enters S3 state), the input of inverter U1 is high, and the output of inverter U1 is low. This means the gate input of the P-type MOSFET is low, and the drain and source of the P-type MOSFET are in a conducting state, thus powering on the second power supply VMAIN. In other words, when the supply voltage of the first power supply VAUX is greater than or equal to a preset threshold, and the server enters S3 state, the second power supply VMAIN is powered on.
[0053] When the first power supply VAUX fails to power down (e.g., due to hardware failure in the server or improper user operation), the base input of the NPN transistor is low, and the emitter and collector of the NPN transistor are in the off state. This causes the gate input of the N-type MOSFET to be high, and the drain and source of the N-type MOSFET to be in the conducting state. Consequently, the input of inverter U1 is low, and the output of inverter U1 is high. That is, the gate input of the P-type MOSFET is high, and the drain and source of the P-type MOSFET are in the off state. The second power supply VMAIN then powers down. In other words, the second power supply VMAIN powers down when the first power supply VAUX powers down.
[0054] This embodiment uses NPN transistors, N-type MOSFETs, and P-type MOSFETs to enable the network card chip's power control to meet the expected power-on and power-off timing requirements with fewer components, effectively reducing circuit costs and saving space occupied by the timing control circuit.
[0055] Figure 4 This is a schematic diagram of another timing control circuit according to an embodiment of the present invention. Further, as... Figure 4 As shown, when the first switch Q1 is a PNP transistor, the second switch Q2 can also be an N-type MOSFET, and the third switch Q3 can also be a P-type MOSFET. When the second switch Q2 is an N-type MOSFET and the third switch Q3 is a P-type MOSFET, the timing control circuit also includes an inverter U1.
[0056] In this configuration, the gate of the N-type MOSFET is connected to the emitter of the PNP-type MOSFET, the source of the N-type MOSFET is grounded, and the drain of the N-type MOSFET is connected to the output terminal of the status signal. The input terminal of inverter U1 is connected to the drain of the N-type MOSFET, the output terminal of inverter U1 is connected to the gate of the P-type MOSFET, the source of the P-type MOSFET is connected to the fourth power supply VCC2, and the drain of the P-type MOSFET is connected to the second power supply VMAIN.
[0057] According to the timing control circuit provided in this embodiment of the invention, when the base input of the PNP transistor is low, and the first power supply VAUX is powered on, before the supply voltage of the first power supply VAUX rises to a preset threshold, the emitter and collector of the PNP transistor are in the off state, making the gate input of the N-type MOS transistor high, and the drain and source of the N-type MOS transistor in the on state. Afterwards, the state changes of the inverter U1 and the P-type MOS transistor are the same as in the above embodiment, and will not be repeated here.
[0058] When the base input of the PNP transistor is low, and the supply voltage of the first power supply VAUX rises to a preset threshold, the emitter and collector of the NPN transistor are in a conducting state, causing the gate input of the N-type MOSFET to be low, and the drain and source of the N-type MOSFET to be in a cutoff state. Afterwards, the state changes of the inverter U1 and the P-type MOSFET are the same as in the above embodiment, and will not be repeated here.
[0059] In some alternative implementations, such as Figure 4 As shown, the timing control circuit also includes a fourth resistor R4, one end of which is grounded and the other end of which is connected to the base of a PNP transistor.
[0060] In some alternative implementations, such as Figure 3 As shown, to prevent excessive input current to the base of the NPN transistor from damaging it, the timing control circuit also includes a first resistor R1. One end of the first resistor R1 is connected to the first power supply VAUX, and the other end is connected to the base of the NPN transistor and grounded. At this time, when the supply voltage of the first power supply VAUX rises to 700mV, the emitter and collector of the NPN transistor are in the conducting state.
[0061] Figure 5 This is a schematic diagram of another timing control circuit according to an embodiment of the present invention. Further, as... Figure 5As shown, in some optional embodiments, in order to ensure that the emitter and collector of the NPN transistor are turned on only when the supply voltage of the first power supply VAUX rises to 750mV, the timing control circuit also includes a capacitor C1, one end of which is connected to the first resistor R1 and the base of the NPN transistor, and the other end of which is grounded.
[0062] According to the timing control circuit provided in the embodiment of the present invention, a delay circuit can be formed between the first resistor R1 and the capacitor C1, so that the base voltage of the NPN transistor rises more slowly, so that the emitter and collector of the NPN transistor are turned on only when the supply voltage of the first power supply VAUX rises to 750mV.
[0063] like Figure 3 or Figure 5 As shown, in some optional embodiments, to prevent the source and drain of the N-type MOSFET from being instantaneously turned on and to protect the N-type MOSFET, the timing control circuit further includes a second resistor R2. One end of the second resistor R2 is connected to the third power supply VCC1, and the other end of the second resistor R2 is connected to the collector of the NPN transistor and the gate of the N-type MOSFET. Figure 3 or Figure 5 As shown, in some optional embodiments, in order to prevent the source and drain of the P-type MOSFET from being turned on instantaneously and to protect the P-type MOSFET, the timing control circuit further includes a third resistor R3. One end of the third resistor R3 is connected to the fourth power supply VCC2 and the source of the P-type MOSFET, and the other end of the third resistor R3 is connected to the gate of the P-type MOSFET.
[0064] like Figure 4 As shown, in some optional embodiments, in order to prevent the source and drain of the N-type MOSFET from being turned on instantaneously and to protect the N-type MOSFET, the timing control circuit further includes a fifth resistor R5. One end of the fifth resistor R5 is connected to the first power supply VAUX, and the other end of the fifth resistor R5 is connected to the emitter of the PNP transistor and the gate of the N-type MOSFET.
[0065] This invention also provides a network interface card (NIC) including the timing control circuit described in any of the above embodiments. By configuring this timing control circuit, the power-on and power-off sequences of multiple power supplies of the NIC chip can be accurately controlled.
[0066] This invention also provides a server that includes the timing control circuit described in any of the above embodiments. Alternatively, the server includes the network interface card (NIC) described in any of the above embodiments.
[0067] This invention also provides a timing control method, which can be applied to the timing control circuit provided in any of the above embodiments. Figure 6This is a flowchart illustrating a timing control method according to an embodiment of the present invention, as shown below. Figure 6 As shown, the method includes the following steps:
[0068] Step S601: When the supply voltage of the first power supply VAUX is greater than or equal to a preset threshold, control the first switch Q1 to be in the conducting state.
[0069] Step S602: When the first switch Q1 is in the on state, control the second switch Q2 to be in the off state.
[0070] In step S603, when the second switch Q2 is in the off state, the fourth power supply VCC2 is powered on, and the server is in standby state, the third switch Q3 is controlled to be in the on state, so that the second power supply VMAIN is powered on.
[0071] The timing control method provided in this embodiment, by setting discrete switching transistors Q1, Q2, and Q3, enables the network interface card (NIC) chip's power supply control to meet the expected power-on and power-off timing requirements. This invention replaces the traditional CPLD method with a hardware circuit built using discrete components to achieve timing control of multiple power supplies, effectively reducing power control costs and saving space occupied by the NIC chip.
[0072] Figure 7 This is a flowchart illustrating another timing control method according to an embodiment of the present invention, as shown below. Figure 7 As shown, the method includes:
[0073] Step S701: When the supply voltage of the first power supply VAUX is greater than or equal to a preset threshold, control the first switch Q1 to be in the conducting state.
[0074] Steps S601 and S701 are the same.
[0075] Step S702: When the first switch Q1 is in the on state, control the second switch Q2 to be in the off state.
[0076] Steps S602 and S702 are the same.
[0077] In step S703, when the second switch Q2 is in the off state, the fourth power supply VCC2 is powered on, and the server is in standby state, the third switch Q3 is controlled to be in the on state, so that the second power supply VMAIN is powered on.
[0078] Steps S603 and S703 are the same.
[0079] Step S704: Verify whether the second power supply VMAIN is powered on after the first condition is met.
[0080] The first condition includes that the supply voltage of the first power supply VAUX is greater than or equal to a preset threshold, and that the server is in the S3 state.
[0081] Specifically, after determining the timing control circuit, a printed circuit board (PCB) is designed based on the timing control circuit. The PCB is then used to verify whether the second power supply VMAIN powers on after the first condition is met.
[0082] A PCB, also known as a printed circuit board, is a crucial component of the electronics industry. Almost every electronic device, from small items like watches and calculators to large systems like computers, communication devices, and military weaponry, utilizes a PCB to enable electrical interconnection between integrated circuits and other electronic components. A PCB consists of an insulating substrate, connecting wires, and solder pads for mounting and soldering electronic components, serving the dual function of conductive traces and an insulating base. PCBs can replace complex wiring, enabling electrical connections between components in a circuit. This simplifies assembly and soldering of electronic products, reducing the amount of wiring work required by traditional methods; it also reduces the overall size of the device, lowers product costs, and improves the quality and reliability of electronic equipment.
[0083] It should be understood that before powering the PCB, it is necessary to confirm that the wiring and installation of the first switch Q1, the second switch Q2, and the third switch Q3 are correct.
[0084] The timing control method provided in this embodiment adds a verification step, which enables staff to discover potential problems in the timing control circuit in advance, thus avoiding damage to the network card or server.
[0085] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A timing control circuit, characterized in that, The circuit is applied to the OCP network card chip. When the server enters standby mode, the second power supply needs to be powered on when the supply voltage of the first power supply rises to a preset threshold, and the second power supply needs to be powered off when the first power supply is powered off. The circuit includes: The first switching transistor is in the on state when the supply voltage of the first power supply is greater than or equal to a preset threshold. The second switch has its control terminal connected to the first switch. One of the terminals of the second switch is grounded, and the other terminal is connected to the output terminal of a status signal. The status signal is used to indicate whether the server has entered a standby state. When the first switch is in the on state, the second switch is in the off state. The third switch is connected to the control terminal of the status signal output terminal, one of the connection terminals of the third switch is connected to the fourth power supply, and the other connection terminal of the third switch is connected to the second power supply. When the second switch is in the off state and the server enters the standby state, the third switch is in the on state, so that the second power supply is powered on. When the first switching transistor is an NPN transistor, the circuit further includes an inverter; the second switching transistor is an N-type MOSFET; and the third switching transistor is a P-type MOSFET. The base of the NPN transistor is connected to the first power supply, the emitter of the NPN transistor is grounded, and the collector of the NPN transistor is connected to a third power supply, which is powered on before the first power supply is powered on. The gate of the N-type MOSFET is connected to the collector of the NPN transistor, the source of the N-type MOSFET is grounded, and the drain of the N-type MOSFET is connected to the output terminal of the status signal. The input terminal of the inverter is connected to the drain of the N-type MOSFET, the output terminal of the inverter is connected to the gate of the P-type MOSFET, the source of the P-type MOSFET is connected to the fourth power supply, and the drain of the P-type MOSFET is connected to the second power supply.
2. The circuit according to claim 1, characterized in that, When the first switching transistor is a PNP transistor, the base of the PNP transistor is grounded, the emitter of the PNP transistor is connected to the first power supply, and the collector of the PNP transistor is grounded.
3. The circuit according to claim 2, characterized in that, The circuit also includes an inverter, the second switching transistor is an N-type MOS transistor, the third switching transistor is a P-type MOS transistor, the gate of the N-type MOS transistor is connected to the emitter of the PNP transistor, the source of the N-type MOS transistor is grounded, the drain of the N-type MOS transistor is connected to the output terminal of the status signal, the input terminal of the inverter is connected to the drain of the N-type MOS transistor, the output terminal of the inverter is connected to the gate of the P-type MOS transistor, the source of the P-type MOS transistor is connected to the fourth power supply, and the drain of the P-type MOS transistor is connected to the second power supply.
4. The circuit according to claim 1, characterized in that, The circuit also includes a capacitor and a first resistor. One end of the first resistor is connected to the first power supply, and the other end of the first resistor is connected to the base of the NPN transistor. The base of the NPN transistor is connected to the capacitor and grounded.
5. The circuit according to claim 1 or 4, characterized in that, The circuit also includes a second resistor, one end of which is connected to the third power supply, and the other end of which is connected to the collector of the NPN transistor and the gate of the N-type MOS transistor.
6. The circuit according to claim 1 or 4, characterized in that, The circuit also includes a third resistor, one end of which is connected to the fourth power supply and the source of the P-type MOS transistor, and the other end of which is connected to the gate of the P-type MOS transistor.
7. A network interface card (NIC), characterized in that, The circuit includes any one of claims 1 to 6.
8. A server, characterized in that, The circuit includes any one of claims 1 to 6.
9. A timing control method, characterized in that, The method, applied to the timing control circuit of any one of claims 1 to 6, comprises: When the supply voltage of the first power source is greater than or equal to a preset threshold, the first switching transistor is controlled to be in the conducting state. When the first switch is in the on state, the second switch is controlled to be in the off state; When the second switch is in the off state, the fourth power supply is powered on, and the server is in standby state, the third switch is controlled to be in the on state, so that the second power supply is powered on.
10. The method according to claim 9, characterized in that, The method further includes: Verify whether the second power supply is powered on after meeting the first condition, the first condition including that the supply voltage of the first power supply is greater than or equal to the preset threshold, and that the server is in the standby state.
Citation Information
Patent Citations
Time sequence circuit
CN104348458A
Driving circuit, chip, intelligent power module and household electrical appliance
CN113794358A
