A universal monitoring device automatic acceptance method and system

CN116362663BActive Publication Date: 2026-08-18AEROSPACE SCI & IND INERTIA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111581232.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-22
Publication Date
2026-08-18
Estimated Expiration
2041-12-22

AI Technical Summary

Technical Problem

按照现有对普适型监测设备测试验收的方法,即在单板测试后需经过串口固件升级、标定、总装、蓝牙参数配置测试、平台数据接收测试等几个步骤,工序复杂且均需要测试人员手动操作,期间需人工等待并判断是否合格,测试记录和验收报告也需人工处理,工作量大、测试效率低,远远不能满足生产数量和生产周期的要求

Benefits of technology

[0038] The automatic acceptance system for universal monitoring equipment provided by this invention employs a configuration register table file and a configuration test item file for the single-board testing system. This allows for flexible configuration of the hardware to be tested and expansion of communication test interfaces based on the type of equipment, without requiring any modification to the PC single-board testing software. Furthermore, the test content can cover all hardware modules. The calibration system uses a Bluetooth master-slave communication method, enabling simultaneous calibration of batch devices. The calibration fixture uses a fully automated closed-loop control process, avoiding accuracy errors caused by manual calibration. The test platform and equipment communicate using 4G technology, following the MQTT communication protocol. The equipment automatically connects to the platform for firmware upgrades and acceptance testing, eliminating manual operations for serial port upgrades, parameter configuration, and acceptance testing, and automatically generating acceptance record reports. Through data sharing of the three-stage test record reports, electronic history management of the equipment from production testing to acceptance testing is achieved, significantly reducing the workload of production personnel and lowering labor costs. The automatic acceptance method for universal monitoring equipment provided by this invention also possesses the aforementioned beneficial effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116362663B_ABST
    Figure CN116362663B_ABST
Patent Text Reader

Abstract

The application provides a universal monitoring equipment automatic acceptance system and method, a single board test system is used to program and test a single equipment main control board, to screen out a single board test qualified equipment for assembly, with calibration conditions; a calibration system is used to calibrate raw data of a batch of equipment, to screen out a measurement accuracy qualified equipment, with firmware upgrade and acceptance conditions; a test platform is used to upgrade and accept the same batch of equipment, to upgrade the equipment to the final firmware version, and to screen out an acceptance qualified equipment. The application solves the manual operation of serial port upgrade, configuration parameters and acceptance test, and automatically generates an acceptance record report; through data sharing of three stage test record reports, the application realizes an electronic record management of the equipment from production test to acceptance test, significantly reduces the workload of production personnel, and reduces the labor cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of geological disaster monitoring technology, and in particular to an automatic acceptance method and system for a universal monitoring device. Background Technology

[0002] Universal monitoring equipment is a combination of monitoring and early warning technologies and equipment suitable for complex terrain and geological conditions, reliable, durable, cost-effective, and portable. This equipment focuses on the core need for "prevention" of sudden geological disasters, pursuing a "large-scale" approach. It improves cost-effectiveness and reduces R&D costs through integrated, modular, and chip-based development, striving to overcome the bottlenecks in the widespread adoption of monitoring and early warning equipment.

[0003] Universal monitoring equipment is used for monitoring geological hazards. Measurement accuracy, stability, and reliability are crucial technical indicators, therefore, the equipment must undergo performance testing before leaving the factory. Current testing and acceptance methods for universal monitoring equipment involve several steps after single-board testing, including serial port firmware upgrade, calibration, final assembly, Bluetooth parameter configuration testing, and platform data reception testing. These procedures are complex and require manual operation by testing personnel. During this time, manual waiting and judgment of pass / fail are necessary, and test records and acceptance reports also require manual processing. This results in a large workload and low testing efficiency, far from meeting the requirements of production quantity and production cycle. Summary of the Invention

[0004] This invention provides an automated acceptance method for universal monitoring equipment, which can improve the efficiency of assembly testing and acceptance of universal monitoring equipment and accelerate the standardization, mass production, and engineering-oriented manufacturing of universal monitoring equipment. This invention also provides an automated acceptance system for universal monitoring equipment, which similarly solves the above-mentioned technical problems.

[0005] The present invention provides a universal automatic acceptance system for monitoring equipment, a single-board testing system, a calibration system, and a testing platform;

[0006] The single-board testing system is used for programming and hardware testing of the main control board of a single device, including a programming device (101), a single-board testing fixture (102), PC single-board testing software (103), a testing computer (104), and a QR code scanner (105).

