Engine oil pressure temperature sensor signal simulation device

文档序号:1669919 发布日期:2019-12-31 浏览:30次 中文

阅读说明:本技术 一种发动机机油压力温度传感器信号模拟装置 (Engine oil pressure temperature sensor signal simulation device ) 是由 史永万 李菁元 凌健 付铁强 李文强 刘昱 王计广 李勇 于晗正男 吕赫 安晓盼 于 2019-09-27 设计创作,主要内容包括:本发明提供了一种发动机机油压力温度传感器信号模拟装置,电源模块对处理器模块供电,信号设定模块分别输出用于设置传感器状态信号的电压信号、用于设置机油温度信号的电压信号以及用于设置机油压力信号的电压信号到处理器模块的模拟量输入端,处理器模块根据输入的三个电压信号,输出PWM信号到信号模式控制模块的模拟输入端。本发明一种发动机机油压力温度传感器信号模拟装置,能够实现模拟发动机机油压力温度传感器PWM信号,可以分别设置传感器状态信号、机油温度信号及机油压力信号三部份,具有传感器PWM信号模拟准确,使用便捷以及性能可靠的特点。(The invention provides a signal simulation device of an engine oil pressure and temperature sensor, wherein a power supply module supplies power to a processor module, a signal setting module respectively outputs a voltage signal for setting a sensor state signal, a voltage signal for setting an engine oil temperature signal and a voltage signal for setting an engine oil pressure signal to an analog quantity input end of the processor module, and the processor module outputs a PWM signal to an analog input end of a signal mode control module according to the three input voltage signals. The engine oil pressure temperature sensor signal simulation device can simulate the engine oil pressure temperature sensor PWM signal, can respectively set a sensor state signal, an engine oil temperature signal and an engine oil pressure signal, and has the characteristics of accurate sensor PWM signal simulation, convenience in use and reliable performance.)

1. The utility model provides an engine oil pressure temperature sensor signal analogue means which characterized in that: the device comprises a power supply module, a signal setting module, a processor module and a signal mode control module;

the power supply module supplies power to the processor module, the signal setting module respectively outputs a voltage signal for setting a sensor state signal, a voltage signal for setting an engine oil temperature signal and a voltage signal for setting an engine oil pressure signal to an analog quantity input end of the processor module, the processor module outputs a PWM signal to an analog input end of the signal mode control module according to the three input voltage signals, and the PWM signal of the engine oil pressure temperature sensor is input to an actual input end of the signal mode control module through a signal input interface; the signal mode control module selects an analog PWM signal or an actual PWM signal to be output to the automobile electric control unit through the signal output interface.

2. The engine oil pressure temperature sensor signal simulation device of claim 1, wherein: the power supply module is an XL6019 adjustable boosting power supply module; the processor module is an ATmega328P singlechip; 9-36V direct current power is input into the XL6019 adjustable boosting power module, and a GND pin and a 12V output pin of the XL6019 adjustable boosting power module are correspondingly connected with a GND pin and a VIN pin of the ATmega328P singlechip respectively.

3. The engine oil pressure temperature sensor signal simulation device of claim 2, wherein: the signal setting module includes: the four-gear rotary type wave band switch is used for setting a state signal of the sensor, the 10k omega adjustable rotary potentiometer is used for setting an engine oil temperature signal, and the 10k omega adjustable rotary potentiometer is used for setting an engine oil pressure signal; the four-gear rotary band switch is respectively connected with a ground wire GND pin and a power supply 5V pin corresponding to the ATmega328P singlechip; the contacts of the four-gear rotary band switch are respectively and correspondingly connected with an ADC0/A0 pin, an ADC1/A1 pin, an ADC2/A2 pin and an ADC3/A3 pin of the ATmega328P singlechip; the two 10k omega adjustable rotary potentiometers are correspondingly connected with a ground wire GND pin and a power supply 5V pin of the ATmega328P singlechip; the output ends of the two 10k omega adjustable rotary potentiometers are respectively connected with an ADC4/A4 pin and an ADC5/A5 pin of the ATmega328P singlechip.

4. The engine oil pressure temperature sensor signal simulation device of claim 3, wherein: the signal mode control module includes: a two-gear toggle switch; the PWM/3 pin of the ATmega328P singlechip is connected with the analog input end of the two-gear toggle switch, the PWM signal of the engine oil pressure temperature sensor is connected to the actual input end of the two-gear toggle switch through a signal input interface, and the output end of the two-gear toggle switch is connected with the automobile electric control unit through the signal output interface.

