Explosion-proof mobile multi-range hierarchical weighing and batching error-proof control method and system

CN123014515APending Publication Date: 2026-10-30SHENZHEN XUYONG IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611166123.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-03
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

[0005]本发明提供了一种防爆移动式多量程分级称重配料防错控制方法及系统,旨在解决传统配料小车量程固定、大小物料称量精度失衡、物料错投无前置校验、断网数据丢失、生产追溯链条断裂、防爆环境电控一体化协同管控差等行业痛点

Benefits of technology

[0040]本发明提供的防爆移动式多量程分级称重配料防错控制方法及系统,解决了工业配料场景中网络不稳定环境下的工艺参数同步、物料精准投放及全程可追溯的技术难题。首先根据配料任务标识调取对应工艺参数数据集,结合实时网络状态完成工艺参数的远程同步更新或本地离线调取,获取配料所需物料种类及目标投料参数。其次,通过读取物料容器电子标签信息完成物料编码与批次的合规性比对,对异常物料进行报警提示,对合规物料提取对应的目标投料质量参数。同时,依据目标投料质量区间,通过量程自适应选择算法匹配高精度、中精度、标准精度对应的检测工作档位,实现多量程分级检测适配。在配料过程中,依托匹配档位实时采集称重数据,通过质量偏差判定确认投料完成状态,并生成包含物料信息、质量数据及时间戳的全维度追溯数据。最后,将追溯信息本地缓存,并根据网络连通状态实现数据按需批量同步上传,完成离线缓存、在线同步的闭环配料防错与数据追溯控制,所取得的有益效果具体为:

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123014515A_ABST
    Figure CN123014515A_ABST
Patent Text Reader

Abstract

The application discloses an explosion-proof mobile multi-range grading weighing and batching error-proof control method and system, according to the batching task identification, corresponding process parameter data set is called, remote synchronous update or local offline call of process parameters is completed, material types and target feeding parameters required for batching are obtained. By reading the material container electronic tag information, the material coding and batch compliance comparison are completed, the abnormal material is alarmed and prompted, and the corresponding target feeding quality parameter of the compliant material is extracted. According to the target feeding quality interval, the detection working position corresponding to high precision, medium precision and standard precision is matched through the range self-adaptive selection algorithm, and multi-range grading detection adaptation is realized. In the batching process, the weighing data is collected in real time by relying on the matched position, the feeding completion state is confirmed through the quality deviation determination, the traceability data is generated, the traceability data is uploaded in batches according to the network connection state, the closed-loop batching error-proof and data traceability control are completed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent weighing control technology for explosion-proof mobile batching carts, and in particular discloses an explosion-proof mobile multi-range graded weighing batching error prevention control method and system. Background Technology

[0002] In the field of fine chemical production, the batching process for volatile hazardous chemicals such as fragrances and e-liquids is directly related to product quality stability and production safety. This process requires extremely high metering accuracy and strict explosion-proof control. Traditional batching methods rely on fixed weighing equipment, which requires transferring raw materials from the storage area to the batching station. This material transfer process not only increases the risk of exposure to volatile solvents, but also leads to serious material spillage and loss due to frequent manual handling.

[0003] Even more problematic is that existing weighing systems generally employ a single-range design. When dealing with the mixing of gram-level trace additives and kilogram-level main raw materials in the same formula, they cannot simultaneously meet the metering accuracy requirements of both large and small quantities. Either the weighing error of small materials exceeds the standard, or the weighing response of large materials is sluggish. This imbalance in metering accuracy directly causes deviations in the formula proportions. When materials are mistakenly taken or exceed the allowable limits during the batching process, the traditional control method relying on post-event verification by operators is often lagging behind. The incorrect material is only discovered after it has already been mixed into the batching container, at which point the entire batch must be scrapped. This passive quality control is particularly fatal in multi-formula, small-batch production models, because formula changes are frequent, and operators are easily confused by visual identification and manual recording when faced with dozens of similar-looking raw material bottles and cans. Furthermore, hazardous chemical production workshops often experience network signal shielding or instability due to explosion-proof requirements. Batching systems that rely entirely on network operation immediately stop when the network fails, unable to obtain formula data or record the production process, affecting production continuity and causing a lack of quality traceability data.

[0004] Therefore, how to enable on-site mobile operation of batching equipment to reduce material transfer while ensuring explosion-proof safety, while adaptively adjusting the metering accuracy for different feeding levels, and establishing a proactive error prevention mechanism before material feeding and reliable data caching under network failure conditions, has become a key issue in solving the problems of quality control and production continuity in fine chemical batching. Summary of the Invention

[0005] This invention provides an explosion-proof mobile multi-range graded weighing and batching error prevention control method and system, which aims to solve industry pain points such as fixed range of traditional batching trolleys, imbalance of weighing accuracy of large and small materials, lack of pre-verification of incorrect material feeding, loss of data when the network is interrupted, broken production traceability chain, and poor integrated collaborative management of electrical control in explosion-proof environments.

[0006] One aspect of the present invention relates to an explosion-proof mobile multi-range graded weighing and batching error prevention control method, comprising the following steps:

[0007] Step S100: Obtain the batching task identifier and read the process parameter dataset corresponding to the batching task identifier from the local database. Determine the network connection status. If the network connection status is normal, synchronize the latest process parameter data from the remote server to update the process parameter dataset. If the network connection status is interrupted, directly extract the material type information and target feeding quality parameters from the process parameter dataset.

[0008] Step S200: Read the material code and batch identifier in the electronic tag on the surface of the material container placed on the weighing platform through the intrinsically safe RFID identification device. Verify and compare the material code with the standard code required by the current process in the process parameter dataset. If the comparison result is inconsistent, trigger the alarm device. If the comparison result is consistent, extract the target feeding mass value of the material.

[0009] Step S300: Based on the preset quality range where the target material feeding quality value falls, the working level of the quality detection device is determined using a range adaptive selection algorithm. The range adaptive selection algorithm sets the preset quality range boundary thresholds. As a criterion, if the target feed mass value is less than the upper threshold of the micro-range... Then select the high-precision setting. If the target feed mass value is greater than or equal to the upper threshold of the micro-range... And less than or equal to the upper limit threshold of the regular interval Then select the medium precision setting. If the target feed mass value is greater than the upper limit threshold of the normal range... Then select the standard precision setting;

[0010] Step S400: Drive the quality detection device to collect the quality data of the material container in real time according to the working position, calculate the deviation value between the quality data and the target feeding quality value, and determine whether the deviation value is within the allowable range corresponding to the working position. If it is not within the allowable range, continue monitoring. If it is within the allowable range, confirm that the feeding is completed and generate traceability information including material code, batch identifier, actual quality and timestamp.

[0011] Step S500: Write the traceability information into the local cache database, check the network connection status, and if the network connection is restored, start the synchronization process to upload the locally cached traceability information in batches to the remote batch management system. If the network continues to be interrupted, accumulate the traceability information locally until the network is restored and then upload it in a unified manner.

[0012] Further, step S100 includes:

[0013] Step S110: Receive the production order number and parse the product model identifier, query the task mapping table to obtain the ingredient task identifier, and read the process parameter dataset associated with the ingredient task identifier from the local database.

[0014] Step S120: The network status monitoring program sends a heartbeat request to the remote server and judges the network connection status based on the response delay and packet loss rate. If the network connection status is normal, the latest process parameter dataset is downloaded from the remote server and the local database is updated. If the network connection status is interrupted, the offline working mode flag is triggered.

[0015] Step S130: The data extraction module reads the formula structure data in the process parameter dataset, parses the mapping relationship between the material code sequence and the material name to generate a material type information list, and traverses the material type information list to extract the material type information and feeding sequence parameters.

[0016] Further, step S200 includes:

[0017] Step S210: The radio frequency identification reader transmits a carrier signal to the weighing platform to activate the electronic tag chip on the surface of the material container. The tag decoding module decomposes the check bit and data bit in the returned data frame according to the predetermined communication protocol format to generate a structured coded record. The structured coded record contains the material code string and the batch identification timestamp.

[0018] Step S220: The coding comparison engine extracts the standard material code baseline value corresponding to the current process number from the process parameter dataset, and uses a string character matching algorithm to perform full field verification and comparison between the material code string and the standard material code baseline value. If there are inconsistent characters in the character sequence, the anomaly detection module triggers the alarm device to output an audible and visual warning signal. If the character sequence is completely matched, the verification passes and the marker marks the material container status as verified in the task execution queue.

[0019] Step S230: The quality data query program retrieves the formula quality mapping table in the process parameter dataset based on the verified material code string, traverses the batching record rows corresponding to the material code string to obtain the target feeding quality value, and the weighing controller reads the analog quantity of the quality signal collected in real time by the weighing sensor. After analog-to-digital conversion, a digital quality reading is obtained. The absolute value of the difference between the digital quality reading and the target feeding quality value is compared to determine the feeding quality compliance status.

[0020] Further, step S300 includes:

[0021] Step S310: The interval determination logic unit determines the gear identifier based on the relationship between the target feed mass value and the values ​​of each boundary point in the mass interval boundary threshold set. The mass interval boundary threshold set is preset according to the nominal range and accuracy level of the quality detection device. If the target feed mass value is less than the upper limit threshold of the micro-range... Then the gear identifier is assigned the high-precision gear code; if the target feed mass value is greater than or equal to the upper threshold of the micro-range. And less than or equal to the upper limit threshold of the regular interval The gear identifier is then assigned the medium precision gear code; if the target feed quality value is greater than the upper limit threshold of the normal range. The gear position identifier is then assigned the standard precision gear position code;

[0022] Step S320: The sensor calibration parameter retrieval program reads the calibration reference coefficient and zero offset compensation value of the corresponding accuracy level from the sensor configuration register according to the gear identifier. The signal conditioning circuit controller sends a gear switching command to the analog switch array according to the calibration reference coefficient to adjust the preamplifier gain and filter cutoff frequency parameters.

[0023] Step S330: The range adaptation verification unit reads the corresponding upper and lower bound values ​​of the linear measurement range from the sensor response characteristic curve data table based on the range identifier. and The interval inclusion check procedure determines the target feed quality value. Does it meet the requirements? If the constraint conditions are met, it is determined that the target feeding mass value falls within the effective measurement range of the current gear, the working gear is locked, and the process proceeds to step S400; if the conditions are not met, it is determined that the target feeding mass value exceeds the range of the current gear, the explosion-proof audible and visual alarm device is triggered to prompt the operator to replace the appropriate weighing container or adjust the task parameters, and the current feeding process is stopped.

[0024] Preferably, step S400 includes:

[0025] Step S410: The quality data acquisition program reads the analog voltage signal of the material container from the sensor signal channel of the quality detection device according to the sampling frequency set by the working position, calculates the instantaneous quality reading at the current moment through the pre-calibrated quality voltage conversion coefficient matrix, and adds the millisecond-level timestamp of the acquisition time.

[0026] Step S420: The deviation calculation module extracts the target feeding mass value from the process parameter dataset, uses the absolute difference algorithm to calculate the mass deviation value between the instantaneous mass reading and the target feeding mass value, and queries the upper limit and lower limit of the allowable deviation corresponding to the working position according to the allowable deviation rule table associated with the working position.

[0027] Step S430: The interval determination logic unit reads the quality deviation value. If the absolute value of the quality deviation value is less than the lower limit of the allowable deviation, a compliance confirmation mark is generated and the feeding completion event is triggered.

[0028] Step S440: After receiving the compliance confirmation mark, the traceability information generator reads the material code string and batch identifier number associated with the current feeding task from the material management database, extracts the final stable quality value from the instantaneous quality reading as the actual quality record value, obtains the system timestamp of the time when the compliance confirmation mark is generated, assembles a traceability information data packet containing the material code string, batch identifier number, actual quality record value, and system timestamp using a structured data encapsulation format, and writes it into the production traceability log database.

[0029] Further, step S500 includes:

[0030] S510, the traceability information encapsulation module extracts the material code string, batch identifier number, actual quality record value and system timestamp from the material feeding completion event, generates traceability record data blocks according to the data structure specification, calculates the uniqueness check code for the traceability record data blocks using a preset hash algorithm, writes the uniqueness check code and traceability record data blocks into the synchronization table of the local cache database and records the local transaction sequence number;

[0031] S520, the network status monitoring daemon obtains the network connection status identifier by detecting the service port connectivity of the remote batch management system. If the network connection status identifier shows that the connection is interrupted, the local accumulation mode is triggered. In the local accumulation mode, newly generated trace record data blocks are continuously received and stored in the cache queue area of ​​the table to be synchronized in ascending order of local transaction sequence number.

[0032] S530: The synchronization trigger determination unit reads the real-time change value of the network connection status identifier. If it detects that the network connection status identifier changes from the interrupted state to the connection restored state, it starts the batch synchronization process. The batch synchronization process extracts all accumulated trace record data blocks from the table to be synchronized in chronological order of local transaction sequence numbers to form a data set to be transmitted. The data set to be transmitted is divided into multiple transmission group units according to a fixed group capacity. Each transmission group unit sends an upload request to the data receiving interface of the remote batch management system through an encrypted communication channel. After the remote batch management system returns a reception confirmation response, it deletes the successfully uploaded trace record data blocks from the table to be synchronized.

[0033] Another aspect of the present invention relates to an explosion-proof mobile multi-range graded weighing and batching error-proofing control system, used to implement the above-described explosion-proof mobile multi-range graded weighing and batching error-proofing control method, comprising:

[0034] The network connection status judgment module is used to obtain the batching task identifier and read the process parameter dataset corresponding to the batching task identifier from the local database, and judge the network connection status. If the network connection status is normal, the latest process parameter data is synchronized from the remote server to update the process parameter dataset. If the network connection status is interrupted, the material type information and target feeding quality parameters in the process parameter dataset are directly extracted.

[0035] The target feed mass value extraction module is used to read the material code and batch identifier in the electronic tag on the surface of the material container placed on the weighing platform through an intrinsically safe RFID identification device. The material code is verified and compared with the standard code required by the current process in the process parameter dataset. If the comparison result is inconsistent, an alarm device is triggered. If the comparison result is consistent, the target feed mass value of the material is extracted.

[0036] The working range determination module is used to determine the working range of the quality detection device based on the preset quality range in which the target feeding quality value is located. If the target feeding quality value is in the preset micro range, the high precision range is selected; if the target feeding quality value is in the preset normal range, the medium precision range is selected; and if the target feeding quality value is in the preset large range, the standard precision range is selected.

[0037] The working position allowable range judgment module is used to drive the quality detection device to collect the quality data of the material container in real time according to the working position, calculate the deviation value between the quality data and the target feeding quality value, and determine whether the deviation value enters the allowable range corresponding to the working position. If it does not enter, it will continue to monitor. If it has entered, it will confirm that the feeding is completed and generate traceability information including material code, batch identifier, actual quality and timestamp.

[0038] The traceability information upload module is used to write traceability information to a local cache database, detect network connection status, and start a synchronization process to upload the locally cached traceability information in batches to the remote batch management system if the network is restored. If the network is continuously interrupted, the traceability information is accumulated locally until the network is restored and then uploaded in a unified manner.

[0039] The beneficial effects achieved by this invention are as follows:

[0040] This invention provides an explosion-proof mobile multi-range graded weighing and batching error-proofing control method and system, solving the technical challenges of process parameter synchronization, accurate material dispensing, and full traceability in industrial batching scenarios under unstable network conditions. First, based on the batching task identifier, the corresponding process parameter dataset is retrieved. Combined with real-time network status, remote synchronization updates or local offline retrieval of process parameters are completed to obtain the required material types and target dispensing parameters. Second, by reading the electronic tag information of the material containers, the compliance comparison between material codes and batches is completed. Alarms are issued for abnormal materials, and the corresponding target dispensing quality parameters are extracted for compliant materials. Simultaneously, based on the target dispensing quality range, a range adaptive selection algorithm matches the detection working levels corresponding to high precision, medium precision, and standard precision, achieving multi-range graded detection adaptation. During the batching process, weighing data is collected in real time based on the matched levels. The dispensing completion status is confirmed by quality deviation judgment, and full-dimensional traceability data including material information, quality data, and timestamps is generated. Finally, the traceability information is cached locally, and data is uploaded in batches as needed based on network connectivity. This completes a closed-loop batching error prevention and data traceability control system that combines offline caching and online synchronization. The specific benefits achieved are as follows:

[0041] 1. This invention adopts a network-adaptive process parameter retrieval and update mechanism, which can synchronously access the latest process parameters remotely under normal network conditions, ensuring the timeliness and standardization of batching process parameters. At the same time, it supports independent access and operation of local parameters under network interruption conditions, thus getting rid of the limitations of traditional batching control systems that rely on the network, stop when the network is disconnected, and cannot read parameters. This effectively improves the adaptability of mobile batching equipment to different operating conditions and ensures the continuity and stability of batching operations in complex on-site network environments.

[0042] 2. This invention automatically identifies material codes and batch information through electronic tags and performs mandatory comparison and verification with standard process codes. This enables pre-process error prevention verification of material types and batches before batching, avoiding process problems such as misuse of materials and mixing of batches from the source of operations. It changes the shortcomings of traditional manual material verification, which is subject to strong subjectivity, high probability of missed detection and wrong detection, and builds a pre-process error prevention technology barrier for the batching process to ensure the compliance of batching materials.

[0043] 3. This invention is based on adaptive matching of weighing detection ranges within the target feeding mass range. It switches the corresponding accuracy detection mode according to different feeding conditions such as micro-volume, regular, and large-volume feeding. It overcomes the shortcomings of traditional single-range weighing mode, which cannot take into account both the accuracy of micro-volume feeding and the efficiency of large-volume feeding. It ensures the detection precision of small-dose feeding and meets the detection adaptability of large-weight feeding, thus achieving accurate adaptation of full-range feeding weighing detection.

[0044] 4. This invention relies on the real-time acquisition of weighing data after matching adaptive gears, and accurately locks the feeding completion node through a dynamic quality deviation judgment mechanism, avoiding over-feeding or under-feeding problems caused by manual judgment of the feeding endpoint. At the same time, it simultaneously binds material code, batch, actual quality and timestamp information to generate standardized traceability data, realizing the retention of information of all elements and all time periods for each batching operation, and providing complete data support for subsequent process verification and quality traceability.

[0045] 5. This invention constructs a hierarchical data storage and upload mechanism that combines local caching with remote synchronization. When the network is abnormal, it automatically completes the local accumulation and storage of traceability data, and uploads it in batches after the network is restored. This effectively solves the problems of data loss, upload failure, and data gap caused by network fluctuations and network interruptions at mobile batching operation sites, realizes closed-loop retention and reliable archiving of batching traceability data, and ensures the integrity, continuity and traceability of batching data.

[0046] 6. This invention is fully adaptable to explosion-proof mobile batching operation scenarios. Through the integrated control logic of pre-material error prevention, adaptive range graded detection, network adaptive operation, and full-process data traceability, it solves the technical defects of traditional mobile batching equipment, such as poor accuracy adaptability, weak error prevention capability, insufficient working condition adaptability, and incomplete data traceability. It effectively improves the process standardization, weighing accuracy, and process controllability of batching operations in chemical explosion-proof scenarios, and adapts to the mobile batching production management and control needs of complex industrial sites. Attached Figure Description

[0047] Figure 1 This is an overall flowchart of an embodiment of the explosion-proof mobile multi-range graded weighing and batching error prevention control method of the present invention;

[0048] Figure 2 This is a schematic diagram of the module connection of an embodiment of the explosion-proof mobile multi-range graded weighing and batching error prevention control system of the present invention.

[0049] Explanation of icon numbers:

[0050] 10. Network connection status judgment module; 20. Target material feeding quality value extraction module; 30. Working gear determination module; 40. Working gear allowable range judgment module; 50. Traceability information upload module. Detailed Implementation

[0051] To better understand the above technical solutions, the following will provide a detailed explanation of the technical solutions in conjunction with the accompanying drawings and specific implementation methods.

[0052] like Figure 1As shown, the first embodiment of the present invention proposes an explosion-proof mobile multi-range graded weighing and batching error prevention control method, which is executed by an explosion-proof mobile weighing and batching cart. This explosion-proof mobile weighing and batching cart is suitable for use in explosive gas environments in Zone 1 or Zone 2. The integrated hardware unit of the explosion-proof mobile weighing and batching cart includes: an explosion-proof housing (fully circuit explosion-proof and sealed, suitable for Zone 1 / Zone 2 environment of hazardous chemical explosion-proof workshops), a weighing platform for carrying material barrels, an intrinsically safe RFID identification device, a multi-range weighing sensor (quality detection device), an explosion-proof industrial control computer, a wireless communication module, an audible and visual alarm device, and a local cache database storage unit. The explosion-proof mobile weighing and batching cart of this embodiment adopts an explosion-proof and intrinsically safe design. Specifically, the explosion-proof housing is welded from Q235 steel plate, meeting the Ex d IIB T4 Gb explosion-proof standard, and is used to house the explosion-proof industrial control computer and signal conditioning circuit; the weighing sensor is an intrinsically safe resistance strain gauge sensor, with its excitation voltage limited to DC12V, and the output signal is connected to the intrinsically safe circuit after being isolated by a safety barrier; the RFID reader / writer uses an intrinsically safe reader / writer head with adjustable power (Ex ia IIC T4 Ga), with its transmission power limited to below 125mW, ensuring that there is no ignition hazard when reading passive tags; the audible and visual alarm device uses an intrinsically safe explosion-proof alarm, driven by an explosion-proof relay. All electrical components of the vehicle have passed national explosion-proof certification and are suitable for Zone 1 explosive gas environments. It is suitable for mobile grading and batching operations in explosion-proof production workshops of chemical, pharmaceutical, and hazardous chemicals industries. The explosion-proof mobile multi-range grading weighing and batching error-proof control method includes the following steps:

[0053] Step S100: Obtain the batching task identifier and read the process parameter dataset corresponding to the batching task identifier from the local database. Determine the network connection status. If the network connection status is normal, synchronize the latest process parameter data from the remote server to update the process parameter dataset. If the network connection status is interrupted, directly extract the material type information and target feeding quality parameters from the process parameter dataset.

[0054] The industrial control computer receives a unique batching task identifier from the host computer or inputs it locally. Using this unique batching task identifier as the primary key, it reads the corresponding pre-stored process parameter dataset. The process parameter dataset stores all material codes, material batch specifications, target feed quality of each material, range division intervals, and allowable weighing deviations for each range, as well as standard process constraints. The computer detects the connection status of the workshop LAN / 5G industrial network via a heartbeat packet from the wireless communication module. When the network connection is normal, it establishes an encrypted communication link with the remote batch management server, retrieves the latest revised and changed process parameter complete data packet from the server, and overwrites and updates the original local process parameter dataset to ensure that the batching standards are consistent with the cloud control standards in real time. If there is no response to the heartbeat packet and the network is determined to be interrupted, the computer does not initiate a cloud synchronization request, but directly retrieves the locally cached and updated process parameter dataset, and parses and extracts the material types required for the current process and the core parameters of the target feed quality for each type of material, which serve as the benchmark for subsequent error prevention verification and range adaptive matching. The batching task identifier is a globally unique code for a single batch batching work order, bound to a complete set of process standards, used to retrieve the corresponding process parameter dataset; the process parameter dataset is a standardized process data package stored in a local database, containing material standard codes, compliant batch ranges, target feed quality, range divisions, and allowable deviation thresholds for each weighing level; the remote server is the workshop cloud-based batch management server, storing the latest unified formulas, process change records, and production control standards for the entire plant; the network connection status is determined by the industrial control computer through a heartbeat interaction via the wireless communication module, indicating either industrial network connectivity or interruption.

[0055] Step S200: Read the material code and batch identifier in the electronic tag on the surface of the material container placed on the weighing platform using an intrinsically safe RFID identification device. Verify and compare the material code with the standard code required by the current process in the process parameter dataset. If the comparison result is inconsistent, trigger the alarm device. If the comparison result is consistent, extract the target feeding mass value of the material.

[0056] The material container holding the raw materials is placed in the designated identification area of ​​the weighing platform. The intrinsically safe RFID identification device equipped on the explosion-proof mobile weighing and batching cart reads the two core fields—the unique material code and the production batch identifier—fixed in the electronic tag on the outer wall of the container at close range without contact. The real-time material code read is compared with the standard material code specified for the current process in the process parameter dataset of step S100. If the codes do not match, it is determined that there is a risk of incorrect or mixed materials. The industrial control computer immediately sends a control signal to activate the audible and visual alarm device to continuously warn and lock the weighing and feeding process to prevent feeding. If the codes match completely, it is determined that the material category is compliant. At the same time, it is verified whether the batch identifier is within the compliant batch range of the dataset. After the verification is passed, the target feeding mass value corresponding to the material is extracted from the process parameter dataset as the quality benchmark for graded weighing.

[0057] The intrinsically safe RFID identification device is an RFID reader / writer integrated on the side of the trolley weighing platform, used for non-contact reading of material electronic tag data; the material container electronic tag is a passive RFID tag adhered to the surface of the raw material barrel, pre-written with tamper-proof information such as material code and production batch identifier; the material code is a unique standardized code that distinguishes different raw material categories and is the core verification field for error-proof comparison; the batch identifier is the raw material's production batch number, used to distinguish different batches of raw materials of the same category, realizing batch traceability; the alarm device is an explosion-proof audible and visual alarm, triggered when the code comparison is abnormal, realizing early warning of incorrect materials and locking the feeding process; the target feeding mass value is the standard feeding weight of the raw material in the current process, which is the benchmark value for determining the weighing endpoint.

[0058] Step S300: Based on the preset quality range where the target material feeding quality value falls, the working level of the quality detection device is determined using a range adaptive selection algorithm. The range adaptive selection algorithm sets the preset quality range boundary thresholds. As a criterion, if the target feed mass value is less than the upper threshold of the micro-range... Then select the high-precision setting. If the target feed mass value is greater than or equal to the upper threshold of the micro-range... And less than or equal to the upper limit threshold of the regular interval Then select the medium precision setting. If the target feed mass value is greater than the upper limit threshold of the normal range... Then select the standard precision setting.