[0007] The calibration system is used for parameter calibration of batch equipment to ensure that the measurement results of the equipment meet the requirements. It includes batch calibration fixture (201), PC batch calibration software (202), calibration computer (203), and calibration Bluetooth host (204).

[0008] The testing platform is used for firmware upgrades and acceptance testing of devices, and automatically generates acceptance records and results.

[0009] Furthermore, in the single-board testing system,

[0010] The program burning device (101) is used to package and download the boot program and test program to the main control board of the device; the PC single board test software (103) runs on the test computer (104); the single board test fixture (102) is connected to the test computer (104) via USB to TTL serial port; and the QR code scanner (105) is connected to the test computer (104) via USB.

[0011] The single-board test fixture (102) includes a test motherboard module (1021), a relay module (1022), a current meter module (1023), and a process test battery (1024); the test motherboard module (1021) is connected to the test computer (104) through two serial ports;

[0012] The test motherboard module (1021) is connected to the test computer (104) through two serial ports. One serial port receives power control commands from the PC single-board test software (103), controls the on / off state of the relay module (1022) through RS485 communication, and reads the current value of the ammeter module through RS232 communication, thereby realizing the test of the voltage and current monitoring function of the main control board of the device under test; the other serial port receives Bluetooth test commands from the PC single-board test software (103) and transmits them to the main control board of the device under test through Bluetooth, thereby realizing the test of the Bluetooth function of the main control board of the device under test.

[0013] The test computer (104) is also directly connected to the debugging serial port of the main control board of the device under test via a serial port. The main control board of the device under test receives the test instructions issued by the PC single board test software (103) and returns the self-test results.

[0014] The device number is obtained by scanning the QR code on the main control board of the device under test using a QR code scanner (105). The PC single board test software (103) writes the number into the FLASH of the main control board of the device under test through the debugging serial port. This number serves as the unique identifier of the device.

[0015] If the single board test is qualified, the PC single board test software (103) will update the production status to the calibration stage and write the status to the FLASH of the main control board of the device under test through the debugging serial port. The main control board of the device under test will automatically jump to the calibration process.

[0016] Furthermore, in the calibration system,

[0017] The calibration fixture includes a motor module (2011), an encoder module (2012), and a calibration device (2013). The motor module (2011) is connected to the calibration computer (203) via an RS485 serial port, receives motion control commands from the PC batch calibration software (202), and drives the calibration device (2013) to the required calibration point. The encoder module (2012) is connected to the calibration computer (203) via an RS485 serial port, receives commands from the PC batch calibration software (202) to obtain the actual running point, and feeds back the current actual point to the PC batch calibration software to achieve closed-loop feedback control.

[0018] The calibration computer (203) and the calibration Bluetooth host (204) are connected via USB to TTL serial port. The PC batch calibration software (202) realizes the Bluetooth master-slave communication mode through the calibration Bluetooth host (204) according to the number of devices configured in the initial stage. The devices in the calibration stage automatically set the Bluetooth number to the calibration general number. The calibration Bluetooth host (204) automatically searches for and connects to all devices with the Bluetooth number of the calibration general number, and distinguishes the device to be issued the command and the device from which the received data comes based on the MAC address of the device.

[0019] The PC batch calibration software (202) runs on the calibration computer (203). The calibration fixture (201) is connected to the calibration computer (203) via an RS485 serial port, and the calibration Bluetooth host (204) is connected to the calibration computer (203) via a USB to TTL serial port.

[0020] Furthermore, the testing platform runs in the cloud and supports login via PC and mobile web browsers.

[0021] The present invention also provides an automatic acceptance method performed by an automatic acceptance system, comprising the following steps:

[0022] S1. Use a single-board testing system to program and test the main control board of a single device, so as to screen out the devices that pass the single-board test and then assemble them to meet the calibration conditions.

[0023] S2. Use a calibration system to calibrate the raw data collected from a batch of equipment in order to screen out equipment with qualified measurement accuracy and meet the conditions for firmware upgrade and acceptance.

[0024] S3. Use the testing platform to perform firmware upgrades and acceptance tests on the same batch of equipment, so that the equipment that meets the acceptance batch requirements can be upgraded to the final firmware version, and the equipment that passes the acceptance test can be screened out.

[0025] 6. The automatic acceptance method for a universal monitoring device according to claim 5, characterized in that the acceptance method specifically includes:

