Oil mass detection method and device

By setting up an oil quantity detection device on the vehicle, calculating oil quantity data using calibration parameters and oil level sensor data, and adjusting the oil meter pointer, the problem of poor oil quantity measurement accuracy in the prior art is solved, and higher measurement accuracy and data accuracy are achieved.

CN119595070APending Publication Date: 2025-03-11GUANGZHOU ZHENMING ELECTROMECHANICAL TECH CO LTD

Patent Information

Application Number
CN202411746449.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

In the prior art, the oil quantity measurement accuracy is poor, especially the different oil tank shapes, sizes and oil material characteristics affect the correspondence between the oil level and the oil quantity, resulting in low measurement accuracy.

Method used

By setting up an oil quantity detection device on the vehicle, the input end of the device is electrically connected to the oil level sensor and the output end is electrically connected to the oil meter. The calibration parameters are used to determine the correspondence between the oil level data and the oil quantity data, calculate the resistance information required for the pointer in the oil meter, and adjust the pointer deflection angle to display the current oil quantity data.

Benefits of technology

Without modifying the vehicle's fuel tank, the accuracy of oil quantity measurement is improved, ensuring the accuracy of the current oil quantity data displayed on the oil meter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119595070A_ABST
    Figure CN119595070A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an oil mass detection method and device, and relates to the technical field of data processing. The oil quantity detection device is arranged on a vehicle, the input end of the oil quantity detection device is electrically connected with an oil level sensor of the vehicle, the output end of the oil quantity detection device is electrically connected with an oil meter of the vehicle, and the method is applied to the oil quantity detection device and comprises the steps that first oil level data is determined according to first sensing data collected by the oil level sensor; determining current oil quantity data corresponding to the first oil level data based on calibration parameters; wherein the calibration parameters are used for representing the corresponding relation between the oil level data and the oil mass data; according to the first oil level data or the current oil quantity data, resistance information needed by a pointer in the oil meter to indicate the current oil quantity data is calculated, so that the oil meter adjusts the deflection angle of the pointer to indicate the current oil quantity data according to the resistance information, and the current oil quantity data can be indicated on the premise that a vehicle oil tank is not transformed. The measurement precision of the oil quantity is improved, and the accuracy of the current oil quantity data displayed by the oil meter is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to an oil level detection method and device. Background Art

[0002] In today's industry, transportation and daily life, accurate measurement of fuel or hydraulic oil is crucial to the normal operation of equipment and energy consumption management.

[0003] Currently, electronic sensors are used to measure oil volume. The oil level sensor is usually a float-type device. The float floats up and down with the oil level in the tank. The movement of the float changes the resistance value of the sensor or generates different electrical signals. The above resistance value or electrical signal can be converted into oil volume information. However, different oil tank shapes, sizes and oil characteristics will affect the correspondence between oil level and oil volume, and affect the measurement accuracy of oil volume.

[0004] In order to improve the accuracy of oil level detection, a hole can be opened in the fuel tank to place the detection equipment, but fuel is flammable, so this method has huge hidden dangers. For this reason, ultrasonic sensors are currently installed at the bottom of the fuel tank or smart fuel tank caps are installed through the fuel tank port to improve the measurement accuracy of the oil level. However, ultrasonic sensors installed at the bottom of the fuel tank are prone to loosening and falling off or being scratched and completely damaged, and the smart fuel tank cap has a safety hazard due to the built-in battery. Summary of the invention

[0005] The embodiments of this specification provide an oil level detection method to solve the problem of poor oil level measurement accuracy in the prior art.

[0006] To solve the above technical problems, the embodiments of this specification are implemented as follows:

[0007] In a first aspect, an embodiment of the present specification provides an oil level detection method, wherein an oil level detection device is disposed on a vehicle, an input end of the oil level detection device is electrically connected to an oil level sensor of the vehicle, and an output end of the oil level detection device is electrically connected to an oil gauge of the vehicle. The method is applied to the oil level detection device, and the method includes:

[0008] Determining first oil level data according to first sensing data collected by the oil level sensor;