[0059] The adaptive range selection algorithm uses two interval thresholds as the three-level judgment boundaries and automatically matches the hardware acquisition channels of multi-range sensors: if the target feed mass is less than the upper limit of the micro range, switch to the high-precision micro range; if the upper limit of the micro range is less than or equal to the target feed mass and less than or equal to the upper limit of the regular range, switch to the medium-precision regular range; if the target feed mass is greater than the upper limit of the regular range, switch to the standard large range. The range switching synchronously updates the sensor sampling frequency, digital filter order, and scale value. The micro range uses high sampling and high-order filtering to suppress minor jitter, while the standard range uses low sampling to improve the weighing cycle.

[0060] The adaptive range selection algorithm uses segmented threshold judgment logic to achieve automatic switching of weighing hardware ranges; the upper limit threshold of the micro-range is the critical weight that distinguishes between trace additives and conventional raw materials; the upper limit threshold of the conventional range is the critical weight that distinguishes between conventional medium-volume feed and bulk raw materials; the high-precision range (micro-range) is the sensor's small-range channel with high resolution, suitable for catalysts and trace additives; the medium-precision range (conventional range) is a medium-range channel that balances accuracy and efficiency, suitable for conventional intermediates; the standard-precision range (large-range range) is the full-range channel, suitable for bulk basic raw materials.

[0061] Industry-standard values ​​for critical threshold ranges:

[0062] ① Upper limit of trace amount range: 500g; Basis: The upper limit of conventional dosage for trace additives in pharmaceuticals / fine chemicals, <500g requires milligram-level precision;

[0063] ② The upper limit of the normal range is 50kg; based on 500g to 50kg, it is the mainstream medium feeding specification in the workshop; >50kg is the bulk barrel raw material;

[0064] Hardware parameters for each gear:

[0065] ① High-precision range: measuring range 0~500g, scale division 0.01g, sampling frequency 10Hz, 5th order sliding filter;

[0066] ② Medium precision setting: 0~50kg, scale division 1g, sampling frequency 5Hz, 3rd order filter;

[0067] ③Standard accuracy range: 0~500kg, graduation value 10g, sampling frequency 2Hz, first-order filter;

[0068] Value selection criteria: Trace additives are of high value and sensitive to proportions, so high sampling filtering reduces jitter; bulk raw materials are prioritized to increase batching cycle time and reduce computing power consumption.

[0069] Step S400: Drive the quality detection device to collect the quality data of the material container in real time according to the working position, calculate the deviation value between the quality data and the target feeding quality value, and determine whether the deviation value is within the allowable range corresponding to the working position. If it is not within the allowable range, continue monitoring. If it is within the allowable range, confirm that the feeding is completed and generate traceability information including material code, batch identifier, actual quality and timestamp.

[0070] The industrial control computer issues acquisition commands, driving multi-range weighing sensors to continuously acquire real-time mass data of material containers on the weighing platform at a high frequency using the sampling frequency and digital filtering parameters corresponding to the currently selected working range. After each set of sampling is completed, the real-time weighing deviation value is obtained by subtracting the target feeding mass value from the real-time acquired mass. The preset allowable deviation range for the current working range is retrieved, and the real-time deviation is compared with the upper and lower limits of this range. If the deviation does not fall within the allowable range, it is determined that the feeding has not met the qualified standard, and the material weight change is continuously monitored in a loop. If the deviation enters the allowable error range of the current range, it is determined that the feeding is completed, and the weighing acquisition data is immediately locked and the final stable actual feeding mass is read. The industrial control computer integrates four sets of core fields to generate standardized traceability information: material code, raw material batch identifier, stable actual feeding mass, and local system standard timestamp, completely recording the traceability data of a single feeding.

[0071] Real-time quality data consists of time-series sampling values ​​of the total weight of the material container continuously collected by multi-range sensors at the current range; the weighing deviation value is the difference between the real-time weighing weight and the standard target feeding weight, used for determining the feeding endpoint; the allowable range corresponding to the working range is the weighing qualified error interval independently configured for each range, with a smaller error threshold for the micro-range; the traceability information is structured data for compliance traceability of a single batch of feeding, including material code, batch, actual feeding weight, and operation timestamp; the timestamp is the local standard system time of the industrial control computer at the time of feeding completion, used for production time-series traceability.

[0072] Permissible relative weighing deviations for each gear (industry GMP / fine chemical standards):

[0073] ① High-precision micro-volume setting: ±0.2%; deviations in the proportion of trace catalysts directly affect the yield of the finished product, so errors must be strictly controlled;

[0074] ② Medium precision standard grade: ±0.5%; intermediate products balance precision and production efficiency;

[0075] ③ Standard large range: ±1.0%; moderate error is allowed for bulk basic raw materials;

[0076] ④ Stability determination sampling number: The weight fluctuation is determined to be stable if it is less than the division value for 5 consecutive frames; avoid misjudging the feeding completion due to instantaneous jitter.

[0077] Step S500: Write the traceability information into the local cache database, check the network connection status, and if the network connection is restored, start the synchronization process to upload the locally cached traceability information in batches to the remote batch management system. If the network continues to be interrupted, accumulate the traceability information locally until the network is restored and then upload it in a unified manner.

[0078] The complete traceability information generated after material feeding is first written to the local cache database built into the industrial control computer of the explosion-proof mobile weighing and batching cart for persistent storage, to avoid data loss in case of power failure or network outage. After writing, the industrial network connectivity status is checked again via a wireless module heartbeat packet. If the network is detected to be restored, the batch synchronization process is automatically started, reading all unuploaded traceability data in the local cache and pushing it to the remote batch management system in batches using encrypted packet transmission. The cloud completes the data entry and production ledger archiving. If the network is still interrupted, the upload operation is not performed, and each newly generated traceability information is continuously added to and accumulated in the local cache database. If the network is detected to be restored at any time, the breakpoint batch resume transmission is automatically executed, uploading all offline cached traceability data at once to ensure the integrity and completeness of the traceability chain for hazardous chemical batching production.

[0079] The local cache database is a built-in local storage unit of the explosion-proof industrial control computer, configured to temporarily and persistently store feeding traceability data in a network disconnection scenario; the synchronization process is an independently running background batch data upload program of the industrial control computer, responsible for data synchronization between the local cache and the remote server; the remote batch management system is production control software supporting the cloud server, which collects feeding traceability data uploaded by all explosion-proof mobile weighing batching trolleys in the whole plant; the batch resume transmission is a resume transmission mechanism that uploads multiple pieces of traceability data accumulated during the network disconnection period at one time after the network is restored.

[0080] Further, in the explosion-proof mobile multi-range graded weighing batching error prevention control method provided in this embodiment, step S100 includes:

[0081] Step S110: Receive the production order number, parse the product model identifier, query the task mapping table to obtain the batching task identifier, and read the process parameter data set associated with the batching task identifier in the local database.

[0082] Receive the production order number issued by the upper computer, parse and retrieve the product model identifier carried by the order number; call the preset task mapping table, perform matching query to obtain the batching task identifier corresponding to the current batch; retrieve the local database based on the batching task identifier, and read the full set of bound batching process parameter data sets.

[0083] The input source is the production order number, with a built-in product model identifier for distinguishing different material formulas; the mapping logic is to establish a one-to-one correspondence between "product model - batching task" relying on the pre-stored task mapping table, so as to avoid manual manual entry of formulas; the data carrier is the exclusive process parameters pre-stored in the local database for each batching task (material type, target weighing value, range grading interval, explosion-proof weighing threshold, proportioning tolerance, error prevention judgment threshold, etc.), which provide reference parameters for subsequent graded weighing and error prevention verification. In this embodiment, the batching task and the standard process parameters are automatically associated through the order number, which eliminates the operation of manually calling the formula, avoids human errors such as wrong formula selection and incorrect parameter entry from the source, and adapts to the use requirements of the explosion-proof mobile batching equipment for offline local storage and stable calling of process data in no-network scenarios.

[0084] Step S120: The network status monitoring program sends a heartbeat request to the remote server, judges the network connection status according to the response delay duration and the packet loss rate, downloads the latest process parameter data set from the remote server and updates the local database if the network connection status is normal, and triggers the offline working mode flag if the network connection status is interrupted.

[0085] The built-in network status monitoring program is activated to continuously send heartbeat requests to the remote server periodically. It collects two indicators: the response delay of the heartbeat packets and the packet loss rate, to comprehensively determine the current network connection status of the device. If the network connection status is determined to be normal, the latest version of the process parameter dataset is pulled from the remote server and the process parameters of the corresponding batching task in the local database are updated. If the network connection is determined to be interrupted or communication is abnormal, the device is automatically marked to enter offline working mode, and the subsequent batching process directly reads the inventory parameters from the local database for execution.

[0086] The network monitoring mechanism relies on periodic heartbeat packet collection latency and packet loss rate to quantify network quality, replacing a single connectivity judgment and identifying two types of operating conditions: weak network and disconnection. The online synchronization branch automatically synchronizes the latest process formula to the cloud when the network is normal, ensuring consistency between the local database and the server formula version and avoiding batching errors caused by using outdated process parameters. The offline fallback branch marks the equipment as offline when the network is interrupted, but the equipment does not stop batching operations, relying on locally stored process parameters to continue weighing and batching, adapting to mobile explosion-proof equipment workshops without stable networks. This embodiment uses heartbeat latency and packet loss rate as dual indicators to accurately identify network faults, distinguishing between weak network lag and complete disconnection, and synchronously updating formula data; the cloud-local dual database linkage automatically synchronizes the latest process online, while the offline mode provides seamless fallback, balancing real-time formula updates and the continuous production needs of mobile equipment; it avoids two types of production anomalies from the data source: inconsistent formula versions and network outages, improving the error-proofing reliability and production line continuity of graded weighing and batching.

[0087] Step S130: The data extraction module reads the formula structure data in the process parameter dataset, parses the mapping relationship between the material code sequence and the material name to generate a material type information list, and traverses the material type information list to extract the material type information and feeding sequence parameters.

[0088] The built-in data extraction module is invoked to read the process parameter dataset that has been synchronously completed in the local database, and the structured formula data stored in the dataset is parsed. The mapping relationship between the material code sequence and the material name is extracted to generate a structured material type information list. The material type information list is traversed to extract the material type identifier and standard feeding sequence parameters corresponding to each material, so as to provide a benchmark material sequence for subsequent graded weighing and feeding error prevention verification.

[0089] Data source reading uses the local process parameter dataset updated in steps S110 / S120 as input, unifying both online synchronization and offline inventory data sources; code mapping parsing eliminates code ambiguity through material code-name mapping relationships, avoiding material identification errors caused by code confusion; batch extraction of benchmark parameters outputs two core benchmark features: material type and standard feeding sequence, serving as the basis for subsequent weighing comparison and feeding sequence error prevention. This embodiment automatically establishes the correspondence between codes and material names by standardizing the parsing of structured formula data, preventing mismatches caused by manual material identification; it extracts all materials and feeding sequence benchmarks in batches at once, providing a unified standard data source for subsequent feeding error prevention and weighing verification; it is adapted to explosion-proof mobile weighing and batching carts for offline parsing of local formulas, enabling automatic parsing of material information without real-time network connection, ensuring the normal operation of the batching error prevention logic under network outage conditions.

[0090] Preferably, the explosion-proof mobile multi-range graded weighing and batching error prevention control method provided in this embodiment includes step S200:

[0091] Step S210: The RFID reader transmits a carrier signal to the weighing platform to activate the electronic tag chip on the surface of the material container. The tag decoding module decomposes the check bit and data bit in the returned data frame according to the predetermined communication protocol format to generate a structured coded record. The structured coded record contains the material code string and the batch identification timestamp.

[0092] The radio frequency identification reader is controlled to transmit a carrier signal to the weighing platform area, activating the electronic tag chip placed on the surface of the material container on the weighing platform; after the tag returns a data frame, the tag decoding module disassembles the data frame according to the preset explosion-proof radio frequency communication protocol, extracts the check bit and valid data bit respectively, and generates a standardized structured coded record; the structured coded record contains two types of core information: material code string and batch identification timestamp.

[0093] Radio frequency (RF) activation wakes up the passive electronic tag on the container via a reader carrier wave, enabling automatic material information collection in contactless and explosion-proof scenarios, avoiding the risk of material errors caused by manual scanning and handwritten input. Frame parsing and verification involves splitting the check bits and data bits according to a dedicated communication protocol. The check bits are used to first verify data integrity, filtering interference and damaged tag signals to ensure reliable data collection. The output reference identification record is a structured coded record that simultaneously carries the material code and batch timestamp. It can be matched with the standard material code parsed in step S130 to complete material error prevention comparison, and can also rely on the batch timestamp to achieve material batch traceability and control. This embodiment uses passive RF identification for contactless acquisition, adapting to the spark-free and high-dust safety requirements of explosion-proof mobile batching workshops. It uses layered data frame parsing and check bit verification to filter invalid garbled codes caused by on-site electromagnetic interference, improving the accuracy of material identification. It simultaneously collects material codes and batch timestamps, achieving dual control of material type error prevention and production batch traceability, providing real-time material reference information for subsequent weighing verification and feeding sequence checking.