5. The engine oil pressure temperature sensor signal simulation device of claim 2, wherein: and the GND pin, the 5V pin, the RX/0 pin and the TX/1 pin of the ATmega328P singlechip are correspondingly connected with the GND pin, the VCC pin, the TX pin and the RX pin of a 2.4-inch TFTLCD serial port liquid crystal screen respectively.

Technical Field

The invention belongs to the technical field of automobile testing, and particularly relates to a signal simulation device for an engine oil pressure and temperature sensor of an engine.

Background

The engine oil pressure temperature sensor is widely applied to the field of automobiles and is used for detecting the engine oil pressure and the engine oil temperature of an engine in real time so as to ensure the normal work of the engine. Once the engine oil pressure is too low, the engine can cause strong friction due to lack of engine oil lubrication, so that the engine can be seriously worn and generate heat, the engine can be damaged, the engine oil pressure temperature sensor outputs an electric signal by using a pressure and thermistor temperature sensing technology, and the signal is collected by an automobile electronic control unit to realize the function of measuring the engine oil pressure and the engine oil temperature. As an electronic element, the fault types of the engine oil pressure and temperature sensor are mainly represented by signal discontinuity, signal loss, sensitivity reduction, incapability of accurately reflecting actual parameter values and the like, so that the ECU controls the engine to enter a limp home state, reduces the rotating speed of the engine, limits the output power of the engine and the like, and can be flameout to carry out self protection.

Therefore, the vehicle-mounted diagnosis system in the automobile electronic control unit can detect the working state and performance of the engine oil pressure and temperature sensor in real time and find out the faults of the engine oil pressure and temperature sensor in time. For example: if the engine oil pressure or the engine oil temperature exceeds or is lower than the specified numerical range, the vehicle-mounted diagnosis system confirms that the signal has a fault, sends out an alarm signal and lights a fault lamp on an instrument panel of a cab, so that a driver is reminded to pay attention to checking the state of the engine, and a corresponding fault code is generated in the system for a repairer to call for use.

According to the requirements of GB18352.6-2016 "limit for light vehicle pollutant emission and measurement method (sixth stage of china)", vehicle manufacturers need to install an on-board diagnostic system on a vehicle to monitor emissions during actual operation of the motor vehicle, and require PVE testing of mass-produced vehicles on which the on-board diagnostic system is installed, mainly testing and verifying an OBD fault code of an automotive electronic control unit.

Under the condition of the prior art, the engine oil pressure temperature sensor outputs a Pulse Width Modulation (PWM) signal, the automobile electronic control unit receives the PWM signal, and meanwhile, the vehicle-mounted diagnosis system monitors the PWM signal and generates a corresponding on-board diagnostic (OBD) fault code. The conventional signal generator does not have a required PWM signal generating function, is expensive in equipment price and complex to use, and cannot meet related PVE test tests related to engine oil pressure and temperature sensor faults.

Disclosure of Invention

In view of this, the invention aims to provide a signal simulation device for an engine oil pressure and temperature sensor, which is matched with a signal setting module, a processor module and a signal mode control module, can realize the simulation of a PWM signal of the engine oil pressure and temperature sensor, can respectively set a sensor state signal, an engine oil temperature signal and an engine oil pressure signal, and has the characteristics of accurate simulation of the sensor PWM signal, convenient use and reliable performance.

In order to achieve the purpose, the technical scheme of the invention is realized as follows:

a signal simulation device of an engine oil pressure temperature sensor comprises a power supply module, a signal setting module, a processor module and a signal mode control module;

the processor module outputs a PWM signal to the analog input end of the signal mode control module according to the three input voltage signals, and the PWM signal of the engine oil pressure temperature sensor is input to the actual input end of the signal mode control module through the signal input interface; the signal mode control module selects an analog PWM signal or an actual PWM signal to be output to the automobile electronic control unit through the signal output interface.

Further, a power module XL6019 can be used for adjusting a boosting power module; the processor module is an ATmega328P singlechip; an XL6019 adjustable boosting power module inputs 9-36V direct-current power, and a GND pin and a 12V output pin of the XL6019 adjustable boosting power module are correspondingly connected with a GND pin and a VIN pin of an ATmega328P single chip microcomputer respectively.