[0026] After the main control board of the equipment is welded and assembled, a QR code label is affixed so that the acceptance progress of the equipment can be checked by scanning the code later. The boot program and test program are packaged and burned onto the main control board through the program burning device. The equipment runs the test program and initializes the production status to the single board test stage. Hardware testing is automatically performed through the single board test fixture and PC single board test software. After the test is passed, the production status of the equipment is updated to the calibration stage through the PC single board test software.

[0027] After the single board passes the test, the equipment is assembled and multiple sets of equipment are simultaneously calibrated in batches through a batch testing system using a master-slave Bluetooth communication method. After the calibration is qualified, the production status of the equipment is updated to the acceptance stage through PC batch calibration software.

[0028] Log in to the testing platform via mobile or PC, create a new acceptance batch, and configure firmware upgrade parameters, working parameters, status acceptance criteria, and working mode so that devices belonging to this acceptance batch can be automatically accepted after connecting to the platform. After the acceptance batch is created, all devices in this batch to be accepted are initialized to an offline state.

[0029] Furthermore, the acceptance process specifically includes,

[0030] 1) Log in to the testing platform, create a new acceptance batch, and initialize the acceptance status of all devices in this batch to "not online";

[0031] 2) After the equipment passes the calibration and jumps to the acceptance process, it automatically connects to the test platform via wireless network according to the MQTT protocol. The test platform determines whether to allow the equipment to register based on the equipment number and password. If the equipment number and password match and the equipment belongs to a newly created acceptance batch, it will automatically register, allow the equipment to receive data sent by the equipment, and update the equipment's acceptance status to online.

[0032] 3) After the device acceptance status is "online", the device will automatically connect to the test platform at intervals until the firmware upgrade is successful. After the connection is successful, the test platform will send a firmware upgrade command to the device. If the device responds successfully, the device acceptance status will be updated to "upgrading". The device will parse the FTP address, password and firmware version of the firmware upgrade from the received firmware upgrade command and automatically connect to the remote FTP to perform the firmware upgrade.

[0033] 4) After the device firmware upgrade is successful, run the upgraded application and upload a firmware upgrade success notification to the test platform. After receiving the notification, the test platform will update the device's acceptance status to "Configuring" and send a working parameter configuration command to the device. If the configuration is successful, the device's acceptance status will be updated to "Testing".

[0034] 5) When the equipment acceptance status is "under testing", the test platform issues calibration time and status data acquisition commands to test the hardware status and operating status of the equipment, and automatically determines whether the equipment is qualified. If the test is qualified, the acceptance status of the equipment is updated to "under switching".

[0035] 6) When the equipment acceptance status is in the switching state, the test platform issues a setting working mode command to notify the equipment to switch to connecting to the production platform. If the setting is successful, the equipment acceptance status will be updated to acceptance qualified.

[0036] 7) The testing platform displays the acceptance progress and results of the batch of equipment in real time. By scanning the QR code of a single device, users can view the detailed electronic history of the device and automatically generate acceptance record reports.

[0037] 8) Through data sharing of test record reports in three stages, electronic history management of equipment from production testing to acceptance inspection is realized.

[0038] The automatic acceptance system for universal monitoring equipment provided by this invention employs a configuration register table file and a configuration test item file for the single-board testing system. This allows for flexible configuration of the hardware to be tested and expansion of communication test interfaces based on the type of equipment, without requiring any modification to the PC single-board testing software. Furthermore, the test content can cover all hardware modules. The calibration system uses a Bluetooth master-slave communication method, enabling simultaneous calibration of batch devices. The calibration fixture uses a fully automated closed-loop control process, avoiding accuracy errors caused by manual calibration. The test platform and equipment communicate using 4G technology, following the MQTT communication protocol. The equipment automatically connects to the platform for firmware upgrades and acceptance testing, eliminating manual operations for serial port upgrades, parameter configuration, and acceptance testing, and automatically generating acceptance record reports. Through data sharing of the three-stage test record reports, electronic history management of the equipment from production testing to acceptance testing is achieved, significantly reducing the workload of production personnel and lowering labor costs. The automatic acceptance method for universal monitoring equipment provided by this invention also possesses the aforementioned beneficial effects. Attached Figure Description

[0039] Figure 1 This is a flowchart of the automatic acceptance method for monitoring equipment according to the present invention;

[0040] Figure 2 This is a schematic diagram of the single-board testing system provided by the present invention;

[0041] Figure 3 This is a schematic diagram of the calibration system provided by the present invention;

[0042] Figure 4 A flowchart of the testing platform provided by the present invention; Detailed Implementation

[0043] The present invention will now be described in further detail with reference to the accompanying drawings.

[0044] This invention provides an automatic acceptance system for universal monitoring equipment, comprising: a single-board testing system, a calibration system, and a testing platform.

[0045] like Figure 2 As shown, the single-board testing system includes a program burning device, a single-board testing fixture, PC single-board testing software, a testing computer, and a QR code scanner, and is used for program burning and hardware testing of the main control board of a single device.

[0046] like Figure 3 As shown, the calibration system includes batch calibration fixtures, PC batch calibration software, and a calibration computer, used for parameter calibration of batch equipment to ensure that the measurement results of the equipment meet the requirements.

[0047] like Figure 4 As shown, the testing platform supports login on both PC and mobile devices, and is used for device firmware upgrades and acceptance testing, and automatically generates acceptance records and results.

[0048] The single-board testing system 100 of the present invention includes a program burning device 101, a single-board testing fixture 102, PC single-board testing software 103, a testing computer 104, and a QR code scanner 105.

[0049] The program burning device 101 is used to download the boot program and test program to the main control board of the device with one click. The PC single-board test software 103 runs on the test computer 104. The single-board test fixture 102 is connected to the test computer 104 via USB to TTL serial port. The QR code scanner 105 is connected to the test computer via USB.

[0050] According to one embodiment of the present invention, when using the single-board testing system 10 to perform single-board testing on the main control board of a device, the program is first downloaded to the main control board of the device under test through the program burning device 101. Then, the main control board of the device under test is placed in the single-board testing fixture 102, the PC single-board testing software 103 is run, the configuration register file and test item file are loaded, and the corresponding serial port is opened. The QR code scanner 105 is used to scan the QR code of the main control board of the device under test to obtain the device number. The PC single-board testing software 103 performs tests in sequence according to the configured test items, displays the test results in the interface in real time, and automatically generates and saves test records.

[0051] Furthermore, the single-board test fixture 102 includes a test motherboard module 1021, a relay module 1022, a current meter module 1023, and a process test battery 1024. The test motherboard module 1021 is connected to the test computer 104 via two serial ports. Serial port 1 is used to receive power control commands issued by the PC single-board test software 103, control the on / off state of the relay module 1022 via RS485 communication, and read the current value of the current meter module via RS232 communication, thereby realizing the test of the voltage and current monitoring function of the main control board of the device under test. Serial port 2 is used to receive Bluetooth test commands issued by the PC single-board test software 103 and transmit them to the main control board of the device under test via Bluetooth, thereby realizing the test of the Bluetooth function of the main control board of the device under test.

[0052] Furthermore, the test computer 104 is also directly connected to the debugging serial port of the main control board of the device under test via a serial port. The main control board of the device under test receives the test instructions issued by the PC single-board test software 103 and returns the self-test results.

[0053] Furthermore, the configuration register file and test item file loaded by the PC single-board testing software 103 are pre-configured and can be flexibly set and added or deleted according to the type of equipment and instrument without requiring code modification to the PC single-board testing software.

[0054] Furthermore, the QR code scanner 105 is used to scan the QR code on the main control board of the device under test to obtain the device number. The PC single-board test software 103 writes the number into the FLASH of the main control board of the device under test through the debugging serial port. This number serves as the unique identifier (ClientID) of the device.

[0055] Furthermore, if the single-board test is successful, the PC single-board test software 103 will update the production status to the calibration stage and write the status to the FLASH of the main control board of the device under test through the debugging serial port. The main control board of the device under test will then automatically jump to the calibration process.

[0056] The calibration system 200 of the present invention includes a calibration fixture 201, a PC batch calibration software 202, a calibration computer 203, and a calibration Bluetooth host 204.

[0057] The calibration fixture 201 can hold 10 sets of equipment for batch calibration. The PC batch calibration software runs on the calibration computer 203. The calibration fixture and the calibration computer are connected via RS485 serial port, and the calibration Bluetooth host and the calibration computer are connected via USB to TTL serial port.

[0058] According to one embodiment of the present invention, when calibrating the device using the calibration system 20, the assembled device under test is placed in the calibration fixture 201, the PC batch calibration software 202 is run, and the corresponding serial port is opened. The PC batch calibration software controls the calibration fixture to move to the required calibration point, and the measurement data of the device under test is obtained in real time through the calibration Bluetooth host 204. After the measurement is completed, the calibration coefficient is automatically calculated, it is determined whether the calibration result meets the measurement accuracy requirements, and the calibration record is automatically generated and saved.