[0094] Step S220: The coding comparison engine extracts the standard material code baseline value corresponding to the current process number from the process parameter dataset, and uses a string character matching algorithm to perform full field verification and comparison between the material code string and the standard material code baseline value. If there are inconsistent characters in the character sequence, the anomaly detection module triggers the alarm device to output an audible and visual warning signal. If the character sequence matches completely, the verification passes and the marker marks the material container status as verified in the task execution queue.

[0095] The built-in encoding comparison engine is invoked to retrieve the standard material code baseline value corresponding to the current process number from the local process parameter dataset. A string bit-by-bit matching algorithm is used to perform a full-field consistency check and comparison between the material code string obtained from RFID and the standard material code baseline value. If any character mismatch is detected during the comparison process, the anomaly detection module is immediately activated to start the alarm device, outputting an audible and visual warning signal and locking the current weighing process to prohibit material feeding. If the two character sequences match completely and the verification is not abnormal, the verification pass marker marks the material container with a verified legal mark in the batching task execution queue, allowing it to enter the subsequent grading and weighing process.

[0096] The benchmark retrieval uses the process number as an index to read the standard material code within the formula and establish a compliant material judgment benchmark. The character-by-character full-field matching verification is fuzzy-free and error-tolerant; any misalignment, missing, or tampering of any character in the code results in a material error, with rigorous verification logic. Anomaly handling involves an immediate audible and visual alarm and process lockout for code mismatches, preventing incorrect material input at the source. Compliance release involves updating the task queue status after complete code consistency, serving as a prerequisite for graded weighing. This embodiment employs precise character-by-character string matching to prevent material code confusion leading to mismatches in batching, enhancing error prevention capabilities. The use of dual protection—audible and visual alarms and process lockouts—prevents incorrect materials from entering the weighing and batching process, reducing raw material scrap and finished product quality defects. Verification results are written to the task execution queue, enabling full-process traceability of material identification status, adapting to the production traceability management requirements of explosion-proof mobile batching equipment. The purely automated program comparison and verification eliminates the need for manual material identification, reducing the probability of human error and adapting to dusty and explosion-proof special operating environments.

[0097] Step S230: The quality data query program retrieves the formula quality mapping table in the process parameter dataset based on the verified material code string, traverses the batching record rows corresponding to the material code string to obtain the target feeding quality value, and the weighing controller reads the analog quantity of the quality signal collected in real time by the weighing sensor. After analog-to-digital conversion, a digital quality reading is obtained. The absolute value of the difference between the digital quality reading and the target feeding quality value is compared to determine the feeding quality compliance status.

[0098] The built-in quality data query program is launched, and the formula quality mapping table stored in the process parameter dataset is retrieved based on the material code string marked as verified in step S220. The program traverses and matches the batching record rows corresponding to the material code, extracts the target feed quality benchmark value of the corresponding material, and sends it to the weighing controller. The weighing controller continuously collects the mass analog signal output by the weighing sensor, completes the signal conversion through the analog-to-digital conversion module, and outputs a real-time digital mass reading that changes continuously over time. The absolute value of the difference between the real-time digital mass reading and the target feed quality value is calculated. Combined with the multi-range graded preset quality error threshold, the real-time monitoring compliance judgment formula is called to quantitatively determine whether the current feed quality meets the standard, and the corresponding replenishment / latch / alarm interlock control is executed.

[0099] The formula for determining compliance with real-time monitoring standards is:

[0100] (1)

[0101] In formula (1), The target feed quality value is obtained by retrieving the process standard feed quality from the formula quality mapping table through the material code string. This serves as the baseline quality target value for the batching process. The process parameter dataset is pre-stored offline, with each material code corresponding to a unique standard feed quantity. (Unit: ...) The range of values ​​is ; Typical value range for explosion-proof mobile batching operation . To provide real-time digital mass readings, the weighing controller acquires analog signals from the weighing sensors, converts them to digital signals, and outputs the real-time instantaneous material mass, which is displayed sequentially during the feeding process. Dynamic and continuous change; unit The range of values ​​is The reading approaches 0 when unloaded, and approaches the target feeding mass after feeding is completed. . The permissible quality error threshold for the process is the upper limit of the preset permissible quality deviation for the current batching process. This threshold is set according to the accuracy requirements of the explosion-proof batching process and the graded values ​​of the weighing sensors, differentting thresholds for different weighing ranges; unit The range of values ​​is Small-range fine ingredient selection values Large-scale roughing of raw materials . The feeding time is a continuous time variable in the batching and feeding process, used to characterize the real-time updating of the weighing reading as the feeding progresses; unit The range of values ​​is This refers to the duration of the feeding operation.

[0102] The control logic of formula (1) is as follows: 1. The quality data query program reads the verified material code string, retrieves the formula quality mapping table in the process parameter dataset, and extracts the standard target feed quality bound to that row. 1. The signal is sent to the weighing controller; 2. The weighing controller continuously acquires the analog mass signal from the weighing sensor, converts it to digital, and outputs the real-time mass reading. 3. Calculate the absolute difference between the real-time weighing reading and the target feed mass in real time. 4. Compare the absolute difference with the preset allowable error threshold for the process. Comparison and Judgment: If the absolute difference is less than or equal to the preset allowable error threshold of the process, the material feeding quality is determined to be up to standard. The controller latches the current weighing value, outputs a feeding completion signal, and proceeds to the next batching process. If the absolute difference is greater than the preset allowable error threshold of the process, the feeding is determined to be substandard. A negative difference indicates a material shortage, and material replenishment continues. A positive difference indicates an over-material shortage, triggers an audible and visual error prevention alarm, and prevents the material from proceeding to the next process. 5. The entire judgment logic is adapted to multi-range graded weighing scenarios and can switch the corresponding preset allowable error threshold of the process according to the weighing range. To achieve graded accuracy error prevention and verification. Formula (1) compares the absolute difference between the real-time weighing reading and the standard target feeding quality with the preset error threshold of the process grade to form a unified equivalent standard judgment condition; a set of logic synchronously identifies two types of deviations: insufficient material and excessive material, adapts to the explosion-proof mobile multi-range graded weighing and batching scenario, and realizes real-time quantitative verification and error prevention interlocking control of feeding quality.

[0103] Furthermore, in the explosion-proof mobile multi-range graded weighing and batching error prevention control method provided in this embodiment, step S300 includes:

[0104] Step S310: The interval determination logic unit determines the gear identifier based on the relationship between the target feed mass value and the values ​​of each boundary point in the mass interval boundary threshold set. The mass interval boundary threshold set is preset according to the nominal range and accuracy level of the quality detection device. If the target feed mass value is less than the upper limit threshold of the micro-range... Then the gear identifier is assigned the high-precision gear code; if the target feed mass value is greater than or equal to the upper threshold of the micro-range. And less than or equal to the upper limit threshold of the regular interval The gear identifier is then assigned the medium precision gear code; if the target feed quality value is greater than the upper limit threshold of the normal range. The gear position identifier is then assigned the standard precision gear position code.

[0105] Based on the upper limit threshold of micro-quantity Regular upper limit threshold The set of boundary thresholds The system establishes a three-stage mutually exclusive judgment rule based on a piecewise formula; the system obtains the target feeding quality in real time. The system automatically matches the weighing level by comparing the mass with the two threshold levels: if the mass is below a certain threshold... Use the high-precision setting; select the medium-precision setting within the two threshold ranges; above that... Switch to standard accuracy level. The entire set of thresholds is uniformly collected and managed, with no overlapping or blind spots in the intervals. The level is automatically adapted before each feeding, without the need for manual adjustment. It takes into account the accuracy of micro-weighing, the comprehensive performance of conventional weighing, and the range safety of large-volume weighing, and realizes the adaptive dynamic adjustment of the weighing equipment's range and accuracy according to the amount of material fed.

[0106] The set of quality interval boundary thresholds is defined as follows:

[0107] (2)

[0108] In formula (2), The set of quality interval boundary thresholds is a finite set consisting of all judgment thresholds for feeding range classification; the set contains only two boundary parameters, which serve as a unified judgment scale for range adaptation. This is the upper limit threshold for the micro-feed range, with physical units consistent with the feed mass units (e.g., g, kg); the value is a positive real number greater than 0, representing the critical mass separating micro-feeding from regular feeding; values ​​less than this are considered micro-feeding scenarios, requiring the use of high-precision detection. Standard interval upper limit threshold, unit and The quality of the materials fed is completely consistent; meeting the requirements. This is the dividing value between conventional medium and large feed rates.

[0109] The control logic of formula (2) is: 1. The system pre-configures and solidifies the two-level boundary thresholds, and packages them into a threshold set. This enables unified management of threshold parameters, facilitating batch modification of configurations based on material type and process requirements. 2. Real-time reading of the target material feed quality value for the current process. The three conditions are compared with the two-level thresholds in the set in turn, and the three-stage mutually exclusive judgment is performed. There is no interval overlap or judgment blind spot in the three working conditions: (1) The feeding quality is lower than the trace upper limit. : 1) If a small amount of material is added, an instruction is issued to switch the detection device to a high-precision setting to ensure that the weighing error of small-weight material addition is controllable; (2) If the material quality falls within the range of 1 / 3, the material addition is controlled. Closed interval: It belongs to the normal medium feeding level, automatically switches to the medium precision level, and balances the weighing accuracy and weighing response speed; (3) The feeding mass exceeds the normal upper limit. : In the case of large material feeding, switch to the standard precision gear and rely on the large range to ensure measurability and avoid overload of the range. 3. Before each feeding test, a judgment is performed to realize that the gear automatically follows the change when the feeding weight changes, and no manual gear adjustment is required throughout the process. The formula (2) uses two levels of quality thresholds to form a judgment set, and automatically matches the three-level detection modes of high precision, medium precision and standard precision according to the three weight ranges into which the feeding weight falls, so as to realize the adaptive matching of weighing range and precision.

[0110] The formula for determining the gear position identifier is:

[0111] (3)

[0112] In formula (3), The target feed mass value is in the same unit as above and is a real number; the actual feed mass of the material to be tested is the measured / set value and is the input variable for gear selection. The final selected working range for the quality inspection device is a discrete enumeration quantity, divided into three categories: high precision range, medium precision range, and standard precision range, without physical units. ① High precision range: suitable for trace materials, with the highest detection resolution and the smallest effective range; ② Medium precision range: suitable for medium-sized regular feeding, balancing resolution and range; ③ Standard precision range: suitable for heavy feeding, with the largest range, and basic resolution suitable for large-range detection.

[0113] The complete adaptive range control logic is as follows: 1. The system pre-configures and fixes two-level boundary thresholds, which are then packaged into a threshold set. This enables unified management of threshold parameters, facilitating batch modification of configurations based on material type and process requirements. 2. Real-time reading of the target material feed quality value for the current process. The three conditions are compared with the two-level thresholds in the set in turn, and the three-stage mutually exclusive judgment is performed. There is no interval overlap or judgment blind spot in the three working conditions: (1) The feeding quality is lower than the trace upper limit. : 1) If a small amount of material is added, an instruction is issued to switch the detection device to a high-precision setting to ensure that the weighing error of small-weight material addition is controllable; (2) If the material quality falls within the range of 1 / 3, the material addition is controlled. Closed interval: It belongs to the normal medium feeding level, automatically switches to the medium precision level, and balances the weighing accuracy and weighing response speed; (3) The feeding mass exceeds the normal upper limit. : In the case of large feeding, switch to the standard accuracy gear and rely on the large range to ensure measurability and avoid overload of the range. 3. Before each feeding test, a judgment is performed to realize that the gear automatically follows the change when the feeding weight changes, and no manual gear adjustment is required throughout the process. The formula (3) realizes the full range adaptive gear detection of feeding weight through two-level threshold interval division, taking into account the weighing accuracy and range upper limit under different feeding amounts.

[0114] Step S320: The sensor calibration parameter retrieval program reads the calibration reference coefficient and zero offset compensation value of the corresponding accuracy level from the sensor configuration register according to the gear identifier. The signal conditioning circuit controller sends a gear switching command to the analog switch array according to the calibration reference coefficient to adjust the preamplifier gain and filter cutoff frequency parameters.

[0115] Initiate the sensor calibration parameter retrieval program using the weighing range identifier output in step S310. To retrieve the index, the calibration reference coefficients, which are individually bound to the current accuracy level, are retrieved from the sensor configuration register. Zero-point offset compensation value The signal conditioning circuit controller synchronously sends range switching commands to the analog switch array, adaptively adjusting the preamplifier gain and low-pass filter cutoff frequency to match the signal acquisition characteristics of the current range; the weighing controller continuously acquires the raw analog-to-digital conversion mass reading output by the analog-to-digital conversion module. Substituting the values ​​into the gear-specific linear calibration calculation formula completes gain correction and zero-point drift compensation, outputting a calibrated standard mass reading that eliminates temperature drift, gain deviation, and baseline offset. The high-precision calibration reading is then sent back to step S230 for error prevention and control of material feeding quality.