Further, the signal setting module comprises: the four-gear rotary type wave band switch is used for setting a state signal of the sensor, the 10k omega adjustable rotary potentiometer is used for setting an engine oil temperature signal, and the 10k omega adjustable rotary potentiometer is used for setting an engine oil pressure signal; the four-gear rotary band switch is respectively connected with a ground wire GND pin and a power supply 5V pin corresponding to the ATmega328P singlechip; the contacts of the four-gear rotary band switch are respectively and correspondingly connected with an ADC0/A0 pin, an ADC1/A1 pin, an ADC2/A2 pin and an ADC3/A3 pin of the ATmega328P singlechip; the two 10k omega adjustable rotary potentiometers are correspondingly connected with a ground wire GND pin and a power supply 5V pin of the ATmega328P singlechip; the output ends of the two 10k omega adjustable rotary potentiometers are respectively connected with an ADC4/A4 pin and an ADC5/A5 pin of the ATmega328P singlechip.

Further, the signal mode control module comprises: a two-gear toggle switch; the PWM/3 pin of the ATmega328P singlechip is connected with the analog input end of the two-gear toggle switch, the PWM signal of the engine oil pressure temperature sensor is connected to the actual input end of the two-gear toggle switch through a signal input interface, and the output end of the two-gear toggle switch is connected with the automobile electric control unit through a signal output interface.

Furthermore, a GND pin, a 5V pin, an RX/0 pin and a TX/1 pin of the ATmega328P singlechip are correspondingly connected with a GND pin, a VCC pin, a TX pin and an RX pin of a 2.4-inch TFT LCD serial port liquid crystal screen respectively.

Compared with the prior art, the engine oil pressure and temperature sensor signal simulation device has the following advantages:

the signal simulation device for the engine oil pressure and temperature sensor can realize the simulation of the PWM signal of the engine oil pressure and temperature sensor by matching with the signal setting module, the processor module and the signal mode control module, can respectively set a sensor state signal, an engine oil temperature signal and an engine oil pressure signal, and has the characteristics of accurate simulation of the sensor PWM signal, convenient use and reliable performance.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, serve to explain the invention and not to limit the invention.

In the drawings:

FIG. 1 is a schematic diagram of a signal simulation device of an engine oil pressure and temperature sensor according to an embodiment of the present invention;

FIG. 2 is a schematic circuit diagram of a signal simulation device of an engine oil pressure and temperature sensor according to an embodiment of the present invention;

FIG. 3 is a schematic diagram of a PWM signal composition of a device for simulating a signal of an engine oil pressure and temperature sensor according to an embodiment of the present invention.

Detailed Description

It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.

In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used only for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention. Furthermore, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.

In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art through specific situations.

The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.

As shown in fig. 1-2, an engine oil pressure and temperature sensor signal simulation device includes a power module, a signal setting module, a processor module and a signal mode control module;

the processor module outputs a PWM signal to the analog input end of the signal mode control module according to the three input voltage signals, and the PWM signal of the engine oil pressure temperature sensor is input to the actual input end of the signal mode control module through the signal input interface; the signal mode control module selects an analog PWM signal or an actual PWM signal to be output to the automobile electronic control unit through the signal output interface.

As shown in fig. 1-2, the power module is an XL6019 adjustable boost power module; the processor module is an ATmega328P singlechip; an XL6019 adjustable boosting power module inputs 9-36V direct-current power, and a GND pin and a 12V output pin of the XL6019 adjustable boosting power module are correspondingly connected with a GND pin and a VIN pin of an ATmega328P single chip microcomputer respectively.

As shown in fig. 1-2, the signal setting module includes: the four-gear rotary type wave band switch is used for setting a state signal of the sensor, the 10k omega adjustable rotary potentiometer is used for setting an engine oil temperature signal, and the 10k omega adjustable rotary potentiometer is used for setting an engine oil pressure signal; the four-gear rotary band switch is respectively connected with a ground wire GND pin and a power supply 5V pin corresponding to the ATmega328P singlechip; the contacts of the four-gear rotary band switch are respectively and correspondingly connected with an ADC0/A0 pin, an ADC1/A1 pin, an ADC2/A2 pin and an ADC3/A3 pin of the ATmega328P singlechip; the two 10k omega adjustable rotary potentiometers are correspondingly connected with a ground wire GND pin and a power supply 5V pin of the ATmega328P singlechip; the output ends of the two 10k omega adjustable rotary potentiometers are respectively connected with an ADC4/A4 pin and an ADC5/A5 pin of the ATmega328P singlechip.

