IOT product automatic production testing system based on Linux platform
By developing an IOT product automated production and testing system with multi-function modules on the Linux platform, combined with automated tooling, the problems of traditional manual testing are solved, and efficient and accurate IOT product testing is achieved.
Patent Information
- Application Number
- CN202510023124.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2025-04-11
Smart Images

Figure CN119805064A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things product testing, and in particular to an IOT product automated production and testing system based on a Linux platform. Background Art
[0002] With the rapid development of Internet of Things technology, IOT products are becoming increasingly complex in terms of functions and performance, and product testing requirements are also constantly increasing. Modern IOT products usually integrate multiple functional modules such as power management, radio frequency communication, and data processing, and require comprehensive functional and performance testing on the production line. At present, from the perspective of test reliability, traditional manual testing has problems such as unstable contact and uneven pressure. When operators manually connect test cables and probes, it is easy to cause poor contact or damage the product interface; from the perspective of production efficiency, the traditional production and testing process requires frequent product transfer and repetitive mechanical operations, such as moving products from one test station to the next, re-fixing product positions, and reconnecting test cables. These non-testing operations not only consume a lot of manpower and time costs, but also increase the risk of product damage and test errors. At the same time, the transfer and repeated operations between multiple stations also extend the test cycle of a single product, seriously affecting the overall production efficiency of the production line, and cannot meet the needs of large-scale production. Therefore, developing an integrated and automated test platform to achieve fast and accurate testing of IOT products is of great significance to improving the yield and production efficiency of IOT products. Summary of the invention
[0003] The purpose of the present invention is to provide an automated production and testing system for IOT products based on the Linux platform. The system is developed based on the Linux platform and integrates multiple functional modules such as programmable power supply, radio frequency test, current test, etc., to realize one-stop testing of IOT products. With the mechanical structure of automated tooling, the system completes the full process of automated operation from product fixation, parameter testing to data analysis, which significantly improves the test efficiency and reduces the cost of manual operation.
[0004] The present invention is achieved through the following technical solutions:
[0005] An automated production and testing system for IoT products based on a Linux platform comprises: a Linux platform, a test device and an IoT product connected in sequence; wherein the test device is integrated with power consumption test and radio frequency test functions to perform integrated testing on the IoT product.
[0006] Optionally, the test equipment includes: a radio frequency test module, a current test module, an automated tooling and auxiliary equipment; the radio frequency test module and the current test module are respectively connected to the Linux platform through UART, the automated tooling is connected to the Linux platform through CAN, the auxiliary equipment is connected to the Linux platform through USB / network port, the radio frequency test module is connected to the IOT product through an RF line, the current test module is connected to the IOT product through a test line, the automated tooling fixes the IOT product through a mechanical structure and establishes communication through USB-TTL, wherein the radio frequency test module performs power consumption test of the IOT product and transmits the power consumption test result of the IOT product to the Linux platform, the current test module performs current and voltage test of the IOT product and transmits the current and voltage test result of the IOT product to the Linux platform, the automated tooling performs fixation and transmission of the IOT product, and the auxiliary equipment performs parameter verification of the IOT product.
[0007] Optionally, the test equipment further comprises: a program-controlled power supply module; the program-controlled power supply module is connected to the test equipment through I 2 C is connected to the Linux platform, the programmable power supply module is connected to the IOT product through a power line, and the programmable power supply module receives the voltage control instruction of the Linux platform and executes the power supply control of the IOT product accordingly.
[0008] Optionally, the automated tooling includes: an underlying support structure, a mobile platform, a test platform and a test mechanism; the bottom of the mobile platform is slidably mounted on the top of the underlying support structure, the bottom of the test platform is fixedly mounted on the top of the mobile platform, and the test mechanism is fixedly mounted on the top of the test platform, wherein a positioning groove is provided in the center of the top of the test platform for placing the IOT product.
[0009] Optionally, the underlying support structure includes: a base plate, guide rails and limit sensors; two parallel guide rails are fixedly installed on the top of the base plate to form an X-axis moving channel, and limit sensors are fixedly installed on both ends of the guide rails to control the sliding range of the mobile platform, and the mobile platform is slidably connected to the guide rails.
[0010] Optionally, the mobile platform includes: a slide and a support column; the slide is slidably mounted on the guide rail, one end of the support column is vertically and fixedly mounted at the top center of the slide, and the other end of the support column is fixedly connected to the bottom of the test platform.
[0011] Optionally, the test logic of the IOT product is:
[0012] After the system is powered on, the Linux platform starts and loads the test equipment, and detects the online status of the programmable power module, RF test module, current test module, automated tooling and auxiliary equipment in turn through the ModBus protocol;
[0013] Each module performs initialization;
[0014] Put the IOT product into the positioning slot, the photoelectric sensor in the test mechanism detects the in-position signal, the slide moves to the test position under the control of the limit sensor, the cylinder in the test mechanism presses down to drive the test probe to contact the test point of the IOT product, and the RF test module interface, current test module interface and communication interface are connected at the same time. After confirming that all connections are correct, enter the test phase;
[0015] The programmable power module boosts the voltage step by step, the current test module monitors the startup current in real time and confirms the voltage stability, the IOT product enters the transmission mode after normal startup, the RF test module measures the transmission power, the spectrum analyzer in the auxiliary equipment verifies the accuracy of the transmission frequency, and records the transmission power, transmission frequency data and transmission current data at the same time;
[0016] Switch to receiving mode, the RF test module outputs the test signal, measures and records the receiving sensitivity and receiving current data;
[0017] Configure the IOT product to enter sleep mode and upload all test data to the Linux platform. The Linux platform compares and analyzes each test data with the standard parameters, generates a test curve chart, determines the test results and records abnormal items, generates a test report and stores it in the database, and completes the IOT product test;
[0018] The programmable power supply module reduces voltage and cuts off power, the cylinder in the test mechanism lifts up to release the IOT product, the slide returns to its initial position, and all test connections are disconnected, waiting for the next IOT product test.
[0019] Optionally, if there is an interface connection abnormality in the IOT product, the programmable power supply module will immediately cut off power and issue an alarm.
[0020] The technical solution of the present invention has at least the following advantages and beneficial effects:
[0021] The present invention is developed based on the Linux platform and integrates multiple functional modules such as programmable power supply, radio frequency test, current test, etc., realizing one-stop testing of IOT products. With the mechanical structure of automated tooling, it completes the whole process of automated operation from product fixation, parameter testing to data analysis, significantly improving the test efficiency and reducing the manual operation cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1A logical schematic diagram of an IOT product automated production and testing system based on a Linux platform provided by the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the drawings in the present invention. Obviously, what is described is only a part of the present invention, not all of it. Generally, the components of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0024] like Figure 1 As shown, the present invention provides one of the embodiments: an automated production and testing system for IOT products based on a Linux platform, comprising: a Linux platform, a test device and an IOT product connected in sequence; wherein the test device integrates power consumption testing and radio frequency testing functions to perform integrated testing of IOT products.
[0025] In implementation, the Linux platform tool is a tool for realizing the production test control logic and production test operation of IOT products. The Linux platform is divided into the main parts such as the operation interface, settings, software communication protocol, and logic control. The operation interface is combined with the production test requirements of IOT products to divide the display area into 4 parts. Area 1 displays the software operation buttons, including desktop buttons, information buttons, operation instructions, etc.; Area 2 displays the product information of the current production test, including product type, model, hardware version, software version, measurement parameters, etc.; Area 3 displays the tested items of the current product, including working voltage, RF power, transmitting current, receiving current, sleep current, communication test results, and the final test results. If the test passes, it will be displayed as a green background + PASS, and if it fails, it will be displayed as a red background + FAIL. In addition, Area 3 is also the manual trigger button of "Start Test". The test interface defaults to the "Start Test" button state. Area 4 displays the log information of the production test tool, including the current test steps and the final test results.
[0026] Furthermore, the test equipment includes: a radio frequency test module, a current test module, an automated tooling and auxiliary equipment; the radio frequency test module and the current test module are respectively connected to the Linux platform through UART, the automated tooling is connected to the Linux platform through CAN, the auxiliary equipment is connected to the Linux platform through USB / network port, the radio frequency test module is connected to the IOT product through an RF line, the current test module is connected to the IOT product through a test line, the automated tooling fixes the IOT product through a mechanical structure, and establishes communication through USB-TTL, wherein the radio frequency test module performs power consumption test of the IOT product, and transmits the power consumption test result of the IOT product to the Linux platform, the current test module performs current and voltage test of the IOT product, and transmits the current and voltage test result of the IOT product to the Linux platform, the automated tooling performs fixation and transmission of the IOT product, and the auxiliary equipment performs parameter verification of the IOT product.
[0027] Specifically, the RF power acquisition of this embodiment is implemented by using an RF detector chip. Since the maximum power that can be input by the RF detector is usually low, an RF attenuation circuit is also added in this embodiment to achieve a maximum power input performance of 30dBm (1W). In addition to the above two parts, the entire RF power acquisition and processing part is also composed of a power supply, a single-chip microcomputer, a clock source, and an operational amplifier. The RF detector converts the collected power signal into a voltage signal, which is sent to the ADC pin of the single-chip microcomputer after the operational amplifier, and is converted into a digital signal for processing by the single-chip microcomputer after the ADC. The collected digital signal is averaged, filtered, stabilized, etc., and then output through the UART interface with a private ModBus protocol, and provided to the SOC running the Linux system for production test control logic reference.
[0028] The current and voltage acquisition processing of this embodiment is implemented by current and voltage sampling circuit + operational amplifier + single-chip microcomputer. In order to realize the measurement of different current ranges, 10mΩ, 1Ω, 100Ω, and 1KΩ are selected as sampling resistors respectively, and the current sampling circuit innovatively adopts the method of NMOS + sampling resistor. After receiving the data converted by ADC, the single-chip microcomputer calculates and judges to quickly adjust the sampling circuit by itself to achieve the measurement effect of automatic range, so that the power consumption measurement of different working modes of IOT products can be realized. Considering the accuracy of production measurement, an independent 3.3V external reference power supply is used as a reference in the design. In this embodiment, a maximum input voltage of 30V and a current measurement capability of <5A are provided. The single-chip microcomputer performs mean calculation on the digital signal converted by ADC, and then performs filtering and stabilization and other processing, and then outputs it through the UART interface with the privatized ModBus protocol, which is provided to the SOC running the Linux system for production measurement control logic reference.
[0029] Furthermore, the test equipment further comprises: a program-controlled power supply module; the program-controlled power supply module is connected to the power supply module through I 2 C is connected to the Linux platform, the programmable power supply module is connected to the IOT product through a power line, and the programmable power supply module receives the voltage control instruction of the Linux platform and executes the power supply control of the IOT product accordingly.
[0030] In the implementation, this embodiment uses a Linux platform direct drive DC-DC expansion circuit board, which uses SOC+I 2 C electronic resistor + DC-DC mode, to achieve the purpose of programmable adjustable power supply, thereby providing power supply for IOT products in production testing. In this embodiment, the DC-DC power supply has the ability to output 1.5~12V\3A, which greatly meets the various IOT product test power supply conditions. The 1000M Ethernet interface provides test conditions for IOT products with Ethernet interfaces, and the CAN and GPIO interfaces provide conditions for connecting external expansion devices to enrich test functions, such as the CAN interface connecting the air pump control system, and the GPIO connecting the sensor system.
[0031] In a further implementation of this embodiment, the automated tooling includes: an underlying support structure, a mobile platform, a test platform and a test mechanism; the bottom of the mobile platform is slidably mounted on the top of the underlying support structure, the bottom of the test platform is fixedly mounted on the top of the mobile platform, and the test mechanism is fixedly mounted on the top of the test platform, wherein a positioning groove is provided in the center of the top of the test platform for placing the IOT product.
[0032] The bottom support structure includes: a base plate, guide rails and limit sensors; two parallel guide rails are fixedly installed on the top of the base plate to form an X-axis moving channel, and limit sensors are fixedly installed at both ends of the guide rails to control the sliding range of the mobile platform. The mobile platform is slidably connected to the guide rails.
[0033] The mobile platform includes: a slide and a support column; the slide is slidably mounted on the guide rail, one end of the support column is vertically and fixedly mounted at the top center of the slide, and the other end of the support column is fixedly connected to the bottom of the test platform.
[0034] The test platform in this embodiment adopts an "upper and lower opposed" structural design, with the lower layer being the IOT product carrying platform and the upper layer being the test head assembly. The IOT product carrying platform is composed of a positioning tray, with a positioning groove in the shape of the product processed in the center of the tray, and positioning columns installed around to ensure that the product is placed in one direction, and photoelectric sensors are set on the left and right sides to detect that the product is in place. The upper test head assembly forms a door-shaped bracket through two columns and a crossbeam, and a cylinder fixing seat is installed in the center of the crossbeam. The cylinder piston rod is downward, and a test head mounting plate is installed at the end. The board is configured with test components such as an elastic ejector array, a radio frequency test module interface, a current test module interface, and a communication interface according to the product interface layout. Guide columns are assembled at the four corners of the test head, and the XY plane position fine-tuning and parallelism adjustment are achieved in conjunction with the precision adjustment mechanism to ensure accurate alignment and stable contact of the test interface.
[0035] In the specific implementation of this embodiment, the test logic of the IOT product is:
[0036] After the system is powered on, the Linux platform starts and loads the test equipment, and detects the online status of the programmable power module, RF test module, current test module, automated tooling and auxiliary equipment in turn through the ModBus protocol;
[0037] Each module performs initialization;
[0038] Put the IOT product into the positioning slot, the photoelectric sensor in the test mechanism detects the in-position signal, the slide moves to the test position under the control of the limit sensor, the cylinder in the test mechanism presses down to drive the test probe to contact the test point of the IOT product, and the RF test module interface, current test module interface and communication interface are connected at the same time. After confirming that all connections are correct, enter the test phase;
[0039] The programmable power module boosts the voltage step by step, the current test module monitors the startup current in real time and confirms the voltage stability, the IOT product enters the transmission mode after normal startup, the RF test module measures the transmission power, the spectrum analyzer in the auxiliary equipment verifies the accuracy of the transmission frequency, and records the transmission power, transmission frequency data and transmission current data at the same time;
[0040] Switch to receiving mode, the RF test module outputs the test signal, measures and records the receiving sensitivity and receiving current data;
[0041] Configure the IOT product to enter sleep mode and upload all test data to the Linux platform. The Linux platform compares and analyzes each test data with the standard parameters, generates a test curve chart, determines the test results and records abnormal items, generates a test report and stores it in the database, and completes the IOT product test;
[0042] The programmable power supply module reduces voltage and cuts off power, the cylinder in the test mechanism lifts up to release the IOT product, the slide returns to its initial position, and all test connections are disconnected, waiting for the next IOT product test.
[0043] In specific implementation, after the test system is powered on, the Linux platform starts and loads the test software, and detects the online status of the programmable power module, RF test module, current test module and other modules in turn through the ModBus protocol; each module completes initialization: the output of the programmable power module returns to zero, the RF test module self-calibrates and sets the attenuation value, the current test module range is reset and the sampling parameters are set, the automated tooling control board controls the cylinder to return to its position and the slide to reset, the spectrum analyzer and multimeter in the auxiliary equipment complete the parameter configuration, and the display interface enters the state to be tested. After the operator puts the IOT product into the tooling positioning slot, the photoelectric sensor detects the in-position signal, the slide moves to the test position under the control of the limit sensor, the cylinder is pressed down (the pressure sensor monitors the pressure value) to drive the test probe to contact the product test point (contact sensor confirmation), and the RF test module interface, the current test module interface and the communication interface are automatically connected. After confirming that all connections are normal, the product information is read through USB-TTL. The Linux platform loads the corresponding test parameters according to the IOT product model and version. The programmable power module sets the working voltage, the RF test module sets the test frequency, the current test module sets the range, the spectrum analyzer sets the measurement parameters, and the tooling completes the adjustment of the test fixture parameters. Entering the test phase, the programmable power module first boosts the voltage step by step, the current test module monitors the startup current in real time and confirms the voltage stability. After the IOT product starts normally, it is configured to enter the transmission mode, the RF test module measures the transmission power, and the spectrum analyzer verifies the frequency accuracy, while recording the power, frequency data and transmission current; then switches to the receiving mode, the RF test module outputs the test signal, measures the receiving sensitivity and receiving current, and records the relevant parameters; then configures the product to enter the sleep mode, the current module switches to the μA range to measure the sleep current, and records the wake-up time; finally, the communication protocol test is performed to verify the data transceiver function and communication stability, and test the response time. All test data are uploaded to the main control in real time, compared and analyzed with the standard parameters, and test curve charts are generated. The test results are determined and abnormal items are recorded, and the test report is generated and stored in the database. After the test is completed, the program-controlled power supply is de-energized, the cylinder is lifted to release the product, the slide returns to the initial position, all test connections are disconnected, and the next IOT product is tested. If there is an abnormality during the entire process: if the connection is abnormal, the power is immediately cut off to prompt re-placement; if the test is abnormal, the abnormal point is recorded and subsequent tests are terminated; if the pressure is abnormal, the cylinder is immediately lifted to protect the product; if the communication is abnormal and fails after three retries, the test is terminated; if the data is abnormal, the abnormal item is marked and other tests are continued.
[0044] The above is only the preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An IOT product automated production and testing system based on Linux platform, characterized in that: include: The Linux platform, test equipment and IOT products are connected in sequence; wherein the test equipment is integrated with power consumption test and radio frequency test functions to perform integrated test on IOT products.
2. The IOT product automated production and testing system based on the Linux platform according to claim 1 is characterized in that: The test equipment includes: a radio frequency test module, a current test module, an automated tooling and auxiliary equipment; the radio frequency test module and the current test module are respectively connected to the Linux platform through UART, the automated tooling is connected to the Linux platform through CAN, the auxiliary equipment is connected to the Linux platform through USB / network port, the radio frequency test module is connected to the IOT product through an RF line, the current test module is connected to the IOT product through a test line, the automated tooling fixes the IOT product through a mechanical structure, and establishes communication through USB-TTL, wherein the radio frequency test module performs a power consumption test of the IOT product and transmits the power consumption test result of the IOT product to the Linux platform, the current test module performs a current and voltage test of the IOT product and transmits the current and voltage test result of the IOT product to the Linux platform, the automated tooling performs fixation and transmission of the IOT product, and the auxiliary equipment performs parameter verification of the IOT product.
3. The IOT product automated production and testing system based on the Linux platform according to claim 2 is characterized in that: The test equipment also includes: a program-controlled power supply module; the program-controlled power supply module is connected to the power supply module by I 2 C is connected to the Linux platform, the programmable power supply module is connected to the IOT product through a power line, and the programmable power supply module receives voltage control instructions from the Linux platform and executes power supply control of the IOT product accordingly.
4. The IOT product automated production and testing system based on the Linux platform according to claim 3 is characterized in that: The automated tooling includes: an underlying support structure, a mobile platform, a test platform and a test mechanism; the bottom of the mobile platform is slidably mounted on the top of the underlying support structure, the bottom of the test platform is fixedly mounted on the top of the mobile platform, and the test mechanism is fixedly mounted on the top of the test platform, wherein a positioning groove is provided in the center of the top of the test platform for placing the IOT product.
5. The IOT product automated production and testing system based on the Linux platform according to claim 4 is characterized in that: The bottom support structure includes: a base plate, guide rails and limit sensors; two parallel guide rails are fixedly installed on the top of the base plate to form an X-axis moving channel, and limit sensors are fixedly installed at both ends of the guide rails to control the sliding range of the mobile platform. The mobile platform is slidably connected to the guide rails.
6. The IOT product automated production and testing system based on the Linux platform according to claim 5 is characterized in that: The mobile platform includes: a slide and a support column; the slide is slidably mounted on the guide rail, one end of the support column is vertically and fixedly mounted at the top center of the slide, and the other end of the support column is fixedly connected to the bottom of the test platform.
7. The IOT product automated production and testing system based on the Linux platform according to claim 6 is characterized in that: The test logic of the IOT product is: After the system is powered on, the Linux platform starts and loads the test equipment, and detects the online status of the programmable power module, RF test module, current test module, automated tooling and auxiliary equipment in turn through the ModBus protocol; Each module performs initialization; Put the IOT product into the positioning slot, the photoelectric sensor in the test mechanism detects the in-position signal, the slide moves to the test position under the control of the limit sensor, the cylinder in the test mechanism presses down to drive the test probe to contact the test point of the IOT product, and the RF test module interface, current test module interface and communication interface are connected at the same time. After confirming that all connections are correct, enter the test phase; The programmable power module boosts the voltage step by step, the current test module monitors the startup current in real time and confirms the voltage stability, the IOT product enters the transmission mode after normal startup, the RF test module measures the transmission power, the spectrum analyzer in the auxiliary equipment verifies the accuracy of the transmission frequency, and records the transmission power, transmission frequency data and transmission current data at the same time; Switch to receiving mode, the RF test module outputs the test signal, measures and records the receiving sensitivity and receiving current data; Configure the IOT product to enter sleep mode and upload all test data to the Linux platform. The Linux platform compares and analyzes each test data with the standard parameters, generates a test curve chart, determines the test results and records abnormal items, generates a test report and stores it in the database, and completes the IOT product test; The programmable power supply module reduces voltage and cuts off power, the cylinder in the test mechanism lifts up to release the IOT product, the slide returns to its initial position, and all test connections are disconnected, waiting for the next IOT product test.
8. The IOT product automated production and testing system based on the Linux platform according to claim 7 is characterized in that: If there is an abnormality in the interface connection of the IOT product, the programmable power supply module will immediately cut off the power and issue an alarm.