[0116] The formula for calculating the calibrated mass reading is:

[0117] (4)

[0118] In formula (4), To calibrate the standard mass reading after compensation, the accurate weighing value is obtained after linear correction of the corresponding gain coefficient and zero-point offset compensation. This eliminates measurement errors caused by sensor temperature drift, amplifier gain deviation, and no-load zero-point drift, and serves as the final valid weighing data for determining whether the material feeding meets the standards. (Unit: [missing information]) The range of values ​​is After the no-load calibration is completed, the no-load reading approaches 0, and the reading increases continuously as the material is added during the feeding process. It is the gear-related calibration reference coefficient, and the gear identifier. The linear gain correction coefficients are bound one-to-one and stored in the sensor configuration register; independent gain coefficients are matched for different accuracy levels to compensate for the inherent gain deviation of the preamplifiers for each range. These coefficients are dimensionless and their value range is [missing information]. High-precision gears A value close to 1 indicates a standard precision setting. value range . As the weighing range identifier, the graded weighing range code output by the segmented formula in step S310 is divided into high precision... , medium precision Standard precision Three types are used as index keys for retrieving calibration parameters; character identifiers (dimensionless) are used only. Three fixed codes. The raw analog-to-digital conversion mass reading is the uncompensated raw weighing value obtained directly from the analog signal of the weighing sensor through analog-to-digital conversion. It includes amplifier gain error and zero-point drift error and cannot be directly used for batching error prevention judgment; unit , It is a real number, with positive and negative offsets when unloaded, and changes monotonically with the weight of the material after feeding. The zero-point offset compensation value associated with the gear position, and the gear position identifier. The bound no-load zero-point repair normal quantity, unit Used to compensate for fixed measurement deviations caused by sensor zero-point drift under no-load conditions and circuit baseline offset under the corresponding range; Possible values ​​can be positive or negative, within a typical range. The absolute value of high-precision micro-level compensation is smaller.

[0119] The control logic of formula (4) is as follows: 1. The sensor calibration parameter retrieval program receives the gear identifier output in step S310. ,by To index the specific calibration reference coefficient for this gear position, read it from the sensor configuration register. Zero-point offset compensation value 2. The signal conditioning circuit controller uses the gear position identifier. Simultaneously issue analog switch array switching commands, and synchronously adjust the preamplifier gain and low-pass filter cutoff frequency to match the current range sampling characteristics; 3. The weighing controller continuously acquires the raw mass reading output by the analog-to-digital converter module. 4. Substitute the values ​​into the linear calibration formula, first perform linear scaling correction on the original reading using the gear gain coefficient, then superimpose the corresponding gear zero-point offset compensation value, and output the calibrated accurate reading after eliminating the inherent deviation between the circuit and the sensor. 5. Obtain the accurate reading after calibration. The feeding compliance judgment logic passed to step S230 is related to the target feeding quality. The comparison completes the batching error prevention verification. Formula (4) scales the original modulus weighing reading with the gain coefficient bound to the current grade level, superimposes the zero-point offset compensation value of the same grade level, and outputs the standard calibration mass reading to eliminate the inherent deviation of the circuit and sensor; realizes independent and accurate compensation for different weighing ranges, and provides high-precision weighing input for multi-range explosion-proof batching error prevention judgment in conjunction with the grade linkage hardware signal conditioning.

[0120] Step S330: The range adaptation verification unit reads the corresponding upper and lower bound values ​​of the linear measurement range from the sensor response characteristic curve data table based on the range identifier. and The interval inclusion check procedure determines the target feed quality value. Does it meet the requirements? If the constraint conditions are met, it is determined that the target feeding mass value falls within the effective measurement range of the current gear, the working gear is locked, and the process proceeds to step S400; if the conditions are not met, it is determined that the target feeding mass value exceeds the range of the current gear, the explosion-proof audible and visual alarm device is triggered to prompt the operator to replace the appropriate weighing container or adjust the task parameters, and the current feeding process is stopped.

[0121] Based on the verification formula Conduct gear range verification: using gear identifiers To retrieve the upper and lower limits of linear weighing of the sensor for the corresponding gear position. , Verify the quality of the target feed. The system checks whether the material is within the effective linear range of the specified gear. If the verification is successful, the current gear is locked and the material is transferred to the next process. If the material quality exceeds the gear's range, the system triggers an explosion-proof audible and visual alarm, terminates feeding, and reminds personnel to adjust the container or process parameters. By performing pre-verification of the gear range, non-linear weighing errors are avoided, while also preventing sensor overload damage, thus balancing the accuracy of batching and weighing with the safe operation of explosion-proof equipment.

[0122] The formula for determining whether the target feed mass value falls within the valid measurement range is:

[0123] (5)

[0124] In formula (5), The lower limit of linear measurement associated with gear position, and the gear position identifier. Each sensor has a unique effective weighing limit, stored in the sensor response characteristic curve data table. The sensor output meets linear measurement accuracy requirements only when the feed weight is greater than or equal to this value; below this value, significant non-linear measurement drift occurs. (Unit) The range of values ​​is The lower limit of the high-precision micro-range gear is smaller, while the lower limit of the standard large-range gear is higher. The upper limit of linear measurement associated with gear position, and the gear position identifier. The rated maximum linear weighing value of the matched sensor is the upper limit of the safe load for the current range; exceeding this value will cause the sensor to exceed its linear range, and there is a risk of overload damage to the explosion-proof weighing equipment; unit The range of values ​​is High-precision gears have low upper limits, while standard large-range gears cover heavy material feeding conditions. As the weighing gear identifier, step S310 segmented determination outputs the graded gear code, which is divided into... High precision, Medium precision, Three standard precision categories serve as retrieval indexes for reading the upper and lower bounds of the corresponding measurement range; character-type identifiers (dimensionless) are only used for... Three fixed codes. The standard feed weight for the process, obtained by retrieving the formula mapping table from the material code, is the benchmark value to be verified for range adaptation; unit The range of values ​​is Explosion-proof mobile batching conventional area .

[0125] The control logic of formula (5) is that the range adaptation verification unit receives the gear position identifier. ,by To retrieve the sensor response characteristic curve data table, read the upper and lower boundaries of the specific linear measurement interval for this range. , The interval inclusion check procedure is substituted into the double boundary judgment formula to verify the target feed quality. Does it simultaneously exceed or equal to the lower limit of the gear linearity and be less than or equal to the upper limit of the gear linearity? Branch decision: ① If the inequality... Established: If the target feed mass falls within the effective linear measurement range of the sensor at the current gear level, the gear matching is compliant, and the gear level is locked as the working gear level for this batching and weighing operation. The gear level parameters are sent to the downstream sensor calibration and data acquisition modules. ② If the inequality does not hold: If the target feed mass exceeds the linear range of the current gear level, an audible and visual alarm for the explosion-proof equipment is triggered, the batching program is locked and the feeding operation is prohibited from starting. The operator is prompted to rematch the appropriate weighing gear level or replace the appropriate range quality detection device. Only gear levels that have passed the range adaptation verification can be put into use, thus avoiding two types of safety and accuracy risks from the source: nonlinear weighing beyond the range and sensor overload damage. Formula (5) verifies whether the target feed mass of the formula falls within the linear weighing range of the dedicated sensor at the current gear level. If the verification is passed, the weighing working gear level is locked. If it is not satisfied, an interlock alarm for the range overload is triggered, realizing the pre-verification of hardware adaptation for multi-range graded weighing gear levels, thus eliminating nonlinear weighing errors and sensor overload safety hazards from the source.

[0126] Preferably, the explosion-proof mobile multi-range graded weighing and batching error prevention control method provided in this embodiment includes step S400 as follows:

[0127] Step S410: The quality data acquisition program reads the analog voltage signal of the material container from the sensor signal channel of the quality detection device according to the sampling frequency set by the working position, calculates the instantaneous quality reading at the current moment through the pre-calibrated quality voltage conversion coefficient matrix, and adds the millisecond-level timestamp of the acquisition time.

[0128] The mass data acquisition program is started, the weighing gear identifier output in step S310 is read, and the sampling frequency matched with the current gear is retrieved. The analog voltage signal output by the sensor signal channel of the mass detection device is periodically read according to the sampling frequency. The mass-voltage conversion coefficient matrix corresponding to the current gear is retrieved in the register (1×1 scalar for a single sensor, and diagonal calibration matrix for multiple sensors in parallel), and substituted into the instantaneous mass reading linear conversion formula to complete the voltage-mass mapping calculation. A millisecond-level acquisition timestamp is added to each set of instantaneous mass sampling data to generate an original time-series weighing dataset with complete time-series markings. This dataset is transmitted to the sensor calibration module in the downstream step S320 and simultaneously written to the local traceability database to retain the original sampling records of the entire weighing process.

[0129] The formula for calculating the instantaneous mass reading at the current moment is:

[0130] (6)

[0131] In formula (6), This is the instantaneous mass reading at the current moment, calculated linearly from the sensor's analog voltage signal, and synchronously linked to a millisecond-level acquisition timestamp. It is used to store the raw weighing data of the entire batching process, serving as the underlying sampling input for subsequent gear calibration and material feeding compliance determination; unit The range of values ​​is The empty container reading approaches 0, and the feeding process monotonically increases as material is loaded. This is a mass-to-voltage conversion coefficient matrix, representing the calibration coefficients that characterize the linear mapping relationship between the sensor output voltage and the weighed mass. For single-sensor operation, it is a 1×1 scalar; for multi-sensor parallel weighing operation, it is a diagonal matrix. All elements in the diagonal matrix are determined through offline standard weight calibration experiments. It is matched to the current operating range and stored in the controller register. (Unit: [missing information]) Matrix / scalar elements are always greater than 0; high-precision micro-range coefficients are large, while large-range standard range coefficients are smaller. for The time sensor simulates a voltage signal, and the weighing sensor of the quality detection device collects the time signal. The output real-time analog voltage value changes linearly with the weight of the material inside the container. After being amplified by the signal conditioning circuit, it is sent to the analog-to-digital acquisition channel; unit The range of values ​​is The no-load voltage is close to the baseline zero point, and the full-load voltage does not exceed the upper limit of the conditioning circuit output. The data is collected using millisecond-level timestamps, with a timing marker added after each voltage sampling. This records the precise acquisition time corresponding to the instantaneous mass reading, used for traceability of weighing data throughout the batching process and calculation of dynamic feeding rates; unit Non-negative continuous-time variables, the sampling interval is matched to the sampling frequency by the gear. Decide. To match the sampling frequency to the weighing range, based on the preset signal channel sampling rate of the current weighing range, high-precision ranges are configured with high sampling frequencies to ensure accuracy in micro-scale dynamic weighing, while large-range ranges use low sampling frequencies to reduce computational overhead; unit The typical value range is 10 to 1000 Hz.

[0132] The control logic of formula (6) is as follows: 1. The mass data acquisition program reads the current grading weighing working position and retrieves the preset position matching sampling frequency. The analog voltage of the sensor signal channel is read cyclically at fixed time intervals. 2. The controller retrieves the quality-voltage conversion coefficient matrix completed during offline calibration for this gear position. (For single sensors, use scalar values; for multiple sensors, use diagonal matrices); 3. Substitute into the linear transformation formula to complete the linear conversion from voltage to instantaneous mass, obtaining the instantaneous mass reading at the current moment with time-series markers. 4. For each group Add millisecond-level collection timestamps , forming a time-series weighing raw dataset, outputting it to the downstream step S320 sensor calibration compensation module for gear-specific linear calibration correction; 5. Completely retain the time-series sampling raw data and store it in the explosion-proof batching traceability database to achieve accurate traceability of each weighing sample. The formula (6) uses the mass-voltage conversion coefficient (scalar / diagonal matrix) matched by the current gear to linearly map the real-time analog voltage of the sensor, outputting the instantaneous raw weighing mass with millisecond timestamp; compatible with single / multi-sensor weighing structures, and with the gear-adaptive sampling frequency, it provides time-series traceable underlying raw weighing data for multi-range graded weighing explosion-proof batching systems.

[0133] Step S420: The deviation calculation module extracts the target feeding mass value from the process parameter dataset, uses the absolute difference algorithm to calculate the mass deviation value between the instantaneous mass reading and the target feeding mass value, and queries the upper limit and lower limit of the allowable deviation corresponding to the working position according to the allowable deviation rule table associated with the working position.

[0134] The deviation calculation module is invoked to read the target feed mass value corresponding to the current material from the local process parameter dataset. The receiving step S410 outputs an instantaneous quality reading with a millisecond timestamp. Substitute the values ​​into the absolute difference calculation formula to solve for the timing quality deviation value in real time. ; Using the current weighing gear identifier To retrieve the index, query the pre-stored permissible deviation rule table for each gear level and retrieve the upper limit of the permissible deviation specific to that gear level. Lower limit of allowable deviation The system compares real-time quality deviation with dual thresholds to distinguish between three types of working conditions: minor sensor drift noise, compliant slight feeding deviation, and excessive feeding deviation. It then performs interlocking control for maintaining weighing, normal feeding, and replenishment / audio-visual alarm, respectively. At the same time, the instantaneous quality, quality deviation, and gear deviation threshold of each sampling moment are synchronously written into the batching traceability database to retain traceability records.

