CN111735634B - Optical engine control method and device - Google Patents

Optical engine control method and device Download PDF

Info

Publication number
CN111735634B
CN111735634B CN202010794448.0A CN202010794448A CN111735634B CN 111735634 B CN111735634 B CN 111735634B CN 202010794448 A CN202010794448 A CN 202010794448A CN 111735634 B CN111735634 B CN 111735634B
Authority
CN
China
Prior art keywords
signal
controller
ignition
angle
encoder
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
Application number
CN202010794448.0A
Other languages
Chinese (zh)
Other versions
CN111735634A (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.)
Ningbo City Yinzhou Delight Technology Co ltd
Original Assignee
Ningbo City Yinzhou Delight Technology Co ltd
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 Ningbo City Yinzhou Delight Technology Co ltd filed Critical Ningbo City Yinzhou Delight Technology Co ltd
Priority to CN202010794448.0A priority Critical patent/CN111735634B/en
Publication of CN111735634A publication Critical patent/CN111735634A/en
Application granted granted Critical
Publication of CN111735634B publication Critical patent/CN111735634B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M15/00Testing of engines
    • G01M15/04Testing internal-combustion engines
    • G01M15/05Testing internal-combustion engines by combined monitoring of two or more different engine parameters
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M15/00Testing of engines
    • G01M15/02Details or accessories of testing apparatus
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Automation & Control Theory (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)
  • Testing Of Engines (AREA)

Abstract

The invention discloses an optical engine control method and device. The control method and the control device are convenient for data sharing of the subsystems, high in flexibility, capable of quickly realizing a control strategy, high in universality and easy to adjust. The sensor and the actuator which can be used for different interfaces can be slightly modified according to the signal characteristics, data sharing among different subsystems such as a combustion analyzer, a data acquisition system and a dynamometer can be opened, and result storage, analysis, display and processing are facilitated. Because the high-performance singlechip is adopted, complex real-time signals can be conveniently processed, and when EGR and VVT control is needed, a control strategy algorithm can be conveniently realized through model modification.

Description