[0009] Based on the calibration parameters, determining the current oil volume data corresponding to the first oil level data; wherein the calibration parameters are used to characterize the corresponding relationship between the oil level data and the oil volume data;

[0010] According to the first oil level data or the current oil quantity data, the resistance information required for the pointer in the oil gauge to indicate the current oil quantity data is calculated, so that the oil gauge adjusts the deflection angle of the pointer according to the resistance information to indicate the current oil quantity data.

[0011] In a second aspect, an embodiment of the present specification provides an oil level detection device, which is disposed on a vehicle and includes:

[0012] A housing, fixedly mounted at a preset position outside the fuel tank of the vehicle, comprises a first sub-part and a second sub-part, wherein the first sub-part and the second sub-part are hinged;

[0013] A connector, located on an outer wall of the housing and electrically connected to an oil level sensor of the vehicle;

[0014] An adapter plate, located on the inner wall of the housing and electrically connected to the connector;

[0015] a main board, located on an inner wall of the first subsection or the second subsection, and electrically connected to the adapter plate and the fuel gauge of the vehicle;

[0016] Among them, the main board is used to calculate the resistance information required for the pointer in the oil gauge to indicate the current oil quantity data according to the first perception data collected by the oil level sensor, so that the oil gauge adjusts the deflection angle of the pointer according to the resistance information to indicate the current oil quantity data.

[0017] An embodiment of the present specification realizes the following beneficial effects: an oil level detection device is arranged on a vehicle, an input end of the oil level detection device is electrically connected to an oil level sensor of the vehicle, an output end of the oil level detection device is electrically connected to an oil gauge of the vehicle, the oil level data is determined by acquiring sensing data collected by the oil level sensor, the resistance information required for the oil gauge to correctly display the current oil level data is determined in combination with calibration parameters, the deflection angle of the pointer in the oil gauge is adjusted to indicate the current oil level data, and the measurement accuracy of the oil level is improved without modifying the vehicle's fuel tank, thereby ensuring the accuracy of the oil gauge displaying the current oil level data. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0019] Figure 1 A schematic diagram of an application scenario of the oil level detection device provided in the embodiments of this specification;

[0020] Figure 2 A schematic diagram of a flow chart of an oil level detection method in an embodiment of this specification;

[0021] Figure 3 A schematic diagram of the structure of the oil level detection device provided in the embodiment of this specification;

[0022] Figure 4 A schematic diagram of another application scenario of the oil level detection device provided in an embodiment of this specification.

[0023] Description of the drawings: 1-housing; 2-screws; 3-mainboard; 4-connector; 5-adapter board. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solutions and advantages of one or more embodiments of this specification clearer, the technical solutions of one or more embodiments of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of one or more embodiments of this specification.

[0025] In order to solve the defects in the prior art, the technical solutions provided by the embodiments of this specification are described in detail below with reference to the accompanying drawings.

[0026] An oil level detection method provided in the embodiment of the specification is specifically described in conjunction with the accompanying drawings.

[0027] Figure 1 A schematic diagram of an application scenario of the oil level detection device provided in an embodiment of this specification.

[0028] like Figure 1 As shown, the oil level detection device is arranged on the vehicle, the input end of the oil level detection device is electrically connected to the oil level sensor of the vehicle, and the output end of the oil level detection device is electrically connected to the oil gauge of the vehicle. The oil level detection device may include an acquisition circuit module, a digital potentiometer, a data processor (CPU) and other modules.

[0029] The oil level detection device can be installed near the vehicle's fuel tank or other convenient locations outside the fuel tank, and fixed by bolts to prevent displacement during driving.

[0030] Figure 2 A flow chart of an oil level detection method provided in an embodiment of this specification.

[0031] The method is applied to the oil level detection device, such as Figure 2 As shown, the process may include the following steps:

[0032] Step 210: Determine first oil level data based on the first sensing data collected by the oil level sensor.

[0033] In the embodiments of this specification, the oil level sensor may include a resistive sensor, a capacitive sensor, an ultrasonic sensor, and a radar level gauge. Among them, the resistive oil level sensor outputs a resistance signal; the capacitive oil level sensor outputs a current and a voltage; the ultrasonic sensor and the radar level gauge output a UART or RS485 signal. The sensing data corresponds to the type of the oil level sensor. For example, when the oil level sensor is a resistive sensor, the sensing data is a resistance signal; when the oil level sensor is a capacitive sensor, the sensing data is a current signal and a voltage signal.

[0034] Fuel level data can represent the real-time height or position of the fuel in the tank.

[0035] Get the total height and total capacity of the fuel tank in the vehicle. Take the resistive sensor as an example. According to the output resistance value of the fuel level sensor, combined with the height of the fuel tank and the minimum and maximum values ​​of the resistance sensor, calculate the fuel level data in the fuel tank. The calculation formula is:

[0036]

[0037] Among them, H oil is the oil level data, H tank is the total height of the fuel tank; R max and R min are the maximum and minimum resistance values ​​of the oil level sensor respectively; b is a constant used to adjust the accuracy of the data; R in The resistance value collected by the resistive sensor.

[0038] In order to ensure the stability and accuracy of the oil level data, the data can be processed by mean filtering to remove noise, smooth the signal, and avoid the impact of instantaneous fluctuations and interference on the data.

[0039] In practical applications, in order to avoid modifying the vehicle's fuel tank, the vehicle's own oil level sensor can be used.

[0040] Step 220: Based on calibration parameters, determine current oil quantity data corresponding to the first oil level data; wherein the calibration parameters are used to characterize the correspondence between the oil level data and the oil quantity data.

[0041] Step 230: Calculate the resistance information required for the pointer in the fuel gauge to indicate the current fuel quantity data based on the first fuel level data or the current fuel quantity data, so that the fuel gauge adjusts the deflection angle of the pointer based on the resistance information to indicate the current fuel quantity data.

[0042] In the embodiment of this specification, the current oil volume data corresponding to the oil level data is determined by using the pre-set calibration parameters, and the resistance information required for the pointer in the oil gauge to indicate the current oil volume data is calculated according to the first oil level data or the current oil volume data. The calibration parameters are carefully designed and measured, and they accurately reflect the corresponding relationship between the oil level data and the oil volume data.

[0043] The current fuel quantity data may refer to the remaining fuel quantity volume data.

[0044] The formula for calculating resistance information based on oil level data is:

[0045]

[0046] Among them, R out The resistance information required for the pointer to indicate the current oil volume data, R' max The maximum resistance value displayed by the fuel gauge, R' min It is the minimum resistance value displayed by the drive oil gauge.

[0047] The formula for calculating resistance information based on oil volume data is:

[0048]

[0049] Among them, L oil is the current oil volume data, L tank is the total capacity of the fuel tank.

[0050] The fuel gauge obtains the resistance value, adjusts the deflection angle of its pointer according to the resistance value, and indicates the current fuel volume data in the tank. The user can intuitively understand the remaining fuel volume in the tank.

[0051] It should be understood that the order of some steps in the methods described in one or more embodiments of this specification can be interchanged according to actual needs, or some steps can be omitted or deleted.

[0052] In the embodiments of the present specification, an oil level detection device is disposed on a vehicle, an input end of the oil level detection device is electrically connected to an oil level sensor of the vehicle, and an output end of the oil level detection device is electrically connected to an oil gauge of the vehicle. The oil level data is determined by acquiring sensing data collected by the oil level sensor, and the resistance information required for the oil gauge to correctly display the current oil level data is determined in combination with calibration parameters. The deflection angle of the pointer in the oil gauge is adjusted to indicate the current oil level data. This improves the measurement accuracy of the oil level without modifying the vehicle's fuel tank, thereby ensuring the accuracy of the oil gauge displaying the current oil level data.

[0053] based on Figure 2 The method in this specification also provides some specific implementation plans of the method, which are described below.

[0054] When the vehicle is driving, if the liquid level fluctuates violently or tilts, the liquid level may be inaccurate. In order to ensure the accuracy of the oil level data, optionally, the determination of the first oil level data in the embodiment of this specification may specifically include:

[0055] Acquiring posture data of the vehicle;

[0056] Determining whether the posture data meets a preset posture threshold;

[0057] If it is determined that the posture data meets the preset posture threshold, the first oil level data is determined.

[0058] In the embodiments of this specification, the posture data of the vehicle is collected in real time, and these posture data generally include the tilt angle (such as pitch angle, roll angle and yaw angle) of the vehicle in three-dimensional space and possible acceleration information. To determine whether the vehicle is in a state suitable for oil level measurement, the threshold is determined according to the working mode of the engineering machinery equipment and the actual environment. For example, for the pitch angle and roll angle, a threshold range (such as ±5°) may be set to ensure that the vehicle is in a state suitable for oil level measurement, thereby ensuring the accuracy of the oil level data.

[0059] When the posture data meets the preset posture threshold, the oil level data collected by the oil level sensor is obtained to obtain the current oil quantity data. When the posture data does not meet the preset posture threshold, the oil quantity data at the previous moment is used as the oil quantity data at the current moment.

[0060] Different shapes and sizes of oil tanks result in different corresponding relationships between oil levels and oil quantities. Optionally, before determining the current oil quantity data corresponding to the first oil level data based on the calibration parameters in the embodiments of this specification, the method may further include:

[0061] If it is determined that the vehicle is in a horizontal state, in response to refueling operations of refueling the vehicle multiple times, obtaining oil level data and oil quantity data of the vehicle after each refueling;

[0062] Establishing a corresponding relationship between the oil level data and the oil quantity data;

[0063] The calibration parameters are determined according to the corresponding relationship.

[0064] In the embodiments of this specification, when the vehicle is in a horizontal state, the fuel in the fuel tank is more evenly distributed, and the oil level data is minimally affected by the vehicle's posture, thereby being able to more accurately reflect the actual amount of oil in the fuel tank. The vehicle's posture angle can be obtained through built-in sensors (such as accelerometers, gyroscopes, etc.) to determine whether the vehicle is in a horizontal state.

[0065] When the vehicle is in a horizontal state, multiple refueling operations are performed. After each refueling, the following steps are performed: obtain oil level data, collect the oil level height in the fuel tank in real time through the oil level sensor; obtain oil quantity data, and record the exact oil quantity of each refueling. This is usually done through a gas station's gas pump or a dedicated oil quantity measuring device.

[0066] The oil level data and oil quantity data obtained after each refueling are sorted out to establish a corresponding relationship between the oil level data and the oil quantity data. Based on the established corresponding relationship, mathematical methods (such as linear regression, polynomial fitting, etc.) are used to determine the calibration parameters. These parameters can describe the mathematical relationship between the oil level data and the oil quantity data, thereby allowing the oil quantity detection device to accurately calculate the remaining oil in the tank based on the oil level data in subsequent measurements.

[0067] During the calibration process, the vehicle's total fuel tank height data, total fuel tank capacity data, posture data, and fuel level sensor type are obtained.

[0068] In practical applications, through multiple refueling operations, several sets of data sets of oil levels and corresponding oil volumes can be obtained. In order to obtain the oil volume data at any oil level, the linear interpolation calculation method can be used. The linear interpolation formula is:

[0069]

[0070] Among them, V is the current oil volume data, m is the subscript of the interval corresponding to the current oil level, V oil (m) and V oil (m+1) are two oil volume values ​​in the oil level range, H oil (m) and H oil (m+1) are two oil level values ​​in the oil level range, H oil It is the current oil level.

[0071] Abnormal oil level may affect the normal operation of the vehicle. Optionally, the method described in the embodiment of this specification may also include:

[0072] Determining second oil level data according to second sensing data collected by the oil level sensor;

[0073] Determining whether a difference between the first oil level data and the second oil level data is greater than a preset oil level difference threshold;

[0074] If so, generate a warning message.

[0075] In the embodiments of the present specification, the preset oil level difference threshold is a value set according to the actual application scenario, which is used to determine whether the change in oil level is within the normal range. For example, the preset oil level difference threshold may be 10% of the fuel tank volume. When the oil level data fluctuates greatly in a short period of time, if the calculated oil level difference is greater than the preset oil level difference threshold, it means that the change in oil level exceeds the normal range, and there may be oil leakage, abnormal increase in oil level or other potential problems. An early warning message is generated to remind the user to pay attention to the abnormal oil level.

[0076] In practical applications, the fuel quantity detection device can send the fuel quantity data to the server so as to further apply the fuel quantity data.

[0077] Figure 3 This is a schematic diagram of the structure of the oil level detection device provided in the embodiment of this specification.

[0078] The oil level detection device described in the embodiments of this specification may include:

[0079] A housing, fixedly mounted at a preset position outside the fuel tank of the vehicle, comprises a first sub-part and a second sub-part, wherein the first sub-part and the second sub-part are hinged;

[0080] A connector, located on an outer wall of the housing and electrically connected to an oil level sensor of the vehicle;

[0081] An adapter plate, located on the inner wall of the housing and electrically connected to the connector;

[0082] a main board, located on an inner wall of the first subsection or the second subsection, and electrically connected to the adapter plate and the fuel gauge of the vehicle;

[0083] Among them, the main board is used to calculate the resistance information required for the pointer in the oil gauge to indicate the current oil quantity data according to the first perception data collected by the oil level sensor, so that the oil gauge adjusts the deflection angle of the pointer according to the resistance information to indicate the current oil quantity data.

[0084] In the embodiment of this specification, the oil level detection device is fixed to the vehicle by screws 2 .

[0085] The shell 1 is the main structure of the oil level detection device, which is fixedly installed at a preset position outside the fuel tank of the vehicle and is used to accommodate and protect the internal electronic components. The shell 1 is divided into a first section and a second section, and the two sections are connected by a hinge so that the shell 1 can be opened or closed to facilitate the installation, maintenance and replacement of internal components.

[0086] Connector 4 is located on the outer wall of the shell 1 and is fixed by screws 2. Connector 4 is the electrical interface between the oil level detection device and the vehicle oil level sensor. Connector 4 is electrically connected to the vehicle's oil level sensor and is used to receive the oil level signal from the oil level sensor. The design of connector 4 should ensure a stable and reliable connection with the oil level sensor. At the same time, environmental factors such as waterproofing and dustproofing should also be considered to ensure that it can work normally in a humid or oily environment.

[0087] The adapter board 5 is located on the inner wall of the housing and is electrically connected to the connector. The function of the adapter board 5 is to transmit the oil level signal received by the connector 4 to the main board 3, while providing necessary electrical protection and signal conditioning functions. The design of the adapter board 5 should ensure the stability and reliability of signal transmission, and should also consider the connection method and interface standard between the main board 3.

[0088] The main board 3 is the core component of the oil quantity detection device, located on the inner wall of the first subsection or the second subsection. The main board 3 is electrically connected to the adapter board and is responsible for data acquisition, processing, storage, etc. The main board 3 integrates various electronic components, such as a microprocessor, memory, power module, etc., to realize the functions of oil quantity data collection, processing, storage and transmission. The design of the main board 3 should ensure the efficiency and accuracy of data processing, and should also consider factors such as power consumption, heat dissipation, and electromagnetic compatibility.

[0089] The entire oil level detection device has a protection level of no less than IP65. Through the coordinated work of the shell 1, connector 4, adapter plate 5 and main board 3, real-time monitoring and data processing of the vehicle oil level are realized. The device has the advantages of compact structure, easy installation, stable performance, etc., and is suitable for various vehicles and scenarios that require oil level monitoring.

[0090] Optionally, the mainboard described in the embodiments of this specification may include at least a collection circuit module and a digital potentiometer respectively electrically connected to the data processor;

[0091] The acquisition circuit module is used to acquire the first sensing data collected by the oil level sensor;

[0092] The data processor is used to determine first oil level data according to the first sensing data; determine current oil volume data corresponding to the first oil level data based on calibration parameters; wherein the calibration parameters are used to characterize the corresponding relationship between the oil level data and the oil volume data; and calculate the resistance information required for the pointer in the oil gauge to indicate the current oil volume data according to the first oil level data or the current oil volume data;

[0093] The digital potentiometer is used to output the resistance information using an analog resistance circuit, so that the fuel gauge adjusts the deflection angle of the pointer according to the resistance information to indicate the current fuel quantity data.

[0094] In the embodiments of this specification, the acquisition circuit module is closely connected to the oil level sensor and is responsible for capturing the first sensing data transmitted by the oil level sensor in real time, and can convert the electrical signal of the sensor into digital information.

[0095] The data processor, as the central processing unit, is responsible for real-time data calculation, control instruction execution and equipment coordination, efficiently processes data from various sensors, and calculates the oil level and other related parameters through built-in algorithms. According to the oil level data calculation formula, the sensing data is input to obtain the oil level data, and the oil volume data corresponding to the oil level data is calculated according to the preset calibration parameters. According to the resistance information calculation formula, the oil level data or oil volume data is input to obtain the resistance information required for the pointer in the oil gauge to indicate the current oil volume data.

[0096] The digital potentiometer simulates the resistance circuit, controls the resistance value through digital signals, and accurately calculates the resistance value required for the pointer to indicate the current oil level. The fuel gauge adjusts the deflection angle of the pointer based on this resistance value, thereby intuitively displaying the oil level in the tank.

[0097] In actual applications, when the amount of oil in the vehicle's fuel tank changes, the oil level sensor will capture this change in time and send the corresponding oil level data to the acquisition circuit module. The collected oil level data is then sent to the data processor, converted according to the calibration parameters, and the oil volume data is obtained. Based on the oil level data or oil volume data, the required resistance value is calculated. After the fuel gauge obtains the resistance information, it will adjust the deflection angle of the pointer accordingly to ensure that the pointer can accurately indicate the amount of oil in the tank.

[0098] Optionally, the main board described in the embodiment of this specification may also include a posture sensor electrically connected to the data processor, for collecting posture data of the vehicle and sending it to the data processor, so that when the data processor determines that the posture data meets a preset posture threshold, it determines the first oil level data.

[0099] In the embodiments of the present specification, during the driving of the vehicle, the posture of the fuel tank may change due to factors such as road conditions, vehicle speed and load. The posture sensor can collect the vehicle's posture data in real time and send the data to the data processor. The posture sensor usually contains precision components such as accelerometers and gyroscopes. These components can sense the movement and posture changes of the vehicle in space, and convert these changes into electrical signals for output. When the data processor determines that the posture data meets the preset posture threshold, the oil level data collected by the oil level sensor is obtained, thereby improving the accuracy of the oil quantity calculation.

[0100] Optionally, the main board described in the embodiment of this specification may also include a calibration module electrically connected to the data processor, which is used for obtaining the oil level data and oil quantity data of the vehicle after each refueling in response to multiple refueling operations on the vehicle when the vehicle is in a horizontal state; establishing a corresponding relationship between the oil level data and the oil quantity data; and determining the calibration parameters based on the corresponding relationship.

[0101] In the embodiment of this specification, the calibration module is to refuel the vehicle multiple times when the vehicle is in a horizontal state, and collect oil level data and oil quantity data in the process. The collected data is processed and analyzed by the calibration module to establish a one-to-one correspondence between the oil level data and the oil quantity data, thereby improving the accuracy of oil quantity detection, and the calibration parameters are determined accordingly, and the calibration parameters are written into the oil quantity detection device based on the dedicated CANTEK software.

[0102] Optionally, the acquisition circuit module in the embodiment of this specification may also be used to acquire the second sensing data collected by the oil level sensor;

[0103] The data processor is also used to determine second oil level data based on the second sensing data; when it is determined that the difference between the first oil level data and the second oil level data is greater than a preset oil level difference threshold, generate warning information.

[0104] In the embodiments of the present specification, the acquisition circuit module can measure the oil level multiple times within a preset time, thereby more accurately capturing the changing trend of the oil level.

[0105] A large change in the oil level in a short period of time may mean that there is a leak in the fuel tank, improper refueling or other abnormal conditions. The data processor can compare the difference between the first oil level data and the second oil level data. When this difference is greater than the preset oil level difference threshold, an early warning message will be generated to remind the driver or relevant managers to take timely measures to avoid potential safety hazards.

[0106] In actual applications, the oil level detection device can be installed with a built-in battery, which can still provide real-time oil level change monitoring and early warning after the equipment is turned off, meeting the user's needs for accurate monitoring of fuel consumption and fuel theft prevention.

[0107] Optionally, the mainboard described in the embodiment of this specification further includes a transceiver and a storage module electrically connected to the data processor respectively.

[0108] In the embodiments of this specification, the transceiver is a key component for the oil level detection device to communicate with external equipment or networks, wherein the CAN transceiver transmits oil level data, fuel level, attitude data and calibration information through the CAN protocol, and can exchange data with the host in real time to ensure that key information such as fuel data can be effectively transmitted. The 485 transceiver is used to transmit signals from specific sensors, such as connecting different types of oil level sensors or other devices, and transmitting data from long distances or other systems.

[0109] The transceiver can receive data from the internal module of the oil level detector, such as oil level data, and send it to external devices or networks, such as supervision platforms, data centers, etc. The oil level detection device can establish a communication connection with the supervision platform through wired (such as CAN-bus, RS-485) or wireless (such as Wi-Fi, Bluetooth, 4G / 5G, etc.). At the same time, the transceiver can also receive instructions and data from external devices or networks to control the working status of the oil level detection device or update internal data.

[0110] The storage module is a component used to store data inside the oil level detection device. It can store data from the internal modules of the oil level detector, such as oil level data, oil level data, posture data, warning information, etc. At the same time, the storage module can also store the configuration information and historical data of the device, so that users can perform data analysis and trend prediction.

[0111] The storage module provides reliable data storage and persistence for calibration data and configuration parameters of oil level and oil volume, ensuring continuous operation of the system, accurate calculation of oil volume under any circumstances, and restoration of normal operation after a device restart or power outage.

[0112] Figure 4 A schematic diagram of another application scenario of the oil level detection device provided in an embodiment of this specification.

[0113] Specifically, Figure 4 As shown, the input end of the oil level detection device is electrically connected to the oil level sensor of the vehicle. The oil level sensor can be a radar level gauge, an ultrasonic level sensor, a capacitive sensor, or a resistive sensor. The output end of the oil level detection device is electrically connected to the oil gauge of the vehicle. The oil level detection device determines the oil level data based on the sensing data collected by the oil level sensor, and uses the pre-set calibration parameters to determine the current oil level data corresponding to the oil level data. The resistance value required for the correct display of the oil gauge is calculated through the built-in algorithm. The oil gauge adjusts the deflection angle of its pointer according to this resistance value to indicate the current oil level data in the tank, and the user can intuitively understand the remaining amount of fuel in the tank. Without modifying the vehicle's fuel tank, the measurement accuracy of the oil level is improved, and the accuracy of the current oil level data displayed by the oil gauge is guaranteed.

[0114] The oil level detection device can establish a communication connection with the data acquisition terminal or PC device through wired or wireless means, which can help users to grasp the vehicle's fuel consumption, refueling amount, oil level change data, etc. in real time.

[0115] In practical applications, in order to improve the accuracy of measurement, the vehicle's oil level sensor can also be replaced with a sensor with higher accuracy.

[0116] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0117] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0118] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0119] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0120] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0121] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0122] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks 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 produce 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.

[0123] 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.

[0124] 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.

[0125] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0126] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0127] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0128] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0129] 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 on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0130] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0131] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for detecting oil quantity, characterized in that: An oil level detection device is provided on a vehicle, an input end of the oil level detection device is electrically connected to an oil level sensor of the vehicle, and an output end of the oil level detection device is electrically connected to an oil gauge of the vehicle. The method is applied to the oil level detection device, and the method comprises: Determining first oil level data according to first sensing data collected by the oil level sensor; Based on the calibration parameters, determining the current oil volume data corresponding to the first oil level data; wherein the calibration parameters are used to characterize the corresponding relationship between the oil level data and the oil volume data; According to the first oil level data or the current oil quantity data, the resistance information required for the pointer in the oil gauge to indicate the current oil quantity data is calculated, so that the oil gauge adjusts the deflection angle of the pointer according to the resistance information to indicate the current oil quantity data.

