Slicer control method and system for efficient slicing
Obtain slice thickness data through intelligent sensors, analyze the cutting deviation coefficient and extended cutting gradient, dynamically update the fuzzy subset, optimize the PID controller, solve the problem of uneven thickness of beef slices caused by traditional fuzzy PID control, and achieve the goal of slicing Precise control of machine power and uniform thickness effect.
Patent Information
- Application Number
- CN202410831744.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-06-26
AI Technical Summary
The traditional fuzzy PID control algorithm causes uneven slice thickness due to the nonlinear relationship between power and thickness during the beef slicing process, and the fixed fuzzy subset cannot effectively match the interference factors in the slicing process, resulting in control overshoot and slow convergence.
An intelligent thickness sensor is used for slice thickness measurement and analysis, the fuzzification factor is obtained through the cutting deviation coefficient and the extended cutting gradient, the fuzzification subset is dynamically updated, and the PID controller is optimized to accurately control the microtome power.
It achieves the uniformity of slice thickness, avoids the problems of overshoot and slow convergence in traditional fuzzy PID control, and ensures precise control of slicer power.
Smart Images

Figure CN118700239A
Abstract
Description
Technical Field
[0001] The present application relates to the field of slicer control technology, and in particular to a slicer control method and system for efficient slicing. Background Art
[0002] In the process of food processing, it is often necessary to use a slicer to cut ingredients into slices of uniform thickness. The thickness and uniformity of the slices will affect the taste and appearance of the dish. The food slicing process is usually completed by a slicer, and the thickness of the food slices can be adjusted by controlling the power of the slicer. Since the fuzzy PID control algorithm has the advantages of strong adaptability, good robustness and high control accuracy, this scheme uses the fuzzy PID control algorithm for slicer power control.
[0003] This solution is mainly aimed at slicing meat products. Take beef as an example. In order to facilitate cutting, the beef is first frozen and then cut by a slicer. However, in the actual slicing process, due to the different parts of the beef and the different freezing conditions, the slice thickness is not linearly related to the slicer power. In the traditional fuzzy PID control algorithm, the fuzzification operation is performed through a fixed fuzzification subset, which cannot well match the highly nonlinear characteristics of power and thickness in the slicing process, resulting in the disadvantages of overshoot and slow convergence speed of power control, resulting in uneven slice thickness. Summary of the invention
[0004] In order to solve the above technical problems, the present application provides a method and system for controlling a slicer for efficient slicing, and the technical solutions adopted are as follows:
[0005] In a first aspect, an embodiment of the present application provides a method for controlling a slicer for efficient slicing, the method comprising the following steps:
[0006] 1) An intelligent thickness sensor is deployed just above the discharging end of the slicer to measure the thickness of the slice at the discharging end. The intelligent thickness sensor is used to perform point-line scanning in the vertical direction between the object slice and the conveying direction. The slice is scanned at several scanning points in the vertical direction at equal intervals based on the slice centerline. The scanning points are numbered from top to bottom to obtain the thickness of each scanning point at each sampling moment.
[0007] 2) The output end of the intelligent thickness sensor is connected to the input end of the A / D conversion module, and the output end of the A / D conversion module is connected to the input end of the PID controller; the slicer control system analyzes the thickness data collected from the intelligent thickness sensor, uses the analysis results to optimize the PID controller, and controls the power of the slicer;
[0008] The steps to analyze the collected thickness data and optimize the PID controller are as follows:
[0009] A1, forward fusion is performed on the deviation between the thickness of all scanning points at each sampling moment obtained in step 1) and the preset target thickness, as well as the distribution similarity of the thickness of the scanning points on both sides of the slice, to obtain the cutting deviation coefficient at each sampling moment;
[0010] A2, forming a sequence of the thickness at the sampling moment of each scanning point obtained in step 1) and the thickness at the previous several adjacent sampling moments, and determining the extension cutting gradient at each sampling moment based on the distribution difference between the sequences composed of all scanning points at each sampling moment;
[0011] A3, forward fusion of the cutting deviation coefficient obtained in step A1) and the extended cutting gradient obtained in step A2) to obtain a fuzzification factor at each sampling moment;
[0012] A4, using the fuzzy factor obtained in step A3) to update the fuzzy subset at each sampling time, and optimize the PID controller.
[0013] Preferably, the slice centerline is a straight line perpendicular to the discharge port and located at the center of the slice.
[0014] Preferably, the process of obtaining the cutting deviation coefficient at each sampling moment includes:
[0015] Determine the thickness deviation weight at each sampling moment based on the deviation between the thickness of all scanning points at each sampling moment and the preset target thickness;
[0016] Based on the distribution similarity of the thickness of the scanning points on both sides of the slice, the central extension coefficient at each sampling moment is determined;
[0017] The thickness deviation weight at each sampling moment is forward fused with the center epitaxial coefficient to obtain the cutting deviation coefficient at each sampling moment.
[0018] Preferably, the method for determining the thickness deviation weight at each sampling moment includes:
[0019] Calculate the difference between the mean thickness of all scanning points at each sampling moment and the preset target thickness;
[0020] Calculate the fluctuation of the deviation between the thickness of all scanning points and the thickness mean at each sampling moment;
[0021] The fluctuation situation and the difference are forwardly fused to obtain the thickness deviation weight at each sampling moment.
[0022] Preferably, the method for determining the central extension coefficient at each sampling moment includes:
[0023] Calculate the deviation between the thickness of each scanning point at each sampling moment and the mean thickness of all scanning points, construct a deviation sequence, and calculate the range of the deviation sequence;
[0024] The deviation sequence is divided into two segments according to the scanning point where the slice center line is located at each sampling moment, and the similarity between the two sequences is calculated;
[0025] The range and the similarity are forwardly fused to obtain the central extension coefficient at each sampling moment.
[0026] Preferably, the method for determining the extension cutting gradient at each sampling moment comprises:
[0027] Based on the difference between the maximum value in the sequence and the mean value of the sequence, the determination coefficient of the connection at the scanning point of the sequence is determined;
[0028] Clustering is performed based on the distribution differences of the association determination coefficients of all scanning points at each sampling moment to determine the association interference clusters;
[0029] Calculate the ratio of the number of scanning points in the connection interference cluster to the number of all scanning points; calculate the extreme value of the connection determination coefficient of all scanning points;
[0030] The ratio is forwardly merged with the extreme value to determine the extension cutting gradient.
[0031] Preferably, the method for determining the connection interference cluster includes: clustering the connection determination coefficients of all scanning points at each sampling moment to obtain a plurality of clusters; and recording the cluster with the largest mean of the connection determination coefficient as the connection interference cluster.
[0032] Preferably, the method for obtaining the fuzzy factor at each sampling moment is: calculating the product value of the cutting deviation coefficient and the extended cutting gradient at each sampling moment, normalizing the product value and multiplying it by a preset scaling factor to obtain the fuzzy factor at each sampling moment.
[0033] Preferably, the specific process of updating the fuzzy subset at each sampling moment includes:
[0034] Set the initialization domain of the fuzzy PID control algorithm to obtain the fuzzified subset;
[0035] The fuzzification factor at each sampling moment is multiplied by each element in the fuzzification subset to obtain an updated real-time adjusted fuzzification subset.
[0036] In a second aspect, an embodiment of the present application further provides a slicer control system for efficient slicing, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of any one of the above-mentioned methods when executing the computer program.
[0037] This application has at least the following beneficial effects:
[0038] The present application realizes a control method for efficient slicing of a slicer. Compared with the existing technology that performs fuzzy operation through a fixed fuzzy subset, it cannot well match the highly nonlinear characteristics of power and thickness in the slicing process, resulting in the disadvantages of easy overshoot and slow convergence speed of power control, resulting in uneven slice thickness. The present application uses an intelligent sensor to obtain the slice thickness in the slicing process, and obtains a cutting deviation coefficient by analyzing the thickness data changes of all scanning points of the slice at a single sampling moment, reflecting the degree of influence of the central freezing effect formed by uneven heat transfer on the meat product at the current sampling moment; by forming a sequence of thickness data at the sampling moment where all scanning points are located and several adjacent sampling moments before, an extended cutting gradient is obtained by analyzing the sequence, reflecting the degree of connective tissue in the meat; by analyzing the connective determination coefficient of the sequence of all sampling points at each sampling moment, it is used to reflect the interference of connective tissue on the slice thickness; by combining the cutting deviation coefficient and the extended cutting gradient, the fuzzy factor of each sampling moment is further obtained to evaluate the influence of the central freezing effect and connective tissue on the slice, thereby realizing dynamic update and adjustment of the fuzzy subset, solving the problem of traditional fuzzy P The ID control algorithm only uses a fixed fuzzy subset, which cannot match the thickness fluctuation caused by interference factors in the slice. This scheme dynamically updates the fuzzy subset according to the interference phenomenon caused by the scene during slicing, avoiding the shortcomings of control overshoot and slow convergence caused by the fixed fuzzy subset, thereby ensuring precise control of the slicer power and achieving uniform thickness of the slicer slices. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0040] Figure 1 A flow chart of a microtome control method for efficient slicing provided by one embodiment of the present application;
[0041] Figure 2 A schematic diagram of a scanning structure provided for an embodiment of the present application;
[0042] Figure 3 A schematic diagram of a slicer system control flow chart provided for one embodiment of the present application;
[0043] Figure 4 A flowchart of the steps for obtaining the fuzzification factor at each sampling moment provided by one embodiment of the present application;
[0044] Figure 5 A schematic diagram of normal thickness data and central freezing effect thickness data provided for one embodiment of the present application;
[0045] Figure 6 A flowchart of a process for obtaining a cutting deviation coefficient at each sampling moment provided in one embodiment of the present application;
[0046] Figure 7 A flow chart of a process for obtaining the extension cutting gradient at each sampling moment provided for one embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the following is a detailed description of the microtome control method and system for efficient slicing proposed by the present application, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0048] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
[0049] The specific scheme of a slicer control method and system for efficient slicing provided by the present application is described in detail below with reference to the accompanying drawings.
[0050] An embodiment of the present application provides a method and system for controlling a slicer for efficient slicing.
[0051] Specifically, the following efficient slicing slicer control method is provided, please refer to Figure 1 , the method comprises the following steps:
[0052] The first step is to obtain the thickness of each scanning point at each sampling moment during the slice cutting process of the slicer.
[0053] This solution is mainly aimed at power control of CNC slicers in the meat food processing process. Therefore, an intelligent thickness sensor is deployed just above the discharging end of the slicer to measure the thickness of the slice at the discharging end and the data is accurate to mm. The intelligent thickness sensor is used to perform point-line scanning in the direction perpendicular to the food slice and the conveying direction. The slice centerline is used as the reference to scan Q scanning points in the vertical direction at equal intervals at each sampling moment. In this embodiment, the number of scanning points is set to 7, and the scanning points are numbered from top to bottom. The specific scanning method is as shown in the attached figure. Figure 2 As shown. Therefore, the thickness data of 7 scanning points of the slice are obtained at a single sampling moment. And the slicer discharges the material at a uniform speed at the discharging end, and the sampling interval is set to 50ms.
[0054] The slice centerline is a straight line that is perpendicular to the discharge port and located at the center of the slice.
[0055] In one embodiment of the present application, the scanning structure diagram is as shown in the attached Figure 2 As shown in the attached Figure 2 In the figure, 1 represents the conveyor belt, 2 represents the conveying direction, 3 represents the discharging end of the slicer, 4 represents the object slice, 5 represents the 1st scanning point, 6 represents the Qth scanning point, and 7 represents the intelligent thickness sensor.
[0056] In the second step, the influence of the central freezing effect and connective tissue on the slices is analyzed based on the thickness data to obtain the fuzzification factor at each sampling moment.
[0057] In the traditional PID control method, the P, I, and D parameters are constant and cannot be applied to the complex slicing process. Therefore, a fuzzy controller is added on the basis of PID control to realize the adaptive control of the slicer power. The specific control process of the slicer system is shown in the attached figure. Figure 3 shown.
[0058] However, in the process of slicing beef, different parts of beef result in different fiber orientation and fat content of the meat, and different freezing states affect the texture of the meat. These factors will interfere with the adjustment ability of the fuzzy PID. When a fixed fuzzy subset is used in the traditional fuzzy PID, there are problems of slow algorithm convergence speed and weak anti-interference ability, which may lead to inaccurate control of the slicer power, resulting in uneven slice thickness.
[0059] Based on this, the present application analyzes the influence of the central freezing effect and connective tissue on the slice according to the thickness data, and obtains the fuzzy factor at each sampling moment, wherein the flow chart of the steps for obtaining the fuzzy factor at each sampling moment is shown in the attached figure. Figure 4 As shown, specifically:
[0060] In the first small step, the cutting deviation coefficient at each sampling moment is obtained based on the deviation between the thickness of all scanning points at each sampling moment and the preset target thickness, as well as the distribution similarity of the thickness of the scanning points on both sides of the slice.
[0061] In the food processing process, meat products are shaped by quick freezing for easier cutting. However, due to the uneven heat transfer during the freezing process, the freezing speed of meat products gradually decreases from the inside to the outside, making the center part more frozen than the edge part, thus resulting in the center freezing effect. Due to the center freezing effect, the texture of meat products at the edge is tenderer, which is easier for the slicer to cut. The texture closer to the center is harder, which is not conducive to cutting by the slicer.
[0062] For a single sampling moment, in an ideal situation, the thickness of Q scanning points is relatively consistent, and only a small fluctuation will occur due to the influence of equipment noise during acquisition. However, if affected by the central freezing effect, the thickness fluctuation will be greater closer to the center of the slice. The schematic diagram of normal thickness data and central freezing effect thickness data is shown in the attached figure. Figure 5 shown.
[0063] In the attached Figure 5 In the figure, the horizontal coordinates of the normal thickness data (a) and the central freezing effect thickness data (b) are the scanning points, and the vertical coordinates are the thickness of the corresponding scanning points. The deviation between the thickness of each scanning point and the dotted line position of the target thickness reflects the difference between normal and central freezing effect.
[0064] Therefore, the present application uses the thickness data of Q scanning points at the current sampling moment to obtain the cutting deviation coefficient at the current sampling moment, which is specifically obtained by forward fusion of the thickness deviation weight and the center extension coefficient at the current sampling moment.
[0065] It can be understood that forward fusion is a fusion method such as addition and multiplication between data. The specific forward fusion method is determined by the implementer according to the actual situation, and this application does not impose any special restrictions.
[0066] In one embodiment of the present application, the product of the thickness deviation weight and the center extension coefficient at the current sampling moment is used as the cutting deviation coefficient at the current sampling moment. In other embodiments of the present application, the sum of the thickness deviation weight and the center extension coefficient at the current sampling moment can also be used as the cutting deviation coefficient at the current sampling moment.
[0067] Preferably, the thickness deviation weight is calculated by the deviation between the thickness of all scanning points at the current sampling moment and the preset target thickness, and is used to evaluate whether the thickness of the slice being scanned at the current sampling moment is uniform and consistent. The target thickness is obtained through the slicer parameters.
[0068] In the present application, the method for determining the thickness deviation weight is specifically as follows: calculating the fluctuation of the deviation between the thickness of the Q scanning points and the thickness mean at the current sampling moment, and calculating the difference between the thickness mean of the Q scanning points and the target thickness, and forwardly fusing the fluctuation and the difference to obtain the thickness deviation weight at the current sampling moment.
[0069] In one embodiment of the present application, the method for determining the thickness deviation weight is specifically as follows: calculating the variance of the absolute value of the difference between the thickness of the Q scanning points and the thickness mean at the current sampling moment, and calculating the absolute value of the difference between the thickness mean of the Q scanning points and the target thickness, and taking the product of the variance and the absolute value of the difference as the thickness deviation weight at the current sampling moment.
[0070] In other embodiments of the present application, the method for determining the thickness deviation weight is specifically as follows: calculating the information entropy of the difference between the thickness of the Q scanning points and the thickness mean at the current sampling moment, and calculating the absolute value of the difference between the thickness mean of the Q scanning points and the target thickness, and taking the sum of the information entropy and the absolute value of the difference as the thickness deviation weight at the current sampling moment. The calculation process of the information entropy is a well-known technique and will not be described in detail.
[0071] It should be understood that if the current sampling moment is affected by the central freezing effect, the thickness of each scanning point fluctuates greatly, so that the deviation between the thickness value of each scanning point and the mean thickness is large, and the variance value is large due to the different fluctuations. And the deviation between the mean thickness of all data points at the current sampling moment and the target thickness is large, resulting in a large thickness deviation weight value at the current sampling moment.
[0072] The center extension coefficient is obtained by the change trend characteristics of the thickness data of the scanning points on both sides of the slice at the current sampling moment due to the center freezing effect, and is used to evaluate whether the slice has a center freezing effect at the current sampling moment, so as to effectively estimate the cutting deviation coefficient at the current sampling moment. In one embodiment of the present application, the method for determining the center extension coefficient is specifically as follows:
[0073] At the current sampling moment, the deviation value between the thickness of each scanning point and the mean thickness of all scanning points is calculated, a deviation sequence is constructed, and the range of the deviation sequence is calculated; the deviation sequence is divided into two segments according to the scanning point where the center line of the slice is located at the current sampling moment, the similarity between the two sequences is calculated, and the range and the similarity are forwardly fused to obtain the center extension coefficient at the current sampling moment. Among them, this embodiment uses the Pearson correlation coefficient to calculate the similarity between the two sequences, and other embodiments of the present application can also use the negative correlation mapping of the DTW distance, cosine similarity, etc. to analyze the correlation. The calculation of the Pearson correlation coefficient, DTW distance, and cosine similarity are all well-known technologies and will not be repeated here.
[0074] In one embodiment of the present application, the product of the range and the similarity is used as the central extension coefficient of the current sampling moment. In other embodiments of the present application, the sum of the range and the similarity is used as the central extension coefficient of the current sampling moment.
[0075] It should be understood that if the current sampling moment is greatly affected by the freezing effect in the center of the meat product, the closer to the center the meat is, the harder the texture is, which makes the deviation of the thickness value greater, and the range value of the deviation sequence is larger. At the same time, the deviation sequence shows a symmetrical trend about the central scanning point, which makes the similarity value of the two sequences larger, and the central extension coefficient of the current sampling moment is obtained.
[0076] Therefore, the cutting deviation coefficient is obtained by using the thickness deviation weight and the center extension coefficient at the current sampling moment, which reflects the influence of the center freezing effect on the slicing of meat products. If the freezing effect of the current meat product is relatively uniform, and there is no influence of the center freezing effect on the slicing of the meat product, the thickness of each scanning point is relatively uniform and the deviation from the target thickness is small, the value of the thickness deviation weight is small, and the range of the deviation sequence at the current sampling moment is small. Due to the influence of noise when collecting thickness data, and the different influences on each scanning point, the symmetry of the deviation sequence distance about the center scanning point is poor, the similarity of the two sequences is small, the center extension coefficient is small, and finally the value of the cutting deviation coefficient at the current sampling moment is small.
[0077] In one embodiment of the present application, the process flow chart of obtaining the cutting deviation coefficient at each sampling moment is as shown in the attached figure. Figure 6 shown.
[0078] The second small step is to determine the extension cutting gradient at each sampling moment based on the thickness composition sequence at the sampling moment of each scanning point and its previous several adjacent sampling moments, and based on the distribution difference between the sequences composed of all scanning points at each sampling moment.
[0079] In addition to the influence of the central freezing effect on the slice thickness when slicing meat products, there is also interference from the meat product itself. In particular, there are muscle fibers in beef, which are often evenly distributed in the beef block. However, in order to connect the muscle fibers, some connective tissue is distributed in the beef block. The connective tissue is distributed in strips. Due to the high toughness of the connective tissue, it will affect the thickness when slicing. By analyzing the influence of the connective tissue in the beef block on the thickness, the power of the slicer is adjusted in real time to avoid the influence of the sliced tissue itself on the working state of the slicer.
[0080] Therefore, taking the current sampling moment as the time end point, n sampling moments are intercepted forward for a single scanning point to form a thickness extension sequence of the scanning point. In this embodiment, n=10 is set. It should be noted that if the length of the thickness extension sequence is less than n, the regression filling method is used for filling. Among them, the regression filling method is a well-known technology and will not be repeated.
[0081] According to the thickness extension sequence of a single scanning point intercepted at the current sampling moment, the connective determination coefficient is obtained, and the extension cutting gradient at the current moment is obtained by combining the connective determination coefficients of all scanning points, which is used to determine the overall content of connective tissue in the slice and evaluate the degree of interference of the slice by connective tissue at the current sampling moment. The specific process is as follows:
[0082] In one embodiment of the present application, the difference between the maximum value and the mean value in the thickness extension sequence is used to obtain the bonding determination coefficient of the scanning point, which is used to determine the bonding content of the scanning point.
[0083] It should be understood that since the main function of connective tissue is to connect muscle fibers, the connective tissue is distributed in the meat in strips, and the extension direction is related to the direction of the muscle fibers. Therefore, if the slice position corresponding to the thickness extension sequence of the scanning point intersects with the connective tissue, the thickness value at the intersection may be large, far deviating from the normal slice thickness. At this time, the value of the connective determination coefficient of the scanning point is larger.
[0084] In this application, the extension cutting gradient at the current sampling moment is calculated from the distribution of the connective determination coefficients of all scanning points at the current sampling moment, which is used to evaluate the degree of interference of the slice by the connective tissue at the current sampling moment, specifically:
[0085] According to the connection determination coefficient of all scanning points at the current sampling moment, the connection determination coefficient value is used to divide them into two clusters, the cluster with the largest mean of the connection determination coefficient is marked as the connection interference cluster, and the rest is marked as the normal cluster. The extreme value of the connection determination coefficient of all scanning points is calculated, and the proportion of scanning points in the connection interference cluster to the total scanning points is obtained. The extreme value and the proportion value are forward fused to obtain the extension cutting gradient at the current sampling moment. Among them, the optional cluster segmentation methods are: K-Means, K-Medoi ds, and BI RCH clustering, which are all well-known technologies and will not be repeated in this scheme.
[0086] In one embodiment of the present application, the product of the range value and the ratio value is used as the extension cutting gradual change degree at the current sampling moment. In other embodiments of the present application, the sum of the range value and the ratio value can also be used as the extension cutting gradual change degree at the current sampling moment.
[0087] It should be understood that since the overall content of connective tissue is relatively small and it is sparsely distributed in the meat, if the current sampling moment is greatly disturbed by the connective tissue, the range of the connective determination coefficients of all scanning points will be larger, and the proportion of scanning points in the connective interference cluster will be larger, resulting in a larger value of the extended cutting gradient.
[0088] In one embodiment of the present application, the process flow chart of obtaining the extension cutting gradient at each sampling moment is as shown in the attached figure. Figure 7 shown.
[0089] In the third small step, the fuzzification factor at each sampling moment is obtained by combining the cutting deviation coefficient and the extended cutting gradient at each sampling moment.
[0090] The cutting deviation coefficient is obtained by targeting the thickness data deviation characteristics of each scanning point at the current sampling moment, and the thickness extension sequence is obtained by using the thickness variation coefficient of each scanning point in the time window to obtain the demonstration cutting variation degree at the current moment. Thus, the fuzzification factor at the current sampling moment is further analyzed.
[0091] In one embodiment of the present application, the product value of the cutting deviation coefficient and the extended cutting progressive degree at the current sampling moment is calculated, the product value is normalized, and the product of the normalized result and the preset scaling factor is used as the fuzzification factor at the current sampling moment. The preset scaling factor is a fixed constant between [1,3], and the implementer can make adaptive adjustments according to the actual control situation. In this embodiment, the value is 2.
[0092] It should be understood that if the slices at the current sampling moment are affected by the central freezing effect and connective tissue, resulting in a large deviation in thickness, the value of the fuzzification factor will be large. At this time, it is necessary to increase the adjustment of the slicer thickness. If the thickness changes relatively evenly at the current sampling moment, the slicer power needs to remain stable, and the value of the fuzzification factor will be small.
[0093] In the third step, the fuzzy factor is used to update the fuzzy subset at each sampling moment, and the fuzzy PID control algorithm is optimized to control the power of the slicer to ensure the uniformity of the slice thickness during the operation of the slicer.
[0094] In this scheme, the domain of the fuzzy PID control algorithm is initialized to [-6, 6], and the fuzzy subset is obtained as {-6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6}. The fuzzy factor at the current sampling time is multiplied by each element in the fuzzy subset to obtain the updated real-time adjustment fuzzy subset, so as to realize the dynamic adjustment of the fuzzy subset, thereby adjusting the slicer power through the analysis of the slice thickness.
[0095] The specific process of adjusting the slicer power is as follows: the real-time adjustment fuzzy subset is transmitted to the fuzzy controller, the fuzzy controller outputs the fuzzy quantities of P, I, and D, which are used as the input of the PID controller, and the real-time PID components are output to dynamically adjust the slicer power control.
[0096] The fuzzy subset is scaled up or down through the fuzzification factor, thereby realizing dynamic adjustment of the fuzzy subset, avoiding the shortcomings of control overshoot and slow convergence caused by only a fixed fuzzy subset, thereby ensuring precise control of the slicer power and achieving uniform thickness of the slicer slices.
[0097] Based on the same inventive concept as the above method, an embodiment of the present application also provides a slicer control system for efficient slicing, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of a slicer control method for efficient slicing described in any one of the above methods when executing the computer program.
[0098] The various embodiments in the present application are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0099] It should be noted that, unless otherwise specified and limited, terms such as "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a circuit structure, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such article or device. In the absence of further restrictions, an element defined by the sentence "including one..." does not exclude the existence of other identical elements in the article or device including the element. In addition, the term "and\or" used herein includes any and all combinations of one or more related listed items.
[0100] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not invented by the present application.
[0101] It should be understood that the present application is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof.
Claims
1. A method for controlling a slicer for efficient slicing, characterized in that: The method comprises the following steps: 1) deploying an intelligent thickness sensor (7) directly above the discharging end (3) of the slicer to measure the thickness of the slice at the discharging end, using the intelligent thickness sensor (7) to perform point-line scanning in the vertical direction between the object slice (4) and the conveying direction (2), scanning a number of scanning points in the vertical direction at equal intervals on the slice with the slice centerline as a reference, numbering the scanning points from top to bottom, and obtaining the thickness of each scanning point at each sampling time; 2) The output end of the intelligent thickness sensor (7) is connected to the input end of the A / D conversion module (8), and the output end of the A / D conversion module (8) is connected to the input end of the PID controller (9); the slicer control system (10) analyzes the thickness data collected from the intelligent thickness sensor (7), uses the analysis result to optimize the PID controller (9), and controls the power of the slicer; The collected thickness data is analyzed and the steps of optimizing the PID controller (9) are as follows: A1, forward fusion is performed on the deviation between the thickness of all scanning points at each sampling moment obtained in step 1) and the preset target thickness, as well as the distribution similarity of the thickness of the scanning points on both sides of the slice, to obtain the cutting deviation coefficient at each sampling moment; A2, forming a sequence of the thickness at the sampling moment of each scanning point obtained in step 1) and the thickness at the previous several adjacent sampling moments, and determining the extension cutting gradient at each sampling moment based on the distribution difference between the sequences composed of all scanning points at each sampling moment; A3, forward fusion of the cutting deviation coefficient obtained in step A1) and the extended cutting gradient obtained in step A2) to obtain a fuzzification factor at each sampling moment; A4, using the fuzzy factor obtained in step A3) to update the fuzzy subset at each sampling moment, and optimize the PID controller (9).
2. A method for controlling a microtome for efficient slicing as claimed in claim 1, characterized in that: The slice center line is a straight line that is perpendicular to the discharge port and located at the center of the slice.
3. A method for controlling a microtome for efficient slicing as claimed in claim 1, characterized in that: The process of obtaining the cutting deviation coefficient at each sampling moment includes: Determine the thickness deviation weight at each sampling moment based on the deviation between the thickness of all scanning points at each sampling moment and the preset target thickness; Based on the distribution similarity of the thickness of the scanning points on both sides of the slice, the central extension coefficient at each sampling moment is determined; The thickness deviation weight at each sampling moment is forward fused with the center epitaxial coefficient to obtain the cutting deviation coefficient at each sampling moment.
4. A method for controlling a microtome for efficient slicing as claimed in claim 3, characterized in that: The method for determining the thickness deviation weight at each sampling moment includes: Calculate the difference between the mean thickness of all scanning points at each sampling moment and the preset target thickness; Calculate the fluctuation of the deviation between the thickness of all scanning points and the thickness mean at each sampling moment; The fluctuation situation and the difference are forward fused to obtain the thickness deviation weight at each sampling moment.
5. The method for controlling a microtome for efficient slicing as claimed in claim 3, characterized in that: The method for determining the central extension coefficient at each sampling moment includes: Calculate the deviation between the thickness of each scanning point at each sampling moment and the mean thickness of all scanning points, construct a deviation sequence, and calculate the range of the deviation sequence; The deviation sequence is divided into two segments according to the scanning point where the slice center line is located at each sampling moment, and the similarity between the two sequences is calculated; The range and the similarity are forwardly fused to obtain the central extension coefficient at each sampling moment.
6. A method for controlling a microtome for efficient slicing as claimed in claim 3, characterized in that: The method for determining the extension cutting gradient at each sampling moment includes: Based on the difference between the maximum value in the sequence and the mean value of the sequence, the determination coefficient of the connection at the scanning point of the sequence is determined; Clustering is performed based on the distribution differences of the association determination coefficients of all scanning points at each sampling moment to determine the association interference clusters; Calculate the ratio of the number of scanning points in the connection interference cluster to the number of all scanning points; calculate the extreme value of the connection determination coefficient of all scanning points; The ratio is forwardly merged with the extreme value to determine the extension cutting gradient.
7. A method for controlling a microtome for efficient slicing as claimed in claim 6, characterized in that: The method for determining the connection interference cluster includes: clustering the connection determination coefficients of all scanning points at each sampling moment to obtain a plurality of clusters; and recording the cluster with the largest mean value of the connection determination coefficient as the connection interference cluster.
8. A method for controlling a microtome for efficient slicing as claimed in claim 6, characterized in that: The method for obtaining the fuzzy factor at each sampling moment is: calculating the product value of the cutting deviation coefficient and the extended cutting gradient at each sampling moment, normalizing the product value and multiplying it by a preset scaling factor to obtain the fuzzy factor at each sampling moment.
9. A method for controlling a microtome for efficient slicing as claimed in claim 8, characterized in that: The specific process of updating the fuzzy subset at each sampling moment includes: Set the initialization domain of the fuzzy PID control algorithm to obtain the fuzzified subset; The fuzzification factor at each sampling moment is multiplied by each element in the fuzzification subset to obtain an updated real-time adjusted fuzzification subset.
10. A slicer control system for efficient slicing, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the microtome control method for efficient slicing as described in any one of claims 1-9 are implemented.
Citation Information
Patent Citations
Dynamic fuzzy control system and control method thereof
CN103412482A
System and method for optimizing cutting process
CN106446478A
Method for dynamically adjusting cutting head cutting nozzle based on fuzzy theory
CN111037109A
Collaborative robot trajectory tracking method based on sliding mode control and fuzzy algorithm
CN114265318A
Plate laser cutting method
CN117600679A
