Intelligent lock circuit board test tool and test system
The automated inspection of the smart lock circuit board test tool solves the time-consuming problem of manual inspection, achieves fast and accurate testing, and improves production efficiency and product quality.
Patent Information
- Application Number
- CN202322626160.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2033-09-26
AI Technical Summary
The circuit board testing process of smart locks requires manual inspection, which takes a long time, and it is easy to miss functions, leading to rework, affecting production efficiency and quality.
A smart lock circuit board testing tool is designed, including the input and output interfaces between the control system and the circuit board under test. By automatically transmitting detection information and receiving response results, it can determine whether the response results are correct and realize automated testing. The control system is equipped with a power interface, analog level output interface, digital output interface and bus data output interface, which can simulate the functions in actual usage scenarios for testing.
It realizes automated testing of smart lock circuit boards, reduces manual inspection time, improves testing efficiency, and reduces the risk of rework. Through the design of wireless connection and host computer main control board, the test tooling structure and operating procedures are simplified.
Smart Images

Figure CN221746088U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of smart locks, and in particular to a testing tool and a testing system for a circuit board of a smart lock. Background Art
[0002] With the continuous development of science and technology, smart locks have greatly improved the convenience of use and are becoming more and more popular. Due to the wide range of functions of smart locks, a large number of functional tests must be carried out during both the development and production process.
[0003] In the process of developing smart locks, after the development engineers complete the development of the prototype functions, the test engineers will conduct functional testing on the prototype. This process often requires several rounds of testing, and the test engineers must conduct regression testing in each round. That is, when testing different functions, the test engineers are required to manually modify the code to solve the corresponding problems, which takes a lot of time. In addition, if the test engineer misses the test of a certain function, it may cause the corresponding defects to flow into the mass production stage, and eventually lead to rework and other matters.
[0004] After the circuit board of the smart lock is produced and mounted, the production line needs to conduct functional testing of the circuit board. Generally, the production line workers connect each module to the circuit board on site and test the specified items according to the operation instructions. After the test passes, each module is removed. Due to the large number of circuit boards produced and many inspection items, this process is extremely time-consuming. Utility Model Content
[0005] In view of this, the utility model provides a smart lock circuit board testing tool and a testing system to solve the problem in the prior art that smart lock testing requires manual inspection, which is time-consuming.
[0006] In a first aspect, the utility model provides a smart lock circuit board testing tool, which is used to test a circuit board under test, including:
[0007] A control system, wherein the control system comprises a first input interface and a first output interface, wherein the first input interface and the first output interface are suitable for respectively connecting to the circuit board under test, and the control system is suitable for transmitting detection information to the circuit board under test through the first output interface, and receiving a response result of the circuit board under test through the first input interface, and determining whether the response result is correct.
[0008] Beneficial effect: By setting the smart lock circuit board test tooling to include a control system, the control system can transmit detection information to the circuit board under test, receive the response result of the circuit board under test, and determine whether the response result is qualified, so as to perform automatic testing on the circuit board under test of the smart lock, thereby avoiding the problem of time-consuming manual detection. At the same time, since the first input interface and the first output interface are set on the control system, data is transmitted, thereby improving the versatility of the test tooling.
[0009] In an optional implementation, the first input interface and the first output interface are serial ports.
[0010] In an optional implementation, the first output interface includes:
[0011] A power interface, suitable for supplying power to the circuit board under test;
[0012] and / or, an analog level output interface, adapted to output a simulation of the motor control working condition of the circuit board under test;
[0013] And / or, a digital output interface, adapted to output control information of the tested circuit board on the key module;
[0014] And / or, a bus data output interface is suitable for outputting bus data simulating the actual usage function of the smart lock.
[0015] Beneficial effect: By setting the first output interface to include a power interface, an analog level output interface, a digital output interface and a bus data output interface, it is possible to simulate various functions in the actual usage scenario of the smart lock to detect whether the function of the circuit board under test is normal.
[0016] In an optional implementation, the actual use functions of the smart lock include at least fingerprint recognition function, cat's eye module, face recognition function, and palm vein recognition function.
[0017] In an optional implementation, the first input interface includes:
[0018] An analog level input interface, suitable for transmitting the motor control working condition result of the circuit board under test;
[0019] and / or, a digital input interface adapted to transmit the control response of the circuit board under test to the high and low levels of the key module;
[0020] And / or, a bus data input interface is suitable for transmitting response data of the tested circuit board to the actual usage function of the smart lock.
[0021] In an optional embodiment, the control system includes:
[0022] A host computer, adapted to publish the detection information and display the response result;
[0023] A main control board is connected to the host computer, the main control board includes the first input interface and the first output interface, the main control board is suitable for receiving the detection information of the host computer, transmitting the detection information to the circuit board under test, and feeding back the response result of the circuit board under test to the host computer.
[0024] Beneficial effect: By configuring the control system to include a host computer and a main control board, it is possible to facilitate the release of detection information through the host computer and display the details of specific response results, thereby facilitating the repair of the tested circuit board.
[0025] In an optional implementation, the host computer is connected to the main control board via wired communication.
[0026] In an optional embodiment, the control system includes: a main control board, the main control board includes the first input interface and the first output interface, the main control board is provided with a plurality of buttons, and the buttons represent the detection information; the main control board is provided with a display, and the display is suitable for displaying the response result.
[0027] Beneficial effect: By setting the control system as a main control board, which is provided with buttons and a display, the control system no longer needs to be configured with a host computer separately, and can detect the circuit board under test without the host computer. The user can select the detection information through the buttons, and the response result is displayed through the display, thereby making the structure of the smart lock circuit board test tooling simpler.
[0028] In a second aspect, the utility model also provides a smart lock circuit board testing system, comprising:
[0029] The above-mentioned smart lock circuit board test tooling;
[0030] The circuit board under test comprises a second input interface and a second output interface, the first input interface is connected to the second output interface, and the first output interface is connected to the second input interface.
[0031] Beneficial effect: Because the smart lock circuit board testing system includes the above-mentioned smart lock circuit board testing tooling, it has the same effect as the smart lock circuit board testing tooling, and will not be repeated here.
[0032] In an optional implementation, the control system is wirelessly connected to the circuit board under test. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the specific implementation methods of the utility model or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 This is a schematic diagram of the structure of a smart lock circuit board testing tooling according to an embodiment of the utility model;
[0035] Figure 2 A schematic diagram of the structure of a control system of another example of a smart lock circuit board testing tool;
[0036] Figure 3 is a schematic diagram of the structure of the first output interface;
[0037] Figure 4 is a schematic diagram of the structure of the first input interface;
[0038] Figure 5 This is the fingerprint function test flow chart of the smart lock.
[0039] Description of reference numerals:
[0040] 1-first input interface; 101-analog level input interface; 102-digital input interface; 103-bus data input interface; 2-first output interface; 201-power interface; 202-analog level output interface; 203-digital output interface; 204-bus data output interface; 3-main control board; 4-host computer; 5-tested circuit board; 6-display screen; 7-button. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the embodiment of the utility model clearer, the technical solution in the embodiment of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiment of the utility model. Obviously, the described embodiment is a part of the embodiment of the utility model, not all the embodiments. Based on the embodiment of the utility model, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the utility model.
[0042] Combine the following Figures 1 to 5 , describing an embodiment of the utility model.
[0043] According to an embodiment of the utility model, on the one hand, a smart lock circuit board testing tool is provided, which is used to test the circuit board 5 under test, including: a control system, the control system includes a first input interface 1 and a first output interface 2, the first input interface 1 and the first output interface 2 are suitable for being connected to the circuit board 5 under test respectively, the control system is suitable for transmitting detection information to the circuit board 5 under test through the first output interface 2, and receiving the response result of the circuit board 5 under test through the first input interface 1, and judging whether the response result is correct.
[0044] By setting the smart lock circuit board test tooling to include a control system, the control system can transmit detection information to the circuit board 5 under test, receive the response result of the circuit board 5 under test, and determine whether the response result is qualified, so as to perform automatic testing on the circuit board 5 under test of the smart lock, thereby avoiding the problem of time-consuming manual detection. At the same time, since the first input interface 1 and the first output interface 2 are set on the control system, data is transmitted, thereby improving the versatility of the smart lock circuit board test tooling.
[0045] In this embodiment, the first input interface 1 and the first output interface 2 are serial ports.
[0046] like Figure 3 As shown, the first output interface 2 includes: a power interface 201, suitable for supplying power to the circuit board 5 under test; an analog level output interface 202, suitable for outputting the motor control working condition of the simulated circuit board 5 under test; a digital output interface 203, suitable for outputting the control information of the circuit board 5 under test to the key module; and a bus data output interface 204, suitable for outputting bus data of the simulated smart lock actual use function. By setting the first output interface 2 to include the power interface 201, the analog level output interface 202, the digital output interface 203 and the bus data output interface 204, it is possible to simulate various functions in the actual use scenario of the smart lock to detect whether the function of the circuit board 5 under test is normal. As a convertible implementation, it is also possible that the first output interface 2 includes one, two or three of the power interface 201, the analog level output interface 202, the digital output interface 203 and the bus data output interface 204, so as to detect one, two or three specific functions of the circuit board 5 under test according to actual needs.
[0047] The actual use functions of the smart lock include fingerprint recognition function, cat's eye module, face recognition function, and palm vein recognition function. As a convertible implementation, the actual use functions of the smart lock may also include other functions. For example, in the product development stage of the smart lock, other new functions of the smart lock are developed, and the new functions may be entered into the actual use functions of the smart lock, and the function of the tested circuit board 5 is tested to expand the detection information.
[0048] Correspondingly, such as Figure 4 As shown, the first input interface 1 in this embodiment includes: an analog level input interface 101, suitable for transmitting the motor control working condition results of the circuit board 5 under test; a digital input interface 102, suitable for transmitting the control response of the circuit board 5 under test to the high and low levels of the button module; a bus data input interface 103, suitable for transmitting the response data of the circuit board 5 under test to the actual use function of the smart lock.
[0049] The bus data of the first input interface 1 and the first output interface 2 include I2C bus data, serial port bus data, SPI bus data and the like.
[0050] like Figure 1 As shown, the control system includes: a host computer 4, which is suitable for publishing detection information and displaying response results; a main control board 3, which is connected to the host computer 4, and the main control board 3 includes a first input interface 1 and a first output interface 2, and the main control board 3 is suitable for receiving the detection information of the host computer 4, transmitting the detection information to the circuit board 5 under test, and feeding back the response result of the circuit board 5 under test to the host computer 4. By setting the control system to include the host computer 4 and the main control board 3, it is convenient to release the detection information through the host computer 4, and display the details of the specific response results, so as to facilitate the maintenance of the circuit board 5 under test.
[0051] Among them, the host computer 4 is a computer, and its main function is to send the detection information of the tested circuit board 5, and display the details of the response results of the tested circuit board 5, such as which test failed, which test interface returned data errors, etc., to facilitate the maintenance of the tested circuit board 5. As a convertible implementation method, the host computer 4 can also be a tablet or a mobile phone. If the host computer 4 is a tablet, the test tooling app is run in the tablet, and then the detection information is sent to the main control board 3 via Bluetooth or WiFi.
[0052] The main control board 3 is the core component of the entire set of smart lock circuit board testing tooling. It receives the detection information of the host computer 4, outputs the corresponding level or data to the circuit board 5 under test, reads the response result of the circuit board 5 under test and compares it with the preset result inside the main control board 3 to judge the output of the circuit board 5 under test, and finally displays the response result and sends the test details to the host computer 4.
[0053] The host computer 4 and the main control board 3 can use wired communication methods such as USB and serial port, or wireless communication methods such as WiFi, and no excessive restrictions are made here.
[0054] In an alternative embodiment, if Figure 2As shown, the control system includes: a main control board 3, the main control board 3 includes a first input interface 1 and a first output interface 2, and a plurality of buttons 7 are provided on the main control board 3, and the buttons 7 represent the detection information; the main control board 3 is provided with a display, and the display is suitable for displaying the response result. By setting the control system as the main control board 3, and the main control board 3 is provided with buttons 7 and a display, the control system does not need to be configured with a host computer 4 separately, and can detect the circuit board 5 under test without the host computer 4. The user can select the detection information through the button 7, and the response result is displayed through the display, so that the structure of the smart lock circuit board test tooling is simpler.
[0055] The specific number of buttons 7 can be set according to the actual number of detection information required, and no excessive restrictions are made here.
[0056] In a convertible embodiment, the control system may include both the host computer 4 and the main control board 3, and the main control board 3 is provided with buttons 7 and a display.
[0057] According to an embodiment of the present utility model, on the other hand, a smart lock circuit board testing system is also provided, including:
[0058] The above-mentioned smart lock circuit board test tooling;
[0059] The circuit board 5 under test comprises a second input interface and a second output interface, the first input interface 1 is connected to the second output interface, and the first output interface 2 is connected to the second input interface.
[0060] In this embodiment, the main control board 3 is wirelessly connected to the circuit board 5 under test. Since all current smart locks have wireless functions, the main control board 3 needs to be equipped with a wireless module in addition to testing wired communication to test the wireless function of the circuit board 5 under test.
[0061] The user edits the detection information on the host computer 4, and sends the detection information to the main control board 3, connects the first input interface 1 and the first output interface 2 on the main control board 3 to the circuit board 5 under test, and the host computer 4 displays the detection details of the circuit board under test. Of course, it is also possible that the user operates the button 7 on the main control board 3, and according to the prompt on the display screen 6, the circuit board 5 under test enters the detection state, and the display screen 6 displays the response result; or, the user edits the detection information on the host computer 4, and sends the detection information to the main control board 3, connects the first input interface 1 and the first output interface 2 on the main control board 3 to the circuit board 5 under test, the user operates the button 7 on the main control board 3, and according to the prompt on the display screen 6, the circuit board 5 under test enters the detection state, the display screen 6 on the main control board 3 displays the response result, and the host computer 4 displays the detection details of the circuit board 5 under test.
[0062] Take the fingerprint function test of the smart lock as an example. Figure 5As shown, the main control board 3 wakes up the circuit board 5 under test with a digital IO simulation fingerprint module. After the circuit board 5 under test detects the analog level change of the IO, it communicates with the main control board 3 through the second input interface and the second output interface; the circuit board 5 under test reads the fingerprint module information from the first output interface 2, and the main control board 3 constructs the data response of the circuit board 5 under test through the first input interface 1. The circuit board 5 under test is considered to have successfully identified the fingerprint; then the simulation of driving the fully automatic motor is turned on, the main control board 3 detects the motor drive output of the board under test by inputting the analog IO, and simulates the motor in place by simulating the IO output, and detects whether the motor drive part of the circuit board 5 under test works normally. The main control board 3 outputs the level of simulated stalling to detect whether the circuit board 5 under test will initiate the action of stopping the motor. If the circuit board 5 under test passes each test item, the test is terminated. During the test, if the circuit board 5 under test does not initiate serial communication, or the circuit board 5 under test does not drive the motor simulation, or the circuit board 5 under test does not stop the motor action, the output bit response timeout occurs, the circuit board 5 under test does not pass the test item, and the test is terminated.
[0063] A similar method is used to test the facial recognition module, palm vein recognition module, cat's eye module, button module, fingerprint entry, fingerprint deletion, etc. that are commonly equipped in smart locks.
[0064] The smart lock circuit board testing tooling and testing system in this embodiment can set the full function of the smart lock as the testing strategy of the host computer 4 according to the actual usage scenario of the smart lock, and according to the testing strategy of the host computer 4, that is, sending detection information, the main control board 3 can construct specific detection information and apply it to the circuit board 5 under test, and judge whether the circuit board 5 under test can work normally according to the action of the circuit board 5 under test.
[0065] By using this test tool to replace manual inspection, the full-function test time of the smart lock can be compressed from more than 4 hours to less than 30 minutes, greatly improving the inspection efficiency. At the same time, the test tool has low cost, new model tests can be added quickly, and it is easy to promote and use on the production line, reducing labor costs.
[0066] Although the embodiments of the present invention are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A smart lock circuit board testing tool, used for testing a circuit board (5) under test, characterized in that: include: A control system, the control system comprising a first input interface (1) and a first output interface (2), the first input interface (1) and the first output interface (2) being respectively adapted to be connected to the circuit board (5) under test, the control system being adapted to transmit detection information to the circuit board (5) under test via the first output interface (2), and to receive a response result of the circuit board (5) under test via the first input interface (1), and to determine whether the response result is correct; The first output interface (2) comprises: A power supply interface (201), adapted to supply power to the circuit board (5) under test; An analog level output interface (202) adapted to output a simulation of the motor control working condition of the circuit board (5) under test; A digital output interface (203) adapted to output control information of the tested circuit board (5) to the key (7) module; A bus data output interface (204), adapted to output bus data simulating the actual use function of the smart lock; The first input interface (1) comprises: An analog level input interface (101) adapted to transmit the motor control operating condition result of the tested circuit board (5); A digital input interface (102) adapted to transmit the control response of the tested circuit board (5) to the high and low levels of the key (7) module; The bus data input interface (103) is suitable for transmitting the response data of the tested circuit board (5) to the actual use function of the smart lock.
2. The smart lock circuit board testing tool according to claim 1, characterized in that: The first input interface (1) and the first output interface (2) are serial ports.
3. The smart lock circuit board testing tool according to any one of claims 1-2, characterized in that: The control system comprises: A host computer (4), adapted to publish the detection information and display the response result; A main control board (3) is connected to the host computer (4), the main control board (3) comprises the first input interface (1) and the first output interface (2), the main control board (3) is suitable for receiving the detection information of the host computer (4), transmitting the detection information to the circuit board (5) under test, and feeding back the response result of the circuit board (5) under test to the host computer (4).
4. The smart lock circuit board testing tool according to claim 3, characterized in that: The host computer (4) is connected to the main control board (3) via wired communication.
5. The smart lock circuit board testing tool according to any one of claims 1-2, characterized in that: The control system comprises: A main control board (3), the main control board (3) comprising the first input interface (1) and the first output interface (2), the main control board (3) being provided with a plurality of buttons (7), the buttons (7) representing the detection information; and the main control board (3) being provided with a display, the display being suitable for displaying the response result.
6. A smart lock circuit board testing system, characterized in that: include: The smart lock circuit board testing tool according to any one of claims 1 to 5; A circuit board under test (5), the circuit board under test (5) comprising a second input interface and a second output interface, the first input interface (1) being connected to the second output interface, and the first output interface (2) being connected to the second input interface.
7. The smart lock circuit board testing system according to claim 6, characterized in that: The control system is wirelessly connected to the circuit board (5) under test.