[0135] The formula for calculating the mass deviation between the instantaneous mass reading and the target feed mass value is as follows:

[0136] (7)

[0137] In formula (7), This is the instantaneous quality deviation value, the absolute difference between the instantaneous weighing reading at any sampling moment and the standard target feed mass. It is used to quantify the degree to which the current material feed amount deviates from the process standard value, serving as a core quantitative indicator for determining graded deviation over-limits and for material replenishment / over-feed interlock control; unit The range of values ​​is When the feeding is fully up to standard, the value approaches 0; the greater the feeding deviation, the higher the value. For the instantaneous mass reading at the current moment, step S410 obtains the real-time instantaneous weighing value through linear conversion of the sensor voltage signal and binds it to a millisecond-level acquisition timestamp. , is the real-time sampling input for deviation calculation; unit The range of values ​​is The no-load reading is close to the baseline zero point, and the material weight increases monotonically during the feeding process. The target feed weight, obtained by retrieving the formula quality mapping table through the material code, is the standard feed weight for the batching process and serves as the baseline target value. (Unit: ...) The range of values ​​is Explosion-proof mobile batching conventional area . This is a graded weighing range identifier, locked after range determination and range adaptation verification, containing... High precision, Medium precision, Standard precision is categorized into three types, serving as a retrieval index for the specific allowable deviation threshold of the query gear; character-type identifiers (dimensionless) are only output. Three fixed codes. The upper limit of the allowable deviation for the gear position is related to the weighing gear position identifier. The maximum permissible positive / negative deviation thresholds are stored in the permissible deviation rule table; the upper limit for high-precision micro-range settings is smaller, while the upper limit for large-range standard settings is larger; unit The range of values ​​is . The lower limit of the allowable deviation for the gear position association, and the weighing working gear position identifier. The bound minimum effective deviation threshold is used to distinguish between minor weighing drift and actual feeding deviation. Deviations below this value are considered weighing noise and will not trigger feeding / alarm actions; unit The range of values ​​is .

[0138] The control logic of formula (7) is as follows: 1. The deviation calculation module retrieves the target feed mass stored in the process parameter dataset. Synchronously read the instantaneous quality reading with timestamp output from step S410. 2. Substitute into the absolute difference formula to calculate the timing quality deviation in real time. 3. The two types of deviation conditions, namely insufficient material and excessive material, are uniformly converted into non-negative scalar deviation values; 4. The currently locked working position identifier is used. Using the key as the search term, query the pre-stored permissible deviation rule table for each gear level and retrieve the upper limit of the permissible deviation specific to that gear level. Lower limit of allowable deviation 4. Calculate the results Compared with dual thresholds: ① If If the noise is small, it is determined to be sensor drift noise, the feeding amount is up to standard, and the current stable weighing state is maintained; ② If If the deviation is within the allowable process range, a slight deviation will not trigger the interlock; ③ If If the deviation exceeds the limit, an audible and visual alarm will be triggered based on the reading to distinguish between insufficient material replenishment and excessive material replenishment. 5. Timing quality deviation The corresponding gear deviation threshold is synchronously stored in the batching traceability database to complete the quantitative recording of deviations throughout the entire feeding process. Formula (7) calculates the non-negative time-series deviation between the instantaneous sampled quality and the standard target feeding quality in real time; combined with the current weighing gear, it retrieves the exclusive upper and lower limit allowable deviation thresholds, and distinguishes between weighing noise, qualified slight deviation, and over-limit feeding deviation in layers, so as to realize dynamic quantitative error prevention monitoring of the entire process of multi-range graded weighing and batching.

[0139] Step S430: The interval determination logic unit reads the quality deviation value. If the absolute value of the quality deviation value is less than the lower limit of the allowable deviation, a compliance confirmation mark is generated and the feeding completion event is triggered.

[0140] The interval determination logic unit is invoked to read the instantaneous timing quality deviation value output in step S420 in real time. ; Using the currently locked weighing gear identifier To retrieve the index, the lower limit of the gear-related permissible deviation stored in the permissible deviation rule table is retrieved. Substitute the formula for determining the completion of feeding compliance into the threshold comparison; if the judgment condition is met, generate a feeding compliance confirmation mark, simultaneously send a feeding completion event to the host computer and the feeding execution mechanism, lock the current calibrated weighing value, stop the feeding drive, and transfer to the next batching process; if the judgment condition is not met, maintain dynamic feeding monitoring, and continue feeding or trigger an audible and visual error prevention alarm according to the positive or negative deviation; write the compliance judgment result, timing deviation, and grade threshold into the local traceability database for archiving and storage.

[0141] Step S430 performs a steady-state determination upon completion of material feeding. This determination, based on the real-time compliance determination in step S230, further filters out mechanical vibration noise to ensure stable weighing readings. Used to filter out mechanical vibration noise during the weighing process, its value is less than the upper limit of the allowable deviation. When the absolute value of the quality deviation is less than When the weighing reading has stabilized within the allowable range, the feeding completion event is triggered. The formula for determining the feeding completion confirmation is as follows:

[0142] (8)

[0143] In formula (8), The instantaneous mass deviation value is calculated in step S420 using the absolute difference formula. It represents the non-negative absolute difference between the instantaneous weighing reading and the target mass, quantifying the degree to which the current feed quantity deviates from the process standard. (Unit: [missing information]) The range of values ​​is The closer the input material is to the standard value, the smaller the value will be. This is a graded weighing range identifier, locked after range determination and range adaptation verification, containing... High precision, Medium precision, Standard precision is categorized into three types, serving as a retrieval index for the specific allowable deviation threshold of the query gear; character-type identifiers (dimensionless) are only output. Three fixed codes. The lower limit of the allowable deviation for the gear position association, and the weighing working gear position identifier. The bound minimum effective deviation threshold is used to distinguish between minor weighing drift and actual feeding deviation. Deviations below this value are considered weighing noise and will not trigger feeding / alarm actions; unit The range of values ​​is The control logic of formula (8) is as follows: 1. The interval determination logic unit receives the timing instantaneous quality deviation output by step S420 in real time. Retrieve the current working mode The corresponding lower limit of permissible deviation 2. Compare the deviation value with the gear-specific lower limit threshold to determine the following: ① If the following conditions are met... If the current feeding weight is highly consistent with the target standard amount, the system generates a feeding compliance confirmation mark, sends a feeding completion event to the host computer and the batching execution mechanism, latches the current weighing data, stops the feeding action, and proceeds to the next batching process; ② If the conditions are met... If the material feeding does not meet the qualified standard, it is determined that the material feeding is insufficient or excessive according to the size of the deviation. The material feeding control is continuously executed or the over-material sound and light alarm is output, and the process switching is prohibited; 3. The qualified confirmation mark and the corresponding sampling time time deviation value are synchronously written into the explosion-proof batching traceability database, and the qualified material feeding verification record is retained to meet the production supervision traceability requirements. The formula (8) compares the real-time time sequence quality deviation with the current weighing level exclusive allowable deviation lower limit. When the absolute value of the quality deviation value is less than the allowable deviation lower limit value, a qualified material feeding mark is generated and a material feeding completion event is triggered; relying on the grade-differentiated judgment threshold to filter weighing noise, the accurate and stable qualified material feeding interlock control of multi-range grade batching is realized.

[0144] Step S440: After receiving the compliance confirmation mark, the traceability information generator reads the material code string and batch identifier number associated with the current feeding task from the material management database, extracts the final stable quality value from the instantaneous quality reading as the actual quality record value, obtains the system timestamp of the time when the compliance confirmation mark is generated, assembles a traceability information data packet containing the material code string, batch identifier number, actual quality record value, and system timestamp using a structured data encapsulation format, and writes it into the production traceability log database.

[0145] After receiving the compliance confirmation signal, the traceability information generator retrieves the material code and batch number corresponding to this material input from the material warehouse, collects the stable actual material input quality and the current system timestamp, integrates the four types of information into a standardized traceability data package, stores it in the production traceability log database, and retains complete material input traceability vouchers.

[0146] Furthermore, in the explosion-proof mobile multi-range graded weighing and batching error prevention control method provided in this embodiment, step S500 includes:

[0147] Step S510: The traceability information encapsulation module extracts the material code string, batch identifier number, actual quality record value and system timestamp from the material feeding completion event, generates traceability record data blocks according to the data structure specifications, calculates the uniqueness check code for the traceability record data blocks using a preset hash algorithm, writes the uniqueness check code and traceability record data blocks into the synchronization table of the local cache database and records the local transaction sequence number.

[0148] The traceability information encapsulation module receives the material feeding completion event issued in step S440, extracts the material code string, batch identifier number, actual quality record value, and system timestamp bound to the event, and serializes and concatenates the four types of traceability fields according to the unified data structure specification to generate a standardized traceability record data block. ; Invoke the controller's fixed one-way cryptographic hash function Substitute the values ​​into the uniqueness check code calculation formula to generate the uniqueness check code corresponding to this material input record. Read the locally generated transaction sequence number from the local cache database; trace the record data block. Uniqueness check code The local transaction sequence number, local transaction sequence number, and local transaction sequence number are bound together into a cache record and written to the local cache database table to be synchronized. The local cache record is used for local integrity self-check and subsequent cloud breakpoint resume synchronization. Before synchronization, the data is checked and traced to see if it has been tampered with or damaged during storage through secondary hash recalculation.

[0149] The formula for calculating the uniqueness check code is:

[0150] (9)

[0151] In formula (9), The unique verification code is a fixed-length digital digest obtained by operating a standardized traceability record data block using a preset cryptographic hash function. It possesses avalanche effect and collision resistance properties; even a minor modification to any field will completely change the verification code. It serves as the unique integrity identifier for the entire material input traceability record, used for local verification and cloud-based anti-tampering verification. The hexadecimal string (dimensionless) has a fixed length determined by the selected hash algorithm; for example, SHA-256 outputs 64 hexadecimal characters. Operator This system features a pre-defined one-way cryptographic hash function and a built-in one-way cryptographic hash operator in the explosion-proof batching controller. It can select national cryptographic / general security hash algorithms such as SHA-256 and SM3. It takes an arbitrary-length structured data block as input and outputs a fixed-length unique digest that is irreversible and collision-free, used for industrial traceability data integrity verification. The cryptographic operator is dimensionless. The rule is that the same input data block will always output the same checksum, and it is almost impossible for different inputs to output the same checksum. To trace the recorded data blocks, the traceability information encapsulation module generates a complete structured traceability message according to a unified data structure specification. Internally, it encapsulates the material code string, batch identifier number, and the final actual quality of the material fed into the system. System timestamp for material feeding completion Four core traceability fields, after binary serialization, serve as the unique input to the hash function; binary structured data blocks (mixed dimensions) are generated as independent and unique data blocks after each feeding, with no missing fields and a unified format. To record the actual quality of the feed completion, the final weighed mass after calibration, latched when the feed completion event is triggered, is written into the traceability data block as the actual feed benchmark; unit The range of values ​​is With respect to the target feed quality The deviation is within the allowable error range for the gear. This is a high-precision system time stamp for the system's material feeding completion time, marking the trigger moment of the material feeding target achievement event. It accurately records the material batching completion time for production timeline traceability and sequencing; the unit is millisecond-level timestamp ( The value range is a non-negative time series value, and it is globally monotonically increasing. This is the local transaction sequence number, an auto-incrementing transaction number in the local cache database. Each trace record is assigned a unique, incrementing sequence number for sorting data in the table to be synchronized and for resuming synchronization from breakpoints; it is a dimensionless integer with a value range of [missing value]. It continuously increments without repetition.

[0152] The control logic of formula (9) is as follows: 1. The traceability information encapsulation module receives the material feeding completion event signal, extracts the material code string, batch identification number, and latched actual feeding quality bound to the event. Completion millisecond timestamp 2. Serialize and concatenate the four types of fields according to the preset unified data structure specifications to generate traceability record data blocks. 3. Ensure that the field concatenation order and encoding format are completely fixed within the same batch; Input fixed hash function Substitute into the formula Calculate the unique hash checksum h of this material input record; 4. Combine the triplet (trace record data block) Uniqueness check code Auto-incrementing local transaction sequence number 5. In the subsequent local verification and cloud synchronization upload stages, the trace record data blocks in the database are reread. Then perform the hash operation again, comparing the newly calculated checksum with the stored one. If the two are consistent, it means that the traceability record is complete and has not been tampered with; if they are inconsistent, it means that the record is damaged or has been tampered with, triggering an alarm for abnormal traceability data and refusing to synchronize it to the upper-level supervision system. Formula (9) takes the complete material feeding traceability data block after standardization and packaging as input, and generates a unique integrity check code through a preset security hash function; the original data block, check code and transaction sequence number are stored in the local cache to be synchronized. Through secondary hash comparison, the tampering or storage damage of the traceability record can be accurately identified, realizing the tamper-proof and reliable storage and verification of the traceability data of the explosion-proof mobile batching process.