Optical engine control method and device
Technical Field
The invention relates to the technical field of internal combustion optical testing, in particular to an optical engine control method and device.
Background
The existing electronic controller for optical engine adopts software and hardware purchased in China and matched with special upper computer acquisition, test and calibration software, and the method can better carry out test development, but has the defects of insufficient universality and flexibility, and can not be carried out when the interface and the software need to be changed, or can be realized by foreign suppliers. In some schemes, the controller development is realized by a 16-bit singlechip or a 32-bit singlechip in a code writing mode, the control algorithm is difficult to change, and the difficulty of modifying a software part is high when a calibration scheme is changed. More importantly, data among subsystems such as the existing combustion analyzer, the data acquisition system and the dynamometer cannot be synchronized and shared, so that waste is caused to effective utilization of test data.
Disclosure of Invention
The invention aims to solve the technical problem of providing an optical engine control method and a device thereof, which are convenient for sub-system data sharing, have high flexibility, can quickly realize a control strategy, have high universality and are easy to adjust.
The technical scheme adopted by the optical engine control device is that the optical engine control device comprises an upper computer, wherein the upper computer is in communication connection with a controller, and the controller is in signal connection with an oil injection ignition unit, a sampling unit and a signal processing unit respectively.
The optical engine control device has the advantages that: the optical engine control device with the structure uses the embedded software and hardware of the electronic controller with universality, high performance, high reliability and high precision and the upper computer loaded with the data acquisition control system of the virtual instrument, so that the invention can slightly modify the sensors and actuators used for different interfaces according to the signal characteristics, can get through the data sharing among different subsystems such as a combustion analyzer, a data acquisition system, a dynamometer and the like, and is convenient for result storage, analysis, display and processing.
Preferably, the oil injection ignition unit comprises an isolation circuit which is in signal connection with the controller through a first I/O interface circuit, the isolation circuit is respectively connected with an oil injection driving circuit and an ignition driving circuit, and the first I/O interface circuit is also in signal connection with the high-speed camera; the sampling unit comprises an AD sampling circuit which is in signal connection with the controller through an ADC interface circuit, and the AD sampling circuit is respectively connected with an air inlet temperature sensor and an air inlet pressure sensor; the signal processing unit comprises a signal processing circuit which is connected with the controller through a second I/O interface circuit in a signal connection mode, and the signal processing circuit is respectively connected with the camshaft signal sensor and the encoder signal sensor. By adopting the arrangement, the controller can be connected with different functional subsystems, and the data in one subsystem is processed and analyzed and then used for the work task of the other subsystem.
Preferably, the controller is further connected with a voltage conversion circuit, the controller is further provided with a communication interface for communicating with an external machine, the voltage conversion circuit can convert the voltage of an external power supply into the power supply voltage of the device, and the communication interface is connected with a dynamometer in the optical engine test.
The technical scheme adopted by the optical engine control method comprises the following steps:
s1, initializing various parameters by the system, setting various parameters of the experiment by the user on the upper computer, and sending the various parameters to the controller through the communication interface after checking the parameters to be correct;
s2, the user controls the controller through the upper computer, so that the controller can send various detection data to the upper computer through the communication interface;
s3, controlling a motor to rotate by using a control system of the laboratory dynamometer, wherein the motor is connected with an optical engine flywheel, and after the optical engine flywheel reaches a preset rotating speed, a user operates a controller to start working on an upper computer;
s4, the controller continuously collects and processes the working information of the optical machine and intervenes the working process of the optical machine according to the collected information;
s5, detecting whether the controller completes the task target set by the preset parameters, if so, sending a stop work instruction by the controller, resetting each parameter, and closing the system; if not, execution continues with S4.
The control method of the optical engine has the beneficial effects that: the control method of the invention realizes data sharing among different subsystems such as a combustion analyzer, a data acquisition system, a dynamometer and the like, and is convenient for result storage, analysis, display and processing. Due to the adoption of model-based design and simulation, the control strategy can be quickly realized, and the control software is adjusted according to the injection and ignition characteristics of diesel oil, gasoline, natural gas and the like. The software data range of the upper computer is checked and prompted comprehensively, and the man-machine interaction is good, so that the experimental value of the optical engine is improved.
Preferably, each parameter of the experiment in the step S1 includes an angle and a pulse width of fuel injection ignition, a cycle number, a switch of a fuel injector igniter, and a cycle number of a camshaft, and the communication interface uses CAN communication, so that a user CAN control the fuel injection ignition and the cycle number of the machine on an upper computer, and the setting enables the user to better control the operation of the whole system through the upper computer.
Preferably, the step S4 includes:
s41, after the controller receives the start command, the controller sends a TTL start signal to enable the high-speed camera to start shooting the optical machine;
s42, analyzing an encoder signal sent by the optical machine in the working process by the controller to obtain the current rotating speed and the crankshaft angle of the optical machine;
s43, analyzing a camshaft signal sent by the optical machine in the working process by the controller, judging a cylinder of the optical machine, and obtaining the stroke of the optical machine at present;
s44, compensating the angle of the crankshaft by using a camshaft signal, and setting the angle of the top dead center position as 0 degree;
s45, judging whether the current angle of the camshaft is equal to the oil injection and ignition angle transmitted by the upper computer, and if the current angle of the camshaft is equal to the set angle of the oil injection, executing an oil injection signal sending module; and if the angle is equal to the ignition set angle, executing an ignition signal sending module. The steps are the collection work of the data generated in the work of the optical machine and are used as the decision basis of oil injection and ignition.
Preferably, in step S5, after the camshaft rotates for a period, the controller detects whether the number of cycles of the camshaft reaches the number of cycles set by the upper computer, if not, continues to detect the angle value, if so, exits from the cycle, sends a TTL stop signal, turns off the high-speed camera, then resets various parameters, and turns off the system, and the method determines the turn-off condition of the entire system.
Preferably, the encoder signal processing module of the encoder signal uses a resolution 360P/R encoder, and the encoder has a total of three output signals, which are A, B, Z three signals respectively; the encoder and the crankshaft of the optical machine rotate synchronously, the output signals A and B are 360 square wave signals output in a circle, and the phase difference between A and B is 90 degrees; the Z signal is a pulse signal for outputting one time of zero clearing of the count for one time of one rotation of the encoder, the signals passing through the AB phase are orthogonal, 1440 signals exist in one time, namely, the crankshaft rotates one time, and the count value output by the encoder is 1440.
Preferably, the camshaft is provided with N signal interval marks with different interval angles, and the top dead center of the camshaft is on one of the signal interval marks.
Preferably, the signals of fuel injection and ignition are controlled and output by a fuel injection and ignition time control module, the period and the duty ratio of the output of the signals of fuel injection and ignition are determined by a register which is configured with the control module of the fuel injection and ignition time, the register comprises CMPLD1 and CMPLD2, the duty ratio = CMPLD1/CMPLD2, and the frequency of the output of the signals of fuel injection and ignition is =8 × 107 And (CMPLD 1+ CMPLD2), the duty ratio and the period are controlled through a register, and the generation of fuel injection ignition can be accurately controlled.
Drawings
FIG. 1 is a schematic overall flow diagram of the system of the present invention;
FIG. 2 is a schematic flow chart of the system of the present invention;
FIG. 3 is a diagram of the hardware connections of the present invention;
FIG. 4 is a flow chart illustrating a control method according to the present invention;
FIG. 5 is a schematic diagram of the upper computer software of the present invention;
FIG. 6 is a schematic diagram of the controller software of the present invention;
FIG. 7 is a graph illustrating a single injection signal of the present invention;
FIG. 8 is a schematic of a single ignition signal of the present invention;
FIG. 9 is a top dead center view of the camshaft of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings in combination with specific embodiments so that those skilled in the art can practice the invention with reference to the description, and the scope of the invention is not limited to the specific embodiments.
It will be understood by those skilled in the art that in the present disclosure, the terms "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in an orientation or positional relationship indicated in the drawings for ease of description and simplicity of description, and do not indicate or imply that the referenced device or element must have a particular orientation, be constructed and operated in a particular orientation, and thus, the above terms should not be construed as limiting the present invention.
The invention aims to solve the technical problem of providing an optical engine control method and a device thereof, which are convenient for sub-system data sharing, have high flexibility, can quickly realize a control strategy, have high universality and are easy to adjust.
As shown in fig. 1, fig. 1 is a schematic view of a general flow framework of a system disclosed in the present invention, in which a user interacts with an upper computer, the upper computer has data input by the user, and the user can read the data from the upper computer. After the upper computer obtains the data input by the user, the upper computer sends the data to the controller through CAN communication and sends the data to the cylinder pressure acquisition system through Ethernet, so that the controller and the cylinder pressure acquisition system are controlled.
After the controller receives the data transmitted by the upper computer, the user operates software on the upper computer, so that the single chip microcomputer in the controller starts to continuously transmit the data to the upper computer.
After the controller starts to continuously send data to the upper computer, a control system of the laboratory dynamometer is used for controlling a motor connected with a flywheel of the optical machine to rotate, and when an ideal rotating speed (such as 1800 rpm) is reached, a start-to-run button is clicked on the upper computer to send a start-to-run instruction to the controller, so that the controller sends a TTL (transistor-transistor logic) start signal to the high-speed camera, and the high-speed camera starts to shoot the rotating condition in a cylinder of the optical machine. The TTL signal controls the high-speed camera to shoot, and the high-speed camera is used for shooting the spray burning process of the optical machine during the period from the beginning to the stop of the system.
Meanwhile, the optical machine system starts to send encoder signals and camshaft signals to the controller, and the controller analyzes the encoder signals and the camshaft signals to obtain information such as the rotating speed, the crankshaft angle and the current stroke of the optical machine.
The camshaft signal is used to compensate the crankshaft signal to align the top dead center position with the 0 position on the encoder. After the upper dead point position is calibrated, the oil injection ignition angle input in the upper computer can correspond to the actual working state of the optical machine.
After the controller calibrates the encoder and the 0-degree position of the top dead center, the controller sends out a plurality of paths of oil injection control output signals and ignition control output signals to the optical machine according to the input oil injection ignition angle.
In addition, when the data of the controller and the optical machine are processed interactively, the laboratory cylinder pressure acquisition system collects the cylinder pressure measurement signal and the encoder measurement signal of the optical machine at the same time, and the signals such as pressure, temperature and the like in the cylinder are obtained through processing and then are sent to the upper computer.
In one embodiment, the invention is connected with a combustion analyzer (or a customized cylinder pressure acquisition system) and a data acquisition system through an Ethernet communication module, and parameters such as time, pressure, temperature, rotating speed and the like are transmitted by adopting a TCP/IP communication method, so that data synchronization, storage, analysis, display and processing are facilitated. The externally connected combustion analyzer may also be used to monitor the combustion of the mixture to calculate the fuel input.
As shown in fig. 5, fig. 5 is a schematic diagram of control software of an upper computer, and the upper computer software is composed of hardware driving, interface management, parameter input and inspection, data analysis and display, data storage, playback and export, and the like. The upper computer hardware consists of a computer and a USBCAN communication module. The software of the upper computer is developed by virtual instrument software (such as LabVIEW), the interface is divided into system initialization, a controller main interface and controller data playback. And on a system initialization interface, after the USB is successfully connected with the ECU, the indicator lamp of the CAN communication connection state at the upper right corner CAN be lightened. The upper left corner of the controller main interface is a display area for various data transmitted from the ECU by CAN communication, including engine speed, power supply voltage, air inlet pressure, air inlet temperature and the like; the lower left corner is the area for setting and checking various test parameters, and the parameters can be input as follows: oil injection angle and pulse width, ignition angle and pulse width, total cycle times, switch of oil injection igniter and the like; the upper right corner is the control button area: the method comprises the steps of starting operation, stopping emergently, starting to receive ECU data, stopping to receive the ECU data, generating an excel report and the like; the lower right hand corner is the real-time display and save area for data. And after the test is finished, reading and analyzing the corresponding data file by selecting different project names and test time, displaying the data file on a corresponding control of the interface, and delivering the data file to a user for processing, analyzing and storing the test data in the forms of numerical values, curves and the like.
As shown in fig. 6, the controller of fig. 6 is a schematic diagram of control software of the controller, the controller is an electronic controller, and the software of the electronic controller is composed of a single chip microcomputer bottom layer driver, a signal analysis module, a cylinder judgment synchronization module, an oil injection control module, an ignition control module, a TTL signal control module, and the like.
As shown in fig. 7 and 8, fig. 7 is a single-injection signal diagram, fig. 8 is a ignition signal diagram, an injection ignition signal is controlled and output by an eTimer, the period and the duty ratio of the signal output can be determined by configuring a register of the eTimer, and two registers CMPLD1 and CMPLD2 have the duty ratio = CMPLD1/CMPLD2 and the frequency =8 ﹡ 107/(CMPLD 1+ CMPLD 2). (the values of CMPLD1+ CMPLD2 are fixed as 8000 as in the program, i.e. the frequency is 10kHz, the period is 0.1ms, i.e. the control precision of the injection ignition pulse width is 0.1 ms). In fig. 7 and 8, the vertical axis V is a voltage, and V1 is a high-level voltage amplitude output by the single chip microcomputer.
When the counting angle of the encoder reaches a set oil injection angle, outputting an oil injection signal, wherein the length of the signal is a set oil injection pulse width value; the complete single injection signal is shown in fig. 7, where the duty ratio of the timer eTimer at t1 is 100%, the period is 0.1ms, and 20 periods total, that is, the time at t1 is 2ms, which is the fixed output of the injection signal and aims to open the injector; the duty cycle thereafter is 0%, the period is 0.1ms, and 10 periods are 1ms in total, which is also a fixed output of the fuel injection signal. The segment nxt 2 is the oil injection output duration which CAN be controlled by a user, the duty ratio of the segment is 50%, the period is 0.1ms, n periods are provided, the value of n is the value set by a host computer user, and the value of n is transmitted to the controller through the CAN. The injection quantity is determined by the pulse width of the injection at a certain injection speed (e.g. 19.22 Kg/hr).
When the counting angle of the encoder reaches the set ignition angle, outputting an ignition signal, wherein the length of the signal is the set ignition pulse width value; the ignition pulse width calculation method is the same as the oil injection pulse width, the period is 0.1ms and is 100% duty ratio, no fixed output signal exists, 20 periods are output by default, namely the default ignition pulse width is 2ms, and the value can be changed by an upper computer.
As shown in fig. 9, fig. 9 discloses a top dead center setting structure of a camshaft in the present invention. The camshaft rotates for one circle, and the crankshaft rotates for two circles, so that the current stroke of the optical machine is determined according to the camshaft signal, and the camshaft signal corresponds to the upper dead center. And obtaining the counting value output by the encoder when the current top dead center is reached, and returning the value to compensate the counting value output by the encoder so that the counting value output by the encoder is 0 when the optical machine is at the top dead center. The camshaft signal characteristics and the top dead center are shown in fig. 9, the installation included angle between the camshaft and the encoder is theta tb (calibration is needed during installation), seven signal trigger points are arranged on the camshaft, the camshaft signal is triggered for seven times for one circle, namely, seven signal intervals are totally arranged, and the angle values are theta 1, theta 2, theta 3, theta 4, theta 5, theta 6 and theta 7 (for example, five signal intervals are 60 degrees, one signal interval is 40 degrees, and the other signal interval is 20 degrees); in order to obtain the position of the upper computer, a method is adopted, which is that a camshaft signal is received, an angle difference value between two signals is stored, seven latest obtained angle difference values are stored, and if the seven latest angle difference values are theta 1, theta 2, theta 3, theta 4, theta 5, theta 6 and theta 7 (such as 60, 20, 40, 60 and 60), the optical machine at the moment is in the position of the upper dead center, and the position of the upper dead center can be effectively determined by the method, so that the error caused by signal interference is avoided. After the optical engine is installed, the signal position of the camshaft corresponding to the top dead center is known, and the corresponding relation between the encoder and the camshaft cannot be known in advance, so that after the optical engine rotates, a corresponding value is obtained, compensation is carried out, and finally the position of the top dead center is determined.
The optical engine control device comprises an upper computer, wherein the upper computer is in communication connection with a controller, and the controller is in signal connection with an oil injection ignition unit, a sampling unit and a signal processing unit respectively. The optical engine control device with the structure uses the embedded software and hardware of the electronic controller with universality, high performance, high reliability and high precision and the upper computer loaded with the data acquisition control system of the virtual instrument, so that the invention can slightly modify the sensors and actuators used for different interfaces according to the signal characteristics, can get through the data sharing among different subsystems such as a combustion analyzer, a data acquisition system, a dynamometer and the like, and is convenient for result storage, analysis, display and processing. The oil injection ignition unit comprises an isolation circuit which is in signal connection with the controller through a first I/O interface circuit, the isolation circuit is respectively connected with an oil injection driving circuit and an ignition driving circuit, and the first I/O interface is also in signal connection with the high-speed camera; the sampling unit comprises an AD sampling circuit which is in signal connection with the controller through an ADC interface circuit, and the AD sampling circuit is respectively connected with an air inlet temperature sensor and an air inlet pressure sensor; the signal processing unit comprises a signal processing circuit which is connected with the controller through a second I/O interface circuit in a signal connection mode, and the signal processing circuit is respectively connected with the camshaft signal sensor and the encoder signal sensor. By adopting the arrangement, the controller can be connected with different functional subsystems, and the data in one subsystem is processed and analyzed and then used for the work task of the other subsystem. The controller is also connected with a voltage conversion circuit, and is also provided with a communication interface for communicating with an external machine, the voltage conversion circuit can convert the voltage of an external power supply into the power supply voltage of the device, and the communication interface is connected with a dynamometer in the optical engine test.
The technical scheme adopted by the optical engine control method comprises the following steps:
s1, initializing various parameters by the system, setting various parameters of the experiment by the user on the upper computer, and sending the various parameters to the controller through the communication interface after checking the parameters to be correct;
s2, the user controls the controller through the upper computer, so that the controller can send various detection data to the upper computer through the communication interface;
s3, controlling a motor to rotate by using a control system of the laboratory dynamometer, wherein the motor is connected with an optical engine flywheel, and after the optical engine flywheel reaches a preset rotating speed, a user operates a controller to start working on an upper computer;
s4, the controller continuously collects and processes the working information of the optical machine and intervenes the working process of the optical machine according to the collected information;
s5, detecting whether the controller completes the task target set by the preset parameters, if so, sending a stop work instruction by the controller, resetting each parameter, and closing the system; if not, execution continues with S4.
The control method of the invention realizes data sharing among different subsystems such as a combustion analyzer, a data acquisition system, a dynamometer and the like, and is convenient for result storage, analysis, display and processing. Due to the adoption of model-based design and simulation, the control strategy can be quickly realized, and the control software is adjusted according to the injection and ignition characteristics of diesel oil, gasoline, natural gas and the like. The software data range of the upper computer is checked and prompted comprehensively, and the man-machine interaction is good, so that the experimental value of the optical engine is improved.
Each parameter of the experiment in the step S1 comprises an oil injection ignition angle and pulse width, a cycle number, an oil injector igniter switch and a camshaft cycle number, the communication interface uses CAN communication, so that a user CAN control oil injection ignition and the machine cycle number on an upper computer, and the setting CAN enable the user to better control the operation of the whole system through the upper computer.
The step S4 includes:
s41, after the controller receives the start command, the controller sends a TTL start signal to enable the high-speed camera to start shooting the optical machine;
s42, analyzing an encoder signal sent by the optical machine in the working process by the controller to obtain the current rotating speed and the crankshaft angle of the optical machine;
s43, analyzing a camshaft signal sent by the optical machine in the working process by the controller, judging a cylinder of the optical machine, and obtaining the stroke of the optical machine at present;
s44, compensating the angle of the crankshaft by using a camshaft signal, and setting the angle of the top dead center position as 0 degree;
s45, judging whether the current angle of the camshaft is equal to the oil injection and ignition angle transmitted by the upper computer, and if the current angle of the camshaft is equal to the set angle of the oil injection, executing an oil injection signal sending module; and if the angle is equal to the ignition set angle, executing an ignition signal sending module. The steps are the collection work of the data generated in the work of the optical machine and are used as the decision basis of oil injection and ignition.
In step S5, after the camshaft rotates for a period, the controller detects whether the number of cycles of the camshaft reaches the number of cycles set by the upper computer, if not, continues to detect the angle value, if so, exits from the cycle, sends a TTL stop signal, closes the high-speed camera shooting, then resets various parameters, closes the system, and the method determines the closing condition of the entire system.
The encoder signal processing module of the encoder signal uses a resolution 360P/R encoder, and the encoder has three output signals which are A, B, Z three paths of signals respectively; the encoder and the crankshaft of the optical machine rotate synchronously, the output signals A and B are 360 square wave signals output in a circle, and the phase difference between A and B is 90 degrees; the Z signal is a pulse signal for outputting one time of zero clearing of the count for one time of one rotation of the encoder, the signals passing through the AB phase are orthogonal, 1440 signals exist in one time, namely, the crankshaft rotates one time, and the count value output by the encoder is 1440.
N signal interval marks with different interval angles are arranged on the camshaft, the top dead center of the camshaft is arranged on one of the signal interval marks, when the top dead center position is determined, the top dead center can be determined to be correct by observing the angle passing between the two measured top dead centers to accord with the arrangement of signal interval included angles, the top dead center position can be effectively determined by the method, and the error caused by signal interference is avoided.
The fuel injection and ignition signals are controlled and output by a fuel injection and ignition time control module, the period and the duty ratio of the output of the fuel injection and ignition signals are determined by a register which is provided with the fuel injection and ignition time control module, the register comprises CMPLD1 and CMPLD2, the duty ratio = CMPLD1/CMPLD2, the frequency of the output of the fuel injection and ignition signals =8 × 107/(CMPLD 1+ CMPLD2), and the duty ratio and the period are controlled by the register, so that the generation of fuel injection and ignition can be accurately controlled.
The invention designs the embedded software and hardware of the electronic controller and the data acquisition control system of the virtual instrument, which have the advantages of universality, high performance, high reliability and high precision, can slightly modify the sensors and actuators which can be used for different interfaces according to the signal characteristics, can get through the data sharing among different subsystems such as a combustion analyzer, a data acquisition system, a dynamometer and the like, and is convenient for result storage, analysis, display and processing. The control strategy can be quickly realized by adopting model-based design and simulation, the control software is adjusted according to the injection and ignition characteristics of diesel oil, gasoline, natural gas and the like, the high-performance singlechip is adopted, so that complex real-time signals can be conveniently processed, and when EGR and VVT control are required, a control strategy algorithm can be conveniently realized by modifying a model. The software data range of the upper computer is checked and prompted comprehensively, and the man-machine interaction is good, so that the experimental value of the optical engine is improved. The embedded software and hardware and the use of calibration and diagnosis software can also be used for the development of hybrid vehicle controllers and pure electric vehicle controllers.

Claims (6)

1. An optical engine control device comprises an upper computer for manually inputting experimental parameters, and is characterized in that the upper computer is in communication connection with a controller, the controller is in data connection with an optical machine, and the controller is in signal connection with an oil injection ignition unit, a sampling unit and a signal processing unit respectively; n signal interval marks with different interval angles are arranged on a cam shaft of the optical machine, the top dead center of the cam shaft is arranged on one signal interval mark, the positioning method of the top dead center is that the cam shaft is rotated, whether the signal angle difference value passing through the top dead centers measured for two adjacent times accords with the arrangement of signal interval included angles or not is observed, if the signal angle difference value accords with the arrangement of the signal interval included angles, the top dead center is positioned without error, and if the signal angle difference value does not accord with the arrangement of the signal interval included angles, the positioning error of the top dead center is judged.
2. The optical engine control device of claim 1, wherein the oil injection ignition unit comprises an isolation circuit in signal connection with the controller through a first I/O interface circuit, the isolation circuit is respectively connected with an oil injection driving circuit and an ignition driving circuit, and the first I/O interface is also in signal connection with a high-speed camera;
the sampling unit comprises an AD sampling circuit which is in signal connection with the controller through an ADC interface circuit, and the AD sampling circuit is respectively connected with an air inlet temperature sensor and an air inlet pressure sensor;
the signal processing unit comprises a signal processing circuit which is connected with the controller through a second I/O interface circuit in a signal connection mode, and the signal processing circuit is respectively connected with the camshaft signal sensor and the encoder signal sensor;
the controller is also connected with a voltage conversion circuit and is also provided with a communication interface for communicating with an external machine.
3. An optical engine control method, comprising:
s1, initializing various parameters by the system, setting various parameters of the experiment by the user on the upper computer, and sending the various parameters to the controller through the communication interface after checking the parameters to be correct;
s2, the user controls the controller through the upper computer, so that the controller can send various detection data to the upper computer through the communication interface;
s3, controlling a motor to rotate by using a control system of the laboratory dynamometer, wherein the motor is connected with an optical engine flywheel, and after the optical engine flywheel reaches a preset rotating speed, a user operates a controller to start working on an upper computer;
s4, the controller continuously collects and processes the working information of the optical machine and intervenes the working process of the optical machine according to the collected information;
s5, detecting whether the controller completes the task target set by the preset parameters, if so, sending a stop work instruction by the controller, resetting each parameter, and closing the system; if not, continuing to execute S4;
each parameter of the experiment in the step S1 comprises an oil injection ignition angle and pulse width, a cycle number, an oil injector igniter switch and a camshaft cycle number, and the communication interface uses CAN communication;
the step S4 includes:
s41, after the controller receives the start command, the controller sends a TTL start signal to enable the high-speed camera to start shooting the optical machine;
s42, analyzing an encoder signal sent by the optical machine in the working process by the controller to obtain the current rotating speed and the crankshaft angle of the optical machine;
s43, analyzing a camshaft signal sent by the optical machine in the working process by the controller, judging a cylinder of the optical machine, and obtaining the stroke of the optical machine at present;
s44, compensating the angle of the crankshaft by using a camshaft signal, and setting the angle of the top dead center position as 0 degree;
s45, judging whether the current angle of the encoder is equal to the oil injection and ignition angle transmitted by the upper computer, and if the current angle of the encoder is equal to the set angle of the oil injection, executing an oil injection signal sending module; if the angle is equal to the ignition set angle, executing an ignition signal sending module; n signal interval marks with different interval angles are arranged on the camshaft, and the top dead center of the camshaft is positioned on one of the signal interval marks; the positioning method of the upper dead center comprises the steps of rotating a cam shaft, observing whether a signal angle difference value passing between the two adjacent measured upper dead centers meets the arrangement of signal interval included angles or not, if yes, determining that the upper dead center is positioned without error, and if not, determining that the upper dead center is positioned with error.
4. The optical engine control method of claim 3, wherein in step S5, after the camshaft rotates for a period, the controller detects whether the number of cycles of the camshaft reaches the number of cycles set by the upper computer, if not, the controller continues to detect the angle value, if so, the controller exits the cycle, sends a TTL stop signal, turns off the high-speed camera, and then resets various parameters and turns off the system.
5. An optical engine control method as claimed in claim 3, wherein the encoder signal processing module of the encoder signal uses a 360P/R resolution encoder, the encoder has a total of three output signals, which are A, B, Z three-way signals; the encoder and the crankshaft of the optical machine rotate synchronously, the output signals A and B are 360 square wave signals output in a circle, and the phase difference between A and B is 90 degrees; the Z signal is a pulse signal for one rotation of the encoder to zero the output count.
6. An optical engine control method as claimed in claim 3, characterized in that the signals of fuel injection and ignition are controlled and outputted by a fuel injection and ignition timing control module, the period and duty cycle of the signals of fuel injection and ignition are determined by a register provided with the fuel injection and ignition timing control module, the register comprises CMPLD1 and CMPLD2, the duty cycle is CMPLD1/CMPLD2, and the frequency of the signals of fuel injection and ignition is 8 107/(CMPLD1+CMPLD2)。
CN202010794448.0A 2020-08-10 2020-08-10 Optical engine control method and device Active CN111735634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010794448.0A CN111735634B (en) 2020-08-10 2020-08-10 Optical engine control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010794448.0A CN111735634B (en) 2020-08-10 2020-08-10 Optical engine control method and device