[0059] Furthermore, the calibration fixture includes a motor module 2011, an encoder module 2012, and a calibration device 2013. The motor module 2011 is connected to the calibration computer 203 via an RS485 serial port, receives motion control commands from the PC batch calibration software 202, and drives the calibration device 2013 to the required calibration point. The encoder module 2012 is connected to the calibration computer 203 via an RS485 serial port, receives commands from the PC batch calibration software 202 to obtain the actual running point, and feeds back the current actual point to the PC batch calibration software to achieve closed-loop feedback control.

[0060] Furthermore, the calibration computer 203 and the calibration Bluetooth host 204 are connected via a USB-to-TTL serial port. The PC batch calibration software 202, based on the number of devices configured in the initial setup, implements a Bluetooth master-slave communication mode through the calibration Bluetooth host 204. Devices in the calibration phase automatically set their Bluetooth ID to the calibration general ID. The calibration Bluetooth host 204 automatically searches for and connects to all devices with the Bluetooth ID set to the calibration general ID, and distinguishes the device from which the command is to be sent and the source of the received data based on the device's MAC address.

[0061] Furthermore, after calibration, the PC batch calibration software 202 automatically calculates the calibration coefficients of each device to be calibrated and writes them into the FLASH of each device through the calibration Bluetooth host 204. It also automatically determines whether the test results corrected by substituting the calibration coefficients meet the measurement accuracy requirements.

[0062] Furthermore, once the calibration is successful, the PC batch calibration software 202 updates the production status to the acceptance stage and writes the status to the FLASH of each calibrated device via the calibration Bluetooth host 204. Each calibrated device then automatically jumps to the acceptance process.

[0063] The testing platform 300 of this invention runs in the cloud and supports login via PC and mobile web browsers.

[0064] This invention also provides an automatic acceptance method for a universal monitoring device, the method comprising:

[0065] The equipment goes through three stages from production testing to acceptance inspection: single board testing, calibration, and acceptance. The acceptance stage includes eight states: not online, online, upgrading, configuring, testing, switching, acceptance passed, and acceptance failed.

[0066] Figure 1 As shown, the present invention provides an automatic acceptance method for universal monitoring equipment, the method comprising:

[0067] S1. Use the single-board testing system 100 to program and test the main control board of a single device, so as to screen out the devices that pass the single-board test and then assemble them to meet the calibration conditions.

[0068] S2. Use the calibration system 200 to calibrate the raw data collected from a batch of equipment in order to screen out equipment with qualified measurement accuracy and meet the conditions for firmware upgrade and acceptance.

[0069] S3. Use the test platform 300 to perform firmware upgrades and acceptance tests on the same batch of equipment, so that the equipment that meets the acceptance batch can be upgraded to the final firmware version, and the equipment that passes the acceptance test can be screened out.

[0070] After the main control board of the equipment is soldered and assembled, a QR code label is affixed so that the acceptance progress can be checked later by scanning the code. The boot program and test program are packaged and burned onto the main control board using a program burning device. The equipment runs the test program, initializing the production status to the single-board testing stage. Hardware testing is automatically performed using single-board testing fixtures and PC single-board testing software. After passing the test, the production status of the equipment is updated to the calibration stage using the PC single-board testing software.

[0071] After the single-board test is passed, the equipment is assembled and then calibrated simultaneously for up to 10 sets of equipment through a batch testing system using a master-slave Bluetooth communication method. After the calibration is passed, the production status of the equipment is updated to the acceptance stage through PC batch calibration software.

[0072] Log in to the testing platform via mobile or PC, create a new acceptance batch, and configure firmware upgrade parameters, operating parameters, status acceptance criteria, operating mode, etc., so that the devices belonging to the acceptance batch can be automatically accepted after connecting to the platform. After the acceptance batch is created, all devices in the batch to be accepted are initialized to an offline state.

[0073] After the device passes the single-machine test and batch calibration, the device remotely connects to the test platform via MQTT protocol using 4G. The platform determines whether to allow device registration based on the device number (ClientID) and password (APIKey). If the ClientID and APIKey match and the device belongs to a newly created acceptance batch, it will automatically register, allowing the device to receive data sent by the device, and update the device's acceptance status to "online".

[0074] After the device goes online, the test platform sends a firmware upgrade command to the device. If the device responds successfully, the device's acceptance status is updated to "Upgrading". The device parses the FTP address, password and firmware version of the firmware upgrade from the received firmware upgrade command and automatically connects to the remote FTP to perform the firmware upgrade.

