CN105157914B - A kind of system and method in internal combustion engine cylinder pressure signal time domain gyration domain - Google Patents
A kind of system and method in internal combustion engine cylinder pressure signal time domain gyration domain Download PDFInfo
- Publication number
- CN105157914B CN105157914B CN201510560820.0A CN201510560820A CN105157914B CN 105157914 B CN105157914 B CN 105157914B CN 201510560820 A CN201510560820 A CN 201510560820A CN 105157914 B CN105157914 B CN 105157914B
- Authority
- CN
- China
- Prior art keywords
- domain
- angle
- time
- cylinder pressure
- pressure signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000002485 combustion reaction Methods 0.000 title claims abstract description 18
- 238000005070 sampling Methods 0.000 claims description 64
- 238000010998 test method Methods 0.000 abstract description 8
- 238000006243 chemical reaction Methods 0.000 abstract description 6
- 238000012545 processing Methods 0.000 abstract description 5
- 238000009530 blood pressure measurement Methods 0.000 abstract description 3
- 238000005259 measurement Methods 0.000 abstract 2
- 238000012360 testing method Methods 0.000 description 19
- 238000004458 analytical method Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 238000009434 installation Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 2
- 241001463014 Chazara briseis Species 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000007493 shaping process Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Landscapes
- Testing Of Engines (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
Abstract
本发明公开了一种内燃机缸内压力信号时域转角度域的系统及方法,缸压测量装置及脉冲信号测量装置,所述缸压测量装置及脉冲信号测量装置将采集的缸内压力信号及飞轮齿圈对应的脉冲信号传送至内时钟采集系统,所述内时钟采集系统将接收的数据进一步传送至处理器进行处理;通过插值算法确定脉冲信号的精确过零点,在此基础上实现缸内压力信号由时域到角度域的转换;该方法有效避免了传统测试方法中由于编码器信号丢失或受到干扰而出现误触发的问题,有效的提高了数据采集过程的可靠性。
The invention discloses a system and method for time-domain conversion of an internal-combustion engine cylinder pressure signal to an angle domain, a cylinder pressure measurement device and a pulse signal measurement device. The cylinder pressure measurement device and pulse signal measurement device collect the in-cylinder pressure signal and The pulse signal corresponding to the flywheel ring gear is transmitted to the internal clock acquisition system, and the internal clock acquisition system further transmits the received data to the processor for processing; the precise zero-crossing point of the pulse signal is determined by an interpolation algorithm, and on this basis, the in-cylinder The pressure signal is converted from the time domain to the angle domain; this method effectively avoids the problem of false triggering due to the loss or interference of the encoder signal in the traditional test method, and effectively improves the reliability of the data acquisition process.
Description
技术领域technical field
本发明涉及内燃机缸内压力信号的测试方法,具体涉及一种基于插值算法的内燃机缸内压力信号时域转角度域的系统及方法。The invention relates to a test method for a pressure signal in a cylinder of an internal combustion engine, in particular to a system and a method for converting the pressure signal in a cylinder of an internal combustion engine from a time domain to an angle domain based on an interpolation algorithm.
背景技术Background technique
内燃机缸内压力信号蕴含了缸内燃烧过程的丰富信息,这些信息能够为内燃机的研发及性能改进提供重要的参考依据。内燃机每720度曲轴转角为一个工作循环,对缸内压力信号进行采集和分析时都是以曲轴转角为基准展开的。为此,现有的缸内压力信号测试系统多采用外时钟采样方式测试缸内压力。这种测试方法需要采用编码器提供触发信号,用于控制测试系统按特定的角度步长进行数据采集。使用过程中需要将编码器的壳体连接至发动机的机体上,将编码器的转轴连接至发动机的曲轴。编码器固定后,当发动机工作时曲轴带动编码器转轴旋转,编码器通过光电转换原理将曲轴的转动量转换成脉冲信号,用于触发采集系统采集缸内压力信号。The internal combustion engine cylinder pressure signal contains a wealth of information about the combustion process in the cylinder, which can provide important references for the development and performance improvement of internal combustion engines. Every 720-degree crankshaft angle of the internal combustion engine is a working cycle, and the collection and analysis of the pressure signal in the cylinder is based on the crankshaft angle. For this reason, the existing in-cylinder pressure signal testing systems mostly use external clock sampling to test the in-cylinder pressure. This test method requires the use of an encoder to provide a trigger signal, which is used to control the test system to collect data at a specific angle step. During use, the housing of the encoder needs to be connected to the body of the engine, and the rotary shaft of the encoder is connected to the crankshaft of the engine. After the encoder is fixed, when the engine is working, the crankshaft drives the encoder shaft to rotate, and the encoder converts the rotation of the crankshaft into a pulse signal through the principle of photoelectric conversion, which is used to trigger the acquisition system to collect the pressure signal in the cylinder.
这种方法需要在发动机的自由端寻找合适位置固定编码器,由于目前发动机自由端部件多、集成度高,编码器的固定难度大。编码器转轴与曲轴同步旋转,要求两者的同心度高,如果两者中心有偏差,容易造成编码器输出信号丢失,甚至编码器转轴断裂等问题,对整个测试系统的可靠工作产生不利的影响。此外,编码器输出为高频脉冲信号,该信号送入测试系统中进行整形处理后,用于触发采样,发动机实验现场存在测功器等多种干扰,容易导致测试系统误采样。This method needs to find a suitable position to fix the encoder at the free end of the engine. Due to the large number of components and high integration at the free end of the engine, it is difficult to fix the encoder. The encoder shaft and the crankshaft rotate synchronously, requiring high concentricity between the two. If there is a deviation between the centers of the two, it is easy to cause the loss of the encoder output signal, or even the breakage of the encoder shaft, which will adversely affect the reliable operation of the entire test system. . In addition, the output of the encoder is a high-frequency pulse signal, which is sent to the test system for shaping and processing to trigger sampling. There are various interferences such as dynamometers in the engine test site, which may easily lead to false sampling in the test system.
根据上述对目前已有缸内压力信号测试方法的分析可知,现有方法存在传感器安装不便,易受干扰影响等问题;且由于编码器安装困难,目前该方法只能适用于实验室测试的场合,对于车用发动机,由于发动机自由端空间所限,很难实现缸内压力的测试。According to the above-mentioned analysis of the existing in-cylinder pressure signal test methods, it can be seen that the existing methods have problems such as inconvenient installation of the sensor, and are easily affected by interference; and because the encoder is difficult to install, the current method can only be applied to laboratory testing occasions , for vehicle engines, due to the limited space at the free end of the engine, it is difficult to test the in-cylinder pressure.
发明内容Contents of the invention
为解决现有技术存在的不足,本发明公开了一种利用内时钟采集系统测试缸内压力信号,进而通过插值算法将采集的时域信号转换为角度域信号的方法。该方法不再采用编码器触发采样,而是在发动机飞轮端安装脉冲信号测试传感器,通过内时钟采集系统同时采集缸内压力信号及脉冲信号。采集完毕后以脉冲信号为基准对缸内压力信号进行插值处理,实现时域信号与角度域信号的转换。该方法采用的脉冲信号传感器只需要安装在飞轮齿圈附近即可,安装要求低,容易实现;采用内时钟采样方式采集信号,消除了外时钟采样方式容易受到干扰信号误触发导致的采样异常问题。In order to solve the deficiencies in the prior art, the invention discloses a method for testing the pressure signal in a cylinder by using an internal clock acquisition system, and then converting the collected time-domain signal into an angle-domain signal through an interpolation algorithm. This method no longer uses the encoder to trigger sampling, but installs the pulse signal test sensor at the end of the engine flywheel, and simultaneously collects the pressure signal and pulse signal in the cylinder through the internal clock acquisition system. After the acquisition is completed, interpolation processing is performed on the pressure signal in the cylinder based on the pulse signal to realize the conversion of the time domain signal and the angle domain signal. The pulse signal sensor used in this method only needs to be installed near the ring gear of the flywheel, which has low installation requirements and is easy to implement; the internal clock sampling method is used to collect signals, which eliminates the problem of abnormal sampling caused by the external clock sampling method being easily triggered by interference signals. .
为实现上述目的,本发明的具体方案如下:To achieve the above object, the specific scheme of the present invention is as follows:
一种内燃机缸内压力信号时域转角度域的系统,包括:缸压测量装置及脉冲信号测量装置,所述缸压测量装置及脉冲信号测量装置将采集的缸内压力信号及飞轮齿圈对应的脉冲信号传送至内时钟采集系统,所述内时钟采集系统将接收的数据进一步传送至处理器进行处理;A system for turning the pressure signal in the cylinder of an internal combustion engine in the time domain to the angle domain, comprising: a cylinder pressure measuring device and a pulse signal measuring device, and the cylinder pressure measuring device and the pulse signal measuring device correspond the collected in-cylinder pressure signal to the flywheel ring gear The pulse signal is transmitted to the internal clock acquisition system, and the internal clock acquisition system further transmits the received data to the processor for processing;
在处理器中,通过插值算法获得脉冲信号测量装置输出电压为零的点即过零点,根据过零点的数据得到相邻两齿间的时间间隔,进一步通过插值算法得到两个齿间任意角度对应的数据。In the processor, the point at which the output voltage of the pulse signal measuring device is zero is obtained through the interpolation algorithm, that is, the zero-crossing point. According to the data of the zero-crossing point, the time interval between two adjacent teeth is obtained, and the correspondence between any angle between the two teeth is obtained through the interpolation algorithm. The data.
进一步的,所述缸压测量装置包括缸压传感器,所述缸压传感器安装在发动机缸盖上,通过测压通道连接至发动机的燃烧室。Further, the cylinder pressure measuring device includes a cylinder pressure sensor, which is installed on the cylinder head of the engine and connected to the combustion chamber of the engine through a pressure measuring channel.
进一步的,所述脉冲信号测量装置安装在发动机飞轮端,脉冲信号测量装置前端距离飞轮齿圈的齿顶约1mm,发动机工作时,飞轮齿圈的每个齿经过该传感器时,均会触发传感器产生一个脉冲信号。Further, the pulse signal measuring device is installed at the flywheel end of the engine, and the front end of the pulse signal measuring device is about 1 mm away from the tooth top of the flywheel ring gear. When the engine is working, when each tooth of the flywheel ring gear passes the sensor, the sensor will be triggered. Generate a pulse signal.
更进一步的,所述脉冲信号测量装置采用磁电式传感器。Furthermore, the pulse signal measuring device adopts a magnetoelectric sensor.
进一步的,所述内时钟采集系统为以内时钟采样方式工作的多通道高速数据采集卡,多通道高速数据采集卡的数据传输方式采用USB接口或PCI接口高速数据传输接口与处理器通信。Further, the internal clock acquisition system is a multi-channel high-speed data acquisition card working in an internal clock sampling mode, and the data transmission mode of the multi-channel high-speed data acquisition card adopts a USB interface or a PCI interface high-speed data transmission interface to communicate with the processor.
一种内燃机缸内压力信号时域转角度域的方法,包括:A method for turning an internal-combustion engine cylinder pressure signal into an angle domain in a time domain, comprising:
通过插值算法得到脉冲信号测量装置的输出电压为零的点即过零点的时刻Tstart及Tend;角标信号即脉冲信号测量装置测试的信号;The point at which the output voltage of the pulse signal measuring device is zero is obtained by an interpolation algorithm, that is, the time Tstart and Tend of the zero crossing point; the angle mark signal is the signal tested by the pulse signal measuring device;
时刻Tstart及Tend这两个时刻之间即为发动机飞轮齿圈一个齿对应的持续时间,时刻Tstart及Tend两个时刻间对应的角度为一个齿的持续角度θ;The duration between the two moments Tstart and Tend is the duration corresponding to one tooth of the engine flywheel ring gear, and the corresponding angle between the two moments Tstart and Tend is the duration angle θ of one tooth;
根据Tstart及Tend两个时刻、一个齿的持续角度θ及将缸内压力信号由时域转化为角度域后的角度间隔θ插值间隔确定角度域缸内压力信号相邻点间的时间步长Tstep;According to the two moments of Tstart and Tend, the continuous angle θ of one tooth and the angle interval θ interpolation interval after converting the pressure signal in the cylinder from the time domain to the angle domain, determine the time step T between adjacent points of the cylinder pressure signal in the angle domain step ;
根据采样间隔Tstep、当前齿起始时刻Tstart及当前齿内插值得到的第一个角度域点与当前齿起始时刻Tstart间的角度偏差Toff得到转化为角度域对应的时刻Tn,n=0,1,2,3…;According to the sampling interval T step , the current tooth start time Tstart and the angle deviation T off between the first angle domain point and the current tooth start time Tstart obtained by interpolation of the current tooth, it is converted into the corresponding time T n in the angle domain, n =0,1,2,3...;
根据得到的角度域对应时刻Tn,n=0,1,2,3…,则转化为角度域的各点缸内压力数值yn,n=0,1,2,3…通过该点前后实测的时域缸内压力信号线性插值得到。According to the time T n corresponding to the obtained angle domain, n=0, 1, 2, 3..., it is transformed into the pressure value y n in the cylinder of each point in the angle domain, n=0, 1, 2, 3... before and after passing through this point The measured time-domain in-cylinder pressure signal is obtained by linear interpolation.
进一步的,通过插值算法得到脉冲信号测量装置的输出电压为零的点即过零点时,采用3次Newton插值方法,首先获得过零点前后各两个点,(x0,y0)、(x1,y1)、(x2,y2)及(x3,y3),其中,x0~x3为各采样点的采样序号,由于四个点为连续的采样点,相邻各点的间隔均相差1个采样点时刻;而y0~y3则指过零点前后两点的脉冲信号采样结果,将Newton插值公式中所有的x、y都颠倒使用,令y等于零,得到对应的x值。Further, when the point at which the output voltage of the pulse signal measuring device is zero, that is, the zero-crossing point, is obtained through an interpolation algorithm, the three-time Newton interpolation method is used to first obtain two points before and after the zero-crossing point, (x 0 , y 0 ), (x 1 , y 1 ), (x 2 , y 2 ) and (x 3 , y 3 ), among them, x 0 ~ x 3 are the sampling numbers of each sampling point, since the four points are continuous sampling points, each adjacent The intervals between the points differ by 1 sampling point time; while y 0 ~ y 3 refers to the pulse signal sampling results of two points before and after the zero crossing point. All x and y in the Newton interpolation formula are reversed and used, and y is equal to zero to obtain the corresponding the x-value.
进一步的,时刻Tstart及Tend两个时刻间对应的角度θ:θ=360°CA/飞轮齿圈的齿数。Further, the corresponding angle θ between the time Tstart and Tend: θ=360°CA/number of teeth of the flywheel ring gear.
进一步的,间隔时间差为Tstep:Further, the interval time difference is T step :
式中,θ为飞轮齿圈一个齿持续的角度;θ插值间隔为设定的转化为角度域的相邻两点的角度间隔;Tstart和Tend为通过插值得到的过零点时刻数据。In the formula, θ is the continuous angle of one tooth of the flywheel ring gear; the interpolation interval of θ is the set angle interval between two adjacent points transformed into the angle domain; T start and T end are the zero-crossing time data obtained by interpolation.
进一步的,角度域的各时刻对应的时刻Tn(n=0,1,2,3...)的表达式为:Further, the expression of the time T n (n=0, 1, 2, 3...) corresponding to each time in the angle domain is:
Tn=Tstart+n×Tstep+Toff T n = T start + n × T step + T off
式中,Toff为当前齿内插值得到的第一个角度域点与当前齿起始时刻Tstart间的角度偏差。In the formula, Toff is the angle deviation between the first angle domain point obtained by the interpolation value of the current tooth and the starting time Tstart of the current tooth.
本发明的有益效果:Beneficial effects of the present invention:
1)本发明提出了一种在发动机飞轮齿圈附近安装脉冲信号传感器,并用于实现缸内压力信号采集的新方法。脉冲信号传感器的安装要求低,容易实现;有效的解决了传统缸压测试方法中采用编码器时存在的编码器固定困难及需要保证编码器转轴与曲轴高度同心的难度。1) The present invention proposes a new method for installing a pulse signal sensor near the ring gear of the engine flywheel to realize the acquisition of the pressure signal in the cylinder. The pulse signal sensor has low installation requirements and is easy to implement; it effectively solves the difficulty in fixing the encoder when the encoder is used in the traditional cylinder pressure test method and the difficulty in ensuring that the encoder shaft and the crankshaft are highly concentric.
2)本发明提出的缸内压力信号测试方法先通过内时钟采集方法将缸内压力信号及脉冲信号当做模拟信号进行采集,而后通过插值算法确定脉冲信号的精确过零点,在此基础上实现缸内压力信号由时域到角度域的转换;该方法有效避免了传统测试方法中由于编码器信号丢失或受到干扰而出现误触发的问题,有效的提高了数据采集过程的可靠性。2) The cylinder pressure signal testing method proposed by the present invention first uses the internal clock acquisition method to collect the cylinder pressure signal and pulse signal as an analog signal, and then determines the precise zero-crossing point of the pulse signal through an interpolation algorithm, and realizes the cylinder pressure signal on this basis. The internal pressure signal is converted from the time domain to the angle domain; this method effectively avoids the problem of false triggering due to the loss or interference of the encoder signal in the traditional test method, and effectively improves the reliability of the data acquisition process.
附图说明Description of drawings
图1为本发明的硬件结构示意图;Fig. 1 is the hardware structure schematic diagram of the present invention;
图2(a)为实测的5个循环的缸内压力信号及脉冲信号对比曲线;Figure 2(a) is the comparison curve of the pressure signal and pulse signal in the cylinder measured for 5 cycles;
图2(b)为通过本发明提出的插值算法将时间域缸内压力信号转化为角度域的信号曲线图;Fig. 2 (b) is the signal graph that time domain in-cylinder pressure signal is transformed into angle domain by the interpolation algorithm that the present invention proposes;
图3为本发明的采样过程得到的脉冲信号传感器的过零点时刻示意图;Fig. 3 is the zero-crossing moment schematic diagram of the pulse signal sensor that sampling process of the present invention obtains;
图4为本发明的缸内压力信号时域转角度域原理。Fig. 4 is the time-domain rotation angle-domain principle of the in-cylinder pressure signal of the present invention.
具体实施方式:detailed description:
下面结合附图对本发明进行详细说明:The present invention is described in detail below in conjunction with accompanying drawing:
本发明鉴于目前缸内压力信号测试方法存在的编码器安装不便、编码器信号丢失或受干扰影响易导致采样异常等问题,本发明提出了一种缸内压力信号测试的新方法。本方法具有传感器安装方便,工作可靠等优点,能够满足内燃机研发及生产单位缸内压力信号测试分析的需要,具有广阔的应用前景。The present invention proposes a new method for testing the in-cylinder pressure signal in view of the problems of inconvenient installation of the encoder, loss of the encoder signal or being affected by interference and easy sampling abnormality in the current in-cylinder pressure signal testing method. The method has the advantages of convenient sensor installation, reliable operation, etc., can meet the needs of internal combustion engine research and development and production unit cylinder pressure signal test and analysis, and has broad application prospects.
本发明提出了一种适用于缸内压力信号采集的测试方法及系统,包括硬件系统及测试分析方法两部分。The invention proposes a test method and system suitable for collecting pressure signals in cylinders, including two parts: a hardware system and a test analysis method.
1.硬件系统介绍:硬件系统包括传感器及内时钟数据采集系统两部分,其中传感器包括用于测试缸内压力信号的压力传感器及安装在飞轮齿圈附近的脉冲信号测试传感器。其中缸压传感器安装在发动机缸盖上,通过测压通道连接至发动机的燃烧室,该传感器输出为模拟信号。脉冲信号传感器正对飞轮齿圈的齿安装,发动机工作时,飞轮齿圈的每个齿经过该传感器时,都会触发传感器产生一个脉冲信号,该信号是将缸压信号从时间域转换为角度域的时间基准。1. Hardware system introduction: The hardware system includes two parts: the sensor and the internal clock data acquisition system. The sensor includes the pressure sensor used to test the pressure signal in the cylinder and the pulse signal test sensor installed near the flywheel ring gear. The cylinder pressure sensor is installed on the cylinder head of the engine, and is connected to the combustion chamber of the engine through a pressure measurement channel, and the output of the sensor is an analog signal. The pulse signal sensor is installed facing the teeth of the flywheel ring gear. When the engine is running, when each tooth of the flywheel ring gear passes the sensor, it will trigger the sensor to generate a pulse signal, which converts the cylinder pressure signal from the time domain to the angle domain. time base.
本发明提出方法的基础是通过插值算法找到过零点的准确时刻,这要求过零点前后有若干采样点存在。目前常用的脉冲信号传感器主要包括:磁电式、霍尔式及光电式,后两种传感器输出的信号只有高低两种电平,过零点前后的点数少,无法满足使用要求,故相对而言,磁电式传感器是本方法的最佳选择。The basis of the method proposed by the present invention is to find the exact moment of the zero-crossing point through an interpolation algorithm, which requires several sampling points before and after the zero-crossing point. At present, the commonly used pulse signal sensors mainly include: magnetoelectric type, Hall type and photoelectric type. The signals output by the latter two types of sensors only have two levels, high and low. , the magnetoelectric sensor is the best choice for this method.
内时钟采集系统即以内时钟采样方式工作的多通道高速数据采集卡,此类采集卡利用自带的时钟信号触发模数转换单元实现数据采集。由于本方法要求采集卡具有较高的采样速度,因此,采集卡的数据传输方式需要采用USB接口或PCI接口等高速数据传输接口。本方法采用的缸压传感器和脉冲信号传感器的信号都送入高速数据采集卡中,将各信号当做模拟量进行数据采集,采集后的数据通过下述方法进行处理。The internal clock acquisition system is a multi-channel high-speed data acquisition card that works in the internal clock sampling mode. This type of acquisition card uses its own clock signal to trigger the analog-to-digital conversion unit to achieve data acquisition. Because this method requires the acquisition card to have a higher sampling speed, the data transmission mode of the acquisition card needs to adopt high-speed data transmission interfaces such as USB interface or PCI interface. The signals of the cylinder pressure sensor and the pulse signal sensor used in this method are all sent to the high-speed data acquisition card, and each signal is regarded as an analog quantity for data acquisition, and the collected data is processed by the following method.
2.测试分析方法介绍:为了将内时钟采样的数据转化为以曲轴转角为基准的数据需要通过以下两个步骤:1)通过插值算法得到脉冲信号传感器的过零点;2)以过零点为基准,采用插值算法对时间域缸内压力信号进行转换,得到以角度为基准的数据。下面对各部分内容进行说明:2. Introduction to the test analysis method: In order to convert the data sampled by the internal clock into data based on the crank angle, the following two steps are required: 1) Obtain the zero-crossing point of the pulse signal sensor through an interpolation algorithm; 2) Take the zero-crossing point as the benchmark , using the interpolation algorithm to convert the time-domain in-cylinder pressure signal to obtain angle-based data. The contents of each part are described below:
1)过零点的获取1) Acquisition of zero crossing point
过零点即脉冲信号传感器输出电压为0的点,脉冲信号两个相邻过零点间的时间即为一个齿的持续时间,该时间对于时间域缸内压力信号转角度域而言有重要的作用。由于采集过程是间隔一定时间采集一次,因此仅通过数据采集过程,无法完整得到脉冲信号传感器各过零点的数据。在此利用过零点前后采样点的值,通过插值算法得到过零点的准确时刻。如图3所示为采样过程得到的脉冲信号传感器的示意图,图中实心方块表示采样的数据,而圆形表示过零点的位置。The zero-crossing point is the point at which the output voltage of the pulse signal sensor is 0. The time between two adjacent zero-crossing points of the pulse signal is the duration of a tooth. This time plays an important role in the time domain pressure signal rotation angle domain. . Since the acquisition process is collected once at a certain interval, the data of each zero-crossing point of the pulse signal sensor cannot be completely obtained only through the data acquisition process. Here, the values of the sampling points before and after the zero crossing are used to obtain the exact moment of the zero crossing through an interpolation algorithm. Figure 3 is a schematic diagram of the pulse signal sensor obtained during the sampling process. The solid square in the figure represents the sampled data, and the circle represents the position of the zero crossing point.
本发明采用插值确定过零点的位置,采用了Newton插值、Lagrange插值及Hermit插值等多种插值算法,对每种方法都采用了不同阶次进行了对比,发现不同方法得到的结果相近,在此以3次Newton插值方法说明过零点的确定方法。3次Newton插值方法需要用到过零点前后各两个点进行计算,四个点如下:(x0,y0)、(x1,y1)、(x2,y2)及(x3,y3),其中,x0~x3为各采样点的采样序号,由于四个点为连续的采样点,相邻各点的间隔均相差1个采样点时刻;而y0~y3则指过零点前后两点的采样结果,因此,x0~x3及y0~y3均为已知量。The present invention uses interpolation to determine the position of the zero-crossing point, adopts multiple interpolation algorithms such as Newton interpolation, Lagrange interpolation and Hermit interpolation, and compares each method with different orders, and finds that the results obtained by different methods are similar, here The method of determining the zero-crossing point is explained by the third-order Newton interpolation method. The three-time Newton interpolation method needs to use two points before and after the zero-crossing point for calculation. The four points are as follows: (x 0 , y 0 ), (x 1 , y 1 ), (x 2 , y 2 ) and (x 3 , y 3 ), where x 0 ~ x 3 are the sampling numbers of each sampling point, since the four points are continuous sampling points, the intervals between adjacent points differ by 1 sampling point moment; and y 0 ~ y 3 It refers to the sampling results of two points before and after the zero crossing point, therefore, x 0 ~ x 3 and y 0 ~ y 3 are all known quantities.
Newton插值公式表示如下:The Newton interpolation formula is expressed as follows:
y=Nn(x)=f[x0]+f[x0,x1](x-x0)+ 一次插值y=N n (x)=f[x 0 ]+f[x 0 ,x 1 ](xx 0 )+ primary interpolation
f[x0,x1,x2](x-x0)(x-x1)+...+ 二次插值f[x 0 ,x 1 ,x 2 ](x-x0)(x-x1)+...+ quadratic interpolation
f[x0,x1,...xn](x-x0)(x-x1)...(x-xn-1)f[x 0 ,x 1 ,...x n ](xx 0 )(xx 1 )...(xx n-1 )
Rn(x)=f[x,x0,...,xn]·πn(x) 插值余项Rn(x)=f[x,x 0 ,...,x n ]·π n (x) interpolation remainder
确定过零点时,实际上是y值已知,求x,为了便于使用插值算法,为此将公式中所有的x、y都颠倒使用,由此得到3次Newton插值算法如下:When determining the zero-crossing point, the y value is actually known, and x is calculated. In order to facilitate the use of the interpolation algorithm, all the x and y in the formula are reversed and used, thus the three-time Newton interpolation algorithm is obtained as follows:
x=Nn(y)x=N n (y)
=f(y0)+f[y0,y1](y-y0)+f[y0,y1,y2](y-y0)(y-y1)+=f(y 0 )+f[y 0 ,y 1 ](y-y0)+f[y 0 ,y 1 ,y 2 ](yy 0 )(yy 1 )+
f[y0,y1,y2,y3](y-y0)(y-y1)(y-y2)f[y 0 ,y 1 ,y 2 ,y 3 ](yy 0 )(yy 1 )(yy 2 )
其中, in,
另外,对于过零点而言,其y=0,由此可得:In addition, for the zero-crossing point, its y=0, thus:
上式中,x0=f(y0),并且(x0,y0),(x1,y1)为过零点前2点;(x2,y2),(x3,y3)为过零点后的两点,四个点为相邻采样点,因此,x0-x1=x1-x2=x2-x3=-1,上式可以写为:In the above formula, x 0 =f(y 0 ), and (x 0 , y 0 ), (x 1 , y 1 ) are two points before the zero-crossing point; (x 2 , y 2 ), (x 3 , y 3 ) are two points after the zero-crossing point, and four points are adjacent sampling points, therefore, x 0 -x 1 =x 1 -x 2 =x 2 -x 3 =-1, the above formula can be written as:
上式中涉及的变量中x0为采样点时刻、y0~y3为相邻4个脉冲信号时域采样点数值,这些参数均为已知量,根据上式即可得到各过零点的数据。过零点的数据得到后,即可得到相邻两齿间的精确时间间隔。Among the variables involved in the above formula, x 0 is the time of the sampling point, and y 0 ~ 3 are the values of the time-domain sampling points of the adjacent four pulse signals. These parameters are all known quantities. According to the above formula, the values of each zero-crossing point can be obtained. data. After the zero-crossing data is obtained, the precise time interval between two adjacent teeth can be obtained.
2)缸内压力时间域转角度域的方法2) The method of turning the in-cylinder pressure from the time domain to the angle domain
通过上述插值算法可以得到角标信号过零点的精确时刻,即下图4所示的Tstart及Tend,这两个时刻之间即为发动机飞轮齿圈一个齿对应的持续时间,这两个时刻间对应的角度θ=360°CA/飞轮齿圈的齿数。本方法中假定发动机在一个齿内的转速是相同的,由此,可以进一步通过插值算法得到两个齿间任意角度对应的数据,如图4所示,为缸内压力信号时域转角度域原理图,以该图为例说明实施过程。图中T0、T1、T2及T3即为相差为Tstep时间的各时刻数据,Tstep的表达式如下:Through the above interpolation algorithm, the precise moment of the zero-crossing point of the horn signal can be obtained, that is, Tstart and Tend shown in Figure 4 below, and the duration between these two moments is the duration corresponding to one tooth of the engine flywheel ring gear. Corresponding angle θ=360°CA/number of teeth of flywheel ring gear. In this method, it is assumed that the rotational speed of the engine in one tooth is the same, so the data corresponding to any angle between the two teeth can be further obtained through the interpolation algorithm, as shown in Figure 4, which is the time domain rotation angle domain of the pressure signal in the cylinder Schematic diagram, using this diagram as an example to illustrate the implementation process. T 0 , T 1 , T 2 and T 3 in the figure are the data at each time with a difference of T step time, and the expression of T step is as follows:
式中,θ为飞轮齿圈相邻两齿间的角度;θ插值间隔为转化为角度域的角度间隔;Tstart和Tend为通过插值得到的过零点数据;转化为角度域的各点对应的时刻Tn(n=0,1,2,3…)的表达式为:In the formula, θ is the angle between two adjacent teeth of the flywheel ring gear; the interpolation interval of θ is the angle interval transformed into the angle domain; T start and T end are the zero-crossing point data obtained by interpolation; each point converted into the angle domain corresponds to The expression of the moment T n (n=0, 1, 2, 3...) is:
Tn=Tstart+n×Tstep+Toff T n = T start + n × T step + T off
式中,Toff为当前齿内插值得到的第一个角度域点与当前齿起始时刻Tstart间的角度偏差,对于第1个齿的计算而言Toff为0,对于图中第2个齿而言,Toff=T3-Tend。In the formula, Toff is the angle deviation between the first angle domain point obtained by the interpolation value of the current tooth and the starting time Tstart of the current tooth. For the calculation of the first tooth, Toff is 0, and for the second one in the figure For teeth, T off =T 3 -Tend.
一旦得到转化为角度域后缸内压力的各时刻Tn(n=0,1,2,3…),则角度域上缸内压力各点的数值yn(n=0,1,2,3…)通过该点前后两个采集的时域缸内压力数据(Tn前,yn前)和(Tn后,yn后)线性插值即可得到,其中,Tn前和Tn后为前后两点的采样时刻,两者的差值为1,yn前和yn后为前后两点的缸内压力值,以T1时刻为例,该时刻对应的缸内压力值为y1的表达式如下:Once the time T n (n=0, 1, 2, 3...) of the in-cylinder pressure converted into the angle domain is obtained, the value y n (n=0, 1, 2, 3...) It can be obtained by linear interpolation of the time-domain in-cylinder pressure data (before T n, before y n ) and (after T n, after y n ) collected before and after this point, where, before T n and before T n The latter is the sampling time of the two points before and after, and the difference between the two is 1. Before and after y n is the pressure value of the two points before and after y n. Taking T 1 time as an example, the corresponding in-cylinder pressure value of this time is The expression for y1 is as follows:
采用该方法即可将内时钟采集卡采集的时域数据转化为插值间隔为θ插值间隔°CA的角度域数据。By adopting this method, the time-domain data collected by the internal clock acquisition card can be converted into angle-domain data whose interpolation interval is θ interpolation interval °CA.
通过上述方法可以将当前齿内的时间域压力信号转化至角度域,在各齿内都采用上述方法进行处理即可。Through the above method, the time domain pressure signal in the current tooth can be transformed into the angle domain, and the above method can be used for processing in each tooth.
本方法需要利用插值算法获取过零点的时刻,过零点前后需要有相应的点数方能保证插值过程顺利进行,点数与采用的插值算法、采样频率及发动机的转速有关。发动机工作过程中,转速变化范围宽广,转速越高,一个循环的时间越短,为了保证插值所需的点数足够,需要的采样频率越高,只需在高转速保证采样频率能够获得足够的采样点数,在低转速即无问题。This method needs to use the interpolation algorithm to obtain the time of the zero crossing, and there must be corresponding points before and after the zero crossing to ensure the smooth progress of the interpolation process. The number of points is related to the interpolation algorithm used, the sampling frequency and the speed of the engine. During the working process of the engine, the rotational speed varies in a wide range. The higher the rotational speed, the shorter the cycle time. In order to ensure that the number of points required for interpolation is sufficient, the higher the sampling frequency is required, it is only necessary to ensure that the sampling frequency can obtain sufficient sampling at high rotational speeds. Points, no problem at low revs.
不同的插值算法需要过零点前后的点数不同,下面仍以3次Newton插值算法进行说明。通过上述分析可知,采用3次Newton插值方法计算过零点时,过零点前后各需2个采样点用于进行计算,因此,一个齿的持续时间内,至少应能采集8个以上的采样点,暂以8个点进行计算。假定发动机飞轮齿圈的齿数为z,则发动机一个循环的采样点数为8×2×z,转速为n1时一个循环的时间为秒,由此可得到当前转速下的采样频率为:Different interpolation algorithms require different points before and after the zero-crossing point. The following is still explained with the third-order Newton interpolation algorithm. From the above analysis, it can be seen that when using the three-time Newton interpolation method to calculate the zero-crossing point, two sampling points are required before and after the zero-crossing point for calculation. Therefore, within the duration of one tooth, at least 8 sampling points should be collected. Temporarily calculate with 8 points. Assuming that the number of teeth of the engine flywheel ring gear is z, the number of sampling points in one cycle of the engine is 8×2×z, and the time of one cycle when the speed is n 1 is seconds, so the sampling frequency at the current speed can be obtained as:
假定发动机齿圈数为141,最高运行转速为2200r/min,则根据上式可得单通道的采样频率不能低于41.36kHz。Assuming that the number of ring gears of the engine is 141 and the maximum operating speed is 2200r/min, according to the above formula, the sampling frequency of a single channel cannot be lower than 41.36kHz.
对缸内压力信号进行采集和分析时,对采样的点数有要求,如柴油机一般要求每次采样的循环数在100个以上;对于汽油机而言,由于燃烧循环变动较大,因此采样循环数在150个以上。通过上述方法可以确定采样频率,当发动机转速不同时,每循环对应的时间不同,因此要求的采样点数也不相同,转速越低,一个循环的时间越长,对应的采样点数越多。对采样点数的计算方法进行分析,假定发动机转速为n2,需要采样的循环数为m,则对应的采样点数的表达式如下:When collecting and analyzing the pressure signal in the cylinder, there are requirements for the number of sampling points. For example, diesel engines generally require more than 100 cycles per sampling; for gasoline engines, the number of sampling cycles is in the range of 150 or more. The sampling frequency can be determined by the above method. When the engine speed is different, the time corresponding to each cycle is different, so the number of sampling points required is also different. The lower the speed, the longer the cycle time, and the more corresponding sampling points. Analyze the calculation method of the number of sampling points, assuming that the engine speed is n 2 and the number of cycles to be sampled is m, the expression of the corresponding number of sampling points is as follows:
假定发动机齿圈数为为141,最高运行转速为2200r/min,假定怠速转速为600r/min,此时需要采集100个循环的数据,则此时每次采样需要的采样点数为:827200个点。Assume that the number of engine ring gears is 141, the maximum operating speed is 2200r/min, and the idle speed is 600r/min. At this time, 100 cycles of data need to be collected, and the number of sampling points required for each sampling at this time is: 827,200 points .
本发明提出的方法在实际应用时,根据发动机的飞轮齿数、运行的转速范围合理的选择采样频率及采样点数,根据上述插值算法即可将内时钟采集的缸内压力信号转化为角度域信号,用于进行后续分析。When the method proposed by the present invention is used in practice, the sampling frequency and the number of sampling points are reasonably selected according to the number of flywheel teeth of the engine and the operating speed range, and the in-cylinder pressure signal collected by the internal clock can be converted into an angle domain signal according to the above interpolation algorithm. for subsequent analysis.
本发明在应用时,附图1为本发明提出测试方法的硬件结构示意图,本方法需要用到缸压传感器及脉冲信号传感器,各信号都作为模拟信号送入内时钟数据采集系统中实现数据的采集。由于采集的数据量大,因此模数转换的结果通过USB或PCI等高速数据传输接口传送至电脑,并进行后续的分析。内时钟采集系统以内部自带的时钟进行数据采集,因此信号各采样点的时间间隔固定,即采样的信号以时间为基准。内燃机工作时以720度曲轴转角为一个循环周期性工作,对内燃机缸内压力信号进行分析时需要用以曲轴转角为基准进行分析,因此需要将时间域的信号转换为角度域信号,而这个过程即为本发明主要涉及的内容。When the present invention is applied, accompanying drawing 1 is a schematic diagram of the hardware structure of the test method proposed by the present invention. This method needs to use a cylinder pressure sensor and a pulse signal sensor, and each signal is sent into the internal clock data acquisition system as an analog signal to realize data collection. collection. Due to the large amount of collected data, the result of analog-to-digital conversion is transmitted to the computer through a high-speed data transmission interface such as USB or PCI for subsequent analysis. The internal clock acquisition system uses the internal clock for data acquisition, so the time interval of each sampling point of the signal is fixed, that is, the sampled signal is based on time. When the internal combustion engine is working, the crankshaft angle of 720 degrees is used as a cycle. When analyzing the pressure signal in the cylinder of the internal combustion engine, it needs to use the crankshaft angle as the reference for analysis. Therefore, it is necessary to convert the signal in the time domain into an angle domain signal. This process That is the content that the present invention mainly relates to.
附图2为利用本方法将实测发动机缸内压力信号由时间域转换为角度域后的对比曲线。其中图2(a)为实测的5个循环的缸内压力信号及脉冲信号对比曲线,其中横坐标为采样点数,由于内时钟采样的采样频率固定,故采样点数与时间相互对应。从图中可以看出采样频率高,缸内压力信号及脉冲信号采样点数均较多。图2(b)为通过本发明提出的插值算法将时间域缸内压力信号转化为角度域的信号,转化时的角度间隔θ插值间隔设定为0.5℃A,即每个循环有1440个点。通过两图的对比可以看出,本发明提出的方法可以准确的将内时钟采集的信号转化为角度域。Accompanying drawing 2 is the comparison curve after using this method to convert the measured engine cylinder pressure signal from the time domain to the angle domain. Figure 2(a) is the comparison curve of the pressure signal and pulse signal in the cylinder measured for 5 cycles, where the abscissa is the number of sampling points. Since the sampling frequency of the internal clock sampling is fixed, the number of sampling points corresponds to the time. It can be seen from the figure that the sampling frequency is high, and the number of sampling points of the pressure signal in the cylinder and the pulse signal are large. Figure 2(b) is the time-domain in-cylinder pressure signal converted into an angle-domain signal by the interpolation algorithm proposed by the present invention, and the angle interval θ interpolation interval during conversion is set to 0.5°CA, that is, there are 1440 points in each cycle . It can be seen from the comparison of the two figures that the method proposed by the present invention can accurately convert the signal collected by the internal clock into the angle domain.
上述虽然结合附图对本发明的具体实施方式进行了描述,但并非对本发明保护范围的限制,所属领域技术人员应该明白,在本发明的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本发明的保护范围以内。Although the specific implementation of the present invention has been described above in conjunction with the accompanying drawings, it does not limit the protection scope of the present invention. Those skilled in the art should understand that on the basis of the technical solution of the present invention, those skilled in the art do not need to pay creative work Various modifications or variations that can be made are still within the protection scope of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510560820.0A CN105157914B (en) | 2015-09-06 | 2015-09-06 | A kind of system and method in internal combustion engine cylinder pressure signal time domain gyration domain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510560820.0A CN105157914B (en) | 2015-09-06 | 2015-09-06 | A kind of system and method in internal combustion engine cylinder pressure signal time domain gyration domain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105157914A CN105157914A (en) | 2015-12-16 |
CN105157914B true CN105157914B (en) | 2017-06-30 |
Family
ID=54798850
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510560820.0A Active CN105157914B (en) | 2015-09-06 | 2015-09-06 | A kind of system and method in internal combustion engine cylinder pressure signal time domain gyration domain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105157914B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110686892A (en) * | 2019-10-23 | 2020-01-14 | 中船动力有限公司 | On-line diesel engine elastic transmission gear state detection method |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109839185B (en) * | 2017-11-29 | 2021-03-26 | 宝沃汽车(中国)有限公司 | Engine noise testing method and device |
CN108644023A (en) * | 2018-04-25 | 2018-10-12 | 江苏大学 | Internal combustion engine cylinder pressure signal high frequency harmonic components characterizing method |
CN112665862A (en) * | 2020-09-27 | 2021-04-16 | 东风商用车有限公司 | Method and device for detecting combustion condition in engine cylinder |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101334329A (en) * | 2008-07-29 | 2008-12-31 | 武汉理工大学 | Marine diesel engine indicator diagram test system |
CN101571091A (en) * | 2008-04-30 | 2009-11-04 | 通用汽车环球科技运作公司 | Time and angle based cylinder pressure data collection |
CN102003298A (en) * | 2010-11-26 | 2011-04-06 | 天津大学 | Real-time feedback device and method of combustion information for controlling engine |
CN102072064A (en) * | 2010-12-13 | 2011-05-25 | 刘杨 | Engine fuel supply advance angle measuring system and measuring method |
DE102011120160A1 (en) * | 2011-12-06 | 2013-06-06 | Maridis GmbH | Method for converting time-dependently measured cylinder pressure signal for calculating cylinder power of internal combustion engine, involves converting cylinder pressure signal into angle-dependent pressure values in top dead center |
-
2015
- 2015-09-06 CN CN201510560820.0A patent/CN105157914B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101571091A (en) * | 2008-04-30 | 2009-11-04 | 通用汽车环球科技运作公司 | Time and angle based cylinder pressure data collection |
CN101334329A (en) * | 2008-07-29 | 2008-12-31 | 武汉理工大学 | Marine diesel engine indicator diagram test system |
CN102003298A (en) * | 2010-11-26 | 2011-04-06 | 天津大学 | Real-time feedback device and method of combustion information for controlling engine |
CN102072064A (en) * | 2010-12-13 | 2011-05-25 | 刘杨 | Engine fuel supply advance angle measuring system and measuring method |
DE102011120160A1 (en) * | 2011-12-06 | 2013-06-06 | Maridis GmbH | Method for converting time-dependently measured cylinder pressure signal for calculating cylinder power of internal combustion engine, involves converting cylinder pressure signal into angle-dependent pressure values in top dead center |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110686892A (en) * | 2019-10-23 | 2020-01-14 | 中船动力有限公司 | On-line diesel engine elastic transmission gear state detection method |
CN110686892B (en) * | 2019-10-23 | 2021-07-13 | 中船动力有限公司 | On-line diesel engine elastic transmission gear state detection method |
Also Published As
Publication number | Publication date |
---|---|
CN105157914A (en) | 2015-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Li et al. | The measurement of instantaneous angular speed | |
CN105157914B (en) | A kind of system and method in internal combustion engine cylinder pressure signal time domain gyration domain | |
CN102538682B (en) | Automatic tester for valve lift and timing phase of engine | |
CN113431680B (en) | A method of whole cycle acquisition and instantaneous speed calculation of engine monitoring signal based on tooth pulse of missing toothed gear plate | |
CN108827628A (en) | A kind of wind turbine gearbox Vibration Condition Monitoring system and method | |
Antonopoulos et al. | Effect of instantaneous rotational speed on the analysis of measured diesel engine cylinder pressure data | |
CN103760376A (en) | Engine rotating speed measuring instrument based on vibration principle and test method thereof | |
CN202928799U (en) | Engine comprehensive parameters detection system used for performance analysis | |
CN108627191A (en) | Position sensor automatic detection device and detection method | |
CN105737750B (en) | A kind of marine diesel horn based on photoelectric encoder and laser range sensor is away from value measurement method and device | |
CN205301352U (en) | Speed meter for hall sensor | |
CN100468036C (en) | Device and method for detecting failure of engine fuel system | |
CN203117225U (en) | Calibration device of rotating speed measuring meter of diesel engine | |
CN105181341B (en) | A kind of combustion process of the internal-combustion engine characterization parameter method of testing and device | |
CN1821907A (en) | Engine cylinder combustion pressure data acquisition and combustion analysis system | |
Corti et al. | Real-time evaluation of IMEP and ROHR-related parameters | |
CN105888842A (en) | Hydraulic VVT angle dynamic measuring method of vehicle engine | |
CN102759632A (en) | Device and method for measuring rotational speed of engine based on differential pressure signals of exhaust back pressure | |
CN107066996B (en) | A Reconstruction Method of Cylinder Pressure Curve Based on Speed | |
CN105547130A (en) | Method and device for detecting pitch error of ABS ring gear | |
CN201615827U (en) | Unsteady Signal Acquisition Device Triggered by Constant Speed of Mechanical Rotation System | |
CN111735634B (en) | An optical engine control method and device thereof | |
EP2315927B1 (en) | Processing position-related input data from a rotational machine whose angular speed is variable | |
CN102183290B (en) | A kind of method improving time frequency conversion accuracy of shaft torsional vibration signals | |
CN203224359U (en) | Intelligent calibrating device for test system of internal combustion engine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |