A method, system, and storage medium for determining the arrangement pattern of multi-way valves.
By constructing the full permutation number using the perm algorithm and assigning valve port positions and matching flow channels, the problems of missing permutations and excessive volume in the determination of multi-way valve arrangement patterns are solved, and efficient multi-way valve arrangement pattern optimization is achieved.
Patent Information
- Application Number
- CN202210900182.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-28
- Publication Date
- 2026-03-06
- Estimated Expiration
- 2042-07-28
AI Technical Summary
The arrangement of existing multi-way valves relies on manual methods, which leads to problems such as missed or insufficient arrangement and the manufactured multi-way valves are too large, making them inconvenient for engineering implementation.
The perm algorithm is used to construct the full permutation number. The valve port position is assigned according to the permutation number. Pairing association and merging are performed through the pairing data of the flow channel. The merging length is compared to determine the arrangement mode of the multi-way valve.
The arrangement pattern of multi-way valves was determined without any omissions, which met the engineering processing requirements and reduced the size of the multi-way valves.
Smart Images

Figure CN115186925B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a method, system, and storage medium for determining the arrangement pattern of multi-way valves. Background Technology
[0002] The working principle of a multi-way valve is as follows: an actuator drives the valve core to rotate, causing certain corresponding valve ports on the valve body to connect or disconnect, thereby switching between different operating modes. Specifically, a multi-way valve includes a valve body and a valve core. The valve body has multiple valve ports. By driving the valve core to rotate with the actuator, all valve ports on the valve body can cooperate with the channels in the valve core to form multiple operating modes.
[0003] Each operating mode corresponds to one or more flow channels. Each flow channel requires a valve port on the valve body to connect with a channel in the valve core. If multiple operating modes are to be implemented, the arrangement and combination of all flow channels in the multiple operating modes need to be determined, i.e., the arrangement mode.
[0004] Each flow channel can be considered as a combination of a certain valve port and a certain channel in the valve core. Therefore, determining all possible combinations of flow channels across the various operating modes would be extremely labor-intensive. Take a nine-way valve as an example. Using a 3x3 grid to represent the valve ports on the valve body, placing the numbers 1-9 into the grid results in 9! = 362,880 combinations. Currently, the arrangement of the valve body and valve core relies mainly on manual trial and error, which is labor-intensive, inefficient, and prone to omissions or under-arrangements. Clearly, this is difficult to accomplish manually.
[0005] Furthermore, once the arrangement pattern is determined, the resulting multi-way valve with multiple operating modes will inevitably be very large, which is not conducive to engineering implementation. To achieve engineering feasibility, all flow modes of the multi-way valve must be combined, optimized, and compressed; otherwise, the valve core will be difficult to manufacture. Summary of the Invention
[0006] To address the issues of omissions and under-arrangements in existing methods of manually determining the arrangement of multi-way valves, as well as the technical problems of multi-way valves with multiple operating modes being too large and inconvenient for engineering manufacturing, this invention provides a method, system, and storage medium for determining the arrangement of multi-way valves.
[0007] The embodiments of the present invention are achieved through the following technical solutions:
[0008] In a first aspect, embodiments of the present invention provide a method for determining the arrangement pattern of a multi-way valve, comprising:
[0009] S1. Use the perm algorithm to construct the number of permutations of the multi-way valve based on the number of valve ports;
[0010] S2. Determine the current permutation number based on the total number of permutations;
[0011] S3. Assign a value to each valve port position of the multi-way valve according to the arrangement method corresponding to the current arrangement number, and obtain the valve port positions with assigned values;
[0012] S4. Based on the pairing data of all flow channels in each working mode, pair and associate the positions of each valve port with assigned numbers to obtain the mode unit corresponding to each working mode and the current arrangement number;
[0013] S5. Merge the mode units of each working mode in the current arrangement number to obtain the multi-way valve arrangement unit mode unit;
[0014] S6. Return to S2; if all permutations have been processed in S5, then proceed to S7;
[0015] S7. Compare the combined length of the multi-way valve arrangement unit pattern unit corresponding to each arrangement number with the specified value. If the combined length is less than the specified value, the multi-way valve arrangement unit pattern unit is obtained as the arrangement pattern for manufacturing multi-way valves.
[0016] Furthermore, S1 includes:
[0017] The perm algorithm is used to construct the number of permutations N! of the number of connectable valve ports N of a multi-way valve.
[0018] Furthermore, S2 includes:
[0019] The current permutation number is determined sequentially based on the order of the permutations of the total number of permutations;
[0020] S3 includes:
[0021] Assign a value to each connectable valve port position of the multi-way valve according to the arrangement method corresponding to the current number of arrangements, and obtain the valve port positions with assigned values.
[0022] Furthermore, S4 includes:
[0023] Based on the pairing data of multiple flow channels in each working mode, the valve positions with assigned values are paired and associated; where each flow channel in each working mode is represented by "XY", where X and Y represent the assigned values of different valve positions.
[0024] Furthermore, the valve ports of the multi-way valve are arranged in a manner of at least one row and no less than three columns.
[0025] Furthermore, S5 includes:
[0026] Determine whether there is any overlap between the mode units of each working mode. If there is no overlap between the mode units of all working modes, then connect the mode units of all working modes in sequence to obtain the multi-way valve arrangement unit mode unit.
[0027] If there are multiple working mode mode units that overlap with each other, which is less than the total number of working modes, then merge the overlapping parts of all working mode mode units with overlapping parts to obtain a merged unit; connect all working mode mode units that do not overlap with each other to the merged unit in sequence to obtain a multi-way valve arrangement unit mode unit.
[0028] If all the working mode modules have overlapping parts, then the overlapping parts of all the working mode modules are merged to obtain the multi-way valve arrangement module module.
[0029] Furthermore, the merging length includes several minimum merging lengths, each of which is the width of a valve opening; the specified value for S7 is 8.
[0030] Furthermore, the multi-way valve is a six-way valve, an eight-way valve, or a nine-way valve.
[0031] Secondly, embodiments of the present invention provide a system for determining the arrangement pattern of multi-way valves, comprising:
[0032] The permutation unit is used to construct the permutation number of a multi-way valve using the Perm algorithm with the number of valve ports.
[0033] The current permutation number determination unit is used to determine the current permutation number based on the total permutation number;
[0034] The assignment unit is used to assign a value to each valve port position of the multi-way valve according to the arrangement method corresponding to the current number of arrangements, so as to obtain the valve port positions with assigned values;
[0035] The association unit is used to pair and associate the positions of each valve port with an assigned number according to the pairing data of all flow channels in each working mode, so as to obtain the mode unit corresponding to each working mode and the current arrangement number.
[0036] The merging unit is used to merge the mode units of each working mode in the current arrangement number to obtain the multi-way valve arrangement unit mode unit;
[0037] Update the return unit to return S2; if all permutations have completed S5, then execute S7.
[0038] The comparison unit is used to compare the combined length of the multi-way valve arrangement unit pattern units corresponding to each arrangement number, and select the multi-way valve arrangement unit pattern unit with a combined length less than a specified value as the arrangement pattern for manufacturing the multi-way valve.
[0039] Thirdly, embodiments of the present invention provide a computer-readable storage medium storing instructions that, when executed on a computer, perform the method for determining the multi-way valve arrangement pattern.
[0040] Compared with the prior art, the embodiments of the present invention have the following advantages and beneficial effects:
[0041] This invention discloses a method, system, and storage medium for determining the arrangement pattern of multi-port valves. By employing the Perm algorithm to construct a full permutation number based on the number of valve ports of the multi-port valve, a value is assigned to each valve port position of the multi-port valve according to the arrangement method corresponding to each permutation number. Based on the pairing data of all flow channels in each working mode, the valve port positions with assigned values are paired and associated. Furthermore, the mode units of each working mode in each permutation number are merged. The merged length of the mode units of the multi-port valve arrangement units corresponding to each permutation number is compared, achieving complete pairing of the multi-port valves without omissions. Finally, a multi-port valve arrangement pattern with a merged length that meets engineering processing requirements is obtained. Attached Figure Description
[0042] To more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This is a flowchart illustrating the method for determining the arrangement pattern of multi-way valves.
[0044] Figure 2 This is a schematic diagram of the system for determining the arrangement pattern of multi-way valves.
[0045] Figure 3 This is a schematic diagram showing the flow channel connections for each working mode corresponding to the first arrangement of the nine-way valve.
[0046] Figure 4 This is a schematic diagram of the valve port connection structure after merging the various working modes corresponding to the first arrangement of the nine-way valve. Detailed Implementation
[0047] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings. The illustrative embodiments and descriptions of the present invention are only used to explain the present invention and are not intended to limit the present invention.
[0048] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the invention. However, it will be apparent to those skilled in the art that these specific details are not necessary to practice the invention. In other embodiments, well-known structures, circuits, materials, or methods have not been specifically described in order to avoid obscuring the invention.
[0049] Throughout this specification, references to "an embodiment," "an example," or "an example" mean that a particular feature, structure, or characteristic described in connection with that embodiment or example is included in at least one embodiment of the invention. Therefore, the phrases "an embodiment," "an example," "an example," or "an example" appearing in various places throughout the specification do not necessarily refer to the same embodiment or example. Furthermore, specific features, structures, or characteristics can be combined in one or more embodiments or examples in any suitable combination and / or sub-combination. Moreover, those skilled in the art will understand that the illustrations provided herein are for illustrative purposes and are not necessarily drawn to scale. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0050] In the description of this invention, the terms "front", "rear", "left", "right", "up", "down", "vertical", "horizontal", "high", "low", "inner", and "outer" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limiting the scope of protection of this invention.
[0051] Example
[0052] To address the issues of omissions and under-arrangements in existing methods of manually determining the arrangement of multi-way valves, and the technical problems of multi-way valves with multiple operating modes being too large and inconvenient for engineering manufacturing, in a first aspect, embodiments of the present invention provide a method for determining the arrangement of multi-way valves, using a device with a processor as the executing entity, referring to... Figure 1 As shown, it includes:
[0053] S1. Use the perm algorithm to construct the number of permutations of the multi-way valve based on the number of valve ports;
[0054] A multi-way valve has a valve body and a valve core. The valve body has several valve ports, and the valve core has several cavities. Various working modes can be generated by arranging and combining the valve ports and cavities. In each working mode, there is one or more flow channels. In each flow channel, liquid enters the corresponding cavity of the valve core from one valve port of the valve body, and then the liquid is discharged from the other valve port of the valve body.
[0055] Therefore, the flow channel can be represented by the two valve ports connected by the valve core, such as XY, which can represent the flow channel formed by the connection of valve port X and valve port Y; thus, the valve port can be used as an object to determine each flow channel in each working mode.
[0056] The perm algorithm is used to construct the full row count based on the number of valve ports of the multi-port valve, which can cover and utilize the working modes of all valve ports without omission.
[0057] S2. Determine the current permutation number based on the total number of permutations;
[0058] Each permutation number corresponds to a permutation method, and the total number of permutations formed by all permutations corresponds to all possible permutations. In order to determine the permutation mode of a valve port without omission, it is necessary to study the connection status of each valve port in the corresponding working mode under the permutation method corresponding to each permutation number.
[0059] S3. Assign a value to each valve port position of the multi-way valve according to the arrangement method corresponding to the current arrangement number, and obtain the valve port positions with assigned values;
[0060] Assigning values to each valve port position based on the arrangement corresponding to the current number of arrangements allows for convenient representation of the flow path in each operating mode. Take a nine-way valve as an example.
[0061] Using the Perm algorithm, a set of permutations corresponding to the positions of the valve ports on the valve body is constructed. For example, the permutations of the valve ports are arranged in a 3x3 grid. The numbers 1-9 are placed into a 3x3 grid, resulting in 9! = 362,880 combinations. For example, the first permutation number is the current permutation number, and its corresponding arrangement is shown in the following 3x3 grid.
[0062] 3 2 1 6 8 9 4 7 5
[0063] Therefore, the position of each valve port can be intuitively represented through this assignment method.
[0064] S4. Based on the pairing data of all flow channels in each working mode, pair and associate the positions of each valve port with assigned values to obtain the mode unit corresponding to each working mode and the current arrangement number.
[0065] Take a nine-way valve as an example. All flow channels in each operating mode can be represented by numbers in a 3x3 grid. For example, there are eight operating modes:
[0066] Working Mode 1: 3-2, 8-9, 6-4
[0067] Working Mode Two: 6-8, 2-1, 9-5
[0068] Work Mode 3: 3-2, 8-7, 1-9
[0069] Working Mode 4: 6-4, 8-2, 7-5
[0070] Work Mode 5: 3-6, 4-7, 8-9
[0071] Work Mode Six: 2-1, 6-8, 9-5
[0072] Work Mode 7: 3-2, 8-7, 9-5
[0073] Work Mode 8: 4-6, 8-7, 2-1
[0074] It can be seen that when the working mode is working mode one: the paired data of the mode unit corresponding to the first permutation number are 3-2, 8-9, and 6-4. The connectivity relationship of each working mode can be obtained from... Figure 3 express, Figure 3 The black line in the middle indicates a connection.
[0075] In this case, 3-2 indicates that the valve port with a value of 3 is connected to the valve port with a value of 2, and so on. For example, 6-8 indicates that the valve port with a value of 6 is connected to the valve port with a value of 8.
[0076] It should be noted that regardless of the position of the assigned values within each valve port, the above representation of the working mode remains the same across all permutations. In other words, in the permutations corresponding to other numbers, Figure 3 The positions of the black lines connecting the different working modes are completely different. For example, in the arrangement with a number of 2, if the positions of 3 and 2 in the above nine-square grid change to the valve positions at the two opposite corners, then in working mode one, 3 and 2 still form the flow channel; that is, no matter what the number of the arrangement is, or what position 3 and 2 are in the current arrangement, working mode one always forms a connecting channel through 3 and 2.
[0077] The pairing data for the working mode refers to the pairing of valve ports represented by two assigned numbers. For example, 3-2, 8-9, and 6-4 are the pairing data for working mode one. 3-2, 8-9, and 6-4 each represent a flow channel, meaning that working mode one has three flow channels.
[0078] Pairing and associating valve positions with assigned values means pairing and associating valve positions with assigned values to represent the connection between two valves. The association method can be to bind the assigned values of two valves that are connected, or to use other numbers to represent the connection between two valves, etc. It is not limited to the specific association method, as long as the connection between the assigned values of two valves can represent the connection between the two valves.
[0079] Step S4 ultimately yields the pattern unit corresponding to each working mode and the current permutation number, such as the first permutation number. The final pattern unit corresponding to each working mode and the current permutation number is as follows: Figure 3 As shown. If the second permutation number is as follows:
[0080] 1 2 3 4 5 6 7 8 9
[0081] Then, working mode one still has the flow channels of 3-2, 8-9 and 6-4, and the other working modes are similar, finally obtaining the mode unit corresponding to each working mode and the second permutation number.
[0082] S5. Merge the mode units of each working mode in the current arrangement number to obtain the multi-way valve arrangement unit mode unit;
[0083] If the current permutation number is 1, that is, the first permutation number, continuing the example above, there are eight working modes, and each working mode corresponds to eight mode units for the current permutation number. The eight mode units of the first permutation number are merged to obtain the multi-way valve permutation unit mode unit; there are many specific merging methods, the principle being: merging the flow channels with common connecting parts of each working mode into one flow channel, thereby reducing the overall volume after merging the various working modes.
[0084] After step S5 is completed, the merge length of the eight pattern units after merging can be obtained under the arrangement of the working mode corresponding to the first permutation number.
[0085] S6. Return to S2; if all permutations have been processed in S5, then proceed to S7;
[0086] After obtaining the merge length of the eight pattern units after merging under the arrangement of the working mode corresponding to the first permutation number, the above steps are performed again to obtain the merge length of the eight pattern units after merging under the arrangement of the working mode corresponding to the second permutation number, and so on, so as to obtain the merge length of the eight pattern units after merging under the arrangement of the working mode corresponding to all permutation numbers.
[0087] S7. Compare the combined length of the multi-way valve arrangement unit pattern unit corresponding to each arrangement number with the specified value. If the combined length is less than the specified value, the multi-way valve arrangement unit pattern unit is obtained as the arrangement pattern for manufacturing multi-way valves.
[0088] After obtaining the combined length of the eight working mode units corresponding to each arrangement number, in order to facilitate engineering processing, the multi-way valve arrangement unit mode unit with a combined length that meets the engineering requirements is selected for engineering manufacturing, thereby minimizing the volume of the manufactured multi-way valve.
[0089] Therefore, this embodiment of the invention uses the perm algorithm to construct a full permutation number based on the number of valve ports of the multi-way valve. It assigns a value to each valve port position of the multi-way valve according to the arrangement method corresponding to each permutation number. Based on the pairing data of all flow channels in each working mode, it pairs and associates the valve port positions with assigned values, and merges the mode units of each working mode in each permutation number. By comparing the merged length of the mode units of the multi-way valve arrangement corresponding to each permutation number, it achieves complete pairing of the multi-way valves without omissions, ultimately obtaining a multi-way valve arrangement pattern with a merged length that meets engineering processing requirements.
[0090] Furthermore, S1 includes:
[0091] The perm algorithm is used to construct the number of permutations N! of the number of connectable valve ports N of a multi-way valve.
[0092] In actual multi-port valve applications, not every valve port can be interconnected. Therefore, when considering the connectivity of each valve port under different operating modes, the above steps can be performed by taking a permutation of the number of interconnectable valve ports N, thereby reducing the amount of calculation.
[0093] S3 includes:
[0094] Assign a value to each connectable valve port position of the multi-way valve according to the arrangement method corresponding to the current number of arrangements, and obtain the valve port positions with assigned values.
[0095] As explained above, when assigning values to valve ports, only those ports that can connect to other ports are assigned values, while ports that cannot connect to other ports are discarded. For example, in a nine-way valve, if port A is in the first permutation and a certain operating mode requires port A to connect to port B, but in reality, the structure of the multi-way valve itself prevents port A from connecting to port B in that particular operating mode, while port B can connect to ports in all operating modes, then by canceling the assignment to port A, impossible combinations can be clearly eliminated, reducing the computational load.
[0096] Furthermore, S2 includes:
[0097] The current permutation number is determined sequentially based on the order of the permutations of the total number of permutations;
[0098] When determining the current number of permutations, you can either follow the natural order of the permutations and execute S3-S6 sequentially, or you can use an algorithm to select a permutation from all the permutations according to a certain rule and execute S3-S6, until you can exhaust all the permutations corresponding to all the permutations and complete all of S3-S6.
[0099] Furthermore, S4 includes:
[0100] Based on the pairing data of multiple flow channels in each working mode, the valve positions with assigned values are paired and associated; where each flow channel in each working mode is represented by "XY", where X and Y represent the assigned values of different valve positions.
[0101] Refer to the representation of the eight working modes above.
[0102] Furthermore, the valve ports of the multi-way valve are arranged in a manner of at least one row and no less than three columns.
[0103] To facilitate the merging of the eight working modes corresponding to each arrangement and reduce the manufacturing volume of the multi-way valve, the arrangement of the valve ports of the multi-way valve can be arranged in 1 row, 3 columns, 1 row and 3 columns, or multiple rows and multiple columns when designing the multi-way valve.
[0104] When merging the mode units of various working modes, there are three main situations: 1. There is no overlap between the mode units of all working modes; 2. There is overlap between the mode units of some working modes; 3. There is overlap between the mode units of all working modes.
[0105] Optionally, S5 includes:
[0106] Determine whether there is any overlap between the mode units of each working mode. If there is no overlap between the mode units of all working modes, then connect the mode units of all working modes in sequence to obtain the multi-way valve arrangement unit mode unit.
[0107] If there are multiple working mode mode units that overlap with each other, which is less than the total number of working modes, then merge the overlapping parts of all working mode mode units with overlapping parts to obtain a merged unit; connect all working mode mode units that do not overlap with each other to the merged unit in sequence to obtain a multi-way valve arrangement unit mode unit.
[0108] If all the working mode modules have overlapping parts, then the overlapping parts of all the working mode modules are merged to obtain the multi-way valve arrangement module module.
[0109] Taking a nine-way valve as an example, let's look at the arrangement of the first row of numbers.
[0110] After executing step S4, the arrangement of the first permutation number yields the pattern unit corresponding to each working mode and the first permutation number. (Reference) Figure 3 As shown, the eight pattern units are arranged in a 3x3 grid. Now, step S5 is performed to merge these eight pattern units.
[0111] For 3. All the working modes have overlapping parts, and they can be merged in the following way:
[0112] First, the back column of the mode unit of the first working mode is compared with the front column of the mode unit of other working modes to determine whether there are overlapping parts. If there are, the overlapping parts of the two working modes that can overlap are merged into one to obtain the first merged unit.
[0113] Then, the first merged unit is compared with the previous column of the other remaining working mode ...
[0114] Following this pattern, the final merged unit is the multi-way valve arrangement unit pattern unit. Taking a nine-way valve as an example, the arrangement pattern of the multi-way valve obtained after merging the first arrangement number, which can satisfy eight working modes, is as follows: Figure 4 As shown.
[0115] Furthermore, the merging length includes several minimum merging lengths, each of which is the width of a valve opening; the specified value for S7 is 8.
[0116] To facilitate comparison of the length of the multi-way valve arrangement unit pattern unit obtained from each permutation number, the combined length is used for judgment.
[0117] Furthermore, the multi-way valve is a six-way valve, an eight-way valve, or a nine-way valve.
[0118] Secondly, embodiments of the present invention provide a system for determining the arrangement pattern of multi-way valves, comprising:
[0119] The permutation unit is used to construct the permutation number of a multi-way valve using the Perm algorithm with the number of valve ports.
[0120] The current permutation number determination unit is used to determine the current permutation number based on the total permutation number;
[0121] The assignment unit is used to assign a value to each valve port position of the multi-way valve according to the arrangement method corresponding to the current number of arrangements, so as to obtain the valve port positions with assigned values;
[0122] The association unit is used to pair and associate the positions of each valve port with an assigned number according to the pairing data of all flow channels in each working mode, so as to obtain the mode unit corresponding to each working mode and the current arrangement number.
[0123] The merging unit is used to merge the mode units of each working mode in the current arrangement number to obtain the multi-way valve arrangement unit mode unit;
[0124] Update the return unit to return S2; if all permutations have completed S5, then execute S7.
[0125] The comparison unit is used to compare the combined length of the multi-way valve arrangement unit pattern units corresponding to each arrangement number, and select the multi-way valve arrangement unit pattern unit with a combined length less than a specified value as the arrangement pattern for manufacturing the multi-way valve.
[0126] Thirdly, embodiments of the present invention provide a computer-readable storage medium storing instructions that, when executed on a computer, perform the method for determining the multi-way valve arrangement pattern.
[0127] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method of determining a multiple-pass valve arrangement pattern, characterized by, The method comprises the following steps: S1. Constructing a full permutation number by using a perm algorithm and the number of valve ports of the multi-way valve; S2. Determining a current permutation number according to the full permutation number; S3. Assigning a value to each valve port position of the multi-way valve according to the permutation mode corresponding to the current permutation number, to obtain a valve port position with a value; S4. Pairing and associating each valve port position with a value according to the pairing data of all flow channels in each working mode, to obtain a mode unit corresponding to each working mode and the current permutation number; S5. Merging the mode units of each working mode in the current permutation number, to obtain a multi-way valve permutation unit mode unit; If there is no overlapping part in the mode units of all working modes, sequentially connecting the mode units of all working modes to obtain the multi-way valve permutation unit mode unit; If there are less than the total number of working modes of the mode units of all working modes that have overlapping parts, merging the overlapping parts of the mode units of all working modes that have overlapping parts to obtain a merged unit; sequentially connecting the mode units of all working modes that do not have overlapping parts with the merged unit to obtain the multi-way valve permutation unit mode unit; If all the mode units of all working modes have overlapping parts, merging the overlapping parts of all the mode units of all working modes to obtain the multi-way valve permutation unit mode unit; S6. Returning to S2; if all permutation numbers have completed S5, performing S7; S7. Comparing the merging length of the multi-way valve permutation unit mode unit corresponding to each permutation number with a specified value; if the merging length is less than the specified value, obtaining the multi-way valve permutation unit mode unit as the permutation mode for manufacturing the multi-way valve; The merging length includes a plurality of minimum merging lengths, each minimum merging length being the width of a valve port; and the specified value is 8.
2. The method of claim 1, wherein the pattern of multiple-pass valve arrangements is determined by: The S1 comprises: Constructing a full permutation number N! by using a perm algorithm and the number of connectable valve ports N of the multi-way valve.
3. The method of claim 1, wherein the pattern of multiple-pass valve arrangements is determined by: The S2 comprises: Determining a current permutation number in order according to the order of each permutation number of the full permutation number. The S3 comprises: Assigning a value to each connectable valve port position of the multi-way valve according to the permutation mode corresponding to the current permutation number, to obtain a valve port position with a value.
4. The method of claim 1, wherein the pattern of multiple-pass valve arrangements is determined by: The S4 comprises: Pairing and associating each valve port position with a value according to the pairing data of a plurality of flow channels in each working mode; wherein each flow channel of each working mode is represented as "X-Y", wherein X and Y represent the values of different valve port positions.
5. The method of claim 1, wherein the pattern of multiple-pass valve arrangements is determined by: The permutation mode of each valve port of the multi-way valve is at least one row and not less than three columns of valve port permutation modes.
6. The method of claim 1, wherein the pattern of multiple-pass valve arrangements is determined by: The multi-way valve is a six-way valve, an eight-way valve or a nine-way valve.
7. A system for determining a pattern of a multi-way valve arrangement, characterized in that The method comprises the following steps: A full permutation unit is configured to construct a full permutation number by using a perm algorithm and the number of valve ports of the multi-way valve; A current permutation number determination unit is configured to determine a current permutation number according to the full permutation number; An assignment unit is configured to assign a value to each valve port position of the multi-way valve according to the permutation mode corresponding to the current permutation number, to obtain a valve port position with a value. The association unit is configured to associate each valve port position with a value with a corresponding mode unit of each working mode and a current arrangement number according to the pairing data of all flow channels in each working mode; The merging unit is configured to merge the mode units of each working mode in the current arrangement number to obtain a multi-way valve arrangement unit mode unit; The updating and returning unit is configured to return to S2, and if all arrangement numbers have completed S5, execute S7; The comparison unit is configured to compare the merging lengths of the multi-way valve arrangement unit mode units corresponding to each arrangement number, and select the multi-way valve arrangement unit mode unit with a merging length less than a specified value as the arrangement mode of the multi-way valve; The merging length includes a plurality of minimum merging lengths, and each minimum merging length is the width of one valve port; and the specified value is 8; The specific process of the merging unit is that it is determined whether the mode units of each working mode have overlapping parts, and if the mode units of all working modes have no overlapping parts, the mode units of all working modes are sequentially connected to obtain the multi-way valve arrangement unit mode unit; If there are less than the total number of working modes of the mode units of all working modes that have overlapping parts, the overlapping parts of the mode units of all working modes having overlapping parts are merged to obtain the merging unit, and the mode units of all working modes that have no overlapping parts are sequentially connected with the merging unit to obtain the multi-way valve arrangement unit mode unit; If all the mode units of all working modes have overlapping parts, the overlapping parts of all the mode units of all working modes are merged to obtain the multi-way valve arrangement unit mode unit.
8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores instructions, and when the instructions run on the computer, the method for determining the arrangement mode of the multi-way valve is executed.
Citation Information
Patent Citations
Apparatus and method for automated closed-loop identification of an industrial process in a process control system
CN101652730A
Coffee mate system which automatically produces raw coffee bean into coffee and transfers to client and managing method thereof
KR1020140019070A