EMMC power-off test device and test method
By designing an automated eMMC power-off test device, the main control module and power-off control module are used to automate the eMMC power-off test, solving the problems of low efficiency and high risk in the existing technology, and improving the testing efficiency and safety.
Patent Information
- Application Number
- CN202411114821.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-12-03
AI Technical Summary
Existing eMMC power-off tests mainly rely on manual manual operations, are inefficient and dangerous, and lack automation and visual control.
An eMMC power-off test device including a main control module, a power-off control module, a touch screen module, a light control module and a power output interface module is designed to communicate through SPI and I2C buses to realize automated power-off control and visual status reminder.
It improves the efficiency of eMMC power-off test, avoids manual manual operation, realizes automated 5V and 12V power-off control, supports parameter settings and real-time status monitoring, is simple to operate and has high applicability.
Smart Images

Figure CN119068964A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of memory chips, and in particular to an eMMC power-off test device and a test method. Background Art
[0002] eMMC (Embedded Multi Media Card) is a storage chip that integrates NAND Flash and Flash controller on the same silicon chip. eMMC is commonly found in mobile terminals such as mobile phones and tablets.
[0003] Before leaving the factory, eMMC needs to undergo POR and PON reliability tests. POR (Power Off Recovery) refers to data recovery in the event of an unexpected power outage. In theory, data written to the storage chip should not be lost when the power is off. PON (Power Off Notification) refers to the power off notification mechanism of the eMMC: the host will notify the power off before the power is off, save the eMMC data, and the host will officially power off after the maximum delay time.
[0004] Currently, the power-off test of eMMC is performed by manually powering off the eMMC test board, which is inefficient and dangerous. Therefore, a device is needed to control power-on and power-off at a fixed time, and support test cycle setting and test status monitoring. Summary of the invention
[0005] In view of the above problems, the present invention is proposed to provide an eMMC power-off test device and a test method that overcome the above problems or at least partially solve the above problems.
[0006] Other features and advantages of the present invention will become apparent from the following detailed description, or may be learned in part by practice of the present invention.
[0007] According to a first aspect of an embodiment of the present invention, an eMMC power-off test device is provided, which is applied to a power-off test of an eMMC test board, and the eMMC power-off test device comprises: a main control module, a power-off control module, a touch screen module, a light control module, a power output interface module and a power supply module; the main control module is electrically connected to the touch screen module via an SPI bus, the main control module is electrically connected to the light control module via an I2C, and the main control module is connected to the eMMC test board via a USB or I2C; the power-off control module is respectively connected to the power supply module and the main control module, and the power-off control module is electrically connected to the eMMC test board via the power output interface module.
[0008] In some embodiments of the present invention, the power-off control module includes a 5V power-off control circuit and a 12V power-off control circuit, and the structures of the 5V power-off control circuit and the 12V power-off control circuit are the same.
[0009] In some embodiments of the present invention, the 5V power-off control circuit includes a first power input port, a second power port, a control signal input port, a first magnetic bead, a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a first resistor, a second resistor, a third resistor, a fourth resistor, a P-channel field effect transistor, and an NPN transistor;
[0010] The first power input port is connected to pin 1 of the first magnetic bead, pin 2 of the first magnetic bead is connected to pin 2 of the first capacitor, pin 1 of the first capacitor is connected to the GND end, pin 2 of the first magnetic bead is connected to pin 2 of the second capacitor, pin 1 of the second capacitor is connected to the GND end, pin 2 of the first magnetic bead is connected to pin 1 of the first resistor, pin 2 of the first magnetic bead is connected to pin 3 of the P-channel field effect transistor, pin 2 of the first resistor is connected to pin 1 of the P-channel field effect transistor, pin 2 of the P-channel field effect transistor is connected to pin 2 of the third capacitor, pin 1 of the third capacitor is connected to the GND end, and the P-channel Pin 2 of the field effect transistor is connected to pin 2 of the fourth capacitor, pin 1 of the fourth capacitor is connected to the GND end, pin 2 of the P-channel field effect transistor is connected to the second power supply port, pin 2 of the P-channel field effect transistor is connected to pin 2 of the fourth resistor, pin 1 of the P-channel field effect transistor is connected to pin 3 of the NPN transistor, pin 2 of the NPN transistor is connected to the GND end, pin 1 of the NPN transistor is connected to pin 2 of the third resistor, pin 1 of the third resistor is connected to the GND end, pin 2 of the third resistor is connected to pin 1 of the second resistor, and pin 2 of the second resistor is connected to the control signal input port.
[0011] In some embodiments of the present invention, pin 1, pin 5, pin 6, and pin 17 of the touch screen module interface are respectively connected to the GND end, pin 3, pin 9, pin 10, pin 11, pin 12, pin 13, pin 14, pin 15, and pin 18 of the touch screen module interface are suspended, pin 2 of the touch screen module interface is connected to the 3.3V power supply end output by the power supply module, pin 4 of the touch screen module interface is connected to pin 29 of the main control module, pin 7 of the touch screen module interface is connected to pin 15 of the main control module, pin 8 of the touch screen module interface is connected to pin 17 of the main control module, pin 16 of the touch screen module interface is connected to pin 38 of the main control module, and the touch Pin 19 of the screen module interface is connected to pin 39 of the main control module, pin 20 of the touch screen module interface is connected to pin 40 of the main control module, pin 21 of the touch screen module interface is connected to pin 21 of the main control module, pin 22 of the touch screen module interface is connected to pin 22 of the main control module, pin 23 of the touch screen module interface is connected to pin 32 of the main control module, pin 24 of the touch screen module interface is connected to pin 33 of the main control module, pin 7 of the touch screen module interface is connected to pin 2 of the tenth resistor, pin 8 of the touch screen module interface is connected to pin 2 of the eleventh resistor, and pin 1 of the tenth resistor and pin 1 of the eleventh resistor are both connected to the power supply module.
[0012] In some embodiments of the present invention, the power supply module includes a power input module and a step-down chip module, the step-down chip module includes a 3.3V step-down module and a 5V step-down module, and the 3.3V step-down module and the 5V step-down module are respectively connected to the power input module.
[0013] In some embodiments of the present invention, the power input module includes a power input interface, a rocker switch, a fuse, an anti-reverse connection diode, an electrostatic and surge protection tube, a power indicator light and a forty-second resistor;
[0014] Pins 2 and 3 of the power input interface are both connected to the GND end, pin 4 of the power input interface is connected to pin 1 of the third magnetic bead, pin 2 of the third magnetic bead is connected to pin 1 of the boat switch, pin 2 of the boat switch is connected to pin 1 of the fuse, pin 2 of the fuse is connected to pin 1 of the anti-reverse diode, pin 2 of the anti-reverse diode is connected to the GND end, pin 2 of the fuse is connected to pin 2 of the static and surge protection tube, pin 1 of the static and surge protection tube is connected to the GND end, pin 2 of the fuse is connected to pin 2 of the power indicator light, pin 1 of the power indicator light is connected to pin 1 of the forty-second resistor, pin 2 of the forty-second resistor is connected to the GND end, and pin 2 of the fuse is connected to the 12V power supply end.
[0015] In some embodiments of the present invention, the 3.3V buck module includes a second buck chip, a third magnetic bead, a thirty-fifth resistor, a thirty-eighth resistor, a forty-first resistor, a second power inductor, an eighteenth capacitor, a power indicator light, a thirty-ninth resistor, a twentieth capacitor, a twenty-first capacitor, a twenty-second capacitor, and a twenty-third capacitor;
[0016] The 12V power supply end of the power input module is connected to pin 1 of the third magnetic bead, pin 2 of the third magnetic bead is connected to pin 1 of the twentieth capacitor, pin 2 of the twentieth capacitor is connected to the GND end, pin 2 of the third magnetic bead is connected to pin 1 of the thirty-fifth resistor, pin 2 of the thirty-fifth resistor is connected to pin 4 of the second buck chip, pin 1 of the thirty-fifth resistor is connected to pin 5 of the second buck chip, pin 2 of the second buck chip is connected to the GND end, pin 6 of the second buck chip is connected to pin 1 of the second power inductor, pin 1 of the second power inductor is connected to pin 1 of the eighteenth capacitor, pin 2 of the eighteenth capacitor is connected to pin 1 of the second buck chip, pin 2 of the second power inductor is connected to pin 1 of the thirty-eighth resistor, and pin 2 of the thirty-eighth resistor is connected to pin 1 of the second buck chip. Pin 3 of the thirty-eighth resistor is connected, pin 2 of the thirty-first resistor is connected to pin 1 of the forty-first resistor, pin 2 of the forty-first resistor is connected to the GND terminal, pin 1 of the forty-first resistor is connected to pin 2 of the twenty-first capacitor, pin 1 of the twenty-first capacitor is connected to pin 2 of the second power inductor, pin 1 of the twenty-first capacitor is connected to pin 1 of the twenty-second capacitor, pin 1 of the twenty-first capacitor is connected to pin 1 of the twenty-third capacitor, pin 2 of the twenty-second capacitor is connected to the GND terminal, pin 2 of the twenty-third capacitor is connected to the GND terminal, pin 1 of the twenty-third capacitor is connected to pin 1 of the thirty-ninth resistor, pin 2 of the thirty-ninth resistor is connected to pin 2 of the power supply indicator light, pin 1 of the power supply indicator light is connected to the GND terminal, and pin 1 of the twenty-third capacitor is connected to the 3.3V power supply terminal.
[0017] In some embodiments of the present invention, the 5V buck module includes a first buck chip, a second magnetic bead, a thirty-sixth resistor, a thirty-seventh resistor, a fortieth resistor, a first power inductor, a fourteenth capacitor, a fifteenth capacitor, a sixteenth capacitor, a seventeenth capacitor, and a nineteenth capacitor;
[0018] The 12V power supply end output by the power input module is connected to pin 1 of the second magnetic bead, pin 2 of the second magnetic bead is connected to pin 1 of the fifteenth capacitor, pin 2 of the fifteenth capacitor is connected to the GND end, pin 2 of the second magnetic bead is connected to pin 1 of the thirty-sixth resistor, pin 2 of the thirty-sixth resistor is connected to pin 4 of the first buck chip, pin 1 of the thirty-fifth resistor is connected to pin 5 of the first buck chip, pin 2 of the first buck chip is connected to the GND end, pin 6 of the first buck chip is connected to pin 1 of the first power inductor, pin 1 of the first power inductor is connected to pin 1 of the fourteenth capacitor, pin 2 of the fourteenth capacitor is connected to pin 1 of the first buck chip, and pin 1 of the first buck chip is connected to pin 2 of the first buck chip. Pin 2 of a power inductor is connected to pin 1 of the thirty-seventh resistor, pin 2 of the thirty-seventh resistor is connected to pin 3 of the first step-down chip, pin 2 of the thirty-seventh resistor is connected to pin 1 of the fortieth resistor, pin 2 of the fortieth resistor is connected to the GND terminal, pin 1 of the fortieth resistor is connected to pin 2 of the sixteenth capacitor, pin 1 of the sixteenth capacitor is connected to pin 2 of the first power inductor, pin 1 of the sixteenth capacitor is connected to pin 1 of the seventeenth capacitor, pin 1 of the sixteenth capacitor is connected to pin 1 of the nineteenth capacitor, pin 2 of the seventeenth capacitor is connected to the GND terminal, pin 2 of the nineteenth capacitor is connected to the GND terminal, and pin 1 of the nineteenth capacitor is connected to the 5V power supply terminal.
[0019] In some embodiments of the present invention, the light control module includes a light control chip and a light emitting diode assembly connected to each other, and the light emitting diode assembly includes a first indicator light, a second indicator light, a third indicator light, a fourth indicator light, a fifth indicator light and a sixth indicator light;
[0020] Pin 42 of the main control module is connected to pin 4 of the light control chip, pin 43 of the main control module is connected to pin 5 of the light control chip, pin 18 of the main control module is connected to pin 29 of the light control chip, pins 9 and 33 of the light control chip are connected to the GND end, pins 16, 19, 20, 21, 22, 23, and 24 of the light control chip are left floating, pins 6 and 7 of the light control chip are connected to pin 2 of the thirty-fourth resistor, pin 1 of the thirty-fourth resistor is connected to the GND end, pin 28 of the light control chip is connected to pin 1 of the twenty-first resistor, pin 2 of the twenty-first resistor is connected to the power supply module, pin 1 of the light control chip is connected to pin 2 of the twenty-eighth resistor, pin 2 of the light control chip is connected to pin 2 of the twenty-ninth resistor, pin 3 of the light control chip is connected to pin 2 of the thirty-second resistor, pin 10 of the light control chip is connected to pin 2 of the thirty-third resistor, pin 11 of the light control chip is connected to pin 2 of the thirty-first resistor, and pin 12 of the light control chip is connected to pin 2 of the 30th resistor. 2 pin of the light control chip is connected to 2 pin of the 27th resistor, 14 pin of the light control chip is connected to 2 pin of the 25th resistor, 15 pin of the light control chip is connected to 2 pin of the 24th resistor, 17 pin of the light control chip is connected to 2 pin of the 20th resistor, 18 pin of the light control chip is connected to 2 pin of the 18th resistor, 19 pin of the light control chip is connected to 2 pin of the 16th resistor, 25 pin of the light control chip is connected to 2 pin of the 15th resistor, 26 pin of the light control chip is connected to 2 pin of the 17th resistor, 27 pin of the light control chip is connected to 2 pin of the 19th resistor, 30 pin of the light control chip is connected to 2 pin of the 23rd resistor, 31 pin of the light control chip is connected to 2 pin of the 22nd resistor, 32 pin of the light control chip is connected to 2 pin of the 26th resistor, pin 7 of the light control chip is connected to 2 pin of the 34th resistor, pin 1 of the 34th resistor is connected to the GND end, and pins 9 and 33 of the light control chip are connected to the GND terminal;
[0021] Pin 1 of the fifteenth resistor is connected to pin 1 of the first indicator light, pin 1 of the seventeenth resistor is connected to pin 2 of the first indicator light, pin 1 of the nineteenth resistor is connected to pin 3 of the first indicator light, pin 1 of the sixteenth resistor is connected to pin 1 of the second indicator light, pin 1 of the eighteenth resistor is connected to pin 2 of the second indicator light, pin 1 of the twentieth resistor is connected to pin 3 of the second indicator light, pin 1 of the twenty-third resistor is connected to pin 1 of the third indicator light, pin 1 of the twenty-second resistor is connected to pin 2 of the third indicator light, pin 1 of the twenty-sixth resistor is connected to pin 3 of the third indicator light, and pin 1 of the second Pin 1 of the fourteenth resistor is connected to pin 1 of the fourth indicator light, pin 1 of the twenty-fifth resistor is connected to pin 2 of the fourth indicator light, pin 1 of the twenty-seventh resistor is connected to pin 3 of the fourth indicator light, pin 1 of the twenty-eighth resistor is connected to pin 1 of the fifth indicator light, pin 1 of the twenty-ninth resistor is connected to pin 2 of the fifth indicator light, pin 1 of the thirty-second resistor is connected to pin 3 of the fifth indicator light, pin 1 of the thirtieth resistor is connected to pin 1 of the sixth indicator light, pin 1 of the thirty-first resistor is connected to pin 2 of the sixth indicator light, and pin 1 of the thirty-third resistor is connected to pin 3 of the sixth indicator light.
[0022] According to a second aspect of an embodiment of the present invention, a test method for an eMMC power-off test device is provided, the method comprising the following steps:
[0023] S1. The user selects the power output port of the power supply module through the touch screen module, and then determines the selected test parameters, wherein the test parameters include power-off state, power-off time interval, power-off turns and load state;
[0024] S2, the touch screen module sends the test parameters selected by the user to the main control module through the SPI interface;
[0025] S3, the main control module determines the power output port and real-time status selected by the user. If the selected channel requires to start the power-off test state, step S4 is executed; if the selected channel requires to be in the pause state, step S8 is executed;
[0026] S4, setting the power-off parameters of the power-off control module through the main control module, and updating the load state of the eMMC control board through the communication interface, wherein the power-off parameters include the power-off time interval, the number of power-off test cycles and the load state;
[0027] S5. Return a command indicating that the load status has been set through the communication interface of the eMMC control board;
[0028] S6. Update the lighting control status of each output of the lighting control module in real time through the main control module;
[0029] S7, controlling the power-off control module to perform a power-off cycle through the main control module, and when the test is completed, executing step S10;
[0030] S8, controlling the power-off control module to stop the power-off cycle through the main control module, and executing step S7 after the touch screen module sends a test start command to the main control module again;
[0031] S9, if the short circuit protection is triggered during the test, the main control module controls to stop the power-off test, and when the touch screen module sends a test start command to the main control module again, step S7 is executed;
[0032] S10, the power-off test is completed, and the test result is displayed on the touch screen module.
[0033] The technical solution provided in the embodiments of the present invention has at least the following technical effects or advantages:
[0034] An embodiment of the present invention provides an eMMC power-off test device and a test method. The device automatically performs 5V and 12V power-off control respectively through a power-off control module, thereby avoiding manual power-off operation and improving the efficiency of the eMMC power-off test. Through a touch screen module, touch control can be performed and corresponding parameters can be set to achieve fast power-off, fixed time interval power-off and random time interval power-off. At the same time, a light control component is provided to provide a visual reminder of each state in the power-off test process, which is simple to operate and highly applicable.
[0035] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 It is a schematic diagram of the principle structure of an eMMC power-off test device provided by an embodiment of the present invention;
[0038] Figure 2 This is a circuit reference schematic diagram of a 5V power-off control circuit;
[0039] Figure 3 It is a circuit reference schematic diagram of the touch screen module;
[0040] Figure 4 This is a circuit reference schematic diagram of the power input module;
[0041] Figure 5 This is the circuit reference diagram of the 3.3V step-down module;
[0042] Figure 6 This is the circuit reference schematic diagram of the 5V step-down module;
[0043] Figure 7 This is a circuit reference diagram of the power output interface module;
[0044] Figure 8 This is a circuit reference diagram of the main control chip module;
[0045] Fig. 9 is a circuit reference schematic diagram of a reset circuit;
[0046] Fig.10 This is a circuit reference diagram of the lighting control chip;
[0047] Fig.11 A circuit reference schematic diagram of a light emitting diode assembly;
[0048] Fig.12 It is a flow chart of an eMMC power-off test method provided by an embodiment of the present invention.
[0049] Description of reference numerals:
[0050] 1. Power supply module; 2. Power-off control module; 3. Main control module; 4. Touch screen module; 5. Power output interface module; 6. Light control module; 7. Buzzer module; 8. eMMC test board; 11. Power input module; 12. Buck chip module; 21. 5V power-off control circuit; 22. 12V power-off control circuit; 60. Light-emitting diode assembly; 121. 3.3V buck module; 122. 5V buck module; U2. Light control chip. DETAILED DESCRIPTION
[0051] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings.
[0052] Various structural schematic diagrams according to embodiments of the present disclosure are shown in the accompanying drawings. These figures are not drawn to scale, and some details are magnified and some details may be omitted for the purpose of clear expression. The shapes of various regions and layers shown in the figures and the relative sizes and positional relationships therebetween are only exemplary, and may deviate in practice due to manufacturing tolerances or technical limitations, and those skilled in the art may further design regions / layers with different shapes, sizes, and relative positions according to actual needs.
[0053] In the context of the present disclosure, when a layer / element is referred to as being "on" another layer / element, the layer / element may be directly on the other layer / element, or there may be an intervening layer / element therebetween. Additionally, if a layer / element is "on" another layer / element in one orientation, the layer / element may be "below" the other layer / element when the orientation is reversed. In the context of the present disclosure, similar or identical components may be denoted by the same or similar reference numerals.
[0054] In order to better understand the above-mentioned technical scheme, the above-mentioned technical scheme will be described in detail below in combination with specific implementation methods. It should be understood that the embodiments of the present disclosure and the specific features in the embodiments are detailed descriptions of the technical scheme of the present invention, rather than limitations on the technical scheme of the present invention. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.
[0055] Figure 1 Schematic diagram of the principle structure of an eMMC power-off test device provided by an embodiment of the present invention, which is applied to the power-off test of the eMMC test board 8, such as Figure 1 As shown, the eMMC power-off test device includes: a main control module 3, a power-off control module 2, a touch screen module 4, a light control module 6, a power output interface module 5 and a power supply module 1; the main control module 3 is electrically connected to the touch screen module 4 through an SPI bus, the main control module 3 is electrically connected to the light control module 6 through an I2C method, and the main control module 3 is connected to the eMMC test board 8 through a USB or I2C method; the power-off control module 2 is respectively connected to the power supply module 1 and the main control module 3, and the power-off control module 2 is electrically connected to the eMMC test board 8 through the power output interface module 5.
[0056] In other embodiments of the present invention, the eMMC power-off test device may further include a buzzer module 7, which is electrically connected to the main control module 3 via an SPI bus and is used to generate a buzzer alarm when a fault occurs during the test.
[0057] The user controls the test of each port through the touch screen, and the test status is fed back to the touch screen module 4 in real time for display. Specifically: the user selects the power output port of the power supply module 1 on the touch screen module 4, and then selects the test parameters such as the power-off state, power-off time interval, number of power-off cycles and load state, and then clicks to confirm; the touch screen module 4 sends the test parameters selected by the user to the main control module 3 through the SPI interface; the main control module 3 determines the power output port and real-time state selected by the user. If the selected channel requires the start of the power-off test state, the power-off parameters of the power-off control module 2 are set through the main control module 3, including the power-off time interval, number of power-off test cycles and load state; if the selected channel requires the pause state, the main control module 3 is turned to control the power-off control module to stop the power-off cycle; the load state of the eMMC control board is updated through the communication interface; the eMMC control board returns a command that the load state has been set through the communication interface; The main control module 3 updates the lighting control status of each output of the lighting control module 6 in real time; the main control controls the power-off control module to perform a power-off cycle, and the touch screen displays the test channel, the number of test laps set for each channel, the number of laps completed, the power-off interval time and the words "test in progress". At this time, the power output channel indicator light of the power-off test flashes green; the main control module 3 controls the power-off control module to stop the power-off cycle, and the touch screen displays the pause channel, the number of test laps set for each channel, the number of laps completed, the power-off interval time and the words "test paused". At this time, the power output channel indicator light of the power-off pause flashes orange; after the touch screen sends a test start command to the main control, it turns to the main control module 3 to control the power-off control module to perform a power-off cycle; if the short-circuit protection is triggered during the test, the main control will stop the power-off test and display the words "power short circuit" on the touch screen. At this time, the red light of the power output channel indicator light that reports an error turns on, and the buzzer component emits a buzzer alarm. After the touch screen module 4 sends a test start command to the main control module 3, the main control module 3 controls the power-off control module to perform a power-off cycle; when the power-off test is over, the touch screen module 4 displays the test results, including the number of completed laps and the words "Test End". At this time, the indicator light of the light control module 6 is in a yellow light state.
[0058] In the embodiment of the present invention, the power-off control module 2 includes two circuits, namely a 5V power-off control circuit 21 and a 12V power-off control circuit 22, which respectively control the 5V and 12V power-off control functions, and the 5V power-off control circuit 21 and the 12V power-off control circuit 22 have the same structure. The following description takes the 5V power-off control circuit 21 as an example. Figure 2 As shown, Figure 2: is a circuit reference schematic diagram of a 5V power-off control circuit 21, wherein the 5V power-off control circuit 21 includes a first power input port P1, a second power port P2, a control signal input port P3, a first magnetic bead FB1, a first capacitor C1, a second capacitor C2, a third capacitor C3, a fourth capacitor C4, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a P-channel field effect transistor G1, and an NPN transistor Q1;
[0059] The first power input port P1 is connected to pin 1 of the first magnetic bead FB1, pin 2 of the first magnetic bead FB1 is connected to pin 2 of the first capacitor C1, pin 1 of the first capacitor C1 is connected to the GND end, pin 2 of the first magnetic bead FB1 is connected to pin 2 of the second capacitor C2, pin 1 of the second capacitor C2 is connected to the GND end, pin 2 of the first magnetic bead FB1 is connected to pin 1 of the first resistor R1, pin 2 of the first magnetic bead FB1 is connected to pin 3 of the P-channel field effect transistor G1, pin 2 of the first resistor R1 is connected to pin 1 of the P-channel field effect transistor G1, pin 2 of the P-channel field effect transistor G1 is connected to pin 2 of the third capacitor C3, pin 1 of the third capacitor C3 is connected to the GND end, and pin 2 of the P-channel field effect transistor G1 is connected to pin 2 of the fourth capacitor C4. Pin 1 of the fourth capacitor C4 is connected to the GND terminal, pin 2 of the P-channel field effect transistor G1 is connected to the second power supply port P2, pin 2 of the P-channel field effect transistor G1 is connected to pin 2 of the fourth resistor R4, pin 1 of the fourth resistor R4 is connected to pin 2 of the first indicator light LED1, pin 1 of the first indicator light LED1 is connected to the GND terminal, pin 1 of the P-channel field effect transistor G1 is connected to pin 3 of the NPN transistor Q1, pin 2 of the NPN transistor Q1 is connected to the GND terminal, pin 1 of the NPN transistor Q1 is connected to pin 2 of the third resistor R3, pin 1 of the third resistor R3 is connected to the GND terminal, pin 2 of the third resistor R3 is connected to pin 1 of the second resistor R2, and pin 2 of the second resistor R2 is connected to the control signal input port P3.
[0060] When the pin connected to the control signal input port P3 of the main control outputs a high level, the NPN transistor Q1 is saturated and turned on, Vce is equal to 0V, and the 1st pin of the P-channel field effect transistor G1 is connected to the GND terminal. At this time, the P-channel field effect transistor G1 is turned on, and the first power input port P1 supplies power to the second power port P2. When the pin connected to the control signal input port P3 of the main control outputs a low level, the NPN transistor Q1 is turned off, the P-channel field effect transistor G1 is turned off, and the first power input port P1 stops supplying power to the second power port P2.
[0061] The pin connected to the main control and control signal input port P3 switches high and low levels at a certain time interval to achieve power off cycle. The 12V and 5V lines each have a power off control circuit. The time interval can be selected according to actual needs, and the embodiment of the present invention has no limitation to this.
[0062] In an embodiment of the present invention, the touch screen module 4 may include a 2.8-inch graphic OLED display, a CTP capacitive touch panel and a 4-wire SPI interface; the resolution of the touch screen module 4 is, for example, 256x64 pixels, and the effective display area size is 69.1mm x 17.26mm. In some embodiments of the present invention, the touch screen module 4 may also be provided with an iron frame and multiple screw holes for easy installation and use.
[0063] The product model of the touch screen module 4 is, for example, WEN025664A-CTP. Figure 3 As shown, Figure 3 : This is a circuit reference schematic diagram of the touch screen module 4, wherein pins 1, 5, 6, and 17 of the touch screen module 4 interface are connected to the GND end respectively, pins 3, 9, 10, 11, 12, 13, 14, 15, and 18 of the touch screen module 4 interface are suspended, pin 2 of the touch screen module 4 interface is connected to the 3.3V power supply end output by the power supply module 1, pin 4 of the touch screen module 4 interface is connected to pin 29 of the main control module 3, pin 7 of the touch screen module 4 interface is connected to pin 15 of the main control module 3, pin 8 of the touch screen module 4 interface is connected to pin 17 of the main control module 3, pin 16 of the touch screen module 4 interface is connected to pin 38 of the main control module 3, and pin 19 of the touch screen module 4 interface is connected to the 3.3V power supply end output by the power supply module 1. Pin 39 of the main control module 3 is connected, pin 20 of the touch screen module 4 interface is connected to pin 40 of the main control module 3, pin 21 of the touch screen module 4 interface is connected to pin 21 of the main control module 3, pin 22 of the touch screen module 4 interface is connected to pin 22 of the main control module 3, pin 23 of the touch screen module 4 interface is connected to pin 32 of the main control module 3, pin 24 of the touch screen module 4 interface is connected to pin 33 of the main control module 3, pin 7 of the touch screen module 4 interface is connected to pin 2 of the tenth resistor R10, pin 8 of the touch screen module 4 interface is connected to pin 2 of the eleventh resistor R11, and pin 1 of the tenth resistor R10 and pin 1 of the eleventh resistor R11 are both connected to the 3.3V power supply end output by the power supply module 1.
[0064] In the embodiment of the present invention, the touch screen module 4 communicates with the main control module 3 via the SPI interface, and the user can directly input a command on the touch screen module 4 to control power off, and the touch screen module 4 can feedback the test status and / or test results in real time. When the main control module 3 is powered on, the 33rd pin of the main control module 3 will be pulled low, and the touch screen module 4 starts to reset and display the current test status and / or test results.
[0065] In an embodiment of the present invention, the power supply module 1 includes a power input module 11 and a buck chip module 12 which are electrically connected to each other; wherein the first buck chip U3 (product model, for example, SY8120B1ABC) and the second buck chip U4 (product model, for example, SY8120B1ABC) in the buck chip module 12 both support soft start to prevent surge current shock during power failure, and cycle-by-cycle current limiting protection and overvoltage protection can be set.
[0066] In the embodiment of the present invention, refer to Figure 4 As shown, Figure 4 Schematic diagram of a circuit reference of a power input module 11, wherein the power input module 11 includes a power input interface J4, a rocker switch SW5, a fuse F1, an anti-reverse connection diode D8, an electrostatic and surge protection tube D9, a power indicator LED8 and a forty-second resistor R42;
[0067] Pins 2 and 3 of the power input interface J4 are both connected to the GND end, pin 4 of the power input interface J4 is connected to pin 1 of the third magnetic bead FB3, pin 2 of the third magnetic bead FB3 is connected to pin 1 of the rocker switch SW5, pin 2 of the rocker switch SW5 is connected to pin 1 of the fuse F1, pin 2 of the fuse F1 is connected to pin 1 of the anti-reverse diode D8, pin 2 of the anti-reverse diode D8 is connected to the GND end, pin 2 of the fuse F1 is connected to pin 2 of the static and surge protection tube D9, pin 1 of the static and surge protection tube D9 is connected to the GND end, pin 2 of the fuse F1 is connected to pin 2 of the power indicator LED8, pin 1 of the power indicator LED8 is connected to pin 1 of the forty-second resistor R42, pin 2 of the forty-second resistor R42 is connected to the GND end, and pin 2 of the fuse F1 is connected to the 12V power supply terminal INPUT_12V.
[0068] The forty-second resistor R42 is a current limiting resistor, the electrostatic and surge protection tube D9 plays an ESD protection role, and the fuse F1 plays a short circuit protection role; the anti-reverse diode D8 plays an anti-reverse role. When the input power is reversed, the anti-reverse diode D8 conducts a large current in the reverse direction, and the fuse F1 will melt to protect the circuit's subsequent components. The boat-shaped switch SW5 serves as a hard switch for the entire board power supply, with a rated current of 6A. The power input interface J4 is a conventional DC power adapter socket with a rated current of 5A.
[0069] In the embodiment of the present invention, the step-down chip module 12 includes a 3.3V step-down module 121 and a 5V step-down module 122 , and the 3.3V step-down module 121 and the 5V step-down module 122 are connected to the power input module 11 , respectively.
[0070] In the embodiment of the present invention, refer to Figure 5 As shown, Figure 5 3.3V step-down module 121 is a circuit reference schematic diagram, wherein the 3.3V step-down module 121 includes a second step-down chip U4, a third magnetic bead FB3, a thirty-fifth resistor R35, a thirty-eighth resistor R38, a forty-first resistor R41, a second power inductor L2, an eighteenth capacitor C18, a power indicator LED7, a thirty-ninth resistor R39, a twentieth capacitor C20, a twenty-first capacitor C21, a twenty-second capacitor C22, and a twenty-third capacitor C23;
[0071] The 12V power supply terminal INPUT_12V of the power input module 11 is connected to pin 1 of the third magnetic bead FB3, pin 2 of the third magnetic bead FB3 is connected to pin 1 of the twentieth capacitor C20, pin 2 of the twentieth capacitor C20 is connected to the GND terminal, pin 2 of the third magnetic bead FB3 is connected to pin 1 of the thirty-fifth resistor R35, pin 2 of the thirty-fifth resistor R35 is connected to pin 4 of the second buck chip U4, pin 1 of the thirty-fifth resistor R35 is connected to pin 5 of the second buck chip U4, pin 2 of the second buck chip U4 is connected to the GND terminal, pin 6 of the second buck chip U4 is connected to pin 1 of the second power inductor L2, pin 1 of the second power inductor L2 is connected to pin 1 of the eighteenth capacitor C18, pin 2 of the eighteenth capacitor C18 is connected to pin 1 of the second buck chip U4, pin 2 of the second power inductor L2 is connected to pin 1 of the thirty-eighth resistor R38, and pin 2 of the thirty-eighth resistor R38 is connected to pin 4 of the second buck chip U4. Pin 3 of chip U4 is connected, pin 2 of the thirty-eighth resistor R38 is connected to pin 1 of the forty-first resistor R41, pin 2 of the forty-first resistor R41 is connected to the GND terminal, pin 1 of the forty-first resistor R41 is connected to pin 2 of the twenty-first capacitor C21, pin 1 of the twenty-first capacitor C21 is connected to pin 2 of the second power inductor L2, pin 1 of the twenty-first capacitor C21 is connected to pin 1 of the twenty-second capacitor C22, pin 1 of the twenty-first capacitor C21 is connected to pin 1 of the twenty-third capacitor C23, pin 2 of the twenty-second capacitor C22 is connected to the GND terminal, pin 2 of the twenty-third capacitor C23 is connected to the GND terminal, pin 1 of the twenty-third capacitor C23 is connected to pin 1 of the thirty-ninth resistor R39, pin 2 of the thirty-ninth resistor R39 is connected to pin 2 of the power supply indicator LED7, pin 1 of the power supply indicator LED7 is connected to the GND terminal, and pin 1 of the twenty-third capacitor C23 is connected to the 3.3V power supply terminal.
[0072] In the embodiment of the present invention, the thirty-fifth resistor R35 is a pull-up resistor, the thirty-eighth resistor R38 and the forty-first resistor R41 are voltage-dividing resistors, the thirty-ninth resistor R39 is a current-limiting resistor, the eighteenth capacitor C18 is a bootstrap capacitor, and the twentieth capacitor C20, the twenty-first capacitor C21, the twenty-second capacitor C22 and the twenty-third capacitor C23 are all decoupling capacitors.
[0073] In the embodiment of the present invention, refer to Figure 6 As shown, Figure 6 : is a circuit reference schematic diagram of a 5V buck module 122, wherein the 5V buck module 122 includes a first buck chip U3, a second magnetic bead FB2, a thirty-sixth resistor R36, a thirty-seventh resistor R37, a fortieth resistor R40, a first power inductor L1, a fourteenth capacitor C14, a fifteenth capacitor C15, a sixteenth capacitor C16, a seventeenth capacitor C17, and a nineteenth capacitor C19;
[0074] The 12V power supply terminal INPUT_12V output by the power input module 11 is connected to pin 1 of the second magnetic bead FB2, pin 2 of the second magnetic bead FB2 is connected to pin 1 of the fifteenth capacitor C15, pin 2 of the fifteenth capacitor C15 is connected to the GND terminal, pin 2 of the second magnetic bead FB2 is connected to pin 1 of the thirty-sixth resistor R36, pin 2 of the thirty-sixth resistor R36 is connected to pin 4 of the first buck chip U3, pin 1 of the thirty-fifth resistor R35 is connected to pin 5 of the first buck chip U3, pin 2 of the first buck chip U3 is connected to the GND terminal, pin 6 of the first buck chip U3 is connected to pin 1 of the first power inductor L1, pin 1 of the first power inductor L1 is connected to pin 1 of the fourteenth capacitor C14, pin 2 of the fourteenth capacitor C14 is connected to pin 1 of the first buck chip U3, and the first power inductor L1 is connected to pin 1 of the first power inductor L1. Pin 2 of the power inductor L1 is connected to pin 1 of the thirty-seventh resistor R37, pin 2 of the thirty-seventh resistor R37 is connected to pin 3 of the first step-down chip U3, pin 2 of the thirty-seventh resistor R37 is connected to pin 1 of the fortieth resistor R40, pin 2 of the fortieth resistor R40 is connected to the GND terminal, pin 1 of the fortieth resistor R40 is connected to pin 2 of the sixteenth capacitor C16, pin 1 of the sixteenth capacitor C16 is connected to pin 2 of the first power inductor L1, pin 1 of the sixteenth capacitor C16 is connected to pin 1 of the seventeenth capacitor C17, pin 1 of the sixteenth capacitor C16 is connected to pin 1 of the nineteenth capacitor C19, pin 2 of the seventeenth capacitor C17 is connected to the GND terminal, pin 2 of the nineteenth capacitor C19 is connected to the GND terminal, and pin 1 of the nineteenth capacitor C19 is connected to the 5V power supply terminal INPUT_5V.
[0075] In the embodiment of the present invention, the thirty-sixth resistor R36 is a pull-up resistor, the thirty-seventh resistor R37 and the fortieth resistor R40 are voltage-dividing resistors, the fourteenth capacitor C14 is a bootstrap capacitor, and the fifteenth capacitor C15, the sixteenth capacitor C16, the seventeenth capacitor C17 and the nineteenth capacitor C19 are all decoupling capacitors.
[0076] In the embodiment of the present invention, the power output interface module 5 is connected to the 5V power-off control circuit 21 and the 12V power-off control circuit 22 respectively. Figure 7 As shown, the power output interface module 5 includes 3 USB-A female sockets and 3 round-head diameter sockets. The USB-A female sockets can be externally connected to TypeC, Micro USB and other wire groups, and the round-head diameter sockets can be connected to various power adapter DC male plugs by themselves.
[0077] In the embodiment of the present invention, the main control module 3 includes a main control chip module, a crystal oscillator and a reset circuit. The main control chip module is connected to the reset circuit and the crystal oscillator respectively. The product model of the main control chip module is, for example, STM32F103CXT2.
[0078] See also Figure 8 As shown, it is a reference circuit diagram corresponding to the main control chip module. Pins 21 and 22 of the main control chip module are I2C interfaces for controlling the eMMC test board 8, pins 25, 26, 27, and 28 of the main control chip module are SPI interfaces for controlling the eMMC test board 8, and pins 12, 13, 30, and 31 of the main control chip module are debug serial ports. Pins 10, 11, and 15 of the main control chip module are enable pins for controlling the 5V power-off control circuit 21, and pins 17, 45, and 46 of the main control chip module are enable pins for controlling the 12V power-off control circuit 22. The crystal oscillator uses an 8MHz passive crystal oscillator, and the first load capacitor C1, the second load capacitor C2, and the sixth resistor R6 form a Π-type network to generate a 180° phase shift to meet the oscillation conditions; the main control module 3 communicates with the touch screen module 4 via SPI, and the user can control multiple power outputs through the touch screen module 4. The power supply module 1 outputs 12V and 5V by default, and supports overvoltage protection and short circuit protection. The power supply has two output interfaces, USB-A and round head diameter socket, to adapt to different control boards, and each output interface has three.
[0079] See also Fig. 9 As shown, this is a circuit reference schematic diagram of the reset circuit. The NRST network of the reset circuit needs to be connected to pin 7 of the main control chip module. Its RC circuit provides a certain reset time for the main control chip module, and the external button supports one-key reset for easy debugging.
[0080] In an embodiment of the present invention, the light control module 6 includes a light control chip U2 and a light emitting diode assembly 60 that are interconnected. The light control chip U2 is an 8-bit flash memory microcontroller embedded with an 8051 chip, and the product model is, for example, QFN32. The light control chip U2 includes a 28MHz high-precision oscillator, does not require external components to provide system frequency, supports 24-way PWM, current 20mA*15 and 50mA*9, and supports I2C communication interface. The light emitting diode assembly 60 includes six parallel light emitting diodes (i.e., the first indicator light LED1, the second indicator light LED2, the third indicator light LED3, the fourth indicator light LED4, the fifth indicator light LED5, and the sixth indicator light LED6). The light emitting colors of the light emitting diodes are red, yellow, and emerald green, with a common anode, and the default current size of each light emitting diode can be controlled by a current limiting resistor.
[0081] In the embodiment of the present invention, refer to Figure 10-11 As shown, Fig.10 is a reference circuit diagram of the light control chip U2, Fig.11: is a reference circuit diagram of the light emitting diode assembly 60, wherein the 42nd pin of the main control module 3 is connected to the 4th pin of the light control chip U2, the 43rd pin of the main control module 3 is connected to the 5th pin of the light control chip U2, the 18th pin of the main control module 3 is connected to the 29th pin of the light control chip U2, the 9th and 33th pins of the light control chip U2 are connected to the GND terminal, the 16th, 19th, 20th, 21st, 22nd, 23rd and 24th pins of the light control chip U2 are suspended, the 6th and 7th pins of the light control chip U2 are connected to the 2nd pin of the 34th resistor R34, the 1st pin of the 34th resistor R34 is connected to the GND terminal, the 28th pin of the light control chip U2 is connected to the 1st pin of the 21st resistor R21, the 2nd pin of the 21st resistor R21 is connected to the 3.3V power supply terminal output by the power supply module 1 Pin 1 of the light control chip U2 is connected to pin 2 of the twenty-eighth resistor R28, pin 2 of the light control chip U2 is connected to pin 2 of the twenty-ninth resistor R29, pin 3 of the light control chip U2 is connected to pin 2 of the thirty-second resistor R32, pin 10 of the light control chip U2 is connected to pin 2 of the thirty-third resistor R33, pin 11 of the light control chip U2 is connected to pin 2 of the thirty-first resistor R31, pin 12 of the light control chip U2 is connected to pin 2 of the thirtieth resistor R30, pin 13 of the light control chip U2 is connected to pin 2 of the twenty-seventh resistor R27, pin 14 of the light control chip U2 is connected to pin 2 of the twenty-fifth resistor R25, pin 15 of the light control chip U2 is connected to pin 2 of the twenty-fourth resistor R24, pin 17 of the light control chip U2 is connected to pin 2 of the twenty-seventh resistor R27 Pin 2 of the resistor R20 is connected, pin 18 of the light control chip U2 is connected to pin 2 of the eighteenth resistor R18, pin 19 of the light control chip U2 is connected to pin 2 of the sixteenth resistor R16, pin 25 of the light control chip U2 is connected to pin 2 of the fifteenth resistor R15, pin 26 of the light control chip U2 is connected to pin 2 of the seventeenth resistor R17, pin 27 of the light control chip U2 is connected to pin 2 of the nineteenth resistor R19, pin 30 of the light control chip U2 is connected to pin 2 of the twenty-third resistor R23, pin 31 of the light control chip U2 is connected to pin 2 of the twenty-second resistor R22, pin 32 of the light control chip U2 is connected to pin 2 of the twenty-sixth resistor R26, pin 7 of the light control chip U2 is connected to pin 2 of the thirty-fourth resistor R34, and pin 34 of the thirty-fourth resistor R34 is connected. Pin 1 of the light control chip U2 is connected to the GND end, pin 9 and pin 33 of the light control chip U2 are connected to the GND terminal, pin 1 of the fifteenth resistor R15 is connected to pin 1 of the first indicator light LED1, pin 1 of the seventeenth resistor R17 is connected to pin 2 of the first indicator light LED1, pin 1 of the nineteenth resistor R19 is connected to pin 3 of the first indicator light LED1, pin 1 of the sixteenth resistor R16 is connected to pin 1 of the second indicator light LED2, pin 1 of the eighteenth resistor R18 is connected to pin 2 of the second indicator light LED2, pin 1 of the twentieth resistor R20 is connected to pin 3 of the second indicator light LED2, pin 1 of the twenty-third resistor R23 is connected to pin 1 of the third indicator light LED3, and pin 1 of the twenty-second resistor R22 is connected to pin 2 of the third indicator light LED3,Pin 1 of the twenty-sixth resistor R26 is connected to pin 3 of the third indicator light LED3, pin 1 of the twenty-fourth resistor R24 is connected to pin 1 of the fourth indicator light LED4, pin 1 of the twenty-fifth resistor R25 is connected to pin 2 of the fourth indicator light LED4, pin 1 of the twenty-seventh resistor R27 is connected to pin 3 of the fourth indicator light LED4, pin 1 of the twenty-eighth resistor R28 is connected to pin 1 of the fifth indicator light LED5, pin 1 of the twenty-ninth resistor R29 is connected to pin 2 of the fifth indicator light LED5, pin 1 of the thirty-second resistor R32 is connected to pin 3 of the fifth indicator light LED5, pin 1 of the thirtieth resistor R30 is connected to pin 1 of the sixth indicator light LED 6, the 1st pin of the 31st resistor R31 is connected to the 2nd pin of the sixth indicator LED6, the 1st pin of the 33rd resistor R33 is connected to the 3rd pin of the sixth indicator LED6, the 2nd pin of the sixth magnetic bead FB6 is connected to the 3.3V power supply end output by the power supply module 1, the 1st pin of the sixth magnetic bead FB6 is connected to the power light control power supply A3V3, the 8th pin of the light control chip U2 is connected to the power light control power supply A3V3, and the 4th pins of the first indicator LED1, the second indicator LED2, the third indicator LED3, the fourth indicator LED4, the fifth indicator LED5 and the sixth indicator LED6 are all connected to the power light control power supply A3V3. ,
[0082] The light control chip U2 communicates with the main control module 3 via I2C, and each output supports PWM to adjust the light brightness to achieve different light effects to represent the state of the power-off device.
[0083] Combination Fig.10 As shown, the light control chip U2 is powered by the power light control power supply A3V3, and the 3.3V power supply end output by the power supply module 1 is isolated using a sixth magnetic bead FB6 to obtain the power light control power supply A3V3 to prevent the unstable operation of the light control chip from affecting the power supply of the main control module 3.
[0084] In an embodiment of the present invention, when the device starts the power-off test, the screen of the touch screen module 4 displays the test channel, the number of test laps set for each channel, the number of laps completed, the power-off interval time and the words "test in progress". At this time, the light control chip controls the corresponding indicator light, for example, to be in a flashing green light state.
[0085] When the device power-off test is finished, the screen of the touch screen module 4 displays the completed laps and the words "test finished". At this time, the corresponding indicator light is, for example, a yellow light that is always on.
[0086] When the device test is paused, the screen of the touch screen module 4 displays the pause channel, the number of test laps set for each channel, the number of laps completed, the power-off interval time and the word "test paused". At this time, the light control chip controls the corresponding indicator light, for example, the orange light flashes.
[0087] When the device is in short circuit protection, the screen of the touch screen module 4 displays the words "power short circuit", and the light control chip controls the corresponding indicator light to be in a red light state, for example.
[0088] Compared with the prior art, the eMMC power-off test device described in the embodiment of the present invention has the following advantages:
[0089] 1. The power-off control module 2 automatically performs power-off control for 5V and 12V, avoiding manual power-off operation and improving the efficiency of eMMC power-off test;
[0090] 2. It can simulate the power-off data preservation of eMMC under different loads and different operating conditions;
[0091] 3. Through the touch screen module 4, touch control can be performed to set corresponding parameters, such as power-off time interval, power-off number of turns, etc., to achieve fast power-off, fixed time interval power-off and random time interval power-off;
[0092] 4. A light emitting diode component 60 and a buzzer component are provided to provide visual reminders of various states in the power-off test process;
[0093] 5. Compatible with most eMMC control boards on the market. When using, you only need to connect the power-off device to the existing eMMC control board. It is easy to operate and has high applicability.
[0094] Based on the above embodiment, as the above Figure 1 The present invention provides an embodiment of a test method for an eMMC power-off test device, and the method embodiment is similar to Figure 1 The device embodiment shown corresponds to Fig.12 As shown, the testing method of the eMMC power-off testing device comprises the following steps:
[0095] S1. The user selects the power output port of the power supply module 1 through the touch screen module 4, and then determines the selected test parameters, which include power-off state, power-off time interval, power-off turns and load state;
[0096] S2, the touch screen module 4 sends the test parameters selected by the user to the main control module 3 through the SPI interface;
[0097] S3, the main control module 3 determines the power output port and real-time status selected by the user. If the selected channel requires to start the power-off test state, step S4 is executed; if the selected channel requires to be in the pause state, step S8 is executed;
[0098] S4, setting the power-off parameters of the power-off control module 2 through the main control module 3, and updating the load state of the eMMC control board through the communication interface, wherein the power-off parameters include the power-off time interval, the number of power-off test cycles and the load state;
[0099] S5. Return a command indicating that the load status has been set through the communication interface of the eMMC control board;
[0100] S6, updating the light control status of each output of the light control module 6 in real time through the main control module 3;
[0101] S7, controlling the power-off control module 2 to perform a power-off cycle through the main control module 3, and when the test is completed, executing step S10;
[0102] S8, controlling the power-off control module 2 to stop the power-off cycle through the main control module 3, and executing step S7 after the touch screen module 4 sends a test start command to the main control module 3 again;
[0103] S9, if the short circuit protection is triggered during the test, the main control module 3 controls to stop the power-off test, and when the touch screen module 4 sends a test start command to the main control module 3 again, step S7 is executed;
[0104] S10, the power-off test is completed, and the test result is displayed on the touch screen module.
[0105] The eMMC power-off test device described in the above embodiment can execute the test method of the eMMC power-off test device provided in the embodiment of the present invention. The test method of the eMMC power-off test device has the corresponding components and beneficial effects of the eMMC power-off test device described in the above embodiment. Please refer to the embodiment of the above-mentioned eMMC power-off test device for details. The embodiment of the present invention will not be repeated here.
[0106] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0107] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the intention that the claimed invention requires more features than those expressly recited in each claim. Rather, as reflected in the claims, inventive aspects lie in less than all of the features of the individual embodiments previously disclosed. Therefore, the claims that follow the detailed description are hereby expressly incorporated into the detailed description, with each claim itself serving as a separate embodiment of the present invention.
[0108] It should be noted that the above-mentioned embodiments illustrate rather than limit the invention and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims.
Claims
1. An eMMC power-off test device, applied to the power-off test of an eMMC test board, characterized in that: The eMMC power-off test device includes: a main control module, a power-off control module, a touch screen module, a light control module, a power output interface module and a power supply module; the main control module is electrically connected to the touch screen module via an SPI bus, the main control module is electrically connected to the light control module via I2C, and the main control module is connected to the eMMC test board via USB or I2C; the power-off control module is respectively connected to the power supply module and the main control module, and the power-off control module is electrically connected to the eMMC test board via the power output interface module.
2. The eMMC power-off test device according to claim 1, characterized in that: The power-off control module includes a 5V power-off control circuit and a 12V power-off control circuit, and the structures of the 5V power-off control circuit and the 12V power-off control circuit are the same.
3. The eMMC power-off test device according to claim 2, characterized in that: The 5V power-off control circuit includes a first power input port, a second power port, a control signal input port, a first magnetic bead, a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a first resistor, a second resistor, a third resistor, a fourth resistor, a P-channel field effect transistor and an NPN transistor; The first power input port is connected to pin 1 of the first magnetic bead, pin 2 of the first magnetic bead is connected to pin 2 of the first capacitor, pin 1 of the first capacitor is connected to the GND end, pin 2 of the first magnetic bead is connected to pin 2 of the second capacitor, pin 1 of the second capacitor is connected to the GND end, pin 2 of the first magnetic bead is connected to pin 1 of the first resistor, pin 2 of the first magnetic bead is connected to pin 3 of the P-channel field effect transistor, pin 2 of the first resistor is connected to pin 1 of the P-channel field effect transistor, pin 2 of the P-channel field effect transistor is connected to pin 2 of the third capacitor, pin 1 of the third capacitor is connected to the GND end, and the P-channel Pin 2 of the field effect transistor is connected to pin 2 of the fourth capacitor, pin 1 of the fourth capacitor is connected to the GND end, pin 2 of the P-channel field effect transistor is connected to the second power supply port, pin 2 of the P-channel field effect transistor is connected to pin 2 of the fourth resistor, pin 1 of the P-channel field effect transistor is connected to pin 3 of the NPN transistor, pin 2 of the NPN transistor is connected to the GND end, pin 1 of the NPN transistor is connected to pin 2 of the third resistor, pin 1 of the third resistor is connected to the GND end, pin 2 of the third resistor is connected to pin 1 of the second resistor, and pin 2 of the second resistor is connected to the control signal input port.
4. The eMMC power-off test device according to claim 1, characterized in that: Pin 1, Pin 5, Pin 6, and Pin 17 of the touch screen module interface are connected to the GND end respectively, Pin 3, Pin 9, Pin 10, Pin 11, Pin 12, Pin 13, Pin 14, Pin 15, and Pin 18 of the touch screen module interface are suspended, Pin 2 of the touch screen module interface is connected to the 3.3V power supply end output by the power supply module, Pin 4 of the touch screen module interface is connected to Pin 29 of the main control module, Pin 7 of the touch screen module interface is connected to Pin 15 of the main control module, Pin 8 of the touch screen module interface is connected to Pin 17 of the main control module, Pin 16 of the touch screen module interface is connected to Pin 38 of the main control module, and Pin 10 of the touch screen module interface is connected to Pin 11 of the main control module. Pin 19 is connected to pin 39 of the main control module, pin 20 of the touch screen module interface is connected to pin 40 of the main control module, pin 21 of the touch screen module interface is connected to pin 21 of the main control module, pin 22 of the touch screen module interface is connected to pin 22 of the main control module, pin 23 of the touch screen module interface is connected to pin 32 of the main control module, pin 24 of the touch screen module interface is connected to pin 33 of the main control module, pin 7 of the touch screen module interface is connected to pin 2 of the tenth resistor, pin 8 of the touch screen module interface is connected to pin 2 of the eleventh resistor, and pin 1 of the tenth resistor and pin 1 of the eleventh resistor are both connected to the power supply module.
5. The eMMC power-off test device according to claim 1, characterized in that: The power supply module includes a power input module and a step-down chip module. The step-down chip module includes a 3.3V step-down module and a 5V step-down module. The 3.3V step-down module and the 5V step-down module are respectively connected to the power input module.
6. The eMMC power-off test device according to claim 5, characterized in that: The power input module includes a power input interface, a boat switch, a fuse, an anti-reverse connection diode, an electrostatic and surge protection tube, a power indicator light and a forty-second resistor; Pins 2 and 3 of the power input interface are both connected to the GND end, pin 4 of the power input interface is connected to pin 1 of the third magnetic bead, pin 2 of the third magnetic bead is connected to pin 1 of the boat switch, pin 2 of the boat switch is connected to pin 1 of the fuse, pin 2 of the fuse is connected to pin 1 of the anti-reverse diode, pin 2 of the anti-reverse diode is connected to the GND end, pin 2 of the fuse is connected to pin 2 of the static and surge protection tube, pin 1 of the static and surge protection tube is connected to the GND end, pin 2 of the fuse is connected to pin 2 of the power indicator light, pin 1 of the power indicator light is connected to pin 1 of the forty-second resistor, pin 2 of the forty-second resistor is connected to the GND end, and pin 2 of the fuse is connected to the 12V power supply end.
7. The eMMC power-off test device according to claim 6, characterized in that: The 3.3V step-down module includes a second step-down chip, a third magnetic bead, a thirty-fifth resistor, a thirty-eighth resistor, a forty-first resistor, a second power inductor, an eighteenth capacitor, a power indicator light, a thirty-ninth resistor, a twentieth capacitor, a twenty-first capacitor, a twenty-second capacitor and a twenty-third capacitor; The 12V power supply end of the power input module is connected to pin 1 of the third magnetic bead, pin 2 of the third magnetic bead is connected to pin 1 of the twentieth capacitor, pin 2 of the twentieth capacitor is connected to the GND end, pin 2 of the third magnetic bead is connected to pin 1 of the thirty-fifth resistor, pin 2 of the thirty-fifth resistor is connected to pin 4 of the second buck chip, pin 1 of the thirty-fifth resistor is connected to pin 5 of the second buck chip, pin 2 of the second buck chip is connected to the GND end, pin 6 of the second buck chip is connected to pin 1 of the second power inductor, pin 1 of the second power inductor is connected to pin 1 of the eighteenth capacitor, pin 2 of the eighteenth capacitor is connected to pin 1 of the second buck chip, pin 2 of the second power inductor is connected to pin 1 of the thirty-eighth resistor, and pin 2 of the thirty-eighth resistor is connected to pin 1 of the second buck chip. Pin 3 of the thirty-eighth resistor is connected, pin 2 of the thirty-first resistor is connected to pin 1 of the forty-first resistor, pin 2 of the forty-first resistor is connected to the GND terminal, pin 1 of the forty-first resistor is connected to pin 2 of the twenty-first capacitor, pin 1 of the twenty-first capacitor is connected to pin 2 of the second power inductor, pin 1 of the twenty-first capacitor is connected to pin 1 of the twenty-second capacitor, pin 1 of the twenty-first capacitor is connected to pin 1 of the twenty-third capacitor, pin 2 of the twenty-second capacitor is connected to the GND terminal, pin 2 of the twenty-third capacitor is connected to the GND terminal, pin 1 of the twenty-third capacitor is connected to pin 1 of the thirty-ninth resistor, pin 2 of the thirty-ninth resistor is connected to pin 2 of the power supply indicator light, pin 1 of the power supply indicator light is connected to the GND terminal, and pin 1 of the twenty-third capacitor is connected to the 3.3V power supply terminal.
8. The eMMC power-off test device according to claim 7, characterized in that: The 5V step-down module includes a first step-down chip, a second magnetic bead, a thirty-sixth resistor, a thirty-seventh resistor, a fortieth resistor, a first power inductor, a fourteenth capacitor, a fifteenth capacitor, a sixteenth capacitor, a seventeenth capacitor and a nineteenth capacitor; The 12V power supply end output by the power input module is connected to pin 1 of the second magnetic bead, pin 2 of the second magnetic bead is connected to pin 1 of the fifteenth capacitor, pin 2 of the fifteenth capacitor is connected to the GND end, pin 2 of the second magnetic bead is connected to pin 1 of the thirty-sixth resistor, pin 2 of the thirty-sixth resistor is connected to pin 4 of the first buck chip, pin 1 of the thirty-fifth resistor is connected to pin 5 of the first buck chip, pin 2 of the first buck chip is connected to the GND end, pin 6 of the first buck chip is connected to pin 1 of the first power inductor, pin 1 of the first power inductor is connected to pin 1 of the fourteenth capacitor, pin 2 of the fourteenth capacitor is connected to pin 1 of the first buck chip, and pin 1 of the first buck chip is connected to pin 2 of the first buck chip. Pin 2 of a power inductor is connected to pin 1 of the thirty-seventh resistor, pin 2 of the thirty-seventh resistor is connected to pin 3 of the first step-down chip, pin 2 of the thirty-seventh resistor is connected to pin 1 of the fortieth resistor, pin 2 of the fortieth resistor is connected to the GND terminal, pin 1 of the fortieth resistor is connected to pin 2 of the sixteenth capacitor, pin 1 of the sixteenth capacitor is connected to pin 2 of the first power inductor, pin 1 of the sixteenth capacitor is connected to pin 1 of the seventeenth capacitor, pin 1 of the sixteenth capacitor is connected to pin 1 of the nineteenth capacitor, pin 2 of the seventeenth capacitor is connected to the GND terminal, pin 2 of the nineteenth capacitor is connected to the GND terminal, and pin 1 of the nineteenth capacitor is connected to the 5V power supply terminal.
9. The eMMC power-off test device according to claim 8, characterized in that: The light control module includes a light control chip and a light emitting diode assembly connected to each other, and the light emitting diode assembly includes a first indicator light, a second indicator light, a third indicator light, a fourth indicator light, a fifth indicator light and a sixth indicator light; Pin 42 of the main control module is connected to pin 4 of the light control chip, pin 43 of the main control module is connected to pin 5 of the light control chip, pin 18 of the main control module is connected to pin 29 of the light control chip, pins 9 and 33 of the light control chip are connected to the GND end, pins 16, 19, 20, 21, 22, 23, and 24 of the light control chip are left floating, pins 6 and 7 of the light control chip are connected to pin 2 of the thirty-fourth resistor, pin 1 of the thirty-fourth resistor is connected to the GND end, pin 28 of the light control chip is connected to pin 1 of the twenty-first resistor, pin 2 of the twenty-first resistor is connected to the power supply module, pin 1 of the light control chip is connected to pin 2 of the twenty-eighth resistor, pin 2 of the light control chip is connected to pin 2 of the twenty-ninth resistor, pin 3 of the light control chip is connected to pin 2 of the thirty-second resistor, pin 10 of the light control chip is connected to pin 2 of the thirty-third resistor, pin 11 of the light control chip is connected to pin 2 of the thirty-first resistor, and pin 12 of the light control chip is connected to pin 2 of the 30th resistor. 2 pin of the light control chip is connected to 2 pin of the 27th resistor, 14 pin of the light control chip is connected to 2 pin of the 25th resistor, 15 pin of the light control chip is connected to 2 pin of the 24th resistor, 17 pin of the light control chip is connected to 2 pin of the 20th resistor, 18 pin of the light control chip is connected to 2 pin of the 18th resistor, 19 pin of the light control chip is connected to 2 pin of the 16th resistor, 25 pin of the light control chip is connected to 2 pin of the 15th resistor, 26 pin of the light control chip is connected to 2 pin of the 17th resistor, 27 pin of the light control chip is connected to 2 pin of the 19th resistor, 30 pin of the light control chip is connected to 2 pin of the 23rd resistor, 31 pin of the light control chip is connected to 2 pin of the 22nd resistor, 32 pin of the light control chip is connected to 2 pin of the 26th resistor, pin 7 of the light control chip is connected to 2 pin of the 34th resistor, pin 1 of the 34th resistor is connected to the GND end, and pins 9 and 33 of the light control chip are connected to the GND terminal; Pin 1 of the fifteenth resistor is connected to pin 1 of the first indicator light, pin 1 of the seventeenth resistor is connected to pin 2 of the first indicator light, pin 1 of the nineteenth resistor is connected to pin 3 of the first indicator light, pin 1 of the sixteenth resistor is connected to pin 1 of the second indicator light, pin 1 of the eighteenth resistor is connected to pin 2 of the second indicator light, pin 1 of the twentieth resistor is connected to pin 3 of the second indicator light, pin 1 of the twenty-third resistor is connected to pin 1 of the third indicator light, pin 1 of the twenty-second resistor is connected to pin 2 of the third indicator light, pin 1 of the twenty-sixth resistor is connected to pin 3 of the third indicator light, and pin 1 of the second Pin 1 of the fourteenth resistor is connected to pin 1 of the fourth indicator light, pin 1 of the twenty-fifth resistor is connected to pin 2 of the fourth indicator light, pin 1 of the twenty-seventh resistor is connected to pin 3 of the fourth indicator light, pin 1 of the twenty-eighth resistor is connected to pin 1 of the fifth indicator light, pin 1 of the twenty-ninth resistor is connected to pin 2 of the fifth indicator light, pin 1 of the thirty-second resistor is connected to pin 3 of the fifth indicator light, pin 1 of the thirtieth resistor is connected to pin 1 of the sixth indicator light, pin 1 of the thirty-first resistor is connected to pin 2 of the sixth indicator light, and pin 1 of the thirty-third resistor is connected to pin 3 of the sixth indicator light.
10. A test method for an eMMC power-off test device, applied to the eMMC power-off test device according to any one of claims 1 to 9, characterized in that: The method comprises the following steps: S1. The user selects the power output port of the power supply module through the touch screen module, and then determines the selected test parameters, wherein the test parameters include power-off state, power-off time interval, power-off turns and load state; S2, the touch screen module sends the test parameters selected by the user to the main control module through the SPI interface; S3, the main control module determines the power output port and real-time status selected by the user. If the selected channel requires to start the power-off test state, step S4 is executed; if the selected channel requires to be in the pause state, step S8 is executed; S4, setting the power-off parameters of the power-off control module through the main control module, and updating the load state of the eMMC control board through the communication interface, wherein the power-off parameters include the power-off time interval, the number of power-off test cycles and the load state; S5. Return a command indicating that the load status has been set through the communication interface of the eMMC control board; S6. Update the lighting control status of each output of the lighting control module in real time through the main control module; S7, controlling the power-off control module to perform a power-off cycle through the main control module, and when the test is completed, executing step S10; S8, controlling the power-off control module to stop the power-off cycle through the main control module, and executing step S7 after the touch screen module sends a test start command to the main control module again; S9, if the short circuit protection is triggered during the test, the main control module controls to stop the power-off test, and when the touch screen module sends a test start command to the main control module again, step S7 is executed; S10, the power-off test is completed, and the test result is displayed on the touch screen module.
Citation Information
Cited By
EMMC abnormal reset control method and device, medium and equipment
CN121096407A
