Spark plug replacement reminder method, device and electronic equipment
The usable mileage is predicted through the spark plug gap value change curve, and the user is reminded to replace the spark plug when appropriate, which solves the problem of improper replacement timing in the existing technology and ensures stable engine operation and effective utilization of resources.
Patent Information
- Application Number
- CN202310318993.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-27
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-03-27
AI Technical Summary
The existing technology cannot replace the spark plug at the right time, resulting in a waste of resources or engine damage, and cannot effectively predict the serviceable mileage of the spark plug.
By obtaining the actual usage mileage of the spark plug and the spark plug gap value change curve, the usable mileage of the spark plug is calculated, and the user is reminded to replace the spark plug when the usable mileage is close to avoid resource waste and potential safety hazards.
It realizes the reminder to replace the spark plug at the right time, ensuring the stable operation of the engine, avoiding waste of resources and potential safety hazards, and improving the user experience.
Smart Images

Figure CN116378876B_ABST
Abstract
Description
Technical Field
[0001] The present application mainly relates to the field of engine detection technology, and in particular to a spark plug replacement reminder method, device and electronic equipment. Background Art
[0002] Spark plugs are mainly used to ignite the mixed gas in the engine cylinder, so that the mixed gas burns in the engine cylinder to provide power for the vehicle. The spark plug provides ignition energy through a high-voltage coil, thereby forming a high-energy spark between the center electrode and the side electrode of the spark plug, and then ignites the mixed gas in the engine cylinder. The degree of aging and wear of the spark plug will directly affect the combustion state in the engine cylinder.
[0003] Spark plugs can malfunction or even fail due to wear, electrode corrosion or accumulation of sediment, such as carbon deposits, so they need to be replaced regularly after the vehicle has been running for a certain period of time. At present, the strategies for replacing spark plugs are: 1. Maintain the vehicle and replace the spark plugs according to the prescribed time. 2. Replace them when the engine fails, such as engine misfire, or when the spark plug fails, such as the spark plug cannot normally generate high-energy sparks to allow the engine to run normally.
[0004] When replacing spark plugs according to the first strategy, the spark plugs may only be slightly worn and still usable, so it will cause a waste of resources. When replacing spark plugs according to the second strategy, it may cause damage to the engine after-treatment system. For example, the mixed gas is not fully burned in the cylinder, and continues to burn after being discharged into the engine after-treatment system, causing the engine after-treatment system to be damaged due to excessive temperature, and causing exhaust emissions to exceed the standard. Based on the above strategies, it is impossible to replace the spark plugs at the right time. Summary of the invention
[0005] The present application provides a spark plug replacement reminder method, device and electronic equipment for predicting the usable mileage of a spark plug according to a spark plug gap change curve of the spark plug, so as to remind the user to replace the spark plug in time when the actual mileage of the spark plug is close to the usable mileage of the spark plug.
[0006] In a first aspect, the present application provides a spark plug replacement reminder method, the method comprising:
[0007] Get the actual mileage of the spark plug;
[0008] Calculating the usable mileage of the spark plug according to a current spark plug gap value variation curve of the spark plug and a spark plug gap threshold, wherein the spark plug gap value variation curve represents a corresponding relationship between the spark plug gap value and the usable mileage;
[0009] Determining whether the actual service mileage of the spark plug is greater than the usable mileage of the spark plug;
[0010] If so, a spark plug replacement reminder message is issued;
[0011] If not, keep the current spark plug usage status.
[0012] Based on the above method, the change of the spark plug gap value is quantified through the cumulative detection of the spark plug gap value change curve, so that the user can be reminded to replace the spark plug at the right time, eliminating potential safety hazards, ensuring the stable operation of the engine, and avoiding the waste of resources caused by replacing the spark plug before the spark plug reaches the upper limit of use.
[0013] In an optional implementation, before calculating the usable mileage of the spark plug according to the current spark plug gap value variation curve and the spark plug gap threshold of the spark plug, the method further includes:
[0014] Obtaining a target ignition energy value of a target cylinder under a preset working condition;
[0015] Calculating a current spark plug gap value of the spark plug based on the target ignition energy value;
[0016] The current spark plug gap value of the spark plug is fitted with a point in a historical spark plug gap value variation curve of the spark plug to obtain the current spark plug gap value variation curve of the spark plug.
[0017] Through the above method, the current spark plug gap value of the spark plug can be accurately calculated based on the target ignition energy, so that the spark plug gap value can be quantified through the spark plug gap value variation curve.
[0018] In an optional implementation, obtaining a target ignition energy value of a target cylinder under a preset working condition includes:
[0019] Acquiring a current ignition energy value of the target cylinder under a preset working condition;
[0020] gradually reducing the ignition energy value according to a preset value until the engine is in a misfire state, and obtaining a current ignition energy value when the engine is in a misfire state;
[0021] The current ignition energy value is used as the target ignition energy value.
[0022] In an optional implementation, the calculating the current spark plug gap value of the spark plug based on the target electric spark energy value includes:
[0023] Obtaining a breakdown voltage value and a target ignition energy value of the spark plug;
[0024] Dividing the target ignition energy value by the breakdown voltage value to obtain a first value;
[0025] The multiple value of the first value is used as the current spark plug gap value of the spark plug.
[0026] In a second aspect, the present application provides a spark plug replacement reminder device, the device comprising:
[0027] An acquisition module, used to obtain the actual mileage of the spark plug;
[0028] a processing module, configured to calculate the usable mileage of the spark plug according to a current spark plug gap value variation curve of the spark plug and a spark plug gap threshold, wherein the spark plug gap value variation curve represents a corresponding relationship between the spark plug gap value and the usable mileage;
[0029] A judging module, used for judging whether the actual service mileage of the spark plug is greater than the serviceable mileage of the spark plug;
[0030] a reminder module, used for sending a spark plug replacement reminder message when the actual usage mileage of the spark plug is greater than the usable mileage of the spark plug;
[0031] The maintaining module is used to maintain the current usage status of the spark plug when the actual usage mileage of the spark plug is less than the usable mileage of the spark plug.
[0032] In an optional implementation, the processing module is specifically used for:
[0033] Obtaining a target ignition energy value of a target cylinder under a preset working condition;
[0034] Calculating a current spark plug gap value of the spark plug based on the target ignition energy value;
[0035] The current spark plug gap value of the spark plug is fitted with a point in a historical gap value variation curve of the spark plug to obtain the current spark plug gap value variation curve of the spark plug.
[0036] In an optional implementation, the processing module is further used for:
[0037] Acquiring a current ignition energy value of the target cylinder under a preset working condition;
[0038] gradually reducing the ignition energy value according to a preset value until the engine is in a misfire state, and obtaining a current ignition energy value when the engine is in a misfire state;
[0039] The current ignition energy value is used as the target ignition energy value.
[0040] In an optional implementation, the processing module is further used for:
[0041] Obtaining a breakdown voltage value and a target ignition energy value of the spark plug;
[0042] Dividing the target ignition energy value by the breakdown voltage value to obtain a first value;
[0043] The multiple value of the first value is used as the current spark plug gap value of the spark plug.
[0044] In a third aspect, the present application provides an electronic device, including:
[0045] Memory, used to store computer programs;
[0046] The processor is used to implement the steps of the above-mentioned spark plug replacement reminder method when executing the computer program stored in the memory.
[0047] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned spark plug replacement reminder method are implemented.
[0048] For each aspect from the second to the fourth aspect and the technical effects that may be achieved by each aspect, please refer to the above description of the technical effects that can be achieved by the first aspect and various possible solutions in the first aspect, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;
[0050] Figure 2 A flowchart of a spark plug replacement reminder method provided in an embodiment of the present application;
[0051] Figure 3 A curve fitting schematic diagram provided for an embodiment of the present application;
[0052] Figure 4 A schematic diagram of a spark plug replacement reminder device provided in an embodiment of the present application;
[0053] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The specific operating methods in the method embodiments can also be applied to device embodiments or system embodiments. It should be noted that in the description of the present application, "multiple" is understood as "at least two". "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A is connected to B, which can represent: A is directly connected to B and A is connected to B through C. In addition, in the description of the present application, words such as "first" and "second" are only used to distinguish the purpose of description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0055] Before introducing the spark plug replacement reminder method provided in the embodiment of the present application, some concepts or technical terms mentioned in the embodiment of the present application are first briefly introduced.
[0056] (1) Spark plug: It is an important component in the engine ignition system. It can introduce high voltage electricity into the engine cylinder and make it jump over the electrode gap to generate sparks, thereby igniting the combustible mixture in the cylinder.
[0057] (2) Spark plug gap value: refers to the gap distance between the center electrode and the side electrode of the spark plug.
[0058] (3) Ignition energy: the minimum energy required for successful engine ignition.
[0059] (4) Breakdown voltage: The minimum voltage required to generate an electric spark between the middle electrode and the side electrode of the spark plug.
[0060] Further, based on the above-mentioned concepts or technical terms, the design concept of the embodiments of the present application is briefly introduced below:
[0061] Spark plugs are mainly used to ignite the mixed gas in the engine cylinder, so that the mixed gas burns in the engine cylinder to provide power for the vehicle. The spark plug provides ignition energy through a high-voltage coil, thereby forming a high-energy spark between the center electrode and the side electrode of the spark plug, and then ignites the mixed gas in the engine cylinder. The degree of aging and wear of the spark plug will directly affect the combustion state in the engine cylinder.
[0062] Spark plugs can malfunction or even fail due to wear, electrode corrosion or accumulation of sediment, such as carbon deposits, so they need to be replaced regularly after the vehicle has been running for a certain period of time. At present, the strategies for replacing spark plugs are: 1. Maintain the vehicle and replace the spark plugs according to the prescribed time. 2. Replace them when the engine fails, such as engine misfire, or when the spark plug fails, such as the spark plug cannot normally generate high-energy sparks to allow the engine to run normally.
[0063] When replacing spark plugs according to the first strategy, the spark plugs may only be slightly worn and still usable, so it will cause a waste of resources. When replacing spark plugs according to the second strategy, it may cause damage to the engine after-treatment system. For example, the mixed gas is not fully burned in the cylinder and continues to burn after being discharged into the engine after-treatment system, causing the engine after-treatment system to be overheated and damaged, and causing the exhaust emissions to exceed the standard.
[0064] In view of this, in order to better determine the replacement timing of the spark plug and bring a better usage experience to users, an embodiment of the present application provides a spark plug replacement reminder method, which specifically includes: first obtaining the actual usage mileage of the spark plug; then calculating the usable mileage of the spark plug according to the current spark plug gap value change curve of the spark plug and the spark plug gap threshold, wherein the spark plug gap value change curve represents the correspondence between the spark plug gap value and the usage mileage; further judging whether the actual usage mileage of the spark plug is greater than the usable mileage of the spark plug; if so, issuing a spark plug replacement reminder message; if not, maintaining the current usage status of the spark plug.
[0065] Reference Figure 1 As shown, a schematic diagram of an optional application scenario provided by an embodiment of the present application includes: a server and a vehicle. The server and the vehicle can exchange information through a communication network, wherein the communication mode adopted by the communication network may include: a wireless communication mode and a wired communication mode.
[0066] Exemplarily, the server can access the network through cellular mobile communication technology to communicate with the vehicle, wherein the cellular mobile communication technology, for example, includes the fifth generation mobile communication (5th Generation Mobile Network, 5G) technology.
[0067] Optionally, the server may access the network and communicate with the vehicle via short-range wireless communication, wherein the short-range wireless communication method includes, for example, Wireless Fidelity (Wi-Fi) technology.
[0068] The embodiment of the present application does not impose any restriction on the number of communication devices involved in the above system architecture. For example, more servers may be included, or other network devices may be included, such as Figure 1 As shown, only the server and the vehicle are described as examples, and the above-mentioned devices and their respective functions are briefly introduced below.
[0069] The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, content delivery networks (Content Delivery Network, CDN) and big data and artificial intelligence platforms; it should also be noted that in the embodiments of the present application, the server can be used to execute the spark plug replacement reminder method provided in the embodiments of the present application.
[0070] The vehicle may be any vehicle having an engine and a spark plug, for example, a vehicle using gasoline or the like as fuel or a vehicle using natural gas, methanol or the like as fuel.
[0071] Specifically, in an embodiment of the present application, the server is used to obtain the actual mileage of the spark plug; then the usable mileage of the spark plug is calculated based on the current spark plug gap value change curve of the spark plug and the spark plug gap threshold, wherein the spark plug gap value change curve represents the corresponding relationship between the spark plug gap value and the usable mileage; further determine whether the actual mileage of the spark plug is greater than the usable mileage of the spark plug; if so, issue a spark plug replacement reminder message; if not, maintain the current usage status of the spark plug.
[0072] Based on the above method, the useful mileage of the spark plug is predicted by the spark plug gap value change curve of the spark plug, so that when the actual mileage of the spark plug is close to the useful mileage of the spark plug, the user can be reminded to replace the spark plug in time, thereby improving the user experience.
[0073] The spark plug replacement reminder method provided in the embodiment of the present application is described below in combination with the above system architecture and the accompanying drawings.
[0074] Reference Figure 2 The figure is a flow chart of a spark plug replacement reminder method provided by an embodiment of the present application. The specific implementation process of the method is as follows:
[0075] S21, obtaining the actual mileage of the spark plug;
[0076] In the embodiment of the present application, the actual mileage of the spark plug can be obtained by an electronic control unit (ECU) in the vehicle reading data in the engine. After reading the data in the engine, the ECU sends the actual mileage of the spark plug to the server.
[0077] S22, calculating the usable mileage of the spark plug according to the current spark plug gap value variation curve of the spark plug and the spark plug gap threshold;
[0078] In an optional embodiment, the target ignition energy value of the target cylinder is first obtained under a preset working condition. It should be noted that the target cylinder is the cylinder whose target ignition energy value is to be measured. For example, the engine of the current vehicle is a four-cylinder engine, so the target cylinder can be one of the cylinders one, two, three or four. When obtaining the target ignition energy value of the target cylinder, it is necessary to test each cylinder separately. The target ignition energy value is the minimum ignition energy value required for the spark plug to ignite the mixed gas in the engine.
[0079] In the embodiment of the present application, when obtaining the target ignition energy value of the target cylinder, the engine is first set to the spark plug gap checking mode. At this time, it is necessary to keep the engine running under a stable working condition.
[0080] Specifically, the engine speed is set to a preset speed, such as 2000 rpm, 3000 rpm or other stable speeds that can make the engine run smoothly. The embodiment of the present application is not specifically limited here. The vehicle where the engine is located is set to N gear (neutral gear), the engine throttle and ignition advance angle are set to preset parameters, and there is no engine fault, and the target cylinder is in an unfired state. Setting the engine to a preset working condition can obtain a more accurate and stable target ignition energy value.
[0081] In an optional implementation, obtaining a target ignition energy value of a target cylinder under a preset working condition includes the following steps:
[0082] First, the current ignition energy value of the target cylinder is obtained under the preset working condition. Specifically, the current ignition energy value of the target cylinder is the ignition energy value generated by the spark plug igniting the mixed gas in the target cylinder under the current engine operation state, such as 40 millijoules. It should be noted that the current ignition energy value is greater than the target ignition energy value.
[0083] Further, the current ignition energy value is gradually reduced according to the preset value until the engine is in a misfire state. Specifically, for example, the preset value is set to 1 millijoule, and the current ignition energy value is reduced by 1 millijoule each time according to the preset value. After reducing the current ignition energy value, the engine is ignited to determine whether the engine can ignite successfully under the current ignition energy value. If the engine can ignite successfully, the current ignition energy value is further reduced according to the preset value. If the engine cannot ignite successfully and is in a misfire state, the current ignition energy value when the engine is in a misfire state is obtained. The specific preset value is determined according to the actual application scenario and is not specifically limited here.
[0084] The current ignition energy value when the engine is in a misfire state is used as the target ignition energy value. For example, the current ignition energy value is gradually reduced until it is reduced by 35 joules. When the engine is in a misfire state, 35 millijules is used as the target ignition energy value.
[0085] By using the above method, the target ignition energy value is obtained under the preset working conditions, which can ensure that the current spark plug gap value obtained by the target ignition energy value is relatively accurate, thereby accurately predicting the usable mileage of the spark plug.
[0086] In an optional implementation, the current spark plug gap value of the spark plug may be calculated using the breakdown voltage value of the spark plug and the target ignition energy value.
[0087] First of all, the breakdown voltage value of the spark plug and the target ignition energy value when the engine is ignited are obtained through the ECU in the vehicle. For example, the breakdown voltage value of the spark plug obtained through the ECU under the current working condition is 7000V, and the target ignition energy value is 35 joules.
[0088] Further, the target ignition energy value is divided by the breakdown voltage value to obtain a first value, for example, 7000 V is divided by 35 joules, and the first value is 200, and then the multiple of the first value is used as the current spark plug gap value of the spark plug.
[0089] In the above optional implementation manner, the current spark plug gap value of the above spark plug can be obtained by the following calculation formula:
[0090]
[0091] Among them, G gap V is the gap distance between the center electrode and the side electrode of the spark plug, that is, the spark plug gap value, bd is the breakdown voltage of the spark plug, E bd The minimum energy value required for the spark plug to ignite successfully is the target ignition energy value.
[0092] Further, after the current gap value of the spark plug is obtained, the current spark plug gap value of the spark plug is fitted with a point in a historical spark plug gap value variation curve of the spark plug to obtain the current gap value variation curve of the spark plug.
[0093] Specifically, in the embodiment of the present application, the use of the spark plug is detected according to the specified mileage. For example, the spark plug is detected once every 10,000 kilometers, so the current spark plug gap value of a spark plug, such as 0.3mm, can be obtained at 10,000 kilometers. Figure 3 As shown, the mileage of the spark plug is set as the horizontal coordinate, and the current spark plug gap value of the spark plug is set as the vertical coordinate, thereby generating a smooth curve in the coordinate system, and a function of the corresponding relationship between the spark plug gap value and the mileage can be obtained from the curve.
[0094] Furthermore, according to the detection frequency of 20,000 kilometers, the current spark plug gap value of a spark plug can be obtained, and a corresponding coordinate can be obtained. The coordinates obtained at 20,000 kilometers are fitted with the coordinates obtained at 10,000 kilometers, and an approximately linear smooth curve can be obtained. In the above process, the change state of the gap value of the spark plug becomes more and more stable as the mileage increases, so the obtained curve can more accurately predict the current usable mileage of the spark plug.
[0095] It is understandable that by testing the spark plugs according to the specified mileage, a linear smooth curve can be obtained by fitting the actual mileage and spark plug gap value at each test with the points in the historical spark plug gap value change curve. Through the above curve, a function of the spark plug gap value and the actual mileage can be obtained. The spark plug gap threshold is brought into the function to predict the usable mileage of the spark plug. As the number of fittings increases, it can be understood that the function is optimized, so that the usable mileage of the spark plug obtained according to the spark plug gap threshold of the spark plug is more accurate.
[0096] S23, determining whether the actual service mileage of the spark plug is greater than the usable mileage of the spark plug;
[0097] Through step S22, the usable mileage of the spark plug can be predicted when the spark plug has different mileages, and then the actual mileage is compared with the predicted usable mileage. If the actual mileage of the spark plug is greater than the predicted usable mileage, the process proceeds to step S24. If the actual mileage of the spark plug is less than the predicted usable mileage, the process proceeds to step S25.
[0098] Through the above method, the user can be reminded in time to replace the spark plug, eliminating potential safety hazards and ensuring that the engine can run reliably.
[0099] S24, issuing a spark plug replacement reminder message;
[0100] Specifically, the useful mileage of the spark plug is predicted through the spark plug gap value change curve, and then the predicted useful mileage of the spark plug is compared with the current actual mileage. Due to excessive wear of the spark plug, the spark plug gap value is too large, resulting in a shortened useful mileage of the spark plug. For example, the current actual mileage is 50,000 kilometers. Due to the above reasons, the predicted useful mileage is only 49,000 kilometers, which is less than the current actual mileage. At this time, the server sends a spark plug replacement reminder message to the user. In an embodiment of the present application, the server can display the spark plug replacement reminder message through the central control screen or display the spark plug replacement reminder message on the instrument panel or display the spark plug replacement reminder message in other optional ways, which are not specifically limited here.
[0101] S25, maintaining the current usage status of the spark plug.
[0102] If during the use of the vehicle, the engine runs well and the spark plug is less worn, and the spark plug mileage predicted by the spark plug gap value change curve is greater than the actual mileage of the spark plug at this time, it means that the spark plug has not reached its upper limit and the current spark plug usage status can be maintained.
[0103] It should be noted that the engine contains multiple cylinders, and the detection process for the usage of the spark plug in each cylinder is consistent with the above steps described in the embodiment of the present application. When the engine contains multiple cylinders, the usage data of the spark plug corresponding to one cylinder can be returned to the server after the usage of the spark plug corresponding to the cylinder is detected, or the usage data of all spark plugs can be returned to the server after the usage of the spark plugs in all cylinders is detected. When the spark plugs need to be replaced, the server can specifically inform the user of the spark plugs that need to be replaced, thereby eliminating the process of disassembling the spark plugs to determine whether they need to be replaced.
[0104] Based on the above method, a spark plug gap value change curve is generated by cumulative detection of the spark plug gap value, thereby realizing the quantification of the spark plug gap value, so as to remind the user to replace the spark plug at the right time, eliminate potential safety risks, ensure the stable operation of the engine, and avoid the waste of resources caused by replacing the spark plug before the spark plug reaches the upper limit of use.
[0105] Based on the same inventive concept, the embodiment of the present application also provides a spark plug replacement reminder device, such as Figure 4 As shown, the device comprises:
[0106] An acquisition module 401 is used to acquire the actual mileage of the spark plug;
[0107] The processing module 402 is used to calculate the usable mileage of the spark plug according to the current spark plug gap value change curve and the spark plug gap threshold of the spark plug;
[0108] A judgment module 403 is used to judge whether the actual service mileage of the spark plug is greater than the usable mileage of the spark plug;
[0109] A reminder module 404, configured to send a spark plug replacement reminder message when the actual usage mileage of the spark plug is greater than the usable mileage of the spark plug;
[0110] The maintaining module 405 is used to maintain the current usage status of the spark plug when the actual usage mileage of the spark plug is less than the usable mileage of the spark plug.
[0111] In an optional implementation, the processing module is specifically used for:
[0112] Obtaining a target ignition energy value of a target cylinder under a preset working condition;
[0113] Calculating a current spark plug gap value of the spark plug based on the target ignition energy value;
[0114] The current spark plug gap value of the spark plug is fitted with a point in a historical gap value variation curve of the spark plug to obtain the current spark plug gap value variation curve of the spark plug.
[0115] In an optional implementation, the processing module is further used for:
[0116] Acquiring a current ignition energy value of the target cylinder under a preset working condition;
[0117] gradually reducing the ignition energy value according to a preset value until the engine is in a misfire state, and obtaining a current ignition energy value when the engine is in a misfire state;
[0118] The current ignition energy value is used as the target ignition energy value.
[0119] In an optional embodiment, the processing module is further used for:
[0120] Acquiring a current ignition energy value of the target cylinder under a preset working condition;
[0121] gradually reducing the ignition energy value according to a preset value until the engine is in a misfire state, and obtaining a current ignition energy value when the engine is in a misfire state;
[0122] The current ignition energy value is used as the target ignition energy value.
[0123] It should be noted here that the above-mentioned device provided in the embodiment of the present application can implement all the method steps in the above-mentioned spark plug replacement reminder method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be specifically described here.
[0124] Based on the same inventive concept, an electronic device is also provided in the embodiment of the present application, and the electronic device can realize the function of the aforementioned spark plug replacement reminder method, referring to Figure 5 As shown, the electronic device includes:
[0125] At least one processor 501, and a memory 502 connected to the at least one processor 501. The specific connection medium between the processor 501 and the memory 502 is not limited in the embodiment of the present application. Figure 5 In the example, the processor 501 and the memory 502 are connected via a bus 500. The bus 500 is Figure 5 The connections between other components are shown in bold lines, and are not intended to be limiting. The bus 500 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, Figure 5 Only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 501 can also be called a controller, and there is no limitation on the name.
[0126] In the embodiment of the present application, the memory 502 stores instructions that can be executed by at least one processor 501. The at least one processor 501 can execute the spark plug replacement reminder method discussed above by executing the instructions stored in the memory 502. The processor 501 can implement Figure 4 The functions of each module in the device shown.
[0127] Among them, the processor 501 is the control center of the device, and can use various interfaces and lines to connect the various parts of the entire control device. By running or executing instructions stored in the memory 502 and calling data stored in the memory 502, the various functions of the device and processing data, the device can be monitored as a whole.
[0128] In one possible design, the processor 501 may include one or more processing units, and the processor 501 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 501. In some embodiments, the processor 501 and the memory 502 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on separate chips.
[0129] Processor 501 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the spark plug replacement reminder method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.
[0130] The memory 502 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 502 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 502 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 502 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.
[0131] By programming the processor 501, the code corresponding to the spark plug replacement reminder method described in the above embodiment can be fixed into the chip, so that the chip can execute the code when running. Figure 2The steps of the spark plug replacement reminder method of the embodiment shown are as follows: How to design and program the processor 501 is a technique known to those skilled in the art and will not be described in detail here.
[0132] Based on the same inventive concept, an embodiment of the present application further provides a storage medium, which stores computer instructions. When the computer instructions are executed on a computer, the computer executes the spark plug replacement reminder method discussed above.
[0133] In some possible embodiments, various aspects of the map update method provided in the present application can also be implemented in the form of a program product, which includes a program code. When the program product is run on the device, the program code is used to enable the control device to execute the steps of the spark plug replacement reminder method according to various exemplary embodiments of the present application described above in this specification.
[0134] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0135] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0136] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0137] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0138] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A spark plug replacement reminder method, characterized in that: The method comprises: Get the actual mileage of the spark plug; Obtaining a target ignition energy value of a target cylinder under a preset working condition; Calculating a current spark plug gap value of the spark plug based on the target ignition energy value; Fitting the current spark plug gap value of the spark plug with a point in a historical spark plug gap value variation curve of the spark plug to obtain the current spark plug gap value variation curve of the spark plug; Calculating the usable mileage of the spark plug according to a current spark plug gap value variation curve of the spark plug and a spark plug gap threshold, wherein the spark plug gap value variation curve represents a corresponding relationship between the spark plug gap value and the usable mileage; Determining whether the actual service mileage of the spark plug is greater than the usable mileage of the spark plug; If so, a spark plug replacement reminder message is issued; If not, keep the current spark plug usage status.
2. The method according to claim 1, characterized in that Obtain the target ignition energy value of the target cylinder under the preset working conditions, including: Acquiring a current ignition energy value of the target cylinder under a preset working condition; gradually reducing the ignition energy value according to a preset value until the engine is in a misfire state, and obtaining a current ignition energy value when the engine is in a misfire state; The current ignition energy value is used as the target ignition energy value.
3. The method according to claim 1, characterized in that The step of calculating the current spark plug gap value of the spark plug based on the target ignition energy value includes: Obtaining a breakdown voltage value and a target ignition energy value of the spark plug; Dividing the target ignition energy value by the breakdown voltage value to obtain a first value; The multiple value of the first value is used as the current spark plug gap value of the spark plug.
4. A spark plug replacement reminder device, characterized in that: The device comprises: An acquisition module, used to obtain the actual mileage of the spark plug; A processing module, used to obtain a target ignition energy value of a target cylinder under a preset working condition; calculate a current spark plug gap value of the spark plug based on the target ignition energy value; fit the current spark plug gap value of the spark plug with a point in a historical gap value change curve of the spark plug to obtain a current spark plug gap value change curve of the spark plug; calculate the usable mileage of the spark plug according to the current spark plug gap value change curve of the spark plug and a spark plug gap threshold, wherein the spark plug gap value change curve represents a corresponding relationship between the spark plug gap value and the use mileage; A judging module, used for judging whether the actual service mileage of the spark plug is greater than the serviceable mileage of the spark plug; a reminder module, used for sending a spark plug replacement reminder message when the actual usage mileage of the spark plug is greater than the usable mileage of the spark plug; The maintaining module is used to maintain the current usage status of the spark plug when the actual usage mileage of the spark plug is less than the usable mileage of the spark plug.
5. The device according to claim 4, characterized in that The processing module is also used for: Acquiring a current ignition energy value of the target cylinder under a preset working condition; gradually reducing the ignition energy value according to a preset value until the engine is in a misfire state, and obtaining a current ignition energy value when the engine is in a misfire state; The current ignition energy value is used as the target ignition energy value.
6. The device according to claim 4, characterized in that The processing module is also used for: Obtaining a breakdown voltage value and a target ignition energy value of the spark plug; Dividing the target ignition energy value by the breakdown voltage value to obtain a first value; The multiple value of the first value is used as the current spark plug gap value of the spark plug.
7. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to implement the method steps of any one of claims 1 to 3 when executing a computer program stored in the memory.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 3 are implemented.
