End-of-line testing system and method for wireless communication collection apparatuses
By designing the downline detection system of the wireless communication acquisition device, and using the upper computer and the wireless communication adapter box to control the power-up and networking of the device to be tested, the problems of low network efficiency and poor testing versatility of the existing system are solved, and efficient downline detection and improved detection efficiency are achieved.
Patent Information
- Application Number
- PCT/CN2023/142191
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-22
- Filing Date
- 2023-12-27
- Publication Date
- 2025-05-30
AI Technical Summary
The existing wireless communication acquisition device offline detection system has low network efficiency and poor testing versatility and flexibility, resulting in low detection efficiency and affecting the detection efficiency of the production assembly line.
A wireless communication acquisition device offline detection system is designed, including a computer, a wireless communication adapter box and a wireless communication acquisition device to be tested. The upper computer issues power supply instructions and test instructions for the acquisition device according to the preset wireless networking strategy. The wireless communication adapter box controls the device to be tested to be powered on and connected to the network, and performs offline testing after the networking is completed.
It effectively improves the networking efficiency of wireless communication acquisition devices, ensures the versatility and flexibility of offline testing, avoids safety issues, improves the offline detection efficiency of production assembly lines, and meets the actual offline detection application needs.
Smart Images

Figure CN2023142191_30052025_PF_FP_ABST
Abstract
Description
A wireless communication acquisition device offline detection system and method
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on November 22, 2023, with application number 202311574613.1 and invention name “A wireless communication collection device offline detection system and method”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the technical field of wireless communication battery management, and in particular to a system and method for detecting an offline battery of a wireless communication data acquisition device. Background Art
[0003] The power battery communication acquisition device is a device that collects battery and mainboard operating data and connects to the battery management system. It provides real-time and reliable data support for the effective management of the battery management system. It is also a key communication equipment to ensure the normal operation of the power battery. It needs to complete reliable offline testing before it can be put into use.
[0004] The existing offline detection of power battery communication collection devices mainly adopts wired testing: the power battery is connected through a wiring harness for detection. When the power battery is placed on the assembly line conveying equipment for circulation, the existence of the wiring harness will make the circulation difficult, and the connection wiring harness is very likely to fall off or be blocked, which greatly reduces the versatility and flexibility of the offline test line, and thus causes safety problems. For wired testing technology, although there are improvements based on wireless communication methods, the current detection method based on wireless communication has the problem of low detection efficiency of the wireless communication collection device due to the slow and low efficiency of the networking process between the wireless communication collection device and the corresponding monitoring device, which will seriously affect the offline detection efficiency of the production line and still cannot meet the actual offline detection application needs.
[0005] Application Contents
[0006] The purpose of this application is to provide a wireless communication acquisition device offline detection system to solve the application defects of existing wireless communication acquisition devices such as low networking efficiency, poor testing versatility and flexibility, effectively improve the networking efficiency of wireless communication acquisition devices, ensure the versatility and flexibility of offline testing, thereby avoiding safety problems, improving the offline detection efficiency of production lines, and truly meeting actual offline detection application needs.
[0007] In order to achieve the above objectives, it is necessary to provide a wireless communication data collection device offline detection system and method in response to the above technical problems.
[0008] In a first aspect, an embodiment of the present application provides a wireless communication acquisition device offline detection system, the system comprising a host computer, a wireless communication adapter box, and a plurality of wireless communication acquisition devices to be tested;
[0009] The host computer is used to send power supply instructions and test instructions for the acquisition device to the wireless communication adapter box according to the preset wireless networking strategy and preset test logic;
[0010] The wireless communication adapter box is used to control the power-on sequence of the wireless communication acquisition device to be tested according to the power supply instruction of the acquisition device, and after networking with all the wireless communication acquisition devices to be tested, control the wireless communication acquisition device to be tested to complete the production line test of all wireless communication acquisition devices according to the test instruction;
[0011] The wireless communication acquisition device to be tested is used to broadcast a wireless networking request to network with the wireless communication adapter box after power-on is completed, and after networking is completed, perform production offline testing according to the test instructions received by the wireless communication adapter box and preset test logic.
[0012] Furthermore, the preset test logic includes voltage acquisition accuracy test logic, temperature acquisition accuracy test logic, equalization function test logic and single acquisition channel leakage current test logic.
[0013] Furthermore, the wireless communication adapter box includes a CAN communication conversion unit, a main chip control unit, a power switch matrix unit, a wireless communication transceiver unit and a system power management unit;
[0014] The CAN communication unit is used to realize the communication interaction between the host computer and the main chip control unit, and receive the power supply instruction and test instruction of the acquisition device sent by the host computer;
[0015] The main chip control unit is used to determine the current wireless communication acquisition device to be networked according to the power supply instruction of the acquisition device, and generate a corresponding control instruction to send to the power switch matrix unit; it is also used to complete the wireless networking with the current wireless communication acquisition device to be networked according to the preset networking process and the wireless networking request broadcast by the current wireless communication acquisition device to be networked;
[0016] The power switch matrix unit is used to perform power supply operation on the wireless communication acquisition device to be networked according to the control instruction of the main chip control unit;
[0017] The wireless communication transceiver unit is used for wireless data transmission and reception for wireless networking and information interaction between the wireless communication adapter box and each wireless communication acquisition device to be tested;
[0018] The system power management unit is used to supply power to the CAN communication conversion unit, the main chip control unit, the power switch matrix unit and the wireless communication transceiver unit.
[0019] Furthermore, the wireless communication adapter box is further configured to, after the wireless communication adapter box and the wireless communication acquisition device currently to be networked establish a wireless network, set the networking flag corresponding to the wireless communication acquisition device currently to be networked to indicate successful networking, and generate corresponding networking success information based on the networking flag and send it to the host computer; the networking success information includes the MAC address information and networking flag of the wireless communication acquisition device currently to be networked;
[0020] The host computer is also used to determine whether the networking of all wireless communication acquisition devices to be tested is completed based on the networking success information and the preset wireless networking strategy, and when it is determined that it is not completed, send the next acquisition device power supply instruction to the wireless communication adapter box according to the preset networking strategy.
[0021] Furthermore, the wireless communication adapter box is further configured to start a networking request monitoring timer when performing a power supply operation on the wireless communication acquisition device currently to be networked, and when the networking request monitoring timer times out and no wireless networking request is received, perform a power-off operation on the wireless communication acquisition device currently to be networked, set a networking flag corresponding to the wireless communication acquisition device currently to be networked as a networking abnormality, and generate corresponding networking failure information and send it to the host computer; the networking failure information includes the networking flag;
[0022] The host computer is also used to update the corresponding number of device networking failures based on the networking failure information, determine whether the updated number of device networking failures exceeds a preset failure upper limit, and re-send the corresponding acquisition device power supply instruction to the wireless communication adapter box when it is determined that it does not exceed the upper limit.
[0023] In a second aspect, an embodiment of the present application provides a method for detecting an offline wireless communication data acquisition device, which is applied to an offline wireless communication data acquisition device detection system. The method includes the following steps:
[0024] In response to the establishment of communication between the host computer and the wireless communication adapter box, according to the preset wireless networking strategy, the host computer sends a power supply instruction for the acquisition device to the wireless communication adapter box; the power supply instruction for the acquisition device includes a number of the wireless communication acquisition device to be tested;
[0025] According to the power supply instruction of the acquisition device, the wireless communication acquisition device to be currently networked is determined through the wireless communication adapter box, and the power supply operation is performed on the wireless communication acquisition device to be currently networked;
[0026] When the wireless communication acquisition device to be networked is powered on, a wireless networking request is broadcasted through the wireless communication acquisition device to be networked; the wireless networking request includes the MAC address information of the wireless communication acquisition device to be networked;
[0027] According to the wireless networking request and the preset networking process, the wireless communication adapter box completes the wireless networking with the wireless communication collection device to be networked;
[0028] When all the wireless communication acquisition devices to be tested are networked, according to the preset test logic, the host computer sends a test instruction to the wireless communication adapter box to start the production offline test for each wireless communication acquisition device to be tested.
[0029] Furthermore, the step of determining the wireless communication acquisition device to be currently networked by the wireless communication adapter box and performing a power supply operation on the wireless communication acquisition device to be currently networked includes:
[0030] According to the power supply instruction of the acquisition device, the main chip control unit of the wireless communication adapter box determines the current wireless communication acquisition device to be networked, and generates a corresponding control instruction and sends it to the power switch matrix unit of the wireless communication adapter box;
[0031] According to the control instruction, the power supply switch matrix unit performs a power supply operation on the wireless communication acquisition device to be networked.
[0032] Furthermore, the step of completing wireless networking with the wireless communication acquisition device to be networked through the wireless communication adapter box according to the wireless networking request and the preset networking process includes:
[0033] According to the wireless networking request and the preset networking process, the main chip control unit of the wireless communication adapter box controls and completes the wireless networking with the wireless communication collection device to be networked.
[0034] Furthermore, after the main chip control unit of the wireless communication adapter box controls the completion of the wireless networking with the wireless communication acquisition device to be networked, the method further includes:
[0035] The wireless communication adapter box sets the networking flag corresponding to the wireless communication collection device to be networked to a networking success, and generates corresponding networking success information according to the networking flag and sends it to the host computer; the networking success information includes the MAC address information and networking flag of the wireless communication collection device to be networked;
[0036] According to the networking success information and the preset wireless networking strategy, the host computer determines whether the networking of all the wireless communication acquisition devices to be tested is completed, and if it is determined that it is not completed, the host computer sends a power supply instruction for the next acquisition device to the wireless communication adapter box according to the preset networking strategy.
[0037] Furthermore, the method further comprises:
[0038] When the wireless communication acquisition device to be networked is powered by the power switch matrix unit of the wireless communication adapter box, a networking request monitoring timer is started;
[0039] When the networking request monitoring timer times out and the wireless communication adapter box does not receive any wireless networking request, the power switch matrix unit of the wireless communication adapter box performs a power-off operation on the wireless communication acquisition device to be networked, sets the networking flag corresponding to the wireless communication acquisition device to be networked as a networking abnormality, and generates corresponding networking failure information and sends it to the host computer; the networking failure information includes the networking flag;
[0040] According to the networking failure information, the host computer updates the corresponding number of device networking failures, determines whether the updated number of device networking failures exceeds the preset failure upper limit, and when it is determined that it does not exceed, resends the corresponding acquisition device power supply instruction to the wireless communication adapter box.
[0041] The present application provides a wireless communication acquisition device offline detection system and method, which implements a technical solution in which a host computer issues acquisition device power supply instructions and test instructions to a wireless communication adapter box according to a preset wireless networking strategy. The wireless communication adapter box controls the power-on sequence of the wireless communication acquisition device under test according to the acquisition device power supply instructions. After the wireless communication acquisition device under test is powered on, the wireless communication acquisition device under test broadcasts a wireless networking request to network with the wireless communication adapter box. After the networking is completed, the wireless communication adapter box controls the wireless communication acquisition device under test according to the test instructions and preset test logic issued by the host computer to complete the production offline testing of all wireless communication acquisition devices. Compared with the existing technology, this wireless communication acquisition device offline detection system can effectively improve the networking efficiency of wireless communication acquisition devices during offline testing, provide reliable guarantees for the detection efficiency and product quality of wireless communication acquisition devices, and also ensure the versatility and flexibility of offline testing, thereby avoiding safety issues and improving the offline testing efficiency of the production line, so as to truly meet the actual offline testing application needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] FIG1 is a schematic structural diagram of a wireless communication data acquisition device offline detection system according to an embodiment of the present application;
[0043] 2 is a schematic structural diagram of a wireless communication adapter box in an offline detection system of a wireless communication acquisition device according to an embodiment of the present application;
[0044] FIG3 is a flow chart of a method for detecting an offline wireless communication data acquisition device according to an embodiment of the present invention;
[0045] FIG4 is a diagram showing the internal structure of a computer device in an embodiment of the present application. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solutions and beneficial effects of this application more clearly understood, this application is further described in detail below in conjunction with the accompanying drawings and examples. Obviously, the embodiments described below are part of the embodiments of this application and are only used to illustrate this application, but are not used to limit the scope of this application. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0047] In one embodiment, as shown in FIG1 , a wireless communication acquisition device offline detection system is provided, the system comprising a host computer 1, a wireless communication adapter box 2, and a plurality of wireless communication acquisition devices 3 to be tested; wherein the host computer 1 and the wireless communication adapter box 2 are interconnected, and the wireless communication adapter box 2 is simultaneously interconnected with the plurality of wireless communication acquisition devices 3 to be tested based on wireless networking, and the specific number of wireless communication acquisition devices to be tested can be selected according to production requirements and is not specifically limited here;
[0048] The host computer 1 is used to issue power supply instructions and test instructions for the acquisition device to the wireless communication adapter box 2 according to the preset wireless networking strategy and the preset test logic; wherein the preset wireless networking strategy can be understood as including the networking sequence (power-on sequence) of each wireless communication acquisition device 3 to be tested, which is set in advance according to the test requirements, the timeout duration of the networking request monitoring timer, the preset failure limit (the upper limit of the number of allowed networking failures), and other related networking parameters, etc., which need to be completed in advance on the host computer 1. The specific configuration and the selection of the relevant parameter values are not specifically limited here; the corresponding The power supply instruction for the acquisition device includes a number of a wireless communication acquisition device to be tested, and the number of the wireless communication acquisition device to be tested is used to indicate the wireless communication acquisition device to be tested that is allowed to be powered on and networked by the current system of the wireless communication adapter box. It can be understood that the upper computer 1 uses the power supply instruction for the acquisition device based on the preset wireless networking strategy to ensure that there is only one wireless communication acquisition device to be tested in each round of system networking as the current wireless communication acquisition device to be networked, so as to avoid the wireless communication adapter box needing to perceive excessive processing of each wireless communication acquisition device when networking with multiple wireless communication acquisition devices at the same time, thereby improving networking efficiency;
[0049] The above-mentioned preset test logic can be understood as the function or performance test execution logic formulated according to the actual test requirements, including voltage acquisition accuracy test logic, temperature acquisition accuracy test logic, balancing function test logic and single acquisition channel leakage current test logic, etc. It can also be increased or decreased according to the adjustment of the test content in the actual scenario;
[0050] In actual applications, after the host computer establishes a communication connection with the wireless communication adapter box and the required test environment is deployed, the preset wireless networking strategy, preset test logic and other related parameters can be configured on the host computer, and the automated testing process including automatic networking and execution of test logic can be started.
[0051] The wireless communication adapter box 2 is used to control the power-on sequence of the wireless communication acquisition device 3 to be tested according to the power supply instruction of the acquisition device, and after networking with all the wireless communication acquisition devices to be tested, control the wireless communication acquisition device to be tested to complete the production line test of all wireless communication acquisition devices 3 according to the test instruction;
[0052] In principle, the design of the wireless communication adapter box 2 only needs to meet the above functions. However, in order to ensure that the requirements of efficient and reliable communication networking are met based on a simple and low-cost structural setting, this embodiment preferably adopts the system architecture shown in Figure 2 to implement the wireless communication adapter box 2. Specifically, the wireless communication adapter box 2 includes a CAN communication conversion unit 21, a main chip control unit 22, a power switch matrix unit 23, a wireless communication transceiver unit 24 and a system power management unit 25;
[0053] Among them, the CAN communication unit 21 is used to realize the communication interaction between the host computer 1 and the main chip control unit 22, and receive the power supply instruction and test instruction of the acquisition device sent by the host computer 1. That is, the CAN communication unit 21 is responsible for the communication between the host computer and the main chip control unit inside the wireless communication adapter box, as well as the sending and receiving of relevant information and logical control processing;
[0054] The main chip control unit 22 is used to determine the current wireless communication acquisition device to be networked according to the power supply instruction of the acquisition device, and generate corresponding control instructions to send to the power switch matrix unit 23; it is also used to complete the wireless networking with the current wireless communication acquisition device to be networked according to the preset networking process and the wireless networking request broadcast by the current wireless communication acquisition device to be networked; wherein the preset networking process can be determined according to actual application requirements and is not specifically limited here;
[0055] The power switch matrix unit 23 is used to perform power supply operations on the wireless communication acquisition device to be networked according to the control instructions of the main chip control unit 22. That is, the power switch matrix unit 23 is controlled by the main chip control unit 22 and is responsible for controlling the power supply to the specified wireless communication acquisition device. It can control the power-on working time of each wireless communication acquisition device to be tested in accordance with the preset offline test wireless networking strategy. It should be noted that the number of channels of the power switch matrix unit 23 can be determined according to the number of wireless communication acquisition devices to be tested in the system to support the application requirements of effectively testing all wireless communication acquisition devices to be tested.
[0056] The wireless communication transceiver unit 24 is used for wireless data transmission and reception for wireless networking and information interaction between the wireless communication adapter box 2 and each wireless communication acquisition device 3 to be tested;
[0057] The system power management unit 25 is used to supply power to the CAN communication conversion unit 21 , the main chip control unit 22 , the power switch matrix unit 23 and the wireless communication transceiver unit 24 .
[0058] The wireless communication acquisition device 3 to be tested is used to broadcast a wireless networking request to network with the wireless communication adapter box 2 after power-on is completed, and after the networking is completed, perform a production offline test according to the test instructions received by the wireless communication adapter box 2 and the preset test logic; the wireless networking request includes the MAC address information of the current wireless communication acquisition device to be networked:
[0059] While the above system networking process is described using only the power-on networking process of a single wireless communication acquisition device under test as an example, in actual application, the individual networking processes for each wireless communication acquisition device under test (each round of networking for the system) are similar, differing only in the number of the wireless communication acquisition device under test in the acquisition device power-on instruction issued by the host computer 1. Accordingly, the wireless communication adapter box 2 controls the power-on of a different wireless communication acquisition device under test via the main chip control unit 22 and the power switch matrix unit 23. To ensure that all wireless communication acquisition devices under test can quickly and efficiently complete networking, this embodiment preferably sets a corresponding networking flag for each wireless communication acquisition device under test 3, enabling the host computer 1 to track and manage its networking process, thereby controlling the orderly power-on networking of all wireless communication acquisition devices under test 3 within the entire system. In this embodiment, preferably, after the wireless communication adapter box 2 establishes a wireless network with the currently networked wireless communication device 3, the wireless communication adapter box 2 sets a networking success flag for it and feeds this back to the host computer 1. Specifically, the wireless communication adapter box 2 is further configured to, after the wireless communication adapter box 2 establishes a wireless network with the wireless communication acquisition device currently to be networked, set the networking flag corresponding to the wireless communication acquisition device currently to be networked to be a successful network, and generate corresponding networking success information according to the networking flag and send it to the host computer 1; the networking success information includes the MAC address information and networking flag of the wireless communication acquisition device currently to be networked;
[0060] The host computer 1 is further configured to determine whether the networking of all wireless communication acquisition devices to be tested is completed based on the networking success information and the preset wireless networking strategy, and if it is determined that the networking is not completed, send the next acquisition device power supply instruction to the wireless communication adapter box 2 according to the preset networking strategy until it is determined that all wireless communication acquisition devices 3 to be tested have completed networking with the wireless communication adapter box 2.
[0061] This embodiment uses a wireless communication adapter box to control the power-on and networking of each wireless communication acquisition device under test in the offline test system in sequence, and ensures that only one wireless communication acquisition device under test that has not yet been networked sends a wireless networking request carrying MAC address information at the same time. This solution not only ensures that each wireless communication device under test can be normally networked with the corresponding wireless communication adapter box, but also effectively avoids the slow networking speed caused by the system overhead and resource occupation caused by multiple wireless communication acquisition devices under test requesting networking at the same time, thereby effectively improving the networking efficiency of the wireless communication acquisition device. It can also ensure the versatility and flexibility of offline testing based on a simple and low-cost wireless networking architecture, avoid causing safety problems, and improve the offline inspection efficiency of the production line.
[0062] Considering that in actual networking scenarios, external factors such as network delays and interruptions may cause delays or loss of wireless networking requests or interactive information during the networking process. In order to avoid low networking efficiency caused by such factors, this embodiment preferably adopts a fault-tolerant mechanism that combines a single networking time limit with a certain number of networking executions. While ensuring system networking efficiency, it can ensure that each wireless communication acquisition device under test with normal function can successfully complete the networking test as soon as possible.
[0063] Specifically, the wireless communication adapter box 2 is further used to start a networking request monitoring timer when performing a power supply operation on the wireless communication acquisition device to be networked currently, and when the networking request monitoring timer times out and no wireless networking request is received, perform a power-off operation on the wireless communication acquisition device to be networked currently, set the networking flag corresponding to the wireless communication acquisition device to be networked currently as a networking abnormality, and generate corresponding networking failure information and send it to the host computer; the networking failure information includes a networking flag; wherein the timeout period of the networking request monitoring timer can be set according to actual application requirements and is not specifically limited here; for example, the timeout period of the networking request monitoring timer is set to 1S, that is, when the power supply operation is performed on the wireless communication acquisition device to be networked currently and no corresponding networking request message is received within 1S, it is assumed that there is an abnormality in the wireless communication acquisition device to be networked currently or there is an abnormality in the communication environment, and it is necessary to power it off and then power on again to perform networking;
[0064] The host computer 1 is further configured to update the corresponding number of device networking failures according to the networking failure information, determine whether the updated number of device networking failures exceeds a preset failure upper limit, and resend the corresponding acquisition device power supply instruction to the wireless communication adapter box 2 when it is determined that the number of device networking failures does not exceed the preset failure upper limit; wherein, the number of device networking failures corresponds to each wireless communication acquisition device to be tested, that is, the number of abnormal networking times of each wireless communication acquisition device to be tested is counted separately; correspondingly, the preset failure upper limit can be understood as a universal number for the entire system, which is used to control the number of allowed networking failures for all wireless communication acquisition devices to be tested, and can be set according to actual application requirements to ensure the networking efficiency of the entire system while providing as many networking opportunities as possible.
[0065] In the embodiment of the present application, a host computer issues power supply instructions and test instructions for the collection device to the wireless communication adapter box according to a preset wireless networking strategy. The wireless communication adapter box controls the power-on sequence of the wireless communication collection device under test according to the power supply instructions. After the wireless communication collection device under test is powered on, the wireless communication collection device under test broadcasts a wireless networking request to establish a network with the wireless communication adapter box. If no wireless networking request is received within a preset time period after powering on the wireless communication collection device under test, the wireless communication collection device under test is powered off, the network flag corresponding to the wireless communication collection device under test is set to a network abnormality, and corresponding network failure information is generated and sent to the host computer. When the host computer determines that the number of device networking failures has not exceeded a preset failure limit, it resends the corresponding collection device power supply instructions to the wireless communication adapter box until networking is successful or the preset failure limit is reached. When the wireless communication adapter box establishes a wireless network with the wireless communication acquisition device currently to be networked, the networking flag corresponding to the wireless communication acquisition device currently to be networked is set to networking success, and networking success information including the MAC address information and networking flag of the wireless communication acquisition device currently to be networked is generated based on the networking flag and sent to the host computer, so that the host computer can send a power supply instruction to the wireless communication adapter box according to the preset networking strategy until all the wireless communication acquisition devices to be tested are networked. Then, the host computer will send a test instruction to the wireless communication adapter box according to the preset test logic to start the production offline test for each wireless communication acquisition device to be tested. The above technical solution effectively solves the application defects of the existing offline detection system for wireless communication acquisition devices, not only effectively improving the networking efficiency of wireless communication acquisition devices in offline detection, but also providing reliable guarantees for the detection efficiency and product quality of wireless communication acquisition devices, and also ensuring the versatility and flexibility of offline testing, thereby avoiding safety issues, improving the offline detection efficiency of the production assembly line, and truly meeting the actual offline detection application needs.
[0066] It should be noted that each module in the offline detection system for wireless communication data collection devices described above can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a computer device memory in the form of software, so that the processor can call and execute the corresponding operations of each module.
[0067] In one embodiment, as shown in FIG3 , a method for detecting when a wireless communication data acquisition device is offline is provided, which is applied to the above-mentioned wireless communication data acquisition device offline detection system, and includes the following steps:
[0068] S11. In response to the establishment of communication between the host computer and the wireless communication adapter box, according to the preset wireless networking strategy, the host computer sends a power supply instruction for the acquisition device to the wireless communication adapter box; wherein, the preset wireless networking strategy can be understood as including the networking sequence (power-on sequence) of each wireless communication acquisition device to be tested, which is set in advance according to the test requirements, the timeout length of the networking request monitoring timer, the preset failure limit (the upper limit of the number of allowed networking failures), and other related networking parameters, etc., which need to be completed in advance on the host computer. The specific configuration and the selection of related parameter values are not specifically limited here. Correspondingly, the power supply instruction for the acquisition device includes a number of a wireless communication acquisition device to be tested, and the number of the wireless communication acquisition device to be tested is used to indicate the wireless communication acquisition device to be tested that is allowed to be powered on and networked by the current system of the wireless communication adapter box. It can be understood that the upper computer, based on the preset wireless networking strategy, uses the power supply instruction for the acquisition device to ensure that in each round of system networking, there is only one wireless communication acquisition device to be tested as the current wireless communication acquisition device to be networked, so as to avoid the wireless communication adapter box from having to perceive excessive processing of each wireless communication acquisition device when networking with multiple wireless communication acquisition devices at the same time, thereby improving networking efficiency.
[0069] The above-mentioned preset test logic can be understood as the function or performance test execution logic formulated according to the actual test requirements, including voltage acquisition accuracy test logic, temperature acquisition accuracy test logic, balancing function test logic and single acquisition channel leakage current test logic, etc. It can also be increased or decreased according to the adjustment of the test content in the actual scenario;
[0070] In actual applications, after the host computer establishes a communication connection with the wireless communication adapter box and the required test environment is deployed, the preset wireless networking strategy, preset test logic and other related parameters can be configured on the host computer, and the automated testing process including the two stages of automatic networking and executing test logic can be started according to the following method steps.
[0071] S12. According to the power supply instruction of the acquisition device, the wireless communication acquisition device to be currently networked is determined by the wireless communication adapter box, and a power supply operation is performed on the wireless communication acquisition device to be currently networked. Specifically, the step of determining the wireless communication acquisition device to be currently networked by the wireless communication adapter box and performing a power supply operation on the wireless communication acquisition device to be currently networked includes:
[0072] According to the power supply instruction of the acquisition device, the main chip control unit of the wireless communication adapter box determines the current wireless communication acquisition device to be networked, and generates a corresponding control instruction and sends it to the power switch matrix unit of the wireless communication adapter box;
[0073] According to the control instruction, the power supply switch matrix unit performs a power supply operation on the wireless communication acquisition device to be networked.
[0074] S13. When the wireless communication acquisition device to be networked is powered on, a wireless networking request is broadcasted through the wireless communication acquisition device to be networked, wherein the wireless networking request includes the MAC address information of the wireless communication acquisition device to be networked, so that the wireless communication adapter box interacts with the device according to the corresponding networking process based on the MAC address information.
[0075] S14. According to the wireless networking request and the preset networking process, the wireless communication adapter box completes wireless networking with the wireless communication collection device to be networked. The preset networking process can be determined according to actual application requirements and is not specifically limited here. Specifically, according to the wireless networking request and the preset networking process, the wireless communication adapter box completes wireless networking with the wireless communication collection device to be networked. The steps include:
[0076] According to the wireless networking request and the preset networking process, the main chip control unit of the wireless communication adapter box controls the completion of wireless networking with the wireless communication collection device to be networked. It should be noted that the specific networking process also requires the wireless communication transceiver unit to complete the wireless data transmission and reception of information exchange between the wireless communication adapter box and each wireless communication collection device to be tested. The specific wireless data transmitted and received is related to the actual networking process and is not specifically limited here.
[0077] Correspondingly, after the main chip control unit of the wireless communication adapter box controls the completion of the wireless networking with the wireless communication acquisition device to be networked, the method further includes:
[0078] The wireless communication adapter box sets the networking flag corresponding to the wireless communication collection device to be networked to a networking success, and generates corresponding networking success information according to the networking flag and sends it to the host computer; the networking success information includes the MAC address information and networking flag of the wireless communication collection device to be networked;
[0079] According to the networking success information and the preset wireless networking strategy, the host computer determines whether the networking of all the wireless communication acquisition devices to be tested is completed, and if it is determined that it is not completed, the host computer sends a power supply instruction for the next acquisition device to the wireless communication adapter box according to the preset networking strategy.
[0080] S15. When all the wireless communication data acquisition devices to be tested are networked, according to the preset test logic, the host computer sends a test instruction to the wireless communication adapter box to start the production offline test for each wireless communication data acquisition device to be tested.
[0081] In addition, considering that in actual networking scenarios, external factors such as network delays and interruptions may cause delays or losses in wireless networking requests or interactive information during the networking process. In order to avoid low networking efficiency caused by such factors, this embodiment preferably adopts a fault-tolerant mechanism that combines a single networking time limit with a certain number of networking executions. While ensuring the system networking efficiency, it can ensure that each wireless communication acquisition device under test with normal functions can successfully complete the networking test as soon as possible. That is, the method further includes:
[0082] When the wireless communication acquisition device to be networked is powered by the power switch matrix unit of the wireless communication adapter box, a networking request monitoring timer is started;
[0083] When the networking request monitoring timer times out and the wireless communication adapter box does not receive any wireless networking request, the power switch matrix unit of the wireless communication adapter box performs a power-off operation on the wireless communication acquisition device to be networked, sets the networking flag corresponding to the wireless communication acquisition device to be networked as a networking abnormality, and generates corresponding networking failure information and sends it to the host computer; the networking failure information includes the networking flag;
[0084] According to the networking failure information, the host computer updates the corresponding number of device networking failures, determines whether the updated number of device networking failures exceeds the preset failure upper limit, and when it is determined that it does not exceed, resends the corresponding acquisition device power supply instruction to the wireless communication adapter box.
[0085] It should be noted that the networking method provided in this application is not limited to the networking management of wireless communication data acquisition devices. Other similar products involving wireless communication can also use the above method to achieve efficient and rapid networking. Regarding the specific limitations of the offline detection method for wireless communication data acquisition devices, please refer to the above limitations of the offline detection system for wireless communication data acquisition devices. The corresponding technical effects can also be achieved, and will not be repeated here. In addition, although the various steps in the above flowchart are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders.
[0086] Figure 4 shows the internal structure of a computer device in one embodiment, which may specifically be a terminal or server. As shown in Figure 4, the computer device includes a processor, memory, a network interface, a display, a camera, and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When executed by the processor, the computer program implements a method for detecting offline wireless communication data acquisition devices. The display screen of the computer device may be a liquid crystal display or an electronic ink display. The input device of the computer device may be a touch screen covering the display screen, or may be buttons, a trackball, or a touchpad provided on the computer device housing, or may be an external keyboard, touchpad, or mouse.
[0087] Those skilled in the art will understand that the structure shown in FIG4 is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computing device may include more or fewer components than shown in the figure, or combine certain components, or have the same component arrangement.
[0088] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0089] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are implemented.
[0090] In summary, the embodiments of the present application provide a wireless communication data acquisition device offline detection system and method. In this system, a host computer issues data acquisition device power supply instructions and test instructions to a wireless communication adapter box according to a preset wireless networking strategy. The wireless communication adapter box controls the power-on sequence of the wireless communication data acquisition device under test according to the data acquisition device power supply instructions. After the wireless communication data acquisition device under test is powered on, the wireless communication data acquisition device under test broadcasts a wireless networking request to establish a network with the wireless communication adapter box. If no wireless networking request is received within a preset time period after powering on the wireless communication data acquisition device under test, the wireless communication data acquisition device under test is powered off, the wireless communication data acquisition device under test is powered off, the networking flag corresponding to the wireless communication data acquisition device under test is set to a networking anomaly, and corresponding networking failure information is generated and sent to the host computer. When the host computer determines that the number of device networking failures has not exceeded a preset failure limit, it resends the corresponding data acquisition device power supply instructions to the wireless communication adapter box until networking is successful or the preset failure limit is reached. When the wireless communication adapter box establishes a wireless network with the wireless communication acquisition device currently to be networked, the networking flag corresponding to the wireless communication acquisition device currently to be networked is set to networking success, and networking success information including the MAC address information and networking flag of the wireless communication acquisition device currently to be networked is generated based on the networking flag and sent to the host computer, so that the host computer can send a power supply instruction to the wireless communication adapter box according to the preset networking strategy until all the wireless communication acquisition devices to be tested are networked. Then, the host computer will send a test instruction to the wireless communication adapter box according to the preset test logic to start the production offline test for each wireless communication acquisition device to be tested. The above technical solution effectively solves the application defects of the existing offline detection system for wireless communication acquisition devices, not only effectively improving the networking efficiency of wireless communication acquisition devices in offline detection, but also providing reliable guarantees for the detection efficiency and product quality of wireless communication acquisition devices, and also ensuring the versatility and flexibility of offline testing, thereby avoiding safety issues, improving the offline detection efficiency of the production assembly line, and truly meeting the actual offline detection application needs.
[0091] Each embodiment in this specification is described in a progressive manner, and the same or similar parts of each embodiment can be directly referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. It should be noted that the various technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0092] The above-described embodiments merely represent several preferred implementations of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that a person skilled in the art could make several improvements and substitutions without departing from the technical principles of the present application, and such improvements and substitutions should also be considered within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be based on the scope of protection of the claims.
Claims
1. A downline detection system for a wireless communication acquisition device, comprising a host computer, a wireless communication adapter box, and multiple wireless communication acquisition devices to be tested; The host computer is configured to issue a power supply instruction and a test instruction for the acquisition device to the wireless communication adapter box according to a preset wireless networking strategy and a preset test logic; The wireless communication adapter box is configured to control the power-on sequence of the wireless communication acquisition devices to be tested according to the power supply instruction for the acquisition device, and after networking with all the wireless communication acquisition devices to be tested, control the wireless communication acquisition devices to be tested to complete the production downline test of all the wireless communication acquisition devices according to the test instruction; The wireless communication acquisition devices to be tested are configured to broadcast a wireless networking request to network with the wireless communication adapter box after power-on is completed, and after networking is completed, execute the production downline test according to the test instruction received by the wireless communication adapter box and the preset test logic.
2. The downline detection system for a wireless communication acquisition device according to claim 1, wherein, The preset test logic includes a voltage acquisition accuracy test logic, a temperature acquisition accuracy test logic, a balancing function test logic, and a leakage current test logic for the single-cell acquisition channel.
3. The downline detection system for a wireless communication acquisition device according to claim 1, wherein, The wireless communication adapter box includes a CAN communication conversion unit, a main chip control unit, a power switch matrix unit, a wireless communication transceiver unit, and a system power management unit; The CAN communication unit is configured to implement communication interaction between the host computer and the main chip control unit, and receive the power supply instruction and the test instruction sent by the host computer; The main chip control unit is configured to determine the currently to-be-networked wireless communication acquisition device according to the power supply instruction for the acquisition device, and generate a corresponding control instruction to send to the power switch matrix unit; It is also configured to complete wireless networking with the currently to-be-networked wireless communication acquisition device according to a preset networking process and the wireless networking request broadcast by the currently to-be-networked wireless communication acquisition device; The power switch matrix unit is configured to perform a power supply operation on the currently to-be-networked wireless communication acquisition device according to the control instruction of the main chip control unit; The wireless communication transceiver unit is configured for wireless data transceiver for wireless networking and information interaction between the wireless communication adapter box and each wireless communication acquisition device to be tested; The system power management unit is configured to supply power to the CAN communication conversion unit, the main chip control unit, the power switch matrix unit, and the wireless communication transceiver unit.
4. The downline detection system for a wireless communication acquisition device according to claim 3, wherein, The wireless communication adapter box is further configured to, after establishing wireless networking between the wireless communication adapter box and the currently to-be-networked wireless communication acquisition device, set the networking flag corresponding to the currently to-be-networked wireless communication acquisition device to networking success, and generate corresponding networking success information according to the networking flag to send to the host computer; the networking success information includes the mac address information and the networking flag of the currently to-be-networked wireless communication acquisition device; The host computer is further configured to determine whether all the to-be-tested wireless communication acquisition devices are networked successfully according to the network formation success information and the preset wireless network formation strategy, and when it is determined that the networking is not completed, send the next acquisition device power supply instruction to the wireless communication transfer box according to the preset network formation strategy.
5. The wireless communication acquisition device offline detection system according to claim 3, wherein, The wireless communication transfer box is further configured to start a network formation request monitoring timer when performing a power supply operation on the currently to-be-networked wireless communication acquisition device, and when the network formation request monitoring timer times out and no wireless network formation request is received, perform a power-off operation on the currently to-be-networked wireless communication acquisition device, set the network formation flag corresponding to the currently to-be-networked wireless communication acquisition device to network formation anomaly, and generate a corresponding network formation failure information and send it to the host computer; the network formation failure information includes a network formation flag; The host computer is further configured to update the corresponding device network formation failure times according to the network formation failure information, determine whether the updated device network formation failure times exceed a preset failure upper limit, and when it is determined that the upper limit is not exceeded, re-send the corresponding acquisition device power supply instruction to the wireless communication transfer box.
6. A wireless communication acquisition device offline detection method, applied to the wireless communication acquisition device offline detection system according to claim 1, the method comprises the following steps: In response to the communication establishment between the host computer and the wireless communication transfer box, according to the preset wireless network formation strategy, send an acquisition device power supply instruction to the wireless communication transfer box through the host computer; the acquisition device power supply instruction includes a to-be-tested wireless communication acquisition device number; According to the acquisition device power supply instruction, determine the currently to-be-networked wireless communication acquisition device through the wireless communication transfer box, and perform a power supply operation on the currently to-be-networked wireless communication acquisition device; When the currently to-be-networked wireless communication acquisition device finishes power-on, broadcast a wireless network formation request through the currently to-be-networked wireless communication acquisition device; The wireless network formation request includes the mac address information of the currently to-be-networked wireless communication acquisition device; According to the wireless network formation request and the preset network formation process, complete the wireless network formation with the currently to-be-networked wireless communication acquisition device through the wireless communication transfer box; When all the to-be-tested wireless communication acquisition devices are networked successfully, according to the preset test logic, send a test instruction to the wireless communication transfer box through the host computer to start the production offline test for each to-be-tested wireless communication acquisition device.
7. The wireless communication acquisition device offline detection method according to claim 6, wherein, The step of determining the currently to-be-networked wireless communication acquisition device through the wireless communication transfer box and performing a power supply operation on the currently to-be-networked wireless communication acquisition device comprises: According to the acquisition device power supply instruction, determine the currently to-be-networked wireless communication acquisition device through the main chip control unit of the wireless communication transfer box, and generate a corresponding control instruction and send it to the power switch matrix unit of the wireless communication transfer box; According to the control instruction, the power supply operation is performed on the currently to-be-networked wireless communication acquisition device through the power switch matrix unit.
8. The method for detecting the offline of a wireless communication acquisition device as described in claim 7, wherein, the step of performing wireless networking with the currently to-be-networked wireless communication acquisition device through the wireless communication transfer box according to the wireless networking request and the preset networking process includes: According to the wireless networking request and the preset networking process, the main chip control unit of the wireless communication transfer box controls to complete the wireless networking with the currently to-be-networked wireless communication acquisition device.
9. The method for detecting the offline of a wireless communication acquisition device as described in claim 8, wherein, after the step of controlling the main chip control unit of the wireless communication transfer box to complete the wireless networking with the currently to-be-networked wireless communication acquisition device, the method further includes: Setting the networking flag corresponding to the currently to-be-networked wireless communication acquisition device to networking success through the wireless communication transfer box, and generating corresponding networking success information according to the networking flag and sending it to the upper computer; the networking success information includes the mac address information and the networking flag of the currently to-be-networked wireless communication acquisition device; According to the networking success information and the preset wireless networking strategy, the upper computer determines whether all the to-be-tested wireless communication acquisition devices have completed networking, and when it is determined that they have not been completed, according to the preset networking strategy, sends the next acquisition device power supply instruction to the wireless communication transfer box.
10. The method for detecting the offline of a wireless communication acquisition device as described in claim 9, wherein, the method further includes: When the power switch matrix unit of the wireless communication transfer box supplies power to the currently to-be-networked wireless communication acquisition device, starting a networking request monitoring timer; When the networking request monitoring timer times out and the wireless communication transfer box does not receive any wireless networking requests, performing a power-off operation on the currently to-be-networked wireless communication acquisition device through the power switch matrix unit of the wireless communication transfer box, setting the networking flag corresponding to the currently to-be-networked wireless communication acquisition device to networking exception, and generating corresponding networking failure information and sending it to the upper computer; the networking failure information includes the networking flag; According to the networking failure information, the upper computer updates the corresponding device networking failure times, determines whether the updated device networking failure times exceed the preset failure upper limit, and when it is determined that they do not exceed, re-sends the corresponding acquisition device power supply instruction to the wireless communication transfer box.
Citation Information
Patent Citations
Wireless communication acquisition device offline detection system and method
CN117896769A
Offline detection system and method of blade electric vehicle
CN103528830A
Power battery pack offline detection method
CN115493647A
Battery, power utilization device, battery test system and battery test method
CN116130803A
Battery offline test system, battery production line and test method
CN117054877A