[0153] Regarding hash verification (Formula 9): This is for integrity protection of cached data after network outages in explosion-proof environments. In explosion-proof workshops, electromagnetic interference is strong, and storage media may contain bad blocks. Ordinary CRC cannot prevent malicious tampering or silent errors, while cryptographic hashing (SM3 / SHA-256) can ensure that data recovered after a week of network outage is still reliable. This is not a simple verification, but a necessary means of trusted traceability.

[0154] Step S520: The network status monitoring daemon obtains the network connection status identifier by probing the service port connectivity of the remote batch management system. If the network connection status identifier shows that the connection is interrupted, the local accumulation mode is triggered. In the local accumulation mode, newly generated trace record data blocks are continuously received and stored in the cache queue area of ​​the table to be synchronized in ascending order of the local transaction sequence number.

[0155] The network status monitoring daemon that resides in the background periodically initiates service port connectivity probes to the remote batch management system and generates a network connection status identifier based on the port response results. The network identifier is then judged: if the identifier indicates that the network connection is interrupted, it automatically switches to local accumulation mode. During the operation of local accumulation mode, it continuously receives trace record data blocks with hash check codes output by step S510, and stores them in the cache queue area of ​​the synchronization table in a persistent cache in strict ascending order of the local transaction sequence number, waiting for the network to recover before batch breakpoint synchronization.

[0156] Step S530: The synchronization trigger determination unit reads the real-time change value of the network connection status identifier. If it detects that the network connection status identifier changes from the interrupted state to the connection restored state, it starts the batch synchronization process. The batch synchronization process extracts all accumulated trace record data blocks from the table to be synchronized in chronological order of local transaction sequence numbers to form a data set to be transmitted. The data set to be transmitted is divided into multiple transmission group units according to a fixed group capacity. Each transmission group unit sends an upload request to the data receiving interface of the remote batch management system through an encrypted communication channel. After the remote batch management system returns a reception confirmation response, it deletes the trace record data block that has been successfully uploaded from the table to be synchronized.

[0157] The synchronization trigger judgment unit continuously polls and reads the real-time value of the network connection status indicator; when it detects that the network indicator has switched from the interrupted state to the connected state, it automatically starts the batch synchronization process; the batch synchronization process traverses the local cache table to be synchronized, strictly extracts all offline accumulated and unuploaded trace record data blocks in ascending order according to the local transaction sequence number, and orderly constructs the trace data set to be transmitted. The process iterates through all data blocks in the data set to be transmitted, sums up the total length of all bytes, substitutes this into the formula for calculating the total number of transmission groups, and rounds up to find the total number of groups based on the pre-set fixed byte capacity per packet of the communication channel. The ordered data set to be transmitted is then sequentially divided according to the number of groups, generating several transmission group units, with the total bytes of each group not exceeding the upper limit of the single packet capacity. An encrypted communication channel is established for each group, and an upload request is initiated to the data receiving interface of the remote batch management system. Upon receiving a confirmation response from the remote system, the corresponding uploaded trace record is deleted from the local synchronization cache table to avoid duplicate uploads. After all groups have been transmitted, the batch synchronization process exits and continuously monitors the network status, waiting for the next synchronization trigger.

[0158] The formula for constructing the data set to be transmitted is:

[0159] (10)

[0160] In formula (10), When the network recovers and triggers the batch synchronization process, the system extracts all unuploaded traceability record data blocks from the local cache database's synchronization table in ascending order of local transaction sequence number, forming a complete dataset to be uploaded. The order of elements within the traceability data set to be transmitted strictly corresponds one-to-one with the material feeding and production sequence, ensuring that the remote management system restores the actual material batching operation sequence after receiving it. It is a mixed structured binary data set, with each element in the traceability data set to be transmitted using a byte unit. The set is not empty only when there are unsynchronized traceability records, and the number of elements in the traceability data set to be transmitted is a positive integer. The total number of records to be synchronized and traced, and the set of traced data to be transmitted. The total number of traceability data blocks included is equal to the number of complete material feeding traceability batches accumulated during the network outage and offline period that have not yet been uploaded to the remote system; it is one of the input parameters for the formula for calculating the number of groups, a dimensionless positive integer, and its value range is... . (subscript) ) is the first Each traceability record data block is a structured data block generated by the traceability information encapsulation module after the completion of a single material feeding process. It internally encapsulates the material code, batch number, actual material feeding quality, and completion timestamp, and is accompanied by a unique hash checksum; subscript Represents the local transaction sequence number's sorting position. The earliest generated unsynchronized record, This is the latest unsynchronized record. Single block storage unit. The length of a single block of bytes is denoted as .

[0161] The control logic of formula (10) is: 1. The synchronous triggering determination unit detects the network status identifier. 1. Switch from 0 to 1 (network connectivity restored), and start the batch synchronization process; 2. The program traverses the local table to be synchronized, reads all undeleted trace data blocks in ascending order according to the auto-incrementing local transaction sequence number, and fills them into the trace data set to be transmitted. Generate an ordered sequence 3. Iterate through all elements of the collection and call the length function. Summing up the data yields the total number of bytes transmitted. Substitute the values ​​into the packet count formula to solve for the total number of transmitted packets. 4. Based on fixed group capacity 5. Sequentially divide the ordered data blocks within the data set to be transmitted and traced into multiple transmission group units, maintaining the original feeding sequence of the data set to be transmitted and traced unchanged; 6. Encrypt and upload the groups sequentially to the remote batch management system, and delete the corresponding data from the synchronization table after receiving the confirmation response. Elements already uploaded in the traceability data set to be transmitted will not participate in the next round of synchronization. Formula (10) is the encapsulation definition of the ordered dataset of the traceability records that have not been uploaded due to network outage. All traceability data blocks are arranged according to the time sequence of material generation and serve as a unified data input carrier for batch synchronization and encrypted transmission, ensuring that the traceability records are uploaded to the remote batch management system in an orderly and complete manner.

[0162] The formula for calculating the total number of transmission packets in a transmission packet unit is:

[0163] (11)

[0164] In formula (11), The total number of transmission packets represents the number of complete upload packets required after being divided into packets with a fixed byte capacity during offline cumulative traceability record batch synchronization. Rounding up ensures that any remaining data less than one packet byte independently forms the last transmission packet, preventing the loss of any traceability records. The value is a dimensionless positive integer, ranging from [value missing]. At least one transmission packet must be generated if the set of data to be transmitted is not empty. The rounding operator (ceiling function) rounds up the fractional result to the smallest integer; when the total sum of bytes is exactly an integer multiple of the single packet capacity, the integer division result is used; if there are any bytes remaining that are less than one packet, the group number is automatically rounded up to ensure that all traceable data can be allocated to transmission packets without data truncation or omission; the unit of measurement is the mathematical operation operator (dimensionless). Summation term The total length of the set to be transmitted in bytes, for all data within the batch synchronization set. The total data volume (in bytes) of all traceability records that need to be uploaded this time is obtained by summing the byte lengths of each traceability data block. The total number of trace records to be synchronized is represented by the cumulative number of trace records retrieved from the local table to be synchronized in order of transaction sequence number, which constitutes the set to be transmitted. ; Dimensionless positive integers, the range of values ​​is Before the network was restored, multiple offline material feeding traceability records were accumulated. For the first The length of a traceability data block in bytes; a single encapsulated traceability record data block. The number of bytes occupied is fixed by the serialization encapsulation format, while the length of each record changes dynamically based on the field content; the unit of measurement is... . To limit the maximum capacity of transmitted packets, the maximum byte length allowed for a single frame transmission in the encrypted communication channel is set as a fixed constant based on the remote management system interface protocol and the wireless transmission bandwidth of the explosion-proof equipment. This constant is used to constrain the data volume of a single packet and prevent large packet loss and communication congestion. The range of values ​​is The typical range for industrial wireless transmission is 512 to 8192 bytes. This serves as a network connection status identifier, with real-time tracking of network status. This indicates that the network is offline, and local cache records are being tracked. This indicates that network connectivity has been restored, triggering a batch synchronization process; it is a dimensionless binary identifier, taking only 0 or 1. Given the set of data to be transmitted, extract all unsynchronized trace records in ascending order of local transaction sequence number to form an ordered set. This ensures that the upload sequence is completely consistent with the material feeding and production sequence.

[0165] The control logic of formula (11) is: 1. The synchronous triggering judgment unit continuously monitors the network status flag. Detected The process changes from 0 to 1 (network connectivity restored), initiating the batch synchronization process; 2. The synchronization process reads the local table to be synchronized, extracts all unuploaded traceable data blocks in ascending order of auto-incrementing local transaction sequence number, and constructs the data set to be transmitted. 3. Iterate through each data block in the data set to be transmitted and call the length function. Get the size of each individual byte, and sum them up using a summation operator to obtain the total number of bytes to be uploaded. 4. Retrieve the preset fixed capacity limit for transmission packets. Substitute the values ​​into the formula for calculating the number of packets, perform division, and round up to obtain the total number of transmitted packets. 5. According to the total number of transmitted packets The data set to be transmitted is sequentially divided, and the total number of bytes in each group does not exceed [a certain value]. 6. Establish an encrypted communication channel for each group of transmission units in sequence and send an upload request to the remote batch management system interface; after receiving the system's confirmation response, delete the corresponding traceability record that has been successfully uploaded from the local synchronization table to prevent duplicate uploads; 7. After all groups are uploaded, end the batch synchronization process and continuously monitor the network status to wait for the next network outage recovery trigger. Formula (11) adds up the total number of bytes of all traceability records to be synchronized, divides it by the fixed byte capacity of a single packet of the communication channel and rounds up to obtain the total number of complete transmission groups; realizes the orderly and lossless automatic packet upload of dynamic length traceability records, and adapts to the trusted traceability data transmission scenario of offline caching and network batch synchronization of explosion-proof mobile batching equipment.

[0166] Regarding packet-splitting transmission (Formula 11): This is used on explosion-proof mobile devices where the wireless signal is shielded by metal equipment, resulting in unstable bandwidth. By employing a rounding-up packet-splitting strategy, combined with the local transaction sequence number (n), breakpoint resumption and zero data loss are achieved. This is to address the data transmission reliability issue in a specific physical environment, rather than simply an application of computer algorithms.

[0167] Please see Figure 2 This embodiment provides an explosion-proof mobile multi-range graded weighing and batching error-proofing control system for implementing the aforementioned explosion-proof mobile multi-range graded weighing and batching error-proofing control method. It includes a network connection status judgment module 10, a target feed mass value extraction module 20, a working range determination module 30, a working range allowable range judgment module 40, and a traceability information upload module 50. The network connection status judgment module 10 is used to obtain the batching task identifier and read the process parameter dataset corresponding to the batching task identifier from the local database, and judge the network connection status. If the network connection status is normal, it updates the process parameter dataset by synchronizing the latest process parameter data from the remote server. If the network connection status is interrupted, it directly extracts the material type information and target feed mass parameters from the process parameter dataset. The target feed mass value extraction module 20 is used to read the material code and batch identifier from the electronic tag on the surface of the material container placed on the weighing platform using an intrinsically safe RFID identification device. It verifies and compares the material code with the standard code required for the current process in the process parameter dataset. If the comparison result is inconsistent, an alarm device is triggered; if the comparison result is consistent, the target feed mass value of the material is extracted. The system includes a target material feeding quality value; a working level determination module 30, which uses a range adaptive selection algorithm to determine the working level of the quality detection device based on the preset quality range of the target material feeding quality value. If the target material feeding quality value is in a preset micro range, a high-precision level is selected; if the target material feeding quality value is in a preset normal range, a medium-precision level is selected; and if the target material feeding quality value is in a preset large range, a standard-precision level is selected. A working level allowable range judgment module 40 drives the quality detection device to collect the quality data of the material container in real time according to the working level, calculates the deviation between the quality data and the target material feeding quality value, and determines whether the deviation value falls within the allowable range corresponding to the working level. If it does not fall within the allowable range, it continues to monitor; if it does fall within the allowable range, it confirms that feeding is complete and generates traceability information including material code, batch identifier, actual quality, and timestamp. A traceability information upload module 50 writes the traceability information to a local cache database, checks the network connection status, and if the network connection is restored, it starts a synchronization process to upload the locally cached traceability information in batches to the remote batch management system. If the network is continuously interrupted, it accumulates the traceability information locally until the network is restored and then uploads it uniformly.

[0168] The explosion-proof mobile multi-range graded weighing and batching error prevention control system provided in this embodiment has the following specific advantages compared with the prior art:

[0169] 1. This embodiment sets up network adaptive process parameter synchronization logic. When the network is normal, the latest formula is pulled from the cloud in real time to update the local dataset. When the network is interrupted, the local complete process parameters are used to ensure production, avoiding the problems of lagging process standards and work stoppage due to network interruption. It is suitable for the unstable wireless signal working conditions in explosion-proof workshops.

[0170] 2. Adopting a dual error prevention mechanism of RFID electronic tag synchronous verification of material code and production batch, the system will immediately sound and light alarm for incorrect materials and lock the feeding process, thereby eliminating the risk of finished product scrap and safety hazards caused by mixing different raw materials and different batches from the source, and meeting the requirements for pre-processing error prevention and control of hazardous chemical batching.

