Testing device and testing method for core board
By designing the mobile components and conductive components of the core board test device, automated testing is realized, which solves the problems of low testing efficiency and high complexity caused by manual participation in the existing technology, and improves testing efficiency and independence.
Patent Information
- Application Number
- CN202410857488.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-01
AI Technical Summary
Existing core board testing methods require a lot of manual participation, resulting in cumbersome operation steps, low testing efficiency, and long measurement time, which affects the production plan. The testing device cannot be completed independently, increasing complexity and unreliability.
A core board testing device is designed, including a moving component, a pressure component, a support component and a conductive component. The electrical connection between the core board and the test component is achieved through the movement of the moving component. It can automatically perform functional testing and periodically acquire data through the testing method. and upload test information to reduce manual operations.
It realizes the function of automatically testing core boards without a host computer, improves testing efficiency, reduces manual operation steps, shortens testing time, and enhances the independence and reliability of the testing device.
Smart Images

Figure CN118731645A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of electric energy meters and relates to a testing device and a testing method for a core board. Background Art
[0002] A core board generally refers to a computer module or computer module, which is usually composed of a processor or microcontroller, memory, storage, battery management system and a circuit board, and is usually also provided with an operating system, thus forming a minimized computer system.
[0003] The current testing method of the core board is mainly divided into two steps. The first step is to test the upgrade function of the core board. The specific operation process is: manually put the core board into the measuring device, the measuring device has a built-in integrated circuit and a flash memory card, and the core board firmware that needs to be upgraded is stored in the card. The core board is connected to the host computer through the serial interface of the measuring device. Manually open the test software on the host computer to operate the measuring device to start the upgrade test, and wait for the core board to automatically upgrade. When the upgrade is completed, the core board prints a success message on the host computer through the serial interface. The host computer determines whether the upgrade is successful or not based on this information. If the host computer displays a green light, it means that the upgrade function is qualified. If the green light is not displayed after the timeout, it means that the upgrade function is abnormal;
[0004] The second step is to test the core board's GPIO (General Purpose Input Output, general input / output) pins, GPADC (General Purpose Analog-to-Digital Converter, general analog signal to digital signal converter) channels, LRADC (Low Resolution Analog-to-Digital Converter, low resolution analog-to-digital converter) channels, Ethernet interface and USB (Universal Serial Bus, Universal Serial Bus) interface, the specific operation process is: manually put the core board into another test device, the test device has an integrated circuit and an external memory built in, the device is connected to the host computer through a serial interface and a network interface, and the test software is manually opened on the host computer to operate the test device to power the core board, and the host computer is manually operated to send the corresponding test script file to the core board. If the sending is successful, the host computer is manually operated to issue a GPIO pin test instruction, and wait. If the GPIO pin test passes, the host computer is manually operated to issue a GPADC channel test instruction, and wait. If the GPADC channel test passes, the host computer is manually operated to issue a LRADC channel test instruction, and wait. If the LRADC channel test passes, the host computer is manually operated to issue an Ethernet interface test instruction, and wait. If the Ethernet interface test passes, the host computer is manually operated to issue a USB interface test instruction, and wait. If the USB interface test passes, the host computer displays a green Pass, indicating that the test is qualified; if there is no response within the timeout or the response test fails, the host computer displays a red Fail, indicating that the test is abnormal.
[0005] It can be seen that the current testing methods require manual participation at all stages, which leads to cumbersome operating steps, low testing efficiency, and high requirements on the quality of operators; and it also leads to a long measurement time for the core board. However, the core board process requires that the core board be vacuum packaged within 12 hours after the soldering is completed, otherwise it is easy to be damaged by moisture. Obviously, the current testing methods will seriously affect the production plan and on-time delivery; in addition, the measuring device cannot complete the test independently, and must be connected to the host computer, which increases the complexity and reliability of the measurement. Summary of the invention
[0006] The present invention provides a core board testing device and a testing method, which are used to solve a series of problems in the prior art caused by the fact that a large number of testing processes require the participation of a host computer and human when testing the core board.
[0007] In order to solve the above technical problems, in a first aspect, the present invention provides a testing device for a core board, the testing device comprising:
[0008] A moving assembly capable of moving in a first direction;
[0009] A pressure component, arranged in the first direction and connected to the moving component, so as to drive the pressure component to move synchronously through the moving component;
[0010] A support component, arranged in the first direction, for placing the core board, and having conductive vias arranged on the support component;
[0011] A conductive component is arranged in the first direction, and when the pressure component moves along the first direction to push the support component to move, the conductive component can pass through the conductive via hole to be connected to the core board, and when the support component is not pushed, the conductive component remains disconnected from the core board;
[0012] A test component is electrically connected to the conductive component and is used to test the function of the core board.
[0013] Optionally, the pressure component comprises:
[0014] a pressure panel layer, a first side of the pressure panel layer being connected to the moving assembly;
[0015] A pressure column is parallel to the first direction and is disposed between the pressure plate layer and the support assembly, and a first end of the pressure column is connected to a second side of the pressure plate layer.
[0016] Optionally, the conductive component includes:
[0017] a metal probe, wherein the diameter of an end surface of the metal probe close to the first end of the support assembly is smaller than the aperture of the conductive via;
[0018] The needle board is connected to the second end of the metal probe and is electrically connected to the test component.
[0019] Optionally, the testing device further comprises:
[0020] A test button, electrically connected to the core board, for sending a test start signal to the core board upon receiving a trigger signal;
[0021] The pressure column comprises a test pressure column, and a projection of the test pressure column on the test key along the first direction has an overlapping portion with the test key.
[0022] In a second aspect, the present invention provides a method for testing a core board, the method comprising:
[0023] When a target test instruction is received, determining a module to be tested of the core board corresponding to the target test instruction;
[0024] Detecting a preset index value of the module to be tested;
[0025] Detecting whether the preset index value of the module to be tested meets the expected value, if so, determining that the module to be tested is qualified, otherwise, determining that the module to be tested is defective, and saving the test information of the module to be tested;
[0026] The test information of the module to be tested is periodically obtained and displayed, and the test information is uploaded to the cloud server.
[0027] Optionally, the detecting whether the preset indicator value of the module to be tested meets the expected value, and if so, determining that the module to be tested is qualified, includes:
[0028] Setting a first number of general purpose input and output ports as output ports;
[0029] setting a second number of general purpose input and output ports as input ports;
[0030] Changing the output logic of the output port, and detecting whether the input logic of the input port changes synchronously with the output logic;
[0031] If yes, it is determined that all general input and output ports have passed the test.
[0032] Optionally, the detecting whether the preset indicator value of the module to be tested meets the expected value, and if so, determining that the module to be tested is qualified, includes:
[0033] Controlling the Ethernet interface to send a request instruction for reading an Internet Protocol address;
[0034] After receiving the request instruction, controlling the Ethernet conversion circuit to construct a legal Internet Protocol address and sending a response signal to the Ethernet interface;
[0035] The Internet Protocol address received by the Ethernet interface is checked, and if the Internet Protocol address is legal, the Ethernet interface test is qualified.
[0036] Optionally, the detecting whether the preset indicator value of the module to be tested meets the expected value, and if so, determining that the module to be tested is qualified, includes:
[0037] Read the preset file stored in the external memory;
[0038] If the preset file can be read successfully, it is determined that the memory interface test is normal.
[0039] Optionally, the detecting whether the preset indicator value of the module to be tested meets the expected value, and if so, determining that the module to be tested is qualified, includes:
[0040] Scan the identity information on the core board;
[0041] Determine whether the scanned data meets the preset length, if yes, continue to scan the identity information, if not, determine that the identity information is unqualified;
[0042] If the data obtained from N consecutive scans are consistent, it is determined that the identity information test is qualified, where N is a preset positive integer value.
[0043] Optionally, the detecting whether the preset indicator value of the module to be tested meets the expected value, and if so, determining that the module to be tested is qualified, includes:
[0044] Controlling the voltage-dividing circuit to divide the voltage to the module to be tested, wherein the module to be tested is a low-resolution analog-to-digital converter channel, a general-purpose analog-to-digital converter channel, or a preset node;
[0045] Converting the voltage value of the module to be tested into a digital value;
[0046] Reading the current digital voltage value of the module to be tested;
[0047] It is determined whether the current digital voltage value is within a preset value range, and if so, it is determined that the module to be tested is qualified.
[0048] Compared with the prior art, the core board testing device provided by the present invention has the following beneficial effects:
[0049] When the movable component moves in the first direction, the present invention can drive the pressure component to move synchronously in the first direction, and when the pressure component moves in the first direction, it can push the support component and the core board carried thereon to move in the first direction, so that the conductive component is close to the support component and can be connected to the core board through the conductive via hole on the support component. Since the conductive component is also electrically connected to the test component at the same time, the present invention can finally realize the electrical connection between the core board and the test component through the movement of the movable component in the first direction, so as to realize the functional test of the core board by the test component;
[0050] In addition, since the conductive component can remain disconnected from the core board when the supporting component is not pushed in the first direction, when the moving component moves in the opposite direction of the first direction, the supporting component will not be pushed in the first direction, so that the conductive component remains disconnected from the core board, and the test component is also disconnected from the core board. Therefore, in the present invention, the operator only needs to manually or automatically move the moving component in the first direction to start or disconnect the test of the core board;
[0051] To sum up, the testing process of the present invention does not rely on the host computer, and during the test, at most only manual movement of the mobile components is required, and manual operation is not required in each test process. Therefore, the present invention can avoid a series of problems caused by the need for a host computer and manual participation in a large number of test processes when testing the core board in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only part of the embodiments of the present invention, rather than all of the embodiments. For ordinary technicians in this field, without paying creative work, other drawings obtained based on these drawings all fall within the scope of protection of this application.
[0053] Figure 1 It is a structural diagram of a core board testing device provided by an embodiment of the present invention;
[0054] Figure 2 It is a flow chart of a core board testing method provided by an embodiment of the present invention;
[0055] Figure 3 The present invention provides another method for testing a core board.
[0056] Explanation of the accompanying drawings: 100-moving component, 110-wrench, 120-transmission part, 200-pressure component, 210-pressure plate layer, 220-pressure column, 221-test pressure column, 300-support component, 310-conductive via, 320-positioning column, 330-barcode scanner via, 400-core board, 500-conductive component, 510-metal probe, 520-needle board, 600-test component, 610-barcode scanner, 700-emergency stop button, 800-indicator light, 900-test button, 1000-isolation transformer. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0058] In order to make the description of the disclosed content more detailed and complete, the following is an illustrative description of the implementation mode and specific examples of the present invention; however, this is not the only form of implementing or applying the specific embodiments of the present invention. The implementation mode covers the features of multiple specific embodiments and the method steps and their sequence for constructing and operating these specific embodiments. However, other specific embodiments can also be used to achieve the same or equal functions and step sequences. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0059] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein.
[0060] In addition, in the description of the embodiments of the present application, "multiple" refers to two or more than two, and other quantifiers are similar and should be understood. The preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention. In addition, the embodiments of the present application and the features therein may be combined with each other if there is no conflict.
[0061] like Figure 1 The figure shows a structural diagram of a testing device for a core board 400 provided by the present invention, the testing device comprising: a moving component 100, which can move in a first direction; a pressure component 200, which is arranged in the first direction and connected to the moving component 100, so as to drive the pressure component 200 to move synchronously through the moving component 100; a support component 300, which is arranged in the first direction and is used to place the core board 400, and the support component 300 is provided with a conductive via 310; a conductive component 500, which is arranged in the first direction, and when the pressure component 200 moves along the first direction to push the support component 300 to move, the conductive component 500 can pass through the conductive via 310 to conduct with the core board 400, and the conductive component 500 remains disconnected from the core board 400 when the support component 300 is not pushed; a test component 600, which is electrically connected to the conductive component 500, and is used to test the function of the core board 400.
[0062] It should be noted that the moving component 100 may be any structural component that can move in the first direction. For example, the moving component 100 may be a traction device in the first direction, or may include a gear and a rack, and the gear drives the rack to move in the first direction, etc.;
[0063] Optionally, the moving component 100 may include a wrench 110 and a transmission member 120, which are connected to each other, and the transmission member 120 is connected to the pressure component 200. By lifting or pressing down the wrench 110, the transmission member 120 is controlled to move in a first direction by utilizing the lever principle, or the transmission member 120 is controlled to move in the opposite direction of the first direction. Therefore, the operator (or electrical equipment) can control the movement of the moving component 100 in the first direction through the wrench 110, and the force required to pull the wrench 110 is small, and the structure is simpler, thereby making the process of turning on or off the test component 600 to test the core board 400 more labor-saving and easier.
[0064] It should be noted that the pressure component 200 can be any component that can push the support component 300 to move in the first direction when moving in the first direction, and no detailed limitation is given here.
[0065] It should be noted that the support component 300 can be any component that can support the core board 400, for example, the support component 300 can be a tray; optionally, in order to make the core board 400 placed on the support component 300 more firmly and stably and prevent the core board 400 from detaching from the support component 300, a positioning column 320 for the core board 400 can be provided on the support component 300.
[0066] It should be noted that the conductive component 500 can be any component with a conductive function, but the diameter of the conductive component 500 close to the support component 300 needs to be smaller than the aperture of the conductive via 310, so that the conductive component 500 can pass through the conductive via 310 and conduct with the core board 400;
[0067] Optionally, in order to ensure smooth conduction between the conductive component 500 and the core board 400, the projection of each contact point of the core board 400 on the support component 300 can be made to overlap with the conductive via 310, so that the conductive component 500 can contact the contact point after passing through the conductive via 310, thereby making the conductive component 500 conductive with the core board 400.
[0068] It should be noted that the test component 600 can be any component that can perform functional testing on the core board 400 after being connected to the core board 400. The specific structure of the test component 600 can be determined according to the specific function implemented by the test component 600. For example, if the test component 600 needs to test the upgrade function of the core board 400, the test component 600 includes an upgrade function test circuit. If the test component 600 needs to test the GPIO port, GPADC channel, LRADC channel, Ethernet interface and USB port of the core board 400, the test component 600 may include a GPIO port test circuit, a GPADC channel test circuit, a LRADC channel test circuit, an Ethernet interface test circuit and a USB port test circuit. The specific circuit structure of each test circuit can be set according to the test index requirements when applied.
[0069] In an optional implementation, Figure 1 As shown, the test device may further include an emergency stop button 700, which is electrically connected to the core board 400. When the operator presses the emergency stop button 700, a shutdown command may be sent to the operating system of the core board 400 to avoid forcibly cutting off the power to the core board 400 when the core board 400 needs to be shut down, thereby avoiding damage to the core board 400.
[0070] In an optional implementation, Figure 1 As shown, the testing device may further include indicator lights 800. When the modules to be tested on each core board 400 are found to be normal through the testing component 600, the number or color of the indicator lights 800 may be controlled to indicate whether the test on the core board 400 is qualified.
[0071] In an optional implementation, Figure 1 As shown, the test component 600 may include a barcode scanner 610, a barcode scanner via 330 may be provided on the support component 300, and the projection of the barcode scanner via 330 on the barcode scanner 610 along the first direction covers the barcode scanner 610, and a two-dimensional code is provided on the core board 400, and the projection of the two-dimensional code in the barcode scanner via 330 along the first direction falls within the barcode scanner via 330, so that the two-dimensional code on the core board 400 can be scanned by controlling the barcode scanner 610;
[0072] It should be noted that by scanning the QR code on the core board 400 , the identity information of the core board 400 can be obtained.
[0073] In an optional implementation, the pressure assembly 200 includes:
[0074] A pressure plate layer 210, wherein a first side of the pressure plate layer 210 is connected to the moving component 100;
[0075] The pressure column 220 is parallel to the first direction and is disposed between the pressure plate layer 210 and the support assembly 300 , and the first end of the pressure column 220 is connected to the second side of the pressure plate layer 210 .
[0076] It should be noted that the connection method between the moving component 100 and the pressure plate layer 210 can be any method, and the moving component 100 can be connected to any place of the pressure plate layer 210, as long as the moving component 100 can drive the pressure plate layer 210 to move in the first direction when moving in the first direction;
[0077] Optionally, in order to make the pressure provided by the pressure plate layer 210 to the pressure column 220 more uniform, the movable component 100 can be connected to the center of the pressure plate layer 210, so that when the movable component 100 moves in the first direction, the pressure applied to each position of the pressure plate layer 210 is more uniform, the pressure of the pressure plate layer 210 on the pressure column 220 is more uniform, and the pressure of the pressure column 220 on the core plate 400 and the support assembly 300 is more uniform, thereby ensuring the linear movement of the core plate 400 and the support assembly 300 in the first direction, and avoiding the problem of damage to the core plate 400 when the core plate 400 is subjected to uneven force.
[0078] It should be noted that the number of pressure columns 220 and the bottom area of the pressure columns 220 can be set according to the specific needs of the application. When the number of pressure columns 220 is multiple, the pressure columns 220 can be evenly distributed between the pressure plate layer 210 and the core plate 400, so that the pressure of the pressure plate layer 210 can be evenly transferred to each pressure column 220, and the pressure transmitted by each pressure column 220 to the core plate 400 can be evenly distributed on the core plate 400.
[0079] Optionally, in order to prevent the pressure column 220 from causing damage to the core board 400 , the material of the pressure column 220 may be a flexible material, such as rubber.
[0080] In an optional implementation, Figure 1 As shown, the conductive component 500 includes:
[0081] A metal probe 510, wherein the diameter of the end surface of the metal probe 510 close to the first end of the support assembly 300 is smaller than the aperture of the conductive via 310;
[0082] The needle board 520 is connected to the second end of the metal probe 510 and is electrically connected to the test assembly 600 .
[0083] It should be noted that the connection method between the metal probe 510 and the needle plate 520 can be any feasible method, wherein the connection between the metal probe 510 and the needle plate 520 needs to be able to conduct current, for example, the metal probe 510 can be welded to the needle plate 520.
[0084] It can be understood that the present implementation includes a metal probe 510, which is not easily deformed and has conductivity. Therefore, when controlling the support component 300 to move in the first direction and in the opposite direction of the first direction, it is convenient to control the conduction and disconnection of the metal probe 510 and the core board 400 on the support component 300.
[0085] In an optional implementation, Figure 1 As shown, the test device also includes:
[0086] A test button 900 is electrically connected to the core board 400 and is used to send a test start signal to the core board 400 when receiving a trigger signal;
[0087] The pressure column 220 includes a test pressure column 221 , and a projection of the test pressure column 221 on the test button 900 along the first direction has an overlapping portion with the test button 900 .
[0088] It should be noted that the test button 900 can be connected to the input pin of a preset microcontroller (the microcontroller can be set independently or integrated in the test component 600), and the asynchronous transceiver transmitter sending interface of the microcontroller can be connected to the asynchronous transceiver transmitter receiving interface of the core board 400, so that when the test button 900 is pressed, a test start signal can be sent to the microcontroller, and then the microcontroller can transmit the test start signal to the core board 400 through the asynchronous transceiver transmitter port.
[0089] It should be noted that, in this implementation, after the test button 900 is pressed in the first direction, a test start signal can be sent to the microcontroller.
[0090] It can be understood that when the test pressure column 221 receives pressure from the pressure plate layer 210 in the first direction, it will move in the first direction, and the projection of the test pressure column 221 on the test button 900 along the first direction has an overlapping part with the test button 900, so that the test pressure column 221 can squeeze the test button 900 when moving in the first direction, thereby starting the test process.
[0091] Optionally, in order to avoid uneven force on the test button 900 and the inability to send a test start signal to the microcontroller after being pressed, the projection of the test pressure column 221 on the test button 900 along the first direction can cover the test button 900. In this way, after the test pressure column 221 moves in the first direction to press the test button 900, all parts of the test button 900 can be pressed, thereby ensuring that the test button 900 is subjected to uniform force.
[0092] Optionally, during the test process of the test device, the communication interface between the test device and the host computer is closed. When the test device is finished, the communication interface between the test device and the host computer can be opened to upload the test result of the test device to the host computer, so that the user can see the test result. The test device can also upload the scanned identity information of the core board 400, so that the user can see the test structure of the core board 400 that he wants to know.
[0093] In this way, the testing process of the test device does not rely on the host computer, thereby effectively avoiding the problem of long testing time due to the need for manual operation of the host computer when testing using the host computer.
[0094] Optionally, the test device may further include an isolation transformer 1000 to achieve electrical isolation between the power supply and the test device, thereby preventing high voltage and high current in the power supply from affecting the test device.
[0095] like Figure 2 The flowchart shown is a core board testing method provided by an embodiment of the present invention, which includes the following steps.
[0096] Step S201, when a target test instruction is received, determining a module to be tested of the core board corresponding to the target test instruction.
[0097] As a specific example, before this step, the test device can receive a start test instruction sent by the user, and send a target test instruction after receiving the start test instruction. Then, the core board can receive the target test instruction sent by the test device, and start the detection of the module to be tested according to the target detection instruction.
[0098] It should be noted that, during the test process, the number of test instructions can be one or more, which can be determined according to the test requirements. For example, the test instruction can be one, and the test instruction is to test the upgrade function of the core board. The test instructions can be multiple, and the multiple test instructions can include GPIO port test instructions, GPADC channel test instructions, LRADC channel test instructions, Ethernet interface test instructions, and USB port test instructions. These test instructions can be sent simultaneously or in sequence. When multiple instructions are sent simultaneously, one can be selected from the multiple test instructions as the target test instruction;
[0099] It should be noted that each test instruction corresponds to a module to be tested. When a certain test instruction is selected as a target test instruction, the module of the core board corresponding to the target test instruction can be determined as the module to be tested. The correspondence between the test instruction and the module to be tested can be set according to the specific needs of the application, and is not specifically limited here. For example, if the target test instruction is a GPIO port test instruction, the module to be tested corresponding to the target instruction is a GPIO port test module. If the target test instruction is a USB port test instruction, the module to be tested corresponding to the target instruction is a USB port test module.
[0100] Step S202, detecting a preset indicator value of the module to be tested.
[0101] It should be noted that the preset index value of the module to be tested in this step is an index value that can determine whether the module to be tested is working normally, and can be set according to specific needs during application, and is not limited in detail here. For example, the power supply module can be tested, the preset index value of the power supply module is the voltage value, and the voltage value of the power supply module is measured.
[0102] Step S203, detecting whether the preset indicator value of the module to be tested meets the expected value, if yes, determining that the module to be tested is qualified, if not, determining that the module to be tested is defective, and saving the test information of the module to be tested.
[0103] It should be noted that the expected value of the preset indicator value is the value when the module to be tested is working normally. The expected value can be a value range, or a specific value or several values. The expected value here can be set according to the specific needs of the application and is not limited in detail here.
[0104] As a specific example, the test information of the module to be tested can be indicated by a signal light on the test device. For example, when the signal light is red, it indicates that the module to be tested is defective, and when the signal light is green, it indicates that the module to be tested is qualified. After obtaining the test information of the module to be tested, the test information can be saved in the test device for subsequent traceability and retrieval.
[0105] Step S204, periodically acquiring and displaying the test information of the module to be tested, and uploading the test information to the cloud server.
[0106] It should be noted that the inspection period of the module to be tested can be set according to specific needs of the application, for example, it can be 3 seconds, 5 seconds, or 10 seconds.
[0107] It should be noted that after each module to be tested is tested, the test result of whether it is qualified can be stored in a preset address. Each module to be tested can correspond to a unique address. In this way, during periodic inspections, the addresses corresponding to all modules to be tested can be inspected to obtain the test information of such addresses, so that the user can intuitively see the test information of the module to be tested. The test results of multiple times can also be stored for each module to be tested, so that the user can trace the test results of the module to be tested. In this way, when a test instruction is received, each module to be tested can be tested and the test results can be obtained.
[0108] As a specific example, in this step, a unique address can be set for each test device. It can be understood that there can be multiple test devices to perform measurements on multiple core boards. The test device can be further connected to the host computer (the connection time can be at any time, for example, when all modules to be tested are tested, or when any module to be tested is tested). The host computer periodically patrols the address of the test device to obtain the test information of the module to be tested stored in the test device. After obtaining the test information of a certain test device through the host computer, the test information can be uploaded to the cloud server.
[0109] In an optional implementation, Figure 3 The flowchart of another core board detection method provided by an embodiment of the present invention is shown, wherein the detection of whether the preset index value of the module to be tested meets the expected value, and if so, determining that the module to be tested is qualified, comprises:
[0110] Step S301, setting a first number of general input and output ports as output ports;
[0111] Step S302, setting a second number of general input and output ports as input ports;
[0112] Step S303, changing the output logic of the output port, and detecting whether the input logic of the input port changes synchronously with the output logic;
[0113] Step S304: If yes, it is determined that all the general input and output ports have passed the test.
[0114] Specifically, in this implementation, the input port and output port of the core board are set to be the same during normal operation, that is, the value of the output port of the core board is equal to the value of the input port. The method for achieving the value of the output port of the core board being equal to the value of the input port can be any feasible method. For example, a GPIO test circuit can be connected between the input port and the input port. The GPIO test circuit includes a transistor switch and a current limiting resistor. In this way, when the input logic of the input port changes, the output logic will change with the change of the input logic.
[0115] It should be noted that the sum of the first number and the second number is the number of all GPIO ports of the core board. The first number and the second number in this implementation can be set according to the specific needs of the application. For example, the first number can be one, or the second number can be one. When the first number is one, the output logic of this output port is changed by controlling the change, and it is detected whether the input logic of the second number changes with the change of this output logic. If so, all GPIO ports are tested and qualified. If the input logic of any input port does not change with the output logic of the output port, the GPIO port test fails.
[0116] In an optional implementation, the detecting whether the preset indicator value of the module to be tested meets the expected value, and if so, determining that the module to be tested is qualified, includes:
[0117] Controlling the Ethernet interface to send a request instruction for reading an Internet Protocol address;
[0118] After receiving the request instruction, controlling the Ethernet conversion circuit to construct a legal Internet Protocol address and sending a response signal to the Ethernet interface;
[0119] The Internet Protocol address received by the Ethernet interface is checked, and if the Internet Protocol address is legal, the Ethernet interface test is qualified.
[0120] It should be noted that, in this implementation, the target test instruction is an Ethernet interface test instruction.
[0121] It should be noted that the Ethernet conversion circuit in this implementation can be any circuit that can construct a legal IP address.
[0122] In an optional implementation, the detecting whether the preset indicator value of the module to be tested meets the expected value, and if so, determining that the module to be tested is qualified, includes:
[0123] Read the preset file stored in the external memory;
[0124] If the preset file can be read successfully, it is determined that the memory interface test is normal.
[0125] It should be noted that the external memory device can be any external memory device, such as a mobile hard disk, an external optical drive or a USB flash drive, and the preset file can be a file pre-stored in the external memory device. For example, if the external memory device is a USB flash drive, the preset file can be a TXT (TEXT, text) file pre-stored in the USB flash drive. If the TXT file can be successfully read through the memory interface, the memory interface test is normal.
[0126] It should be noted that the memory interface may be any memory interface. For example, when the external memory is a USB flash drive, the memory interface may be a USB interface.
[0127] It should be noted that the method of testing the memory interface can be any feasible method, for example, it can be a memory interface test circuit, which is connected between the memory interface and the external memory. The test circuit may include a current limiting protection circuit and a transient voltage suppression circuit to prevent overcurrent, overvoltage and electromagnetic pulses, thereby protecting the USB flash drive.
[0128] In an optional implementation, the detecting whether the preset indicator value of the module to be tested meets the expected value, and if so, determining that the module to be tested is qualified, includes:
[0129] Scan the identity information on the core board;
[0130] Determine whether the scanned data meets the preset length, if yes, continue to scan the identity information, if not, determine that the identity information is unqualified;
[0131] If the data obtained from N consecutive scans are consistent, it is determined that the identity information test is qualified, where N is a preset positive integer value.
[0132] It should be noted that the identity information of the core board may be any information that can represent the identity of the core board, for example, it may be a string of identity numbers;
[0133] It should be noted that the identity information on the core board can be intuitive identity information or an intermediate medium for obtaining the identity information. For example, the identity information of the core board can be a QR code, which can be scanned by a micro scanner to obtain the identity information of the core board.
[0134] It should be noted that the preset length can be determined according to the length of the qualified identity information. If the qualified identity information is 14 bits, the preset length is 14 bits;
[0135] As a specific example, the identity information can be 14 bits, of which the first bit is the frame header of the identity information data, the last bit is the frame tail of the identity information data, and the middle 12 bits are the production number of the core board, which is the information set for the core board before leaving the factory.
[0136] It should be noted that the value of N can be set according to specific needs. If the detection accuracy needs to be improved, the value of N can be greater than the preset threshold. If the detection resources need to be saved, the value of N can be less than the preset threshold. For example, N can be 3.
[0137] In an optional implementation, the detecting whether the preset indicator value of the module to be tested meets the expected value, and if so, determining that the module to be tested is qualified, includes:
[0138] Controlling the voltage-dividing circuit to divide the voltage to the module to be tested, wherein the module to be tested is a low-resolution analog-to-digital converter channel, a general-purpose analog-to-digital converter channel, or a preset node;
[0139] Converting the voltage value of the module to be tested into a digital value;
[0140] Reading the current digital voltage value of the module to be tested;
[0141] It is determined whether the current digital voltage value is within a preset value range, and if so, it is determined that the module to be tested is qualified.
[0142] It should be noted that the low-resolution analog-to-digital converter channel and the general-purpose analog-to-digital converter channel have an analog-to-digital conversion function, so when an analog value is input, the analog value can naturally be converted into a corresponding digital value. Therefore, the low-resolution analog-to-digital converter channel and the general-purpose analog-to-digital converter channel can be directly connected to the voltage divider circuit to read the output digital voltage value;
[0143] The voltage value of the preset node is an analog voltage value, so when a digital voltage value is needed, a voltage divider circuit and an analog-to-digital conversion circuit need to be connected to convert the analog voltage value obtained by the voltage divider circuit into a digital voltage value.
[0144] It should be noted that the preset numerical range in the present implementation is proportional to the total voltage of the voltage divider circuit. When the total voltage and circuit structure of the voltage divider circuit are given, the voltage value of each low-resolution analog-to-digital converter channel, universal analog-to-digital converter channel and preset node is determined. When the voltage values of the low-resolution analog-to-digital converter channel, universal analog-to-digital converter channel and preset node meet the correct voltage divider values of each voltage divider circuit, it can be determined that the low-resolution analog-to-digital converter channel, universal analog-to-digital converter channel and preset node are normal and the test is qualified.
[0145] Optionally, the process in this implementation can be executed N times in succession. If it is determined N times whether the current digital voltage value is within a preset numerical range, it can be determined that the module to be tested is qualified.
[0146] The technical solution provided by the present application is introduced in detail above. The principles and implementation methods of the present application are explained by using specific examples in the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
[0147] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A core board testing device, characterized in that: include: A moving assembly capable of moving in a first direction; A pressure component, arranged in the first direction and connected to the moving component, so as to drive the pressure component to move synchronously through the moving component; A support component, arranged in the first direction, for placing the core board, and having conductive vias arranged on the support component; A conductive component is arranged in the first direction, and when the pressure component moves along the first direction to push the support component to move, the conductive component can pass through the conductive via hole to be connected to the core board, and when the support component is not pushed, the conductive component remains disconnected from the core board; A test component is electrically connected to the conductive component and is used to test the function of the core board.
2. The core board testing device according to claim 1, characterized in that: The pressure assembly comprises: a pressure panel layer, a first side of the pressure panel layer being connected to the moving assembly; A pressure column is parallel to the first direction and is disposed between the pressure plate layer and the support assembly, and a first end of the pressure column is connected to a second side of the pressure plate layer.
3. The core board testing device according to claim 1, characterized in that: The conductive component comprises: a metal probe, wherein the diameter of an end surface of the metal probe close to the first end of the support assembly is smaller than the aperture of the conductive via; The needle board is connected to the second end of the metal probe and is electrically connected to the test component.
4. The core board testing device according to claim 3, characterized in that: Also includes: A test button, electrically connected to the core board, for sending a test start signal to the core board upon receiving a trigger signal; The pressure column comprises a test pressure column, and a projection of the test pressure column on the test key along the first direction has an overlapping portion with the test key.
5. A method for testing a core board, characterized in that: include: When a target test instruction is received, determining a module to be tested of the core board corresponding to the target test instruction; Detecting a preset index value of the module to be tested; Detecting whether the preset index value of the module to be tested meets the expected value, if so, determining that the module to be tested is qualified, otherwise, determining that the module to be tested is defective, and saving the test information of the module to be tested; The test information of the module to be tested is periodically obtained and displayed, and the test information is uploaded to the cloud server.
6. The method for testing the core board according to claim 5, characterized in that: The step of detecting whether the preset index value of the module to be tested meets the expected value, and if so, determining that the module to be tested is qualified, includes: Setting a first number of general purpose input and output ports as output ports; setting a second number of general purpose input and output ports as input ports; Changing the output logic of the output port, and detecting whether the input logic of the input port changes synchronously with the output logic; If yes, it is determined that all general input and output ports have passed the test.
7. The core board testing method according to claim 5, characterized in that: The step of detecting whether the preset index value of the module to be tested meets the expected value, and if so, determining that the module to be tested is qualified, includes: Controlling the Ethernet interface to send a request instruction for reading an Internet Protocol address; After receiving the request instruction, controlling the Ethernet conversion circuit to construct a legal Internet Protocol address and sending a response signal to the Ethernet interface; The Internet Protocol address received by the Ethernet interface is checked, and if the Internet Protocol address is legal, the Ethernet interface test is qualified.
8. The method for testing the core board according to claim 5, characterized in that: The step of detecting whether the preset index value of the module to be tested meets the expected value, and if so, determining that the module to be tested is qualified, includes: Read the preset file stored in the external memory; If the preset file can be read successfully, it is determined that the memory interface test is normal.
9. The method for testing the core board according to claim 5, characterized in that: The step of detecting whether the preset index value of the module to be tested meets the expected value, and if so, determining that the module to be tested is qualified, includes: Scan the identity information on the core board; Determine whether the scanned data meets the preset length, if yes, continue to scan the identity information, if not, determine that the identity information is unqualified; If the data obtained from N consecutive scans are consistent, it is determined that the identity information test is qualified, where N is a preset positive integer value.
10. The core board testing method according to claim 5, characterized in that: The step of detecting whether the preset index value of the module to be tested meets the expected value, and if so, determining that the module to be tested is qualified, includes: Controlling the voltage-dividing circuit to divide the voltage to the module to be tested, wherein the module to be tested is a low-resolution analog-to-digital converter channel, a general-purpose analog-to-digital converter channel, or a preset node; Converting the voltage value of the module to be tested into a digital value; Reading the current digital voltage value of the module to be tested; It is determined whether the current digital voltage value is within a preset value range, and if so, it is determined that the module to be tested is qualified.
