Battery mutual charging test method and device based on wireless communication, electronic equipment and storage medium
By using wireless communication and intelligent scheduling mechanisms, the problem of signal attenuation in traditional WiFi communication under high temperature environments has been solved, realizing the full-process wireless and automated battery mutual charging test, and improving the system's adaptability, stability and production efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGDONG LYRIC ROBOT INTELLIGENT AUTOMATION CO LTD
- Filing Date
- 2026-01-31
- Publication Date
- 2026-05-19
AI Technical Summary
Traditional WiFi communication suffers from severe signal attenuation and low communication efficiency in high-temperature environments, and is also costly. It is not suitable for large-scale, high-concurrency industrial control scenarios, especially in battery charging workshops where wireless communication equipment lacks stability and adaptability.
A battery cross-charging test method based on wireless communication is adopted. External information is obtained through the host computer, and the cross-charging control board of the lower computer is triggered to perform the process using a preset communication channel. The lower computer collects test data and collects the test data of the completed process using a polling method. After the test is completed, the outbound command is triggered to realize the wireless, automated and reliable control of the whole process.
It achieves full-process wireless and automated battery inter-charging testing, overcomes the limitations of traditional wired connections in mobile scenarios, ensures the timing and data integrity of multi-device communication in harsh environments, supports intelligent scheduling of test objects and efficient reuse of storage resources, and improves system adaptability, stability and production efficiency.
Smart Images

