Fuzzy inference method, system, terminal and medium for the initial phase of crankshaft in low-speed engine
By combining an angle measurement device with a magnetic induction sensor and using fuzzy reasoning, the problem of the electronic control system being unable to obtain the crankshaft phase after a power outage was solved, thus enabling accurate starting of the low-speed diesel engine.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-28
- Publication Date
- 2026-03-06
AI Technical Summary
The electronic control system is unable to accurately obtain the crankshaft phase of the low-speed diesel engine after a power failure, which affects engine starting.
An angle measuring device consisting of multiple magnetic induction sensors and a semi-circular ring is used to calculate the initial phase of the crankshaft by constructing a state list and using fuzzy inference methods.
It reduces computational costs, improves the accuracy of crankshaft initial phase calculation, and assists in more reliable engine starting.
Smart Images

Figure CN116502719B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of marine electronically controlled low-speed diesel engine technology, specifically to a fuzzy inference method, system, terminal, and medium for the initial phase of the crankshaft of a low-speed engine. Background Technology
[0002] Marine electronically controlled low-speed diesel engines represent the future direction of modern ship propulsion. The traditional mechanical control methods of marine low-speed diesel engines are gradually being replaced by electronic control methods. Electronic control systems, based on crankshaft phase control of fuel injection, exhaust valve switching, and starting, can effectively optimize the performance of diesel engines across the entire operating range, offering high fuel economy and flexible, reliable operation.
[0003] Traditional mechanical control transmits crankshaft phase to the fuel injection system, exhaust drive system, and starting system through relatively fixed mechanical connections. Under normal mechanical connection conditions, these systems do not lose crankshaft phase. Electronic control systems, however, rely on angle measuring elements to obtain crankshaft phase. Various angle measuring elements exist, such as absolute angle encoders and magnetic induction sensor arrays. Compared to angle encoders, magnetic induction sensors offer advantages such as non-contact connection and low cost. However, when obtaining crankshaft phase using magnetic induction sensor arrays, the electronic control system cannot accurately obtain crankshaft phase after power is cut off and then restored, affecting engine starting. Summary of the Invention
[0004] To address the aforementioned shortcomings in the prior art, this invention provides a fuzzy inference method, system, terminal, and medium for the initial phase of a low-speed engine crankshaft.
[0005] According to one aspect of the present invention, a fuzzy inference method for the initial phase of a low-speed engine crankshaft is provided, comprising:
[0006] An angle measuring device is constructed, comprising: n magnetic induction sensors and a semicircular ring for triggering sensor state changes. The semicircular ring is mounted on a disk concentrically connected to the low-speed engine crankshaft. When the low-speed engine crankshaft is at phase 0°, the end of the semicircular ring is located at the position that triggers the first magnetic induction sensor. The n magnetic induction sensors are arranged around the semicircle on the opposite side of the semicircular ring, starting from the first magnetic induction sensor and spaced at phase θ intervals according to the rotation direction of the low-speed engine crankshaft.
[0007] Based on the angle measuring device, the theoretical state of each magnetic induction sensor in each phase interval is calculated to form a state list;
[0008] The actual state of the magnetic induction sensor is obtained and compared with the state list to obtain the phase interval corresponding to the actual state. The initial phase of the low-speed engine crankshaft is calculated to realize fuzzy inference of the initial phase of the low-speed engine crankshaft.
[0009] Preferably, based on the angle measuring device, the theoretical state of each magnetic induction sensor in each phase interval is calculated to form a state list, including:
[0010] Based on the set number of magnetic induction sensors n, the phase interval θ between two adjacent magnetic induction sensors is calculated as follows:
[0011]
[0012] Based on the aforementioned phase interval θ, the number I of phase intervals I, where the crankshaft phase of the low-speed engine is divided equally by θ within the range of 0 to 360°, is calculated as follows:
[0013]
[0014] Determine the theoretical state S corresponding to the high and low levels of the magnetic induction sensor in each phase interval. ji for:
[0015]
[0016] In the formula: For the low-speed crankshaft phase, θ1=θ(j-1), θ2=θ1+180, j is the sensor number, j=1~n;
[0017] Based on the theoretical states of the corresponding high and low levels of the magnetic induction sensor within each phase interval, a theoretical state set A is formed. i A state list is constructed to represent the correspondence between the phase interval and the theoretical state of the magnetic induction sensor.
[0018] Preferably, the step of acquiring the actual state of the magnetic induction sensor, comparing and matching it with the state list to obtain the phase interval corresponding to the actual state, and calculating the initial phase of the low-speed engine crankshaft includes:
[0019] Obtain the actual state of the magnetic induction sensor And compare it with the state list to find the suitable phase interval, when The corresponding phase interval number i is returned, that is, the crankshaft phase of the low-speed engine is in A. i Phase interval, take A i The midpoint of the phase interval is used as the initial phase of the crankshaft. but for:
[0020]
[0021] In the formula, A i This represents the theoretical set of high and low voltage levels of the magnetic sensor within each phase interval.
[0022] Preferably, the number of magnetic induction sensors n ≥ 3.
[0023] According to another aspect of the present invention, a fuzzy inference system for the initial phase of a low-speed engine crankshaft is provided, comprising:
[0024] An angle measuring device module is used to construct an angle measuring device, which includes: n magnetic induction sensors and a semicircular ring for triggering sensor state changes. The semicircular ring is mounted on a disk concentrically connected to the low-speed engine crankshaft. When the low-speed engine crankshaft is at phase 0°, the end of the semicircular ring is located at the position that triggers the first magnetic induction sensor. The n magnetic induction sensors are arranged around the semicircle opposite to the semicircular ring, starting from the first magnetic induction sensor and spaced at phase θ intervals according to the rotation direction of the low-speed engine crankshaft.
[0025] A state list construction module, based on the angle measuring device, calculates the theoretical state of each magnetic induction sensor in each phase interval to form a state list;
[0026] The crankshaft initial phase calculation module is used to obtain the actual state of the magnetic induction sensor, compare and match it with the state list, obtain the phase interval corresponding to the actual state, and calculate the initial phase of the low-speed engine crankshaft, thereby realizing fuzzy inference of the initial phase of the low-speed engine crankshaft.
[0027] Preferably, the number of magnetic induction sensors n ≥ 3.
[0028] According to a third aspect of the present invention, a computer terminal is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, can be used to perform the method described in any of the preceding claims.
[0029] According to a fourth aspect of the present invention, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, can be used to perform the methods described in any of the preceding claims.
[0030] By adopting the above technical solution, the present invention has at least one of the following beneficial effects compared with the prior art:
[0031] The fuzzy inference method, system, terminal and medium for the initial phase of the crankshaft of a low-speed engine provided by this invention can obtain the calculation result of the initial phase of the crankshaft through a combination of sensors, which can significantly reduce the calculation cost.
[0032] The fuzzy inference method, system, terminal, and medium for the initial phase of the crankshaft in a low-speed engine provided by this invention utilizes a combination of multiple sensors, relies on inference methods, and uses the obtained state list to calculate the initial phase of the crankshaft required for engine starting, which is low in cost.
[0033] The fuzzy inference method, system, terminal, and medium for the initial phase of a low-speed engine crankshaft provided by this invention can control the number of installed sensors to make the initial phase obtained by fuzzy inference calculation closer to the actual value, thus providing more accurate assistance for engine starting. Attached Figure Description
[0034] Other features, objects, and advantages of the present invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0035] Figure 1 This is a schematic diagram of the working state of the angle measuring device for the initial phase of the low-speed engine crankshaft in a preferred embodiment of the present invention.
[0036] Figure 2 This is a flowchart illustrating the fuzzy inference method for the initial phase of a low-speed engine crankshaft in a preferred embodiment of the present invention.
[0037] Figure 3 This is a schematic diagram of the components of the fuzzy inference system for the initial phase of the crankshaft of a low-speed engine in a preferred embodiment of the present invention. Detailed Implementation
[0038] The embodiments of the present invention are described in detail below: These embodiments are implemented based on the technical solution of the present invention, and provide detailed implementation methods and specific operation processes. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention.
[0039] One embodiment of the present invention provides an angle measuring device for the initial phase of a low-speed engine crankshaft, which is used in a fuzzy inference scheme for the initial phase of a low-speed engine crankshaft.
[0040] like Figure 1 As shown, the angle measuring device for the initial phase of the low-speed engine crankshaft provided in this embodiment includes: n magnetic induction sensors and 1 semi-circular ring for triggering sensor state changes. The semi-circular ring is mounted on a disk concentrically connected to the low-speed engine crankshaft.
[0041] When the crankshaft of the low-speed engine is at phase 0°, the end of the semicircular ring is located at the position that triggers the first magnetic induction sensor; n magnetic induction sensors are arranged around the semicircle on the opposite side of the semicircular ring, starting from the first magnetic induction sensor and spaced θ apart in the direction of crankshaft rotation.
[0042] In a preferred embodiment, the number of magnetic induction sensors n ≥ 3.
[0043] Another embodiment of the present invention provides a fuzzy inference method for the initial phase of a low-speed engine crankshaft. This method belongs to a fuzzy inference technique for the initial phase of the crankshaft based on a combination of multiple magnetic induction sensors. It is used to determine the initial phase angle of the crankshaft of an electronically controlled low-speed diesel engine after the system is powered on, so that the electronic control system can obtain the initial crankshaft position before the initial start control of the electronically controlled low-speed diesel engine.
[0044] like Figure 2 As shown, the fuzzy inference method for the initial phase of a low-speed engine crankshaft provided in this embodiment includes:
[0045] S1, Construct an angle measuring device, which includes: n magnetic induction sensors and one semicircular ring for triggering sensor state changes. The semicircular ring is mounted on a disk concentrically connected to the low-speed engine crankshaft. When the low-speed engine crankshaft is at phase 0°, the end of the semicircular ring is located at the position that triggers the first magnetic induction sensor. The n magnetic induction sensors are arranged around the semicircle on the opposite side of the semicircular ring, starting from the first magnetic induction sensor and spaced θ apart according to the rotation direction of the low-speed engine crankshaft.
[0046] S2, based on the angle measuring device, calculate the theoretical state of each magnetic induction sensor in each phase interval and form a state list;
[0047] S3: Obtain the actual state of the magnetic induction sensor and compare it with the state list to obtain the phase interval corresponding to the actual state, and calculate the initial phase of the low-speed engine crankshaft to realize fuzzy inference of the initial phase of the low-speed engine crankshaft.
[0048] In a preferred embodiment of S1, the constructed angle measuring device includes: n (n≥3) magnetic induction sensors and a semicircular ring for triggering sensor state changes, the semicircular ring being mounted on a disk concentrically connected to the crankshaft of the low-speed engine;
[0049] When the crankshaft is at phase 0°, the end of the semicircular ring is located at the position that triggers the first magnetic induction sensor; n magnetic induction sensors are arranged around the semicircle on the opposite side of the semicircular ring, starting from the first magnetic induction sensor and spaced θ apart in the direction of crankshaft rotation.
[0050] In a preferred embodiment of S2, θ is calculated as follows:
[0051]
[0052] Based on the above angle measuring device, the crankshaft phase within the range of 0 to 360° is divided into I phase intervals according to θ. Then I is:
[0053]
[0054] When the crankshaft is in a certain phase range, the set A of the theoretical states of each magnetic induction sensor in each phase range. i That is, the theoretical set A of the high and low levels of the magnetic induction sensor within each phase interval. i for:
[0055] A i =(S 1i ,S 2i ,……,S ji Equation (3)
[0056] In equation (3): i represents the phase interval number, which is the sensor number, and j = 1 to n;
[0057] Based on the arrangement of the magnetic induction sensors, the theoretical states S of the high and low levels of each magnetic induction sensor in the i-th phase interval are as follows: ji Phase with crankshaft The relationship is as follows:
[0058]
[0059] In formula (4): θ1=θ(j-1), θ2=θ1+180;
[0060] According to the relationship in equation (4), the theoretical sensor state set A corresponding to each phase interval can be obtained. i As shown in Table 1, a list of states representing the correspondence between the phase interval and the theoretical state of the magnetic induction sensor is obtained:
[0061] Table 1
[0062] The set of states corresponding to the phase interval <![CDATA[A1]]> <![CDATA[A2]]> … <![CDATA[A i ]]> Sensor 1 <![CDATA[S 11 ]]> <![CDATA[S 12 ]]> … <![CDATA[S 1i ]]> Sensor 2 <![CDATA[S 21 ]]> <![CDATA[S 22 ]]> … <![CDATA[S 2i ]]> … … … … … sensor j <![CDATA[S j1 ]]> <![CDATA[S j2 ]]> … <![CDATA[S ji ]]>
[0063] In a preferred embodiment of S3, the obtained sensor actual state set Compare with the state list to find the suitable phase interval, when The corresponding i value is returned, indicating that the crankshaft phase is at A. i Phase interval, take the midpoint of the phase interval as the initial phase of the crankshaft. but for:
[0064]
[0065] crankshaft initial phase The maximum deviation from the actual crankshaft phase is 0.5θ. Since θ is inversely proportional to the number of sensors n, the more sensors the angle measuring device includes, the better. The closer to the true value, the greater the phase deviation obtained by fuzzy inference, which is 30°, when n takes the minimum value of 3.
[0066] The technical solution provided by the above embodiments of the present invention will be further described in detail and completely below with reference to a specific application example and accompanying drawings.
[0067] In this specific application example, an angle measuring device is first constructed, comprising n = 3 magnetic induction sensors and a semicircular ring for triggering sensor state changes. This semicircular ring is mounted on a disk concentrically connected to the crankshaft of the low-speed engine. When the crankshaft is at phase 0°, the semicircular ring is positioned to trigger the first magnetic induction sensor 1. The n = 3 magnetic induction sensors are arranged around the semicircle opposite to the semicircular ring, starting from the first magnetic induction sensor 1 and spaced 180 / 3 = 60° apart in the crankshaft rotation direction (e.g., ...). Figure 1 Around the left semicircle in the middle.
[0068] Based on the above crankshaft angle device, the crankshaft phase within the range of 0 to 360° is divided into I = 6 phase intervals at 60° intervals.
[0069] According to equation (4), the theoretical state set A of the high and low levels of the magnetic induction sensor corresponding to each phase interval can be obtained. i The theoretical states of each sensor are shown in Table 2:
[0070] Table 2
[0071] Phase interval <![CDATA[A1]]> <![CDATA[A2]]> <![CDATA[A3]]> <![CDATA[A4]]> <![CDATA[A5]]> <![CDATA[A6]]> Sensor 1 1 1 1 0 0 0 Sensor 2 0 1 1 1 0 0 Sensor 3 0 0 1 1 1 0
[0072] Suppose that when the crankshaft is in a certain phase, the set of actual states fed back by each magnetic induction sensor is given. for:
[0073]
[0074] After comparing and matching with the state list, it can be seen that the A4 state combination matches, that is:
[0075]
[0076] i=4
[0077] but:
[0078] That is, the crankshaft is in the A4 phase interval, and the corresponding initial phase is 210°.
[0079] An embodiment of the present invention provides a fuzzy inference system for the initial phase of a low-speed engine crankshaft, comprising:
[0080] An angle measuring device module is used to construct an angle measuring device, which includes: n magnetic induction sensors and a semicircular ring for triggering sensor state changes. The semicircular ring is mounted on a disk concentrically connected to the low-speed engine crankshaft. When the low-speed engine crankshaft is at phase 0°, the end of the semicircular ring is located at the position that triggers the first magnetic induction sensor. The n magnetic induction sensors are arranged around the semicircle on the opposite side of the semicircular ring, starting from the first magnetic induction sensor and spaced θ apart in the direction of rotation of the low-speed engine crankshaft.
[0081] The state list construction module, based on the angle measuring device, calculates the theoretical state of each magnetic sensor in each phase interval to form a state list;
[0082] The crankshaft initial phase calculation module is used to obtain the actual state of the magnetic induction sensor, compare and match it with the state list, obtain the phase interval corresponding to the actual state, and calculate the initial phase of the low-speed engine crankshaft, realizing fuzzy inference of the initial phase of the low-speed engine crankshaft.
[0083] It should be noted that the steps in the method provided by the present invention can be implemented using the corresponding components in the system. Those skilled in the art can refer to the technical solution of the system to implement the steps of the method, and can also refer to the technical solution of the method to implement the composition of the system. That is, the embodiments in the system and the embodiments in the method can be understood as preferred examples of each other, which will not be elaborated here.
[0084] One embodiment of the present invention provides a computer terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it can be used to execute any of the fuzzy inference methods in the above embodiments of the present invention.
[0085] Optionally, the memory is used to store programs; the memory may include volatile memory, such as random-access memory (RAM), such as static random-access memory (SRAM), double data rate synchronous dynamic random-access memory (DDR SDRAM), etc.; the memory may also include non-volatile memory, such as flash memory. The memory is used to store computer programs (such as application programs, functional modules, etc. that implement the above methods), computer instructions, etc., and the aforementioned computer programs, computer instructions, etc., can be partitioned and stored in one or more memories. Furthermore, the aforementioned computer programs, computer instructions, data, etc., can be accessed by the processor.
[0086] The aforementioned computer programs, computer instructions, etc., can be stored in partitions within one or more memory locations. Furthermore, the aforementioned computer programs, computer instructions, data, etc., can be accessed by a processor.
[0087] A processor is used to execute computer programs stored in memory to implement the various steps of the methods or various modules of the systems involved in the above embodiments. For details, please refer to the relevant descriptions in the preceding method and system embodiments.
[0088] The processor and memory can be separate structures or integrated structures. When the processor and memory are separate structures, they can be coupled together via a bus.
[0089] An embodiment of the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, can be used to perform the fuzzy inference method of any of the above embodiments of the present invention.
[0090] The fuzzy inference method, system, terminal, and medium for the initial phase of the crankshaft of a low-speed engine provided in the above embodiments of the present invention are based on a combination of multiple magnetic induction sensors. The state of the sensors in each phase interval is determined to form a state list. The actual state of the sensors is compared and matched with the state list to obtain the phase interval and calculate the initial phase of the crankshaft. This realizes fuzzy inference of the initial phase of the crankshaft and is used to determine the initial phase angle of the crankshaft of the electronically controlled diesel engine after the system is powered on, so that the electronic control system can obtain the initial crankshaft position before the initial start control of the diesel engine.
[0091] Any matters not covered in the above embodiments of the present invention are well-known in the art.
[0092] The specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art can make various modifications or variations within the scope of the claims, which do not affect the essence of the present invention.
Claims
1. A fuzzy inference method for determining the initial phase of a low-speed engine crankshaft, characterized by, The method comprises the following steps: An angle measurement device is constructed, which comprises n magnetic induction sensors and a semicircular ring for triggering state change of the sensors, the semicircular ring being mounted on a disc connected concentrically with a crankshaft of a low-speed machine; when the crankshaft of the low-speed machine is at a phase of 0°, an end of the semicircular ring is located at a position for triggering a first magnetic induction sensor; the n magnetic induction sensors are arranged around a semicircle on an opposite side of the semicircular ring from the first magnetic induction sensor, with an interval phase θ in a rotation direction of the crankshaft of the low-speed machine; Based on the angle measurement device, a theoretical state of each magnetic induction sensor in each phase interval is calculated to form a state list; An actual state of the magnetic induction sensor is obtained, and compared and matched with the state list to obtain a phase interval corresponding to the actual state, and an initial phase of the crankshaft of the low-speed machine is calculated to realize fuzzy reasoning of the initial phase of the crankshaft of the low-speed machine; The step of obtaining the actual state of the magnetic induction sensor and comparing and matching the actual state with the state list to obtain a phase interval corresponding to the actual state and calculating the initial phase of the crankshaft of the low-speed machine comprises the following steps: Acquiring an actual state set of a magnetic induction sensor and comparing with the state list to find the fitted phase interval, when the corresponding phase interval serial number i is returned, that is, the low-speed machine crankshaft phase is in the A i phase interval, taking the phase middle value of the A i phase interval as the crankshaft initial phase then is: In the formula, A i is the theoretical state set corresponding to the high and low levels of the magnetic induction sensor in each phase interval.
2. The method of claim 1, wherein, The step of calculating the theoretical state of each magnetic induction sensor in each phase interval based on the angle measurement device to form the state list comprises the following steps: According to the number n of the magnetic induction sensors, an interval phase θ between two adjacent magnetic induction sensors is calculated as follows: Based on the interval phase θ, a number I of phase intervals in a range of 0-360°, in which the crankshaft of the low-speed machine is equally divided by θ, is calculated as follows: determining the theoretical state S corresponding to the high and low level of the magnetic induction sensor in each phase interval ji is: In the formula: is the low-speed engine crankshaft phase, θ1=θ(j-1), θ2=θ1+180, j is the sensor serial number, j=1~n; According to the corresponding magnetic induction sensor high and low level theory state S in each phase interval ji , form a set of theoretical states A i , build a state list representing the corresponding relationship between the phase interval and the magnetic induction sensor theoretical state.
3. The method of claim 1 or 2, wherein The number n of the magnetic induction sensors is greater than or equal to 3.
4. A fuzzy inference system for determining the initial phase of a low speed engine crankshaft, characterized by, The method comprises the following steps: An angle measurement device module is used to construct an angle measurement device, which comprises n magnetic induction sensors and a semicircular ring for triggering state change of the sensors, the semicircular ring being mounted on a disc connected concentrically with a crankshaft of a low-speed machine; when the crankshaft of the low-speed machine is at a phase of 0°, an end of the semicircular ring is located at a position for triggering a first magnetic induction sensor; the n magnetic induction sensors are arranged around a semicircle on an opposite side of the semicircular ring from the first magnetic induction sensor, with an interval phase θ in a rotation direction of the crankshaft of the low-speed machine; A state list construction module is used to calculate a theoretical state of each magnetic induction sensor in each phase interval based on the angle measurement device to form a state list; An initial phase calculation module of a crankshaft is used to obtain an actual state of the magnetic induction sensor, compare and match the actual state with the state list to obtain a phase interval corresponding to the actual state, and calculate an initial phase of the crankshaft of the low-speed machine to realize fuzzy reasoning of the initial phase of the crankshaft of the low-speed machine; The step of obtaining the actual state of the magnetic induction sensor and comparing and matching the actual state with the state list to obtain a phase interval corresponding to the actual state and calculating the initial phase of the crankshaft of the low-speed machine comprises the following steps: Acquiring an actual state set of a magnetic induction sensor and comparing with the state list to find the fitted phase interval, when the corresponding phase interval serial number i is returned, that is, the low-speed machine crankshaft phase is in the A i phase interval, taking the phase middle value of the A i phase interval as the crankshaft initial phase then is: In the formula, A i is the theoretical state set corresponding to the high and low levels of the magnetic induction sensor in each phase interval.
5. The system for fuzzy inference of the initial phase of the crankshaft of a low-speed engine according to claim 4, characterized in that, The step of calculating the theoretical state of each magnetic induction sensor in each phase interval based on the angle measurement device to form the state list comprises the following steps:
6. A computer terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that, According to the number n of the magnetic induction sensors, an interval phase θ between two adjacent magnetic induction sensors is calculated as follows:
7. A computer-readable storage medium having stored thereon a computer program, characterized in that Based on the interval phase θ, a number I of phase intervals in a range of 0-360°, in which the crankshaft of the low-speed machine is equally divided by θ, is calculated as follows: The number n of the magnetic induction sensors is greater than or equal to 3. The processor executes the program to execute the method in any one of claims 1-3. The program is executed by the processor to execute the method in any one of claims 1-3.
Citation Information
Patent Citations
Device for measuring crankshaft angle signal of marine low-speed diesel engine
CN110553578A
Diesel engine set state detection method and system
CN115270993A