Static powder coating airflow stability real-time compensation method

By monitoring the winding current of the stepper motor driver in real time, the problem of lagging airflow monitoring in the electrostatic powder coating device was solved, enabling early diagnosis and active compensation of airflow blockage, thus improving coating quality and system reliability.

CN121478016AActive Publication Date: 2026-02-06TIANJIN MINGJIE INTELLIGENT EQUIP CO LTD

Patent Information

Application Number
CN202610024756.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-09
Publication Date
2026-02-06
Estimated Expiration
2046-01-09

AI Technical Summary

Technical Problem

Existing electrostatic powder coating equipment has outdated airflow monitoring methods, which cannot detect minor blockages and soft blockages in the airflow channels in a timely manner, resulting in damage to the coating quality and a lack of predictability.

Method used

By monitoring the winding current of the stepper motor driver in real time, it can determine whether there is a tendency for the airflow channel to become blocked, and generate a compensation signal based on the offset to actively adjust the opening of the pneumatic control valve to counteract the decrease in airflow caused by the blockage.

Benefits of technology

It enables early, direct, and non-contact diagnosis of airflow blockage, transforming passive alarms into active compensation, improving coating quality and consistency, and reducing maintenance costs and system failure rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121478016A_ABST
    Figure CN121478016A_ABST
Patent Text Reader

Abstract

The invention provides an electrostatic powder coating airflow stability real-time compensation method, and relates to the technical field of powder coating control, the method is realized based on an electrostatic powder coating airflow stability real-time compensation device, the device comprises a master control MCU, a pneumatic control valve, a stepping motor driver for driving the pneumatic control valve, and a current sampling circuit coupled to the stepping motor driver, the current collector is used for collecting winding current of the stepping motor in real time. The method comprises the following steps that after a pneumatic control valve is opened to a target opening degree and enters a holding state, a static holding current value of the pneumatic control valve is obtained; comparing the static holding current value with a preset reference holding current value, wherein the preset reference holding current value corresponds to the holding current required by the target opening degree under the smooth state of the airflow channel; according to the offset of the static holding current value relative to the reference holding current value, whether the airflow channel has a blocking trend or not is judged; if not, the current target opening degree of the pneumatic control valve is maintained, the airflow state change can be more directly sensed, and real-time active compensation is carried out.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of powder coating control technology, specifically to a real-time compensation method for airflow stability in electrostatic powder coating. Background Technology

[0002] Electrostatic powder coating utilizes the force of an electrostatic field on charged particles to firmly adhere charged coating powder to the workpiece surface. After high-temperature baking, melting, leveling, and low-temperature curing, the powder layer forms a solid coating on the workpiece surface. As a key piece of equipment in electrostatic powder coating, the electrostatic powder coating control device often uses a main control MCU, storage modules, and various control components to achieve the formula-based calling and management of coating parameters, thus improving control convenience to a certain extent.

[0003] In existing technologies, such as the electrostatic powder coating control device and method disclosed in patent announcement number CN112650127 B, there is a technical defect in the lagging and indirect airflow monitoring method. Specifically, the air control module mainly monitors the inlet air pressure through the air pressure acquisition module and alarms and shuts down when the pressure is lower than a set threshold. This leads to two problems: First, air pressure is a result of airflow rather than a cause. When a drop in air pressure is detected, insufficient airflow has already occurred, and the coating quality may have already been damaged, resulting in a delayed response. Second, in powder coating, slight accumulation of powder or the formation of "soft blockage" can cause changes in airflow channel resistance, but this may not necessarily cause significant fluctuations in inlet air pressure in the early stages. Therefore, this solution cannot effectively detect such gradual and localized blockage trends and lacks predictability. Summary of the Invention

[0004] In view of the above-mentioned defects or deficiencies in the prior art, this application aims to provide a real-time compensation method for airflow stability in electrostatic powder coating, which is implemented based on a real-time compensation device for airflow stability in electrostatic powder coating. This device includes a main control MCU, a pneumatic control valve, a stepper motor driver driving the pneumatic control valve, and a current sampling circuit coupled to the stepper motor driver for real-time acquisition of the winding current of the stepper motor. The method includes the following steps: After the pneumatic control valve opens to the target opening degree and enters the holding state, its static holding current value is obtained through the current sampling circuit; The static holding current value is compared with a preset reference holding current value, which corresponds to the holding current required for the target opening when the airflow channel is unobstructed. Based on the offset of the static holding current value relative to the reference holding current value, it is determined whether the airflow channel shows a tendency to become blocked; If not, maintain the current target opening degree of the pneumatic control valve; If so, a corresponding opening compensation signal is generated based on the offset, and the stepper motor driver is controlled to increase the actual target opening of the pneumatic valve to counteract the decrease in airflow caused by the blockage trend.

[0005] According to the technical solution provided in this application, determining whether the airflow channel shows a tendency to blockage includes the following steps: When the offset exceeds a preset threshold, it is determined that the airflow channel is showing signs of blockage. Before determining whether the airflow channel shows signs of blockage, the following steps are also included: Determine the type of airflow currently being controlled, whereby the airflow type includes powder distribution gas and powder delivery gas; Based on the airflow type, match the preset threshold corresponding to the airflow type; Wherein, the preset threshold corresponding to the powder dispensing gas is lower than the preset threshold corresponding to the powder delivery gas.

[0006] According to the technical solution provided in this application, before comparing the static holding current value with the preset reference holding current value, the method further includes the following steps: Obtain the preset reference holding current value; The process of obtaining the preset reference holding current value includes the following steps: The historical operating condition database is retrieved to obtain a target stage set, which includes multiple historical stable spraying stages with a determined non-blocking trend, and the static holding current value corresponding to each historical stable spraying stage. The preset reference holding current value is obtained based on the target stage set.

