CN115807714B - Alternative cylinder deactivation mode determining method, device, equipment and storage medium - Google Patents
Alternative cylinder deactivation mode determining method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN115807714B CN115807714B CN202310064436.6A CN202310064436A CN115807714B CN 115807714 B CN115807714 B CN 115807714B CN 202310064436 A CN202310064436 A CN 202310064436A CN 115807714 B CN115807714 B CN 115807714B
- Authority
- CN
- China
- Prior art keywords
- ignition
- code
- cylinder deactivation
- cylinders
- matrix
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/12—Improving ICE efficiencies
Landscapes
- Combined Controls Of Internal Combustion Engines (AREA)
Abstract
The invention discloses a method, a device, equipment and a storage medium for determining an alternative cylinder deactivation mode, wherein the method for determining the alternative cylinder deactivation mode comprises the following steps: acquiring the total cylinder number of an engine, the number of ignition cylinders which fire in one cycle, the cycle number and a balanced cycle matrix definition condition; determining all firing modes in one cycle according to the total number of cylinders of the engine and the number of firing cylinders, and generating a unique firing code for one firing mode; generating an initial code with the same number of digits as the number of cycles, and replacing each digit of the initial code with a unique ignition code according to all arrangement and combination modes of the unique ignition codes to generate a plurality of ignition mode codes; data cleaning is carried out on all ignition mode codes, ignition mode codes matched with the definition conditions of the balanced cyclic matrix are screened out, and the ignition mode codes are recorded as alternative engine cylinder deactivation mode codes; and determining the alternative engine cylinder deactivation mode according to the alternative engine cylinder deactivation mode code.
Description
Technical Field
The embodiment of the invention relates to the engine technology, in particular to a method, a device, equipment and a storage medium for determining an alternative cylinder deactivation mode.
Background
The cylinder deactivation technology (Cylinder deactivation) is also called a variable displacement technology, and if the cylinder deactivation technology is adopted to realize engine control, when the engine runs under partial load, the related mechanism cuts off the fuel supply, ignition and air intake and exhaust of partial cylinders to stop the work of the partial cylinders, so that the load rate of the residual working cylinders is increased, the efficiency is improved, and the fuel consumption is reduced.
Currently, for a vehicle model, one or more engine cylinder deactivation modes are usually preset, and an automobile cylinder deactivation control fuel economizer or an engine controller selects a corresponding engine cylinder deactivation mode according to the load condition of the automobile, so as to determine when and how to deactivate the cylinder.
In the prior art, a circulation matrix is generally used for representing an engine cylinder deactivation mode, but the following defects exist in the process of determining the circulation matrix: the calculation has certain blindness, the calculation amount is large, and the calculation efficiency is extremely low when the acquisition and calculation equipment screens the cyclic matrix meeting the conditions.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for determining an alternative cylinder deactivation mode, which aim to improve the execution efficiency of determining the alternative engine cylinder deactivation mode by computing equipment.
In a first aspect, an embodiment of the present invention provides an alternative engine cylinder deactivation mode determining method, which is characterized by including:
acquiring the total cylinder number of an engine, the number of ignition cylinders which fire in one cycle, the cycle number and a balanced cycle matrix definition condition;
determining all firing modes in one cycle according to the total number of cylinders of the engine and the number of firing cylinders, and generating a unique firing code for one firing mode;
generating an initial code with the same number of digits as the cycle number, and replacing each digit of the initial code with one unique ignition code according to all arrangement and combination modes of the unique ignition codes to generate a plurality of ignition mode codes;
data cleaning is carried out on all ignition mode codes, ignition mode codes matched with the definition conditions of the equalization cyclic matrix are screened out, and the ignition mode codes are recorded as alternative engine cylinder deactivation mode codes;
and determining an alternative engine cylinder deactivation mode according to the alternative engine cylinder deactivation mode code.
Optionally, the equalization looping matrix defining condition includes:
the elements in the balance cyclic matrix comprise a first element and a second element, the sum of the elements in each matrix row vector in the balance cyclic matrix is respectively equal, and the sum of the elements in each matrix column vector is respectively equal;
generating a unique ignition code for an ignition pattern further comprises:
determining the number of vector elements of the matrix row vector according to the total number of engine cylinders, setting the vector elements with the same number as the number of ignition cylinders as the first elements, setting the rest vector elements as the second elements, and determining the arrangement mode of the first elements and the second elements according to the unique ignition codes;
data cleaning of all of the firing pattern codes includes:
and aiming at one ignition mode code, acquiring the matrix row vector corresponding to each unique ignition code, generating a judgment matrix by adopting all the matrix row vectors, and if the elements in each matrix row vector of the judgment matrix are equal to each other, reserving the corresponding ignition mode code.
Optionally, determining the alternative engine cylinder deactivation mode code further includes:
and performing cyclic shift with the number of the cycle numbers of the alternative engine cylinder deactivation mode codes of-1 time, generating a plurality of equivalent cylinder deactivation mode codes, and removing the alternative engine cylinder deactivation mode codes which are the same as the equivalent cylinder deactivation mode codes.
Optionally, obtaining the cycle number includes:
and determining a common multiple of the total number of engine cylinders and the number of firing cylinders, and determining the cycle number according to the common multiple, the number of firing cylinders and an integer factor.
Optionally, the first element is 1 and the second element is 0.
Optionally, the ignition mode is encoded into an N-system number, where N is the same as the number of the first element and the second element arranged and combined;
one of the unique ignition codes is a character for constituting the N-ary number.
Optionally, determining the least common multiple of the total number of cylinders of the engine and the number of firing cylinders, and determining the cycle number according to the least common multiple, the number of firing cylinders and an integer factor.
In a second aspect, an embodiment of the present invention further provides an alternative engine cylinder deactivation mode determining apparatus, including an alternative engine cylinder deactivation mode determining unit configured to:
acquiring the total cylinder number of an engine, the number of ignition cylinders which fire in one cycle, the cycle number and a balanced cycle matrix definition condition;
determining all firing modes in one cycle according to the total number of cylinders of the engine and the number of firing cylinders, and generating a unique firing code for one firing mode;
generating an initial code with the same number of digits as the cycle number, and replacing each digit of the initial code with one unique ignition code according to all arrangement and combination modes of the unique ignition codes to generate a plurality of ignition mode codes;
data cleaning is carried out on all ignition mode codes, ignition mode codes matched with the definition conditions of the equalization cyclic matrix are screened out, and the ignition mode codes are recorded as alternative engine cylinder deactivation mode codes;
and determining an alternative engine cylinder deactivation mode according to the alternative engine cylinder deactivation mode code.
In a third aspect, an embodiment of the present invention further provides an electronic device, including at least one processor, and a memory communicatively connected to the at least one processor;
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the alternative engine cylinder deactivation mode determination method of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where computer instructions are stored, where the computer instructions are configured to cause a processor to execute the method for determining an alternative engine cylinder deactivation mode according to the embodiment of the present invention.
Compared with the prior art, the invention has the beneficial effects that: the invention provides a method for determining a cylinder deactivation mode of an alternative engine, which is characterized in that under the condition that the total number of cylinders of the engine, the number of cylinders which fire in one cycle and the number of cycles are determined, all possible (including feasible and infeasible) alternative engine cylinder deactivation modes are coded, the final feasible alternative engine cylinder deactivation mode is determined through screening processing of the codes, and the execution efficiency of a computing device when the alternative engine cylinder deactivation mode is automatically determined can be improved through the operation of the codes to determine the alternative engine cylinder deactivation mode.
Drawings
FIG. 1 is a flowchart of an alternative engine deactivation mode determination method in an embodiment;
FIG. 2 is a flow chart of another alternative engine deactivation mode determination method in an embodiment;
fig. 3 is a schematic diagram of the electronic device structure in the embodiment.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
FIG. 1 is a flowchart of an alternative engine deactivation mode determination method in an embodiment, referring to FIG. 1, the alternative engine deactivation mode determination method includes:
s101, acquiring the total cylinder number of the engine, the number of ignition cylinders which fire in one cycle, the cycle number and the definition condition of an equilibrium cycle matrix.
In this embodiment, for an engine, the total number of cylinders of the engine is a fixed value, the number of firing cylinders fired in one cycle and the number of cycles are set as set values, where the number of firing cylinders ranges from 0 to k, k is the same as the total number of cylinders of the engine, the number of cycles represents the number of (one) cycles included in one set engine operation cycle, and the number of cycles can be set as required.
Illustratively, in this embodiment, the four-stroke piston reciprocating engine is exemplified in which the crankshaft rotates 720 degrees after one cycle, and the crankshaft rotates c×720 degrees after one engine operating cycle is set (where C is the number of cycles).
Illustratively, in this embodiment, the balanced cyclic matrix definition condition is used to generate a balanced cyclic matrix, where the number of elements in the matrix row (or column) vector in the balanced cyclic matrix is the same as the total number of cylinders of the engine, and the number of matrix row (or column) vectors in the balanced cyclic matrix is the same as the cyclic number;
for example, if the total number of cylinders of the engine is 3 and the number of cycles is 3, the number of elements in the matrix row vector is set to be the same as the total number of cylinders of the engine, and the balanced cycle matrix is a 3×3 matrix;
the elements in the balance circulation matrix comprise a first element and a second element, one element is used for indicating engine cylinder ignition, the other element is used for indicating engine cylinder non-ignition, and the arrangement mode of the elements in the matrix row (or column) vector in the balance circulation matrix is used for indicating an engine ignition mode in one cycle;
for example, if the total number of cylinders of the engine is 3 and the number of firing cylinders is 2, one engine firing pattern may be 1, no. 3 cylinders firing, no. 2 cylinders not firing, and the corresponding matrix row vector may be expressed asAnother engine firing pattern may be that No. 1 and No. 2 engine cylinders fire, no. 3 cylinders fire, and the corresponding matrix row vector may be expressed as +.>;
Meanwhile, in an equilibrium cyclic matrix, the sum of elements of each row (matrix row vector) corresponds to the same, and the sum of elements of each column (matrix column vector) corresponds to the same, if the number of elements in a set row is the same as the total number of cylinders of the engine, the sum of elements of the row represents the number of firing cylinders, and the sum of elements of the column represents the number of firing times of one engine cylinder in all cycles;
for example, if the total number of cylinders of the engine is 3, the number of firing cylinders is 2, and the number of cycles is 3, the equilibrium cycle matrix may be:
s102, determining all firing modes in one cycle according to the total number of cylinders of the engine and the number of firing cylinders, and generating a unique firing code for one firing mode.
For example, in the present embodiment, determining all firing patterns in one cycle may determine only the number of all possible firing patterns, for example, if the total number of cylinders of the engine is n and the number of firing cylinders is w, the number of all possible firing patterns may be determined according to the following combination number calculation formula:
if only the number N of all ignition modes is determined, N unique ignition codes which are the same as the number N are generated, wherein the unique ignition codes can be one-digit numbers or one-digit characters, and the adopted numbers or characters can be freely selected.
Based on the description of step S101, determining all firing patterns in one cycle may also be determining a specific row (or column), where the unique firing code may be determined according to the arrangement of elements in the row (or column);
for example, a row (or column) correspondence may be converted to a binary number, which is then converted to a one-digit number or one-digit character of the specified system;
in particular, if the row (vector) is expressed asThe line may be converted to a binary number 101 and then binary number 101 may be converted to a one-bit hexadecimal number 5.
S103, generating an initial code with the same number of digits as the cycle number, and replacing each digit of the initial code with a unique ignition code according to all the arrangement and combination modes of the unique ignition codes to generate a plurality of ignition mode codes.
In the present embodiment, the form of the initial encoding and the elements contained therein are not particularly limited, and for example, the initial encoding may be set to a null array having a length of m (number of cycles); or m bits designate any number of the system.
In the present embodiment, the number of ignition pattern codes generated in the case where the total number of cylinders of the engine is n, the number of cylinders to be ignited is w, and the number of cycles is m isCorresponding toThe same bit set in all ignition mode codes comprises all permutation and combination modes of unique ignition codes under one cycle;
for example, if the total number of cylinders of the engine is 2, the number of firing cylinders is 1, and the number of cycles is 2, the number of firing pattern codes is 4 if the number of unique firing codes is 2 in one cycle and two unique firing codes are arranged and combined;
specifically, if the two unique firing codes are E, F, respectively, the firing pattern code includes EE, EF, FE, FF.
S104, cleaning data of all ignition mode codes, screening out ignition mode codes matched with the definition conditions of the balanced cyclic matrix, and recording the ignition mode codes as alternative engine cylinder deactivation mode codes.
For example, based on the description of step S101, after the data purge, a corresponding equalization looping matrix may be generated by an alternative engine cylinder deactivation mode code.
In this embodiment, the manner of data cleaning for the ignition mode code is not specifically limited, and for example, data cleaning may be achieved by:
generating a matrix row (or column) vector according to a unique ignition code, wherein the arrangement mode of elements in the matrix row (or column) corresponds to the unique ignition code, namely, the matrix row (or column) represents an engine ignition mode in one cycle;
for one ignition mode code, a matrix row (or column) vector corresponding to each unique ignition code is obtained, all matrix row (or column) vectors are adopted to generate a judgment matrix, and if elements in each column (or row) of the judgment matrix are respectively equal, the corresponding ignition mode code is reserved.
S105, determining an alternative engine cylinder deactivation mode according to the alternative engine cylinder deactivation mode code.
For example, in this embodiment, after the alternative engine cylinder deactivation mode code is determined, the alternative engine cylinder deactivation mode (i.e., which one or more engine cylinders fire in each cycle) is determined through a preset correspondence.
For example, after determining the alternative engine cylinder deactivation mode, the engine cylinder deactivation mode to be finally adopted may be selected from the alternative engine cylinder deactivation modes according to a set rule.
The embodiment provides a method for determining a cylinder deactivation mode of an alternative engine, wherein in the method, all firing modes in one cycle are determined according to the total number of cylinders and the number of firing cylinders of the engine, a unique firing code is generated for one firing mode, an initial code with the same number as the cycle number is generated, each bit of the initial code is replaced by the unique firing code according to all the arrangement and combination modes of the unique firing code, a plurality of firing mode codes are generated, and all possible alternative engine cylinder deactivation modes are indicated by all the firing mode codes;
then screening the ignition mode codes according to the definition condition of the equilibrium cyclic matrix to obtain alternative engine cylinder deactivation mode codes, and determining a final feasible alternative engine cylinder deactivation mode through the alternative engine cylinder deactivation mode codes;
based on the above, in the method, under the condition that the total number of engine cylinders, the number of firing cylinders fired in one cycle and the number of cycles are determined, all possible (including feasible and infeasible) alternative engine cylinder deactivation modes are encoded, the final feasible alternative engine cylinder deactivation mode is determined through screening processing of the encoding, the alternative engine cylinder deactivation mode is determined through the operation of the encoding, the relevant operation aiming at the firing mode encoding is easy to carry out by utilizing a parallel processing mode, and further when the number of the firing mode encodings is large, the execution efficiency of the computing equipment when the alternative engine cylinder deactivation mode is automatically determined can be greatly improved.
As an alternative embodiment, after determining the alternative engine cylinder deactivation mode code based on the scheme shown in fig. 1, the method further comprises:
and performing cyclic shift with the number of cycles of-1 for one alternative engine cylinder deactivation mode code, generating a plurality of equivalent cylinder deactivation mode codes, and removing the alternative engine cylinder deactivation mode codes which are the same as the equivalent cylinder deactivation mode codes.
Illustratively, in this embodiment, the cyclic shift is implemented by:
taking out the first unique ignition code, moving the whole of the rest unique ignition codes to the position of the original first unique ignition code by one bit, and supplementing the original first unique ignition code to the position of the original last unique ignition code;
for example, if the alternative engine cylinder deactivation mode code is ABC, then two cyclic shifts are performed, with the results of the two cyclic shifts being BCA, CAB, respectively.
For example, in this embodiment, the alternative engine cylinder deactivation mode code is equivalent to the balanced cyclic matrix, and the balanced cyclic matrix is equivalent to the alternative engine cylinder deactivation mode, and for the alternative engine cylinder deactivation mode, due to the characteristic of cyclic operation of the alternative engine cylinder deactivation mode, the alternative engine cylinder deactivation mode is a cycle continuation of a plurality of specified cycles in a certain sequence, and further, after performing circumferential translation along a row (or column) dimension on one balanced cyclic matrix, the obtained matrix is equivalent to the original matrix in cyclic operation;
for example, if the number of elements in a row of the equilibrium cyclic matrix is set to be the same as the total number of cylinders of the engine, and the arrangement of the elements in the row indicates the engine firing pattern, the following three equilibrium cyclic matrices are equivalent:
based on the above, one alternative engine cylinder deactivation mode code is equivalent to one equalization cyclic matrix, and each unique ignition code of the alternative engine cylinder deactivation mode code corresponds to one engine ignition mode, so that the equivalent cylinder deactivation mode code is equivalent to the equivalent equalization cyclic matrix, and further, the alternative engine cylinder deactivation mode repeated (equivalent) with the reserved alternative engine cylinder deactivation mode can be removed on the premise of reserving the alternative engine cylinder deactivation mode through the alternative engine cylinder deactivation mode code cyclic displacement.
As an embodiment, the obtaining the cycle number includes, based on the scheme shown in fig. 1:
and determining the least common multiple of the total number of cylinders and the number of firing cylinders of the engine, and determining the circulation number according to the least common multiple, the number of the firing cylinders and the integer factor.
For example, in the present embodiment, assuming that the total number of cylinders of the engine is n, the number of firing cylinders is w, the number of cycles is m, and the number of fires per cylinder in all cycles is v, the following relationship is satisfied by n, w, m, v according to the balanced cycle matrix definition condition described in step S101:
the situation that all engine cylinders do not work is removed, n, w, m, v is a positive integer, and the public multiples of n and w can be obtained according to the formula;
let L be the least common multiple of n and w, then K be the multiple of L, there is an integer factor K such that:
accordingly, the relationship of m to w can be represented by the following formula:
based on the above relation of n, m, w and L, when n, w are determined, the corresponding number of cycles m can be determined.
For example, in the present solution, the number of cycles may be determined by using a least common multiple, the number of firing cylinders, and an integer factor, and may also be determined by an empirical formula or a fitting function.
In the scheme, the cycle number is determined according to the common multiple, the number of the ignition cylinders and the integer factor, and the ignition mode codes are generated by using the cycle number, so that under the condition that the total number of the engine cylinders and the number of the ignition cylinders are determined, the ignition mode codes which are not matched with the definition conditions of the balanced cyclic matrix are firstly eliminated, the number of the ignition mode codes is further reduced, and redundant calculation is avoided.
For example, when the total number of engine cylinders n is 6, when the number of firing cylinders w is different, the number of cycles m may be determined according to table 1:
TABLE 1
As an alternative embodiment, based on the scheme shown in fig. 1, the firing pattern is encoded as an N-ary number, N being the same as the number of all firing patterns in one cycle, and one unique firing code is one character for constituting the N-ary number.
For example, in the present solution, if the number of all firing patterns in one cycle is 16, the firing pattern codes use a 16-ary code with the same number of bits as the number of cycles, and correspondingly, the unique firing code includes 0-9 and a-F for forming the 16-ary code.
As an embodiment, on the basis of the scheme shown in fig. 1, it is set that the equalization cyclic matrix generated according to the equalization cyclic matrix definition satisfies the following conditions:
the elements in the equilibrium circulation matrix comprise 1 and 0, wherein 1 is used for indicating that the engine cylinder fires, and 0 is used for indicating that the engine cylinder does not fire;
the number of elements in the rows in the balance circulation matrix is the same as the total cylinder number of the engine, the number of rows in the balance circulation matrix is the same as the circulation number, and one arrangement mode of 1 and 0 in the rows in the balance circulation matrix represents a firing mode;
in an equalization circulant matrix, the sums of elements of each row are identical and the sums of elements of each column are identical.
Correspondingly, in the present solution, generating a unique ignition code for an ignition mode further includes:
determining the number of vector elements of a matrix row vector according to the total number of engine cylinders, setting the number of vector elements which are the same as the number of ignition cylinders as 1, setting the rest vector elements as 0, and determining the arrangement modes of 1 and 0 according to unique ignition codes;
data cleaning of all firing pattern codes includes:
and aiming at one ignition mode code, acquiring matrix row vectors corresponding to each unique ignition code, generating a judgment matrix by adopting all matrix row vectors, and if the element sums in each matrix row vector of the judgment matrix are respectively equal, reserving the corresponding ignition mode code.
In the scheme, the equalization cyclic matrix is set to contain 1 and 0 elements, so that the operation amount of related steps can be reduced when data cleaning is carried out, and the operation efficiency is ensured.
In this embodiment, the above embodiments may be arbitrarily combined, and fig. 2 is a flowchart of another alternative engine cylinder deactivation mode determining method in the embodiment, and referring to fig. 2, for example, in one possible implementation, the alternative engine cylinder deactivation mode determining method may be:
s201, acquiring the total cylinder number of the engine, the number of ignition cylinders which fire in one cycle and a balanced cycle matrix definition condition.
In this embodiment, the total number of cylinders of the engine and the number of cylinders that fire in one cycle are the same as those described in step S101.
Setting that an equilibrium cyclic matrix generated according to the definition of the equilibrium cyclic matrix meets the following conditions:
the elements in the equilibrium circulation matrix comprise 1 and 0, wherein 1 is used for indicating the ignition of an engine cylinder, 0 is used for indicating the non-ignition of the engine cylinder, and an arrangement mode of 1 and 0 in a row is used for indicating an ignition mode;
the number of elements in the rows in the balance circulation matrix is the same as the total cylinder number of the engine, and the number of the rows in the balance circulation matrix is the same as the circulation number;
in an equalization circulant matrix, the sums of elements of each row are identical and the sums of elements of each column are identical.
S202, determining the least common multiple of the total cylinder number and the ignition cylinder number of the engine, and determining the circulation number according to the least common multiple, the ignition cylinder number and the integer factor.
In this scheme, the number of cycles is determined according to the following formula:
in the above formula, L is the least common multiple of the total number of cylinders of the engine n and the number of firing cylinders w, m is the number of cycles, and k is an integer factor.
S203, determining all firing modes in one cycle according to the total number of cylinders of the engine and the number of firing cylinders, and generating a unique firing code for one firing mode.
S204, generating an initial code with the same number of digits as the cycle number, and replacing each digit of the initial code with a unique ignition code according to all the arrangement and combination modes of the unique ignition codes to generate a plurality of ignition mode codes.
In combination with step S201 to step S204, in this scheme, the firing pattern code is specifically m-bit multi-level firing pattern code, and when the number of levels is determined by n and w, the number of all firing patterns in one cycle is the same (i.e. when the firing patterns are represented by the arrangement modes of 1 and 0 in row vectors, the number of all the arrangements and combinations of 1 and 0 in row vectors is the same);
meanwhile, a unique ignition code is a character for constituting a multilevel number, for example, if the multilevel number is 16, the unique ignition code includes 0 to 9 and a to F for constituting the 16-level number.
S205, cleaning data of all ignition mode codes, screening out ignition mode codes matched with the definition conditions of the equalization cyclic matrix, recording the ignition mode codes as alternative engine cylinder deactivation mode codes, and de-duplicating the alternative engine cylinder deactivation mode codes.
In the scheme, aiming at one ignition mode code, matrix row vectors corresponding to each unique ignition code are obtained, all matrix row vectors are adopted to generate a judgment matrix, and if the sum of 1 in each matrix row vector of the judgment matrix is equal, the corresponding ignition mode code is reserved.
In this scheme, coding the alternate engine cylinder deactivation mode for de-duplication includes:
and performing cyclic shift with the number of cycles of-1 for each alternative engine cylinder deactivation mode code, generating a plurality of equivalent cylinder deactivation mode codes, and removing the alternative engine cylinder deactivation mode codes which are the same as the equivalent cylinder deactivation mode codes.
S206, determining the alternative engine cylinder deactivation mode according to the alternative engine cylinder deactivation mode code.
In the scheme, a corresponding balance cyclic matrix is determined according to the alternative engine cylinder deactivation mode codes, and the alternative engine cylinder deactivation mode is determined according to the arrangement mode of 1 and 0 in each row in the balance cyclic matrix.
Example two
The embodiment provides an alternative engine cylinder deactivation mode determining device, which comprises an alternative engine cylinder deactivation mode determining unit, wherein the alternative engine cylinder deactivation mode determining unit is used for:
acquiring the total cylinder number of an engine, the number of ignition cylinders which fire in one cycle, the cycle number and a balanced cycle matrix definition condition;
determining all firing modes in one cycle according to the total number of cylinders of the engine and the number of firing cylinders, and generating a unique firing code for one firing mode;
generating an initial code with the same number of digits as the number of cycles, and replacing each digit of the initial code with a unique ignition code according to all arrangement and combination modes of the unique ignition codes to generate a plurality of ignition mode codes;
data cleaning is carried out on all ignition mode codes, ignition mode codes matched with the definition conditions of the balanced cyclic matrix are screened out, and the ignition mode codes are recorded as alternative engine cylinder deactivation mode codes;
and determining the alternative engine cylinder deactivation mode according to the alternative engine cylinder deactivation mode code.
Specifically, in this embodiment, the alternative engine cylinder deactivation mode determining unit may be specifically configured to implement any one of the alternative engine cylinder deactivation mode determining methods described in the first embodiment, and the beneficial effects thereof are the same as those described in the first embodiment, and are not described herein.
For example, in this embodiment, the alternative engine cylinder deactivation mode determining apparatus may be implemented in software, and the apparatus may be configured in an electronic device, for example, a mobile phone, a computer, or a tablet computer.
Example III
Fig. 3 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 3, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the alternative engine deactivation mode determination method.
In some embodiments, the alternative engine deactivation mode determination method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the alternative engine cylinder deactivation mode determination method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the alternative engine deactivation mode determination method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.
Claims (9)
1. An alternative engine cylinder deactivation mode determination method, comprising:
acquiring the total cylinder number of an engine, the number of ignition cylinders which fire in one cycle, the cycle number and a balanced cycle matrix definition condition;
the equalization looping matrix definition conditions include:
the elements in the balance cyclic matrix comprise a first element and a second element, the sum of the elements in each matrix row vector in the balance cyclic matrix is respectively equal, and the sum of the elements in each matrix column vector is respectively equal;
determining all firing patterns in a cycle according to the total number of cylinders of the engine and the number of firing cylinders, and generating a unique firing code for one firing pattern, wherein the method comprises the following steps:
determining the number of vector elements of the matrix row vector according to the total number of engine cylinders, setting the vector elements with the same number as the number of ignition cylinders as the first element, setting the rest vector elements as the second element, and determining the arrangement mode of the first element and the second element according to the unique ignition code;
generating an initial code with the same number of digits as the cycle number, and replacing each digit of the initial code with one unique ignition code according to all arrangement and combination modes of the unique ignition codes to generate a plurality of ignition mode codes;
data cleaning is carried out on all the ignition mode codes, and the method comprises the following steps:
aiming at one ignition mode code, acquiring the matrix row vectors corresponding to each unique ignition code, adopting all the matrix row vectors to generate a judgment matrix, and if the elements in each matrix row vector of the judgment matrix are respectively equal, reserving the corresponding ignition mode code and marking the ignition mode code as an alternative engine cylinder-stopping mode code;
and determining an alternative engine cylinder deactivation mode according to the alternative engine cylinder deactivation mode code.
2. The alternative engine cylinder deactivation mode determination method according to claim 1, wherein determining said alternative engine cylinder deactivation mode code further comprises:
and performing cyclic shift with the number of the cycle numbers of the alternative engine cylinder deactivation mode codes of-1 time, generating a plurality of equivalent cylinder deactivation mode codes, and removing the alternative engine cylinder deactivation mode codes which are the same as the equivalent cylinder deactivation mode codes.
3. The alternative engine cylinder deactivation mode determination method according to claim 1, wherein obtaining said cycle number comprises:
and determining the least common multiple of the total number of cylinders of the engine and the number of the firing cylinders, and determining the circulation number according to the least common multiple, the number of the firing cylinders and an integer factor.
4. The alternative engine cylinder deactivation mode determination method according to claim 1, wherein said first element is 1 and said second element is 0.
5. The alternative engine cylinder deactivation mode determination method according to claim 1, wherein said ignition mode is encoded as an N-ary number, N being the same as the number of permutations and combinations of said first element and said second element;
one of the unique ignition codes is a character for constituting the N-ary number.
6. The alternative engine cylinder deactivation mode determination method according to claim 3, wherein said cycle number is determined according to the following equation:
in the above expression, m represents the number of cycles, w represents the number of cylinders to be fired, k represents an integer factor, and L represents the least common multiple of the total number of cylinders of the engine and the number of cylinders to be fired.
7. An alternative engine cylinder deactivation mode determination device, characterized by comprising an alternative engine cylinder deactivation mode determination unit for:
acquiring the total cylinder number of an engine, the number of ignition cylinders which fire in one cycle, the cycle number and a balanced cycle matrix definition condition;
the equalization looping matrix definition conditions include:
the elements in the balance cyclic matrix comprise a first element and a second element, the sum of the elements in each matrix row vector in the balance cyclic matrix is respectively equal, and the sum of the elements in each matrix column vector is respectively equal;
determining all firing patterns in a cycle according to the total number of cylinders of the engine and the number of firing cylinders, and generating a unique firing code for one firing pattern, wherein the method comprises the following steps:
determining the number of vector elements of the matrix row vector according to the total number of engine cylinders, setting the vector elements with the same number as the number of ignition cylinders as the first element, setting the rest vector elements as the second element, and determining the arrangement mode of the first element and the second element according to the unique ignition code;
generating an initial code with the same number of digits as the cycle number, and replacing each digit of the initial code with one unique ignition code according to all arrangement and combination modes of the unique ignition codes to generate a plurality of ignition mode codes;
data cleaning is carried out on all the ignition mode codes, and the method comprises the following steps:
aiming at one ignition mode code, acquiring the matrix row vectors corresponding to each unique ignition code, adopting all the matrix row vectors to generate a judgment matrix, and if the elements in each matrix row vector of the judgment matrix are respectively equal, reserving the corresponding ignition mode code and marking the ignition mode code as an alternative engine cylinder-stopping mode code;
and determining an alternative engine cylinder deactivation mode according to the alternative engine cylinder deactivation mode code.
8. An electronic device comprising at least one processor, and a memory communicatively coupled to the at least one processor;
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the alternative engine cylinder deactivation mode determination method of any of claims 1-6.
9. A computer readable storage medium storing computer instructions for causing a processor to execute the alternative engine cylinder deactivation mode determination method according to any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310064436.6A CN115807714B (en) | 2023-02-06 | 2023-02-06 | Alternative cylinder deactivation mode determining method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310064436.6A CN115807714B (en) | 2023-02-06 | 2023-02-06 | Alternative cylinder deactivation mode determining method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115807714A CN115807714A (en) | 2023-03-17 |
CN115807714B true CN115807714B (en) | 2023-05-23 |
Family
ID=85487506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310064436.6A Active CN115807714B (en) | 2023-02-06 | 2023-02-06 | Alternative cylinder deactivation mode determining method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115807714B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108869056A (en) * | 2018-07-31 | 2018-11-23 | 辽宁工业大学 | A kind of cylinder-variable cylinder deactivation of engine device and its control method |
CN109252968A (en) * | 2018-10-12 | 2019-01-22 | 天津大学 | A kind of engine dynamic cylinder deactivation reforms control method and its control system |
CN114135403A (en) * | 2021-11-25 | 2022-03-04 | 中国第一汽车股份有限公司 | Control method and device for engine cylinder deactivation and engine |
CN114962016A (en) * | 2021-08-18 | 2022-08-30 | 长城汽车股份有限公司 | Engine cylinder deactivation control method, engine cylinder deactivation control device, medium and vehicle |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7647154B2 (en) * | 2007-09-26 | 2010-01-12 | Gm Global Technology Operations, Inc. | Method and control architecture for optimization of cylinder deactivation selection and engine input torque for a hybrid powertrain system |
-
2023
- 2023-02-06 CN CN202310064436.6A patent/CN115807714B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108869056A (en) * | 2018-07-31 | 2018-11-23 | 辽宁工业大学 | A kind of cylinder-variable cylinder deactivation of engine device and its control method |
CN109252968A (en) * | 2018-10-12 | 2019-01-22 | 天津大学 | A kind of engine dynamic cylinder deactivation reforms control method and its control system |
CN114962016A (en) * | 2021-08-18 | 2022-08-30 | 长城汽车股份有限公司 | Engine cylinder deactivation control method, engine cylinder deactivation control device, medium and vehicle |
CN114135403A (en) * | 2021-11-25 | 2022-03-04 | 中国第一汽车股份有限公司 | Control method and device for engine cylinder deactivation and engine |
Also Published As
Publication number | Publication date |
---|---|
CN115807714A (en) | 2023-03-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103326732B (en) | The method of compression data, the decompression method of data, encoder | |
CN103412960B (en) | Image perception hash method based on bilateral accidental projection | |
CN108985066B (en) | Intelligent contract security vulnerability detection method, device, terminal and storage medium | |
US10810235B1 (en) | Efficient region identification using hierarchical geocoded information | |
Raginsky | Shannon meets Blackwell and Le Cam: Channels, codes, and statistical experiments | |
JP6035026B2 (en) | Image coding method | |
CN104657481A (en) | Data storage method and device and data query method and device | |
CN115807714B (en) | Alternative cylinder deactivation mode determining method, device, equipment and storage medium | |
CN115875141B (en) | Cylinder deactivation path determining method, device, equipment and storage medium | |
CN106802927A (en) | A kind of date storage method and querying method | |
CN111639523A (en) | Target detection method, target detection device, computer equipment and storage medium | |
CN104572994A (en) | Method and device for searching data | |
CN111008691A (en) | Convolutional neural network accelerator architecture with weight and activation value both binarized | |
CN116610731B (en) | Big data distributed storage method and device, electronic equipment and storage medium | |
CN116483645A (en) | Device virtual debugging method, device, storage medium and program product | |
CN106650240A (en) | Construction method of parallel hash function | |
CN117319932A (en) | Fence determination method, apparatus, computer device, storage medium, and program product | |
CN114466012B (en) | Content initialization method, device, electronic equipment and storage medium | |
CN116228045A (en) | Method and device for evaluating weak links in product reliability based on performance degradation | |
CN112598139B (en) | Category encoding method, category encoding device, category encoding apparatus, category encoding device, category encoding storage medium, and category encoding program product | |
CN103957012A (en) | Method and device for compressing DFA matrix | |
US11562290B2 (en) | Machine learning model score obfuscation using coordinated interleaving | |
CN115658730A (en) | Sparse data query method, device, device and computer-readable storage medium | |
US10263638B2 (en) | Lossless compression method for graph traversal | |
CN112509073A (en) | Image compression sensing method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |