Method and system for intercepting missed burning
By using scanning equipment and automated management via MES server in BMS board production, the problems of low efficiency and errors in BMS board programming were solved, achieving efficient and accurate programming process management and ensuring product quality and production transparency.
Patent Information
- Application Number
- CN202510896070.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-10-17
AI Technical Summary
Existing BMS board programming methods are inefficient and prone to errors. Manual visual inspection is susceptible to visual fatigue and human error, while performance testing is time-consuming and may not be able to detect missed programming in time.
The BMS board is scanned using a scanning device to start the programming process. The programming result is recorded by the MES server, and the board is scanned again before proceeding to the next step to ensure that the programming is successful. This process utilizes the efficient data processing capabilities of the MES system to achieve automated management.
It significantly improves production efficiency and quality control, reduces human error, ensures production continuity and product quality, and provides comprehensive traceability and transparency.
Smart Images

Figure CN120806622A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of battery production, and specifically relates to a method and system for intercepting missed burning. BACKGROUND
[0002] In the current battery production process, the burning of BMS (Battery Management System) boards is a crucial step. This process involves writing protection parameters and calibration coefficients to the BMS board to ensure that it can correctly monitor and manage the working state of the battery pack. Existing BMS board burning methods mainly include two types: one is to manually mark the successfully burned BMS boards and perform manual visual inspection in the next process; the other is to detect missed burning through BMS performance testing. However, both methods have obvious shortcomings.
[0003] One of the main problems existing in the prior art is low efficiency and prone to errors. The manual visual inspection marking method is extremely prone to visual fatigue, which can lead to human errors and affect product quality. The method of detecting missed burning through performance testing requires a long time to complete the testing of a specific project, which not only wastes valuable production resources, but also may not be able to timely detect all missed burning cases due to insufficient test coverage. SUMMARY
[0004] The purpose of the present application is to provide a method and system for intercepting missed burning, which not only greatly reduces the error risk caused by manual intervention, but also makes the entire process more rapid and accurate due to the high data processing capability of the MES system, effectively avoiding product quality problems caused by missed burning.
[0005] To achieve the above-mentioned purpose, the present application adopts the following technical solution: a method for intercepting missed burning, comprising the following steps: In the production process of the BMS board, a scanning device is used to scan the BMS board to start the burning program; the burning program is executed according to the information of the BMS board to write protection parameters and calibration coefficients to the scanned BMS board; it is judged whether the burning is successful: when the burning is successful, the burning result, the corresponding BMS code number and the device number are uploaded to the MES server, and the BMS board with the passed status is recorded in the MES server; before entering the next process, the scanning device is used again to scan the two-dimensional code of the BMS board with the passed status, and the MES server obtains the burning result corresponding to the two-dimensional code; it is judged whether the burning result is passed: if the burning result is passed, the verified BMS board is allowed to enter the next process; otherwise, the burning operation is performed again.
[0006] Preferably, the scanning device is used to scan the BMS board to start the burning program, which includes: After the scanning device is activated, it first initializes its optical sensor and decoder, preparing to read the two-dimensional code or barcode on the BMS board; When the BMS board is placed within the reading range of the scanning device, the scanning device illuminates the two-dimensional code or barcode with its built-in light source and captures an image through the optical sensor; The captured image is transmitted to the decoder of the scanning device for analysis and processing, identifying and converting it into a digital signal to parse the information in the two-dimensional code or barcode; The parsed information is then sent to the control system as the basis for starting the burning program.
[0007] Preferably, the protection parameters and calibration coefficients are written into the scanned BMS board, including: After successfully scanning the two-dimensional code or barcode of the BMS board, the specific model and specifications of the scanned BMS board are determined according to the scanning results, and the corresponding protection parameters and calibration coefficients are retrieved from the preset database; The system verifies the compatibility between the scanned BMS board and the protection parameters and calibration coefficients to be written; Through a programming interface or a dedicated burning tool, the verified protection parameters and calibration coefficients are written into the storage area of the scanned BMS board, while the writing process is monitored; After the writing is completed, the system automatically performs a preliminary verification operation to confirm whether the protection parameters and calibration coefficients are correctly written into the scanned BMS board; if the verification fails, the error information is recorded and the BMS board is marked as needing to be re-burned.
[0008] Preferably, when the burning result is determined to be unsuccessful, after the MES server receives the result of the BMS board that failed to burn, it immediately marks the status of the BMS board as needing to be re-burned and records the corresponding error code and description in the system; the system sends an alarm notification to the operator to indicate that there is one or more BMS boards that failed to successfully burn and provides specific location information; the operator checks the BMS board marked as needing to be re-burned according to the alarm notification and confirms whether the parameters need to be adjusted or the hardware problem needs to be repaired before re-burning operation; after the adjustment or repair is completed, the scanning device is used again to scan the BMS board to restart the burning program.
[0009] Preferably, the determination of whether the burning is successful also includes: if the burning is not successfully completed, no record of passing status is generated, and the MES server marks the BMS board as needing to be re-burned.
[0010] Preferably, the MES server is also used to screen all BMS boards that fail the burning check, specifically including: Periodically scanning and screening all BMS boards recorded as non-passing status of burning result by the MES server; generating a list containing all BMS boards failing to pass the burning check.
[0011] In another aspect, the present application provides a system for intercepting missed burning, comprising: A scanning device for scanning the BMS board to start the burning program; A burning control module in communication with the scanning device, for retrieving and writing the corresponding protection parameters and calibration coefficients into the scanned BMS board according to the information obtained by scanning; A judging module for judging whether the burning is successful and generating a passing status record when it is successful; An MES server for receiving and storing the burning result, BMS code number and equipment number information, and verifying the burning result of the BMS board with recorded passing status before entering the next process; A process control module for allowing the verified BMS board to enter the next process after confirming that the burning result is passing; otherwise, triggering the re-burning process.
[0012] Preferably, the scanning device comprises an optical sensor, a decoder and a light source assembly, wherein: The scanning device initializes its optical sensor and decoder after activation; When the BMS board enters the reading range, the light source assembly illuminates the two-dimensional code or bar code, the optical sensor captures the image and the decoder analyzes the digital signal; The analyzed information is transmitted to the control system to start the burning program.
[0013] Preferably, the MES server is further configured with an error handling module, when detecting the BMS board failing to pass the burning: Automatically marking the BMS board as needing to be re-burned; Sending an alarm notice to the operation terminal and providing specific location information.
[0014] Preferably, the MES server is further configured with a data screening module for periodically scanning the burning records of all BMS boards, automatically screening the BMS boards with non-passing status of burning result, and generating a list containing all BMS boards failing to pass the burning check.
[0015] The technical effects and advantages of the present application: the method and system for intercepting missed burning proposed by the present application have the following advantages compared with the prior art: The present application first starts the burning program by scanning the BMS board with a scanning device, and writes the protection parameters and calibration coefficients to the corresponding BMS board. Then, after the burning is successful, the relevant data is uploaded to the MES server and recorded as a pass state. Before entering the next process, the BMS board information recorded with the pass state is read again by the scanning device, and the burning result is verified by the MES server. If the verification is passed, the BMS board is allowed to enter the next process; otherwise, the re-burning process is triggered; the production efficiency and quality control level are significantly improved. Through the automatic mode, the whole process management from burning to verification is realized, not only greatly reducing the error risk caused by manual intervention, but also due to the high efficient data processing ability of the MES system, the whole process is more rapid and accurate, effectively avoiding the product quality problems caused by missing burning. In addition, this method can also track the state change of each BMS board in real time, provide comprehensive traceability, and further enhance the transparency and reliability of production. BRIEF DESCRIPTION OF DRAWINGS
[0016] Figure 1 The method for intercepting missing burning of the present application is a flow chart; Figure 2 The system block diagram for intercepting missing burning of the present application. DETAILED DESCRIPTION
[0017] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. The specific embodiments described herein are only used to explain the present application, and are not used to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0018] The present application provides a method for intercepting missing burning as shown in Figure 1 The method comprises the following steps: Step one: in the production process of the BMS board, the scanning device is used to scan the code on the BMS board to start the burning program; specifically including: After the scanning device is activated, the optical sensor and decoder are first initialized to prepare to read the two-dimensional code or bar code on the BMS board; the initialization process reduces the risk of reading failure or incorrect identification due to the device not being ready, and improves the stability and reliability of the whole process.
[0019] When the BMS board is placed within the reading range of the scanning device, the scanning device illuminates the two-dimensional code or barcode with a built-in light source and captures the image through an optical sensor; the design of the built-in light source ensures that the image of the two-dimensional code or barcode can be clearly captured even in insufficient light, avoiding reading failures due to light problems.
[0020] The captured image is transmitted to the decoder of the scanning device for analysis and processing, and is recognized and converted into a digital signal to parse the information in the two-dimensional code or barcode; efficient image analysis and decoding algorithms can quickly and accurately convert image information into digital signals that can be used by the system, greatly improving information processing speed and accuracy.
[0021] The parsed information is then sent to the control system as the basis for starting the burning program. By sending the parsed information to the control system in a timely and accurate manner, it is ensured that the burning program is only started after the correct BMS board information is obtained. This method not only improves the response speed of the system, but also enhances the safety and accuracy of the operation, preventing operation errors caused by mismatched or delayed information, thereby ensuring the continuity of production and product quality.
[0022] Step two: the burning program starts to execute according to the information of the BMS board obtained, and the protection parameters and calibration coefficients are written into the scanned BMS board; specifically, it includes: After successfully scanning the two-dimensional code or barcode of the BMS board, the specific model and specifications of the scanned BMS board are determined according to the scanning results, and the corresponding protection parameters and calibration coefficients are retrieved from the preset database; the two-dimensional code / barcode on the BMS board contains a unique identifier (such as a serial number, model number, etc.), and the system queries the corresponding configuration parameters in the local or MES server connected preset database by analyzing the identifier. The database stores the protection parameters (such as overvoltage, undervoltage, and overcurrent thresholds) and calibration coefficients (such as voltage and current sampling gain) required for different models of BMS boards, specifically: The two-dimensional code or barcode area is separated from the complex background by Otsu's Method to improve the success rate and accuracy of subsequent decoding. Otsu's Method is a method of automatically selecting image threshold for binary processing. It is based on finding a threshold T that divides the image into foreground and background parts and maximizes the inter-class variance between the two parts, as follows: ;
[0023] where, and are the weights of the foreground and background, and are their average gray values, is the global average gray value.
[0024] The system verifies the compatibility between the scanned BMS board and the required protection parameters and calibration coefficients. The system performs a data consistency check before writing, comparing the current BMS board model with the parameters to be written, which may involve multi-dimensional compatibility judgment such as software version, hardware version, communication protocol, etc. Usually, it is realized through CRC check, version number matching or rule engine.
[0025] Specifically, using SHA-256 can ensure the integrity and consistency of protection parameters and calibration coefficients during transmission. Any tampering with the original data will result in a different hash value, making it easy to detect. SHA-256 is a cryptographic hash function that accepts messages of arbitrary length as input and generates a fixed-length (256-bit) hash value.
[0026] Through a programming interface or a dedicated burning tool, the verified protection parameters and calibration coefficients are written into the storage area of the scanned BMS board, while the writing process is monitored; a standard communication protocol (such as CAN, UART, I²C) or a dedicated burner (such as J-Link, ST-LINK) is used to establish a connection with the BMS board, and the burning process is controlled by the host computer software. During the writing process, real-time monitoring of communication status, writing address offset, data integrity, etc. is performed.
[0027] After writing is completed, the system automatically performs a preliminary verification operation to confirm whether the protection parameters and calibration coefficients are correctly written into the scanned BMS board; if the verification fails, the error information is recorded and the BMS board is marked as needing to be re-burned. The verification operation usually uses the read-back comparison method or CRC check method, i.e. reading the data just written from the storage unit of the BMS board and comparing it byte by byte with the original data or calculating the hash value to judge the consistency.
[0028] Step three: determine whether the burning is successful: when the burning is successful, upload the burning result, the corresponding BMS code number and the equipment number to the MES server, and record it as a pass state in the MES server; if the burning is not successfully completed, no pass state record will be generated, and the MES server will mark the BMS board as needing to be re-burned.
[0029] The CRC-32 error detection technology is adopted, which generates a check value by calculating the result of polynomial division to detect possible errors in the data transmission process, and the formula is: where: is the final remainder (remainder), i.e. the CRC check code. It will be attached to the original data after the original data, so that the receiving end can perform error detection.
[0030] represents the nth power of the unknown x in a polynomial. In CRC calculation, n represents the highest power of the generator polynomial G(x). Multiplying by is equivalent to appending n zeros to the end of the original data D(x). This step is to make room for the check bits.
[0031] is the polynomial representation of the original data message. Each bit of data can be considered as a coefficient of a polynomial. For example, if the original data is 1011001 (binary), the corresponding polynomial is .
[0032] Modular division is used instead of normal arithmetic division. is a predefined generator polynomial. Different CRC standards use different generator polynomials (e.g. the commonly used generator polynomial for CRC-32 is . By dividing by , we get a remainder , which is the CRC check code.
[0033] In summary, in the CRC calculation process: First, construct the polynomial from the original data.
[0034] Then, left shift by n bits (equivalent to multiplying by ), where n is the highest power of the generator polynomial .
[0035] Next, divide the left-shifted polynomial by the generator polynomial , and the remainder obtained is the required CRC check code .
[0036] Finally, append this check code to the original data and send it out.
[0037] The receiver will repeat the same process and check whether the remainder obtained is zero (or meets certain expected patterns) to determine whether errors have occurred during transmission. If the remainder is non-zero, it indicates that errors may have occurred during transmission.
[0038] CRC-32 provides an efficient method to detect single-bit errors or multi-bit errors, enhancing the reliability of data transmission. When performing preliminary checks after writing to the BMS board, this method can effectively identify and correct certain types of errors, ensuring the correctness of the data.
[0039] After the programming process completes, it returns a status code (Success / Failure) or a Boolean value indicating the result of the operation. The system uses this status code to determine whether the programming process was completed without errors. Some systems also use post-program data verification results (such as CRC checks and byte-by-byte comparisons) as additional basis for judgment. After receiving the programming data, the MES server writes it to a database table, marking the BMS board status as "PASS" and associating information such as programming parameters, time, and device. This status can be used for access control and automated flow determination in subsequent processes.
[0040] Step 4: Before entering the next process, use the scanning device to scan the QR code of the BMS board with the passed status recorded again, and the MES server obtains the burning result corresponding to the QR code; specifically, it includes: Scanning equipment reads the QR code: Scanning points are set up on the production line. Before the BMS board enters the next process, the operator or automated system uses a scanning device to scan the QR code on the BMS board. This step uses an optical sensor to capture the QR code image and a decoder to convert it into digital information (such as the unique identifier of the BMS board).
[0041] The MES server queries the programming result: The scanning device sends the captured QR code information to the MES server. The MES server queries the relevant records stored in its database based on the received BMS board unique identifier, especially the programming result of the BMS board (whether it passed the programming check).
[0042] Verification Feedback: After processing the query request, the MES server returns the BMS board programming results to the production line control system or displays them directly on the user interface for the operator to review. If the programming result is "Passed," the BMS board is allowed to proceed to the next process; otherwise, the system prompts that reprogramming or other corrective measures are required.
[0043] Step 5: Determine whether the programming result is passed: If the programming result is passed, the verified BMS board is allowed to enter the next process; otherwise, the programming operation is repeated.
[0044] In addition, when the burning result is judged as failed, after the MES server receives the result of the BMS board that fails to burn, the state of the BMS board is immediately marked as needing to be re-burned, and the corresponding error code and description are recorded in the system; the system sends an alarm notification to the operator to indicate that there is one or more BMS boards that fail to burn successfully, and provides specific location information; the operator checks the BMS board marked as needing to be re-burned according to the alarm notification, and confirms whether the re-burning operation needs to be adjusted or repaired for hardware problems; after the adjustment or repair is completed, the scanning device is used again to scan the BMS board to restart the burning program.
[0045] In the embodiment, the MES server is also used to screen all BMS boards that fail to pass the burning check, specifically including: periodically scanning and screening all BMS boards recorded as having a non-pass state of the burning result by the MES server; generating a list containing all BMS boards that fail to pass the burning check.
[0046] On the other hand, the present application proposes a system for intercepting missed burning, as shown in the figure, comprising: Figure 2 a scanning device for scanning the BMS board to start the burning program; a burning control module in communication connection with the scanning device, used to retrieve and write the corresponding protection parameters and calibration coefficients into the scanned BMS board according to the information obtained by scanning; a judgment module for judging whether the burning is successful, and generating a pass state record when it is successful; an MES server for receiving and storing the burning result, BMS code number and device number information, and verifying the burning result of the BMS board that has recorded a pass state before entering the next process; a process control module for allowing the verified BMS board to enter the next process after confirming that the burning result is passed; otherwise, triggering the re-burning process.
[0047] Further, the scanning device includes an optical sensor, a decoder and a light source assembly, wherein: the scanning device initializes its optical sensor and decoder after being activated; when the BMS board enters the reading range, the light source assembly illuminates the two-dimensional code or bar code, the optical sensor captures the image and the decoder parses the digital signal; the parsed information is transmitted to the control system to start the burning program.
[0048] Further, the MES server is also configured with an error handling module, when a BMS board that fails to burn is detected: automatically marking the BMS board as needing to be re-burned; An alarm notification is sent to the operation terminal, and specific location information is provided.
[0049] Further, the MES server is further configured with a data screening module for periodically scanning the burning records of all BMS boards, automatically screening out the BMS boards with non-passing burning results, and generating a list containing all the BMS boards that fail the burning check.
[0050] In addition, the above components are also used to implement other steps of the above-mentioned method for intercepting missed burning when executed, which will not be described one by one.
[0051] To sum up, the present application realizes the whole process management from burning to verification in an automated way, which not only greatly reduces the error risk caused by manual intervention, but also makes the whole process more rapid and accurate due to the high-efficiency data processing capability of the MES system, effectively avoiding the product quality problems caused by missed burning. In addition, the method can also track the state changes of each BMS board in real time, providing comprehensive traceability, further enhancing the transparency and reliability of production.
[0052] Finally, it should be noted that: the above only describes the preferred embodiments of the present application and is not used to limit the present application, although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions recorded in the foregoing embodiments or make equivalent replacement for some technical features, any modification, equivalent replacement, improvement, etc. within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for intercepting missed burning, characterized in that: The following steps are involved: During the BMS board production process, the BMS board is scanned by a scanning device to start the burning process; The burning program starts according to the information obtained from the BMS board, and the protection parameters and calibration coefficients are written into the scanned BMS board; Determine whether the burning is successful: When the burning is successful, the burning result, the corresponding BMS code number and the device number are uploaded to the MES server and recorded as a passed status in the MES server; Before entering the next process, use the scanning device to scan the QR code of the BMS board with the passed status recorded again, and the MES server obtains the burning result corresponding to the QR code; Determine whether the programming result is passed: If the programming result is passed, the verified BMS board is allowed to enter the next process; otherwise, the programming operation is repeated.
2. The method for intercepting missed programming according to claim 1, wherein: Scan the BMS board with a scanning device to start the burning process, including: After the scanning device is activated, it first initializes its optical sensor and decoder to prepare to read the QR code or barcode on the BMS board; When the BMS board is placed within the reading range of the scanning device, the scanning device uses a built-in light source to illuminate the QR code or barcode and captures the image through an optical sensor; The captured image is transmitted to the decoder of the scanning device for analysis and processing, identification and conversion into digital signals, and the information in the QR code or barcode is parsed; The parsed information is then sent to the control system as the basis for starting the burning process.
3. The method for intercepting missed programming according to claim 1, wherein: Write the protection parameters and calibration coefficients to the scanned BMS board, including: After successfully scanning the BMS board's QR code or barcode, the specific model and specifications of the scanned BMS board are determined based on the scanning results, and the corresponding protection parameters and calibration coefficients are retrieved from the preset database; The system verifies the compatibility between the scanned BMS board and the protection parameters and calibration coefficients that need to be written; Through the programming interface or dedicated burning tool, the verified protection parameters and calibration coefficients are written into the storage area of the scanned BMS board, and the writing process is monitored at the same time; After writing is completed, the system automatically performs a preliminary verification operation to confirm whether the protection parameters and calibration coefficients are correctly written to the scanned BMS board; if the verification fails, an error message is recorded and the BMS board is marked as needing to be re-burned.
4. The method for intercepting missed programming according to claim 1, wherein: When the burning result is judged to be failed, after the MES server receives the result of the BMS board that failed the burning, it will immediately mark the status of the BMS board as requiring re-burning and record the corresponding error code and description in the system; the system will issue an alarm notification to the operator to indicate that there are one or more BMS boards that failed to be burned successfully, and provide specific location information; according to the alarm notification, the operator will check the BMS board marked as requiring re-burning to confirm whether it is necessary to adjust the parameters or repair the hardware problem before re-burning; after completing the adjustment or repair, use the scanning device to scan the BMS board again to restart the burning program.
5. The method for intercepting missed programming according to claim 1, wherein: Determining whether the burning is successful also includes: If the burning is not completed successfully, no pass status record will be generated, and the MES server will mark the BMS board as needing to be re-burned.
6. The method for intercepting missed programming according to claim 1, wherein: The MES server is also used to filter out all BMS boards that fail the burn check, including: The MES server periodically scans and filters out all BMS boards that are recorded as failing the programming result; a list of all BMS boards that have failed the programming check is generated.
7. A system for intercepting missed programming to implement the method according to any one of claims 1 to 6, characterized in that: include: Scanning device, used to scan the BMS board to start the burning process; The burning control module is connected to the scanning device and is used to retrieve and write the corresponding protection parameters and calibration coefficients to the scanned BMS board according to the information obtained by the scan; The judgment module is used to judge whether the burning is successful and generate a pass status record if it is successful; The MES server is used to receive and store the programming results, BMS code number and equipment number information, and verify the programming results of the BMS board that has recorded the passing status before entering the next process; The process control module is used to allow the verified BMS board to enter the next process after confirming that the burning result is passed; Otherwise, the re-burning process is triggered.
8. The system for intercepting missed burning according to claim 7, characterized in that: The scanning device includes an optical sensor, a decoder, and a light source assembly, wherein: The scanning device initializes its optical sensor and decoder upon activation; When the BMS board enters the reading range, the light source component illuminates the QR code or barcode, the optical sensor captures the image and the decoder interprets the digital signal; The parsed information is transmitted to the control system to start the burning process.
9. The system for intercepting missed burning according to claim 7, characterized in that: The MES server is also equipped with an error handling module. When a BMS board that fails programming is detected: Automatically mark the BMS board as needing to be re-burned; Send an alarm notification to the operation terminal and provide specific location information.
10. The system for intercepting missed programming according to claim 7, characterized in that: The MES server is also equipped with a data screening module, which is used to regularly scan the programming records of all BMS boards, automatically screen out BMS boards with non-pass programming results, and generate a list of all BMS boards that have failed the programming check.