Publications (2)

Publication Number Publication Date
CN111735634A CN111735634A (en) 2020-10-02
CN111735634B true CN111735634B (en) 2021-08-24

Family

ID=72658332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010794448.0A Active CN111735634B (en) 2020-08-10 2020-08-10 Optical engine control method and device

Country Status (1)

Country Link
CN (1) CN111735634B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113323782B (en) * 2021-06-22 2022-05-31 哈尔滨东安汽车动力股份有限公司 Gasoline engine calibration-based basic range extender special optimization method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110344957A (en) * 2019-07-19 2019-10-18 潍柴动力股份有限公司 The determination method and device of engine injection time

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110344957A (en) * 2019-07-19 2019-10-18 潍柴动力股份有限公司 The determination method and device of engine injection time

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
可控自燃光学发动机电子控制系统设计;张敬东;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20120915(第09期);第15-43页 *
张敬东.可控自燃光学发动机电子控制系统设计.《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》.2012,(第09期),第15-43页. *
柴油光学发动机的设计及其可视化应用研究;何旭等;《内燃机工程》;20140430;第35卷(第2期);第42-46页 *

Also Published As

Publication number Publication date
CN111735634A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
AU750684B2 (en) Process for detecting a misfire in an internal combustion engine and system for carrying out said process
CN104047794B (en) Engine knock detection system and method
US6606552B2 (en) Control device for final control elements of an internal combustion engine, control unit for actuator drives of an internal combustion engine and a method for controlling an internal combustion engine
US8170777B2 (en) Indicating system and method for determining an engine parameter
US7444228B2 (en) Data processor for processing pieces of data being successively sampled at intervals
JP2004515685A (en) Internal combustion engine control method
US7404391B2 (en) Method and device for operating an internal combustion engine
CN102374060A (en) Method for estimating and controlling accoustic noise during combustion
JP2017110630A (en) Method for monitoring operation of device configured to variably adjust cylinder compression rate of piston and internal combustion engine, and operation monitoring device
CN111735634B (en) Optical engine control method and device
CN114544181A (en) Calibration system and control method for electronic control aviation two-stroke kerosene engine
CN104863735B (en) Automatically controlled explosive motor timing signal trouble-shooter
CN203098118U (en) Electric control oil injection simulation experimental system for engine
CN102243071A (en) Piston top dead center automatic detecting and positioning device of reciprocating machinery
CN108386289A (en) A kind of engine ignitor
Corti et al. Real-time evaluation of imep and rohr-related parameters
CN106556517A (en) Multifunction electro-controlled explosive motor trouble-shooter
EP1930571A2 (en) Method of cylinder pressure sensor data/angle capture for low and high resolution
JP5233660B2 (en) Method for adapting control parameters of an internal combustion engine
KR100775313B1 (en) Method and apparatus for diagonising error of car
JP2012013087A (en) Induction backfire compensation for motorcycle
Lian et al. Matlab/Simulink based crankshaft and camshaft signal simulation model for SI engine
CN2903915Y (en) Magnetic gate function parameter tester
RU2242734C2 (en) Method to determine phase of working cycle of internal combustion engine
CN117825060A (en) Natural gas engine detection method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant