CN105373656A - Simulation method for cam shaft speed signal during fast prototype simulation of two-stroke diesel engine - Google Patents

Simulation method for cam shaft speed signal during fast prototype simulation of two-stroke diesel engine Download PDF

Info

Publication number
CN105373656A
CN105373656A CN201510742782.0A CN201510742782A CN105373656A CN 105373656 A CN105373656 A CN 105373656A CN 201510742782 A CN201510742782 A CN 201510742782A CN 105373656 A CN105373656 A CN 105373656A
Authority
CN
China
Prior art keywords
speed signal
camshaft
diesel engine
signal
cam shaft
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.)
Granted
Application number
CN201510742782.0A
Other languages
Chinese (zh)
Other versions
CN105373656B (en
Inventor
贾利
褚全红
孟长江
刘涛
张春
况涪洪
李菲菲
申晓彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China North Engine Research Institute Tianjin
Original Assignee
China North Engine Research Institute Tianjin
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China North Engine Research Institute Tianjin filed Critical China North Engine Research Institute Tianjin
Priority to CN201510742782.0A priority Critical patent/CN105373656B/en
Publication of CN105373656A publication Critical patent/CN105373656A/en
Application granted granted Critical
Publication of CN105373656B publication Critical patent/CN105373656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/36Circuit design at the analogue level
    • G06F30/367Design verification, e.g. using simulation, simulation program with integrated circuit emphasis [SPICE], direct methods or relaxation methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Of Engines (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

The invention provides a simulation method for a cam shaft speed signal during fast prototype simulation of a two-stroke diesel engine. The method comprises the following steps: 1) acquiring a crankshaft speed signal of the diesel engine through MicroAutoBox, and creating a cam shaft speed signal simulation model through Simulink; 2) outputting a simulated cam shaft speed signal to a RapidPro System through a hardware channel of DIO of the MicroAutoBox after calculation of the cam shaft speed signal simulation model; and 3) synchronizing the acquired cam shaft speed signal and the simulated cam shaft speed signal through the RapidPro System, and outputting a jet driving current. The method has the following advantages: the cam shaft speed signal can be simulated in a software computing mode on the premise of not adding hardware, and an input source of cam shaft signal simulation is the same as a crankshaft signal to be synchronized by the RapidPro System finally, so that the problem in time reference of signal synchronization on the premise of additionally adding the hardware is solved, the cost of project development is reduced, and the development cycle is shortened.

Description

The analogy method of camshaft speed signal during two stroke diesel engine rapid prototyping
Technical field
The invention belongs to Diesel Engine Technique Field, the analogy method of camshaft speed signal when especially relating to a kind of two stroke diesel engine rapid prototyping.
Background technology
Increasing along with diesel engine performance, no matter traditional development tool can not meet the demands on construction cycle or cost, must adopt modern development process, namely based on the exploitation of model.Exploitation based on model is a kind of software development methodology, and advantage is: the algorithm that can run and automatic code generating.Based on a link important in the development process of model be exactly rapid control prototyping emulation.
In prior art, the analogue system generally applied is all design for the Development of ECU for Compressed of four-cycle diesel, Otto cycle engine has bent axle and camshaft speed signal, enter analogue system after being gathered by sensor, analogue system complete bent axle (crankshaft) and camshaft (camshaft) tach signal synchronous after allow to carry out spraying fire.And two stroke diesel engine only has single axle tach signal, cannot directly provide camshaft signal to rapid control prototyping analogue system.
In sum, be applied in two stroke diesel engine Development of ECU for Compressed for enabling rapid control prototyping analogue system in modern development process, simulation camshaft speed signal is needed to complete synchronous method or device to analogue system, and not a kind of special method that can simulate the camshaft speed signal of analogue system identification or device both at home and abroad at present.
Summary of the invention
In view of this, the analogy method of camshaft speed signal when the present invention is intended to propose a kind of two stroke diesel engine rapid prototyping, to simulate the camshaft speed signal that rapid control prototyping analogue system can identify, analogue system is enable to complete the synchronous and two stroke diesel engine spraying fire of the angle of bent axle and camshaft speed signal.
For achieving the above object, technical scheme of the present invention is achieved in that
The hardware platform of the inventive method uses the diesel engine rapid control prototyping analogue system of dSPACE company, comprises MicroAutoBox and RapidProSystem assembly; MicroAutoBox is the calculating for various controlled quentity controlled variable, also can gather tach signal (do not require bent axle and camshaft synchronous) and output spraying fire waveform (not driving the ability of fuel injector) simultaneously, RapidProSystem is used to the sensor signals such as collecting crankshaft rotating speed, camshaft speed, water temperature, pressure and carries out synchronous or conditioning, carries out the output of jet drive electric current after receiving the control signal of MicroAutoBox computing.Cardinal principle of the present invention utilizes the output principle of spraying fire waveform in MicroAutoBox to realize.
During two stroke diesel engine rapid prototyping of the present invention, the analogy method of camshaft speed signal, comprises the steps:
1) gathered the speed of crankshaft signal of diesel engine by MicroAutoBox, create camshaft speed signal imitation model by Simulink;
Diesel engine speed signal Spe is exported through crankshaft signal module after wherein MicroAutoBox collects speed of crankshaft signal;
The input end of described camshaft speed signal imitation model inputs described diesel engine speed signal Spe, model calculates the value of b by formula [Spe × a/6], c inputs as the injection advance angle of the real-time output module of DIO of MicroAutoBox, and b is inputted as the injection time of the real-time output module of DIO; Wherein a is the crank shaft angle angle value (unit: oCA) of the multiple tooth width of camshaft, b is the time value (unit: s), c is the phase differential (unit: oCA) of bent axle and camshaft of the multiple tooth width of camshaft;
2) after the calculating of camshaft speed signal imitation model, the spraying fire waveform exported by the hardware corridor of the DIO of MicroAutoBox exports to RapidProSystem as the camshaft speed signal of simulation;
3) carry out synchronously, then completing the output of jet drive electric current to the camshaft speed signal of the speed of crankshaft signal collected and simulation by RapidProSystem.
Relative to prior art, the present invention has following advantage:
(1) can under the prerequisite not increasing hardware, the mode adopting software to calculate completes the simulation of camshaft speed signal, and will to carry out synchronous crankshaft signal with final RapidProSystem be a signal source to the input source of camshaft signal simulation, solve the time reference problem of synchronizing signal under extra increase hardware prerequisite; Advanced development system just can be made to be applied in two stroke diesel engine exploitation because hardware cost need not be increased simultaneously, thus decrease the cost of project development and shorten the construction cycle;
(2) the multiple tooth position of the camshaft signal of simulating can be determined according to project demands, namely can complete amendment immediately by software design patterns, meets the demand that different model two-stroke engine controls.
Accompanying drawing explanation
The accompanying drawing forming a part of the present invention is used to provide a further understanding of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the theory diagram of the analogy method of camshaft speed signal during two stroke diesel engine rapid prototyping described in the embodiment of the present invention;
Fig. 2 is the computing block diagram of the camshaft speed signal imitation model described in the embodiment of the present invention;
Fig. 3 is the Simulink illustraton of model of camshaft speed signal imitation model described in the embodiment of the present invention.
Embodiment
It should be noted that, when not conflicting, the embodiment in the present invention and the feature in embodiment can combine mutually.
Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
The analogy method of camshaft speed signal during two stroke diesel engine rapid prototyping of the present invention, as shown in Figure 1, wherein hardware platform uses the diesel engine rapid control prototyping analogue system of dSPACE company, comprises MicroAutoBox and RapidProSystem assembly; This method comprises the steps:
Step 1, the speed of crankshaft signal gathering diesel engine by MicroAutoBox, graphically creates camshaft speed signal imitation model by Matlab/Simulink as shown in Figure 3;
Diesel engine speed signal Spe is exported through crankshaft signal module after wherein MicroAutoBox collects speed of crankshaft signal;
As shown in Figure 2, the input end of described camshaft speed signal imitation model inputs described diesel engine speed signal Spe, model calculates the value of b by formula [Spe × a/6], c inputs as the injection advance angle of the real-time output module of DIO of MicroAutoBox, and b is inputted as the injection time of the real-time output module of DIO; Wherein a is the crank shaft angle angle value (unit: oCA) of the multiple tooth width of camshaft, b is the time value (unit: s), c is the phase differential (unit: oCA) of bent axle and camshaft of the multiple tooth width of camshaft.
Step 2, after the calculating of camshaft speed signal imitation model, the spraying fire waveform exported by the hardware corridor of the DIO of MicroAutoBox exports to RapidProSystem as the camshaft speed signal of simulation;
Step 3, carries out synchronously, then completing the output of jet drive electric current to the camshaft speed signal of the speed of crankshaft signal collected and simulation by RapidProSystem.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (1)