[0075] After the device firmware upgrade is successful, the upgraded application is run and a firmware upgrade success notification is uploaded to the test platform. Upon receiving the notification, the platform updates the device's acceptance status to "Configuring" and issues a working parameter configuration command to the device. If the configuration is successful, the device's acceptance status is updated to "Testing".

[0076] When the equipment acceptance status is "under testing", the test platform issues calibration time and status data acquisition commands to test the hardware status and operating status of the equipment, and automatically determines whether the equipment is qualified. If the test is qualified, the acceptance status of the equipment is updated to "under switching".

[0077] When the equipment is in the acceptance status of switching, the test platform issues a command to set the working mode, notifying the equipment to switch to connecting to the production platform. If the setting is successful, the equipment's acceptance status will be updated to acceptance qualified.

[0078] The remote testing platform displays the acceptance progress and results of the batch of equipment in real time. Users can scan the QR code of each device to view its detailed electronic history and automatically generate acceptance record reports.

[0079] Preferably, during the stand-alone testing process, the method further includes: the stand-alone testing system automatically writes the device number into the device by scanning the device's QR code, and this number serves as the device's unique identifier (ClientID); the hardware test items and pass / fail criteria of the device can be flexibly set by modifying the configuration register and test item file, and the PC single-board testing software performs automatic testing according to the configuration items, automatically generates and saves test reports.

[0080] Preferably, during the batch calibration process, the method further includes: the PC batch calibration software acts as a host, interacting with multiple devices via Bluetooth communication (one master, multiple slaves); the PC batch calibration software automatically controls the batch calibration fixture to run to the required calibration points, and acquires the data collected by the devices in real time; after the data collection of all calibration points is completed, the calibration coefficients are automatically calculated and the calibration results are judged, and test reports are automatically generated and saved; if the calibration results meet the requirements, the calibration coefficients are written into the devices.

[0081] Preferably, during the firmware upgrade process, if the device fails to connect to the platform or the upgrade fails, the 4G function is turned off and the device enters a sleep state. The 4G function is then automatically turned on at 1-hour intervals to attempt to reconnect to the platform or connect to the FTP server for firmware upgrade.

[0082] Preferably, if any step fails during the acceptance test, the failure result will be displayed in real time on the notification interface of the remote testing platform. After the testers repair the device, the acceptance test can be carried out again from the firmware upgrade step.

[0083] According to one embodiment of the present invention, after logging into the test platform 300, a new acceptance batch is created, and after the device is successfully registered online, firmware upgrades and acceptance tests are performed.

[0084] The acceptance process technical solution of the present invention will be described in detail below with reference to specific embodiments.

[0085] Step 1: Log in to the test platform 300, create a new acceptance batch, and initialize the acceptance status of all devices in this batch to "not online".

[0086] Step 2: After the device passes calibration and jumps to the acceptance process, it automatically connects to the test platform 300 via 4G according to the MQTT protocol. The test platform 300 determines whether to allow device registration based on the device number (ClientID) and password (APIKey). If the ClientID and APIKey match and the device belongs to a newly created acceptance batch, it will automatically register, allow the device to receive data, and update the device's acceptance status to "online".

[0087] Step 3: After the device's acceptance status is "online," the device automatically connects to the test platform 300 at 1-hour intervals until the firmware upgrade is successful. Upon successful connection, the test platform 300 sends a firmware upgrade command to the device. If the device responds successfully, its acceptance status is updated to "upgrading." The device parses the FTP address, password, and firmware version from the received firmware upgrade command and automatically connects to the remote FTP server to perform the firmware upgrade.

[0088] Step 4: After the device firmware upgrade is successful, run the upgraded application and upload a firmware upgrade success notification to the test platform 300. After receiving the notification, the test platform 300 will update the device's acceptance status to "Configuring" and issue a working parameter configuration command to the device. If the configuration is successful, the device's acceptance status will be updated to "Testing".

[0089] Step 5: When the equipment acceptance status is "under testing", the test platform 300 issues calibration time and status data acquisition commands to test the hardware status and operating status of the equipment, and automatically determines whether the equipment is qualified. If the test is qualified, the acceptance status of the equipment is updated to "under switching".

[0090] Step 6: When the equipment acceptance status is in the switching state, the test platform 300 issues a setting working mode command to notify the equipment to switch to connecting to the formal platform. If the setting is successful, the equipment acceptance status will be updated to acceptance qualified.