[0171] 3. Design a three-stage mass range + adaptive range switching algorithm. Use the high-precision sensor range for trace materials and the standard large range range for large materials. Match the specific weighing resolution and error threshold for each range to balance the accuracy of trace batching and the efficiency of large batch weighing, and solve the problem of unbalanced weighing accuracy in a single range.

[0172] 4. Differentiated weighing allowable deviation ranges are set for different weight levels. High-precision micro-batch dispensing adopts a smaller error threshold, improving the qualification standard for fine batching. After feeding is completed, standardized traceability information with bound material code, batch, actual weight, and timestamp is automatically generated, with complete traceability elements to meet the regulatory ledger requirements of the chemical and pharmaceutical industries.

[0173] 5. All traceability data is first cached locally, supporting offline accumulation during network outages and batch resume transmission after network recovery. This completely solves the problem of data loss caused by wireless shielding and network fluctuations in explosion-proof workshops, forming a complete closed-loop error-proof traceability control process of "ingredients-verification-weighing-caching-cloud archiving".

[0174] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention. Clearly, those skilled in the art can make various alterations and modifications to the invention without departing from its spirit and scope. Thus, if these modifications and modifications of the invention fall within the scope of the claims and their equivalents, the invention is also intended to include these modifications and modifications.

Claims

1. A method for error prevention and control of explosion-proof mobile multi-range graded weighing and batching, applied in an explosion-proof mobile weighing and batching trolley, wherein the explosion-proof mobile weighing and batching trolley is suitable for explosive gas environments in Zone 1 or Zone 2, characterized in that, Includes the following steps: S100: Obtain the batching task identifier and read the process parameter dataset corresponding to the batching task identifier from the local database. Determine the network connection status. If the network connection status is normal, synchronize the latest process parameter data from the remote server to update the process parameter dataset. If the network connection status is interrupted, directly extract the material type information and target feeding quality parameters from the process parameter dataset. S200: Read the material code and batch identifier in the electronic tag on the surface of the material container placed on the weighing platform through an intrinsically safe RFID identification device. Verify and compare the material code with the standard code required by the current process in the process parameter dataset. If the comparison result is inconsistent, trigger the alarm device. If the comparison result is consistent, extract the target feeding mass value of the material. S300. Based on the preset quality range where the target feed mass value is located, a range adaptive selection algorithm is used to determine the working level of the quality detection device. The range adaptive selection algorithm sets the preset quality range boundary thresholds. As a criterion, if the target feed mass value is less than the upper threshold of the micro-range... Then select the high-precision setting. If the target feed mass value is greater than or equal to the upper threshold of the micro-range... And less than or equal to the upper limit threshold of the regular interval Then select the medium precision setting. If the target feed mass value is greater than the upper limit threshold of the normal range... Then select the standard precision setting; S400. Drive the quality detection device to collect the quality data of the material container in real time according to the working position, calculate the deviation value between the quality data and the target feeding quality value, determine whether the deviation value enters the allowable range corresponding to the working position, if it does not enter, continue monitoring, if it has entered, confirm that the feeding is completed and generate traceability information including material code, batch identifier, actual quality and timestamp. S500. Write the traceability information into the local cache database, check the network connection status, and if the network connection is restored, start the synchronization process to upload the locally cached traceability information in batches to the remote batch management system. If the network is continuously interrupted, accumulate the traceability information locally until the network is restored and then upload it in a unified manner.

2. The explosion-proof mobile multi-range graded weighing and batching error prevention control method according to claim 1, characterized in that, Step S100 includes: S110. Receive the production order number and parse the product model identifier, query the task mapping table to obtain the ingredient task identifier, and read the process parameter dataset associated with the ingredient task identifier from the local database. S120. The network status monitoring program sends a heartbeat request to the remote server and judges the network connection status based on the response delay and packet loss rate. If the network connection status is normal, the latest process parameter dataset is downloaded from the remote server and the local database is updated. If the network connection status is interrupted, the offline working mode flag is triggered. S130. The data extraction module reads the formula structure data in the process parameter dataset, parses the mapping relationship between the material code sequence and the material name to generate a material type information list, and traverses the material type information list to extract material type information and feeding sequence parameters.

3. The explosion-proof mobile multi-range graded weighing and batching error prevention control method according to claim 1, characterized in that, Step S200 includes: S210, The radio frequency identification reader transmits a carrier signal to the weighing platform to activate the electronic tag chip on the surface of the material container. The tag decoding module decomposes the check bit and data bit in the returned data frame according to the predetermined communication protocol format to generate a structured coded record. The structured coded record includes a material code string and a batch identification timestamp. S220: The coding comparison engine extracts the standard material code benchmark value corresponding to the current process number from the process parameter dataset. It uses a string character matching algorithm to perform full-field verification and comparison between the material code string and the standard material code benchmark value. If there are inconsistent characters in the character sequence, the anomaly detection module triggers the alarm device to output an audible and visual warning signal. If the character sequence is completely matched, the verification passes the marker and marks the material container status as verified in the task execution queue. S230. The quality data query program retrieves the formula quality mapping table in the process parameter dataset based on the verified material code string, traverses the batching record rows corresponding to the material code string to obtain the target feeding quality value, the weighing controller reads the analog quantity of the quality signal collected in real time by the weighing sensor, obtains the digital quality reading after analog-to-digital conversion, and compares the absolute value of the difference between the digital quality reading and the target feeding quality value to determine the feeding quality compliance status.

4. The explosion-proof mobile multi-range graded weighing and batching error prevention control method according to claim 1, characterized in that, Step S300 includes: S310, the interval determination logic unit determines the gear identifier based on the relationship between the target feed mass value and the values ​​of each boundary point in the mass interval boundary threshold set, wherein the mass interval boundary threshold set is preset according to the nominal range and accuracy level of the quality detection device; if the target feed mass value is less than the upper limit threshold of the micro-range... Then the gear identifier is assigned a high-precision gear code; if the target feed mass value is greater than or equal to the upper threshold of the micro-range. And less than or equal to the upper limit threshold of the regular interval Then the gear identifier is assigned the medium precision gear code; if the target feed mass value is greater than the upper limit threshold of the normal range. The gear position identifier is then assigned the standard precision gear position code; S320, The sensor calibration parameter retrieval program reads the calibration reference coefficient and zero offset compensation value of the corresponding accuracy level from the sensor configuration register according to the gear identifier. The signal conditioning circuit controller sends a gear switching command to the analog switch array according to the calibration reference coefficient to adjust the preamplifier gain and filter cutoff frequency parameters. S330, the range adaptation verification unit reads the corresponding upper and lower limits of the linear measurement range from the sensor response characteristic curve data table based on the range identifier. and The interval inclusion check procedure determines the target feed quality value. Does it meet the requirements? If the constraint conditions are met, it is determined that the target feeding mass value falls within the effective measurement range of the current gear, the working gear is locked, and the process proceeds to step S400; if the conditions are not met, it is determined that the target feeding mass value exceeds the range of the current gear, the explosion-proof audible and visual alarm device is triggered to prompt the operator to replace the appropriate weighing container or adjust the task parameters, and the current feeding process is stopped.

5. The explosion-proof mobile multi-range graded weighing and batching error prevention control method according to claim 1, characterized in that, Step S400 includes: S410. The quality data acquisition program reads the analog voltage signal of the material container from the sensor signal channel of the quality detection device according to the sampling frequency set by the working position, calculates the instantaneous quality reading at the current moment through the pre-calibrated quality voltage conversion coefficient matrix, and adds the millisecond-level timestamp of the acquisition time. S420, The deviation calculation module extracts the target feeding mass value from the process parameter dataset, uses the absolute difference algorithm to calculate the mass deviation value between the instantaneous mass reading and the target feeding mass value, and queries the upper limit and lower limit of the allowable deviation corresponding to the working position according to the allowable deviation rule table associated with the working position. S430, The interval determination logic unit reads the quality deviation value. If the absolute value of the quality deviation value is less than the allowable deviation lower limit, a compliance confirmation mark is generated and a feeding completion event is triggered. S440. After receiving the compliance confirmation identifier, the traceability information generator reads the material code string and batch identifier number associated with the current feeding task from the material management database, extracts the final stable quality value from the instantaneous quality reading as the actual quality record value, obtains the system timestamp of the time when the compliance confirmation identifier is generated, assembles a traceability information data packet containing the material code string, the batch identifier number, the actual quality record value, and the system timestamp using a structured data encapsulation format, and writes it into the production traceability log database.

6. The explosion-proof mobile multi-range graded weighing and batching error prevention control method according to claim 1, characterized in that, Step S500 includes: S510, the traceability information encapsulation module extracts the material code string, batch identifier number, actual quality record value and system timestamp from the material feeding completion event, generates traceability record data blocks according to the data structure specification, calculates the uniqueness check code of the traceability record data blocks using a preset hash algorithm, and writes the uniqueness check code and the traceability record data blocks into the synchronization table of the local cache database and records the local transaction sequence number; S520. The network status monitoring daemon obtains the network connection status identifier by detecting the service port connectivity of the remote batch management system. If the network connection status identifier shows a connection interruption, the local accumulation mode is triggered. In the local accumulation mode, newly generated trace record data blocks are continuously received and stored in the cache queue area of ​​the table to be synchronized in ascending order of the local transaction sequence number. S530. The synchronization trigger determination unit reads the real-time change value of the network connection status identifier. If it detects that the network connection status identifier changes from an interrupted state to a connection restored state, it starts a batch synchronization process. The batch synchronization process extracts all accumulated trace record data blocks from the table to be synchronized according to the time order of the local transaction sequence number to form a data set to be transmitted. The data set to be transmitted is divided into multiple transmission group units according to a fixed group capacity. Each transmission group unit sends an upload request to the data receiving interface of the remote batch management system through an encrypted communication channel. After the remote batch management system returns a reception confirmation response, it deletes the trace record data block that has been successfully uploaded from the table to be synchronized.

7. The explosion-proof mobile multi-range graded weighing and batching error prevention control method according to claim 6, characterized in that, In step S510, the formula for calculating the uniqueness check code is: ; in, For uniqueness check code, Let D be a predefined one-way cryptographic hash function, and D be a traceable record data block.

8. The explosion-proof mobile multi-range graded weighing and batching error prevention control method according to claim 7, characterized in that, In step S530, the formula for constructing the data set to be transmitted is: ; in, For the set of traceability data to be transmitted, For the first One trace record data block, This represents the total number of records to be synchronized and traced.

9. The explosion-proof mobile multi-range graded weighing and batching error prevention control method according to claim 8, characterized in that, In step S530, the formula for calculating the total number of transmission packets in the transmission packet unit is as follows: ; in, The total number of transmitted packets. For the floor operator, The total length of the set to be transmitted in bytes. For the first The length of the trace data block in bytes. Set a fixed upper limit for the capacity of transmitted packets.

10. An explosion-proof mobile multi-range graded weighing and batching error prevention control system, used to implement the explosion-proof mobile multi-range graded weighing and batching error prevention control method as described in any one of claims 1 to 9, characterized in that, include: The network connection status judgment module is used to obtain the batching task identifier and read the process parameter dataset corresponding to the batching task identifier from the local database, and judge the network connection status. If the network connection status is normal, the latest process parameter data is synchronized from the remote server to update the process parameter dataset. If the network connection status is interrupted, the material type information and target feeding quality parameters in the process parameter dataset are directly extracted. The target feed mass value extraction module is used to read the material code and batch identifier in the electronic tag on the surface of the material container placed on the weighing platform through an intrinsically safe RFID identification device, and to verify and compare the material code with the standard code required by the current process in the process parameter dataset. If the comparison result is inconsistent, an alarm device is triggered. If the comparison result is consistent, the target feed mass value of the material is extracted. The working range determination module is used to determine the working range of the quality detection device based on a preset quality range where the target material feeding quality value falls, using a range adaptive selection algorithm. The range adaptive selection algorithm sets a preset set of quality range boundary thresholds. As a criterion, if the target feed mass value is less than the upper threshold of the micro-range... Then select the high-precision setting. If the target feed mass value is greater than or equal to the upper threshold of the micro-range... And less than or equal to the upper limit threshold of the regular interval Then select the medium precision setting. If the target feed mass value is greater than the upper limit threshold of the normal range... Then select the standard precision setting; The working position allowable range judgment module is used to drive the quality detection device to collect the quality data of the material container in real time according to the working position, calculate the deviation value between the quality data and the target feeding quality value, and determine whether the deviation value enters the allowable range corresponding to the working position. If it does not enter, it continues to monitor. If it has entered, it confirms that the feeding is completed and generates traceability information including material code, batch identifier, actual quality and timestamp. The traceability information upload module is used to write the traceability information into a local cache database, detect the network connection status, and if the network connection is restored, start a synchronization process to upload the locally cached traceability information in batches to the remote batch management system. If the network is continuously interrupted, the traceability information is accumulated locally until the network is restored and then uploaded in a unified manner.