Hardware power-on detection circuit
By designing a hardware power-on detection circuit for the power supply module and the amplification adjustment module, the problem of inconvenient power supply was solved, flexible voltage adjustment and current detection were realized, detection efficiency was improved and the microcontroller was protected.
Patent Information
- Application Number
- CN202422640871.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2034-10-31
AI Technical Summary
After the hardware is assembled, during the power-on testing process, the power supply is inconvenient and it is difficult to adapt to the power requirements of different hardware, resulting in low testing efficiency.
A hardware power-on detection circuit was designed, including a power supply module, a hardware working module, an acquisition and output module, and an amplification and adjustment module. Through adjustable power supply and amplification factor adjustment based on current magnitude, the voltage is ensured to adapt to the testing requirements of different hardware and to prevent damage to the microcontroller.
It achieves flexible voltage adjustment and current detection, adapts to power-on detection of different hardware, improves detection efficiency, and protects microcontroller devices.
Smart Images

Figure CN223501057U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of signal detection, specifically a hardware power-on detection circuit. Background Technology
[0002] Power-on performance testing verifies the functionality of the hardware system by applying power and observing its response after assembly. This step ensures that the hardware system operates as designed, preventing functional abnormalities caused by design flaws, manufacturing problems, or assembly errors.
[0003] During the testing process, different hardware requires different power supplies, which makes power supply inconvenient and needs to be improved. Utility Model Content
[0004] The purpose of this invention is to provide a hardware power-on detection circuit to solve the problems mentioned in the background art.
[0005] To achieve the above objectives, this utility model provides the following technical solution:
[0006] A hardware power-on detection circuit, comprising:
[0007] The power supply module is used to supply adjustable power to the hardware operating modules;
[0008] Hardware working module, used for the hardware under test to operate;
[0009] The acquisition and output module is used to acquire the current flowing through the hardware under test, convert it into a voltage signal, amplify it, and then output it.
[0010] The amplification adjustment module is used to detect the magnitude of the current flowing through the hardware under test. Based on whether the current magnitude is less than a threshold, it selects whether to adjust the amplification factor of the acquisition output module.
[0011] The power supply module is connected to the hardware working module, the hardware working module is connected to the acquisition and output module and the amplification and adjustment module, and the discharge adjustment module is connected to the acquisition and output module.
[0012] As a further embodiment of this utility model: the power supply module includes a resistor R1, a switch S1, a resistor R2, a transistor V1, a diode D1, a capacitor C1, a voltage regulator U1, a resistor R3, a potentiometer RP1, and a capacitor C2. One end of the resistor R1 is connected to the power supply voltage VCC, and the other end of the resistor R1 is connected to one end of the switch S1. The other end of the switch S1 is connected to one end of the resistor R2 and the collector of the transistor V1. The other end of the resistor R2 is connected to the base of the transistor V1 and the cathode of the diode D1. The anode of the diode D1 is grounded. The emitter of the transistor V1 is connected to one end of the capacitor C1 and the input terminal of the voltage regulator U1. The other end of the capacitor C1 is grounded. The ground terminal of the voltage regulator U1 is connected to the sliding terminal of the potentiometer RP1. The output terminal of the voltage regulator U1 is connected to one end of the potentiometer RP1, one end of the capacitor C2, and the hardware working module. The other end of the capacitor C2 is grounded. The other end of the potentiometer RP1 is connected to one end of the resistor R3, and the other end of the resistor R3 is grounded.
[0013] As a further embodiment of this utility model: the hardware working module includes hardware under test X, resistor R4, and capacitor C3. One end of hardware under test X is connected to the power supply module, and the other end of hardware under test X is connected to one end of resistor R4, one end of capacitor C3, acquisition output module, and amplification adjustment module. The other end of resistor R4 is grounded, and the other end of capacitor C3 is grounded.
[0014] As a further embodiment of this utility model: the acquisition and output module includes resistor R5, amplifier U2, capacitor C4, capacitor C5, switch S2, resistor R6, resistor R7, and resistor R8. One end of resistor R5 is connected to the hardware working module, and the other end of resistor R5 is connected to the inverting input of amplifier U2. The non-inverting input of inverter U2 is connected to one end of capacitor C4, the first end of switch S2, and one end of resistor R8. The other end of capacitor C4 is grounded. The second end of switch S2 is connected to one end of resistor R6, and the other end of resistor R6 is grounded. The third end of switch S2 is connected to one end of resistor R7, and the other end of resistor R7 is grounded. The output terminal of amplifier U2 is connected to the other end of resistor R8 and one end of capacitor C5, and the other end of capacitor C5 is grounded.
[0015] As a further embodiment of this utility model: the amplification and adjustment module includes diode D2, resistor R10, resistor R9, MOSFET V2, relay J2, and diode D3. The negative terminal of diode D2 is connected to the hardware detection module, and the positive terminal of diode D2 is connected to one end of resistor R10 and the gate (G) terminal of MOSFET V2. The other end of resistor R10 is grounded. The source (S) terminal of MOSFET V2 is connected to one end of relay J2 and the negative terminal of diode D3. The other end of relay J2 is grounded, and the positive terminal of diode D3 is grounded. The drain (D) terminal of MOSFET V2 is connected to one end of resistor R9, and the other end of resistor R9 is connected to the power supply voltage VCC.
[0016] Compared with the prior art, the beneficial effects of this utility model are: by designing a power supply module, the output voltage can be adjusted at any time based on the actual power demand of the test hardware to meet the test requirements of different types of hardware; by designing an amplification adjustment module, the amplification factor of the acquisition output module can be changed based on the current flowing through the hardware under test, so that the microcontroller will not be damaged due to excessive voltage when the output voltage is supplied to the microcontroller device. Attached Figure Description
[0017] Figure 1 This is a schematic diagram of a hardware power-on detection circuit.
[0018] Figure 2 This is a circuit diagram of the power supply module, hardware operating module, and data acquisition and output module.
[0019] Figure 3 This is the circuit diagram for the amplification and adjustment module. Detailed Implementation
[0020] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present utility model. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present utility model without creative effort are within the protection scope of the present utility model.
[0021] Please see Figure 1 A hardware power-on detection circuit, comprising:
[0022] The power supply module is used to supply adjustable power to the hardware operating modules;
[0023] Hardware working module, used for the hardware under test to operate;
[0024] The acquisition and output module is used to acquire the current flowing through the hardware under test, convert it into a voltage signal, amplify it, and then output it.
[0025] The amplification adjustment module is used to detect the magnitude of the current flowing through the hardware under test. Based on whether the current magnitude is less than a threshold, it selects whether to adjust the amplification factor of the acquisition output module.
[0026] The power supply module is connected to the hardware working module, the hardware working module is connected to the acquisition and output module and the amplification and adjustment module, and the discharge adjustment module is connected to the acquisition and output module.
[0027] In this embodiment: Please refer to Figure 2The power supply module includes resistor R1, switch S1, resistor R2, transistor V1, diode D1, capacitor C1, voltage regulator U1, resistor R3, potentiometer RP1, and capacitor C2. One end of resistor R1 is connected to the supply voltage VCC, and the other end of resistor R1 is connected to one end of switch S1. The other end of switch S1 is connected to one end of resistor R2 and the collector of transistor V1. The other end of resistor R2 is connected to the base of transistor V1 and the cathode of diode D1. The anode of diode D1 is grounded. The emitter of transistor V1 is connected to one end of capacitor C1 and the input of voltage regulator U1. The other end of capacitor C1 is grounded. The ground terminal of voltage regulator U1 is connected to the sliding terminal of potentiometer RP1. The output terminal of voltage regulator U1 is connected to one end of potentiometer RP1, one end of capacitor C2, and the hardware working module. The other end of capacitor C2 is grounded. The other end of potentiometer RP1 is connected to one end of resistor R3, and the other end of resistor R3 is grounded.
[0028] Switch S1 is the start switch. When pressed, the circuit begins to operate. The voltage first passes through a combination of Zener diode D1 and transistor V1, and after being stepped down, a stable voltage is output to regulator U1. Regulator U1 then outputs an adjustable stable voltage. By adjusting the resistance of potentiometer RP1, the final voltage output to the hardware module is changed. Therefore, it can be used to test different hardware under test.
[0029] In this embodiment: Please refer to Figure 2 The hardware working module includes the hardware under test X, resistor R4, and capacitor C3. One end of the hardware under test X is connected to the power supply module, and the other end of the hardware under test X is connected to one end of resistor R4, one end of capacitor C3, the acquisition output module, and the amplification adjustment module. The other end of resistor R4 is grounded, and the other end of capacitor C3 is grounded.
[0030] After the voltage is input, the current flows through the hardware under test (DUT) X and finally to ground through resistor R4. Since DUT X and resistor R4 are connected in series, the voltage across resistor R4 reflects the magnitude of the current flowing through DUT X.
[0031] In this embodiment: Please refer to Figure 2 The acquisition and output module includes resistor R5, amplifier U2, capacitor C4, capacitor C5, switch S2, resistors R6, R7, and R8. One end of resistor R5 is connected to the hardware working module, and the other end of resistor R5 is connected to the inverting input of amplifier U2. The non-inverting input of inverter U2 is connected to one end of capacitor C4, the first end of switch S2, and one end of resistor R8. The other end of capacitor C4 is grounded. The second end of switch S2 is connected to one end of resistor R6, and the other end of resistor R6 is grounded. The third end of switch S2 is connected to one end of resistor R7, and the other end of resistor R7 is grounded. The output terminal of amplifier U2 is connected to the other end of resistor R8 and one end of capacitor C5, and the other end of capacitor C5 is grounded.
[0032] The voltage across resistor R4 is amplified by amplifier U2 and then output to the microcontroller. The microcontroller determines whether the current flowing through the hardware under test after power-on meets the qualification requirements based on the magnitude of the input voltage.
[0033] In this embodiment: Please refer to Figure 3 The amplification and adjustment module includes diode D2, resistor R10, resistor R9, MOSFET V2, relay J2, and diode D3. The negative terminal of diode D2 is connected to the hardware detection module, and the positive terminal of diode D2 is connected to one end of resistor R10 and the gate (G) terminal of MOSFET V2. The other end of resistor R10 is grounded. The source (S) terminal of MOSFET V2 is connected to one end of relay J2 and the negative terminal of diode D3. The other end of relay J2 is grounded, and the positive terminal of diode D3 is grounded. The drain (D) terminal of MOSFET V2 is connected to one end of resistor R9, and the other end of resistor R9 is connected to the power supply voltage VCC.
[0034] When the current flowing through the hardware under test X is normal, the voltage on resistor R4 is insufficient to turn on diode D2, MOSFET V2 is cut off, relay J2 stops working, the first and third terminals of switch S2 are connected, resistors R7 and R8 are connected in series, the amplification factor is large, ensuring that the microcontroller can acquire and identify the voltage signal.
[0035] When the current flowing through the hardware under test X is too large, the voltage across resistor R4 is sufficient to turn on diode D2, turn on MOSFET V2, and energize relay J2. The first terminal of control switch S2 is changed to be connected to the second terminal, and resistors R6 and R8 are connected in series. The amplification factor is small to avoid excessive voltage output to the microcontroller, which could damage the microcontroller.
[0036] Under different conditions, the gate voltage signal of MOSFET V2 can be selectively output to the microcontroller so that the microcontroller can identify the two conditions.
[0037] The working principle of this utility model is as follows: the power supply module is used to supply adjustable power to the hardware working module; the hardware working module is used for the hardware under test to work; the acquisition and output module is used to acquire the current flowing through the hardware under test, convert it into a voltage signal, and amplify it before outputting it; the amplification adjustment module is used to detect the magnitude of the current flowing through the hardware under test, and select whether to adjust the amplification factor of the acquisition and output module based on whether the current magnitude is less than a threshold.
[0038] It will be apparent to those skilled in the art that this invention is not limited to the details of the exemplary embodiments described above, and that it can be implemented in other specific forms without departing from the spirit or essential characteristics of this invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects.
[0039] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
Claims
1. A hardware power-on detection circuit, characterized in that, The hardware power-on detection circuit includes: The power supply module is used to supply adjustable power to the hardware operating modules; Hardware working module, used for the hardware under test to operate; The acquisition and output module is used to acquire the current flowing through the hardware under test, convert it into a voltage signal, amplify it, and then output it. The amplification adjustment module is used to detect the magnitude of the current flowing through the hardware under test. Based on whether the current magnitude is less than a threshold, it selects whether to adjust the amplification factor of the acquisition output module. The power supply module is connected to the hardware working module, the hardware working module is connected to the acquisition and output module and the amplification and adjustment module, and the discharge adjustment module is connected to the acquisition and output module.
2. The hardware power-on detection circuit according to claim 1, characterized in that, The power supply module includes resistor R1, switch S1, resistor R2, transistor V1, diode D1, capacitor C1, voltage regulator U1, resistor R3, potentiometer RP1, and capacitor C2. One end of resistor R1 is connected to the supply voltage VCC, and the other end of resistor R1 is connected to one end of switch S1. The other end of switch S1 is connected to one end of resistor R2 and the collector of transistor V1. The other end of resistor R2 is connected to the base of transistor V1 and the cathode of diode D1. The anode of diode D1 is grounded. The emitter of transistor V1 is connected to one end of capacitor C1 and the input of voltage regulator U1. The other end of capacitor C1 is grounded. The ground terminal of voltage regulator U1 is connected to the sliding terminal of potentiometer RP1. The output terminal of voltage regulator U1 is connected to one end of potentiometer RP1, one end of capacitor C2, and the hardware working module. The other end of capacitor C2 is grounded. The other end of potentiometer RP1 is connected to one end of resistor R3, and the other end of resistor R3 is grounded.
3. The hardware power-on detection circuit according to claim 1, characterized in that, The hardware working module includes hardware under test X, resistor R4, and capacitor C3. One end of hardware under test X is connected to the power supply module, and the other end of hardware under test X is connected to one end of resistor R4, one end of capacitor C3, the acquisition output module, and the amplification and adjustment module. The other end of resistor R4 is grounded, and the other end of capacitor C3 is grounded.
4. The hardware power-on detection circuit according to claim 1, characterized in that, The acquisition and output module includes resistor R5, amplifier U2, capacitor C4, capacitor C5, switch S2, resistors R6, R7, and R8. One end of resistor R5 is connected to the hardware working module, and the other end of resistor R5 is connected to the inverting input of amplifier U2. The non-inverting input of inverter U2 is connected to one end of capacitor C4, the first end of switch S2, and one end of resistor R8. The other end of capacitor C4 is grounded. The second end of switch S2 is connected to one end of resistor R6, and the other end of resistor R6 is grounded. The third end of switch S2 is connected to one end of resistor R7, and the other end of resistor R7 is grounded. The output terminal of amplifier U2 is connected to the other end of resistor R8 and one end of capacitor C5, and the other end of capacitor C5 is grounded.
5. The hardware power-on detection circuit according to claim 4, characterized in that, The amplification and adjustment module includes diode D2, resistor R10, resistor R9, MOSFET V2, relay J2, and diode D3. The negative terminal of diode D2 is connected to the hardware detection module, and the positive terminal of diode D2 is connected to one end of resistor R10 and the gate (G) terminal of MOSFET V2. The other end of resistor R10 is grounded. The source (S) terminal of MOSFET V2 is connected to one end of relay J2 and the negative terminal of diode D3. The other end of relay J2 is grounded, and the positive terminal of diode D3 is grounded. The drain (D) terminal of MOSFET V2 is connected to one end of resistor R9, and the other end of resistor R9 is connected to the power supply voltage VCC.