1. the analogy method of camshaft speed signal during two stroke diesel engine rapid prototyping, is characterized in that: wherein hardware platform uses the diesel engine rapid control prototyping analogue system of dSPACE company, comprises MicroAutoBox and RapidProSystem assembly; This method comprises the steps:
1) gathered the speed of crankshaft signal of diesel engine by MicroAutoBox, create camshaft speed signal imitation model by Simulink;
Diesel engine speed signal Spe is exported through crankshaft signal module after wherein MicroAutoBox collects speed of crankshaft signal;
The input end of described camshaft speed signal imitation model inputs described diesel engine speed signal Spe, model calculates the value of b by formula [Spe × a/6], c inputs as the injection advance angle of the real-time output module of DIO of MicroAutoBox, and b is inputted as the injection time of the real-time output module of DIO; Wherein a be the crank shaft angle angle value of the multiple tooth width of camshaft, the b time value that is the multiple tooth width of camshaft, the c phase differential that is bent axle and camshaft;
2) after the calculating of camshaft speed signal imitation model, the spraying fire waveform exported by the hardware corridor of the DIO of MicroAutoBox exports to RapidProSystem as the camshaft speed signal of simulation;
3) carry out synchronously, then completing the output of jet drive electric current to the camshaft speed signal of the speed of crankshaft signal collected and simulation by RapidProSystem.
CN201510742782.0A 2015-11-04 2015-11-04 The analogy method of camshaft speed signal during two stroke diesel engine rapid prototyping Active CN105373656B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510742782.0A CN105373656B (en) 2015-11-04 2015-11-04 The analogy method of camshaft speed signal during two stroke diesel engine rapid prototyping

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510742782.0A CN105373656B (en) 2015-11-04 2015-11-04 The analogy method of camshaft speed signal during two stroke diesel engine rapid prototyping

Publications (2)

Publication Number Publication Date
CN105373656A true CN105373656A (en) 2016-03-02
CN105373656B CN105373656B (en) 2018-05-11

Family

ID=55375851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510742782.0A Active CN105373656B (en) 2015-11-04 2015-11-04 The analogy method of camshaft speed signal during two stroke diesel engine rapid prototyping

Country Status (1)

Country Link
CN (1) CN105373656B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060277010A1 (en) * 2005-06-03 2006-12-07 Herbert Schutte Parameterization of a simulation working model
CN101871843A (en) * 2010-05-31 2010-10-27 浙江大学 Crankshaft and camshaft analog signal generating method and device thereof
CN102540906A (en) * 2012-02-17 2012-07-04 浙江大学 Field programmable gate array (FPGA)-based device and method for generating analog signals of crankshaft and camshaft

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060277010A1 (en) * 2005-06-03 2006-12-07 Herbert Schutte Parameterization of a simulation working model
CN101871843A (en) * 2010-05-31 2010-10-27 浙江大学 Crankshaft and camshaft analog signal generating method and device thereof
CN102540906A (en) * 2012-02-17 2012-07-04 浙江大学 Field programmable gate array (FPGA)-based device and method for generating analog signals of crankshaft and camshaft

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘原: "用于燃料电池系统控制的快速控制原型ECU的研发", 《汽车工程》 *
白思春: "发动机控制中同步信号获取方法", 《车用发动机》 *
褚全红: "快速控制原型技术在水平对置二行程柴油机上的应用", 《车用发动机》 *

Also Published As

Publication number Publication date
CN105373656B (en) 2018-05-11

Similar Documents

Publication Publication Date Title
CN103699035B (en) Signal matching method and signal matching device for vehicle engine hardware-in-loop simulation process
CN203822477U (en) Device for controlling multi-cylinder engine by master and slave ECUs (electronic control unit)
CN109100954A (en) A kind of controller hardware assemblage on-orbit platform method for building up
CN103033364A (en) Method for real-time testing of a control unit for an internal combustion engine using a simulator
CN104850110B (en) A kind of method and system for establishing test case
CN103135545B (en) Automatic gearbox controller semi-physical simulation test system
CN103995478A (en) Modularized hydraulic mechanical arm experimental platform and method based on interaction of virtual and reality
CN103631256B (en) A kind of method of engine signal analog simulation test board and test ECU thereof
CN102003298A (en) Real-time feedback device and method of combustion information for controlling engine
CN101871843B (en) Crankshaft and camshaft analog signal generating method and device thereof
CN103310038A (en) Virtual machine actual electricity simulation system and method for rotary guiding executing mechanism
CN106815144A (en) A kind of diesel engine electric control system automatic testing arrangement for softwares and method
CN107300860A (en) A kind of Simulation of Aeroengine Control System platform courses object online change method
CN104252553A (en) Man-machine simulation verification method for aerospace product final assembly
CN102540906B (en) A kind of bent axle and camshaft analog signal generating method
CN103543739B (en) A kind of for verifying analogue system and the method for engine idle on off control
CN105373656A (en) Simulation method for cam shaft speed signal during fast prototype simulation of two-stroke diesel engine
US20150142405A1 (en) Method For Simulating The Operation Of An Internal Combustion Engine And Device For Carrying Out The Method
CN104034530A (en) Post-processing test platform for diesel engine
CN109959407A (en) A kind of steering engine position sensor linearity rapid detection method and device
CN104238376A (en) Low-temperature and low-air-pressure environment generator set running simulating system based on data
CN102692920B (en) ECU (electronic control unit) knocking closed-loop control test system and method
CN102540905B (en) Engine knock analog signal generating method
CN203773344U (en) Engine signal analog simulation test bench
CN109613840A (en) A kind of semi-physical simulation method based on Matlab

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