A method and device for error-proofing a tightening process
By acquiring vehicle location and equipment status, performing triple condition judgment and collecting data in real time, generating process curves for trend analysis, the problems of missed tightening, incorrect tightening, and difficulty in quality traceability in existing tightening equipment are solved. This achieves a closed-loop anti-error system throughout the entire process, improving the accuracy and reliability of tightening process control.
Patent Information
- Application Number
- CN202611092249.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-22
- Publication Date
- 2026-11-10
AI Technical Summary
Existing tightening equipment in automobile assembly production lacks a mandatory error prevention mechanism for the tightening process, making it impossible to effectively avoid missed tightening or incorrect tightening. It also lacks mandatory matching verification between the process and the execution process, systematic error prevention and full-process linkage control, limited data collection content, lack of effective location management of tightening equipment, and lack of real-time monitoring of network communication status, resulting in difficulty in quality assurance and data traceability.
By acquiring vehicle location and model, equipment ultra-wideband coordinates and network status, performing triple condition judgment, collecting torque and angle generation process curves in real time, binding and storing the curves and results with vehicle, workstation and equipment information, constructing a sliding analysis window for trend analysis, and outputting early warning signals, we can achieve multi-dimensional error prevention and quality trend early warning.
It achieves a closed-loop prevention system for the entire process, solving the problem of process misexecution caused by workstation misalignment, equipment going out of bounds, or communication abnormalities. It significantly improves the accuracy and reliability of tightening process control and enhances the system's adaptability and engineering practical value in multi-model mixed production conditions.
Smart Images