[0007] According to the technical solution provided in this application, before retrieving the historical operating condition database, the following steps are also included: Real-time acquisition of current ambient temperature and humidity; The process of retrieving the historical operating condition database to obtain the target stage set includes the following steps: In the historical operating condition database, historical stable spraying stages are selected where the difference between the historical ambient temperature and the current ambient temperature, and the difference between the historical ambient humidity and the current ambient humidity are both within their respective preset tolerance ranges. If the number of the selected historical stable spraying stages is higher than a preset threshold, then all the historical stable spraying stages are combined to form the target stage set.

[0008] According to the technical solution provided in this application, obtaining the preset reference holding current value based on the target stage set includes the following steps: Cluster analysis is performed on multiple static holding current values ​​in the target stage set to identify the most concentrated cluster of current values. The data in the current value cluster are weighted based on a time decay factor, wherein the weight of recent data is higher than that of earlier data. The weighted result is multiplied by the life compensation coefficient corresponding to the cumulative running time of the equipment to obtain the preset reference holding current value.

[0009] According to the technical solution provided in this application, after selecting historical stable spraying stages from the historical working condition database where the difference between historical ambient temperature and current ambient temperature, and the difference between historical ambient humidity and current ambient humidity are all within their respective preset tolerance ranges, the method further includes the following steps: If the number of the selected historical stable spraying stages is less than or equal to the preset number threshold, then the current working condition vector is calculated, which includes the current ambient temperature, the current ambient humidity, and the current target opening. Calculate the historical operating condition vector corresponding to each historical stable spraying stage in the historical operating condition database. The historical operating condition vector includes historical ambient temperature, historical ambient humidity, and historical target opening. Calculate the multidimensional Euclidean distance between the current working condition vector and each of the historical working condition vectors, and select the top K historical stable spraying stages with the smallest distance to form the target stage set.

[0010] According to the technical solution provided in this application, the following steps are also included: Record and construct a compensation event sequence, the compensation event sequence including multiple compensation events, each of the compensation events including: compensation time, static holding current offset before compensation, and compensation opening value applied to eliminate the offset; Time-series pattern analysis is performed on the sequence of compensation events within the first preset time window to identify the changing trends of the frequency of occurrence of compensation events and / or the compensation opening value over time, as a congestion development pattern. Based on the blockage development pattern, predict the remaining time or remaining spraying workload required for the gas system to reach a critical state requiring cleaning and maintenance. When the remaining time is less than the first preset duration, or the remaining spraying workload is less than the first preset workload, a predictive maintenance prompt is generated.

[0011] According to the technical solution provided in this application, after controlling the stepper motor driver to increase the actual target opening degree of the pneumatic control valve, the following steps are also included: Within the second preset time window, the static holding current value is continuously monitored; If the offset of the static holding current value does not decrease or continues to increase, it is determined to be an irreversible blockage, triggering a system alarm and executing a safety shutdown procedure.

[0012] According to the technical solution provided in this application, after completing a spraying cycle, the coating quality test results of the workpiece within that cycle are obtained, and the coating quality test results include coating thickness uniformity index. The coating quality test results are correlated with the fluctuation of the static holding current value recorded within the same period; If the coating thickness uniformity index fails to meet the standard, and analysis shows that it has a strong correlation with the static holding current fluctuation under a specific target opening, then the value of the preset reference holding current corresponding to the target opening is adjusted so that the static holding current fluctuation of subsequent spraying under the target opening tends to be stable.

[0013] Compared with the prior art, the beneficial effects of this application are as follows: I. Achieves early, direct, and non-contact diagnosis of airflow obstruction: The monitoring target is changed from air pressure to the static holding current value of the stepper motor driving the pneumatic control valve. This current value directly reflects the resistance torque that needs to be overcome to maintain the opening of the pneumatic control valve. When a slight obstruction occurs in the airflow channel, causing an increase in resistance, it will immediately be reflected in an increase in the holding current. This change precedes the detectable air pressure change, and the sensing method is non-contact and requires no additional sensors, enabling advanced and accurate diagnosis of obstruction trends.

[0014] 2. Transforming passive alarm into active compensation significantly improves airflow stability: By comparing the deviation of the static holding current value from the reference value in real time, the system can make a judgment when the blockage is just beginning to appear and immediately generate a compensation signal to actively increase the opening of the air control valve to offset the decrease in airflow caused by the increase in channel resistance. This eliminates the problem in its infancy and ensures that the actual airflow can be dynamically maintained at a stable level corresponding to the target opening throughout the entire spraying process.

[0015] Third, it fundamentally improves coating quality and consistency: Airflow stability is key to ensuring powder cloud morphology and powder adhesion. This solution, through the aforementioned active compensation mechanism, ensures the continuous stability of coating parameters, thereby directly contributing to a significant improvement in coating thickness uniformity, appearance quality, and product yield, meeting higher standard process requirements.

[0016] Fourth, it enhances system reliability and reduces maintenance costs: Early detection and compensation for blockage trends prevent sudden shutdowns and production interruptions caused by severe blockages. Simultaneously, the non-contact current monitoring solution eliminates the need for additional sensors in complex gas paths, simplifying the system structure, improving reliability, and reducing potential failure points and maintenance costs. Attached Figure Description

[0017] Figure 1 A flowchart illustrating the steps of the real-time compensation method for airflow stability in electrostatic powder coating provided in this application. Detailed Implementation

[0018] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings.