[0091] Step 7: The testing platform displays the acceptance progress and results of the batch of equipment in real time. Users can scan the QR code of each device to view its detailed electronic history and automatically generate an acceptance record report.

[0092] Step 8: Through data sharing of test record reports across three stages, achieve electronic history management of equipment from production testing to acceptance inspection.

[0093] The automatic acceptance method for universal monitoring equipment of this invention divides the equipment from production testing to acceptance inspection into three stages: single-board testing, calibration, and acceptance. The acceptance stage includes eight states: not online, online, upgrading, configuring, testing, switching, acceptance passed, and acceptance failed. This eliminates the need for manual operations in serial port upgrades, parameter configuration, and acceptance inspection, and automatically generates acceptance record reports. Through data sharing of the test record reports across the three stages, electronic history management of the equipment from production testing to acceptance inspection is achieved, significantly reducing the workload of production personnel and lowering labor costs.

[0094] The above-described specific embodiments are limited to explaining and illustrating the technical solutions of the present invention, but do not constitute a limitation on the scope of protection of the claims. Those skilled in the art should understand that any new technical solutions obtained by making simple modifications or substitutions based on the technical solutions of the present invention fall within the scope of protection of the present invention.

Claims

1. A pervasive monitoring device automatic acceptance system, comprising: This includes a single-board testing system, a calibration system, and a testing platform; The single-board testing system is used for programming and hardware testing of the main control board of a single device, including a programming device (101), a single-board testing fixture (102), PC single-board testing software (103), a testing computer (104), and a QR code scanner (105); The calibration system is used for parameter calibration of batch equipment to ensure that the measurement results of the equipment meet the requirements. It includes batch calibration fixture (201), PC batch calibration software (202), calibration computer (203), and calibration Bluetooth host (204). The testing platform is used for firmware upgrades and acceptance testing of equipment, and automatically generates acceptance records and results; In a single-board testing system, The program burning device (101) is used to package and download the boot program and test program to the main control board of the device; the PC single board test software (103) runs on the test computer (104), the single board test fixture (102) is connected to the test computer (104) via USB to TTL serial port, and the QR code scanner (105) is connected to the test computer (104) via USB; The single-board test fixture (102) includes a test motherboard module (1021), a relay module (1022), a current meter module (1023), and a process test battery (1024); the test motherboard module (1021) is connected to the test computer (104) through two serial ports; The test motherboard module (1021) is connected to the test computer (104) through two serial ports. One serial port receives power control commands from the PC single-board test software (103), controls the on / off state of the relay module (1022) through RS485 communication, and reads the current value of the ammeter module through RS232 communication, thereby realizing the test of the voltage and current monitoring function of the main control board of the device under test; the other serial port receives Bluetooth test commands from the PC single-board test software (103) and transmits them to the main control board of the device under test through Bluetooth, thereby realizing the test of the Bluetooth function of the main control board of the device under test. The test computer (104) is also directly connected to the debugging serial port of the main control board of the device under test via a serial port. The main control board of the device under test receives the test instructions issued by the PC single board test software (103) and returns the self-test results. The device number is obtained by scanning the QR code on the main control board of the device under test using a QR code scanner (105). The PC single board test software (103) writes the number into the FLASH of the main control board of the device under test through the debugging serial port. This number serves as the unique identifier of the device. If the single board passes the test, the PC single board test software (103) will update the production status to the calibration stage and write the status to the FLASH of the main control board of the device under test through the debugging serial port. The main control board of the device under test will automatically jump to the calibration process.

2. The universal monitoring device automatic acceptance system of claim 1, wherein, In the calibration system, The calibration fixture includes a motor module (2011), an encoder module (2012), and a calibration device (2013). The motor module (2011) is connected to the calibration computer (203) via an RS485 serial port, receives motion control commands from the PC batch calibration software (202), and drives the calibration device (2013) to the required calibration point. The encoder module (2012) is connected to the calibration computer (203) via an RS485 serial port, receives commands from the PC batch calibration software (202) to obtain the actual running point, and feeds back the current actual point to the PC batch calibration software to achieve closed-loop feedback control. The calibration computer (203) and the calibration Bluetooth host (204) are connected via USB to TTL serial port. The PC batch calibration software (202) realizes the Bluetooth master-slave communication mode through the calibration Bluetooth host (204) according to the number of devices configured in the initial stage. The devices in the calibration stage automatically set the Bluetooth number to the calibration general number. The calibration Bluetooth host (204) automatically searches for and connects to all devices with the Bluetooth number of the calibration general number, and distinguishes the device to be issued the command and the device from which the received data comes based on the MAC address of the device. The PC batch calibration software (202) runs on the calibration computer (203). The calibration fixture (201) is connected to the calibration computer (203) via an RS485 serial port, and the calibration Bluetooth host (204) is connected to the calibration computer (203) via a USB to TTL serial port.