Figure CN123067366A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent manufacturing process control technology, and in particular to a method, device, equipment and storage medium for error prevention control in tightening processes. Background Technology
[0002] Existing tightening equipment is widely used in automotive assembly production, possessing basic tightening operation execution and data acquisition capabilities. However, current technology still has the following shortcomings: First, it lacks a mandatory error-proofing mechanism for the tightening process. Operation completion relies on manual experience, making it difficult to effectively avoid missed or incorrect tightening, resulting in unreliable quality and a lack of data traceability. Second, it lacks mandatory matching and verification between the process and the execution process, making it impossible to verify the correspondence between the current tightening point and the corresponding tool parameters in real time. The correctness of the operation still relies on subjective judgment. Third, it lacks systematic error prevention and full-process linkage control, only achieving basic status feedback and failing to uniformly constrain key steps, resulting in limited error prevention methods. Fourth, it lacks effective position management of tightening equipment. Handheld tools are easily taken off the workstation, and the lack of monitoring of the usage range can easily lead to equipment misuse or process errors. Fifth, the data acquisition content is limited, only recording the final torque value, lacking full-process torque and angle curves, which is not conducive to in-depth quality analysis and process optimization. Sixth, it lacks real-time monitoring of network communication status. When the network is down or the communication quality deteriorates, the system cannot detect it in time, affecting data upload and real-time management.
[0003] In summary, existing technologies have not yet established a closed-loop control system covering the entire process, including parameter verification, process monitoring, result judgment, anomaly locking, data traceability, and workstation release. There is an urgent need for a systematic, mandatory, and traceable error prevention control scheme for tightening processes. Summary of the Invention
[0004] The present invention aims to at least partially solve one of the technical problems in the related art.
[0005] To address this issue, this invention proposes a method for error prevention and control in tightening processes. This method involves acquiring vehicle location and model, equipment ultra-wideband coordinates, and network status; matching process tasks and workstations based on vehicle model; and executing a triple conditional process: vehicle-workstation location comparison, equipment-fence range determination, and network verification. The task is issued and the lock is released only when all conditions are met; otherwise, the tightening gun is locked and an anomaly is indicated. During operation, torque and angle are collected in real-time to generate process curves, which are then bound and stored with vehicle, workstation, and equipment information. A sliding window is constructed using the tightening results of N consecutive vehicles of the same model at the same location, and the mean and standard deviation are calculated. An early warning is issued when a single point exceeds the limit, M consecutive anomalies occur, or the mean trend deviates. This invention solves the problem of process mis-execution caused by workstation misalignment, equipment exceeding boundaries, or communication anomalies, achieving multi-dimensional error prevention and quality trend early warning.
[0006] Another objective of this invention is to provide a screw-tightening process error prevention control device.
[0007] The third objective of this invention is to provide a computer device.
[0008] A fourth objective of this invention is to provide a non-transitory computer-readable storage medium.
[0009] To achieve the above objectives, the present invention provides a method for error prevention and control in a tightening process, comprising: The system acquires the real-time location and model information of the vehicle, the real-time spatial coordinates of the tightening equipment based on ultra-wideband, and the network communication status between the equipment and the host computer. Based on the model information, it matches the corresponding tightening process task and target station, and performs a triple condition judgment: comparing the vehicle location with the target station, using a hysteresis comparator to compare the equipment spatial coordinates with the preset electronic fence, and verifying the network communication status. The tightening process task is sent to the tightening controller and the equipment is unlocked to allow operation only when the corresponding vehicle is at the target workstation, the equipment is within the fenced area, and the network is normal; otherwise, the lock gun control is executed and an abnormal prompt is output. During the operation, the torque and angle values at a single point are collected in real time and a complete process curve is generated. The curve and result data are then stored after being associated and bound with vehicle identity, work station and equipment information. Based on the stored data, a sliding analysis window is constructed by taking the tightening results of the same point on N consecutive vehicles of the same model. The moving average and standard deviation within the window are calculated. When a single point result exceeds the limit, there are M consecutive abnormalities, or the moving average shows a unidirectional trend shift, an early warning signal is output.
[0010] The tightening process error prevention control method of this invention may also have the following additional technical features: In one embodiment of the present invention, obtaining the real-time location of the vehicle includes: The pulse signal output by the encoder of the production line transmission mechanism is obtained in real time. The production line running distance is calculated based on the cumulative number of pulses and the preset pulse-displacement conversion relationship. Based on the preset starting and ending coordinate range of the workstation, the production line running distance is mapped to the current workstation number and real-time position coordinates of the vehicle. Furthermore, when a vehicle passes a preset calibration point at a key location on the production line, it receives a trigger signal sent by the calibration detection device, obtains the standard position coordinates corresponding to the calibration point, and compares the vehicle's current calculated position coordinates with the standard position coordinates. If the deviation between the two exceeds a preset threshold, the vehicle position is automatically corrected to the standard position coordinates, and the corresponding position record in the vehicle queue is updated synchronously.
[0011] In one embodiment of the present invention, verifying the network communication status includes: The host computer sends a query message carrying a timestamp, device IP address and heartbeat sequence number to the tightening controller according to the preset inspection frequency; If a response message containing the current working status is received from the tightening controller within the preset single timeout threshold, the current network communication is determined to be normal. If no valid response is received within the preset single timeout threshold, a retry mechanism is triggered. If no valid response is received after a preset number of consecutive retries, the network communication is determined to be abnormal, and an offline status identifier containing the corresponding device identifier and a network abnormality prompt message are generated and output to the background monitoring page for visual display.
[0012] In one embodiment of the present invention, a hysteresis comparator is used to compare the spatial coordinates of the device with a preset electronic fence, including: The real-time spatial coordinates of the tightening equipment are calculated and obtained by receiving positioning signals from the ultra-wideband tags attached to the tightening equipment through multiple ultra-wideband base stations deployed in the production area and based on positioning solutions such as time difference of arrival or two-way ranging. For each preset electronic fence, an independent entry threshold boundary and an exit threshold boundary are set, with the exit threshold boundary being greater than the entry threshold boundary; When the device moves from inside the fence to the outside, it is determined that the device has crossed the boundary only if the spatial coordinates output by the device for multiple consecutive positioning cycles are outside the exit threshold boundary; when the device returns from outside the fence, it is determined that the device has re-entered the fence and is within the allowed working area only if the spatial coordinates output by the device for multiple consecutive positioning cycles are inside the entry threshold boundary.
[0013] In one embodiment of the present invention, the output of an error message includes: On the display interface of the operating terminal, a multi-level status display area is set for the current tightening process task, and different color indicators are displayed according to the task execution status. Specifically: a white background is displayed when the task has not started, a blue background is displayed when the task has been sent to the tightening controller but has not been executed, an orange background is displayed when network communication is determined to be abnormal, and a green background is displayed when the task is completed and the result is qualified. When the vehicle reaches the end of the current workstation and there are still unfinished or unqualified tightening tasks, the Andon alarm signal is automatically triggered, and the number of unfinished points and their corresponding specific point numbers are displayed simultaneously on the operation terminal.
[0014] In one embodiment of the present invention, performing gun locking control includes: The real-time failure count of a single-point tightening operation is obtained. When the real-time failure count reaches a preset failure threshold, the first gun locking condition is triggered. The system obtains the real-time comparison results between the device's spatial coordinates and the preset electronic fence. When it is determined that the device exceeds the fence range, the second locking condition is triggered. Get the vehicle's arrival status and task loading status. When it is determined that there is no vehicle at the target workstation or no valid tightening process task is loaded, the third locking gun condition is triggered. When any one of the first, second, or third locking conditions is met, a locking control signal is output to forcibly prevent the tightening device from performing tightening operations, and the locking state is only allowed to be released after receiving an unlocking command containing permission verification information from the host computer.
[0015] In one embodiment of the present invention, before storing the curve and result data in association with vehicle identity, workstation, and equipment information, data preprocessing is also included: Acquire the raw tightening data and perform data format parsing and data integrity verification operations in sequence; The parsed data is filtered based on preset anomaly detection rules. These rules include: removing data with lost communication packets or missing fields; removing data with torque or angle values exceeding the upper or lower limits allowed by the process; removing data with the rate of change of adjacent sampling points in the process curve exceeding a preset jump threshold; and removing data with duplicate serial numbers or inverted timestamps. The filtered and valid data is used as structured data to be stored, and association binding and persistent storage operations are performed.
[0016] To achieve the above objectives, another aspect of the present invention provides a tightening process error prevention control device, comprising: The perception and judgment layer is used to obtain the real-time location and model information of the vehicle, the real-time spatial coordinates of the tightening equipment based on ultra-wideband, and the network communication status between the equipment and the host computer; based on the model information, it matches the corresponding tightening process task and target station, and performs triple condition judgment: comparing the vehicle position with the target station, using a hysteresis comparator to compare the equipment spatial coordinates with the preset electronic fence, and verifying the network communication status. The execution control layer is used to send the tightening process task to the tightening controller and unlock the equipment to allow operation if and only if the corresponding vehicle is at the target workstation, the equipment is within the fenced area and the network is normal; otherwise, it executes lock gun control and outputs an abnormal prompt. The data acquisition and binding layer is used to collect single-point torque and angle values in real time during the operation and generate a complete process curve. The curve and result data are then stored after being associated and bound with vehicle identity, workstation and equipment information. The analysis and early warning layer is used to construct a sliding analysis window based on the tightening results of N consecutive vehicles of the same model at the same location, based on stored data. The moving average and standard deviation within the window are calculated. When a single point result exceeds the limit, there are M consecutive abnormalities, or the moving average shows a unidirectional trend shift, an early warning signal is output.
[0017] This invention discloses a tightening process error prevention control method and device, which realizes a closed-loop error prevention system that integrates the entire process from sensing input, interlocking judgment, execution control, data binding to trend warning. It effectively solves the problems of missed tightening, incorrect tightening and difficulty in quality traceability caused by the lack of mandatory verification, lack of equipment position monitoring and incomplete process data in the prior art. It significantly improves the accuracy and reliability of tightening process control and enhances the adaptability and engineering practical value of the system in multi-model mixed production conditions.
[0018] To achieve the above objectives, a third aspect of this application provides a computer device comprising a processor and a memory; wherein the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory, for implementing a tightening process error prevention control method as described in the first aspect embodiment.
[0019] To achieve the above objectives, a fourth aspect of this application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a tightening process error prevention control method as described in the first aspect embodiment.
[0020] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0021] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1 This is a flowchart of a tightening process error prevention control method according to an embodiment of the present invention; Figure 2 This is a flowchart illustrating the dual-network architecture and communication monitoring of the tightening system according to an embodiment of the present invention; Figure 3 This is a full flow chart of the tightening process according to an embodiment of the present invention; Figure 4 This is a flowchart of the UWB positioning electronic fence anti-boundary control according to an embodiment of the present invention; Figure 5 This is a flowchart of the entire process of tightening data processing and intelligent early warning according to an embodiment of the present invention; Figure 6This is a schematic diagram of a tightening process error prevention control device according to an embodiment of the present invention; Figure 7 It is a computer device according to an embodiment of the present invention. Detailed Implementation
[0022] It should be noted that, unless otherwise specified, the embodiments and features described in the present invention can be combined with each other. The present invention will now be described in detail with reference to the accompanying drawings and embodiments.
[0023] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0024] The following description, with reference to the accompanying drawings, describes a method, apparatus, equipment, and storage medium for preventing errors in a tightening process according to an embodiment of the present invention.
[0025] Example 1 like Figure 1 As shown, a tightening process error prevention control method of the present invention includes the following steps: S1 acquires the real-time location and model information of the vehicle, the real-time spatial coordinates of the tightening equipment based on ultra-wideband, and the network communication status between the equipment and the host computer; based on the model information, it matches the corresponding tightening process task and target station, and performs triple condition judgment: comparing the vehicle position with the target station, using a hysteresis comparator to compare the equipment spatial coordinates with the preset electronic fence, and verifying the network communication status.
[0026] In one embodiment of the present invention, a data interaction network architecture is constructed, and the communication status is monitored in real time to ensure stable connection of the data transmission channel and visualized management of the online status of the device.
[0027] It should be understood that the tightening equipment network monitoring module also includes data transmission and network monitoring, the specific process of which is as follows: Figure 2 As shown. Wherein: Step S101, Network Architecture and Data Interaction. The MES network is used for data interaction between the MES system and production execution-related equipment; the tightening network is used for data communication between the tightening server, tightening controller, and tightening equipment.
[0028] In one implementation, the tightening network communicates with the MES system via a tightening server. Tightening process data generated by the tightening equipment is uploaded to the tightening server via the tightening controller and further transmitted to the MES system. This enables centralized management and traceability of production data.
[0029] Step S102, Network Communication Status Monitoring. The system uses a periodic inspection method to detect the communication status of the tightening network and tightening equipment.
[0030] In one embodiment, the periodic inspection method specifically involves the server (MES) sending a query message carrying a timestamp, device IP, and heartbeat sequence number to the client (tightening controller) at a certain inspection frequency. The device must return a receiving message containing its current working status within a single timeout threshold of 3 seconds. The connectivity status is determined based on the obtained online response information. If no valid response is returned within a preset period or the transmission is interrupted, a network anomaly is determined. To effectively filter false alarms caused by network jitter due to the complex electromagnetic environment in the workshop, the system introduces a retry mechanism. Only when no valid response is received for three consecutive times is the device officially diagnosed as offline and determined to be in communication anomaly. The abnormal online status of the device is displayed on the background monitoring page to guide the location and troubleshooting, ensuring transmission continuity and stability.
[0031] Specifically, the background monitoring system sends heartbeat detection commands to the tightening equipment or tightening controller at preset time intervals to obtain the equipment's online response information and determine the network connectivity status between the tightening equipment and the tightening server based on the response information. When the detection result indicates that the tightening equipment has not returned a valid response within a preset time period, or that there are abnormalities such as data transmission interruption or network connection failure, the system determines that the tightening equipment has a network anomaly and generates an anomaly prompt message. The anomaly prompt message is used to prompt operators or maintenance personnel to locate and troubleshoot the corresponding tightening equipment and its network connection to ensure the continuity of tightening operation data transmission and the stability of system operation.
[0032] S2, if and only if the corresponding vehicle is at the target workstation, the equipment is within the fenced area and the network is normal, the tightening process task is sent to the tightening controller and the equipment is unlocked to allow operation; otherwise, the lock gun control is executed and an abnormal prompt is output.
[0033] In one embodiment of the present invention, the tightening task is automatically generated and distributed by the MES system, and the error prevention interlocking control of the tightening equipment is used to ensure the correctness and consistency of the process execution.
[0034] It should be understood that in the tightening process execution module, the process execution module is used to realize vehicle identification, tightening task generation and distribution, and tightening operation execution control. The specific process is as follows: Figure 3 As shown, where: Step S201, Factory modeling and tightening task pre-configuration.
[0035] Step S2011 involves basic factory modeling and parameter configuration for the tightening task. This step is divided into two configuration ends: 1) MES-side configuration: Establishing basic mapping relationships in the MES system, covering workstation information, controller brand, tightening process, equipment IP, and the Job number specific to each vehicle model (data association examples are shown in Table 1); 2) Equipment-side / local configuration: Within the tightening controller, fixing the physical tightening parameters corresponding to the Job number (including target torque, total number of tightening points, and Job number). Data examples are shown in Table 1. Table 1: Basic Data for Tightening Process Required for Factory Modeling
[0036] Step S2012: Trigger process binding based on vehicle characteristics. The system automatically matches the corresponding tightening process configuration based on the vehicle model characteristic information.
[0037] Step S2013: The system parses the tightening parameters, including the tightening controller brand, tightening controller IP address, and tightening job number.
[0038] Step S202, vehicle identification and tracking.
[0039] Step S2021, Vehicle Identification and Queue Generation. After vehicles enter the production line, the MES system identifies the vehicles in the designated detection area at the head of the production line and generates a vehicle queue.
[0040] Step S2022, Vehicle Position Tracking. A reference point is set on the production line as a distance reference point. By installing encoders on the production line transmission mechanism, the current position of the vehicle is determined in real time, and the vehicle queue status is updated.
[0041] Specifically: Step S20221: Set a reference point at the entrance of the production line as the origin of the coordinate system to establish a global distance coordinate system for the production line. The system pre-maintains the position range information corresponding to each workstation, including parameters such as workstation number, workstation start coordinates, and workstation end coordinates, to provide a benchmark for vehicle position determination.
[0042] Step S20222: Install encoders at the drive points of the production line conveyor mechanism, and have the PLC collect the pulse signals output by the encoders in real time. The system calculates the production line running distance in real time based on the cumulative number of encoder pulses and a preset pulse displacement conversion relationship, and uses this distance as the basis for vehicle position calculation.
[0043] Step S20223: After a vehicle enters the production line and completes its identity binding, the system records the initial position coordinates of the vehicle upon entry and establishes a correlation between the vehicle and its position coordinates. During production line operation, the system continuously receives encoder pulse change data, calculates the vehicle's movement distance based on the displacement corresponding to each new pulse, and updates the vehicle's current position coordinates in real time. The vehicle position data is updated synchronously with the production line operation, ensuring that the system can accurately grasp the vehicle's real-time position on the production line.
[0044] Step S20224: The system performs matching calculations based on the vehicle's current position coordinates and the preset position intervals of each workstation. When the vehicle's current position coordinates fall within the position interval corresponding to a certain workstation, the system determines that the vehicle is located at that workstation and automatically updates the workstation information to which the vehicle currently belongs. Simultaneously, the system updates the workstation status, arrival status, and related business status information in the vehicle queue, providing a basis for subsequent process execution and production control.
[0045] Step S20225: The system establishes a vehicle queue model to uniformly manage vehicle information on the production line. Queue information includes at least vehicle identification, current location coordinates, and current workstation. When a vehicle's position changes, the system updates the corresponding vehicle record in real time and automatically maintains the vehicle's front-to-back order based on its current location coordinates, forming a dynamic vehicle queue. Through vehicle queue management, the system enables production line vehicle tracking, workstation occupancy determination, and vehicle flow status monitoring.
[0046] Step S20226: To avoid vehicle positioning deviation caused by cumulative encoder errors, position correction points are set at key locations on the production line. These correction points can be implemented using AVI identification devices, RFID readers, photoelectric switches, proximity switches, or other detection devices. When a vehicle passes a correction point, the system receives the correction point trigger signal, obtains the standard position coordinates of the corresponding correction point, and compares the vehicle's current calculated coordinates with the standard coordinates. When the deviation exceeds a preset threshold, the system automatically corrects the vehicle's current position and synchronously updates the position information in the vehicle queue. Through this periodic position calibration mechanism, cumulative encoder errors can be effectively eliminated, improving vehicle tracking accuracy and workstation determination accuracy.
[0047] Step S203: Tightening Task Generation and Distribution. The MES system automatically generates the corresponding tightening process task based on the vehicle's current workstation information and the factory modeling task configuration relationship, and triggers process prompts on the operation terminal interface. Simultaneously, the MES system distributes the tightening job to the corresponding tightening controller based on the tightening controller's IP address and the tightening equipment brand, achieving automatic task distribution.
[0048] In one embodiment, when the system detects that the tightening equipment is not in the corresponding workstation area, it does not execute the tightening task assignment operation, thereby preventing the tightening equipment from operating across workstations.
[0049] Step S2031: Pre-operation initialization of the tightening equipment. The specific process is as follows: Step S20311: Tool communication handshake establishes connection. The tool and the tightening controller perform a communication handshake to establish a data connection channel.
[0050] Step S20312, Pre-operation initialization. Perform initialization operations on the tightening tool, including locking the tool status, subscribing to the data channel, and sending vehicle VIN information.
[0051] Step S20313, Process Loading and Activation Preparation. Tighten the controller to request and load the corresponding Job process information, and receive the Job start command issued by the MES system.
[0052] Step S20314, Status Confirmation Feedback. The tightening controller returns a tool preparation completion status message, indicating that the device has entered the standby state.
[0053] Step S20315, Tool Unlocking and Ready-to-Trigger State. After confirming initialization, the system unlocks the tool, putting the tightening equipment into a ready-to-trigger execution state, waiting for the operator to start the operation.
[0054] Step S204: Tightening Data Acquisition and Equipment Interlocking. During the tightening process, the system executes tightening operations in batches, reporting the tightening result for each bolt after it is tightened. Once all tightening points are completed, the controller outputs the tightening results at the whole job level.
[0055] To facilitate operators' quick identification of the current process task execution status, the line-side operation terminal features a status display area next to each process task information, visually distinguished by different colors. The status display rules are as follows: Not Performed: White background, indicating the task has not yet started; Issued: Blue background, indicating the task has been issued to the corresponding equipment; Disconnected: Orange background, indicating the terminal has lost connection with the tool and requires intervention from relevant personnel; Completed: Green background, indicating the task has been completed and the result is satisfactory.
[0056] If the vehicle reaches the end of the workstation but there are still unfinished tightening tasks, the system automatically triggers an Andon alarm to prompt the operator to handle the situation. The system simultaneously displays the number and location of the unfinished points. Once the operator completes the corresponding point and reports the result, the system automatically updates the task status to "Completed." For unsatisfactory tasks, the system supports re-execution or bypassing the operation and records the corresponding operation log.
[0057] It should be noted that if a completed task needs to be re-executed due to data anomalies, process changes, or other reasons, the operator can click on the process task and select "RESET" in the pop-up operation options. After receiving the instruction, the system will forcibly reset the completion status of the task to "incomplete" status, thereby synchronously refreshing the task status on the underlying logic and interactive interface, so that the operator can legally re-perform the tightening operation and data collection.
[0058] It should be noted that the system supports switching from automatic to manual mode during operation, allowing for flexible handling of abnormal situations in special scenarios or automatic recovery after manual intervention. In manual mode, the automatic / manual mode status is displayed as "Manual Mode". Operators must manually enter the vehicle's unique identification code (VIN) through the query portal before the system can activate the vehicle's work task. In this mode, the system will not receive entry information from other vehicles.
[0059] In addition, the system will automatically stop the line in manual mode to prevent non-target vehicles from entering the work area due to the activation of manual mode, thereby ensuring work safety and data accuracy.
[0060] Specifically, when the system triggers the locking gun control, the tightening device will be forcibly prohibited from continuing any tightening operations. The locking gun linkage logic covers the following three core scenarios: 1. Abnormal tightening during operation: When the number of single-point tightening failures reaches the preset threshold, the system will automatically trigger the tightening gun lock state. Tightening equipment in this state can only be used again after the MES system issues an unlocking command (which can only be executed by personnel with corresponding permissions) or after the next vehicle enters the station.
[0061] 2. Space Boundary Locking Gun: When the tightening device is determined to be outside the preset electronic fence range, the system triggers an alarm and executes locking gun control; for accidental locking guns caused by abnormal, lost or deviated UWB positioning signals, the system allows authorized personnel to initiate an unlocking request on the operation indicator screen. After the system verifies the permissions and the current device status, the device's operational capability can be restored.
[0062] 3. Anti-idling and anti-mis-triggering locking: When no vehicle is in place or no effective work task is loaded, the system actively performs forced interlocking control on the tightening equipment to effectively prevent accidental triggering and idling operation of the equipment on site.
[0063] S3: During operation, single-point torque and angle values are collected in real time and a complete process curve is generated. The curve and result data are then stored after being associated and bound with vehicle identity, work station and equipment information.
[0064] In one embodiment of the present invention, the spatial positioning data of the tightening equipment is acquired in real time and dynamically compared with the preset electronic fence to realize cross-workstation access restriction and strong constraint control of work behavior.
[0065] It should be understood that the tightening equipment positioning module includes a device identification module and an electronic fence control module. In one embodiment, the tightening equipment is bound to a UWB positioning tag to achieve real-time device location identification and query functions. The specific process is as follows: Figure 4 As shown, where: Step S301: Tighten the gun and bind it to the UWB tag.
[0066] Step S302: Obtain UWB positioning data. The system receives positioning signals from the UWB tags bound to the tightening equipment through multiple UWB base stations deployed in the production area.
[0067] Specifically, in one implementation, the system employs a positioning calculation method based on time difference of arrival or two-way ranging. By calculating the distance relationship between the UWB tag and multiple base stations, the spatial coordinates of the tag within the production area are obtained. The positioning module periodically outputs positioning results, including: tag ID; X coordinate; Y coordinate; positioning timestamp, etc. Based on the binding relationship between the tag and the tightening equipment, the system converts the positioning coordinates into real-time location data of the corresponding tightening equipment and stores it in the equipment status database.
[0068] Step S303: Define the electronic fence area. The system pre-sets electronic fence areas based on workstation layout information to limit the allowable operating range of the tightening equipment. Each electronic fence area corresponds one-to-one with a target workstation or is divided according to production line areas. Based on acquired UWB positioning data, the system determines in real time whether the tightening equipment is within the preset electronic fence area; when the determination result is that the equipment exceeds the preset electronic fence area, a control action is executed. This achieves restriction and error prevention control for the cross-workstation use of the tightening equipment.
[0069] S3031: To avoid frequent triggering of locking and unlocking actions near the fence boundary due to UWB positioning errors, signal drift, or boundary jitter, the system employs a hysteresis comparator mechanism for status determination. Entry and exit threshold boundaries are set for each electronic fence, ensuring that the exit threshold boundary is greater than the entry threshold boundary.
[0070] When a device moves from inside the fence to the outside, the system determines that the device has crossed the boundary only if the device is outside the exit threshold boundary for multiple consecutive positioning cycles. When a device returns from outside the fence, the system determines that the device has re-entered the fence only if the device is inside the entry threshold boundary for multiple consecutive positioning cycles. In one embodiment, in step S303, the electronic fence data includes at least: fence number; fence boundary coordinates; workstation; permitted equipment type; fence status parameters, etc.
[0071] In one implementation, when the tightening equipment erroneously triggers the locking gun control due to abnormal UWB positioning signal, signal loss, or positioning deviation, an authorized person initiates an unlocking request on the operation instruction screen. After the system verifies the authorization information and the legality of the current equipment status, the unlocking command is allowed to be executed to restore the tightening equipment's operating capability, thereby avoiding process interruption caused by unstable positioning.
[0072] S4, based on stored data, constructs a sliding analysis window by taking the tightening results of the same point of N consecutive vehicles of the same model, calculates the moving average and standard deviation within the window, and outputs a warning signal when a single point result exceeds the limit, there are M consecutive abnormalities, or the moving average shows a unidirectional trend shift.
[0073] In one embodiment of the present invention, structured information and process curves covering the entire process data such as vehicle, workstation, torque, and angle are collected in real time, and centralized preprocessing, storage, and trend analysis and early warning are performed to construct a closed-loop control system for error prevention covering network communication, task issuance, operation error prevention and data analysis.
[0074] It should be understood that the data analysis module is used for centralized management and analysis of tightening process data. The MES system uploads the collected tightening result data and process curve data to the quality analysis platform, as detailed in the following process: Figure 5 As shown, where: Step S401, data acquisition: During the tightening operation, the tightening equipment records the tightening result data and tightening process curve data in real time, and uploads them to the data analysis platform through the network communication module.
[0075] Step S402, data preprocessing: The data analysis platform preprocesses the collected tightening data, including data format parsing, data integrity verification, and abnormal data filtering, to ensure the accuracy and usability of the data.
[0076] In one embodiment, in step S402, the specific judgment rules for abnormal data filtering include communication packet loss or missing field data, torque or angle values exceeding the upper and lower limits allowed by the process, data with abrupt jumps in the process curve (the rate of change of adjacent sampling points exceeds a preset threshold), and data with duplicate serial numbers or inverted timestamps. Step S403, Data storage and monitoring: Store the pre-processed tightening data and monitor the operating status of the tightening equipment and the tightening results in real time to achieve centralized management of the tightening process data.
[0077] Step S404, Data Analysis and Early Warning: Based on the stored historical tightening data and tightening process curve data, the data analysis platform performs data analysis processing, including trend analysis, process quality assessment, and anomaly backtracking analysis; when an abnormal tightening quality or a quality trend deviates from a preset threshold is detected, the system triggers a quality early warning.
[0078] In one embodiment, in step S404, when the tightening result exceeds a preset quality threshold or abnormal tightening results occur continuously, the system triggers an alarm and generates a quality abnormality record.
[0079] Specifically, the system selects the tightening data of the same bolt from a recent, consecutive number of vehicles as the sliding analysis window, and sets the upper and lower limits of the target torque and the target center value based on process requirements. As real-time data is continuously input, the analysis window slides forward in fixed steps. Within each window period, the system dynamically calculates the moving average and standard deviation to characterize the process stability and dispersion.
[0080] The system will immediately trigger a quality alarm and generate an anomaly record when any of the following conditions occur: a single tightening result exceeds the preset quality control threshold (process upper and lower limits); or abnormal tightening results occur M times consecutively (e.g., 3 times). To provide early warning of process deviations, when the moving average value shows a unidirectional increasing or decreasing trend in a continuous window, and the average value of the latest window exceeds a certain warning interval, the system will trigger a trend-based warning prompt on the operating terminal to identify the systematic drift risk of process parameters in advance.
[0081] The method of this invention effectively solves the problems of missed tightening, incorrect tightening, and difficulty in quality traceability caused by the lack of mandatory verification, missing equipment location monitoring, and incomplete process data in existing technologies. It realizes a fully integrated error-proof closed loop from sensing input, interlock judgment, execution control, data binding to trend early warning, significantly improving the accuracy and reliability of tightening process control, and enhancing the system's adaptability and engineering practical value in multi-model mixed production conditions.
[0082] Example 2 To achieve the above invention, such as Figure 6 As shown, this embodiment also provides a tightening process error prevention control device 10, which includes: The perception and judgment layer 100 is used to acquire the real-time location and model information of the vehicle, the real-time spatial coordinates of the tightening equipment based on ultra-wideband, and the network communication status between the equipment and the host computer; based on the model information, it matches the corresponding tightening process task and target station, and performs triple condition judgment: comparing the vehicle position with the target station, using a hysteresis comparator to compare the equipment spatial coordinates with the preset electronic fence, and verifying the network communication status.
[0083] The execution control layer 200 is used to send the tightening process task to the tightening controller and unlock the equipment to allow operation if and only if the corresponding vehicle is at the target workstation, the equipment is within the fenced area and the network is normal; otherwise, it executes the lock gun control and outputs an abnormal prompt.
[0084] The data acquisition binding layer 300 is used to collect single-point torque and angle values in real time during operation and generate a complete process curve. The curve and result data are then stored after being associated and bound with vehicle identity, work station and equipment information.
[0085] The analysis and early warning layer 400 is used to construct a sliding analysis window based on the tightening results of N consecutive vehicles of the same model at the same location, based on stored data. The moving average and standard deviation within the window are calculated. When a single point result exceeds the limit, there are M consecutive abnormalities, or the moving average shows a unidirectional trend shift, an early warning signal is output.
[0086] The device of this invention effectively solves the problems of missed tightening, incorrect tightening, and difficulty in quality traceability caused by the lack of mandatory verification, missing equipment location monitoring, and incomplete process data in existing technologies. It realizes a fully integrated error-proof closed loop from sensing input, interlock judgment, execution control, data binding to trend early warning, significantly improving the accuracy and reliability of tightening process control, and enhancing the system's adaptability and engineering practical value in multi-model mixed production conditions.
[0087] Example 3 To implement the methods of the above embodiments, the present invention also provides a computer device, such as... Figure 7 As shown, the computer device 600 includes a memory 601 and a processor 602; wherein, the processor 602 reads the executable program code stored in the memory 601 to run a program corresponding to the executable program code, so as to implement the various steps of the tightening process error prevention control method described above.
[0088] Example 4 To implement the above embodiments, this application also proposes a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements a tightening process error prevention control method as described in the foregoing embodiments.
[0089] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0090] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
Claims
1. A method for preventing errors in a tightening process, characterized in that, include: Acquire real-time vehicle location and model information, real-time spatial coordinates of the tightening equipment based on ultra-wideband, and network communication status between the equipment and the host computer; Based on vehicle model information, the corresponding tightening process task and target station are matched, and a triple condition judgment is performed: the vehicle position is compared with the target station, the equipment spatial coordinates are compared with the preset electronic fence using a hysteresis comparator, and the network communication status is verified. The tightening process task is sent to the tightening controller and the equipment is unlocked to allow operation only when the corresponding vehicle is at the target workstation, the equipment is within the fenced area, and the network is normal. Otherwise, execute the gun lock control and output an error message; During the operation, the torque and angle values at a single point are collected in real time and a complete process curve is generated. The curve and result data are then stored after being associated and bound with vehicle identity, work station and equipment information. Based on the stored data, a sliding analysis window is constructed by taking the tightening results of the same point on N consecutive vehicles of the same model. The moving average and standard deviation within the window are calculated. When a single point result exceeds the limit, there are M consecutive abnormalities, or the moving average shows a unidirectional trend shift, an early warning signal is output.
2. The method as described in claim 1, characterized in that, Obtain the real-time location of the vehicle, including: The pulse signal output by the encoder of the production line transmission mechanism is obtained in real time. The production line running distance is calculated based on the cumulative number of pulses and the preset pulse-displacement conversion relationship. Based on the preset starting and ending coordinate range of the workstation, the production line running distance is mapped to the current workstation number and real-time position coordinates of the vehicle. Furthermore, when a vehicle passes a preset calibration point at a key location on the production line, it receives a trigger signal sent by the calibration detection device, obtains the standard position coordinates corresponding to the calibration point, and compares the vehicle's current calculated position coordinates with the standard position coordinates. If the deviation between the two exceeds a preset threshold, the vehicle position is automatically corrected to the standard position coordinates, and the corresponding position record in the vehicle queue is updated synchronously.
3. The method as described in claim 1, characterized in that, Verify network communication status, including: The host computer sends a query message carrying a timestamp, device IP address and heartbeat sequence number to the tightening controller according to the preset inspection frequency; If a response message containing the current working status is received from the tightening controller within the preset single timeout threshold, the current network communication is determined to be normal. If no valid response is received within the preset single timeout threshold, a retry mechanism is triggered. If no valid response is received after a preset number of consecutive retries, the network communication is determined to be abnormal, and an offline status identifier containing the corresponding device identifier and a network abnormality prompt message are generated and output to the background monitoring page for visual display.
4. The method as described in claim 1, characterized in that, A hysteresis comparator is used to compare the spatial coordinates of the device with a preset electronic fence, including: The real-time spatial coordinates of the tightening equipment are calculated and obtained by receiving positioning signals from the ultra-wideband tags attached to the tightening equipment through multiple ultra-wideband base stations deployed in the production area and based on positioning solutions such as time difference of arrival or two-way ranging. For each preset electronic fence, an independent entry threshold boundary and an exit threshold boundary are set, with the exit threshold boundary being greater than the entry threshold boundary; When the device moves from inside the fence to the outside, it is determined that the device has crossed the boundary only if the spatial coordinates output by the device for multiple consecutive positioning cycles are outside the exit threshold boundary; when the device returns from outside the fence, it is determined that the device has re-entered the fence and is within the allowed working area only if the spatial coordinates output by the device for multiple consecutive positioning cycles are inside the entry threshold boundary.
5. The method as described in claim 1, characterized in that, Output error messages, including: On the display interface of the operating terminal, a multi-level status display area is set for the current tightening process task, and different color indicators are displayed according to the task execution status. Specifically: a white background is displayed when the task has not started, a blue background is displayed when the task has been sent to the tightening controller but has not been executed, an orange background is displayed when network communication is determined to be abnormal, and a green background is displayed when the task is completed and the result is qualified. When the vehicle reaches the end of the current workstation and there are still unfinished or unqualified tightening tasks, the Andon alarm signal is automatically triggered, and the number of unfinished points and their corresponding specific point numbers are displayed simultaneously on the operation terminal.
6. The method as described in claim 1, characterized in that, Perform gun locking control, including: The real-time failure count of a single-point tightening operation is obtained. When the real-time failure count reaches a preset failure threshold, the first gun locking condition is triggered. The system obtains the real-time comparison results between the device's spatial coordinates and the preset electronic fence. When it is determined that the device exceeds the fence range, the second locking condition is triggered. Get the vehicle's arrival status and task loading status. When it is determined that there is no vehicle at the target workstation or no valid tightening process task is loaded, the third locking gun condition is triggered. When any one of the first, second, or third locking conditions is met, a locking control signal is output to forcibly prevent the tightening device from performing tightening operations, and the locking state is only allowed to be released after receiving an unlocking command containing permission verification information from the host computer.
7. The method as described in claim 1, characterized in that, Before storing the curve and result data along with vehicle identity, workstation, and equipment information, data preprocessing is also included: Acquire the raw tightening data and perform data format parsing and data integrity verification operations in sequence; The parsed data is filtered based on preset anomaly detection rules. These rules include: removing data with lost communication packets or missing fields; removing data with torque or angle values exceeding the upper or lower limits allowed by the process; removing data with the rate of change of adjacent sampling points in the process curve exceeding a preset jump threshold; and removing data with duplicate serial numbers or inverted timestamps. The filtered and valid data is used as structured data to be stored, and association binding and persistent storage operations are performed.
8. A tightening process error prevention control device, characterized in that, include: The perception input layer is used to obtain the real-time location and model information of the vehicle, the real-time spatial coordinates of the tightening equipment based on ultra-wideband, and the network communication status between the equipment and the host computer. The interlocking determination layer is used to match the corresponding tightening process task and target station based on vehicle model information, and to perform triple condition determination: comparing the vehicle position with the target station, using a hysteresis comparator to compare the equipment spatial coordinates with the preset electronic fence, and verifying the network communication status. The execution control layer is used to send the tightening process task to the tightening controller and unlock the equipment to allow operation if and only if the corresponding vehicle is at the target workstation, the equipment is within the fenced area and the network is normal. Otherwise, execute the gun lock control and output an error message; The data acquisition and binding layer is used to collect single-point torque and angle values in real time during the operation and generate a complete process curve. The curve and result data are then stored after being associated and bound with vehicle identity, workstation and equipment information. The analysis and early warning layer is used to construct a sliding analysis window based on the tightening results of N consecutive vehicles of the same model at the same location, based on stored data. It calculates the moving average and standard deviation within the window. When a single point result exceeds the limit, there are M consecutive abnormalities, or the moving average shows a unidirectional trend shift, an early warning signal is output.
9. An electronic device, characterized in that, include: processor; The memory stores executable instructions; when the processor executes the instructions, it implements the tightening process error prevention control method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The device stores a computer program, which, when executed by a processor, implements a tightening process error prevention control method as described in any one of claims 1-7.