[0019] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0020] Example 1 As mentioned in the background section, to address the problems in the prior art, this application proposes a real-time compensation method for airflow stability in electrostatic powder coating. This method is implemented using a real-time compensation device for airflow stability in electrostatic powder coating. The device includes a main control MCU, a pneumatic control valve, a stepper motor driver that drives the pneumatic control valve, and a current sampling circuit coupled to the stepper motor driver for real-time acquisition of the stepper motor winding current. Figure 1 As shown, the method includes the following steps: S1. After the pneumatic control valve opens to the target opening degree and enters the holding state, its static holding current value is obtained through the current sampling circuit. S2. Compare the static holding current value with a preset reference holding current value, wherein the preset reference holding current value corresponds to the holding current required for the target opening when the airflow channel is unobstructed; S3. Determine whether the airflow channel shows a tendency to blockage based on the offset of the static holding current value relative to the reference holding current value; S41. If not, maintain the current target opening degree of the pneumatic control valve; S42. If so, then based on the offset, a corresponding opening compensation signal is generated to control the stepper motor driver to increase the actual target opening of the pneumatic control valve in order to offset the decrease in airflow caused by the blockage trend.

[0021] Specifically, the main control MCU (Microcontroller Unit) acts as the brain of the system, and can be, for example, an STMicroelectronics STM32F107VCT6 chip. It is responsible for executing control logic, performing data processing, and communicating with other modules. The pneumatic control valve is a valve whose opening can be precisely controlled to regulate the flow of compressed air to the spray gun. In this embodiment, the pneumatic control valve is preferably a proportional valve or electronic expansion valve driven by a stepper motor, whose opening can be precisely controlled and maintained. The stepper motor driver connects to the main control MCU, receives pulse and direction signals from it, and drives the stepper motor to rotate precisely, thereby moving the pneumatic control valve spool to a designated position and holding it there. For example, a common stepper motor driver chip such as the DRV8825 can be used. The current sampling circuit is a crucial sensing module that is coupled (i.e., electrically connected) to the power output terminal of the stepper motor driver or the motor winding circuit. It can be a circuit consisting of sampling resistors, operational amplifiers, and an analog-to-digital converter (ADC) used to acquire the current signal flowing through the stepper motor windings with high precision and in real time. It collects analog current values ​​and converts them into digital signals for the main control MCU to read. Static holding current value: When the stepper motor, under the action of the driver, drives the pneumatic valve to a certain target opening degree (i.e., the desired valve opening degree, usually set by the main control MCU according to the recipe parameters), the motor needs to be continuously energized to generate a holding torque to resist external interference such as the impact force of airflow on the valve core, stabilizing the valve core in that position. At this time, the motor no longer rotates, and the stable current flowing through the windings to maintain this holding torque is the static holding current value. It is a physical quantity that directly reflects the motor load. Preset reference holding current value: This is a reference value stored in memory (such as the main control MCU's Flash or external EEPROM). It represents the normal, standard static holding current value corresponding to a specific target opening degree of the pneumatic valve under ideal conditions with unobstructed airflow. This reference value is pre-determined and stored through experiments or self-learning when the system is healthy and the airflow is unobstructed, providing a comparison standard for subsequent judgments.

[0022] The implementation is described below: First, the main control MCU sends a command to the stepper motor driver based on the spraying formula, opening the pneumatic control valve to a preset target opening degree. Once the valve core reaches the designated position and enters a stable holding state, the current sampling circuit starts working. It continuously monitors the current of the motor windings and sends a stable current reading (i.e., the static holding current value) to the main control MCU.

[0023] Next, the main control MCU retrieves the preset reference holding current value corresponding to the current target opening degree from the memory. It compares the real-time acquired static holding current value with this reference value and calculates the offset between the two (usually the real-time value minus the absolute value or difference of the reference value).

[0024] Then, the main control MCU performs a logical judgment based on this offset. If the offset is very small (e.g., within the allowable error range), it indicates that the current airflow channel resistance is normal and there is no obvious tendency to blockage. At this time, the main control MCU does not take any additional action, maintains the current target opening of the air control valve, and the spraying operation proceeds normally.

[0025] This implementation achieves early, proactive diagnosis of airflow obstruction. The technical principle is as follows: when powder begins to accumulate in the airflow channel, forming a soft blockage, the cross-sectional area of ​​the channel decreases, increasing airflow resistance. This increased resistance acts on the valve core of the pneumatic control valve, attempting to change its position. To counteract this increased resistance and stabilize the valve core at the predetermined target opening, the stepper motor needs to output a larger holding torque, which directly manifests as an increase in the static holding current value of the winding. Therefore, the deviation in the static holding current value becomes a direct and sensitive indicator of changes in airflow resistance. Compared to existing technologies that monitor air pressure (a result parameter), this solution monitors the direct reflection of the cause of air pressure changes (resistance changes) on the drive element. Therefore, it responds faster and is more sensitive, detecting signs of obstruction before a significant decrease in airflow or a significant fluctuation in air pressure occurs, gaining valuable time for subsequent compensation actions and fundamentally improving the timeliness and accuracy of control.

[0026] Specifically, the opening compensation signal is a control command generated by the main control MCU after determining that compensation is needed. Essentially, this signal is a new target position command, instructing the stepper motor driver to increase the opening of the pneumatic valve by a certain amount beyond the original target opening. This signal can be a digital quantity or an analog command implemented using methods such as PWM (Pulse Width Modulation). The actual target opening is the new control target obtained after compensation calculation. Its value is the sum of the initial target opening and the compensated opening value. The main control MCU will use this actual target opening as the new setpoint to control the stepper motor's movement. When the main control MCU determines that the airflow channel is showing signs of blockage (i.e., the offset exceeds a certain threshold), it will generate a corresponding opening compensation signal based on the calculated current offset using a specific control algorithm (e.g., proportional control, lookup table method, or fuzzy control). This compensation signal indicates how much the pneumatic valve opening needs to be increased to offset the increased airflow resistance caused by the blockage, restoring the actual airflow to the desired value. Subsequently, the main control MCU converts the compensation signal into a drive command, which controls the stepper motor driver to drive the stepper motor, thereby moving the valve core of the pneumatic control valve and increasing the actual target opening degree of the pneumatic control valve. By increasing the valve opening degree, the flow area is effectively increased, thus compensating for the pressure loss caused by the blockage point and ensuring that the airflow reaching the spray gun remains stable.

[0027] This implementation transforms passive alarms into active maintenance, achieving real-time closed-loop control of airflow stability. Its technical principle is based on the feedforward control concept of disturbance compensation. The system takes the detected current deviation (representing airflow resistance disturbance) as input, calculates the control quantity (valve opening compensation) required to eliminate this disturbance through a preset or self-learning controller, and executes it immediately. This forms a rapid local closed loop. Unlike existing technologies that wait for airflow anomalies before stopping and alarming, the entire system proactively suppresses disturbances as soon as they appear, keeping the controlled variable (airflow) consistently near the set value. This significantly improves the stability and continuity of the spraying process, avoiding quality defects such as uneven coating, orange peel, and insufficient thickness caused by airflow fluctuations, while also reducing production efficiency losses due to frequent shutdowns to deal with blockages.

[0028] In a preferred embodiment, determining whether the airflow channel shows a tendency to become blocked includes the following steps: When the offset exceeds a preset threshold, it is determined that the airflow channel is showing signs of blockage. Before determining whether the airflow channel shows signs of blockage, the following steps are also included: Determine the type of airflow currently being controlled, whereby the airflow type includes powder distribution gas and powder delivery gas; Based on the airflow type, match the preset threshold corresponding to the airflow type; Wherein, the preset threshold corresponding to the powder dispensing gas is lower than the preset threshold corresponding to the powder delivery gas.

[0029] Specifically, airflow types: In electrostatic powder coating, there are at least two airflows with different functions: Powder-dispensing air (or atomizing air): Its main function is to fluidize the powder from the powder supply container and deliver it to the spray gun, while simultaneously performing preliminary atomization of the powder. This airflow requires stability and gentleness; excessive fluctuations will directly lead to uneven powder output. Powder-feeding air (or shaping air): Its main function is to form the powder arriving at the spray gun into a powder cloud of a specific shape and push it towards the workpiece. This airflow typically has higher pressure and flow rate, and allows for adjustment within a certain range to change the shape of the powder cloud and the spray speed; its inherent volatility is relatively large. Preset threshold: This is the critical value used to determine whether the offset constitutes a "blocking tendency." This threshold is not fixed but dynamically selected based on the currently controlled airflow type.

[0030] Specifically, before determining the blockage trend, the main control MCU first needs to identify the currently controlled airflow type. This can be determined by querying the parameters of the currently executed spray formulation; for example, the formulation may explicitly specify which solenoid valve or proportional valve is being controlled to supply air to the spray gun. Then, based on the identified airflow type, the main control MCU matches a corresponding preset threshold from a pre-defined lookup table or rule. Specifically, the preset threshold for powder-dispensing air is set lower than the preset threshold for powder-feeding air. Finally, the main control MCU compares the calculated current offset with this matched, specific threshold. Only when the offset exceeds this targeted threshold is a blockage trend identified.

[0031] This implementation significantly improves the accuracy and reliability of blockage trend judgment and effectively reduces the false alarm rate. Different airflow loops have different process sensitivities and inherent fluctuation characteristics. The powder distribution gas loop has extremely high stability requirements; even a small abnormal fluctuation in its current can indicate poor powder delivery, which will soon affect coating quality. Therefore, a lower, more sensitive threshold needs to be set to detect anomalies early. The powder delivery gas loop itself has higher pressure and flow rate, resulting in inherent, larger instantaneous fluctuations when the nozzle is switched on / off or powder clumps pass through. Its current itself has a wider normal fluctuation range. If the same sensitive threshold is used for it as for the powder distribution gas, it will lead to frequent false alarms. Therefore, setting a higher, more lenient threshold can effectively filter out these inherent normal fluctuations, triggering an alarm only when a truly severe and persistent blockage occurs. This differentiated threshold management strategy makes the blockage diagnosis logic more aligned with physical realities and process requirements, a key step in achieving intelligent and refined control.

[0032] In a preferred embodiment, before comparing the static holding current value with a preset reference holding current value, the method further includes the following steps: Obtain the preset reference holding current value; The process of obtaining the preset reference holding current value includes the following steps: The historical operating condition database is retrieved to obtain a target stage set, which includes multiple historical stable spraying stages with a determined non-blocking trend, and the static holding current value corresponding to each historical stable spraying stage. The preset reference holding current value is obtained based on the target stage set.

[0033] Specifically, the historical operating condition database is a structured data set stored in non-volatile memory (such as an SD card, EEPROM, or MCU built-in Flash). It records key parameters of the system's past operation, with each record unit referred to as a historical stable spraying stage. Each record in the database contains at least: a timestamp, ambient temperature, ambient humidity, target opening degree of the pneumatic control valve, and the static holding current value acquired at that opening degree. Additionally, the record is accompanied by a "health status" tag, indicating whether the stage has been determined by the system to be a stable state with "no blocking trend." The target stage set is a subset of data retrieved from the historical operating condition database when performing the baseline value acquisition task. This set contains multiple "historical stable spraying stage" records that meet specific screening criteria; these records will be used to calculate the currently required preset baseline holding current value. A historical stable spraying stage refers to a period of continuous and stable spraying operation in the past, during which the system's self-diagnosis has not detected any blocking trend. Data acquired during this stage is considered a reliable sample of the system in a "healthy" state.

[0034] Specifically, when the system needs to obtain a preset reference holding current value (e.g., during power-on initialization, after changing powder type, or during periodic calibration), the main control MCU initiates this process. First, the main control MCU retrieves the historical operating condition database. It sends a query request to the database and, based on certain filtering rules (described later), identifies historically stable spraying stages marked as "non-blocking trend." These selected stages form the target stage set. Then, the main control MCU obtains the preset reference holding current value based on this target stage set. Various calculation methods can be used; for example, the arithmetic mean or median of all static holding current values ​​corresponding to the same target opening degree in the set can be taken, or more complex statistical methods (such as the clustering weighted method described later) can be employed. This calculated value is used as the preset reference holding current value for the current system at that target opening degree for real-time comparison.

[0035] In a preferred embodiment, before retrieving the historical operating condition database, the following steps are further included: Real-time acquisition of current ambient temperature and humidity; The process of retrieving the historical operating condition database to obtain the target stage set includes the following steps: In the historical operating condition database, historical stable spraying stages are selected where the difference between the historical ambient temperature and the current ambient temperature, and the difference between the historical ambient humidity and the current ambient humidity are both within their respective preset tolerance ranges. If the number of the selected historical stable spraying stages is higher than a preset threshold, then all the historical stable spraying stages are combined to form the target stage set.

[0036] Specifically, firstly, the system acquires the current ambient temperature and humidity in real time using a temperature and humidity sensor installed in the control cabinet. This sensor connects to the main control MCU via an I2C interface. Before retrieving the historical operating condition database, the main control MCU reads the current temperature value (e.g., 25.3°C) and humidity value (e.g., 58%RH). Then, the system sets preset tolerance ranges for temperature and humidity, typically ±1.5°C for temperature and ±5%RH for humidity. This means the system will search the historical database for records where the ambient temperature is between 23.8°C and 26.8°C, and the ambient humidity is between 53%RH and 63%RH. The historical operating condition database is stored in a W25Q128 Flash chip using a paginated storage structure. Each record includes a timestamp, ambient temperature, ambient humidity, target opening degree, static holding current value, and health status flags. The system quickly queries the database via the SPI interface to filter out historical stable spraying stages that meet the criteria. The system sets a preset threshold of 25 records. If the number of records that meet the selection criteria reaches 30, exceeding the threshold, the system will include all of these records in the target stage set. This set will serve as the data basis for subsequent baseline value calculations.

[0037] This implementation significantly improves the adaptability of the benchmark value to environmental changes. Its technical principle is based on aerodynamic characteristics: air density and viscosity change with temperature and humidity, directly affecting the flow resistance and state of airflow in the pipeline. At higher temperatures, air density decreases and viscosity increases, causing changes in airflow characteristics at the same valve opening. Consequently, the motor holding current required to maintain that opening also changes. By introducing an environmental parameter matching mechanism, the system can automatically select historical data collected under conditions closest to the current environment, ensuring that the calculated benchmark value incorporates the influence of actual environmental factors. This method overcomes the shortcomings of fixed benchmark values ​​that cannot adapt to seasonal and weather changes. For example, in different environments such as high temperature and humidity in summer and low temperature and dryness in winter, the system automatically uses different benchmark references to ensure that the accuracy of blockage judgment is not affected by environmental fluctuations.

[0038] In a preferred embodiment, obtaining the preset reference holding current value based on the target stage set includes the following steps: Cluster analysis is performed on multiple static holding current values ​​in the target stage set to identify the most concentrated cluster of current values. The data in the current value cluster are weighted based on a time decay factor, wherein the weight of recent data is higher than that of earlier data. The weighted result is multiplied by the life compensation coefficient corresponding to the cumulative running time of the equipment to obtain the preset reference holding current value.

[0039] Specifically, after obtaining the target stage set, the system first performs cluster analysis on the static holding current values ​​in the set. The density-based DBSCAN algorithm is used, with a neighborhood radius of 0.5 mA and a minimum sample size of 5. This algorithm automatically identifies the densest data distribution areas while excluding outliers caused by measurement noise or transient interference. After identifying the main current value clusters, the system performs time-weighted calculations. The time decay factor is set according to an exponential decay law: data within 24 hours has a weight of 1.0, data from 24-72 hours has a weight of 0.8, data from 72-168 hours has a weight of 0.6, and data exceeding one week has a weight of 0.4. The system calculates a weighted average for each data point within the cluster according to its time weight to obtain a preliminary reference current value. Finally, the system introduces a lifetime compensation coefficient. This coefficient is calculated based on the cumulative operating time of the equipment and stored in the Flash memory of the main control MCU. The formula for calculating the coefficient is: 1 + 0.00001 × number of operating hours. For example, after 10,000 hours of equipment operation, the lifetime compensation coefficient is 1.1. The system multiplies the weighted average result by this coefficient to obtain the final preset reference holding current value.

[0040] The clustering analysis stage of this implementation employs a density-based spatial clustering method, which effectively identifies the inherent distribution structure of the data and automatically eliminates outlier data points caused by electromagnetic interference, power fluctuations, etc., ensuring the robustness of the baseline value calculation. The time-weighted mechanism is based on the principle that "recent data is more valuable," assigning different weights to data from different periods through an exponential decay function. This reflects the time-varying nature of the system state, enabling the baseline value to track slow changes in the equipment, such as slight powder deposition in pipelines or slow wear of mechanical components. The lifespan compensation coefficient considers the overall aging trend of the equipment from a macroscopic perspective. As the equipment's operating time increases, mechanical components will wear down, and electrical characteristics will drift, all of which will cause changes in the system's fundamental parameters. By introducing a compensation coefficient positively correlated with operating time, the system can automatically correct this long-term drift, maintaining the accuracy of the baseline value.

[0041] In a preferred embodiment, after selecting historical stable spraying stages from the historical operating condition database where the difference between historical ambient temperature and current ambient temperature, and the difference between historical ambient humidity and current ambient humidity are both within their respective preset tolerance ranges, the method further includes the following steps: If the number of the selected historical stable spraying stages is less than or equal to the preset number threshold, then the current working condition vector is calculated, which includes the current ambient temperature, the current ambient humidity, and the current target opening. Calculate the historical operating condition vector corresponding to each historical stable spraying stage in the historical operating condition database. The historical operating condition vector includes historical ambient temperature, historical ambient humidity, and historical target opening. Calculate the multidimensional Euclidean distance between the current working condition vector and each of the historical working condition vectors, and select the top K historical stable spraying stages with the smallest distance to form the target stage set.

[0042] Specifically, this process is initiated when the system detects an insufficient number of historically stable spraying stages (e.g., only 15, below the threshold of 25). The system first constructs a current operating condition vector, a three-dimensional vector containing the current ambient temperature (e.g., 28.5°C), current ambient humidity (e.g., 65%RH), and current target opening (e.g., 40%). Simultaneously, the system constructs a corresponding historical operating condition vector for each record in the historical database, each vector also containing the three dimensions of historical ambient temperature, historical ambient humidity, and historical target opening. The system uses a Min-Max normalization method to standardize each dimension, eliminating the influence of dimensions. Next, the system calculates the multidimensional Euclidean distance between the current operating condition vector and each historical operating condition vector. The system selects the K historical records with the smallest Euclidean distance (usually K=20), these records representing historical data closest to the current condition under comprehensive operating conditions, and groups them into a new target stage set for subsequent baseline value calculations.

[0043] Traditional environmental matching only considers temperature and humidity, while this solution innovatively introduces the target opening degree as a third dimension. This is because the operating point of the pneumatic control valve differs under different process requirements, resulting in variations in its corresponding current characteristics. By combining process parameters and environmental parameters to form a feature vector, similarity matching becomes more comprehensive and accurate. Euclidean distance, as a similarity metric, effectively reflects the overall proximity of two operating conditions in a three-dimensional feature space. The smaller the distance, the more similar the two operating conditions are, and the closer their corresponding current characteristics. This method is more refined and scientific than simple threshold judgment. Through this multi-dimensional similarity matching, the system can find the "most similar" reference data when no completely matching historical data is available, maximizing data utilization. Especially during the initial operation of equipment or when encountering rare environmental conditions, this mechanism ensures that the system can still provide reasonable benchmark values, greatly enhancing the system's applicability and robustness.

[0044] In a preferred embodiment, the following steps are also included: Record and construct a compensation event sequence, the compensation event sequence including multiple compensation events, each of the compensation events including: compensation time, static holding current offset before compensation, and compensation opening value applied to eliminate the offset; Time-series pattern analysis is performed on the sequence of compensation events within the first preset time window to identify the changing trends of the frequency of occurrence of compensation events and / or the compensation opening value over time, as a congestion development pattern. Based on the blockage development pattern, predict the remaining time or remaining spraying workload required for the gas system to reach a critical state requiring cleaning and maintenance. When the remaining time is less than the first preset duration, or the remaining spraying workload is less than the first preset workload, a predictive maintenance prompt is generated.

[0045] Specifically, the system records a compensation event each time a compensation operation is performed. Each event contains four elements: the compensation time (timestamp accurate to milliseconds), the static holding current offset before compensation, the actual applied compensation opening value, and the current target opening. This data is stored in a circular buffer as a structure. The system sets the first preset time window to 8 hours and performs time-series pattern analysis on the compensation event sequence within the window every hour. The analysis mainly focuses on the changing trends of two indicators: the frequency of compensation events, i.e., the number of compensations per unit time; and the compensation intensity, i.e., the average opening value per compensation. The system uses a linear regression algorithm to perform trend analysis on these two indicators. For the compensation frequency, its slope over time is calculated; for the compensation intensity, its growth trend is analyzed similarly. Based on these trend analyses, the system establishes a simple prediction model to estimate the remaining time required for the gas path system to reach a critical state (such as the compensation opening reaching its maximum value or the compensation frequency exceeding the allowable upper limit). When the predicted remaining time is less than the first preset duration (e.g., 2 hours), the system generates a level 3 early warning message through the human-machine interface and sends a predictive maintenance request to the MES system via industrial Ethernet, prompting maintenance personnel to arrange for gas system cleaning.

[0046] This implementation considers that the compensation event sequence is essentially a quantitative record of the system's efforts to maintain normal function. When powder buildup begins in the gas path system, the system needs to maintain airflow stability through increasingly frequent and significant compensation. The changing pattern of this compensation behavior accurately reflects the degradation process of the system's health. Through time-series pattern analysis, the system can capture early signals of this degradation. The increase in compensation frequency reflects the speed of blockage development, while the increase in compensation intensity reflects the severity of the blockage. These two indicators together depict the complete degradation trajectory of the system's health. Based on trend extrapolation from historical data, the system can predict the time when maintenance criticality points are reached, providing a scientific basis for planned maintenance. Compared with traditional periodic maintenance or post-failure maintenance, this predictive maintenance model avoids the waste of resources caused by over-maintenance and prevents production interruptions caused by sudden failures, achieving an optimal balance between maintenance costs and production efficiency.

[0047] In a preferred embodiment, after controlling the stepper motor driver to increase the actual target opening degree of the pneumatic control valve, the method further includes the following step: Within the second preset time window, the static holding current value is continuously monitored; If the offset of the static holding current value does not decrease or continues to increase, it is determined to be an irreversible blockage, triggering a system alarm and executing a safety shutdown procedure.

[0048] Specifically, after performing the compensation operation, the system initiates a second preset time window (usually set to 30 seconds). During this period, the main control MCU continuously monitors the static holding current value through the current sampling circuit, maintaining a sampling frequency of 1kHz to ensure that rapid changes in current are captured. The system calculates the trend of current offset every second. If the offset is found not to decrease after compensation, or continues to increase, the system will perform a secondary judgment. Simultaneously, the system checks whether the actual target opening of the pneumatic valve has reached the system's preset maximum safe opening (usually 90% of the rated opening). When both of the following conditions are met simultaneously, the system determines it to be an irreversible blockage: Within the second preset time window, the deviation of the static holding current value decreases by less than 10% compared to before compensation, or continues to increase by more than 5%; The actual target opening degree of the pneumatic control valve has reached the maximum safe opening degree.

[0049] Once an irreversible blockage is determined, the system immediately triggers the highest-level fault alarm. The alarm signal is issued simultaneously through multiple channels: the local audible and visual alarm emits a continuous buzzing and flashing red light; the human-machine interface displays the warning message "Severe blockage, stop immediately"; and an emergency stop signal is sent to the central monitoring system via the industrial Ethernet.

[0050] The safe shutdown procedure is executed according to the predetermined safety interlock sequence: first, the main intake solenoid valve is shut off; then, the high-pressure generator output is closed within 100ms; and finally, all pumps and drive equipment are stopped. The entire shutdown process is completed within 500ms, ensuring the system quickly enters a safe state.

[0051] In a preferred embodiment, after completing a spraying cycle, the coating quality test results of the workpiece during that cycle are obtained, and the coating quality test results include coating thickness uniformity indicators. The coating quality test results are correlated with the fluctuation of the static holding current value recorded within the same period; If the coating thickness uniformity index fails to meet the standard, and analysis shows that it has a strong correlation with the static holding current fluctuation under a specific target opening, then the value of the preset reference holding current corresponding to the target opening is adjusted so that the static holding current fluctuation of subsequent spraying under the target opening tends to be stable.

[0052] Specifically, upon completion of a coating cycle (such as after a shift or batch of workpieces), the system obtains coating quality inspection results in the following ways: For online inspection systems, coating thickness data is automatically collected by a thickness gauge installed at the end of the production line. For offline inspection, data is measured manually using a handheld thickness gauge and then input into the system via an RS485 interface. The system calculates the coating thickness uniformity index, typically using the standard deviation or range of the thickness distribution as the evaluation index. Simultaneously, the system extracts all static holding current values ​​recorded within the same spraying cycle from a historical database, including their fluctuation range, fluctuation frequency, and other characteristic parameters. The system uses correlation analysis (such as Pearson correlation coefficient calculation) to correlate the coating quality inspection results with the fluctuation of the static holding current values. The analysis focuses on the correlation between current fluctuations and coating uniformity within a specific target opening range (e.g., 30%-50% opening range). When the coating thickness uniformity index is found to be substandard (e.g., the thickness range exceeds the standard value of 15μm), and the correlation analysis shows a strong correlation (correlation coefficient greater than 0.7) with the static holding current fluctuation under the specific target opening, the system initiates a baseline adjustment procedure. The adjustment method employs a progressive optimization: first, the deviation between the current reference value and the ideal value is calculated; then, the value corresponding to the target opening in the preset reference holding current value is adjusted in increments not exceeding 5%. The adjusted reference value will be applied to subsequent spraying operations. The system continuously monitors the adjustment effect, and if the effect is unsatisfactory, fine-tuning continues until the current fluctuations stabilize and the coating quality meets the standards.

[0053] Specifically, in powder coating, airflow stability is a key process parameter affecting coating quality, but it is not the only factor. Powder characteristics, environmental conditions, workpiece geometry, and many other factors all influence the final coating quality. Traditional control methods focus only on the stability of process parameters, while this solution innovatively uses the final product quality as the control objective. Through correlation analysis, the system can automatically identify the key process parameters and their control ranges that have the greatest impact on product quality. When it is found that current fluctuations at a specific target opening are highly correlated with coating uniformity, it indicates that this operating point is a critical control point affecting quality. By adjusting the reference current value at this point, the system is actually optimizing the most sensitive region of the entire control curve.

[0054] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. The above descriptions are only preferred embodiments of this application. It should be noted that due to the limitations of written expression, while there are objectively infinite specific structures, those skilled in the art can make several improvements, modifications, or changes without departing from the principles of this invention, and can also combine the above technical features in an appropriate manner. These improvements, modifications, changes, or combinations, or the direct application of the inventive concept and technical solution to other situations without modification, should all be considered within the scope of protection of this application.

Claims

1. A method for real-time compensation of airflow stability in electrostatic powder coating, characterized in that: This method is based on a real-time compensation device for airflow stability in electrostatic powder coating. The device includes a main control MCU, a pneumatic control valve, a stepper motor driver that drives the pneumatic control valve, and a current sampling circuit coupled to the stepper motor driver for real-time acquisition of the stepper motor winding current. The method includes the following steps: After the pneumatic control valve opens to the target opening degree and enters the holding state, its static holding current value is obtained through the current sampling circuit; The static holding current value is compared with a preset reference holding current value, which corresponds to the holding current required for the target opening when the airflow channel is unobstructed. Based on the offset of the static holding current value relative to the reference holding current value, it is determined whether the airflow channel shows a tendency to become blocked; If not, maintain the current target opening degree of the pneumatic control valve; If so, a corresponding opening compensation signal is generated based on the offset, and the stepper motor driver is controlled to increase the actual target opening of the pneumatic valve to counteract the decrease in airflow caused by the blockage trend.

2. The real-time compensation method for airflow stability in electrostatic powder coating according to claim 1, characterized in that: The process of determining whether the airflow channel shows signs of blockage includes the following steps: When the offset exceeds a preset threshold, it is determined that the airflow channel is showing signs of blockage. Before determining whether the airflow channel shows signs of blockage, the following steps are also included: Determine the type of airflow currently being controlled, whereby the airflow type includes powder distribution gas and powder delivery gas; Based on the airflow type, match the preset threshold corresponding to the airflow type; Wherein, the preset threshold corresponding to the powder dispensing gas is lower than the preset threshold corresponding to the powder delivery gas.

3. The real-time compensation method for airflow stability in electrostatic powder coating according to claim 1, characterized in that: Before comparing the static holding current value with the preset reference holding current value, the following steps are also included: Obtain the preset reference holding current value; The process of obtaining the preset reference holding current value includes the following steps: The historical operating condition database is retrieved to obtain a target stage set, which includes multiple historical stable spraying stages with a determined non-blocking trend, and the static holding current value corresponding to each historical stable spraying stage. The preset reference holding current value is obtained based on the target stage set.

4. The real-time compensation method for airflow stability in electrostatic powder coating according to claim 3, characterized in that: Before retrieving the historical operating condition database, the following steps are also included: Real-time acquisition of current ambient temperature and humidity; The process of retrieving the historical operating condition database to obtain the target stage set includes the following steps: In the historical operating condition database, historical stable spraying stages are selected where the difference between the historical ambient temperature and the current ambient temperature, and the difference between the historical ambient humidity and the current ambient humidity are both within their respective preset tolerance ranges. If the number of the selected historical stable spraying stages is higher than a preset threshold, then all the historical stable spraying stages are combined to form the target stage set.

5. The real-time compensation method for airflow stability in electrostatic powder coating according to claim 3, characterized in that: The step of obtaining the preset reference holding current value based on the target stage set includes the following steps: Cluster analysis is performed on multiple static holding current values ​​in the target stage set to identify the most concentrated cluster of current values. The data in the current value cluster are weighted based on a time decay factor, wherein the weight of recent data is higher than that of earlier data. The weighted result is multiplied by the life compensation coefficient corresponding to the cumulative running time of the equipment to obtain the preset reference holding current value.

6. The real-time compensation method for airflow stability in electrostatic powder coating according to claim 4, characterized in that: After selecting historical stable spraying stages from the historical operating condition database where the difference between historical ambient temperature and current ambient temperature, and the difference between historical ambient humidity and current ambient humidity are all within their respective preset tolerance ranges, the process further includes the following steps: If the number of the selected historical stable spraying stages is less than or equal to the preset number threshold, then the current working condition vector is calculated, which includes the current ambient temperature, the current ambient humidity, and the current target opening. Calculate the historical operating condition vector corresponding to each historical stable spraying stage in the historical operating condition database. The historical operating condition vector includes historical ambient temperature, historical ambient humidity, and historical target opening. Calculate the multidimensional Euclidean distance between the current working condition vector and each of the historical working condition vectors, and select the top K historical stable spraying stages with the smallest distance to form the target stage set.

7. The real-time compensation method for airflow stability in electrostatic powder coating according to claim 1, characterized in that: It also includes the following steps: Record and construct a compensation event sequence, the compensation event sequence including multiple compensation events, each of the compensation events including: compensation time, static holding current offset before compensation, and compensation opening value applied to eliminate the offset; Time-series pattern analysis is performed on the sequence of compensation events within the first preset time window to identify the changing trends of the frequency of occurrence of compensation events and / or the compensation opening value over time, as a congestion development pattern. Based on the blockage development pattern, predict the remaining time or remaining spraying workload required for the gas system to reach a critical state requiring cleaning and maintenance. When the remaining time is less than the first preset duration, or the remaining spraying workload is less than the first preset workload, a predictive maintenance prompt is generated.

8. The method for real-time compensation of airflow stability in electrostatic powder coating according to claim 1, characterized in that: After controlling the stepper motor driver to increase the actual target opening degree of the pneumatic control valve, the following steps are also included: Within the second preset time window, the static holding current value is continuously monitored; If the offset of the static holding current value does not decrease or continues to increase, it is determined to be an irreversible blockage, triggering a system alarm and executing a safety shutdown procedure.

9. The method for real-time compensation of airflow stability in electrostatic powder coating according to claim 1, characterized in that: After completing a spraying cycle, the coating quality inspection results of the workpiece within that cycle are obtained, and the coating quality inspection results include coating thickness uniformity indicators. The coating quality test results are correlated with the fluctuation of the static holding current value recorded within the same period; If the coating thickness uniformity index fails to meet the standard, and analysis shows that it has a strong correlation with the static holding current fluctuation under a specific target opening, then the value of the preset reference holding current corresponding to the target opening is adjusted so that the static holding current fluctuation of subsequent spraying under the target opening tends to be stable.

Citation Information

Patent Citations

  • Electrostatic powder coating control device and electrostatic powder coating control method

    CN112650127B

  • Fault detection method and device for bosh fan

    CN113376518A

  • Electromagnetic valve current control method and device, storage medium and electronic device

    CN119373921A

  • Valve intelligent operation control method and system based on Internet of Things

    CN119878904A

  • Electrostatic agent accurate metering and coating system based on automatic control

    CN120023037A

Cited By

  • Acoustic feature-based process state real-time correction method

    CN121807083A