3. The universal monitoring equipment automatic acceptance system according to claim 1, characterized in that, The testing platform runs in the cloud and supports login via PC and mobile web browsers.

4. An automatic acceptance method using the automatic acceptance system according to any one of claims 1-3, characterized in that, Includes the following steps: S1. Use a single-board testing system to program and test the main control board of a single device, so as to screen out the devices that pass the single-board test and then assemble them to meet the calibration conditions. S2. Use a calibration system to calibrate the raw data collected from a batch of equipment in order to screen out equipment with qualified measurement accuracy and meet the conditions for firmware upgrade and acceptance. S3. Use the testing platform to perform firmware upgrades and acceptance tests on the same batch of equipment, so that the equipment that meets the acceptance batch requirements can be upgraded to the final firmware version, and the equipment that passes the acceptance test can be screened out.

5. The automatic acceptance method according to claim 4, characterized in that, The acceptance methods specifically include: After the main control board of the equipment is soldered and assembled, a QR code label is affixed so that the acceptance progress of the equipment can be checked by scanning the code later. The boot program and test program are packaged and burned onto the main control board using a program burning device. The equipment runs the test program and initializes the production status to the single board testing stage. Hardware testing is automatically performed by the single board testing fixture and PC single board testing software. After the test is passed, the production status of the equipment is updated to the calibration stage by the PC single board testing software. After the single board passes the test, the equipment is assembled and multiple sets of equipment are simultaneously calibrated in batches through a batch testing system using a master-slave Bluetooth communication method. After the calibration is successful, the production status of the equipment is updated to the acceptance stage through PC batch calibration software. Log in to the test platform via mobile or PC, create a new acceptance batch, and configure firmware upgrade parameters, working parameters, status acceptance criteria, and working mode so that devices belonging to this acceptance batch can be automatically accepted after connecting to the platform. After the acceptance batch is created, all devices in this batch to be accepted are initialized to an offline state.

6. The automatic acceptance method according to claim 4, characterized in that, The acceptance process specifically includes, 1) Log in to the testing platform, create a new acceptance batch, and initialize the acceptance status of all devices in this batch to "not online"; 2) After the equipment passes the calibration and jumps to the acceptance process, it automatically connects to the test platform via wireless network according to the MQTT protocol. The test platform determines whether to allow the equipment to register based on the equipment number and password. If the equipment number and password match and the equipment belongs to a newly created acceptance batch, it will automatically register, allow the equipment to receive data sent by the equipment, and update the equipment's acceptance status to online. 3) After the equipment is accepted as online, the equipment will automatically connect to the test platform at intervals until the firmware upgrade is successful; After a successful connection, the test platform sends a firmware upgrade command to the device. If the device responds successfully, the device's acceptance status is updated to "Upgrading". The device parses the FTP address, password and firmware version for firmware upgrade from the received firmware upgrade command and automatically connects to the remote FTP to perform firmware upgrade. 4) After the device firmware upgrade is successful, run the upgraded application and upload a firmware upgrade success notification to the test platform. After receiving the notification, the test platform will update the device's acceptance status to "Configuring" and send a working parameter configuration command to the device. If the configuration is successful, the device's acceptance status will be updated to "Testing". 5) When the equipment acceptance status is "under testing", the test platform issues calibration time and status data acquisition commands to test the hardware status and operating status of the equipment, and automatically determines whether the equipment is qualified. If the test is qualified, the acceptance status of the equipment is updated to "under switching". 6) When the equipment acceptance status is in the switching state, the test platform issues a setting working mode command to notify the equipment to switch to connecting to the production platform. If the setting is successful, the equipment acceptance status will be updated to acceptance qualified. 7) The testing platform displays the acceptance progress and results of the batch of equipment in real time. By scanning the QR code of a single device, users can view the detailed electronic history of the device and automatically generate acceptance record reports. 8) Through data sharing of test record reports in three stages, electronic history management of equipment from production testing to acceptance inspection is realized.

Citation Information

Patent Citations

  • PCBA (Printed Circuit Board Assembly) board testing system

    CN109596970A

  • Automated testing system and testing method

    WO2016206505A1