A method, device, vehicle, and equipment for controlling engine oil pressure alarm in a vehicle.
By controlling the oil pressure light status according to the vehicle's operating mode, the problem of false alarms of the oil pressure light in plug-in hybrid electric vehicles has been solved, improving safety and reliability while avoiding increased hardware costs.
Patent Information
- Application Number
- CN202611316260.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-11-17
AI Technical Summary
The oil pressure light control logic of traditional fuel vehicles cannot be directly adapted to plug-in hybrid electric vehicles, leading to false alarms and safety hazards. Existing improvement solutions are costly, have poor compatibility, and are not reliable enough.
The oil pressure light is controlled according to the vehicle's operating mode. In the first operating mode, the oil pressure switch signal is collected and the light is turned on or off according to the signal. In the second operating mode, the light is kept off to avoid false alarms.
It reduces the probability of false alarms from the oil pressure light, improves driving safety and experience, reduces safety hazards, and requires no hardware modification.
Smart Images

Figure CN123109822A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive electronic control technology, specifically to a method, device, vehicle, and equipment for controlling engine oil pressure alarm in a vehicle. Background Technology
[0002] With the development of new energy vehicle technology, plug-in hybrid electric vehicles (PHEVs) have become one of the mainstream models in the market due to their combination of the economy of pure electric driving and the range assurance of fuel-powered driving. As the core power component of PHEVs, the normal operation of the engine's lubrication system directly affects vehicle driving safety, and the oil pressure light, as a direct warning device for lubrication system malfunctions, relies heavily on the rationality of its control logic.
[0003] Currently, the oil pressure light control scheme for traditional gasoline-powered vehicles is relatively mature, generally employing a mechanical contact oil pressure switch in conjunction with the vehicle controller: when the engine starts and the oil pressure is sufficient, the oil pressure opens the switch, disconnecting the wiring harness and sending a high-level signal to the vehicle controller, extinguishing the warning light; when the oil pressure is insufficient, the switch closes, connecting the wiring harness and sending a low-level signal, illuminating the warning light. This scheme is simple in structure and low in cost, and is widely used in the gasoline-powered vehicle sector. However, the existing oil pressure light control logic for traditional gasoline-powered vehicles cannot be directly adapted to plug-in hybrid electric vehicles (PHEVs) because in pure electric mode, the engine is not running, and the oil pressure is 0 (normal). Traditional gasoline-powered vehicle logic would interpret this as insufficient oil pressure, triggering the warning light and potentially misleading the driver. Furthermore, it suffers from drawbacks such as high cost, poor compatibility, and insufficient reliability, failing to meet the safety operation and large-scale application requirements of PHEVs. Summary of the Invention
[0004] In view of this, this application provides a method, device, vehicle and equipment for controlling the oil pressure alarm of a vehicle, which can reduce the probability of false alarms of the oil pressure light in hybrid vehicles and reduce safety hazards.
[0005] In a first aspect, embodiments of this application provide a method for controlling an oil pressure alarm in a vehicle, wherein the vehicle is a hybrid vehicle, comprising: Obtain the vehicle's current operating mode; When the vehicle is in the first working mode, the oil pressure switch signal is collected, and the state of the oil pressure light is controlled according to the oil pressure switch signal. When the vehicle is in the second operating mode, the oil pressure light is controlled to be turned off.
[0006] In one possible implementation of the first aspect, obtaining the vehicle's current operating mode includes: If the engine speed of the vehicle is greater than a first threshold, the vehicle is determined to be in a first operating mode; otherwise, the vehicle is determined to be in a second operating mode.
[0007] In one possible implementation of the first aspect, obtaining the vehicle's current operating mode further includes: If the vehicle is detected to be in electric mode, or in the ON state, or in the Ready state and the engine is not started, then the vehicle is determined to be in the second operating mode; otherwise, the vehicle is determined to be in the first operating mode.
[0008] In one possible implementation of the first aspect, the step of acquiring an oil pressure switch signal and controlling the state of the oil pressure light based on the oil pressure switch signal when the vehicle is in a first operating mode includes: When the vehicle is in the first operating mode, the oil pressure switch signal is collected; If the collected oil pressure switch signal is a first-level signal, then the oil pressure light will be turned off. If the collected oil pressure switch signal is a second-level signal, then the oil pressure light will be turned on.
[0009] In one possible implementation of the first aspect, the method further includes: When the vehicle engine switches from the start state to the stop state, the oil pressure switch signal is collected; If the collected oil pressure switch signal is a second level signal, then the oil pressure light will be turned off. If the collected oil pressure switch signal is a first-level signal, it is determined to be a wiring harness disconnection fault, the oil pressure light is turned on, and a fault code is reported.
[0010] In one possible implementation of the first aspect, the step of determining a wiring harness disconnection fault and controlling the oil pressure light to illuminate if the acquired oil pressure switch signal is a first-level signal includes: If the high-level signal of the detected oil pressure switch lasts for a longer than the preset time, it is determined to be a wiring harness disconnection fault, the oil pressure light will be turned on, and a fault code will be sent to the fault memory.
[0011] Secondly, embodiments of this application provide an oil pressure alarm control device for a vehicle, wherein the vehicle is a hybrid vehicle, comprising: The acquisition module is used to acquire the vehicle's current operating mode; The processing module is used to acquire the oil pressure switch signal when the vehicle is in the first working mode, and control the state of the oil pressure light according to the oil pressure switch signal; The processing module is also used to control the oil pressure light to be turned off when the vehicle is in the second operating mode.
[0012] Thirdly, embodiments of this application provide a vehicle, including an engine oil circuit, an oil pressure switch, a power controller, and an oil pressure light, wherein: The oil pressure switch is installed in the engine oil circuit; The power controller is used to execute the control method described in any of the first aspects above to control the oil pressure light to turn on or off.
[0013] Fourthly, embodiments of this application provide an electronic device, including a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method described in any of the first aspects above.
[0014] Fifthly, embodiments of this application provide a computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform the method described in any of the first aspects above.
[0015] The solution provided in this application embodiment obtains the vehicle's current operating mode. When the vehicle is in the first operating mode, the oil pressure switch signal is collected, and the state of the oil pressure light is controlled according to the oil pressure switch signal. When the vehicle is in the second operating mode, the oil pressure light is controlled to be off. Thus, in this application embodiment, the vehicle is a hybrid vehicle, and therefore the vehicle's operating modes are divided into a first operating mode and a second operating mode. When the vehicle is in the second operating mode, there is no need to monitor the oil pressure, so the oil pressure light can be controlled to be off. This prevents alarms caused by insufficient oil pressure, thereby avoiding misjudgments by the driver due to false alarms from the oil pressure light and improving driving safety. When the vehicle is in the first operating mode, oil pressure needs to be monitored. At this time, the oil pressure switch signal can be collected, and the state of the oil pressure light can be controlled according to the oil pressure switch signal. This allows for an alarm by illuminating the oil pressure light when insufficient oil pressure is detected, improving driving safety in the first operating mode. In other words, in this embodiment, in the first operating mode, oil pressure needs to be monitored. Therefore, the on / off state of the oil pressure light can be controlled according to the oil pressure switch signal so that insufficient oil pressure can be detected by illuminating the oil pressure light. In the second operating mode, oil pressure does not need to be monitored, so the oil pressure light can be kept off to avoid false alarms. This reduces the probability of false alarms of the oil pressure light in hybrid vehicles, reduces safety hazards, and improves driving safety. Attached Figure Description
[0016] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 A flowchart illustrating a vehicle oil pressure alarm control method provided in an embodiment of this application; Figure 2 A schematic diagram of a vehicle oil pressure alarm control device provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0018] To better understand the technical solution of this application, the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0019] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0020] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0021] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0022] In related technologies, the oil pressure light control logic of traditional gasoline vehicles cannot be directly adapted to plug-in hybrid electric vehicles (PHEVs). This is because PHEVs operate in a special condition where they run on pure electric power, with high voltage applied but the engine not running. In this situation, the absence of oil pressure due to the engine not running is normal. However, using the traditional logic, the oil pressure switch will remain closed due to the lack of oil pressure and send a low-level signal. The vehicle controller will mistakenly interpret this as insufficient oil pressure, triggering the warning light and interfering with the driver's judgment. Furthermore, existing oil pressure switches use a hard switch and wiring harness signal transmission structure. If the wiring harness is physically disconnected due to aging, wear, or improper assembly, it will remain in an open state, continuously sending a high-level signal to the vehicle controller. In this case, regardless of whether the engine is running or the oil pressure is sufficient, the vehicle controller will mistakenly interpret the oil pressure as normal, and the warning light will remain off, failing to detect abnormal oil pressure or wiring harness malfunctions in a timely manner, posing a serious driving safety hazard.
[0023] In some technologies, a new hydraulic pressure sensor is added to replace the mechanical pressure switch. The high-precision hydraulic pressure sensor directly collects the hydraulic pressure value and judges the hydraulic pressure status based on the value. However, there are also shortcomings, such as a significant increase in hardware costs, the need to reconstruct the signal acquisition module of the vehicle controller, the difficulty of adaptation, and the need for regular sensor calibration, which increases the cost of later maintenance.
[0024] In other technologies, voltage thresholds are used to assist in judging wiring harness faults. By detecting the fluctuation range of wiring harness voltage, it is determined whether there is a disconnection fault. However, the electrical system of plug-in hybrid vehicles is subject to voltage fluctuation interference, the voltage threshold is difficult to set, and it is easily affected by operating conditions such as low temperature and high load. The detection accuracy is low, and misjudgment may still occur under complex operating conditions, resulting in insufficient reliability.
[0025] To address the aforementioned issues, this application provides a method for controlling an oil pressure alarm in a vehicle. The method acquires the vehicle's current operating mode. When the vehicle is in a first operating mode, an oil pressure switch signal is collected, and the state of the oil pressure light is controlled based on this signal. When the vehicle is in a second operating mode, the oil pressure light is kept off. In this embodiment, the vehicle is a hybrid vehicle, thus its operating modes are divided into a first mode and a second mode. In the second operating mode, there is no need to monitor oil pressure, so the oil pressure light can be kept off, preventing alarms caused by insufficient oil pressure and avoiding misjudgments by the driver due to false alarms, thereby improving driving safety. In the first operating mode, oil pressure needs to be monitored. In this mode, an oil pressure switch signal is collected, and the state of the oil pressure light is controlled based on this signal. This allows for an alarm to be triggered by illuminating the oil pressure light when insufficient oil pressure is detected, improving driving safety in the first operating mode. A detailed explanation follows.
[0026] See Figure 1 This is a flowchart illustrating a vehicle oil pressure alarm control method provided in an embodiment of this application. The oil pressure alarm control method can be applied to hybrid vehicles. Figure 1 As shown, the vehicle's oil pressure alarm control method includes: Step S101: Obtain the current working mode of the vehicle.
[0027] It should be understood that hybrid vehicles typically include both an engine and an electric motor. Hybrid vehicles can be powered by the engine, the electric motor, or both. Oil pressure is generated by the oil pump driven by the engine. The internal precision fittings of the engine are extremely small (micrometer-level), requiring oil pressure to create an oil film to separate the metal parts and prevent damage. Therefore, when the engine is at least providing power to the vehicle, the oil pressure status needs to be monitored. To facilitate monitoring of the oil pressure, the status can be displayed by controlling the oil pressure indicator light. For example, the light can be turned off when the oil pressure is sufficient and illuminated when the pressure is insufficient. When the engine is not running and not providing power, there is no need to monitor the oil pressure, and therefore no need to display the oil pressure status via the oil pressure indicator light. In other words, the oil pressure light can be controlled to illuminate or deactivate based on whether the oil pressure is sufficient only when the engine is running. When the engine is not running, it is not necessary to control the oil pressure light based on whether the oil pressure is sufficient. When the engine is not running, it means that the engine is not involved in providing power to the vehicle, and the vehicle can be identified as being in the second operating mode. When the engine is running, it means that the engine can participate in providing power to the vehicle, and the vehicle can be identified as being in the first operating mode. Therefore, in order to control the oil pressure light more accurately, it is necessary to first obtain the current operating mode of the vehicle.
[0028] In some embodiments, the current operating mode of a vehicle can be determined by detecting information such as throttle opening, brake signal, gear position, driving mode, battery status, and power component status.
[0029] In some embodiments, the vehicle log information records the vehicle's current operating mode, and the vehicle's current operating mode can be determined by reading the vehicle log information.
[0030] In some embodiments, to reduce the complexity of obtaining the current operating mode, it can be determined by detecting the engine speed. That is, obtaining the current operating mode of the vehicle includes: if the engine speed of the vehicle is greater than a first threshold, then the vehicle is determined to be in a first operating mode; otherwise, the vehicle is determined to be in a second operating mode.
[0031] In this embodiment, the engine speed can be detected. When the engine speed is greater than a first threshold, it indicates that the engine is in a working state, and the engine can be determined to be in a started state, thereby determining that the vehicle is operating in a first operating mode. When the engine speed is not greater than the first threshold, it indicates that the engine is not in a working state, and the engine can be determined to be in a not started state, thereby determining that the vehicle is operating in a second operating mode.
[0032] In some embodiments, to prevent misjudgment due to signal instability, the method of determining whether the vehicle's engine is running can also be to detect whether the vehicle's engine speed is greater than a first threshold and whether the duration is greater than a first time threshold.
[0033] In other words, it can detect whether the vehicle's engine speed is greater than a first threshold. If the engine speed is detected to be greater than the first threshold, it also needs to detect whether the duration of the engine speed being greater than the first threshold is greater than a first time threshold. If the engine speed is detected to be greater than the first threshold and the duration of the engine speed being greater than the first threshold is greater than the first time threshold, then the engine is determined to be in a started state. If the engine speed is detected to be no greater than the first threshold or the duration of the engine speed being greater than the first threshold is no greater than the first time threshold, then the engine is determined to be in a stopped state.
[0034] It should be noted that the values of the first threshold and the first time threshold are selected according to the engine's operating conditions. For example, the first threshold may be 0 rpm or 2 rpm, and the first time threshold may be 100 ms or 50 ms. Of course, other values are also possible, and this application embodiment does not limit them.
[0035] In some embodiments, the current operating mode of the vehicle can also be determined based on the current state of the vehicle. That is, obtaining the current operating mode of the vehicle further includes: if the vehicle is detected to be in electric driving mode, or the vehicle is in ON state, or the vehicle is in Ready state and the engine is not started, then the vehicle is determined to be in a second operating mode; otherwise, the vehicle is determined to be in a first operating mode.
[0036] In this embodiment, "electric driving mode" means the vehicle is entirely driven by the electric motor, and the engine is not running, indicating a non-started state. "ON state" means the vehicle is ignited but the engine is not running; the vehicle's electrical system is powered, but the engine is not running, indicating a non-started state. "Ready state" means the vehicle has completed its self-check and is ready to drive; the engine can be left running as needed, indicating a non-started state. Therefore, to obtain the vehicle's current operating mode, it is possible to detect whether the vehicle is in electric driving mode, in the ON state, or in the Ready state with the engine not running. If the vehicle is detected to be in electric driving mode, in the ON state, or in the Ready state with the engine not running, it indicates the engine is not running and is in a non-started state, thus determining the vehicle is in the second operating mode. Otherwise, it indicates the engine is running and is in a started state, thus determining the vehicle is in the first operating mode.
[0037] Step S102: When the vehicle is in the first working mode, collect the oil pressure switch signal and control the state of the oil pressure light according to the oil pressure switch signal.
[0038] When the vehicle is in the first operating mode, the engine is running.
[0039] In some embodiments, when the vehicle is in the first operating mode, it indicates that the engine is running. At this time, the engine relies on oil pressure to establish an oil film that separates the metal components, preventing damage. When the oil pressure is insufficient, this film cannot be established, necessitating monitoring of the oil pressure. The oil pressure switch outputs a signal based on the oil pressure status. For example, it outputs a first-level signal when the oil pressure is sufficient and a second-level signal when the oil pressure is insufficient. Therefore, the oil pressure status can be determined by collecting the oil pressure switch signal. After collecting the oil pressure switch signal, the oil pressure status can be determined to control the illumination or extinguishing of the oil pressure indicator light.
[0040] In some embodiments, the oil pressure switch is a normally closed mechanical contact switch. When the oil pressure is insufficient, the switch remains closed and outputs a second level signal. When the oil pressure is sufficient, the oil pressure opens the switch and outputs a first level signal.
[0041] In some embodiments, when the vehicle is in a first operating mode, acquiring an oil pressure switch signal and controlling the state of the oil pressure light according to the oil pressure switch signal includes: when the vehicle is in the first operating mode, acquiring an oil pressure switch signal; if the acquired oil pressure switch signal is a first level signal, controlling the oil pressure light to turn off; if the acquired oil pressure switch signal is a second level signal, controlling the oil pressure light to turn on.
[0042] In this embodiment, when the vehicle is in the first operating mode, the engine is running and oil pressure needs to be monitored. At this time, the output level signal of the oil pressure switch can be collected. If the collected signal is a first level signal, it indicates sufficient oil pressure, thus causing the oil pressure light to turn off. If the collected signal is a second level signal, it indicates insufficient oil pressure, thus causing the oil pressure light to illuminate to remind the driver to pay attention to the oil pressure.
[0043] In some embodiments, while controlling the oil pressure light to illuminate, a fault warning message can be output to the driver, such as by displaying the fault warning message on the central control screen or by voice broadcasting the fault warning message. Of course, fault warning messages can also be output to the driver in other ways, and this application embodiment does not limit this.
[0044] In some embodiments, the first level signal is a high-level signal, and the second level signal is a low-level signal. That is, if the collected oil pressure switch signal is a high-level signal, it indicates that the oil pressure is sufficient, and the oil pressure light is turned off. If the collected oil pressure switch signal is a low-level signal, it indicates that the oil pressure is insufficient, and the oil pressure light is turned on.
[0045] In some embodiments, acquiring the oil pressure switch signal includes: acquiring the oil pressure switch signal at preset time intervals.
[0046] In some embodiments, the oil pressure switch signal can be acquired periodically at fixed time intervals. For example, the oil pressure switch signal can be acquired every 100ms or every 1s, but this is not limited in the embodiments of this application.
[0047] In some embodiments, the preset time interval can also be incremental, such as 1s, 2s, etc., and is not limited in this application embodiment.
[0048] Step S103: When the vehicle is in the second working mode, control the oil pressure light to be off.
[0049] When the vehicle is in the second operating mode, the engine is not started.
[0050] In some embodiments, when the vehicle is in the first operating mode, it indicates that the engine is not running. At this time, the engine is not running, and there is no oil pressure; therefore, there is no need to detect the oil pressure. Since there is no oil pressure, the oil pressure switch will continuously output a second-level signal. However, the second-level signal output by the oil pressure switch at this time does not indicate insufficient oil pressure or any abnormality. To prevent triggering an alarm due to insufficient oil pressure in the second operating mode, the oil pressure light can be directly turned off. That is, in the second operating mode, the state of the oil pressure light is not controlled based on the signal output by the oil pressure switch; instead, the oil pressure light is directly controlled to be off.
[0051] In other words, when the engine is not started, the oil pump has no power input and stops working. There is no pressure built up in the oil circuit, and the oil pressure is zero. Therefore, regardless of whether the oil pressure switch outputs a first-level signal or a second-level signal, it is determined that the oil pressure is in a normal state, and the oil pressure light can be directly turned off.
[0052] In this embodiment, when the vehicle is in the second operating mode, there is no need to monitor the oil pressure. Therefore, the oil pressure light can be kept off, preventing alarms caused by insufficient oil pressure and thus avoiding misjudgments by the driver due to false alarms, improving driving safety. When the vehicle is in the first operating mode, oil pressure needs to be monitored. In this mode, the oil pressure switch signal can be collected, and the state of the oil pressure light can be controlled based on the signal. This allows for an alarm to be triggered by illuminating the oil pressure light when insufficient oil pressure is detected, improving driving safety in the first operating mode.
[0053] In some embodiments, the above method further includes: When the vehicle engine switches from the starting state to the stopping state, the oil pressure switch signal is collected. If the collected oil pressure switch signal is a second level signal, then the oil pressure light will be turned off. If the collected oil pressure switch signal is a first-level signal, it is determined that the wiring harness is disconnected, the oil pressure light is turned on, and a fault code is reported.
[0054] In this embodiment, when the vehicle engine switches from a started state to a stopped state, the engine speed will drop from a preset speed to below a first threshold. The engine stops supplying power to the oil pump, which then stops working due to the loss of power input. At this time, the mechanical oil pressure switch (normally closed type) automatically closes due to insufficient pressure and should output a second-level signal. To determine whether there is a wiring harness disconnection fault when the engine switches to a stopped state, the oil pressure switch signal can be continuously collected. If the collected oil pressure switch signal is a second-level signal, it indicates that the wiring harness is normal and there is no disconnection fault when the engine is stopped, and the oil pressure light can be turned off. If the collected oil pressure switch signal is a first-level signal, it indicates that there is a wiring harness disconnection fault when the engine is stopped, and the oil pressure light can be illuminated and a fault code reported.
[0055] It should be noted that if the wiring harness is disconnected when the engine is switched to a stopped state, the signal line will be in a floating state. Because there is a pull-up resistor in the circuit where the oil pressure switch is located, the first level signal will be continuously collected. When the engine is stopped and the wiring harness is normal, the second level signal should be collected. Therefore, if the first level signal is collected when the engine is switched to a stopped state, it can be determined that there is a disconnection fault in the wiring harness.
[0056] Furthermore, since the vehicle's electrical system may experience transient interference, such as voltage spikes caused by motor start-stop, these interferences typically last for less than the second preset time. Therefore, to improve the accuracy of wiring harness disconnection fault determination, when the collected oil pressure switch signal is a first-level signal, the duration of the first-level signal must be greater than the second time threshold to filter transient interference. This ensures that a wiring harness disconnection fault is only determined when the first-level signal collected when the engine is switched to a stopped state is a stable signal, thus avoiding false alarms. The second time threshold is greater than the second preset time. The second time threshold is set to a value greater than the second preset time based on actual conditions; this embodiment does not impose any limitations on this.
[0057] In some embodiments, reporting a fault code includes sending the fault code to a fault memory. After the fault code is sent to the fault memory, the fault memory can store the fault code, allowing maintenance personnel to read it using a diagnostic tool. The maintenance personnel can then use the fault code to locate a wiring harness disconnection fault in the vehicle. Once the maintenance personnel have cleared the fault, the fault code in the fault memory can be cleared.
[0058] This application provides a vehicle, which is a hybrid vehicle, including: an engine oil circuit, an oil pressure switch, a power controller, and an oil pressure light, wherein: The oil pressure switch is installed in the engine oil circuit.
[0059] The power controller is used to execute the control method in the embodiments of this application to control the oil pressure light to turn on or off.
[0060] In some embodiments, the engine oil passage is located inside the engine and serves as the channel for oil circulation. The oil pump draws oil from the oil pan, filters it through a filter, and then delivers it to components such as the crankshaft and camshaft to form a lubricating film. Oil pressure is determined by the operating state of the oil pump and is generated only when the engine is running. The oil pressure switch is directly installed on the main oil passage of the oil circuit (usually located on the side of the engine block) and is connected to the oil circuit via a threaded interface. When the oil pressure changes, the hydraulic pressure in the oil circuit acts directly on the diaphragm or plunger inside the switch, triggering a switch state change. The power controller is connected to the oil pressure switch to receive the level signal from the oil pressure switch, thereby controlling the state of the oil pressure indicator light.
[0061] In this embodiment, the current operating mode of the vehicle is obtained. When the vehicle is in the first operating mode, the oil pressure switch signal is collected, and the state of the oil pressure light is controlled according to the oil pressure switch signal. When the vehicle is in the second operating mode, the oil pressure light is kept off. Thus, in this embodiment, the vehicle is a hybrid vehicle, and therefore its operating modes are divided into a first operating mode and a second operating mode. When the vehicle is in the second operating mode, there is no need to monitor the oil pressure, so the oil pressure light can be kept off, preventing alarms caused by insufficient oil pressure and avoiding misjudgments by the driver due to false alarms, thereby improving driving safety. When the vehicle is in the first operating mode, oil pressure needs to be monitored. The oil pressure switch signal is collected, and the state of the oil pressure light is controlled according to the oil pressure switch signal. This allows for an alarm when insufficient oil pressure is detected by illuminating the oil pressure light, improving driving safety in the first operating mode. In other words, in this embodiment, in the first operating mode, oil pressure needs to be monitored. Therefore, the oil pressure light can be controlled to illuminate based on the oil pressure switch signal, so that insufficient oil pressure can trigger an alarm. In the second operating mode, oil pressure does not need to be monitored, so the oil pressure light can be kept off to avoid false alarms. This reduces the probability of false alarms in hybrid vehicles, lowers safety hazards, and improves driving safety. Furthermore, when the engine is off, if the high-level signal of the oil pressure switch lasts longer than a preset time, it is determined to be a wiring harness disconnection fault and triggers an alarm. By detecting the high-level signal when the engine is off, combined with time threshold interference filtering, it is ensured that the alarm is triggered only when the signal is abnormally high. By storing the fault code, accurate fault location is achieved. Simultaneously, all oil pressure alarm control methods are implemented through software algorithms, requiring no additional sensors or hardware modifications, thus improving safety at zero hardware cost.
[0062] Figure 2 This is a schematic diagram of the structure of a vehicle oil pressure alarm control device provided in an embodiment of this application. Figure 2 As shown, the oil pressure alarm control device of this vehicle includes: The acquisition module 201 is used to acquire the current operating mode of the vehicle; Processing module 202 is used to collect the oil pressure switch signal when the vehicle is in the first working mode, and control the state of the oil pressure light according to the oil pressure switch signal; The processing module 202 is also used to control the oil pressure light to be off when the vehicle is in the second operating mode.
[0063] Corresponding to the above embodiments, this application also provides an electronic device. Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. The electronic device 300 may include a processor 301, a memory 302, and a communication unit 303. These components communicate through one or more buses. Those skilled in the art will understand that the structure of the server shown in the figure does not constitute a limitation on the embodiment of the present invention. It may be a bus topology or a star topology, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0064] The communication unit 303 is used to establish a communication channel, enabling the storage device to communicate with other devices. It can receive user data sent by other devices or send user data to other devices.
[0065] The processor 301 serves as the control center of the storage device, connecting various parts of the electronic device via various interfaces and lines. It executes software programs and / or modules stored in the memory 302, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of integrated circuits (ICs), such as a single packaged IC or multiple packaged ICs with the same or different functions connected together. For example, the processor 301 may consist only of a central processing unit (CPU). In this embodiment of the invention, the CPU may have a single processing core or include multiple processing cores.
[0066] The memory 302 is used to store the execution instructions of the processor 301. The memory 302 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0067] When the execution instructions in memory 302 are executed by processor 301, the electronic device 300 is able to perform some or all of the steps in the above embodiments.
[0068] In a specific implementation, the present invention also provides a computer storage medium, wherein the computer storage medium may store a program, which, when executed, may include some or all of the steps of the various embodiments of the vehicle oil pressure alarm control method provided by the present invention. The storage medium may be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0069] Those skilled in the art will clearly understand that the techniques in the embodiments of the present invention can be implemented using software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solutions in the embodiments of the present invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or certain parts of the embodiments of the present invention.
[0070] The same or similar parts between the various embodiments in this specification can be referred to mutually. In particular, the device embodiments and terminal embodiments are basically similar to the method embodiments, so the description is relatively simple, and the relevant parts can be referred to the description in the method embodiments.
Claims
1. A method for controlling an engine oil pressure alarm in a vehicle, characterized in that, The vehicle is a hybrid vehicle, and the method includes: Obtain the vehicle's current operating mode; When the vehicle is in the first working mode, the oil pressure switch signal is collected, and the state of the oil pressure light is controlled according to the oil pressure switch signal. When the vehicle is in the second operating mode, the oil pressure light is controlled to be turned off.
2. The method according to claim 1, characterized in that, The process of obtaining the vehicle's current operating mode includes: If the engine speed of the vehicle is greater than a first threshold, the vehicle is determined to be in a first operating mode; otherwise, the vehicle is determined to be in a second operating mode.
3. The method according to claim 1, characterized in that, The process of obtaining the vehicle's current operating mode also includes: If the vehicle is detected to be in electric mode, or in the ON state, or in the Ready state and the engine is not started, then the vehicle is determined to be in the second operating mode; otherwise, the vehicle is determined to be in the first operating mode.
4. The method according to claim 1, characterized in that, When the vehicle is in the first operating mode, acquiring the oil pressure switch signal and controlling the state of the oil pressure light based on the oil pressure switch signal includes: When the vehicle is in the first operating mode, the oil pressure switch signal is collected; If the collected oil pressure switch signal is a first-level signal, then the oil pressure light will be turned off. If the collected oil pressure switch signal is a second-level signal, then the oil pressure light will be turned on.
5. The method according to claim 4, characterized in that, The method further includes: When the vehicle engine switches from the start state to the stop state, the oil pressure switch signal is collected; If the collected oil pressure switch signal is a second level signal, then the oil pressure light will be turned off. If the collected oil pressure switch signal is a first-level signal, it is determined to be a wiring harness disconnection fault, the oil pressure light is turned on, and a fault code is reported.
6. The method according to claim 5, characterized in that, If the collected oil pressure switch signal is a first-level signal, then it is determined that there is a wiring harness disconnection fault, and the oil pressure light is turned on, including: If the high-level signal of the detected oil pressure switch lasts for a longer than the preset time, it is determined to be a wiring harness disconnection fault, and the oil pressure light will be turned on.
7. A vehicle oil pressure alarm control device, characterized in that, The vehicle is a hybrid vehicle, and the device includes: The acquisition module is used to acquire the vehicle's current operating mode; The processing module is used to acquire the oil pressure switch signal when the vehicle is in the first working mode, and control the state of the oil pressure light according to the oil pressure switch signal; The processing module is also used to control the oil pressure light to be turned off when the vehicle is in the second operating mode.
8. A vehicle, characterized in that, This includes the engine oil line, oil pressure switch, power controller, and oil pressure indicator light, among which: The oil pressure switch is installed in the engine oil circuit; The power controller is used to execute the control method according to any one of claims 1-6 to control the oil pressure light to illuminate or extinguish.
9. An electronic device, characterized in that, The device includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the device performs the method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 1 to 6.