2. The method according to claim 1, characterized in that The determining of the first oil level data specifically includes: Acquiring posture data of the vehicle; Determining whether the posture data meets a preset posture threshold; If it is determined that the posture data meets the preset posture threshold, the first oil level data is determined.

3. The method according to claim 1, characterized in that Before determining the current oil volume data corresponding to the first oil level data based on the calibration parameters, the method further includes: If it is determined that the vehicle is in a horizontal state, in response to refueling operations of refueling the vehicle multiple times, obtaining oil level data and oil quantity data of the vehicle after each refueling; Establishing a corresponding relationship between the oil level data and the oil quantity data; The calibration parameters are determined according to the corresponding relationship.

4. The method according to claim 1, characterized in that: The method further comprises: Determining second oil level data according to second sensing data collected by the oil level sensor; Determining whether a difference between the first oil level data and the second oil level data is greater than a preset oil level difference threshold; If so, generate a warning message.

5. An oil level detection device, characterized in that: The oil level detection device is arranged on the vehicle and includes: A housing, fixedly mounted at a preset position outside the fuel tank of the vehicle, comprises a first sub-part and a second sub-part, wherein the first sub-part and the second sub-part are hinged; A connector, located on an outer wall of the housing and electrically connected to an oil level sensor of the vehicle; An adapter plate, located on the inner wall of the housing and electrically connected to the connector; a main board, located on an inner wall of the first subsection or the second subsection, and electrically connected to the adapter plate and the fuel gauge of the vehicle; Among them, the main board is used to calculate the resistance information required for the pointer in the oil gauge to indicate the current oil quantity data according to the first perception data collected by the oil level sensor, so that the oil gauge adjusts the deflection angle of the pointer according to the resistance information to indicate the current oil quantity data.

6. The oil level detection device according to claim 5, characterized in that: The mainboard at least includes an acquisition circuit module and a digital potentiometer which are electrically connected to the data processor respectively; The acquisition circuit module is used to acquire the first sensing data collected by the oil level sensor; The data processor is used to determine first oil level data according to the first sensing data; Based on the calibration parameters, determining the current oil volume data corresponding to the first oil level data; wherein the calibration parameters are used to characterize the corresponding relationship between the oil level data and the oil volume data; and calculating the resistance information required for the pointer in the oil gauge to indicate the current oil volume data according to the first oil level data or the current oil volume data; The digital potentiometer is used to output the resistance information using an analog resistance circuit, so that the fuel gauge adjusts the deflection angle of the pointer according to the resistance information to indicate the current fuel quantity data.

7. The oil level detection device according to claim 6, characterized in that: The mainboard also includes a posture sensor electrically connected to the data processor, which is used to collect posture data of the vehicle and send it to the data processor, so that when the data processor determines that the posture data meets a preset posture threshold, it determines the first oil level data.

8. The oil level detection device according to claim 6, characterized in that: The main board also includes a calibration module electrically connected to the data processor, which is used to obtain the oil level data and oil quantity data of the vehicle after each refueling in response to multiple refueling operations on the vehicle when the vehicle is in a horizontal state; establish a corresponding relationship between the oil level data and the oil quantity data; and determine the calibration parameters based on the corresponding relationship.

9. The oil level detection device according to claim 6, characterized in that: The acquisition circuit module is also used to acquire second sensing data collected by the oil level sensor; The data processor is also used to determine second oil level data based on the second sensing data; when it is determined that the difference between the first oil level data and the second oil level data is greater than a preset oil level difference threshold, generate warning information.

10. The oil level detection device according to claim 6, characterized in that: The mainboard also includes a transceiver and a storage module which are electrically connected to the data processor respectively.

Citation Information

Patent Citations

  • Method for real-time vehicle oil quantity monitoring and oil consumption statistics through wireless network

    CN101470017A

  • Display control system, display control system method and display control system device for vehicle and vehicle oil gauge thereof

    CN109556675A

  • Control method of automobile fuel gauge

    CN109682443A

  • Oil mass detector, oil mass detection method, vehicle-mounted terminal and vehicle

    CN114485841A

  • Automobile fuel gauge display strategy compatible with various road conditions

    CN114608667A

Cited By

  • Oil quantity display method

    CN121655643A