Parameter adaptive switching control method and system for multi-specification packing root intelligent cutting
Patent Information
- Application Number
- CN202611498203.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-24
- Publication Date
- 2026-11-03
AI Technical Summary
In the continuous cutting and processing production line of multi-specification sealing packing, the existing control system is prone to misjudgment of specifications and parameter mismatch due to material posture deviation, resulting in cutting length error and deterioration of clamping and positioning accuracy. In addition, the traditional control scheme lacks parameter binding and boundary timing mechanism, which leads to parameter mixing and process disorder, resulting in high defect rate.
By acquiring the transverse and longitudinal contact coordinates of the packing at the inspection station, specification contact words unaffected by material posture are generated. The specification boundaries are determined by combining the feeding code count, and an indivisible parameter package is constructed. A hash verification mechanism is used to ensure that the parameters are uniquely bound, realizing atomic switching and orderly scheduling of parameter packages and avoiding parameter confusion.
Completely eliminate specification misjudgment, improve equipment process controllability and maintainability, ensure the strictness of the sequence of continuous production of multiple specifications, significantly reduce the defect rate, and improve processing accuracy and production stability.
Smart Images

Figure CN123029773A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of control technology for sealing packing cutting equipment, and in particular to a parameter adaptive switching control method and system for intelligent cutting of multi-specification packing. Background Technology
[0002] Sealing packing is a type of sealing filler used in industrial equipment. It is made from aramid fiber, polytetrafluoroethylene fiber, graphite wire, carbon fiber, and other wires, and is produced by a braiding process into continuous long strips with a defined cross-sectional size. It is mainly used to fill the shaft seal gaps of industrial rotating or reciprocating equipment such as pumps, valves, and reactors, as well as the valve stem sealing gaps, to achieve dynamic and static sealing. It must have properties such as temperature resistance, pressure resistance, media corrosion resistance, and low coefficient of friction. The finished product is supplied in continuous long strip form. When using it, it is cut to a fixed length according to the size of the equipment sealing cavity, coiled, and then filled into the sealing cavity to complete the sealing operation.
[0003] In a multi-specification continuous cutting production line for sealing packing, the equipment is arranged with detection stations, clamping stations, and cutting tool stations sequentially along the feeding direction. The existing control system, after identifying changes in the material's cross-sectional dimensions at the detection station, directly updates all control parameters—feeding step length, clamping position, and cutting tool movement—to adapt to the new specifications based on the dimensional signals. However, packing is prone to circumferential rotation during transport. Relying solely on the cross-sectional dimensions in a single direction to determine specification changes can easily lead to material posture deviations being misinterpreted as specification changes, triggering incorrect parameter updates. Furthermore, the instantaneous parameter switching does not consider the actual travel distance of the material from the detection station to the cutting tool station. This can result in the loading of new specification control parameters when the cutting tool station still holds the old specification material, causing a mismatch between parameters and material specifications, leading to processing defects such as cutting length errors and deteriorated clamping and positioning accuracy.
[0004] For multi-specification packing feeding operations, different specification sections require a set of associated control parameters, such as feeding pulse count, clamping termination limit, and tool separation reference. Traditional control schemes update and issue each linkage parameter independently, without binding the parameters to material boundary points and equipment calibration references. After a single parameter is modified or replaced, full-chain traceability cannot be achieved, frequently resulting in the mixing of control parameters for old and new specifications. At the same time, the equipment lacks a mechanism for fixed registration of specification boundary points and time-sequential parameter switching. The configuration data of the new specification will overwrite the parameter configuration of the previous specification that has not yet been completed, disrupting the coordination rhythm of multi-station processes, amplifying the equipment operation disturbance during specification switching, and directly increasing the output ratio of defective packing. Summary of the Invention
[0005] To address the problems of unbound parameters leading to easy misuse and difficulty in traceability during multi-specification packing cutting, as well as parameter overwriting, process disorder, and high defect rate caused by unbounded timing switching, this invention provides solutions in the following aspects.
[0006] In the first aspect, the parameter adaptive switching control method for intelligent cutting of multi-specification packing includes: at the detection station of the feeding path, the contact coordinates of the packing in the lateral and longitudinal directions are obtained by four mechanical contact fingers, and the position record is formed by combining the feeding code counting. The lateral span and longitudinal span are sorted according to the numerical value to generate specification contact characters that are not affected by the material placement posture. Based on the assembly distance from the inspection station to each clamping station and the tool cutting station and the calibration coefficient of the feeding shaft, the coding positioning specification boundary is converted; the travel from the inspection station to the tool station is used as the verification interval. When the contact word of the packing feed specification remains consistent throughout the entire process, the specification boundary is registered as an immutable specification boundary. For each registered specification segment, based on the specification contact word, user cutting length, feed shaft calibration parameters, and rigid assembly relationship between the detection station and the clamping station, an indivisible parameter package containing feed count, clamping termination receipt object, tool separation receipt object, and source hash value is constructed and updated. The new specification parameter package is stored in the preparation area cache, and the cutting and processing continue to use the old parameter package to control the current material; after the specification boundary passes through the front clamp, rear clamp, and tool station in sequence, and the clamping identification specification matches, the tool is effectively separated, and the parameter package hash verification is passed, the device running parameter package is switched atomically. For multiple specification boundaries, the feeding code count is used to process the material in ascending order based on the first detection of the boundary. The parameter switching judgment process is such that subsequent specification boundaries must not cover or trigger the previous specification boundary. The adaptive switching control of packing cutting process parameters is completed in segments.
[0007] Preferably, the location record is obtained in the following way: When the packing is stopped at the inspection station, the four mechanical contact fingers are controlled to feed into the outer contour of the packing. When any contact finger touches the mechanical switching signal, the corresponding contact position code is immediately frozen. The position record is generated by combining the four sets of contact position codes and the current feeding code count only when all four sets of contact position codes are completely collected within a single stop cycle. If any set of contact position codes is missing, the calculation of the cross-sectional dimensions and specification contact words will fail, and the current sampling will be discarded, thus no valid specification contact words will be generated.
[0008] Preferably, the generation of standardized contact characters unaffected by the material placement posture includes: The difference between the contact coordinates of the two contact fingers arranged laterally along the packing is taken as the lateral span, and the difference between the contact coordinates of the two contact fingers arranged longitudinally along the packing is taken as the longitudinal span. Compare the values of the horizontal span and the vertical span, select the smaller one as the first component of the standard contact character, and the larger one as the second component, forming an ordered binary tuple as the standard contact character. In determining whether two contact characters of different specifications are the same, the two components must be equal respectively.
[0009] Preferably, the specification boundary is obtained in the following way: Determine the feeding length corresponding to each code count of the feeding shaft based on the feeding shaft calibration results; The assembly distance from the inspection station to the cutting plane of the tool is divided by the feeding length corresponding to each coded count of the feeding axis to obtain the tool boundary conversion count. When the tool boundary conversion count cannot be accurately represented by the discrete integer value of the feeding axis, the current boundary is marked as an unresolved boundary. The maximum value among the assembly distances from the inspection station to the front clamping surface, the rear clamping surface, and the tool cutting plane is selected as the specification confirmation span; Starting from the feeding code count when the new specification contact character first appears, the feeding stroke of subsequent continuous contact records completely covers the specification confirmation span, and the position corresponding to the first detected feeding code is recorded as the specification boundary.
[0010] Preferably, registering the specification boundary as an immutable specification boundary includes: In a continuous contact record that starts from the first appearance of the new specification contact word and covers the specification confirmation span, if the two components of the specification contact word remain equal item by item and no different specification contact words appear in the middle, then the specification boundary is registered as an immutable boundary. If the specification contact word changes during the period covering the specified specification confirmation span, the material segment corresponding to the period is recorded as the specification unresolved segment, the current specification boundary is discarded, the immutable specification boundary registration is not performed, and the cutting system continues to operate with the control parameters of the previous specification.
[0011] Preferably, the step of obtaining the indivisible parameter package includes: Process parameter verification is carried out within a single material segment of the same specification defined by an invariable specification boundary. The ratio of the set cutting length to the single pulse feeding length calibrated by the feeding shaft is used as the single piece feeding code count. When the single piece feeding code count is not an integer, the length positioning cannot be accurately achieved by using the discrete pulse points of the feeding shaft. In this case, the length of the current batch is marked as invalid and the parameter package generation is terminated. Based on the rigid assembly relationship between the detection station and the clamping station, a rigid assembly transformation from the detection contact coordinate to the counting domain of the clamping mechanism is established. The detection contact coordinate is mapped to the termination receipt object of the clamping mechanism through the rigid assembly transformation. When any mapping result cannot fall precisely into the discrete counting domain of the corresponding clamping mechanism, the parameter package is not generated. When the tool performs the first effective cut of the corresponding specification segment, the material continuity receipt on both sides of the tool is obtained. When the material continuity receipt indicates that the material has changed from the same continuous segment to two independent segments, the current tool coding position is frozen as the tool separation receipt object. If the tool reaches the mechanical stroke boundary and the material continuity receipt is not obtained, the cut fails and the tool separation receipt object is not generated. After the above verification process is successfully completed, the single-piece feeding code count, clamping mechanism termination receipt object, and tool separation receipt object are integrated and packaged to obtain an indivisible parameter package.
[0012] Preferably, the update logic for the indivisible parameter package is as follows: The non-separable parameter package adopts an overall encapsulation structure, and independent modification of a single parameter within the package is not allowed. When any of the source parameters such as specification contact words, user cutting length, feeding shaft calibration parameters, or rigid assembly relationship between the inspection station and the clamping station are changed, the original non-separable parameter package is directly invalidated, and parameter calculation and overall encapsulation are re-completed to generate a new non-separable parameter package.
[0013] Preferably, the switching steps of the atomic switching device operating parameter package include: Conduct online parameter switching criterion verification, and the verification must simultaneously meet four prerequisite conditions: First, the feed code count corresponding to the specification boundary has already exceeded the position of the tool cutting plane; Second, the specification contact words detected by the front clamping station and the rear clamping station in each clamping station are consistent with the specification contact words bound to the new parameter package in the preparation area. Third, the tool has generated a valid tool separation receipt object; Fourth, retrieve all original source fields of the new parameter package in the preparation area and calculate the verification hash in real time. The real-time hash value is completely matched with the source hash value that is solidified and sealed inside the new parameter package. When all four conditions are met simultaneously, a one-time atomic switch is performed on the active parameter package identifier of the equipment operation, directly switching from the original old parameter package to the new parameter package in the preparation area. The feeding count, clamping termination receipt object, and tool separation receipt object all take effect and are called synchronously with the active parameter package identifier. When any one of the four conditions is not met, the current active parameter package identifier is maintained without change, the material feeding action is immediately suspended, and the unmet verification condition and the feeding code count corresponding to the time of the fault are recorded.
[0014] Preferably, the adaptive switching control of the segmented packing cutting process parameters includes: For each specification boundary registered as an immutable boundary, record the feeding code count at the time of the first detection; based on the ascending order of the feeding code count value, establish an ordered scheduling queue for all specification boundaries; only after the upstream specification boundary completes the activity parameter package identifier switching action will the parameter switching verification and submission of the downstream specification boundary be triggered; when the upstream specification boundary parameter switching is not completed, all downstream specification boundaries maintain a pre-prepared cache state, and the downstream parameter package data is prohibited from rewriting the cache configuration data of the upstream boundary and from preemptively executing parameter judgment.
[0015] Secondly, the parameter adaptive switching control system for intelligent cutting of multi-specification packing includes a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the above-mentioned parameter adaptive switching control method for intelligent cutting of multi-specification packing is implemented.
[0016] This application has the following technical advantages: 1. This invention completely eliminates specification misjudgments caused by the rotation of packing material by rearranging the horizontal and vertical span values to construct posture-independent specification contact characters. Simultaneously, it constructs an indivisible overall parameter package based on multi-dimensional process, assembly, and calibration parameters, and configures a source hash verification mechanism. All specification cutting parameters are uniquely bound to the corresponding material specifications, prohibiting local parameter tampering and individual modification. This effectively avoids the problem of parameter misuse during continuous production of multiple specifications in traditional equipment. Furthermore, relying on hash verification, version records, and event logs, it achieves full-process traceability of parameter changes and boundary anomalies, significantly improving the controllability and maintainability of the equipment process.
[0017] 2. This invention constructs an ordered scheduling queue based on the ascending order of the initial detection feeding code count for multiple specification boundaries. It sets up an interlocking logic where preceding boundaries are executed first, and subsequent boundaries are locked in standby mode. The verification and submission of subsequent boundaries only begins after the preceding specification boundary has completed an atomic parameter switch or clearly failed. This control mechanism eliminates problems such as multi-specification boundary over-triggering, parameter cache overwriting, and premature erroneous switching. It solves the core technical pain points of disordered processes and erratic parameter switching in traditional multi-specification continuous cutting operations, ensuring the time-series rigor of continuous production of multi-specification materials.
[0018] 3. This invention incorporates several key verification methods during the parameter generation phase, including integer verification of feeding length, precise mapping verification of clamping coordinates, and validity verification of tool separation receipts. During the parameter switching phase, it simultaneously performs four verifications: station position, specification matching, tool status, and hash consistency. This multi-dimensional, pre-emptive fault tolerance eliminates invalid specification segments and unqualified parameter packages. Furthermore, it employs an uninterrupted atomic parameter package switching method to prevent parameter misalignment and operational mismatch during the switching process. This effectively avoids processing defects such as specification switching mismatch, inadequate clamping, cutting length deviation, and abnormal material cutting common in traditional processes, significantly reducing the defect rate and improving the overall processing accuracy and production stability of intelligent multi-specification packing cutting. Attached Figure Description
[0019] Figure 1 This is a flowchart of steps S1-S5 in the parameter adaptive switching control method for intelligent cutting of multi-specification packing in an embodiment of the present invention.
[0020] Figure 2 This is a structural block diagram of the parameter adaptive switching control system for intelligent cutting of multi-specification packing in an embodiment of the present invention. Detailed Implementation
[0021] 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 some embodiments of the present invention, but not all embodiments.
[0022] Reference Figure 1 The parameter adaptive switching control method for intelligent cutting of multi-specification packing includes steps S1-S5, as follows: S1: At the detection station of the feeding path, the horizontal and vertical contact coordinates of the packing are obtained through four mechanical contact fingers. Combined with the feeding code count, a position record is formed. The horizontal span and vertical span are sorted according to the numerical value to generate a specification contact character that is not affected by the material placement posture.
[0023] A testing station is set up along the packing feeding path. The testing station is equipped with four sets of independent mechanical contact fingers. The four sets of contact fingers are divided into a transverse arrangement group and a longitudinal arrangement group. The transverse arrangement group includes a left contact finger and a right contact finger. The two sets of contact fingers are arranged in opposite directions along the transverse cross section of the packing. The longitudinal arrangement group includes a lower contact finger and an upper contact finger. The two sets of contact fingers are arranged in opposite directions along the longitudinal cross section of the packing.
[0024] Each set of contact fingers is equipped with an independent linear drive mechanism and an absolute position encoder. All contact fingers can independently feed in two orthogonal directions, the transverse and longitudinal directions, which are perpendicular to the packing axis, to achieve point-to-point contact detection of the outer contour of the packing cross section.
[0025] The feeding shaft performs a fixed-length conveying action, transporting the sealing packing to be tested to the designated testing point at the testing station, and then stops feeding, keeping the sealing packing stationary. The main controller of the equipment synchronously sends feeding action commands to the drive mechanisms of the four sets of contact fingers, controlling the left and right contact fingers to feed laterally towards each other and conform to the outer contours of the packing on both sides laterally, while simultaneously controlling the lower and upper contact fingers to feed longitudinally towards each other and conform to the upper and lower outer contours of the packing on both sides longitudinally. The feed speed of the contact fingers is 5mm to 20mm per second, and the feed pressure of the contact fingers is 2N to 10N. The feed speed and feed pressure are set within the above range according to the hardness of the packing material and the testing cycle requirements. When replacing with soft packing, the feed speed and feed pressure are reduced, and when replacing with hard packing, they can be increased accordingly.
[0026] When the contacts of each group of contact fingers make rigid contact with the outer contour of the packing body, the contacts and the main bearing structure of the contact fingers undergo a preset mechanical displacement action. The preset displacement of the contacts relative to the main bearing structure of the contact fingers is 0.5% to 2% of the full stroke of the contact fingers, and is calibrated according to the stiffness of the contact finger structure and the preload spring force of the contacts. When using microswitches, the triggering force is 1N to 5N, which is adjusted according to the hardness of the packing material. When using encoder detection, the displacement corresponds to no less than 5 consecutive encoder pulses, which is set according to the encoder resolution. The mechanical displacement can be identified by two forms: microswitch contact switching and encoder output pulse characteristic jump, which serve as the material arrival contact judgment signal.
[0027] The controller collects the displacement status signals of four sets of contact fingers in real time. When any set of contact fingers feeds back a valid mechanical displacement signal, the controller immediately latches the position code value output by the encoder at the current position of that contact finger, thus completing the retention of single-sided contour position data.
[0028] During a single material detection pause cycle, the controller performs an integrity check on the effective displacement signals of the four sets of contact fingers: if all four contact fingers (left, right, lower, and upper) return effective contact displacement signals and all four sets of contact fingers successfully latch effective position codes, the cross-sectional profile detection sampling is deemed valid, and all profile position data is retained; if any one of the four sets of contact fingers fails to return an effective contact displacement signal or fails to latch an effective position code, the controller directly determines that the cross-sectional detection sampling is invalid, discards all original sampling data of this detection, does not generate corresponding cross-sectional specification data based on this invalid sampling, and prohibits the use of other three-axis effective coordinates to interpolate, fill in, or estimate missing coordinates to avoid the problem of cross-sectional dimension data distortion.
[0029] Each valid detection stop is sequentially ordered according to the packing feeding direction, and the currently executing stop is defined as the [number]. The next testing process will be the first The feed code count output by the encoder at the moment the feed shaft stops during the next detection process is recorded separately; the count is recorded synchronously. The position codes for the left contact finger latch, the right contact finger latch, the lower contact finger latch, and the upper contact finger latch within the next inspection process.
[0030] The feeding code count, left contact finger position code, right contact finger position code, lower contact finger position code, and upper contact finger position code are all represented by discrete count values according to the equipment's factory calibration conversion rules. The count is used as the unit of measurement and is a dimensionless calibration value.
[0031] The controller binds and encapsulates the feeding code count within the same detection cycle with four sets of contact finger position codes to generate a position record corresponding to a single detection. The detection process number increases sequentially as the packing feeding continues to be sampled, thereby realizing the time sequence differentiation of different detection points in the material length direction.
[0032] The controller retrieves four sets of contour position codes stored in the position record and performs numerical calculations on the transverse and longitudinal cross-sectional spans of the packing.
[0033] The transverse cross-section span is the difference between the right contact finger position code and the left contact finger position code; the longitudinal cross-section span is the difference between the upper contact finger position code and the lower contact finger position code.
[0034] The transverse cross-sectional span and the longitudinal cross-sectional span are both obtained by calculating the difference in the contact finger position codes. The unit of measurement is the contact coordinate count value, which is a dimensionless dimensional characterization quantity.
[0035] The transverse span directly represents the width of the overall outer contour of the packing cross section in the transverse direction, while the longitudinal span directly represents the height of the overall outer contour of the packing cross section in the longitudinal direction.
[0036] During axial conveying, packing is prone to 90-degree axial rotation around its central axis due to factors such as material roundness deviation and uneven friction of the conveying rollers. After the material rotates, the original transverse and longitudinal cross-sectional dimensions will be interchanged. If the transverse and longitudinal spans without sorting are directly used as the basis for specification determination, the same specification packing will generate two completely different sets of cross-sectional characteristic values. The control system will misidentify this as a sudden change in material specification, thereby triggering incorrect cutting parameter switching actions, ultimately causing the packing to be scrapped.
[0037] After the controller completes the calculation of the transverse and longitudinal span values, it performs a comparison operation on the two sets of span values, selects the smaller value of the two sets of span values as the first component of the standard contact character, and selects the larger value of the two sets of span values as the second component of the standard contact character, and combines them to form an ordered binary feature group, which is defined as the standard contact character.
[0038] When the packing rotates 90 degrees axially, the values of the transverse section span and the longitudinal section span are interchanged. However, the values of the two components after being filtered by the minimum and maximum values will not change. The final generated specification contact letter remains constant, which can completely eliminate the interference caused by the packing conveyor attitude deflection on the cross-sectional specification recognition.
[0039] The above-mentioned posture interference elimination capability is applicable to the situation where the sealing packing with a square or rectangular cross section undergoes orthogonal rotation in multiples of 90 degrees during the conveying process; if the sealing packing rotates at a non-90-degree angle, the rotation angle can be limited by adding a circumferential guide groove or an anti-rotation pressure wheel to the feeding path, or by adding a rotation angle detection sensor to compensate for the rotation transformation of the lateral span and the longitudinal span.
[0040] Only when the actual transverse and longitudinal dimensions of the packing cross-section change substantially, and the combination result of the transverse span and longitudinal span after extreme value screening changes, will the component values inside the specification contact letter change synchronously, so as to accurately reflect the actual specification switching point of the material.
[0041] When the controller performs a consistency comparison of two sets of specification contact words, it adopts a component-by-component matching judgment rule: only when the first component values of the two sets of specification contact words to be compared are completely equal, and the second component values of the two sets of specification contact words are also completely equal, can it be determined that the two sets of specification contact words correspond to the same material specification.
[0042] Add a matching pre-constraint condition: If the encoder calibration versions corresponding to the two sets of specification contact words are inconsistent, or if the four sets of contact contour sampling data on which the two sets of specification contact words are based do not belong to the same material stop detection cycle, the controller will directly terminate the specification contact word consistency comparison operation to avoid mismatch of data across cycles and across calibration versions, which may cause specification misjudgment.
[0043] After completing all the above calculations and verification processes, the controller outputs a specification contact word with anti-rotational attitude interference capability after the single material detection stop process ends. The controller associates and stores the specification contact word with the feeding code count bound inside the position record to form a complete description of the material specification at the current detection point. This data is directly used for subsequent specification change point determination and cutting process parameter matching.
[0044] S2: Based on the assembly distance from the inspection station to each clamping station and the tool cutting station and the calibration coefficient of the feeding shaft, convert the coded positioning specification boundary; take the travel from the inspection station to the tool station as the verification interval, and when the contact word of the packing feed specification remains consistent throughout the entire process, register the specification boundary as an immutable specification boundary.
[0045] After the controller completes the generation of the specification contact word for a single detection process, it needs to determine the current specification contact word to confirm whether the feature represents the starting position of the new specification packing section, and bind and store the specification boundary point with the feeding shaft coding position.
[0046] The straight-line distances from the center point of the inspection station to the cutting plane of the tool, the front clamping reference plane, and the rear clamping reference plane are the fixed assembly dimensions. All values of this set of fixed assembly dimensions are taken from the equipment's factory assembly calibration documents.
[0047] Define the assembly distance from the inspection station to the tool cutting plane, the assembly distance from the inspection station to the front clamping reference surface, and the assembly distance from the inspection station to the rear clamping reference surface. The unit of measurement for these three dimensions is uniformly set to millimeters.
[0048] The factory calibration document for the feed shaft specifies the material feed length corresponding to each individual feed code count. The unit of measurement for this parameter is millimeters per individual code count.
[0049] The assembly calibration parameters of the whole machine and the feed shaft calibration parameters share the same calibration version number. Both sets of calibration parameters are stored in the initial debugging configuration file of the equipment and are written into the equipment control configuration contract to ensure the uniformity of the dimensional conversion benchmark.
[0050] The controller uses assembly distance and feed calibration parameters to calculate the offset count value of the tool position relative to the detection station on the feed code. The offset count value is calculated by dividing the total assembly length from the detection station to the tool cutting plane by the feed length corresponding to a single code.
[0051] The tool code offset is a dimensionless count value used to characterize the positional deviation of the tool station relative to the detection station in the feeding code sequence.
[0052] If the assembly length cannot be divided evenly by the single-code feed length, the final calculated offset value will not be an integer, indicating that the tool boundary point cannot be accurately positioned on the discrete code point of the feed axis. The controller directly marks the identified specification boundary candidate point as an unresolved boundary, records the abnormal trigger point and all information of the current calibration version in the system operation log, and directly terminates all subsequent boundary verification and registration processes.
[0053] During the factory calibration phase, the resolution of the feed shaft encoder or the assembly distance calibration value is finely adjusted to ensure that the three sets of assembly distances from the inspection station to the tool cutting plane, the front clamping reference plane, and the rear clamping reference plane are all divisible by the single-code feed length. If a non-integer result occurs after replacing the feed shaft or recalibrating on site, the closest integer code point is allowed as the approximate positioning point, with the approximate error not exceeding half of the feed length corresponding to a single code. The upper limit of the tolerance is set according to the cutting accuracy requirements of the equipment.
[0054] Only when the converted tool code offset is an integer value is the size conversion result deemed valid and allowed to proceed to the subsequent specification span determination process.
[0055] The controller compares the length values of three sets of assembly distances: from the inspection station to the tool cutting plane, from the inspection station to the front clamping reference surface, and from the inspection station to the rear clamping reference surface. The maximum value among the three sets of lengths is selected as the specification confirmation span, and the unit of measurement for the specification confirmation span is millimeters.
[0056] The specification confirmation span represents the straight-line distance from the inspection station to the furthest downstream functional station. Only when the overall feed length of the packing material is greater than or equal to the specification confirmation span can the current new specification material segment completely cover all downstream execution stations of the tool station and the front and rear clamping stations, avoiding boundary misjudgment caused by local specification fluctuations of the material.
[0057] When the controller compares the specifications of the contact words generated in this test with those of the specifications of the contact words that were continuously and stably output in the previous test, it determines that the test station has captured the starting position of the new specification material, takes the specifications of the contact words generated in this test as the reference feature of the new specification, and simultaneously latches the corresponding feed shaft code count as the starting code point of the specification candidate boundary.
[0058] After capturing the starting point of the candidate boundary, the equipment continuously performs material stopping detection. In each round of detection, it reads the real-time feeding code count and the contact word of the current specification, and calculates the cumulative feed length of the material from the starting point of the candidate boundary by combining the candidate boundary starting code point.
[0059] The cumulative feed length is calculated as follows: the difference between the real-time feed code and the boundary start code is multiplied by the feed length corresponding to a single code to obtain the cumulative feed length, with the unit of measurement being millimeters.
[0060] Throughout the entire process, before the cumulative feed length of the material reaches the specification confirmation span, the controller compares the specification contact word obtained from each detection with the new specification reference contact word component by component, requiring the first and second components of the two sets of contact words to be completely consistent.
[0061] The continuous stability verification results in two different outcomes: The first type is the stable qualification determination: Before the cumulative feed length of the material first reaches or exceeds the specification confirmation span, all specification contact words output by the inspection process match the new specification benchmark features item by item, without any specification feature jumps. The controller determines that the current candidate specification boundary is real and valid, and performs the solidification registration operation of the immutable specification boundary.
[0062] The boundary registration process uniformly and permanently stores the following key information: the feeding code count corresponding to the specification switching start position, the contact word of the new specification reference specification, the tool station boundary arrival code obtained by superimposing the boundary start code with the tool code offset, the front clamping station boundary arrival code obtained by converting the assembly dimensions based on the front clamping surface, the rear clamping station boundary arrival code obtained by converting the assembly dimensions based on the rear clamping surface, and the current calibration version number of the whole machine. At the same time, all the above registration fields are retrieved, and the boundary record verification hash value is calculated and generated according to the hash encryption algorithm agreed in the equipment control contract, and stored in the boundary file.
[0063] The second method is boundary failure determination: Before the cumulative material feed length reaches the specification confirmation span, any component of the specification contact word in any detection process has a numerical deviation from the corresponding component of the new specification reference contact word. The controller directly determines that the current candidate specification boundary is failed, and marks the material segment from the boundary start code to the abnormal detection point as the specification unresolved segment, and does not register the immutable specification boundary.
[0064] Within the unresolved specification section, the equipment continues to cut according to the previous specification parameters, and at the same time, the start and end codes of the unresolved specification section are marked in the system operation log; if the length of the unresolved specification section exceeds 3 times the cutting length of a single finished product, an early warning is triggered to prompt manual review. This multiple threshold is set according to the production line's tolerance for defective products, and the value ranges from 2 to 5 times.
[0065] The controller clears all candidate boundary cache states, restarts the new specification feature monitoring work, and repeatedly executes the entire control process of specification boundary capture and stability verification.
[0066] Through the above multi-station span stability verification logic, the controller will only generate a formal immutable specification boundary file after a stable and continuous material of the same specification has completely traversed all downstream stations.
[0067] The boundary file fully records the specification starting point code, as well as the precise feeding code points corresponding to the material arrival at the tool station, front clamping station, and rear clamping station. All boundary codes corresponding to the stations can be accurately located within the discrete coding system of the feeding axis.
[0068] The unparsed specification segments generated by the process determination are only logged and will not interfere with the identification, registration, and subsequent parameter switching control of normal and stable specification boundaries, thus achieving accurate differentiation of specification boundaries and isolation of abnormal fluctuations.
[0069] S3: For each registered specification segment, based on the specification contact word, user cutting length, feed axis calibration parameters, and rigid assembly relationship between the detection station and the clamping station, construct an indivisible parameter package containing feed count, clamping termination receipt object, tool separation receipt object, and source hash value, and update it.
[0070] For a single, stable specification material segment whose boundary has been confirmed, the controller constructs an integrated, indivisible cutting parameter package. This parameter package centrally carries the single cutting feeding stroke parameters adapted to the current material specification, the clamping mechanism stop positioning parameters, the tool cutting position positioning parameters, and the source verification information of all fields. After the parameter package is fully encapsulated, it can only be called and rebuilt as a whole. Individual modification or replacement of internal parameters is prohibited. The consistency and integrity of the source of the entire cutting control parameters are ensured by overall hash verification.
[0071] The controller retrieves the finished product cutting length dimension set in the upper-level production order, with the dimension measured in millimeters; at the same time, it retrieves the factory calibration data of the feeding shaft to obtain the material feed length corresponding to each additional code count of the feeding shaft, with the measurement unit being millimeters per count.
[0072] The feeding axis relies on discrete code counting to complete stroke positioning control. The controller obtains the total code count value of the feeding axis required for a single cutting operation by dividing the total length of the finished product being cut by the single code feed length. This count value is a dimensionless integer positioning parameter and is directly used for closed-loop control of the feeding stroke.
[0073] The controller performs an integer validity check on the converted feeding code value: if the finished product cutting length cannot be divided by the single code feed length, the conversion result is a non-integer, which means that the cutting length set in the order cannot be accurately positioned at the discrete code point of the feeding axis, and the continuous feeding operation will result in cumulative cutting length error.
[0074] Only when the converted single-cut feeding code is an integer is the feeding stroke parameter deemed valid and effective, and the clamping mechanism positioning parameter conversion process begins.
[0075] The clamping termination position of the material at the front and rear clamping stations is directly determined by the actual outer contour size of the material's cross-section. The material's cross-sectional contour size has been collected and stored by the coordinate acquisition of the four sets of contact fingers at the detection station.
[0076] The inspection station and the front and rear clamping stations are rigidly fixed installation structures. Their spatial positions and coordinate mapping relationships are fixed and recorded during the factory calibration of the equipment through rigid assembly transformation relationships. The rigid assembly transformation relationships include coordinate origin offset, axial direction correction coefficient, and size scaling correction coefficient, which fully realizes the conversion of the contact coordinates of the inspection station to the coding and counting coordinate system of the clamping mechanism. The calibration version of the rigid assembly transformation relationships is bound to the whole machine assembly calibration file and stored.
[0077] The specific calculation relationship of rigid assembly transformation is as follows: the clamping termination code is equal to the detection contact code multiplied by the size scaling correction factor, then the coordinate origin offset is added, and then multiplied by the axial direction correction factor; the axial direction correction factor is 1 or -1, determined according to whether the coordinate axes of the detection station and the clamping station are in the same or opposite directions; the size scaling correction factor is calibrated according to the resolution ratio of the encoder of the contact finger of the detection station and the encoder of the clamping mechanism, and the value range is 0.5 to 2; the coordinate origin offset is calibrated according to the mechanical installation zero point deviation of the detection station and the clamping station, and the value range is determined by the equipment structural dimensions.
[0078] The controller directly reads the registered specification boundary records, extracts the left contact specified position code, right contact specified position code, lower contact specified position code, and upper contact specified position code of the material of that specification at the detection station, substitutes all four sets of detection coordinates into the rigid assembly transformation relationship to complete the coordinate mapping calculation, and obtains the left clamping termination code, right clamping termination code, lower clamping termination code, and upper clamping termination code of the adapted clamping mechanism coordinate system.
[0079] The core function of the aforementioned coordinate mapping is to convert the actual outer contour dimensions of the material measured at the inspection station into a stop feed positioning code that can be directly used by the clamping mechanism.
[0080] The clamping mechanism drive unit and position feedback unit all rely on discrete code counting to achieve point positioning. Therefore, all four sets of clamping termination mapping codes must be integer values in order to achieve precise stopping and clamping of the clamping mechanism.
[0081] The controller verifies the four sets of clamping and positioning code values one by one: if any set of mapping codes is not an integer, the clamping mechanism cannot accurately reach the theoretical clamping position, which will cause defects such as excessive clamping and material damage, and excessive clamping and material slippage and deviation. The controller directly terminates the construction of the parameter package for the current specification segment and records the abnormal coordinate items, rigid assembly transformation calibration version, and the complete set of original detection contact coordinate information in the system log.
[0082] When all four sets of clamping mapping codes are valid integers, the controller locks the four sets of codes as clamping termination receipt objects within the parameter package. When the clamping mechanism performs clamping action, it stops feeding directly when it reaches the corresponding code point, thus completing the centering and clamping of the material.
[0083] The parameter package includes a tool separation receipt object, which records the positioning code of when the tool completely cuts off the material during the first cutting operation of the current specification material. This code serves as the tool stop feed reference for subsequent batch cutting of the same specification.
[0084] When performing a cutting operation for the first time using the current parameter package, the controller drives the cutter to feed towards the material's cross-section for cutting, while simultaneously and continuously reading signals from the material continuity detection sensors located on both sides of the cutter. These sensors can be either photoelectric material detection switches or mechanical touch detection switches. The core logic of the sensors is to identify the state transition where a single continuous material is divided into two independent segments.
[0085] During the cutting process, once the material continuity sensors on both the left and right sides simultaneously return a signal that the material has been completely cut off, the controller immediately latches the encoded value output by the current tool position encoder, forming a tool separation receipt object. The unit of measurement for this parameter is the tool encoder count value, which is dimensionless.
[0086] If the cutter reaches its mechanical limit and the sensors on both sides still fail to detect material cutting, the cutting operation is deemed a failure, and a valid cutter separation receipt cannot be generated. The current parameter package is considered incomplete cached data due to missing core cutting positioning parameters and cannot be activated as a directly callable operating parameter package for the entire machine.
[0087] The tool separation receipt object is only collected and generated once when the material of the current specification is successfully cut for the first time. Subsequent repeated cutting operations of the same specification can directly reuse the locked tool separation receipt object without repeating the trial cutting calibration.
[0088] After all feeding parameters, clamping and positioning parameters, and tool cutting and positioning parameters have been collected and solidified, the controller performs a hash value calculation to ensure the integrity of the entire set of parameters. The hash algorithm type and the order of concatenation of key fields are clearly specified in the equipment control contract. The baseline algorithm is the SHA-256 hash algorithm, which can be flexibly replaced and adjusted according to the verification security level during the implementation phase.
[0089] The controller concatenates all the following verification fields in a fixed order: the specification contact word binary feature of the current specification material, the total code count of a single cutting and feeding, the calibration version of the rigid assembly transformation relationship, the code of the four sets of clamping termination receipt objects, the code of the tool separation receipt object, the calibration version of the feeding axis, and the unique identifier of the boundary record corresponding to the current specification.
[0090] The concatenated character data stream is input into a preset hash algorithm to generate a parameter source hash value of fixed byte length. This hash value is a dimensionless verification feature code used for subsequent parameter packet tampering verification and version consistency verification.
[0091] The controller integrates and encapsulates specification feature fields, feeding control parameters, clamping and positioning parameters, tool positioning parameters, all calibration version information, boundary identifiers, and parameter source hash values into a single, indivisible cutting parameter package. At the same time, it assigns a globally unique parameter package identifier to this parameter package, and the entire machine cutting control system retrieves and calls the entire set of cutting parameters through this unique identifier.
[0092] Once the parameter package is fully fixed, if any of the basic parameters within it changes—including changes to the cutting feed code due to recalibration of the feed axis, updates to the clamping assembly calibration file, recalibration of the cutting position after tool structure repair, or changes to the boundary record due to adjustments in the overall machine calibration—the controller must recalculate, re-collect, and re-recalculate the overall hash value of all parameters to generate a completely new version of the parameter package. Strictly prohibiting any unauthorized modification of a single internal parameter based on the original parameter package or the reuse of the original hash verification value is strictly forbidden, and parameter configuration errors must be prevented.
[0093] For scenarios where new specifications of materials have not yet been cut for the first time and there is no valid tool separation receipt, the controller will perform splicing calculations on the already verified feeding parameters, clamping and positioning parameters, calibration version, and boundary markers to generate a semi-finished product pre-hash verification value, and store the semi-finished product parameter data and pre-hash value in the controller's preparation area cache.
[0094] The semi-finished product cache record is not eligible for whole machine cutting and calling, and there is a significant difference between the pre-set hash value and the hash value of the complete parameter package. After the first effective cutting is completed and a valid tool separation receipt object is collected, the controller immediately fills in all fields, generates the formal complete cutting parameter package and formal verification hash value according to the unified hash operation rules, and switches to the finished product parameter package that can be called normally.
[0095] After the controller completes the stable specification boundary registration, it generates the corresponding specification control file based on the parameter package construction process. If the specification has completed the first cutting calibration and collected the tool cutting positioning data, an integrated forming parameter package with a complete verification hash is generated; if the tool cutting point calibration has not been completed, a semi-finished product pending closure parameter file with a pre-verification hash is generated. Both types of parameter files are stored in a preparation storage area independently allocated by the controller.
[0096] The preparation storage area and the activity parameter package storage area used for real-time operation of the whole machine are logically isolated by memory partitions, and the data in the two areas are independent of each other.
[0097] The new specification boundary is only identified and confirmed at the inspection station. The new specification material has not yet been conveyed to the clamping station and the cutting station. The clamping mechanism and the area below the cutting tool are still the packing of the previous old specification. If the equipment operating parameters are directly switched to the new specification parameters in the preparation area, a mismatch between the control parameters and the actual material specifications will occur: changes to the cutting feed parameters will directly cause the cutting length of the old material to exceed the tolerance; clamping limit points calculated based on the new specification contour will be used to clamp the old material, which will cause material slippage or crushing damage. Based on the above operational risks, the controller maintains the current active parameter package as the old specification forming parameter package.
[0098] All feed cycles, clamping actions, and cutting actions of the equipment utilize the cutting feed count values, clamping limit codes, and cutting stop points from the old specification parameter package for closed-loop control. The feed axis controls the stroke based on the total count of a single cut, the clamping mechanism uses limit codes for positioning closed loop, and the cutting tool uses a predetermined cutting point as the termination condition for cutting. All new specification parameter files in the preparation area are only used for static data storage and do not participate in equipment motion control calculations or action command output.
[0099] When the preparation area contains multiple parameter files with different specification boundaries, the controller sorts them in ascending order based on the initial detection feeding code values of each specification boundary. The system operates according to the material conveying sequence logic. The active parameter package is fixed to match the oldest specification material that was detected first and has not yet completed all cutting and processing. Subsequent additions of specification parameter files are prohibited from skipping ahead or overwriting previous timing parameter records.
[0100] The new specification-matching cutting control parameters are verified and archived in advance and stored in the preparation cache area. The whole machine cutting system continues to rely on the original parameters to complete the stable cutting operation of the old specification packing in the tool station. This realizes the advance preparation of specification boundaries and the seamless switching of parameters, avoiding processing defects caused by cross-specification parameter mismatch.
[0101] S4: Store the new specification parameter package in the preparation area cache, and continue to use the old parameter package to control the current material for cutting and processing; after the specification boundary passes through the front clamp, rear clamp, and tool station in sequence, and the clamping identification specification matches, the tool is effectively separated, and the parameter package hash verification is passed, the device running parameter package is switched atomically.
[0102] After the parameter package record corresponding to the new specification boundary is cached in the preparation storage area, the controller will compare the real-time feeding code count value with the three sets of station arrival count values corresponding to the earliest specification boundary that has not been submitted in the preparation area after each coding step action of the feeding axis. The three sets of station arrival count values are the front clamping surface arrival code, the rear clamping surface arrival code, and the tool cutting plane arrival code, which are used to determine the material movement position at the boundary between the old and new specifications in real time.
[0103] When the real-time feeding code count value first equals the code indicating that the front clamping surface has reached the correct size, it means that the boundary between the old and new packing specifications has completely passed the front clamping station as the feeding progresses. At this point, the material segment clamped by the front clamping station switches to the new specification material. To verify whether the current clamping station material specification matches the new specification, the controller reads the clamping termination receipt object from the new specification parameter package in the preparation area as the positioning basis for this trial clamping action. This reading is only used for specification matching verification and does not change the current active parameter package identifier. The equipment feeding count and tool cutting parameters still use the old specification active parameter package.
[0104] The controller drives the lateral and longitudinal clamps of the front clamping station to feed towards the outer contour of the packing. Once the clamps contact the material and generate a valid mechanical displacement signal, the real-time position code of each clamp is immediately frozen. Using the same span calculation method and numerical rearrangement rules as the detection station, the controller generates the corresponding specification contact character based on the four sets of contact coordinates collected at the current clamping position. The controller compares this real-time generated specification contact character with the new standard specification contact character component by component. If the two components are completely identical, the specification recognition at the front clamping station is deemed valid; otherwise, the recognition is deemed invalid, and the current feeding code and abnormal specification parameters are recorded in the system log.
[0105] When the real-time feeding code count value reaches the rear clamping surface and is encoded, the rear clamping station adopts the same clamping positioning, coordinate acquisition, specification contact character generation and item-by-item comparison process as the front clamping station. After completion, the specification validity of the clamping station is verified and the verification result is recorded.
[0106] When the real-time feeding code count reaches the tool plane and is coded, the boundary between the old and new specifications aligns perfectly with the tool cutting plane. The area below the tool is completely separated from the old specification material, exposing the front section of the new specification material for the first time, and the new specification material has not yet undergone cutting. If the new specification parameter package in the preparation area is a semi-finished product parameter package without a valid tool separation receipt, the controller will actively trigger a transitional separation cutting action. This cutting is only used to mark the tool cutting position of the new specification material and is not counted in the finished product cutting count.
[0107] The controller drives the cutter to feed normally, simultaneously and continuously collecting material continuity sensor signals from both sides of the cutter. When both sides of the sensor signals simultaneously switch from a continuous material state to a disconnected material state, the time difference between the switching of the two side sensor signals does not exceed twice the single coding cycle of the feed shaft, and is set according to the feeding speed and sensor response time; the photoelectric switch detection distance is set to 5mm~20mm, adjusted according to the installation space on both sides of the cutter; the mechanical touch switch trigger stroke is set to 0.5mm~2mm, based on the cutter feed speed. Once it is determined that the packing has been completely cut and the single continuous material has been divided into two independent material segments, the controller immediately freezes the current cutter coding position and generates a cutter separation receipt object corresponding to this transitional cutting.
[0108] The controller verifies the completeness of the current new specification parameter package: If the parameter package did not previously store a valid tool separation receipt object, the receipt object generated by this transition trimming will be added to the parameter package, and the integrity hash verification value of the parameter package will be recalculated and updated based on all the supplemented source parameters; If the parameter package already contains a valid tool separation receipt object, the original receipt data will be retained without replacement, and an exception log will be recorded only when the receipt value obtained in this trimming is inconsistent with the original value for equipment operation and maintenance traceability.
[0109] After the transition separation and cutting are completed, and the real-time feeding code count value exceeds the tool plane and reaches the code, the controller synchronously verifies four necessary switching conditions. All four conditions must be met simultaneously for parameter switching to be executed: First, the real-time feeding code position has exceeded the boundary code position corresponding to the tool cutting plane; Second, the real-time specification identification results of both the front clamping station and the rear clamping station are valid and consistent with the new specification; Third, the tool separation receipt object in the parameter package is complete and valid, and the material cutting sensor receipt is authentic and reliable; Fourth, based on all the original source fields of the parameter package, the real-time hash value is recalculated according to the equipment's preset field splicing order and hash algorithm. The real-time hash value is completely consistent with the standard hash value fixed inside the parameter package, proving that all source data in the parameter package has not been tampered with or changed.
[0110] When all four conditions are verified, the controller completes the atomic parameter package switch within a single, uninterruptible control cycle, changing the active parameter package identifier of the equipment operation from the old specification parameter package to the new specification parameter package. The atomic switch is achieved through a single write to the active parameter package identifier register. The active parameter package identifier is a single integer variable, and the write operation is a single-cycle, uninterruptible instruction. Before the switch, the new specification parameter package is fully loaded into the active parameter package mirror area; during the switch, only the identifier pointer is modified. If an abnormal reset occurs during the switch, the system restarts and reads the previously valid active parameter package identifier stored in the non-volatile memory to resume operation, without any partial switch. After the switch is completed, the equipment's feeding control, clamping and positioning control, and tool cutting and separation determination all synchronously use the corresponding parameters in the new specification parameter package, achieving adaptive switching of specifications across the entire process.
[0111] If any of the four verification conditions are not met, the controller will prohibit the parameter package switching action, continuously maintain the old specification parameter package as the active operating parameter, immediately stop the feed axis step feed, record the current feed code, boundary start code and specific failure condition code, and solidify them into an unalterable system event log to achieve accurate fault tracing.
[0112] For multiple specification boundary parameter package records cached in the preparation storage area, the controller strictly follows the timing scheduling rules, processing each specification boundary in ascending order of the first detected feeding code count value. Only after the current highest priority specification boundary has completed all verifications and successfully switched parameter packages can subsequent specification boundaries enter the boundary tracking and condition verification process.
[0113] The subsequent specification parameter packages that have not yet been processed are only statically cached in the preparation area. The controller will not call its clamping parameters in advance to perform clamping actions, nor will it trigger the transition clipping calibration in advance. This completely eliminates the problems of subsequent specification boundary coverage, queueing, and interference with the switching process of previous specifications, ensuring that the timing of the multi-specification continuous clipping process is orderly and the parameter switching is accurate and reliable.
[0114] S5: For multiple specification boundaries, the feeding code count is used to process the material in ascending order based on the first detection of the boundary. The parameter switching judgment process of the subsequent specification boundary must not cover or over-trigger the previous specification boundary, and the adaptive switching control of the packing cutting process parameters is completed in segments.
[0115] During continuous feeding operations, the equipment can sequentially identify multiple segments of packing material of different materials and specifications, and generate multiple immutable specification boundaries accordingly. Each boundary is matched with a corresponding parameter package, which is recorded and cached in the preparation storage area. Since the feed shaft code count value increases unidirectionally with material conveying, the initial detection code value corresponding to each immutable boundary can directly represent the physical position of the corresponding specification material on the feeding path. Among them, the smaller the initial detection code value, the earlier the corresponding material end face passes the detection station, and the earlier it will arrive at the subsequent front clamping station, rear clamping station, and tool cutting station.
[0116] Based on the aforementioned material conveying timing characteristics, the controller constructs and maintains an ordered list of boundaries within the preparation storage area to achieve orderly scheduling management of boundaries of various specifications. Each time a new immutable boundary is registered, the controller uses the boundary's initial detection code value as the sorting basis, compares it with the initial detection code values of existing boundaries in the list, and inserts the new boundary record into the corresponding position in the list according to the ascending numerical order. The storage content and position of all existing records are preserved throughout the process, preventing data overwriting or modification.
[0117] Each record in the ordered list of boundaries contains at least a unique boundary identifier, a boundary first detection code value, and an index reference corresponding to the boundary parameter package record. The parameter packages cover two types: complete closed parameter packages and semi-finished parameter packages to be closed.
[0118] The controller configures a unique active submission pointer for the boundary-ordered list. This pointer always locks onto the header record with the smallest initial detection code value within the list, serving as the only valid boundary currently allowed for verification and submission. The equipment only performs operational condition determination for the header record pointed to by the pointer: it retrieves the arrival codes for the front clamping station, the rear clamping station, and the tool cutting station corresponding to that boundary, compares them in real time with the equipment's current feeding code value, and continuously verifies whether all switching submission conditions of that boundary parameter package have been met.
[0119] For all subsequent boundary records in the list except the header, the system uniformly locks them into a standby state. The controller will not call its internal clamping termination receipt object to participate in the clamping mechanism control calculation, will not calculate its workstation arrival offset, and will not trigger the corresponding transition separation and cutting calibration action, completely prohibiting the subsequent boundary from participating in the equipment control logic in advance and avoiding the risk of out-of-order intervention.
[0120] When the header record pointed to by the active submission pointer meets all submission conditions, after the device completes the atomic switching operation identified by the active parameter package, the controller removes the boundary record that has been switched from the ordered list, and at the same time automatically advances the active submission pointer to the next record in the list, so that the record is updated as a new valid header record.
[0121] For the new header records, the controller reuses the material propagation tracking and condition verification logic of a single boundary, restarts the entire monitoring process including workstation location comparison, specification matching verification, cutting receipt verification, hash consistency verification, and conducts a new round of parameter package submission judgment work, continuing the orderly scheduling rules throughout the process.
[0122] If the record pointed to by the current pointer fails to meet all submission conditions within the device's allowed operating cycle—for example, if the tool station detects an abnormal material end signal, the clamping station's real-time specification identification does not match the new specification, or a valid tool separation receipt cannot be obtained—the controller determines that the boundary submission has failed. The system marks the boundary as unsubmitted, writes the boundary's initial detection code value and specific failure condition code to the immutable system event log, and then removes the failure record from the ordered list. The active submission pointer then advances to the next boundary record.
[0123] For failed submission boundaries, the system will no longer use the old specification parameter package to fill in the gaps. The failure status of this boundary will only be recorded in the log backtracking and will not interfere with or block the normal queuing and submission process of all subsequent boundary records. At the same time, the pointer progression of the ordered list and the record removal operation will not tamper with the fixed log events. Staff can rely on the boundary position information and fault codes recorded in the log to accurately trace and locate the cause of the boundary failure.
[0124] Through the aforementioned scheduling mechanism of sequential queuing, pointer locking, step-by-step progression, and fault isolation, the parameter package switching action of multi-specification boundaries is strictly limited to be executed sequentially according to the physical delivery sequence of materials. The subsequent boundary can only start the verification process after the previous boundary has successfully switched or clearly failed to submit. This mechanism eliminates the problems of data overwriting, out-of-order triggering, and disordered switching of multi-specification parameter packages, ensuring the stability and accuracy of continuous multi-specification packing cutting operations.
[0125] This invention also provides a parameter adaptive switching control system for intelligent cutting of multi-specification packing. For example... Figure 2 As shown, the system includes a processor and a memory. The memory stores computer program instructions, which, when executed by the processor, implement the parameter adaptive switching control method for intelligent cutting of multi-specification packing roots according to the first aspect of the present invention. The system also includes other components well known to those skilled in the art, such as a communication bus and a communication interface. Their configuration and functions are known in the art and will not be described further here.
[0126] It should be noted that those skilled in the art can make various modifications and improvements without departing from the inventive concept, and these all fall within the scope of protection of this invention. Therefore, the scope of protection of this patent should be determined by the appended claims.
Claims
1. A parameter adaptive switching control method for intelligent cutting of multi-specification packing, characterized in that, The methods include: At the detection station of the feeding path, the horizontal and vertical contact coordinates of the packing are obtained through four mechanical contact fingers. The position record is formed by combining the feeding code count. The horizontal span and vertical span are sorted according to the numerical value to generate a specification contact character that is not affected by the material placement posture. Based on the assembly distance from the inspection station to each clamping station and the tool cutting station and the calibration coefficient of the feeding shaft, the coding positioning specification boundary is converted; the travel from the inspection station to the tool station is used as the verification interval. When the contact word of the packing feed specification remains consistent throughout the entire process, the specification boundary is registered as an immutable specification boundary. For each registered specification segment, based on the specification contact word, user cutting length, feed shaft calibration parameters, and rigid assembly relationship between the detection station and the clamping station, an indivisible parameter package containing feed count, clamping termination receipt object, tool separation receipt object, and source hash value is constructed and updated. The new specification parameter package is stored in the preparation area cache, and the cutting and processing continue to use the old parameter package to control the current material; after the specification boundary passes through the front clamp, rear clamp, and tool station in sequence, and the clamping identification specification matches, the tool is effectively separated, and the parameter package hash verification is passed, the device running parameter package is switched atomically. For multiple specification boundaries, the feeding code count is used to process the material in ascending order based on the first detection of the boundary. The parameter switching judgment process is such that subsequent specification boundaries must not cover or trigger the previous specification boundary. The adaptive switching control of packing cutting process parameters is completed in segments.
2. The parameter adaptive switching control method for intelligent cutting of multi-specification packing as described in claim 1, characterized in that, The location record is obtained in the following way: When the packing is stopped at the inspection station, the four mechanical contact fingers are controlled to feed into the outer contour of the packing. When any contact finger touches the mechanical switching signal, the corresponding contact position code is immediately frozen. The position record is generated by combining the four sets of contact position codes and the current feeding code count only when all four sets of contact position codes are completely collected within a single stop cycle. If any set of contact position codes is missing, the calculation of the cross-sectional dimensions and specification contact words will fail, and the current sampling will be discarded, thus no valid specification contact words will be generated.
3. The parameter adaptive switching control method for intelligent cutting of multi-specification packing as described in claim 1, characterized in that, The generation of standardized contact letters unaffected by the material placement orientation includes: The difference between the contact coordinates of the two contact fingers arranged laterally along the packing is taken as the lateral span, and the difference between the contact coordinates of the two contact fingers arranged longitudinally along the packing is taken as the longitudinal span. Compare the values of the horizontal span and the vertical span, select the smaller one as the first component of the standard contact character, and the larger one as the second component, forming an ordered binary tuple as the standard contact character. In determining whether two contact characters of different specifications are the same, the two components must be equal respectively.
4. The parameter adaptive switching control method for intelligent cutting of multi-specification packing as described in claim 1, characterized in that, The specification boundaries are obtained as follows: Determine the feeding length corresponding to each code count of the feeding shaft based on the feeding shaft calibration results; The assembly distance from the inspection station to the cutting plane of the tool is divided by the feeding length corresponding to each coded count of the feeding axis to obtain the tool boundary conversion count. When the tool boundary conversion count cannot be accurately represented by the discrete integer value of the feeding axis, the current boundary is marked as an unresolved boundary. The maximum value among the assembly distances from the inspection station to the front clamping surface, the rear clamping surface, and the tool cutting plane is selected as the specification confirmation span; Starting from the feeding code count when the new specification contact character first appears, the feeding stroke of subsequent continuous contact records completely covers the specification confirmation span, and the position corresponding to the first detected feeding code is recorded as the specification boundary.
5. The parameter adaptive switching control method for intelligent cutting of multi-specification packing as described in claim 4, characterized in that, Registering specification boundaries as immutable specification boundaries includes: In a continuous contact record that starts from the first appearance of the new specification contact word and covers the specification confirmation span, if the two components of the specification contact word remain equal item by item and no different specification contact words appear in the middle, then the specification boundary is registered as an immutable boundary. If the specification contact word changes during the period covering the specified specification confirmation span, the material segment corresponding to the period is recorded as the specification unresolved segment, the current specification boundary is discarded, the immutable specification boundary registration is not performed, and the cutting system continues to operate with the control parameters of the previous specification.
6. The parameter adaptive switching control method for intelligent cutting of multi-specification packing as described in claim 1, characterized in that, The steps for obtaining the indivisible parameter packet include: Process parameter verification is carried out within a single material segment of the same specification defined by an invariable specification boundary. The ratio of the set cutting length to the single pulse feeding length calibrated by the feeding shaft is used as the single piece feeding code count. When the single piece feeding code count is not an integer, the length positioning cannot be accurately achieved by using the discrete pulse points of the feeding shaft. In this case, the length of the current batch is marked as invalid and the parameter package generation is terminated. Based on the rigid assembly relationship between the detection station and the clamping station, a rigid assembly transformation from the detection contact coordinate to the counting domain of the clamping mechanism is established. The detection contact coordinate is mapped to the termination receipt object of the clamping mechanism through the rigid assembly transformation. When any mapping result cannot fall precisely into the discrete counting domain of the corresponding clamping mechanism, the parameter package is not generated. When the tool performs the first effective cut of the corresponding specification segment, the material continuity receipt on both sides of the tool is obtained. When the material continuity receipt indicates that the material has changed from the same continuous segment to two independent segments, the current tool coding position is frozen as the tool separation receipt object. If the tool reaches the mechanical stroke boundary and the material continuity receipt is not obtained, the cut fails and the tool separation receipt object is not generated. After the above verification process is successfully completed, the single-piece feeding code count, clamping mechanism termination receipt object, and tool separation receipt object are integrated and packaged to obtain an indivisible parameter package.
7. The parameter adaptive switching control method for intelligent cutting of multi-specification packing as described in claim 1, characterized in that, The update logic for the indivisible parameter package is as follows: The non-separable parameter package adopts an overall encapsulation structure, and independent modification of a single parameter within the package is not allowed. When any of the source parameters such as specification contact words, user cutting length, feeding shaft calibration parameters, or rigid assembly relationship between the inspection station and the clamping station are changed, the original non-separable parameter package is directly invalidated, and parameter calculation and overall encapsulation are re-completed to generate a new non-separable parameter package.
8. The parameter adaptive switching control method for intelligent cutting of multi-specification packing as described in claim 7, characterized in that, The switching steps of the atomic switching device operating parameter package include: Conduct online parameter switching criterion verification, and the verification must simultaneously meet four prerequisite conditions: First, the feed code count corresponding to the specification boundary has already exceeded the position of the tool cutting plane; Second, the specification contact words detected by the front clamping station and the rear clamping station in each clamping station are consistent with the specification contact words bound to the new parameter package in the preparation area. Third, the tool has generated a valid tool separation receipt object; Fourth, retrieve all original source fields of the new parameter package in the preparation area and calculate the verification hash in real time. The real-time hash value is completely matched with the source hash value that is solidified and sealed inside the new parameter package. When all four conditions are met simultaneously, a one-time atomic switch is performed on the active parameter package identifier of the equipment operation, directly switching from the original old parameter package to the new parameter package in the preparation area. The feeding count, clamping termination receipt object, and tool separation receipt object all take effect and are called synchronously with the active parameter package identifier. When any one of the four conditions is not met, the current active parameter package identifier is maintained without change, the material feeding action is immediately suspended, and the unmet verification condition and the feeding code count corresponding to the time of the fault are recorded.
9. The parameter adaptive switching control method for intelligent cutting of multi-specification packing as described in claim 1, characterized in that, The adaptive switching control of the segmented packing cutting process parameters includes: For each specification boundary registered as an immutable boundary, record the feeding code count at the time of the first detection; based on the ascending order of the feeding code count value, establish an ordered scheduling queue for all specification boundaries; only after the upstream specification boundary completes the activity parameter package identifier switching action will the parameter switching verification and submission of the downstream specification boundary be triggered; when the upstream specification boundary parameter switching is not completed, all downstream specification boundaries maintain a pre-prepared cache state, and the downstream parameter package data is prohibited from rewriting the cache configuration data of the upstream boundary and from preemptively executing parameter judgment.
10. A parameter adaptive switching control system for intelligent cutting of multi-specification packing, characterized in that, include: A processor and a memory, wherein the memory stores computer program instructions that, when executed by the processor, implement the parameter adaptive switching control method for intelligent cutting of multi-specification packing as described in any one of claims 1-9.