As shown in fig. 1-2, the signal mode control module includes: a two-gear toggle switch; the PWM/3 pin of the ATmega328P singlechip is connected with the analog input end of the two-gear toggle switch, the PWM signal of the engine oil pressure temperature sensor is connected to the actual input end of the two-gear toggle switch through a signal input interface, and the output end of the two-gear toggle switch is connected with the automobile electric control unit through a signal output interface.

As shown in FIG. 2, GND pin, 5V pin, RX/0 pin and TX/1 pin of ATmega328P singlechip are respectively connected with GND pin, VCC pin, TX pin and RX pin of 2.4 inch TFT LCD serial port LCD.

The 2.4-inch TFT LCD serial port liquid crystal screen can display the set value condition of the sensor state signal, the set value condition of the engine oil temperature signal and the set value condition of the engine oil pressure signal in real time.

As shown in fig. 3, the PWM waveform of the engine oil pressure temperature sensor signal includes three parts: s1Sensor state signal high level duration; t is1The high level duration of the engine oil temperature signal; t is2The duration of high level of the oil pressure signal;

as shown in fig. 1-3, in the practical application of the present invention, firstly, the operator uses the four-gear rotary band switch to set the sensor status signals, including four conditions of sensor synchronization and diagnosis normal, engine oil pressure measurement fault, engine oil temperature measurement fault and sensor hardware fault; the ATmega328P single-chip microcomputer correspondingly sets the four S with different conditions according to the condition of the input analog quantity channel voltage1Sensor state signal high level duration; further, the operator sets T using a corresponding 10k Ω adjustable rotary potentiometer1The high level duration of the engine oil temperature signal, the ATmega328P single chip microcomputer correspondingly sets the corresponding T according to the condition of the input analog channel voltage1The high level duration of the engine oil temperature signal; further, the operator sets T using a corresponding 10k Ω adjustable rotary potentiometer2The high level duration of the engine oil pressure signal, and the ATmega328P singlechip correspondingly sets T according to the condition of inputting the analog channel voltage2The duration of high level of the oil pressure signal; s set by ATmega328P singlechip1High level duration, T, of sensor status signal1High level duration and T of engine oil temperature signal2And (4) outputting a corresponding engine oil pressure temperature sensor analog PWM signal after the engine oil pressure signal is in the high level duration.

The correspondence between the input analog channel voltage and the high level duration of the signal is related according to the variation range of the two, and belongs to the common general knowledge of the technicians in the field.

The invention discloses a specific embodiment of a signal simulation device of an engine oil pressure and temperature sensor, which comprises the following steps:

the method is practically applied to a sport SUV automobile. The automobile is a compact SUV, the automobile body structure is a 5-door 5-seat SUV, the fuel is 95 # gasoline, the engine displacement is 2.0L, the air inlet form is turbocharging, the air distribution mechanism is a double overhead camshaft and a double-valve timing adjustment mechanism, the oil supply mode is direct injection in a fuel cylinder, the gearbox is a 7-gear double-clutch gearbox, the maximum speed is 205km/h, the maximum power is 140kW, the maximum rotating speed is 4700r/min, the maximum torque is 300 N.m, and the maximum torque rotating speed is 1400 + 4000 r/min.

Firstly, the automobile is stopped for more than 8 hours, and the automobile is ensured to be in a cold state. Secondly, under the condition that the automobile key is not electrified, a connecting wire harness of the engine oil pressure and temperature sensor and the automobile electronic control unit is disconnected, the signal simulation device of the engine oil pressure and temperature sensor disclosed by the invention is accessed, and finally, an OBD scanning Tool Silver Scan-Tool of Germany RA consultation company with limited responsibility is connected to an automobile OBD interface for detecting automobile fault codes.

Through the signal setting module, the sensor state is set to be synchronous and the diagnostic signal is normal, the engine oil temperature signal value is 70 ℃, the engine oil pressure signal value is 150kPa, the signal mode control module is adjusted to the simulation mode, and the processor module sends out the engine oil pressure temperature sensor simulation signal PWM waveform: high level duration S of sensor status signal10.256ms and high level duration T of engine oil temperature signal12.122ms, high level duration T of oil pressure signal2Is 0.549 ms.

The engine oil pressure temperature sensor signal simulation device is in an idle state after an automobile engine is started, and an OBD scanning Tool Silver Scan-Tool detects a fault code P0196 about 30 seconds later, which shows that the engine oil temperature is higher than the upper limit fault in the idle state during cold start.

The present invention is not limited to the above preferred embodiments, and any modifications, equivalent substitutions, improvements, etc. within the spirit and principle of the present invention should be included in the protection scope of the present invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种发动机用机油滤清器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!