Figure CN122063471A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a battery cross-charging test method, apparatus, electronic device, and storage medium based on wireless communication. Background Technology
[0002] In the field of battery production and testing, the battery intercharging process requires the battery intercharging control board and its tray to move frequently between multiple storage locations. Traditional wired communication methods are unsuitable due to complex wiring and limited mobility, thus necessitating the use of wireless communication. However, the battery intercharging workshop environment is typically harsh, with vast spaces (storage heights can reach 17 meters) and high temperatures (above 70°C), placing high demands on the stability and adaptability of wireless communication equipment.
[0003] Currently, common WiFi communication methods suffer from severe signal attenuation and low communication efficiency in high-temperature environments, and the communication modules are expensive, making them unsuitable for large-scale, high-concurrency industrial control scenarios. Summary of the Invention
[0004] The main objective of this invention is to provide a battery cross-charging test method, apparatus, electronic device, and storage medium based on wireless communication, in order to solve at least one problem in the prior art. This invention can efficiently realize battery cross-charging test based on wireless communication.
[0005] To achieve the above objectives, one aspect of this invention proposes a battery cross-charging test method based on wireless communication, the method comprising:
[0006] External information from external systems is obtained through a host computer; these external systems include logistics systems. Based on external information, the host computer triggers the lower-level computer's mutual charging control board to perform the mutual charging process through a preset communication channel, and the lower-level computer collects test data of the mutual charging process. The host computer collects test data from the slave computer that has completed the mutual charging process through polling, and sends outbound instructions to the logistics system through the host computer. In response to the outbound command, the outbound operation of the mutual charging control board is executed and the communication channel is switched.
[0007] In some embodiments, external information is obtained from external systems, including logistics systems and MES. The external information includes logistics information and process information. Based on this external information, the host computer triggers the lower-level machine's mutual charging control board to perform the mutual charging process via a preset communication channel, including the following steps: The warehousing information of the mutual charging control board is determined by the logistics information of the logistics system; Based on the warehousing information, the host computer obtains process information from the MES and starts the target storage location; When the target storage location is successfully started, the lower-level machine corresponding to the target storage location responds to the process information transmitted by the upper-level machine and performs the preset mutual charging process on the mutual charging control board.
[0008] In some embodiments, based on the warehousing information, process information is obtained from the MES via a host computer and the target storage location is activated, including the following steps: Based on the warehousing information, a logistics start signal is sent to the host computer through the logistics system; the logistics start signal includes the pallet identification and warehousing location information, and the pallet is used to carry the mutual charging control board; The target storage location is determined based on the storage location information, and a communication link is established between the host computer and the slave computer at the target storage location based on a preset communication channel. The host computer retrieves barcode information from the logistics system based on the pallet barcode. Based on the barcode information, the process type corresponding to the inter-charging control board is determined, and the process information is obtained from the process interface of the MES by the host computer based on the process type. The process information is sent to the lower-level machine corresponding to the target storage location, and the storage location operation status of the target storage location is updated based on the lower-level machine's response.
[0009] In some embodiments, process information is sent to the lower-level machine corresponding to the target storage location, and the storage location operation status of the target storage location is updated based on the lower-level machine's response, including the following steps: Anomaly warning is triggered for the inter-fill control board placed in the target storage location. If an anomaly warning is triggered, the storage location's operating status is updated to "storage location abnormal"; otherwise, The process parameters corresponding to the process information are sent to the lower-level machine corresponding to the target storage location. If the sending fails, the storage location operation status of the target storage location is updated to "storage location abnormal"; otherwise, Mark the target storage location's storage location status as running and clear the historical test data bound to the target storage location from the lower-level machine; Send a start step to the lower-level machine corresponding to the target storage location. If the sending fails, send a stop step to the lower-level machine corresponding to the target storage location and update the storage location's operating status to "storage location abnormal". Otherwise... The startup process completes the startup of the target storage location.
[0010] In some embodiments, the lower-level computer periodically collects sampling data parameters from the mutual charging control board during the mutual charging process, and the upper-level computer collects test data from the lower-level computer after the mutual charging process is completed through polling, including the following steps: In response to the completion signal of the mutual charging process, the corresponding lower-level machine is put into the lower-level machine set, and all the sampling data parameters collected during the mutual charging process are encapsulated to obtain test data; The first lower-level machine in the set of lower-level machines is selected as the target lower-level machine. The host computer sends a sampling signal to the target slave computer, so that the target slave computer responds to the sampling signal and transmits test data back to the host computer. If the host computer receives the test data transmitted by the target slave computer in response to the sampling signal, the target slave computer is excluded from the set of slave computers. Take the next lower-level machine in the lower-level machine set as the target lower-level machine, and return to execute the step of sending the sampling signal to the target lower-level machine through the upper-level machine.
[0011] In some embodiments, each lower-level machine is initialized with a no-response flag. Before the step of selecting the next lower-level machine in the set of lower-level machines as the target lower-level machine, the method further includes the following steps: If the host computer receives a response from the target slave device to the sampling signal, it will clear the no-response flag of the target slave device. If the host computer does not receive a response from the target slave computer for the sampling signal, the no-response flag of the target slave computer will be incremented. When the number of no-response indicators reaches a preset threshold, the target lower-level device is marked as offline and removed from the lower-level device set.
[0012] In some embodiments, the method further includes the following steps: In response to the outbound command, the outbound operation of the inter-charge control board is executed and the communication channel is switched.
[0013] In some embodiments, the outbound instruction includes the storage location information corresponding to the lower-level machine that has completed test data acquisition. In response to the outbound instruction, the mutual charging control board performs an outbound operation and switches the communication channel, including the following steps: Based on the storage location information, the logistics system executes outbound actions on the corresponding storage location's mutual replenishment control panel; In response to the completion signal of the outbound action, the logistics system triggers outbound information and sends it to the host computer; the outbound information includes the pallet scheduling flow of the pallets outbound by the transport interconnection control board; Based on the pallet scheduling flow direction, the flow area of the mutual charging control board after leaving the warehouse is determined, and the target channel is matched based on the communication network of the flow area. Switch the communication link between the host computer and the slave computer corresponding to the completed outbound charging control board from the communication channel to the target channel; Among them, the communication channel is released to serve as a communication link between the lower-level machine and the upper-level machine for other lower-level machines to be tested for battery inter-charging.
[0014] To achieve the above objectives, another aspect of the present invention provides a battery cross-charging test device based on wireless communication, the device comprising: The first module is used to acquire external information; The second module is used to trigger the mutual charging control board of the lower computer to perform mutual charging process based on external information through a preset communication channel by the host computer, and to collect test data of the mutual charging process by the lower computer. The third module is used to collect test data from the lower-level machine that has completed the inter-charging process by means of a host computer through polling, and to trigger the outbound command of the inter-charging control board through the host computer.
[0015] In some embodiments, the apparatus further includes: The fourth module is used to respond to outbound instructions, execute outbound operations of the mutual charging control board, and switch communication channels.
[0016] To achieve the above objectives, another aspect of the present invention provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described method.
[0017] To achieve the above objectives, another aspect of the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method.
[0018] To achieve the above objectives, another aspect of the present invention provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0019] The embodiments of this invention include at least the following beneficial effects: This invention provides a battery cross-charging test method, device, electronic device, and storage medium based on wireless communication. This solution acquires external information; based on the external information, a host computer triggers the cross-charging control board of a slave device to perform the cross-charging process through a preset communication channel, and the slave device collects test data of the cross-charging process; the host computer collects the test data of the slave device that has completed the cross-charging process through a polling method, and triggers the outbound command of the cross-charging control board through the host computer. The embodiments of this invention can realize wireless, automated, and reliable control of the entire battery cross-charging test process. Specifically, the embodiments of this invention, through wireless communication, can overcome the limitations of traditional wired connections in mobile scenarios; in addition, the embodiments of this invention utilize a polling mechanism to ensure the timing and data integrity of multi-device communication in harsh workshop environments; triggering the outbound command of the cross-charging control board after the test is completed can effectively realize intelligent scheduling of test items and efficient reuse of test storage resources. The method of this invention significantly improves the adaptability, stability, and overall production efficiency of the system. Attached Figure Description
[0020] Figure 1This is a schematic diagram of an implementation environment for a battery cross-charging test method based on wireless communication provided in an embodiment of the present invention. Figure 2 This is a flowchart of a battery mutual charging test method based on wireless communication provided in an embodiment of the present invention; Figure 3 This is a schematic diagram illustrating the architectural principle of the battery cross-charging test method based on wireless communication provided in an embodiment of the present invention. Figure 4 This is a schematic diagram of the overall process of a battery mutual charging test method based on wireless communication provided in an embodiment of the present invention; Figure 5 This is a schematic diagram of the process for determining whether a polling device is offline, provided in an embodiment of the present invention. Figure 6 This is a schematic diagram of the host computer startup process provided in an embodiment of the present invention; Figure 7 This is a schematic diagram of the structure of a battery cross-charging test device based on wireless communication provided in an embodiment of the present invention; Figure 8 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of this invention; they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this invention as detailed in the appended claims.
[0022] It is understood that the terms "first," "second," etc., used in this invention may be used to describe various concepts, but unless specifically stated otherwise, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of embodiments of this invention, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the words "if" or "when" as used herein may be interpreted as "when," "in response to determination," or "in the event of a determination."
[0023] The terms “at least one,” “multiple,” “each,” “any,” etc., used in this invention, “at least one” includes one, two, or more than two; “multiple” includes two or more than two; “each” refers to each of the corresponding multiple; and “any” refers to any one of the multiple.
[0024] Unless otherwise defined, all technical and scientific terms used in this invention have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used in this invention is for descriptive purposes only and is not intended to limit the invention.
[0025] Among related technologies, the commonly used WiFi communication method suffers from severe signal attenuation and low communication efficiency in high-temperature environments, and the communication module is expensive, making it unsuitable for large-scale, high-concurrency industrial control scenarios.
[0026] In view of this, this invention provides a battery cross-charging test method, apparatus, electronic device, and storage medium based on wireless communication. This solution acquires external information; based on this information, a host computer triggers the cross-charging control board of a lower-level device to perform the cross-charging process via a preset communication channel, and the lower-level device collects test data of the cross-charging process; the host computer collects the test data of the lower-level device after the cross-charging process is completed via polling, and triggers the outbound command of the cross-charging control board via the host computer. This invention enables wireless, automated, and reliable control of the entire battery cross-charging test process. Specifically, this invention overcomes the limitations of traditional wired connections in mobile scenarios through wireless communication; furthermore, the polling mechanism ensures the timing and data integrity of multi-device communication in harsh workshop environments; triggering the outbound command of the cross-charging control board after testing effectively achieves intelligent scheduling of test items and efficient reuse of test storage resources. This invention significantly improves the system's adaptability, stability, and overall production efficiency.
[0027] It is understood that the battery cross-charging test method based on wireless communication provided by this invention can be applied to any computer device with data processing and computing capabilities, and this computer device can be various terminals or servers. When the computer device in the embodiment is a server, the server is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Optionally, the terminal can be a smartphone, tablet computer, laptop computer, or desktop computer, but it is not limited to these.
[0028] like Figure 1 The diagram shown is a schematic representation of an implementation environment provided by an embodiment of the present invention. (Refer to...) Figure 1 The implementation environment includes at least one terminal 102 and a server 101. The terminal 102 and the server 101 can be connected via a network, either wirelessly or via a wired connection, to complete data transmission and exchange.
[0029] Server 101 can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0030] Additionally, server 101 can also be a node server in a blockchain network. Blockchain is a novel application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms.
[0031] Terminal 102 can be a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smartwatch, etc., but is not limited to these. Terminal 102 and server 101 can be directly or indirectly connected via wired or wireless communication, and this embodiment of the invention does not impose any limitations.
[0032] For example, based on Figure 1 The implementation environment shown in this embodiment of the invention provides a battery cross-charging test method based on wireless communication. The following description uses the application of this battery cross-charging test method based on wireless communication in server 101 as an example. It can be understood that this battery cross-charging test method based on wireless communication can also be applied to terminal 102.
[0033] Reference Figure 2 , Figure 2 This is an optional flowchart of a battery mutual charging test method based on wireless communication provided in an embodiment of the present invention. The execution subject of the battery mutual charging test method based on wireless communication can be any of the aforementioned computer devices (including servers or terminals). Figure 2 The method may include, but is not limited to, steps S100 to S300.
[0034] S100, Obtain external information; For example, in some specific implementations, the system can connect to the logistics system in real time through a preset data interface to obtain the warehousing request information of the battery charging control board to be tested, including external information such as the pallet barcode and the target storage location number.
[0035] Specifically, the embodiments of the present invention can provide an accurate data foundation for subsequent inter-charging process scheduling through seamless integration with external systems, thereby improving the automation level of the system.
[0036] S200: Based on external information, the host computer triggers the lower-level computer's mutual charging control board to perform mutual charging process through a preset communication channel, and the lower-level computer collects test data of the mutual charging process. For example, in some specific implementations, the host computer can send a start command to the corresponding slave computer (inter-charging control board) through the LoRa communication module based on the acquired storage location information, thereby enabling the slave computer to start executing the preset inter-charging process and collect test data such as battery voltage, current, and temperature in real time.
[0037] Specifically, the embodiments of the present invention can realize wireless triggering and control of the charging process, thereby avoiding the limitations of wired connections and effectively adapting to mobile production scenarios.
[0038] It should be noted that the external information is obtained from external systems, including logistics systems and MES. The external information includes logistics information and process information. In some embodiments, based on the external information, the host computer triggers the inter-charging control board of the lower computer to perform the inter-charging process through a preset communication channel. This may include the following steps: determining the warehousing information of the inter-charging control board through the logistics information of the logistics system; based on the warehousing information, obtaining process information from the MES through the host computer and starting the target storage location; when the target storage location is successfully started, the lower computer corresponding to the target storage location responds to the process information transmitted by the host computer and performs the preset inter-charging process on the inter-charging control board.
[0039] For example, in some specific implementations, after the host computer obtains the pallet entry information from the logistics system, it can request the corresponding process parameters (such as charging current, voltage threshold, test duration, etc.) from the MES (Manufacturing Execution System) based on the pallet barcode, and start the target storage location according to the storage location status, and finally send the process information to the slave computer.
[0040] Specifically, the embodiments of the present invention can realize the linkage between logistics information and process information, which can ensure that each battery inter-charging control board can be tested according to its process requirements, thereby effectively improving the consistency and traceability of the process.
[0041] It should be noted that in some embodiments, the process of obtaining process information from the MES and activating the target storage location based on the warehousing information via the host computer may include the following steps: Based on the warehousing information, a logistics start signal is sent to the host computer via the logistics system; wherein, the logistics start signal includes the pallet identifier and warehousing location information of the pallet, and the pallet is used to transport the inter-charge control board; the target storage location is determined based on the warehousing location information, and a communication link is established between the host computer and the slave computer of the target storage location based on a preset communication channel; wherein, if the communication link fails to be established, an alarm is triggered to notify manual handling; the barcode information is obtained from the logistics system via the host computer based on the pallet barcode; the process type corresponding to the inter-charge control board is determined based on the barcode information, and the process interface is obtained from the MES via the host computer based on the process type to obtain process information; the process information is sent to the slave computer corresponding to the target storage location, and the storage location operation status of the target storage location is updated based on the slave computer's response.
[0042] For example, in some specific implementations, the logistics system can send a start signal containing a pallet barcode and warehouse location information to the host computer. The host computer can then locate the target warehouse location based on the location information and establish a LoRa communication link. Next, it can obtain the process type from the MES through the barcode information, and finally send the process parameters to the slave computer and update the warehouse location status based on the response.
[0043] Specifically, the embodiments of the present invention can realize full-process automation from logistics triggering to process issuance, effectively reducing manual intervention and thus improving production efficiency and system integration.
[0044] It should be noted that in some embodiments, sending process information to the lower-level machine corresponding to the target storage location and updating the storage location operation status based on the lower-level machine's response may include the following steps: performing anomaly warning judgment on the inter-charging control board placed in the target storage location; if an anomaly warning is triggered, updating the storage location operation status of the target storage location to storage location abnormal; otherwise, sending the process parameters corresponding to the process information to the lower-level machine corresponding to the target storage location; if the sending fails, updating the storage location operation status of the target storage location to storage location abnormal; otherwise, marking the storage location operation status of the target storage location as operating and clearing the historical test data bound to the target storage location in the lower-level machine; sending a start step to the lower-level machine corresponding to the target storage location; if the sending fails, sending a stop step to the lower-level machine corresponding to the target storage location and updating the storage location operation status of the target storage location to storage location abnormal; otherwise, completing the start of the target storage location in response to the start step.
[0045] For example, in some specific implementations, before starting the target storage location, the host computer first checks whether the voltage of the main battery cell is lower than the warning value. If a warning is issued, the storage location is marked as abnormal. If the voltage of the main battery cell is normal, the host computer sends out process parameters (including global process parameters and detailed process parameters). If the sending of process parameters fails, it is also marked as abnormal. If the sending of process parameters is successful, historical data is cleared and the start-up step is sent out. If the start-up fails, the stop step is sent out and the abnormality is marked.
[0046] Specifically, the embodiments of the present invention can realize a state-driven and exception-priority handling mechanism in the startup process, which can improve the security and reliability of the system and thus avoid production accidents caused by equipment malfunctions.
[0047] S300: The host computer collects test data from the slave computer that has completed the mutual charging process through polling, and sends outbound instructions to the logistics system through the host computer. For example, in some specific implementations, after the inter-charging process is completed, the host computer starts a polling mechanism to send sampling instructions to each slave computer in sequence to collect the test data stored therein, and sends an outbound instruction to the logistics system to notify it to schedule the pallet to drive the corresponding inter-charging control board out of the warehouse.
[0048] Specifically, the embodiments of the present invention collect data in an orderly manner through polling, which can avoid channel conflicts when multiple devices communicate simultaneously, thereby ensuring the integrity and timing of data collection.
[0049] It should be noted that during the mutual charging process, the lower-level machine periodically collects sampling data parameters from the mutual charging control board. In some embodiments, the upper-level machine collects test data from the lower-level machine that has completed the mutual charging process through a polling method. This may include the following steps: in response to the completion signal of the mutual charging process, the corresponding lower-level machine is added to the lower-level machine set; all sampling data parameters collected during the mutual charging process are encapsulated to obtain test data; the first lower-level machine in the lower-level machine set is designated as the target lower-level machine; a sampling signal is sent from the upper-level machine to the target lower-level machine, so that the target lower-level machine responds to the sampling signal and transmits test data back to the upper-level machine; if the upper-level machine receives the test data transmitted in response to the sampling signal from the target lower-level machine, the target lower-level machine is removed from the lower-level machine set; the next lower-level machine in the lower-level machine set is designated as the target lower-level machine, and the process returns to execute the step of sending a sampling signal from the upper-level machine to the target lower-level machine.
[0050] For example, in some specific implementations, after the inter-charging process is completed, the lower-level machine first packages the collected test data, and then the upper-level machine sends sampling instructions to each lower-level machine in turn through polling to receive the data packets fed back by them. After the data collection is completed, the data is removed from the list to be collected.
[0051] Specifically, the embodiments of the present invention, through ordered polling and data packaging mechanisms, can ensure stable data transmission in a half-duplex communication environment, effectively improving the communication efficiency and reliability of the system.
[0052] It should be noted that each lower-level machine is initialized with a no-response flag. In some embodiments, the upper-level machine collects test data from the lower-level machine that has completed the inter-charging process through polling. This may include the following steps: in response to the completion signal of the inter-charging process, the corresponding lower-level machine is added to the lower-level machine set; all sampled data parameters collected during the inter-charging process are encapsulated to obtain test data; the first lower-level machine in the lower-level machine set is designated as the target lower-level machine; and the upper-level machine sends a sampling signal to the target lower-level machine, so that the target lower-level machine responds to the sampling signal and transmits test data back to the upper-level machine. Data; if the host computer receives test data transmitted in response to the target slave device for the sampling signal, it removes the target slave device from the slave device set and clears the no-response flag of the target slave device; if the host computer does not receive a response to the sampling signal from the target slave device, it increments the no-response flag of the target slave device; when the no-response flag reaches a preset threshold, the target slave device is marked as offline and removed from the slave device set; the next slave device in the slave device set is selected as the target slave device, and the process returns to the step of sending the sampling signal to the target slave device through the host computer.
[0053] For example, in some specific implementations, each lower-level device initializes a no-response counter. When the upper-level device polls, it clears the counter if a response is received, and increments it if no response is received. The counter is then used to determine the device's status. When a preset threshold is reached (e.g., three consecutive no-response responses), the device is determined to be offline and removed from the polling list.
[0054] Specifically, the embodiments of the present invention can avoid equipment misjudgment as offline due to transient signal interference, thereby effectively improving the robustness and fault tolerance of the system in harsh environments.
[0055] In some embodiments, the method may further include step S400, in response to the outbound command, executing the outbound operation of the mutual charging control board and switching the communication channel; For example, in some specific implementations, after the logistics system performs the outbound operation, it sends an outbound completion signal to the host computer. The host computer can switch to the corresponding LoRa communication channel according to the outbound target area (such as the sorting area or the packaging area) to release the original channel for use by other storage locations.
[0056] Specifically, the embodiments of the present invention can realize dynamic management and multiplexing of channels, thereby improving the utilization rate of communication resources and supporting multi-region, multi-task parallel processing.
[0057] It should be noted that the outbound instruction includes the storage location information corresponding to the lower-level machine that has completed the test data collection. In some embodiments, step S400 may include the following steps: based on the storage location information, the logistics system executes an outbound action on the inter-charging control board of the corresponding storage location; in response to the completion signal of the outbound action, the logistics system triggers outbound information and sends it to the upper-level machine; wherein, the outbound information includes the pallet scheduling flow direction of the pallet carrying the inter-charging control board outbound; based on the pallet scheduling flow direction, the flow direction area after the inter-charging control board is outbound is determined, and the target channel is matched based on the communication network of the flow direction area; the communication link between the upper-level machine and the lower-level machine corresponding to the outbound inter-charging control board is switched from the communication channel to the target channel; wherein, the communication channel is released for use as a communication link between the upper-level machine and other lower-level machines to be tested for battery inter-charging.
[0058] For example, in some specific implementations, the host computer notifies the logistics system to execute the outbound shipment based on the storage location information in the outbound instruction; after the outbound shipment is completed, it further switches to the corresponding communication channel according to the flow area of the pallet (such as the quality inspection area or the rework area) to release the original channel for use by other devices.
[0059] Specifically, the embodiments of the present invention can realize dynamic allocation and regional management of channel resources, support parallel operation of multiple working areas, and thus effectively improve the overall scheduling efficiency and communication quality of the system.
[0060] To explain in detail the principle of the technical solution of the present invention, the overall process of the present invention will be described below with reference to some specific embodiments. It is easy to understand that the following is an explanation of the technical principle of the present invention and should not be regarded as a limitation of the present invention.
[0061] First, it should be noted that LoRa (Long Range) communication technology is gradually being applied in the Industrial Internet of Things (IIoT) due to its low power consumption, long-distance transmission, and strong anti-interference capabilities. However, in battery charging systems, achieving efficient and reliable half-duplex communication between the host and slave devices based on LoRa, especially under conditions of multiple devices, high concurrency, and frequent movement, still faces challenges such as communication conflicts, device offline misjudgment, and complex startup procedures, affecting the overall reliability and production efficiency of the system.
[0062] Therefore, embodiments of the present invention provide a battery cross-charging test method based on wireless communication, such as... Figure 3 and Figure 4 As shown: The mutual charging control board uses wireless communication to achieve communication between the host computer and the slave computer (mutual charging control board). It adopts a half-duplex information exchange method, which can be implemented through the following steps: 1. Its host computer connects to the logistics system and MES (Manufacturing Execution System) to receive logistics information and process information; the slave computer is used to detect the battery data in the storage location and send it to the host computer, and execute the instructions issued by the host computer. The sampling frequency setting can be set in the sampling cycle of the process editing software; the lower-level machine sampling data parameters can include: process running time, battery current, battery voltage, port voltage, process step number, process step type, process step record event, total capacity, mother cell voltage, MOSFET temperature, mutual charging control board ID, channel number, running process, tray barcode, and cell barcode. 2. The host computer sends instructions to the slave computer to perform the mutual charging process; 3. After the mutual charging process is completed, the lower-level machine stops the mutual charging operation. When the upper-level machine polls the lower-level machine that has completed the process, it sends an outbound instruction to the logistics system and uploads the data to the local database. 4. After the outbound action is completed, the host computer is notified of the outbound information, and the host computer switches channels according to the outbound information.
[0063] Specifically, the LoRa communication control system for battery charging can achieve a balance between cost and reliability in harsh workshop environments where charging processes are relatively demanding, enabling stable control and querying of multiple connected devices. In some optional implementations, the lower-level machine can integrate a LoRa module, such as model E22-400T22s; frequency band: 410.125MHz to 493.125MHz.
[0064] In some optional embodiments, the present invention can also achieve the following auxiliary innovations as auxiliary technical means: Supporting innovation point 1: Data sampling is performed using a polling method; Technical Points: Since LoRa communication is a half-duplex communication method, it employs polling from the host computer to the slave computer to achieve information communication. Specifically, the host computer sequentially sends sampling commands, the slave computer receives the command and sends back data, and the host computer then performs the same operation on the next slave computer after receiving the data. This polling sampling continues to run continuously in the system, stopping when other commands are executed, and resuming polling after the other commands are completed. Technical benefits: Maintains the stability of the half-duplex channel, and keeps the communication process controllable and predictable.
[0065] Supporting innovation point 2: Device offline detection; Technical point association: The device is considered offline only if there is no response after multiple polling attempts. Figure 5As shown: When the host computer polls the slave device, it sends multiple signals (i.e., sampling signals, which can be set to 3 to 5 times; specifically, the number of signals can be adjusted according to actual needs in practical applications). If there is no response, the host computer marks the slave device but does not determine that it is offline, while continuing to poll. If the host computer reaches the slave device in several polls and still does not respond after multiple queries, the device is determined to be offline. For devices supporting intelligent control, the sampling polling will be paused upon the issuance of an emergency command; sampling polling will resume after the emergency command is issued and a response is received.
[0066] Technical benefits: The mutual charging process workshop is subject to numerous environmental interferences and is quite large, making it prone to signal transmission distortion and other problems. If a device is judged to be offline after only one missed response, it will significantly impact production. This method can improve the robustness of the system.
[0067] Third auxiliary innovation: Packet sending interval control; Technical points: Since LoRa communication is a half-duplex communication mode, the timing of packet transmission by the host computer needs to be controlled by the program settings: that is, after the host computer sends a packet to the slave computer, it can only send the next packet after receiving the data packet returned by the slave computer or after a timeout; when an emergency command (such as emergency stop) occurs, it is necessary to wait for a return signal before issuing the emergency command.
[0068] Technical effect: Avoids signal loss caused by signal collisions in the communication channel.
[0069] Supporting innovation point 4: Host computer startup process; Technical related points: host computer startup process, such as... Figure 6 As shown: Sequentially determine whether the main battery cell has triggered an early warning (main battery cell power shortage warning, the warning value is set in the host computer software), whether the global process parameters have been successfully sent, and whether the step parameters have been successfully sent; if there is a failure to send or an early warning in the above steps, update the storage location abnormal information; if the above steps are successful, mark the storage location status as running and send the start step; if the start step fails to send, change the storage location status to false and update the storage location abnormal information.
[0070] Technical benefits: state-driven, exception-prioritized, traceable, and highly secure.
[0071] In summary, this invention comprehensively improves the adaptability, reliability, and efficiency of the battery inter-charging test system through wireless communication and intelligent scheduling mechanisms. Specifically, in high-temperature, large-space workshop environments, this invention can achieve orderly communication among multiple devices through half-duplex polling, effectively avoiding signal conflicts and ensuring the integrity and timing of data transmission. The system features a state-driven startup process and an anomaly priority handling mechanism, significantly enhancing operational safety and system robustness. Furthermore, through the automatic linkage of logistics and process information, the entire testing process can be traced and automatically controlled. Moreover, based on the dynamic switching of communication channels according to the outbound flow, intelligent reuse and regional management of channel resources can be achieved, supporting multi-task parallel processing and optimizing communication resource utilization. Overall, this invention achieves an effective balance between cost, stability, and production efficiency in harsh industrial environments.
[0072] like Figure 7 As shown, this embodiment of the invention also provides a battery cross-charging test device 900 based on wireless communication, which may include: The first module 910 is used to acquire external information; The second module 920 is used to trigger the mutual charging control board of the lower computer to perform mutual charging process based on external information by using the host computer through a preset communication channel, and to use the lower computer to collect test data of the mutual charging process. The third module 930 is used to collect test data from the lower-level machine that has completed the mutual charging process through polling by the host computer, and to trigger the outbound command of the mutual charging control board through the host computer. In some embodiments, the apparatus may further include: The fourth module is used to respond to outbound instructions, execute outbound operations of the mutual charging control board, and switch communication channels.
[0073] The content of the method embodiments of the present invention is applicable to the device embodiments. The specific functions implemented by the device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above methods.
[0074] This invention also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the aforementioned battery cross-charging test method based on wireless communication. This electronic device can be any smart terminal, including tablet computers, in-vehicle computers, etc.
[0075] It is understood that the content of the above method embodiments is applicable to this device embodiment. The specific functions implemented by this device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0076] Please see Figure 8 , Figure 8 The hardware structure of an electronic device 1000 according to another embodiment is illustrated. The electronic device 1000 includes: The processor 1001 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present invention. The memory 1002 can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 1002 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1002 and is called and executed by the processor 1001 to execute the battery cross-charging test method based on wireless communication of the embodiments of this invention. Input / output interface 1003 is used to implement information input and output; The communication interface 1004 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). Bus 1005 transmits information between various components of the device (e.g., processor 1001, memory 1002, input / output interface 1003, and communication interface 1004); The processor 1001, memory 1002, input / output interface 1003 and communication interface 1004 are connected to each other within the device via bus 1005.
[0077] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the aforementioned battery cross-charging test method based on wireless communication.
[0078] It is understood that the content of the above method embodiments is applicable to this storage medium embodiment. The specific functions implemented in this storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.
[0079] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0080] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0081] It is understood that the content of the above method embodiments is applicable to the embodiments of this program product. The specific functions implemented by the embodiments of this program product are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0082] The battery cross-charging test method, device, electronic equipment, and storage medium based on wireless communication provided in this invention embodiment acquire external information; based on this external information, a host computer triggers the cross-charging control board of a slave device to perform the cross-charging process through a preset communication channel, and the slave device collects test data of the cross-charging process; the host computer collects the test data of the slave device after the cross-charging process is completed through a polling method, and triggers the outbound command of the cross-charging control board through the host computer. This invention embodiment can achieve wireless, automated, and reliable control of the entire battery cross-charging test process. Specifically, this invention embodiment overcomes the limitations of traditional wired connections in mobile scenarios through wireless communication; furthermore, this invention embodiment utilizes a polling mechanism to ensure the timing and data integrity of multi-device communication in harsh workshop environments; triggering the outbound command of the cross-charging control board after the test is completed can effectively realize intelligent scheduling of test items and efficient reuse of test storage space resources. This invention method significantly improves the adaptability, stability, and overall production efficiency of the system.
[0083] The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present invention. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and spirit of the present invention should be within the scope of the claims of the present invention.
Claims
1. A battery cross-charging test method based on wireless communication, characterized in that, Includes the following steps: Obtain external information; Based on the external information, the host computer triggers the inter-charging control board of the slave computer to perform the inter-charging process through a preset communication channel, and the slave computer collects the test data of the inter-charging process. The host computer collects the test data of the slave computer that has completed the inter-charging process through a polling method, and triggers the outbound command of the inter-charging control board through the host computer.
2. The battery cross-charging test method based on wireless communication according to claim 1, characterized in that, The lower-level machine periodically collects sampling data parameters from the mutual charging control board during the mutual charging process. The step of using the upper-level machine to collect the test data of the lower-level machine after completing the mutual charging process via polling includes the following steps: In response to the completion signal of the mutual charging process, the corresponding lower-level machine is placed into the lower-level machine set, and all the sampling data parameters collected during the mutual charging process are encapsulated to obtain the test data; The first lower-level machine in the set of lower-level machines is taken as the target lower-level machine; The host computer sends a sampling signal to the target slave computer, so that the target slave computer responds to the sampling signal and transmits the test data back to the host computer. If the host computer receives the test data transmitted by the target slave computer in response to the sampling signal, the target slave computer is excluded from the set of slave computers. The next lower-level machine in the set of lower-level machines is selected as the target lower-level machine, and the process returns to the step of sending the sampling signal to the target lower-level machine through the host machine.
3. The battery cross-charging test method based on wireless communication according to claim 2, characterized in that, Each of the lower-level machines is initialized with a no-response flag. Before the step of selecting the next lower-level machine in the set of lower-level machines as the target lower-level machine, the method further includes the following steps: If the host computer receives the response from the target slave computer to the sampled signal, it clears the no-response flag of the target slave computer. If the host computer does not receive a response from the target slave computer for the sampled signal, the no-response flag of the target slave computer is incremented. When the no-response flag reaches a preset threshold, the target lower-level machine is marked as offline and excluded from the lower-level machine set.
4. The battery cross-charging test method based on wireless communication according to claim 1, characterized in that, The external information is obtained from external systems, including logistics systems and MES. The external information includes logistics information and process information. Based on the external information, the upper computer triggers the lower computer's mutual charging control board to perform the mutual charging process through a preset communication channel, including the following steps: The warehousing information of the inter-charge control board is determined by the logistics information of the logistics system. Based on the warehousing information, the host computer obtains the process information from the MES and starts the target storage location; When the target storage location is successfully started, the lower-level machine corresponding to the target storage location responds to the process information transmitted by the upper-level machine and performs the preset inter-charging process on the inter-charging control board.
5. The battery mutual charging test method based on wireless communication according to claim 4, characterized in that, The process of obtaining the process information from the MES via the host computer and activating the target storage location based on the warehousing information includes the following steps: Based on the warehousing information, the logistics system sends a logistics start signal to the host computer; wherein, the logistics start signal includes the pallet identifier and warehousing location information of the pallet, and the pallet is used to carry the inter-charge control board; Based on the inbound location information, the target storage location is determined, and a communication link is established between the host computer and the slave computer of the target storage location based on the preset communication channel. The host computer obtains barcode information from the logistics system based on the pallet barcode. Based on the barcode information, the process type corresponding to the inter-charging control board is determined, and the process information is obtained from the process interface of the MES by the host computer based on the process type. The process information is sent to the lower-level machine corresponding to the target storage location, and the storage location operation status of the target storage location is updated based on the sending response from the lower-level machine.
6. The battery mutual charging test method based on wireless communication according to claim 5, characterized in that, The step of sending the process information to the lower-level machine corresponding to the target storage location, and updating the storage location operation status of the target storage location based on the sending response from the lower-level machine, includes the following steps: An anomaly warning is performed on the inter-charge control board placed in the target storage location. If the anomaly warning is triggered, the storage location operation status of the target storage location is updated to "storage location abnormal"; otherwise, The process parameters corresponding to the process information are sent to the lower-level machine corresponding to the target storage location. If the sending fails, the storage location operation status of the target storage location is updated to "storage location abnormal"; otherwise... The operating status of the target storage location is marked as "operating status", and the historical test data bound to the target storage location in the lower-level machine is cleared. A start step is sent to the lower-level machine corresponding to the target storage location. If the sending fails, a stop step is sent to the lower-level machine corresponding to the target storage location and the storage location operation status of the target storage location is updated to the storage location abnormal. Otherwise, the target storage location is started in response to the start step.
7. The battery cross-charging test method based on wireless communication according to claim 1, characterized in that, The method further includes the following steps: In response to the outbound command, the outbound operation of the inter-charge control board is executed and the communication channel is switched.
8. The battery mutual charging test method based on wireless communication according to claim 7, characterized in that, The outbound instruction includes the storage location information corresponding to the lower-level machine after the test data acquisition is completed. The step of responding to the outbound instruction by executing the outbound operation of the mutual charging control board and switching the communication channel includes the following steps: Based on the storage location information, the logistics system executes an outbound action on the inter-fill control panel of the corresponding storage location; In response to the completion signal of the outbound action, the logistics system triggers outbound information and sends it to the host computer; wherein, the outbound information includes the pallet scheduling flow of the pallet carrying the inter-charge control board outbound; Based on the pallet scheduling flow direction, the flow direction area of the mutual charging control board after leaving the warehouse is determined, and the target channel is matched based on the communication network of the flow area; The communication link between the host computer and the slave computer corresponding to the mutual charging control board that completes the outbound process is switched from the communication channel to the target channel; The communication channel is released to serve as a communication link between the lower-level machine and the upper-level machine for other battery inter-charging tests.
9. A battery cross-charging test device based on wireless communication, characterized in that, The device includes: The first module is used to acquire external information; The second module is used to trigger the mutual charging control board of the lower-level machine to perform mutual charging process based on the external information by using the host computer through a preset communication channel, and to use the lower-level machine to collect test data of the mutual charging process. The third module is used to collect the test data of the lower-level machine that has completed the mutual charging process by means of the host computer through polling, and to trigger the outbound command of the mutual charging control board through the host computer.
10. An electronic device, characterized in that, The electronic device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the method according to any one of claims 1 to 8.
11. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 8.